Browse Source

补充

wxz_dy_form_config
tianq 2 years ago
parent
commit
f11d9e9aac
  1. 14
      epmet-oper-web/src/views/modules/customer/customize/menuCustomer.vue
  2. 6
      epmet-oper-web/src/views/modules/customer/customize/menuDataCustomer.vue
  3. 3
      epmet-oper-web/src/views/modules/workPc/dataMenu.vue
  4. 17
      epmet-oper-web/src/views/modules/workPc/menu.vue

14
epmet-oper-web/src/views/modules/customer/customize/menuCustomer.vue

@ -95,7 +95,9 @@ export default {
components: {
AddOrUpdate
},
mounted() {
this.initData2(this.dataList);
},
methods: {
initData(customerId, customerName) {
this.customerId = customerId;
@ -117,11 +119,10 @@ export default {
},
getData(data) {
console.log("getData",data)
console.log('getData', data);
data.forEach(item => {
console.log(item.name,item.isSelect)
console.log(item.name, item.isSelect);
if (item.isSelect) {
this.multipleSelection.push(item.id);
}
if (item.children) {
@ -422,8 +423,8 @@ export default {
}
.indeterminate .el-checkbox__input .el-checkbox__inner {
background-color: #17B3A3 !important;
border-color: #17B3A3 !important;
background-color: #17b3a3 !important;
border-color: #17b3a3 !important;
color: #fff !important;
}
@ -463,4 +464,3 @@ export default {
display: block !important;
}
</style>

6
epmet-oper-web/src/views/modules/customer/customize/menuDataCustomer.vue

@ -96,11 +96,15 @@ export default {
AddOrUpdate
},
created() {},
mounted() {},
mounted() {
this.initData2(this.dataList);
},
methods: {
initData(customerId, customerName) {
this.customerId = customerId;
this.customerName = customerName;
// if (this.mixinViewModuleOptions.createdIsNeed) {
// console.log(this.customerId+"22222");
this.query();

3
epmet-oper-web/src/views/modules/workPc/dataMenu.vue

@ -111,6 +111,9 @@ export default {
},
...mapGetters(['clientHeight', 'resolution'])
},
mounted() {
this.initData2(this.dataList);
},
methods: {
initData(customerId, customerName) {
this.customerId = customerId;

17
epmet-oper-web/src/views/modules/workPc/menu.vue

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

Loading…
Cancel
Save