| | |
| | | overHidden: true, |
| | | align: 'center' |
| | | }, { |
| | | label: "场所类别", |
| | | prop: "nineType", |
| | | align: 'center', |
| | | dicUrl: "/api/blade-system/dict-biz/tree?code=nineType", |
| | | props: { |
| | | label: "title", |
| | | value: "key", |
| | | }, |
| | | type: 'select', |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchLabelWidth: 96, |
| | | align: 'center' |
| | | }, { |
| | | label: "所属街道", |
| | | prop: "streetName", |
| | | span: 24, |
| | |
| | | }, |
| | | |
| | | handleExport () { |
| | | this.$message.warning('正在开发中..') |
| | | // this.$confirm("是否导出场所检查数据?", "提示", { |
| | | // confirmButtonText: "确定", |
| | | // cancelButtonText: "取消", |
| | | // type: "warning" |
| | | // }).then(() => { |
| | | // NProgress.start() |
| | | // var data = { |
| | | // ...this.query |
| | | // } |
| | | // // data.isNine = 1 |
| | | // data = Qs.stringify(data) |
| | | // exportBlob( |
| | | // `/api/blade-placeCheck/placeCheck/export-placeCheck?${this.website.tokenHeader}=${getToken()}&` + data |
| | | // ).then(res => { |
| | | // console.log('exportBlob', res) |
| | | // downloadXls(res.data, `场所检查${dateNow()}.xlsx`) |
| | | // NProgress.done() |
| | | // }) |
| | | // }) |
| | | this.$confirm("是否导出场所检查数据?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | NProgress.start() |
| | | var data = { |
| | | ...this.query |
| | | } |
| | | // data.isNine = 1 |
| | | data = Qs.stringify(data) |
| | | exportBlob( |
| | | `/api/blade-taskPlaceSelfCheck/taskPlaceSelfCheck/export-taskPlaceSelfCheck?${this.website.tokenHeader}=${getToken()}&` + data |
| | | ).then(res => { |
| | | console.log('exportBlob', res) |
| | | downloadXls(res.data, `消防自查${dateNow()}.xlsx`) |
| | | NProgress.done() |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | showStringDispose (row, type) { |
| | |
| | | searchLabelWidth: 46, |
| | | overHidden: true, |
| | | align: 'center' |
| | | }, |
| | | { |
| | | label: "场所类别", |
| | | prop: "nineType", |
| | | align: 'center', |
| | | dicUrl: "/api/blade-system/dict-biz/tree?code=nineType", |
| | | props: { |
| | | label: "title", |
| | | value: "key", |
| | | }, |
| | | type: 'select', |
| | | search: true, |
| | | searchSpan: 4, |
| | | searchLabelWidth: 96, |
| | | align: 'center' |
| | | }, { |
| | | label: "所属街道", |
| | | prop: "streetName", |