微调
This commit is contained in:
@@ -387,7 +387,7 @@ export default {
|
|||||||
);
|
);
|
||||||
this.addForm = {};
|
this.addForm = {};
|
||||||
// console.log(this.$refs.tree.handleClickNodes(), "当前选中节点");
|
// console.log(this.$refs.tree.handleClickNodes(), "当前选中节点");
|
||||||
console.log(node, data, "当前选中节点");
|
console.log(node, data, "当前选中节点-----------");
|
||||||
this.currentNode = node;
|
this.currentNode = node;
|
||||||
this.isFresh = false;
|
this.isFresh = false;
|
||||||
this.isFresh = true;
|
this.isFresh = true;
|
||||||
@@ -436,6 +436,7 @@ export default {
|
|||||||
children: [],
|
children: [],
|
||||||
delFlag: 0,
|
delFlag: 0,
|
||||||
isLast: 0,
|
isLast: 0,
|
||||||
|
content:'',
|
||||||
pid: 0,
|
pid: 0,
|
||||||
sort: 0,
|
sort: 0,
|
||||||
title: ""
|
title: ""
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
v-loading="!isFresh"
|
v-loading="!isFresh"
|
||||||
style="width: calc(100% - 360px); height: 100%; overflow-y: scroll; float: right; border: 1px solid #bababa; border-top:none; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); border-radius: 10px;position: relative;"
|
style="width: calc(100% - 360px); height: 100%; overflow-y: scroll; float: right; border: 1px solid #bababa; border-top:none; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); border-radius: 10px;position: relative;"
|
||||||
>
|
>
|
||||||
<el-tabs type="card">
|
<el-tabs type="card" v-model="activeName">
|
||||||
<el-tab-pane label="基本标签信息">
|
<el-tab-pane label="基本标签信息" name="first">
|
||||||
<div class="border_box info_box">
|
<div class="border_box info_box">
|
||||||
<div class="title_box">
|
<div class="title_box">
|
||||||
<div class="title"><span class="line"></span>基本标签信息</div>
|
<div class="title"><span class="line"></span>基本标签信息</div>
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
label="已关联课程列表"
|
label="已关联课程列表" name="second"
|
||||||
v-if="currentNode && currentNode.data.isLast == 1"
|
v-if="currentNode && currentNode.data.isLast == 1"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -492,6 +492,7 @@ export default {
|
|||||||
CanBindProductList: "/master/courseMedical/getCourseListCanMedical",
|
CanBindProductList: "/master/courseMedical/getCourseListCanMedical",
|
||||||
editCourse: "/master/courseMedical/updateCourseToMedicalSort"
|
editCourse: "/master/courseMedical/updateCourseToMedicalSort"
|
||||||
},
|
},
|
||||||
|
activeName:'first',
|
||||||
addForm: {},
|
addForm: {},
|
||||||
audioFileList: [],
|
audioFileList: [],
|
||||||
isFresh: false,
|
isFresh: false,
|
||||||
@@ -726,8 +727,11 @@ export default {
|
|||||||
this.isEdit = false;
|
this.isEdit = false;
|
||||||
this.isFresh = true;
|
this.isFresh = true;
|
||||||
console.log("🚀 ~ getCommonShopDataList ~ type, id:", type, id);
|
console.log("🚀 ~ getCommonShopDataList ~ type, id:", type, id);
|
||||||
|
|
||||||
this.currentNode = { data: { ...form } };
|
this.currentNode = { data: { ...form } };
|
||||||
this.addForm = form;
|
this.addForm = form;
|
||||||
|
if(this.addForm.isLast == 0){
|
||||||
|
this.activeName = 'first'}
|
||||||
this.fimages = this.addForm.icon;
|
this.fimages = this.addForm.icon;
|
||||||
this.audioFileList = []
|
this.audioFileList = []
|
||||||
if(this.addForm.mediaType == 2 && this.addForm.media != ''){
|
if(this.addForm.mediaType == 2 && this.addForm.media != ''){
|
||||||
@@ -909,6 +913,7 @@ export default {
|
|||||||
// console.log(this.$refs.tree.handleClickNodes(), "当前选中节点");
|
// console.log(this.$refs.tree.handleClickNodes(), "当前选中节点");
|
||||||
console.log(node, data, "当前选中节点");
|
console.log(node, data, "当前选中节点");
|
||||||
this.currentNode = node ? node : {};
|
this.currentNode = node ? node : {};
|
||||||
|
|
||||||
this.isFresh = false;
|
this.isFresh = false;
|
||||||
this.isFresh = true;
|
this.isFresh = true;
|
||||||
|
|
||||||
@@ -926,6 +931,7 @@ export default {
|
|||||||
delFlag: 0,
|
delFlag: 0,
|
||||||
isLast: 0,
|
isLast: 0,
|
||||||
icon: "",
|
icon: "",
|
||||||
|
content:'',
|
||||||
pid: data.id,
|
pid: data.id,
|
||||||
sort: 0,
|
sort: 0,
|
||||||
title: ""
|
title: ""
|
||||||
@@ -933,7 +939,6 @@ export default {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.addForm = { ...form };
|
this.addForm = { ...form };
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.commonShop.clear();
|
this.$refs.commonShop.clear();
|
||||||
// this.$refs.commonShop.bookMarketId = null;
|
// this.$refs.commonShop.bookMarketId = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user