mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
feat:type判定
This commit is contained in:
@@ -621,7 +621,7 @@ export default {
|
||||
projectId: 28,
|
||||
projectTaskId: 0,
|
||||
stageId: 3,
|
||||
type: 0,
|
||||
type: 6,
|
||||
})
|
||||
.then((res) => {
|
||||
console.log("调用项目添加接口后", res.data);
|
||||
|
||||
@@ -882,7 +882,30 @@ export default {
|
||||
data.map((value) => {
|
||||
let obj = {
|
||||
id: value.projectTaskId,
|
||||
lei: value.type == 0 ? "直播" : "-",
|
||||
lei:
|
||||
value.type == 1
|
||||
? "在线"
|
||||
: value.type == 2
|
||||
? "面授"
|
||||
: value.type == 3
|
||||
? "案例"
|
||||
: value.type == 4
|
||||
? "作业"
|
||||
: value.type == 5
|
||||
? "考试"
|
||||
: value.type == 6
|
||||
? "直播"
|
||||
: value.type == 7
|
||||
? "外链"
|
||||
: value.type == 8
|
||||
? "讨论"
|
||||
: value.type == 10
|
||||
? "测评"
|
||||
: value.type == 11
|
||||
? "评估"
|
||||
: value.type == 12
|
||||
? "投票"
|
||||
: "-",
|
||||
creater: value.name == "" ? "管理者课程" : "-",
|
||||
cretime: value.duration,
|
||||
checked1: value.flag ? true : false,
|
||||
|
||||
Reference in New Issue
Block a user