|
|
@ -87,6 +87,12 @@ |
|
|
|
>导入核酸监测点数据</el-button |
|
|
|
> |
|
|
|
</el-upload> |
|
|
|
<el-button style="float:left;margin-left:10px" |
|
|
|
class="diy-button--reset" |
|
|
|
size="small" |
|
|
|
@click="handleExport">导出</el-button> |
|
|
|
<!--<el-button class="diy-button--reset" style="float:left;margin-left:10px"--> |
|
|
|
<!--size="small" @click="exportHandle()">{{ $t('export') }}</el-button>--> |
|
|
|
<el-button |
|
|
|
style="margin-left: 15px" |
|
|
|
class="diy-button--more" |
|
|
@ -224,6 +230,7 @@ export default { |
|
|
|
getDataListIsPage: true, |
|
|
|
deleteURL: "/epmetuser/icPointNucleicMonitoring", |
|
|
|
deleteIsBatch: true, |
|
|
|
// exportURL: '/epmetuser/icPointNucleicMonitoring/export' |
|
|
|
}, |
|
|
|
dataForm: { |
|
|
|
name: "", |
|
|
@ -247,6 +254,25 @@ export default { |
|
|
|
this.getFormInfo(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//导出表格 |
|
|
|
async handleExport () { |
|
|
|
let title = '核酸检测点' |
|
|
|
|
|
|
|
const url = "/epmetuser/icPointNucleicMonitoring/point-export" |
|
|
|
|
|
|
|
app.ajax.exportFilePost( |
|
|
|
url, |
|
|
|
this.dataForm, |
|
|
|
(data, rspMsg) => { |
|
|
|
|
|
|
|
this.download(data, title + '.xlsx') |
|
|
|
}, |
|
|
|
(rspMsg, data) => { |
|
|
|
this.$message.error(rspMsg); |
|
|
|
} |
|
|
|
); |
|
|
|
|
|
|
|
}, |
|
|
|
//重置搜索条件 |
|
|
|
resetSearch () { |
|
|
|
this.dataForm = { |
|
|
|