From 61e123855b229bc33346bff19bbd43fb15b20ca4 Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Wed, 25 May 2022 11:56:54 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=20=E9=83=A8=E9=97=A8=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/system/UserList.vue | 2 +- .../system/modules/departmentAllocation.vue | 42 +++++++++++++++---- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/jero-web/src/views/system/UserList.vue b/jero-web/src/views/system/UserList.vue index 4da00cd28..2b15e877f 100644 --- a/jero-web/src/views/system/UserList.vue +++ b/jero-web/src/views/system/UserList.vue @@ -85,7 +85,7 @@ {{$t('RoleAssignment')}} - {{$t('departmentAllocation')}} + {{$t('DepartmentAllocation')}} diff --git a/jero-web/src/views/system/modules/departmentAllocation.vue b/jero-web/src/views/system/modules/departmentAllocation.vue index c4e24e2b6..113a8e341 100644 --- a/jero-web/src/views/system/modules/departmentAllocation.vue +++ b/jero-web/src/views/system/modules/departmentAllocation.vue @@ -11,14 +11,24 @@ > - - - - - {{ role.roleName }} - - - + + + + + + + + + + + + {{$t('choice')}} + @@ -28,6 +38,7 @@ {{ $t('cancel') }} {{ $t('determine') }} + @@ -38,11 +49,16 @@ import Vue from 'vue' import { ACCESS_TOKEN } from '@/store/mutation-types' import moment from 'moment' // import eventBUs from '../../common/event' +// 引入搜索部门弹出框的组件 +import departWindow from './DepartWindow' export default { name: 'diolagArea', - components: {}, + components: { + departWindow + }, data() { return { + checkedDepartNameString: '', token:Vue.ls.get(ACCESS_TOKEN), title: this.$t('add'), total: 0, @@ -81,6 +97,14 @@ export default { this.loadData() }, methods: { + modalFormOk(val,vauel) { + // console.log('pppppp') + console.log(val) + console.log(vauel,'vauelvauel') + }, + onSearch() { + this.$refs.departWindow.add(this.checkedDepartKeys, this.userId) + }, loadData() { this.loading = true getAction(`sys/role/queryall`, {}).then(res => {