Browse Source

Merge branch 'dev-role' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into dev-role

master
dai 3 years ago
parent
commit
cad5f95111
  1. 2
      src/views/modules/workSys/role/role.vue
  2. 26
      src/views/modules/workSys/role/roleForm.vue

2
src/views/modules/workSys/role/role.vue

@ -242,7 +242,7 @@ export default {
}, },
diaClose () { diaClose () {
this.$refs.ref_form.resetData()
this.formShow = false this.formShow = false
}, },

26
src/views/modules/workSys/role/roleForm.vue

@ -126,7 +126,7 @@ export default {
await this.getMenuList() await this.getMenuList()
await this.getMenuShujuList() await this.getMenuShujuList()
this.$refs['ref_form'].resetFields();
this.$refs.menuListTree.setCheckedKeys([]) this.$refs.menuListTree.setCheckedKeys([])
this.$refs.menuListShujuTree.setCheckedKeys([]) this.$refs.menuListShujuTree.setCheckedKeys([])
@ -297,31 +297,15 @@ export default {
}, },
resetData () { resetData () {
this.roleId = '' this.roleId = ''
this.fileList = []
this.hideUploadEdit = false
this.formData = { this.formData = {
roleId: '', id: '',
agencyId: '',//Id
userId: '',//idicResiUserId
userType: 'icresi',//resi;icresi;import;synchro
name: '', name: '',
idCard: '', remark: '',//
mobile: '', menuIdList: [],
natTime: '', customerId: ''
natAddress: '',
natResult: '',
isSelChannel: false,
channel: [],
content: '',
fileName: '',//
attachmentType: '',// - image - video - voice - doc
attachmentUrl: '',//
} }
}, },

Loading…
Cancel
Save