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

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

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

Loading…
Cancel
Save