mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 00:06:47 +08:00
fix:增加已审核课程审核日志
This commit is contained in:
@@ -117,6 +117,38 @@ export default {
|
|||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
total: null,
|
total: null,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
//审核记录的表
|
||||||
|
columnsAudit: [
|
||||||
|
{
|
||||||
|
title: "审核人",
|
||||||
|
dataIndex: "createName",
|
||||||
|
key: "createName",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
title: "审核状态",
|
||||||
|
dataIndex: "status",
|
||||||
|
key: "status",
|
||||||
|
align: "center",
|
||||||
|
customRender: ({record: {status}}) => <div>{{'2': '审核通过', '-2': '审核拒绝'}[(status + '')]}</div>,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
title: "审核时间",
|
||||||
|
dataIndex: "createTime",
|
||||||
|
key: "createTime",
|
||||||
|
align: "center",
|
||||||
|
width: 220
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
title: "备注",
|
||||||
|
dataIndex: "description",
|
||||||
|
key: "description",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
],
|
||||||
columns1: [
|
columns1: [
|
||||||
{
|
{
|
||||||
title: "序号",
|
title: "序号",
|
||||||
@@ -180,7 +212,8 @@ export default {
|
|||||||
return <div
|
return <div
|
||||||
style="color:#387DF7;cursor:pointer;"
|
style="color:#387DF7;cursor:pointer;"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
showProjAuditModal(value.record.auditList);
|
console.log(value)
|
||||||
|
showProjAuditModal(value.record.auditLogDtoList);
|
||||||
}}>审核日志</div>;
|
}}>审核日志</div>;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -247,10 +280,12 @@ export default {
|
|||||||
creater: item.createName,
|
creater: item.createName,
|
||||||
time: item.createTime,
|
time: item.createTime,
|
||||||
msg: item.description || "-",
|
msg: item.description || "-",
|
||||||
|
auditLogDtoList: item.auditLogDtoList
|
||||||
};
|
};
|
||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
state.tableData1 = array;
|
state.tableData1 = array;
|
||||||
|
console.log(data)
|
||||||
};
|
};
|
||||||
const reset = () => {
|
const reset = () => {
|
||||||
(state.valueproj = ''),
|
(state.valueproj = ''),
|
||||||
|
|||||||
Reference in New Issue
Block a user