Browse Source

feat:增加查看

master
123456 3 years ago
parent
commit
3dc39438dd
  1. 46
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  2. 39
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

46
src/views/modules/plugins/point/icpointnucleicmonitoring.vue

@ -90,6 +90,12 @@
>导入核酸监测点数据</el-button >导入核酸监测点数据</el-button
> >
</el-upload> </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&#45;&#45;reset" style="float:left;margin-left:10px"-->
<!--size="small" @click="exportHandle()">{{ $t('export') }}</el-button>-->
<el-button <el-button
style="margin-left: 15px" style="margin-left: 15px"
class="diy-button--more" class="diy-button--more"
@ -232,6 +238,7 @@ export default {
getDataListIsPage: true, getDataListIsPage: true,
deleteURL: "/epmetuser/icPointNucleicMonitoring", deleteURL: "/epmetuser/icPointNucleicMonitoring",
deleteIsBatch: true, deleteIsBatch: true,
// exportURL: '/epmetuser/icPointNucleicMonitoring/export'
}, },
dataForm: { dataForm: {
name: "", name: "",
@ -255,16 +262,35 @@ export default {
this.getFormInfo(); this.getFormInfo();
}, },
methods: { methods: {
// //
resetSearch() { async handleExport () {
this.dataForm = { let title = '核酸检测点'
name: "",
mobile: "", const url = "/epmetuser/icPointNucleicMonitoring/point-export"
orgId: "",
}; app.ajax.exportFilePost(
this.pageNo = 1; url,
this.orgIds = []; this.dataForm,
}, (data, rspMsg) => {
this.download(data, title + '.xlsx')
},
(rspMsg, data) => {
this.$message.error(rspMsg);
}
);
},
//
resetSearch () {
this.dataForm = {
name: '',
mobile: '',
orgId: ''
}
this.pageNo = 1
this.orgIds = []
},
// //
handleSendNotice() { handleSendNotice() {
this.sendNoticeFormShow = true; this.sendNoticeFormShow = true;

39
src/views/modules/plugins/point/icpointvaccinesinoculation.vue

@ -82,6 +82,10 @@
>导入疫苗接种点数据</el-button >导入疫苗接种点数据</el-button
> >
</el-upload> </el-upload>
<el-button style="float:left;margin-left:10px"
class="diy-button--reset"
size="small"
@click="handleExport">导出</el-button>
<el-button <el-button
style="margin-left: 15px" style="margin-left: 15px"
class="diy-button--more" class="diy-button--more"
@ -274,14 +278,33 @@ export default {
this.noticeFun(); this.noticeFun();
}, },
methods: { methods: {
// //
resetSearch() { async handleExport () {
this.dataForm = { let title = '疫苗接种点'
name: "",
mobile: "", const url = "/epmetuser/icPointVaccinesInoculation/point-export"
};
this.pageNo = 1; app.ajax.exportFilePost(
}, url,
this.dataForm,
(data, rspMsg) => {
this.download(data, title + '.xlsx')
},
(rspMsg, data) => {
this.$message.error(rspMsg);
}
);
},
//
resetSearch () {
this.dataForm = {
name: '',
mobile: ''
}
this.pageNo = 1
},
// //
handleSendNotice() { handleSendNotice() {
this.sendNoticeFormShow = true; this.sendNoticeFormShow = true;

Loading…
Cancel
Save