|
@ -90,8 +90,7 @@ export default { |
|
|
dataForm: { tableName: 'gov_menu' }, |
|
|
dataForm: { tableName: 'gov_menu' }, |
|
|
selMenuName: '', |
|
|
selMenuName: '', |
|
|
selection: [], |
|
|
selection: [], |
|
|
selAllFlag: false, |
|
|
selAllFlag: false |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
@ -106,9 +105,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
...mapGetters(['clientHeight', 'resolution']) |
|
|
...mapGetters(['clientHeight', 'resolution']) |
|
|
}, |
|
|
}, |
|
|
|
|
|
mounted() { |
|
|
|
|
|
this.initData2(this.dataList); |
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
initData(customerId, customerName) { |
|
|
initData(customerId, customerName) { |
|
|
|
|
|
console.log('ddddddddd'); |
|
|
this.customerId = customerId; |
|
|
this.customerId = customerId; |
|
|
this.customerName = customerName; |
|
|
this.customerName = customerName; |
|
|
// if (this.mixinViewModuleOptions.createdIsNeed) { |
|
|
// if (this.mixinViewModuleOptions.createdIsNeed) { |
|
@ -128,11 +130,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getData(data) { |
|
|
getData(data) { |
|
|
console.log("getData",data) |
|
|
console.log('getData', data); |
|
|
data.forEach(item => { |
|
|
data.forEach(item => { |
|
|
console.log(item.name,item.isSelect) |
|
|
console.log(item.name, item.isSelect); |
|
|
if (item.isSelect) { |
|
|
if (item.isSelect) { |
|
|
|
|
|
|
|
|
this.multipleSelection.push(item.id); |
|
|
this.multipleSelection.push(item.id); |
|
|
} |
|
|
} |
|
|
if (item.children) { |
|
|
if (item.children) { |
|
@ -393,8 +394,8 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.indeterminate .el-checkbox__input .el-checkbox__inner { |
|
|
.indeterminate .el-checkbox__input .el-checkbox__inner { |
|
|
background-color: #17B3A3 !important; |
|
|
background-color: #17b3a3 !important; |
|
|
border-color: #17B3A3 !important; |
|
|
border-color: #17b3a3 !important; |
|
|
color: #fff !important; |
|
|
color: #fff !important; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|