企标制修订计划管控流程 体系结构单选
This commit is contained in:
@@ -281,6 +281,7 @@
|
||||
v-if="TXJGmodal"
|
||||
ref="TXJGTree"
|
||||
:data="standSystemOptions"
|
||||
@check-change="handleClick"
|
||||
show-checkbox
|
||||
node-key="id"
|
||||
check-strictly
|
||||
@@ -452,6 +453,12 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
//体系结构单选
|
||||
handleClick(data,checked, node){
|
||||
if(checked){
|
||||
this.$refs.TXJGTree.setCheckedNodes([data]);
|
||||
}
|
||||
},
|
||||
TXJGcloseDrawer () {
|
||||
this.TXJGmodal = false
|
||||
},
|
||||
|
||||
@@ -444,6 +444,7 @@
|
||||
<el-tree
|
||||
v-if="TXJGmodal"
|
||||
ref="TXJGTree"
|
||||
@check-change="handleClick"
|
||||
:data="standSystemOptions"
|
||||
show-checkbox
|
||||
node-key="id"
|
||||
@@ -648,6 +649,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//体系结构单选
|
||||
handleClick(data,checked, node){
|
||||
if(checked){
|
||||
this.$refs.TXJGTree.setCheckedNodes([data]);
|
||||
}
|
||||
},
|
||||
TXJGcloseDrawer () {
|
||||
this.TXJGmodal = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user