| | |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot="menuLeft"> |
| | | <el-button type="warning" size="small" plain v-if="permission.household_export" icon="el-icon-download" |
| | | @click="handleExport">导出 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="{row, size,index}" slot="peopleForm"> |
| | | <el-table :data="form.backblastPubPersonEntityList" v-if="form.backblastPubPersonEntityList"> |
| | | <el-table-column width="100" property="name" label="姓名" label-class-name="workOrderStyle"></el-table-column> |
| | |
| | | row: true, |
| | | span: 24, |
| | | }, { |
| | | label: "小区名称", |
| | | prop: "aoiName", |
| | | labelWidth: 120, |
| | | // align: 'center', |
| | | // type: "textarea", |
| | | row: true, |
| | | span: 24, |
| | | overHidden: true, |
| | | }, { |
| | | label: "户室信息", |
| | | prop: "houseName", |
| | | labelWidth: 120, |
| | | // align: 'center', |
| | | // type: "textarea", |
| | | row: true, |
| | | span: 24, |
| | | overHidden: true, |
| | | }, { |
| | | label: "宣防内容", |
| | | prop: "pubContent", |
| | | labelWidth: 120, |
| | | // align: 'center', |
| | | type: "textarea", |
| | | row: true, |
| | | span: 24, |
| | | overHidden: true, |
| | | }, |
| | | |
| | | { |
| | | label: "是否下载国家反诈app", |
| | | prop: "isFzApp", |
| | |
| | | searchSpan: 4, |
| | | searchLabelWidth: 96, |
| | | searchPlaceholder: '请输入辖区派出所', |
| | | // hide: true, |
| | | hide: true, |
| | | span: 24, |
| | | slot: true, |
| | | formslot: true |
| | |
| | | }, |
| | | methods: { |
| | | handleExport() { |
| | | this.$confirm("是否导出档案管理数据?", "提示", { |
| | | this.$confirm("是否导出入户宣传数据?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | |
| | | data.isNine = 1 |
| | | data = Qs.stringify(data) |
| | | exportBlob( |
| | | `/api/blade-place/place/exportNineType?${this.website.tokenHeader}=${getToken()}&` + data |
| | | `/api/blade-backblastPubRecord/backblastPubRecord/export?${this.website.tokenHeader}=${getToken()}&` + |
| | | data |
| | | ).then(res => { |
| | | console.log('exportBlob', res) |
| | | downloadXls(res.data, `档案管理${dateNow()}.xlsx`) |
| | | downloadXls(res.data, `入户宣传${dateNow()}.xlsx`) |
| | | NProgress.done() |
| | | }) |
| | | }) |
| | |
| | | .workOrderStyle { |
| | | font-weight: normal; |
| | | } |
| | | </style> |
| | | </style> |