feat:学习路径展示在线 案例抽屉 项目抽屉接口仿写(表格选项有问题)面授管理改了一点

This commit is contained in:
Ggysh-7
2022-11-16 19:32:22 +08:00
parent 87db2fab4d
commit 8a57944e3a
4 changed files with 129 additions and 86 deletions

View File

@@ -431,17 +431,15 @@
item.type == '3' ||
item.type == '7' ||
item.type == '8' ||
item.type == '6' ||
item.type == '11' ||
item.type == '12' ||
item.type == '9'
item.type == '9' ||
item.type == '11'
? showTime(item.name, item.projectTaskId)
: item.type == '5' || item.type == '10'
? showTest(item.name, item.projectTaskId)
: item.type == '2'
? showFace(item.projectTaskId)
: item.type == '2' || item.type == '6'
? showFace(item.name,item.projectTaskId)
: item.type == '4'
? showWork(item.projectTaskId)
? showWork(item.name,item.projectTaskId)
: null
"
>
@@ -1031,6 +1029,7 @@
v-model:Fvisible.sync="FaceVisivle"
v-if="FaceVisivle"
:projectTaskId="projectTaskId"
:title="showFaceText"
/>
<!-- 学员小组管理创建小组抽屉 -->
<subset-manage v-model:Svisible="subsetVisivle" />
@@ -1064,6 +1063,7 @@
v-model:Wvisible.sync="Wvisible"
v-if="Wvisible"
:projectTaskId="projectTaskId"
:title="showWorkText"
/>
<!-- 考试管理抽屉 -->
<test-manage v-model:TMvisible.sync="TMvisible" v-if="TMvisible" :title="showTestText" :projectTaskId="projectTaskId" />
@@ -1075,12 +1075,12 @@
<a-modal v-model:visible="pubproject" :title="null" @ok="closeModal" :footer="null" :closable="false" :centered="true"
wrapClassName="pubproject" width="679px" height="437px">
<div class="modalHeader" style="
width: 100%;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
">
width: 100%;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
">
<div class="headerLeft" style="margin-left: 32px">
<span style="width: 15px; height: 15px"><img src="../../assets/images/taskpage/pub.png" /></span>
<span class="headerLeftText" style="font-size: 16px; margin-left: 10px">项目发布</span>
@@ -1125,12 +1125,12 @@
<a-modal v-model:visible="stugroup" :title="null" @ok="closeModal2" :footer="null" :closable="false" :centered="true"
wrapClassName="doublepro" width="624px" height="332px">
<div class="modalHeader" style="
width: 100%;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
">
width: 100%;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
">
<div class="headerLeft" style="margin-left: 32px">
<span class="headerLeftText" style="font-size: 16px">创建小组</span>
</div>
@@ -1994,13 +1994,18 @@ export default {
],
taskSyllabusActive: 0,
//在线管理等页面传递参数
//在线管理等页面传递参数title
showTimeText: "",
//考试、测评页面传递参数
//考试、测评页面传递参数title
showTestText: "",
//直播、面授传递title
showFaceText:"",
//直播、面授传递title
showWorkText:"",
//直播、活动页面传递参数
showkaoqinText: "",
//排行榜时间
rankStartTime: null,
rankEndTime: null,
@@ -2298,10 +2303,11 @@ export default {
state.projectTaskId = id;
};
//新增
const showFace = (id) => {
const showFace = (name, id) => {
//面授管理的抽屉
// console.log("点击管理");
state.FaceVisivle = true;
state.showFaceText = name;
state.projectTaskId = id;
};
const showSubset = () => {
@@ -2324,8 +2330,9 @@ export default {
state.showkaoqinText = "【" + course + "】" + "考勤";
};
//作业管理的抽屉
const showWork = (id) => {
const showWork = (name,id) => {
state.Wvisible = true;
state.showWorkText = name;
state.projectTaskId = id;
};
//考试管理的抽屉