| | |
| | | > |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="danger" |
| | | |
| | | size="small" |
| | | plain |
| | | icon="el-icon-delete" |
| | |
| | | option: { |
| | | height: "auto", |
| | | calcHeight: 54, |
| | | labelWidth:120, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchMenuSpan: 4, |
| | | border: true, |
| | | index: true, |
| | | selection: true, |
| | |
| | | label: "登录账号", |
| | | prop: "account", |
| | | search: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | }, |
| | | { |
| | |
| | | label: "用户姓名", |
| | | prop: "realName", |
| | | search: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "居住地辖区", |
| | | prop: "jurisdiction", |
| | | search: true, |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "工作地辖区", |
| | | prop: "workjurisdiction", |
| | | search: true, |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | display: false, |
| | | }, |
| | | { |
| | |
| | | slot: true, |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "所属部门", |
| | | prop: "deptName", |
| | | slot: true, |
| | | display: false, |
| | | width: 260, |
| | | }, |
| | | // { |
| | | // label: "所属部门", |
| | | // prop: "deptName", |
| | | // slot: true, |
| | | // display: false, |
| | | // width: 260, |
| | | // }, |
| | | { |
| | | label: "行政区", |
| | | prop: "district", |
| | |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "用户平台", |
| | |
| | | { |
| | | label: "用户平台", |
| | | type: "select", |
| | | searchSpan: 5, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "居住地辖区", |
| | | prop: "jurisdiction", |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: "工作地辖区", |
| | | prop: "workjurisdiction", |
| | | overHidden: true, |
| | | parent: false, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: "登录账号", |
| | |
| | | ], |
| | | }, |
| | | { |
| | | label: "身份证号", |
| | | prop: "cardid", |
| | | overHidden: true, |
| | | }, |
| | | { |
| | | label: "手机号码", |
| | | prop: "phone", |
| | | overHidden: true, |
| | |
| | | }, |
| | | checkStrictly: true, |
| | | slot: true, |
| | | parent: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | securitynumber: row.securitynumber, |
| | | sex: row.sex, |
| | | district: row.district, |
| | | stype: 1, |
| | | }, |
| | | }; |
| | | securitySave(userMap).then( |