mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
style:增加项目管理页面
This commit is contained in:
@@ -606,26 +606,32 @@
|
||||
@click="
|
||||
item.type == '1' ||
|
||||
item.type == '3' ||
|
||||
item.type == '6' ||
|
||||
item.type == '7' ||
|
||||
item.type == '8' ||
|
||||
item.type == '9' ||
|
||||
item.type == '11' ||
|
||||
item.type == '12'
|
||||
? showTime(
|
||||
item.type == '11'
|
||||
? showOnline(
|
||||
item.name,
|
||||
item.projectTaskId,
|
||||
item.type
|
||||
)
|
||||
: item.type == '5' || item.type == '10'
|
||||
? showTest(
|
||||
: item.type == '2'
|
||||
? showFace(
|
||||
item.name,
|
||||
item.projectTaskId,
|
||||
item.type
|
||||
)
|
||||
: item.type == '2' || item.type == '6'
|
||||
? showFace(item.name, item.projectTaskId)
|
||||
: item.type == '4'
|
||||
? showWork(item.name, item.projectTaskId)
|
||||
: item.type == '5'
|
||||
? showTest(item.name, item.projectTaskId)
|
||||
: item.type == '10'
|
||||
? showEval(item.name, item.projectTaskId)
|
||||
: item.type == '12'
|
||||
? showWork(item.name, item.projectTaskId)
|
||||
: item.type == '13'
|
||||
? showWork(item.name, item.projectTaskId)
|
||||
: null
|
||||
"
|
||||
>
|
||||
@@ -1083,12 +1089,39 @@
|
||||
:title="showTimeText"
|
||||
:itemsType="itemstype"
|
||||
/>
|
||||
<!-- 在线、案例等管理抽屉 -->
|
||||
<ProjectOnlineManage
|
||||
v-model:Tvisible="onlineVisible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showTimeText"
|
||||
:itemsType="itemstype"
|
||||
/>
|
||||
|
||||
<!-- 面授管理抽屉 -->
|
||||
<face-manage
|
||||
<ProjectFaceTaskManage
|
||||
v-model:Fvisible="FaceVisivle"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showFaceText"
|
||||
/>
|
||||
<!-- 作业管理抽屉 -->
|
||||
<ProjectHomeWorkManage
|
||||
v-model:Wvisible="Wvisible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showWorkText"
|
||||
/>
|
||||
<!-- 考试管理抽屉 -->
|
||||
<ProjectExamManage
|
||||
v-model:TMvisible="TMvisible"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
/>
|
||||
<!-- 测评抽屉 -->
|
||||
<ProjectEvalManage
|
||||
v-model:Evalvisible="Evalvisible"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
/>
|
||||
|
||||
<!-- 学员(小组管理)创建小组抽屉 -->
|
||||
<subset-manage v-model:Svisible="subsetVisivle" />
|
||||
<!-- 学员管理-添加学员抽屉 -->
|
||||
@@ -1129,19 +1162,7 @@
|
||||
<face-stu v-model:FSvisible="FSvisible" />
|
||||
<!-- 活动考勤抽屉 -->
|
||||
<active-attendance v-model:AAvisible="AAvisible" :title="showkaoqinText" />
|
||||
<!-- 作业管理抽屉 -->
|
||||
<work-manage
|
||||
v-model:Wvisible="Wvisible"
|
||||
:projectTaskId="projectTaskId"
|
||||
:title="showWorkText"
|
||||
/>
|
||||
<!-- 考试管理抽屉 -->
|
||||
<test-manage
|
||||
v-model:TMvisible="TMvisible"
|
||||
:title="showTestText"
|
||||
:projectTaskId="projectTaskId"
|
||||
:itemsType="itemstype"
|
||||
/>
|
||||
|
||||
<!-- 批量面授报名 -->
|
||||
<task-imp-stu v-model:TaskFaceImpStuvisible="TaskFaceImpStuvisible" />
|
||||
|
||||
@@ -1694,13 +1715,15 @@ import { reactive, toRefs, onMounted, watch, computed } from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
import { useRouter } from "vue-router";
|
||||
import TimeManage from "../../components/drawers/TimeManage";
|
||||
import FaceManage from "../../components/drawers/FaceManage";
|
||||
import ProjectFaceTaskManage from "../../components/drawers/project/ProjectFaceTaskManage";
|
||||
import ProjectOnlineManage from "../../components/drawers/project/ProjectOnlineManage";
|
||||
import ProjectHomeWorkManage from "../../components/drawers/project/ProjectHomeWorkManage";
|
||||
import ProjectExamManage from "../../components/drawers/project/ProjectExamManage";
|
||||
import ProjectEvalManage from "../../components/drawers/project/ProjectEvalManage";
|
||||
import SubsetManage from "../../components/drawers/SubsetManage";
|
||||
import MemberList from "../../components/drawers/MemberList";
|
||||
import ActiveAttendance from "../../components/drawers/ActiveAttendance";
|
||||
import WorkManage from "../../components/drawers/WorkManage";
|
||||
import FaceStu from "../../components/drawers/FaceStu";
|
||||
import TestManage from "../../components/drawers/TestManage";
|
||||
import ProjCheckShip from "../../components/drawers/ProjCheckPower";
|
||||
import ImportStu from "../../components/drawers/ImportStu";
|
||||
import SeeStu from "../../components/drawers/SeeStu";
|
||||
@@ -1741,13 +1764,15 @@ export default {
|
||||
ProjectLevel,
|
||||
TrainClass,
|
||||
TimeManage,
|
||||
FaceManage,
|
||||
ProjectFaceTaskManage,
|
||||
ProjectOnlineManage,
|
||||
ProjectHomeWorkManage,
|
||||
ProjectExamManage,
|
||||
ProjectEvalManage,
|
||||
SubsetManage,
|
||||
MemberList,
|
||||
FaceStu,
|
||||
ActiveAttendance,
|
||||
WorkManage,
|
||||
TestManage,
|
||||
// StuAdd,
|
||||
ProjCheckShip,
|
||||
ImportStu,
|
||||
@@ -1879,6 +1904,7 @@ export default {
|
||||
],
|
||||
valuestu4: "学员",
|
||||
visible: false, //时间管理
|
||||
onlineVisible: false, //在线管理
|
||||
FaceVisivle: false, //面授管理
|
||||
subsetVisivle: false, //随机小组
|
||||
Lvisible: false, //组员名单
|
||||
@@ -1886,6 +1912,7 @@ export default {
|
||||
AAvisible: false, //活动考勤
|
||||
Wvisible: false, //作业管理
|
||||
TMvisible: false, //考试管理
|
||||
Evalvisible: false, //测评管理
|
||||
Stuvisible: false, //添加学员
|
||||
Importvisible: false, //导入学员
|
||||
Seevisible: false, //查看学员
|
||||
@@ -2662,17 +2689,16 @@ export default {
|
||||
const showFaceIn = () => {
|
||||
state.TaskFaceImpStuvisible = true;
|
||||
};
|
||||
//新增
|
||||
const showTime = (name, id, type) => {
|
||||
//在线、案例、外链、讨论、评估、直播、活动管理页面
|
||||
const showOnline = (name, id, type) => {
|
||||
console.log("点击管理并传了id");
|
||||
state.visible = true;
|
||||
state.onlineVisible = true;
|
||||
state.showTimeText = name;
|
||||
state.projectTaskId = id;
|
||||
state.itemstype = Number(type);
|
||||
};
|
||||
//新增
|
||||
//面授管理的抽屉
|
||||
const showFace = (name, id) => {
|
||||
//面授管理的抽屉
|
||||
// console.log("点击管理");
|
||||
state.FaceVisivle = true;
|
||||
state.showFaceText = name;
|
||||
@@ -2703,12 +2729,18 @@ export default {
|
||||
state.showWorkText = name;
|
||||
state.projectTaskId = id;
|
||||
};
|
||||
//考试、测评管理的抽屉
|
||||
const showTest = (name, id, type) => {
|
||||
//考试管理的抽屉
|
||||
const showTest = (name, id) => {
|
||||
state.TMvisible = true;
|
||||
state.showTestText = name;
|
||||
state.projectTaskId = id;
|
||||
state.itemstype = Number(type);
|
||||
};
|
||||
//测评抽屉
|
||||
const showEval = (name, id) => {
|
||||
console.log('点击测评')
|
||||
state.Evalvisible = true;
|
||||
state.showTestText = name;
|
||||
state.projectTaskId = id;
|
||||
};
|
||||
const showStuAdd = () => {
|
||||
state.Stuvisible = true;
|
||||
@@ -4066,7 +4098,7 @@ export default {
|
||||
|
||||
showDeleteOne,
|
||||
closeDeleteOne,
|
||||
showTime,
|
||||
showOnline,
|
||||
showFace,
|
||||
showSubset,
|
||||
showMemberList,
|
||||
@@ -4074,6 +4106,7 @@ export default {
|
||||
showAA,
|
||||
showWork,
|
||||
showTest,
|
||||
showEval,
|
||||
showStuAdd,
|
||||
showImportStu,
|
||||
showSeeStu,
|
||||
|
||||
Reference in New Issue
Block a user