Commit 48c15c81 authored by 黄奎's avatar 黄奎

页面修改

parent 12d8246d
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
this.showMsg = tempStr.substring(1, tempStr.length); this.showMsg = tempStr.substring(1, tempStr.length);
} }
} }
that.$emit('getChild', this.resultObj);
}, },
//获取所有节点 //获取所有节点
findTreeNode(tree) { findTreeNode(tree) {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class="col-3"> <div class="col-3">
<select-tree v-if="TreeCategoryList&&TreeCategoryList.length>0" :treeData='TreeCategoryList' <select-tree v-if="TreeCategoryList&&TreeCategoryList.length>0" :treeData='TreeCategoryList'
:id.sync="returnString" nodeKey="CateId" :multiple="true" labelKey="CateName" childrenKey="ChildList" :id.sync="returnString" nodeKey="CateId" :multiple="true" labelKey="CateName" childrenKey="ChildList"
tipText="课程分类"></select-tree> tipText="课程分类" @getChild="getChild"></select-tree>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" standout="bg-primary text-white" v-model="msg.Status" :options="ShowOpts" <q-select @input="resetSearch" standout="bg-primary text-white" v-model="msg.Status" :options="ShowOpts"
...@@ -168,6 +168,9 @@ ...@@ -168,6 +168,9 @@
this.getcourselist(); this.getcourselist();
}, },
methods: { methods: {
getChild(obj) {
console.log("obj", obj);
},
getCategorytree() { getCategorytree() {
this.TreeCategoryList = []; this.TreeCategoryList = [];
var qMsg = {} var qMsg = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment