Commit d446e96a authored by 祁正's avatar 祁正

差旅审批-通过

parent 999cdc4e
......@@ -436,7 +436,7 @@ const passDailyCost = (row)=>{
//获取列表第一个顶部信息
const getTopApproveInfo = ()=>{
let item2 = costManageList[0]
let item2 = costManageList.value[0]
changProjectNumber.value = item2.projectNumber
let i = allList.value.findIndex((item)=>item.nodeId === item2.currentAudiRoleId)
if(i === -1) stepActive.value = 1
......@@ -480,17 +480,18 @@ const getNodeList = ()=>{
}
//日常报销列表
const costManageList = reactive([]);
const costManageList = ref([]);
const getList = () => {
loading.value = true;
console.log("参数",queryParams);
listDailyApprove(queryParams).then(res => {
loading.value = false;
total.value = res.total;
Object.assign(costManageList,res.rows);
console.log("审批页数据",costManageList);
for(let i in costManageList){
costManageList[i].currentStatus = approvalStatusChange(costManageList[i].approvalStatus,costManageList[i].currentAudiRoleId)
// Object.assign(costManageList,res.rows);
costManageList.value = res.rows
console.log("审批页数据",res.rows);
for(let i in costManageList.value){
costManageList.value[i].currentStatus = approvalStatusChange(costManageList.value[i].approvalStatus,costManageList.value[i].currentAudiRoleId)
}
getTopApproveInfo()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment