|
|
@ -66,7 +66,7 @@ export default { |
|
|
|
tableParams: { |
|
|
|
customerId: '' |
|
|
|
}, |
|
|
|
search: '', |
|
|
|
|
|
|
|
dataList: [], |
|
|
|
selection: [], |
|
|
|
selAllFlag: false, |
|
|
@ -74,7 +74,8 @@ export default { |
|
|
|
dataListLoading: false, |
|
|
|
|
|
|
|
mixinViewModuleOptions: { |
|
|
|
getDataListURL: '/gov/access/menu/customerMenuList' |
|
|
|
getDataListURL: '/gov/access/menu/customerMenuList', |
|
|
|
createdIsNeed:false |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
@ -83,7 +84,7 @@ export default { |
|
|
|
components: { |
|
|
|
AddOrUpdate |
|
|
|
}, |
|
|
|
created() {}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
search() { |
|
|
|
if (this.menuName != '') { |
|
|
@ -174,6 +175,7 @@ export default { |
|
|
|
.then(({ data: res }) => { |
|
|
|
return this.$message.success('操作成功'); |
|
|
|
}); |
|
|
|
|
|
|
|
this.query(); |
|
|
|
}, |
|
|
|
query() { |
|
|
@ -198,12 +200,15 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
initData(customerId, customerName) { |
|
|
|
if (customerId != '') { |
|
|
|
this.customerId = customerId; |
|
|
|
this.customerName = customerName; |
|
|
|
|
|
|
|
// if (this.mixinViewModuleOptions.createdIsNeed) { |
|
|
|
// console.log(this.customerId+"22222"); |
|
|
|
this.query(); |
|
|
|
// } |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
handleSelectionChange(val) { |
|
|
@ -226,7 +231,8 @@ export default { |
|
|
|
margin: 0 0 20px 0; |
|
|
|
} |
|
|
|
.little-head { |
|
|
|
border-bottom: dashed 1px #ccc; line-height: 50px; |
|
|
|
border-bottom: dashed 1px #ccc; |
|
|
|
line-height: 50px; |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
|
</style> |
|
|
|