mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
--fix 路径图整体修改
This commit is contained in:
@@ -39,16 +39,6 @@
|
||||
<span style="font-weight: 500">描述:</span
|
||||
><span>不设学习限制,学员可以在任何时间学习</span>
|
||||
</div>
|
||||
<!-- <div v-if="selectClassifyType === 2" class="type1 type2">
|
||||
<div>
|
||||
<span style="font-weight: 500">描述:</span
|
||||
><span>辩论、活动、测评、调研、投票按照设置时间</span>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<span>解锁单元:</span>
|
||||
<a-radio v-model:checked="checked">逐个任务解锁</a-radio>
|
||||
</div>
|
||||
</div> -->
|
||||
<div v-if="selectClassifyType === 2" class="type1 type3">
|
||||
<div>
|
||||
<span style="font-weight: 500">描述:</span
|
||||
@@ -80,9 +70,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { reactive, toRefs } from "vue";
|
||||
// import { editRoutered } from '@/api/indexLearningPath'
|
||||
// import { message } from "ant-design-vue";
|
||||
import {reactive, toRefs} from "vue";
|
||||
export default {
|
||||
name: "UnlockMode",
|
||||
props:{
|
||||
@@ -102,10 +90,6 @@ export default {
|
||||
type: 1,
|
||||
text: "自由学习模式",
|
||||
},
|
||||
// {
|
||||
// type: 2,
|
||||
// text: "按学习时间解锁",
|
||||
// },
|
||||
{
|
||||
type: 2,
|
||||
text: "闯关模式",
|
||||
@@ -115,19 +99,6 @@ export default {
|
||||
checked: true,
|
||||
radioSelect: 1,
|
||||
formData: {
|
||||
// routerId:'',
|
||||
// organizationName:'',
|
||||
// organizationId:'',
|
||||
// name:'',
|
||||
// picUrl:'',
|
||||
// remark:'',
|
||||
// status:'', // 0 草稿 1 已发布 -1 已停用
|
||||
// attach:'',
|
||||
// attachSwitch:'',
|
||||
// enablePreview:'',
|
||||
// previewSetting:'',
|
||||
// enableStudy:'',
|
||||
// studySetting:'',
|
||||
unlockMode:'',
|
||||
}
|
||||
});
|
||||
@@ -144,18 +115,6 @@ export default {
|
||||
const saveUnlock =() =>{
|
||||
console.log(ctx,state.formData.unlockMode)
|
||||
ctx.emit("saveUnlock",state.formData.unlockMode)
|
||||
// editRoutered(state.formData).then(res=>{
|
||||
// if(res.data.code == 200){
|
||||
// message.success(res.data.msg)
|
||||
// ctx.emit("successA")
|
||||
// closeDrawer()
|
||||
// }else{
|
||||
// message.error(res.data.msg)
|
||||
// }
|
||||
// }).catch(e=>{
|
||||
// console.log(e)
|
||||
// message.error(e.data.msg)
|
||||
// })
|
||||
}
|
||||
|
||||
const afterVisibleChange = (bool) => {
|
||||
@@ -190,7 +149,6 @@ export default {
|
||||
afterVisibleChange,
|
||||
closeDrawer,
|
||||
saveUnlock,
|
||||
// change,
|
||||
selectClassify,
|
||||
changeUnlockMode
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user