Merge branch 'zcwy-0306' into dev0223

This commit is contained in:
zhangsir
2024-04-11 08:40:46 +08:00

View File

@@ -719,7 +719,7 @@ import {timeoutUpload} from "@/api/configPublic";
totalAdd: 0, totalAdd: 0,
params: { params: {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 100,
}, },
paramsAdd: { paramsAdd: {
pageNo: 1, pageNo: 1,
@@ -1035,8 +1035,8 @@ import {timeoutUpload} from "@/api/configPublic";
}, },
{ {
title: "添加时间", title: "添加时间",
dataIndex: "addTime", dataIndex: "createTime",
key: "addTime", key: "createTime",
className: "h", className: "h",
ellipsis: true, ellipsis: true,
align: "center", align: "center",
@@ -1472,10 +1472,12 @@ import {timeoutUpload} from "@/api/configPublic";
if(res.code === 200){ if(res.code === 200){
state.tableDataAdd = res.data state.tableDataAdd = res.data
state.tableLoadingAdd = false state.tableLoadingAdd = false
const workNums = state.tableData1.map(item=>item.workNum)
state.tableDataAdd.forEach(item => { state.tableDataAdd.forEach(item => {
if(workNums.includes(item.userNo)) state.tableData1.find(itemData => {
item.status = 0 if(itemData.workNum === item.userNo){
item.createTime = itemData.createTime
}
})
}) })
} }
}) })