| | |
| | | padding: 20px; |
| | | } |
| | | </style> |
| | | <style> |
| | | .el-upload--text{ |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | </style> |
| | | |
| | | <template> |
| | | <div class="person_manage"> |
| | |
| | | order: 'asc' |
| | | } |
| | | }, |
| | | row: 2, |
| | | isIndex: true, |
| | | showSelect: false, |
| | | select: false, |
| | |
| | | select: [] |
| | | } |
| | | }, |
| | | cascaderField:{ |
| | | /* cascaderField:{ |
| | | departId:{ |
| | | tree:[] |
| | | }, |
| | |
| | | label:'name', |
| | | checkStrictly: true |
| | | } |
| | | }, |
| | | requiredAdd:['account','name','state','roleId','password','departId'], |
| | | requiredUp:['account','name','state','roleId','departId'], |
| | | }, */ |
| | | requiredAdd:['account','name','state','roleId','password'], |
| | | requiredUp:['account','name','state','roleId'], |
| | | addUpload:['pictureUrl','signatureUrl'], |
| | | addUploadConfig:{ |
| | | accept:'.png, .jpg, .jpeg, .gif', |
| | |
| | | this.$refs.ValueTable.openAddDia(this.$api.user.addUser); |
| | | }, |
| | | selectTreeList(){ |
| | | this.$axios.get(this.$api.department.selectDepartment).then(res => { |
| | | /* this.$axios.get(this.$api.department.selectDepartment).then(res => { |
| | | this.componentData.cascaderField.departId.tree = this.handleTree(res.data[0].children) |
| | | this.$refs.ValueTable.selectList() |
| | | }) |
| | | }) */ |
| | | this.$refs.ValueTable.selectList() |
| | | }, |
| | | handleTree(arr){ |
| | | arr.forEach(a => { |