| | |
| | | <template> |
| | | <el-row> |
| | | <el-row class="securityGuard"> |
| | | <el-col :span="0" style="display: none"> |
| | | <div class="box"> |
| | | <el-scrollbar> |
| | |
| | | searchMenuSpan: 6, |
| | | border: false, |
| | | stripe: true, |
| | | align: "center", |
| | | index: true, |
| | | delBtnText: "注销", |
| | | selection: true, |
| | | viewBtn: true, |
| | | defaultExpandAll: true, |
| | | //dialogType: 'drawer', |
| | | dialogClickModal: false, |
| | | column: securityFormPageColumn, |
| | |
| | | ], |
| | | }, |
| | | { |
| | | label: '个人照片', |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | | }, |
| | | canvasOption: { |
| | | text: ' ', |
| | | ratio: 0.1 |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | tip: '只能上传jpg/png个人头像,且不超过500kb', |
| | | span: 12, |
| | | row: true, |
| | | prop: 'myPicture' |
| | | }, |
| | | { |
| | | label: "编号", |
| | | prop: "code", |
| | | }, |
| | |
| | | prop: "name", |
| | | }, |
| | | { |
| | | label: "所属行政区", |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | // multiple: true, |
| | | type: "tree", |
| | |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属行政区", |
| | | message: "请选择所属辖区", |
| | | trigger: "click", |
| | | }, |
| | | ], |
| | |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "保安员证编号", |
| | | prop: "securitynumber", |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "手机号码", |
| | |
| | | label: "生日", |
| | | type: "date", |
| | | prop: "birthday", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | }, |
| | | ], |
| | | }, |