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:
@@ -53,7 +53,7 @@
|
||||
<div class="onerow">
|
||||
<div class="taskmain">快速创建路径图详情</div>
|
||||
</div>
|
||||
<div class="second">
|
||||
<div class="second" v-button-per="permissions">
|
||||
<div @click="totask">
|
||||
<div
|
||||
class="taskbox"
|
||||
@@ -326,7 +326,11 @@
|
||||
<div class="onerow">
|
||||
<div class="taskmain">任务大纲</div>
|
||||
|
||||
<router-link to="/leveladddetail" class="editright">
|
||||
<router-link
|
||||
to="/leveladddetail"
|
||||
class="editright"
|
||||
v-button-per="permissions"
|
||||
>
|
||||
<img
|
||||
class="editimg"
|
||||
src="../../assets/images/leveladd/edit.png"
|
||||
@@ -554,6 +558,7 @@
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="3" tab="学员管理" force-render>
|
||||
<TableStudent
|
||||
:permissions="permissions"
|
||||
v-if="isreload"
|
||||
:type="2"
|
||||
:id="routerId"
|
||||
@@ -562,7 +567,12 @@
|
||||
>
|
||||
<template #extension="{ data: { record } }">
|
||||
<a-button type="link" @click="showStudent(record)">查看</a-button>
|
||||
<a-button type="link" @click="setLevels(record)">调整</a-button>
|
||||
<a-button
|
||||
type="link"
|
||||
@click="setLevels(record)"
|
||||
v-button-per="permissions"
|
||||
>调整</a-button
|
||||
>
|
||||
</template>
|
||||
</TableStudent>
|
||||
<TableStudent
|
||||
@@ -574,11 +584,15 @@
|
||||
>
|
||||
<template #extension="{ data: { record } }">
|
||||
<a-button type="link" @click="showStudent(record)">查看</a-button>
|
||||
<a-button type="link" @click="setLevels(record)">调整</a-button>
|
||||
<a-button
|
||||
type="link"
|
||||
@click="setLevels(record)"
|
||||
v-button-per="permissions"
|
||||
>调整</a-button
|
||||
>
|
||||
</template>
|
||||
</TableStudent>
|
||||
</a-tab-pane>
|
||||
<!-- 1211注释 待开放 -->
|
||||
<a-tab-pane key="4" tab="设置">
|
||||
<div class="split"></div>
|
||||
|
||||
@@ -592,7 +606,12 @@
|
||||
<div class="headone">
|
||||
<div class="box"></div>
|
||||
<div class="onetitle">关卡内容可见可学设置</div>
|
||||
<div class="oneedi" @click="showbtn" v-show="twobtn">
|
||||
<div
|
||||
class="oneedi"
|
||||
@click="showbtn"
|
||||
v-show="twobtn"
|
||||
v-button-per="permissions"
|
||||
>
|
||||
编辑
|
||||
</div>
|
||||
<div v-show="twobtnn" class="twobtn">
|
||||
@@ -1388,6 +1407,7 @@ export default {
|
||||
const router = useRouter();
|
||||
// const store = useStore();
|
||||
const state = reactive({
|
||||
permissions: "",
|
||||
hasTask: false,
|
||||
stage: [],
|
||||
statess: [],
|
||||
@@ -1553,7 +1573,7 @@ export default {
|
||||
previewEndNum: 0,
|
||||
studyStartNum: 0,
|
||||
studyEndNum: 0,
|
||||
|
||||
pjModelVisible: false,
|
||||
faceTeachModelVisible: false,
|
||||
examinationModelVisible: false,
|
||||
evaluationModelVisible: false,
|
||||
@@ -1561,7 +1581,6 @@ export default {
|
||||
commonModelVisible: false,
|
||||
voteModelVisible: false,
|
||||
projectModelVisible: false,
|
||||
PjModelVisible: false,
|
||||
faceTeachModelVisibleTitle: "",
|
||||
examinationModelVisibleTitle: "",
|
||||
evaluationModelVisibleTitle: "",
|
||||
@@ -2241,6 +2260,7 @@ export default {
|
||||
.then((res) => {
|
||||
console.log("router-list", res);
|
||||
state.fileList = JSON.parse(res.data.data.routerInfo.attach);
|
||||
state.permissions = res.data.data.routerInfo.permissions;
|
||||
console.log("asdasdasd-------->", state.fileList);
|
||||
state.docChecked =
|
||||
res.data.data.routerInfo.attachSwitch == 1 ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user