|
|
@ -90,6 +90,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" |
|
|
@ -232,6 +238,7 @@ export default { |
|
|
|
getDataListIsPage: true, |
|
|
|
deleteURL: "/epmetuser/icPointNucleicMonitoring", |
|
|
|
deleteIsBatch: true, |
|
|
|
// exportURL: '/epmetuser/icPointNucleicMonitoring/export' |
|
|
|
}, |
|
|
|
dataForm: { |
|
|
|
name: "", |
|
|
@ -255,15 +262,34 @@ 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() { |
|
|
|
resetSearch () { |
|
|
|
this.dataForm = { |
|
|
|
name: "", |
|
|
|
mobile: "", |
|
|
|
orgId: "", |
|
|
|
}; |
|
|
|
this.pageNo = 1; |
|
|
|
this.orgIds = []; |
|
|
|
name: '', |
|
|
|
mobile: '', |
|
|
|
orgId: '' |
|
|
|
} |
|
|
|
this.pageNo = 1 |
|
|
|
this.orgIds = [] |
|
|
|
}, |
|
|
|
// 发送通知 |
|
|
|
handleSendNotice() { |
|
|
|