标准清单 高级检索

This commit is contained in:
宋伟佳
2021-06-25 17:57:33 +08:00
parent a2acbe7ae6
commit b843b0d975
60 changed files with 572 additions and 698 deletions
@@ -112,7 +112,6 @@ export default {
},
methods: {
handleTreeDblClick (treeId, treeNode) {
console.log(treeNode.id)
this.checkedName = treeNode.name
this.$emit('input', treeNode.id)
this.visible = false
@@ -130,8 +129,6 @@ export default {
return name
},
handleTreeDrawerConfirm () {
console.log(this.config.selVal)
console.log(this.treeCheckNode)
if (this.config.selVal === 'USERLIST') {
const checkedList = []
const checkedNameList = []
@@ -141,9 +138,7 @@ export default {
checkedNameList.push(item.name)
}
})
console.log(checkedNameList)
this.checkedName = checkedNameList.join(',')
console.log(this.checkedName)
this.$emit('input', checkedList.join(','))
} else {
const checkedList = []
@@ -157,7 +152,6 @@ export default {
}
})
this.checkedName = checkedNameList.join(',')
console.log(this.checkedName)
this.$emit('input', checkedList.join(','))
}
this.visible = false
@@ -179,11 +173,9 @@ export default {
},
watch: {
value (newVal) {
console.log(newVal)
this.checkedName = newVal || ''
},
checkedName (val) {
console.log(val)
this.$emit('update:value', val)
}
},