Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop

This commit is contained in:
peiqingliu
2023-02-16 17:54:18 +08:00
2 changed files with 7 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
>逐个任务解锁完成一个任务后解锁下一个</a-radio
>
</div>
<div style="margin-top: 24px">
<div v-if="types!==1" style="margin-top: 24px">
<a-radio :value="3"
>完成当前阶段所有必修任务解锁下一阶段</a-radio
>
@@ -78,6 +78,10 @@ export default {
type: Boolean,
default: false
},
types: {
type: Number,
default: null,
},
objData:{
type: Object
}

View File

@@ -131,7 +131,7 @@
<a-button type="primary" size="large" style="border-radius: 8px;margin-left: 24px;"
@click="showModeVisible">切换模式
</a-button>
<unlock-mode ref="unlockModeModal" v-model:unlockModeVisible="unlockModeVisible"
<unlock-mode ref="unlockModeModal" v-model:unlockModeVisible="unlockModeVisible" v-model:types="types"
:objData="routerInfo" @saveUnlock="saveUnlock" @closeUnlockModal="closeUnlockModal"/>
</div>
<div class="line"></div>
@@ -476,6 +476,7 @@ const unlockModeVisible = ref(false)
const cancleLoading = ref(false)
const templateLoading = ref(false)
const confirmLoading = ref(false)
const types = ref(1) // 1 路径图 2 项目
const activeIndex = ref(0)
const courseRef = ref({})
const routerInfo = ref({chapterList: [{name: '关卡一', taskList: []}], routerInfo: {}})