jiangyy 3 years ago
parent
commit
a99d46ed52
  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 () {
this.$refs.ref_form.resetData()
this.formShow = false
},

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

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

Loading…
Cancel
Save