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 => {