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

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

@ -82,6 +82,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"
@ -274,14 +278,33 @@ export default {
this.noticeFun();
},
methods: {
//
resetSearch() {
this.dataForm = {
name: "",
mobile: "",
};
this.pageNo = 1;
},
//
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 = {
name: '',
mobile: ''
}
this.pageNo = 1
},
//
handleSendNotice() {
this.sendNoticeFormShow = true;

Loading…
Cancel
Save