| | |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="tenantName"> |
| | | <el-tag>{{ row.tenantName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="roleName"> |
| | | <el-tag>{{ row.roleName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="deptName"> |
| | | <el-tag>{{ row.deptName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row}" slot="userTypeName"> |
| | | <el-tag>{{ row.userTypeName }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | </el-col> |
| | |
| | | total: 0 |
| | | }, |
| | | option: { |
| | | labelWidth: 144, |
| | | labelWidth: 120, |
| | | searchLabelWidth: 96, |
| | | searchShow: true, |
| | | searchMenuSpan: 4, |
| | | menuWidth: 210, |
| | | |
| | | height: 420, |
| | | calcHeight: 80, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | | index: true, |
| | | selection: true, |
| | |
| | | }, |
| | | |
| | | { |
| | | width: 96, |
| | | width: 110, |
| | | label: "姓名", |
| | | prop: "name", |
| | | searchSpan: 4, |
| | | searchLabelWidth: 66, |
| | | search: true, |
| | | searchSpan: 3, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | }, |
| | | |
| | | { |
| | | display: true, |
| | | width: 160, |
| | | display: true, |
| | | label: "身份证号", |
| | | prop: "idCard", |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | slot: true, |
| | | rules: [ |
| | | { |
| | |
| | | }, |
| | | |
| | | { |
| | | width: 160, |
| | | hide: true, |
| | | display: false, |
| | | width: 160, |
| | | label: "证件号码", |
| | | prop: "cardNo", |
| | | }, |
| | |
| | | |
| | | |
| | | { |
| | | width: 60, |
| | | label: "性别", |
| | | prop: "gender", |
| | | type: "select", |
| | |
| | | label: "手机号码", |
| | | prop: "phoneNumber", |
| | | search: true, |
| | | searchSpan: 3, |
| | | searchSpan: 5, |
| | | slot: true, |
| | | rules: [ |
| | | { |
| | |
| | | }, |
| | | |
| | | { |
| | | overHidden: true, |
| | | label: "地址", |
| | | prop: "address", |
| | | display: false |
| | |
| | | onLoad (page, params = {}) { |
| | | params['houseCode'] = this.houseCode |
| | | this.loading = true |
| | | |
| | | getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | const data = res.data.data |
| | | this.page.total = data.total |