Browse Source

修一下

wxz_dy_form_config
tianq 2 years ago
parent
commit
8c1d4a9ac7
  1. 4
      epmet-oper-web/src/views/modules/customer/customize/menuCustomer.vue
  2. 15
      epmet-oper-web/src/views/modules/customer/customize/menuDataCustomer.vue
  3. 4
      epmet-oper-web/src/views/modules/workPc/dataMenu.vue
  4. 4
      epmet-oper-web/src/views/modules/workPc/menu.vue

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

@ -90,9 +90,9 @@ export default {
if (this.menuName != '') { if (this.menuName != '') {
let saveList = []; let saveList = [];
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList);
this.$refs.form.data = saveList; this.dataList = [...saveList];
} else { } else {
this.$refs.form.data = this.dataList; this.query();
} }
}, },

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

@ -12,7 +12,7 @@
<el-form-item><el-input v-model="menuName" placeholder="请输入菜单名称" :clearable="true"></el-input></el-form-item> <el-form-item><el-input v-model="menuName" placeholder="请输入菜单名称" :clearable="true"></el-input></el-form-item>
<el-form-item><el-button type="primary" @click="search()">查询</el-button></el-form-item> <el-form-item><el-button type="primary" @click="search()">查询</el-button></el-form-item>
</el-form> </el-form>
<div class="div_btn"> <div class="div_btn">
<el-button type="primary" @click="open('')">开启</el-button> <el-button type="primary" @click="open('')">开启</el-button>
<el-button type="primary" @click="close('')">关闭</el-button> <el-button type="primary" @click="close('')">关闭</el-button>
@ -74,7 +74,7 @@ export default {
mixinViewModuleOptions: { mixinViewModuleOptions: {
getDataListURL: '/gov/access/menu/customerMenuList', getDataListURL: '/gov/access/menu/customerMenuList',
createdIsNeed:false createdIsNeed: false
} }
}; };
}, },
@ -89,9 +89,9 @@ export default {
if (this.menuName != '') { if (this.menuName != '') {
let saveList = []; let saveList = [];
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList);
this.$refs.form.data = saveList; this.dataList = [...saveList];
} else { } else {
this.$refs.form.data = this.dataList; this.query();
} }
}, },
@ -115,7 +115,7 @@ export default {
resolve(saveList); resolve(saveList);
}); });
}, },
open(id) { open(id) {
let menuIds = []; let menuIds = [];
if (id != '') { if (id != '') {
@ -222,8 +222,9 @@ export default {
.div_btn { .div_btn {
margin: 0 0 20px 0; margin: 0 0 20px 0;
} }
.little-head{ .little-head {
border-bottom: dashed 1px #ccc; line-height: 50px; border-bottom: dashed 1px #ccc;
line-height: 50px;
margin-bottom: 20px; margin-bottom: 20px;
} }
</style> </style>

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

@ -111,9 +111,9 @@ export default {
if (this.menuName != '') { if (this.menuName != '') {
let saveList = []; let saveList = [];
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList);
this.$refs.form.data = saveList; this.dataList = [...saveList];
} else { } else {
this.$refs.form.data = this.dataList; this.getDataList();
} }
}, },

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

@ -107,9 +107,9 @@ export default {
if (this.menuName != '') { if (this.menuName != '') {
let saveList = []; let saveList = [];
this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList); this.onFuzzyTreeList('name', this.menuName, this.dataList, saveList);
this.$refs.form.data = saveList; this.dataList = [...saveList];
} else { } else {
this.$refs.form.data = this.dataList; this.getDataList();
} }
}, },

Loading…
Cancel
Save