Browse Source

筛查导出接口替换

newMaster
liuzhipeng 3 months ago
parent
commit
8adaa985e6
  1. 15
      acupuncture-前台/src/views/screening/index.vue
  2. 14
      acupuncture-前台/src/views/screening/qrCode.vue

15
acupuncture-前台/src/views/screening/index.vue

@ -98,8 +98,14 @@
:data="listDat"
@selection-change="handleSelectionChange"
max-height="600"
row-key="id"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column
type="selection"
width="55"
align="center"
:reserve-selection="true"
/>
<el-table-column
label="姓名"
align="center"
@ -178,12 +184,11 @@
/>
<el-table-column
fixed="right"
label="创建人/创建时间"
label="创建时间"
align="center"
min-width="140"
>
<template slot-scope="scope">
<div>{{ scope.row.createBy }}</div>
<span>{{
parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}")
}}</span>
@ -297,8 +302,6 @@ export default {
});
}
});
console.log("this.listDat", this.listDat);
this.total = res.data.total;
this.loading = false;
});
@ -329,7 +332,7 @@ export default {
let data = JSON.parse(JSON.stringify(this.queryParams));
data.param.idList = this.ids;
this.download1(
"/screening/exportRzScreen",
"/screening/exportScreen",
{
...data,
},

14
acupuncture-前台/src/views/screening/qrCode.vue

@ -342,13 +342,13 @@ export default {
// window.open(
// `${process.env.VUE_APP_API_QZURL}/acupuncture/profile/PatientTemplate.xlsx`
// );
// this.download1(
// "/patient/export",
// {
// ...this.queryParams.params,
// },
// `.xlsx`
// );
this.download1(
"/wxQrCode/exportScreen",
{
...this.queryParams.params,
},
`筛查二维码.xlsx`
);
},
},
};

Loading…
Cancel
Save