mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
fix:公用模块任务状态显示模块字段同步
This commit is contained in:
@@ -288,15 +288,15 @@ export default {
|
||||
},
|
||||
{
|
||||
title: "任务状态",
|
||||
dataIndex: "status",
|
||||
key: "status",
|
||||
dataIndex: "finishStatus",
|
||||
key: "finishStatus",
|
||||
width: 60,
|
||||
align: "center",
|
||||
className: "h",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}</span>
|
||||
<span> {text.record.finishStatus == 0 || text.record.finishStatus==null ? "未开始" :text.record.finishStatus == 1 ?"已完成":"进行中"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
@@ -403,7 +403,7 @@ export default {
|
||||
studentDepartName: res.data.data.studyDetailList[i].studentDepartName,
|
||||
studentJobName: res.data.data.studyDetailList[i].studentJobName,
|
||||
lastStudyTime: res.data.data.studyDetailList[i].finishedTime,
|
||||
status: res.data.data.studyDetailList[i].status?res.data.data.studyDetailList[i].status:0
|
||||
finishStatus: res.data.data.studyDetailList[i].status?res.data.data.studyDetailList[i].status:0
|
||||
}
|
||||
newData.push(obj)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user