Browse Source

增加区域编码

origin/feature/monitoring
zhangyuan 5 years ago
parent
commit
8caad3c3cc
  1. 1
      src/i18n/zh-CN.js
  2. 9
      src/views/modules/sys/dept-add-or-update.vue
  3. 1
      src/views/modules/sys/role.vue

1
src/i18n/zh-CN.js

@ -287,6 +287,7 @@ t.oss.localPathTips = '如:D:/upload'
t.dept = {}
t.dept.name = '名称'
t.dept.partyCode = '编码'
t.dept.areaCode = '区域编码'
t.dept.parentName = '上级部门'
t.dept.sort = '排序'
t.dept.parentNameDefault = '一级部门'

9
src/views/modules/sys/dept-add-or-update.vue

@ -18,6 +18,11 @@
<el-input v-model="dataForm.partyCode"
:placeholder="$t('dept.partyCode')"></el-input>
</el-form-item>
<el-form-item prop="areaCode"
:label="$t('dept.areaCode')">
<el-input v-model="dataForm.areaCode"
:placeholder="$t('dept.areaCode')"></el-input>
</el-form-item>
<el-form-item prop="parentName"
:label="$t('dept.parentName')"
class="dept-list">
@ -90,6 +95,7 @@ export default {
sort: 0,
typeKey: '',
typeName: '',
areaCode: '',
partyCode: ''
},
secondOrgDictList: []
@ -104,6 +110,9 @@ export default {
partyCode: [
{ required: true, message: this.$t('validate.required'), trigger: 'change' }
],
areaCode: [
{ required: true, message: this.$t('validate.required'), trigger: 'change' }
],
parentName: [
{ required: true, message: this.$t('validate.required'), trigger: 'change' }
],

1
src/views/modules/sys/role.vue

@ -112,6 +112,7 @@ export default {
}
},
created () {
this.getDataList()
this.getSysRoleTypeList()
},
components: {

Loading…
Cancel
Save