diff --git a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue index 59fa256..3855232 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue @@ -47,7 +47,6 @@ v-for="scope in scopeOptions" :label="scope.scopeKey" :key="scope.scopeKey" - :checked="scope.assigned" >{{scope.scopeName}} @@ -112,7 +111,6 @@ export default { if (typeof _data[n] === 'boolean') _data[n] = false if (typeof _data[n] === 'string') _data[n] = '' if (typeof _data[n] === 'object') _data[n] = [] - console.log(n, _data[n]) } }, methods: { @@ -148,12 +146,17 @@ export default { roleId: this.roleId, operationKey: operationKey } + console.log('checkedScopes', this.checkedScopes) this.loading3 = true this.$http .post('/gov/access/config/configoptions', params) .then(resp => { console.log('scopeOptions', resp.data) this.scopeOptions = resp.data.data.scopeOptions + resp.data.data.scopeOptions.forEach(item => { + if (item.assigned) this.checkedScopes.push(item.scopeKey) + }) + console.log('checkedScopes222', this.checkedScopes) this.settingOptions = resp.data.data.settingOptions setTimeout(() => { this.loading3 = false diff --git a/epmet-oper-web/src/views/modules/productConfig/homeCustom/index.vue b/epmet-oper-web/src/views/modules/productConfig/homeCustom/index.vue new file mode 100644 index 0000000..5d8ede7 --- /dev/null +++ b/epmet-oper-web/src/views/modules/productConfig/homeCustom/index.vue @@ -0,0 +1,877 @@ + + + + + diff --git a/epmet-oper-web/src/views/modules/workPc/menu-add-or-update.vue b/epmet-oper-web/src/views/modules/workPc/menu-add-or-update.vue new file mode 100644 index 0000000..42e8b9c --- /dev/null +++ b/epmet-oper-web/src/views/modules/workPc/menu-add-or-update.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/epmet-oper-web/src/views/modules/workPc/menu.vue b/epmet-oper-web/src/views/modules/workPc/menu.vue new file mode 100644 index 0000000..00f9198 --- /dev/null +++ b/epmet-oper-web/src/views/modules/workPc/menu.vue @@ -0,0 +1,55 @@ + + + diff --git a/epmet-oper-web/src/views/modules/wx-mini/index-set.vue b/epmet-oper-web/src/views/modules/wx-mini/index-set.vue index 725d0d0..1f30650 100644 --- a/epmet-oper-web/src/views/modules/wx-mini/index-set.vue +++ b/epmet-oper-web/src/views/modules/wx-mini/index-set.vue @@ -24,7 +24,7 @@ @click="startSetWxIndex(scope.row.customerId, scope.row.customerName, 0)">居民端 政府端 + @click="startSetWxIndex(scope.row.customerId, scope.row.customerName, 1)">工作端 @@ -40,7 +40,7 @@ @click="save">保存 发布 - ({{ wxIndex.customerName }} - {{ wxIndex.clientType===1 ? '政府端' : '居民端' }}) + ({{ wxIndex.customerName }} - {{ wxIndex.clientType===1 ? '工作端' : '居民端' }}) diff --git a/epmet-oper-web/src/views/pages/login.vue b/epmet-oper-web/src/views/pages/login.vue index d0f1942..73b3c7e 100644 --- a/epmet-oper-web/src/views/pages/login.vue +++ b/epmet-oper-web/src/views/pages/login.vue @@ -3,7 +3,7 @@