fix:增加已审核课程审核日志

This commit is contained in:
wyx
2022-12-06 18:52:16 +08:00
parent 7915ede585
commit d5541652fe

View File

@@ -117,6 +117,38 @@ export default {
currentPage: 1,
total: null,
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: [
{
title: "序号",
@@ -180,7 +212,8 @@ export default {
return <div
style="color:#387DF7;cursor:pointer;"
onClick={() => {
showProjAuditModal(value.record.auditList);
console.log(value)
showProjAuditModal(value.record.auditLogDtoList);
}}>审核日志</div>;
},
},
@@ -247,10 +280,12 @@ export default {
creater: item.createName,
time: item.createTime,
msg: item.description || "-",
auditLogDtoList: item.auditLogDtoList
};
array.push(obj);
});
state.tableData1 = array;
console.log(data)
};
const reset = () => {
(state.valueproj = ''),