|
|
@ -137,7 +137,6 @@ export default {
|
|
|
|
if (!err) {
|
|
|
|
if (!err) {
|
|
|
|
console.log('Received values of form: ', values)
|
|
|
|
console.log('Received values of form: ', values)
|
|
|
|
const data = { ...{ columns: res }, ...values }
|
|
|
|
const data = { ...{ columns: res }, ...values }
|
|
|
|
debugger
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
this.$emit('ok', data)
|
|
|
|
this.$emit('ok', data)
|
|
|
|
this.handleCancel()
|
|
|
|
this.handleCancel()
|
|
|
@ -171,17 +170,14 @@ export default {
|
|
|
|
// or, you can remove all expanded children keys.
|
|
|
|
// or, you can remove all expanded children keys.
|
|
|
|
this.expandedKeys = expandedKeys
|
|
|
|
this.expandedKeys = expandedKeys
|
|
|
|
this.autoExpandParent = false
|
|
|
|
this.autoExpandParent = false
|
|
|
|
debugger
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onCheck(checkedKeys) {
|
|
|
|
onCheck(checkedKeys) {
|
|
|
|
console.log('onCheck', checkedKeys)
|
|
|
|
console.log('onCheck', checkedKeys)
|
|
|
|
this.checkedKeys = checkedKeys
|
|
|
|
this.checkedKeys = checkedKeys
|
|
|
|
debugger
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onSelect(selectedKeys, info) {
|
|
|
|
onSelect(selectedKeys, info) {
|
|
|
|
console.log('onSelect', info)
|
|
|
|
console.log('onSelect', info)
|
|
|
|
this.selectedKeys = selectedKeys
|
|
|
|
this.selectedKeys = selectedKeys
|
|
|
|
debugger
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onCheckAllChange() {
|
|
|
|
onCheckAllChange() {
|
|
|
|
console.log('== 全选 ==')
|
|
|
|
console.log('== 全选 ==')
|
|
|
|