mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
feat:增加项目/学习路径图直播管理界面
This commit is contained in:
@@ -488,7 +488,6 @@
|
||||
item.type === 8 ||
|
||||
item.type === 6 ||
|
||||
item.type === 11 ||
|
||||
item.type === 12 ||
|
||||
item.type === 9
|
||||
? commonModel(item, value.name)
|
||||
: item.type === 2
|
||||
@@ -499,6 +498,8 @@
|
||||
? examinationModel(item, value.name)
|
||||
: item.type === 10
|
||||
? evaluationModel(item, value.name)
|
||||
: item.type === 12
|
||||
? voteModel(item, value.name)
|
||||
: null
|
||||
"
|
||||
>
|
||||
@@ -1309,6 +1310,15 @@
|
||||
:levelName="commonLevelName"
|
||||
/>
|
||||
<!-- 公共管理抽屉 结束-->
|
||||
|
||||
<!-- 投票管理抽屉 开始-->
|
||||
<router-vote-manage
|
||||
v-model:VoteModelVisible="voteModelVisible"
|
||||
:title="voteModelVisibleTitle"
|
||||
:datasource="voteData"
|
||||
:levelName="voteLevelName"
|
||||
/>
|
||||
<!-- 投票管理抽屉 结束-->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -1345,6 +1355,7 @@ import RouterExaminationManage from "../../components/drawers/router/RouterExami
|
||||
import RouterEvaluationManage from "../../components/drawers/router/RouterEvaluationManage";
|
||||
import RouterHomeworkManage from "../../components/drawers/router/RouterHomeworkManage";
|
||||
import RouterCommonManage from "../../components/drawers/router/RouterCommonManage";
|
||||
import RouterVoteManage from "../../components/drawers/router/RouterVoteManage";
|
||||
|
||||
export default {
|
||||
name: "LevelAdd",
|
||||
@@ -1368,6 +1379,7 @@ export default {
|
||||
RouterEvaluationManage,
|
||||
RouterHomeworkManage,
|
||||
RouterCommonManage,
|
||||
RouterVoteManage
|
||||
},
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
@@ -1544,20 +1556,24 @@ export default {
|
||||
evaluationModelVisible: false,
|
||||
homeworkModelVisible: false,
|
||||
commonModelVisible: false,
|
||||
voteModelVisible: false,
|
||||
faceTeachModelVisibleTitle: "",
|
||||
examinationModelVisibleTitle: "",
|
||||
evaluationModelVisibleTitle: "",
|
||||
homeworkModelVisibleTitle: "",
|
||||
commonModelVisibleTitle: "",
|
||||
voteModelVisibleTitle: "",
|
||||
|
||||
faceData: "",
|
||||
examinationData: "",
|
||||
evaluationData: "",
|
||||
homeworkData: "",
|
||||
commonData: "",
|
||||
voteData: "",
|
||||
commonLevelName: "",
|
||||
examLevelName: "",
|
||||
evaluationLevelName: "",
|
||||
voteLevelName: "",
|
||||
|
||||
facestudent: "",
|
||||
locationHref:
|
||||
@@ -1862,6 +1878,15 @@ export default {
|
||||
state.evaluationData = data;
|
||||
// 测评弹框名称 RouterEvaluationManage
|
||||
};
|
||||
// 投票点击管理弹框
|
||||
const voteModel = (data, levelname) => {
|
||||
console.log(data);
|
||||
state.voteLevelName = levelname;
|
||||
state.voteModelVisible = true;
|
||||
state.voteModelVisibleTitle = data.name;
|
||||
state.voteData = data;
|
||||
// 投票弹框名称 RouterVoteManage
|
||||
};
|
||||
// 作业点击管理弹框
|
||||
const homeworkModel = (data) => {
|
||||
console.log(data);
|
||||
@@ -2653,6 +2678,7 @@ export default {
|
||||
faceTeachModel,
|
||||
examinationModel,
|
||||
evaluationModel,
|
||||
voteModel,
|
||||
homeworkModel,
|
||||
commonModel,
|
||||
downloadFile,
|
||||
|
||||
Reference in New Issue
Block a user