Browse Source

核酸检测点、疫苗接种点 PC 管理

master
wanggongfeng 3 years ago
parent
commit
9a38d9fe08
  1. 26
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  2. 23
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

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

@ -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&#45;&#45;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 = {

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

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

Loading…
Cancel
Save