mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
模板库添加各任务 待审核课程数据及各样式 面授课修改输入
This commit is contained in:
@@ -167,7 +167,7 @@ export default {
|
||||
key: "opt",
|
||||
align: "center",
|
||||
customRender: () => {
|
||||
return <div>审核日志</div>;
|
||||
return <div style="color:#387DF7">审核日志</div>;
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -198,7 +198,9 @@ export default {
|
||||
console.log("获取已审核课程成功", res.data.data);
|
||||
let result = res.data.data.rows;
|
||||
state.total = res.data.data.total;
|
||||
setTableData(result);
|
||||
if (res.data.data.total > 0) {
|
||||
setTableData(result);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("获取已审核课程失败", err);
|
||||
@@ -210,13 +212,22 @@ export default {
|
||||
data.map((item) => {
|
||||
let obj = {
|
||||
number: item.offcourseId,
|
||||
name: item.name,
|
||||
name: item.name || "- ",
|
||||
type: item.type == 1 ? "线上" : "线下",
|
||||
content: item.categoryId,
|
||||
status: item.auditStatus == 2 ? "通过" : "拒绝",
|
||||
status:
|
||||
item.auditStatus == 0
|
||||
? "未提交"
|
||||
: item.auditStatus == 1
|
||||
? "提交待审核"
|
||||
: item.auditStatus == 2
|
||||
? "通过"
|
||||
: item.auditStatus == -1
|
||||
? "拒绝"
|
||||
: "-",
|
||||
creater: item.createName,
|
||||
time: "-",
|
||||
msg: item.description,
|
||||
msg: item.description || "-",
|
||||
};
|
||||
array.push(obj);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user