| | |
| | | searchSpan: 4, |
| | | searchLabelWidth: 96, |
| | | searchPlaceholder: '请输入辖区派出所', |
| | | // hide: true, |
| | | hide: true, |
| | | span: 24, |
| | | slot: true, |
| | | formslot: true |
| | |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "创建时间", |
| | | prop: "createTime", |
| | | hide: true, |
| | | }, |
| | | { |
| | | width: 80, |
| | | // labelWidth: 110, |
| | | searchSpan: 3, |
| | |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | this.excelBox = false |
| | | this.$alert(res) |
| | | this.refreshChange() |
| | | done() |
| | | }, |
| | |
| | | handleTemplate() { |
| | | exportBlob( |
| | | `/api/blade-household/household/export-tenant-template?isTenant=1&${this.website.tokenHeader}=${getToken()}` |
| | | ).then( |
| | | ).then( |
| | | res => { |
| | | downloadXls(res.data, "租客数据模板.xlsx") |
| | | }) |
| | |
| | | uploadAfter(res, done, loading, column) { |
| | | this.excelBox = false |
| | | this.onLoad(this.page) |
| | | this.$message({ |
| | | type: "success", |
| | | message: res |
| | | }) |
| | | this.$alert(res) |
| | | this.$refs.crud.toggleSelection() |
| | | done() |
| | | }, |
| | |
| | | :deep(.avue-form__menu--center .el-button) { |
| | | margin: 0 5px 0 0; |
| | | } |
| | | </style> |
| | | </style> |