Browse Source

筛查导出接口替换

newMaster
liuzhipeng 3 months ago
parent
commit
04375ce658
  1. 10
      acupuncture-前台/src/views/screening/qrCode.vue

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

@ -59,7 +59,7 @@
>删除</el-button >删除</el-button
> >
</el-col> </el-col>
<!-- <el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="warning" type="warning"
plain plain
@ -68,7 +68,7 @@
@click="handleExport" @click="handleExport"
>导出</el-button >导出</el-button
> >
</el-col> --> </el-col>
<right-toolbar <right-toolbar
:showSearch.sync="showSearch" :showSearch.sync="showSearch"
@queryTable="getList" @queryTable="getList"
@ -338,14 +338,16 @@ export default {
.catch(() => {}); .catch(() => {});
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport(row) {
// window.open( // window.open(
// `${process.env.VUE_APP_API_QZURL}/acupuncture/profile/PatientTemplate.xlsx` // `${process.env.VUE_APP_API_QZURL}/acupuncture/profile/PatientTemplate.xlsx`
// ); // );
let data = JSON.parse(JSON.stringify(this.queryParams));
data.param.idList = row.id ? [row.id] : this.ids;
this.download1( this.download1(
"/wxQrCode/exportScreen", "/wxQrCode/exportScreen",
{ {
...this.queryParams.params, ...data,
}, },
`筛查二维码.xlsx` `筛查二维码.xlsx`
); );

Loading…
Cancel
Save