feat:合并

This commit is contained in:
lixg
2023-01-05 15:55:44 +08:00
5 changed files with 68 additions and 59 deletions

View File

@@ -159,21 +159,21 @@ export default {
tableDataTotal: 0, tableDataTotal: 0,
projectName: "", projectName: "",
projectNameList: [ projectNameList: [
// { {
// id: 1, id: 1,
// value: "-1", value: "0",
// label: "未开始", label: "未开始",
// }, },
{ {
id: 1, id: 2,
value: "0", value: "2",
label: "未完成", label: "未完成",
}, },
{ {
id: 2, id: 3,
value: "1", value: "1",
label: "已完成", label: "已完成",
}, },
], ],
tabledata: [], tabledata: [],
tableDataTotalLoading: true, // 表格loading加载配置 tableDataTotalLoading: true, // 表格loading加载配置

View File

@@ -175,21 +175,21 @@ export default {
tableDataTotal: 0, tableDataTotal: 0,
projectName: "", projectName: "",
projectNameList: [ projectNameList: [
// { {
// id: 1, id: 1,
// value: "-1", value: "0",
// label: "未开始", label: "未开始",
// }, },
{ {
id: 1, id: 2,
value: "0", value: "2",
label: "未完成", label: "未完成",
}, },
{ {
id: 2, id: 3,
value: "1", value: "1",
label: "已完成", label: "已完成",
}, },
], ],
tabledata: [], tabledata: [],
tableDataTotalLoading: true, // 表格loading加载配置 tableDataTotalLoading: true, // 表格loading加载配置
@@ -245,8 +245,8 @@ export default {
}, },
{ {
title: "完成时间", title: "完成时间",
dataIndex: "endStudyTime", dataIndex: "lastStudyTime",
key: "endStudyTime", key: "lastStudyTime",
width: 100, width: 100,
align: "center", align: "center",
className: "h", className: "h",

View File

@@ -175,21 +175,21 @@ export default {
tableDataTotal: 0, tableDataTotal: 0,
projectName: "", projectName: "",
projectNameList: [ projectNameList: [
// { {
// id: 1, id: 1,
// value: "-1", value: "0",
// label: "未开始", label: "未开始",
// }, },
{ {
id: 1, id: 2,
value: "0", value: "2",
label: "未完成", label: "未完成",
}, },
{ {
id: 2, id: 3,
value: "1", value: "1",
label: "已完成", label: "已完成",
}, },
], ],
tabledata: [], tabledata: [],
tableDataTotalLoading: true, // 表格loading加载配置 tableDataTotalLoading: true, // 表格loading加载配置
@@ -245,8 +245,8 @@ export default {
}, },
{ {
title: "完成时间", title: "完成时间",
dataIndex: "endStudyTime", dataIndex: "lastStudyTime",
key: "endStudyTime", key: "lastStudyTime",
width: 100, width: 100,
align: "center", align: "center",
className: "h", className: "h",

View File

@@ -159,18 +159,18 @@
tableDataTotal: 0, tableDataTotal: 0,
projectName: "", projectName: "",
projectNameList: [ projectNameList: [
// {
// id: 1,
// value: "-1",
// label: "未开始",
// },
{ {
id: 1, id: 1,
value: "0", value: "0",
label: "未完成", label: "未开始",
}, },
{ {
id: 2, id: 2,
value: "2",
label: "未完成",
},
{
id: 3,
value: "1", value: "1",
label: "已完成", label: "已完成",
}, },

View File

@@ -993,11 +993,11 @@
<div class="b_title">课程:{{ newCourseName }}</div> <div class="b_title">课程:{{ newCourseName }}</div>
<div class="b_sub"> <div class="b_sub">
<div class="bs_type">类型:</div> <div class="bs_type">类型:</div>
<div class="bs_right">录播课</div> <div class="bs_right">{{faceType}}</div>
<div class="bs_left">内容分类:</div> <div class="bs_left">内容分类:</div>
<div class="bs_right">领导力</div> <div class="bs_right">{{faceClassification}}</div>
<div class="bs_left">状态:</div> <div class="bs_left">状态:</div>
<div class="bs_right">已审核</div> <div class="bs_right">{{faceStatus==1?"已启用":"已停用"}}</div>
</div> </div>
<a-tabs <a-tabs
class="b_menu" class="b_menu"
@@ -3433,6 +3433,11 @@ export default defineComponent({
], ],
}, },
], ],
// 点击开课管理 -- 显示得信息
faceType: "面授课", // 面授课类型
faceClassification: "", // 课程内容分类
faceStatus: "" // 课程状态
}); });
const showStuAdd = (record) => { const showStuAdd = (record) => {
@@ -5170,8 +5175,12 @@ export default defineComponent({
return false; return false;
}; };
// 管理开课
const handleGuan22 = (item) => { const handleGuan22 = (item) => {
console.log(787666); console.log(787666, item);
state.faceClassification = item.contentTxt;
state.faceStatus = item.kkty;
getTableDate33(); getTableDate33();
getTableDate333(); getTableDate333();
state.newCourseName = item.name; state.newCourseName = item.name;