Browse Source

筛查二维码导出接口替换4

newMaster
1747191978@qq.com 3 months ago
parent
commit
7a78113f86
  1. 40
      acupuncture-前台/src/api/screening.js
  2. 30
      acupuncture-前台/src/views/screening/qrCode.vue
  3. 12
      针灸减重失眠筛查倡议书.docx

40
acupuncture-前台/src/api/screening.js

@ -59,37 +59,13 @@ export function deleteScreen(data) {
});
}
// // 导出二维码
// export function exportJmrs(data) {
// return request({
// url: "/wxQrCode/exportJmrs",
// method: "post",
// data: data,
// });
// }
// // 导出二维码
// export function exportZipScreenPath(data) {
// return request({
// url: "/wxQrCode/exportZipScreenPath",
// method: "post",
// data: data,
// });
// }
// // 导出海报二维码
// export function exportHbScreen(data) {
// return request({
// url: "/wxQrCode/exportHbZipScreenPath",
// method: "post",
// data: data,
// });
// }
// // 导出二维码
// export function exportScreen(data) {
// return request({
// url: "/wxQrCode/exportScreen",
// method: "post",
// data: data,
// });
// }
export function exportQr(data) {
return request({
url: "/wxQrCode/exportScreen",
method: "post",
data: data,
});
}
// ------ 筛查列表 ------
export function queryDetail(data) {
@ -98,4 +74,4 @@ export function queryDetail(data) {
method: "post",
data: data,
});
}
}

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

@ -59,7 +59,7 @@
>删除</el-button
>
</el-col>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="warning"
plain
@ -68,7 +68,7 @@
@click="handleExport"
>导出</el-button
>
</el-col>
</el-col> -->
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
@ -186,7 +186,12 @@
</template>
<script>
import { queryScreenList, addScreen, deleteScreen } from "@/api/screening.js";
import {
queryScreenList,
addScreen,
deleteScreen,
exportQr,
} from "@/api/screening.js";
import { tenantsList } from "@/api/member";
export default {
name: "Notice",
@ -339,18 +344,13 @@ export default {
},
/** 导出按钮操作 */
handleExport(row) {
// window.open(
// `${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(
"/wxQrCode/exportScreen",
{
...data,
},
`筛查二维码.xlsx`
);
let data = {
tenantId: row.tenantId,
url: row.url,
};
exportQr(data).then((res) => {
window.open(`${process.env.VUE_APP_API_QZURL}/acupuncture/${res.data}`);
});
},
},
};

12
针灸减重失眠筛查倡议书.docx

@ -0,0 +1,12 @@
减重失眠筛查倡议书
--------------------------------------------------------------------------------
尊敬的社区成员、医疗机构、社会组织及所有关心健康的朋友们:
--------------------------------------------------------------------------------
大家好!
--------------------------------------------------------------------------------
近年来,随着生活方式的改变,减重和失眠已成为影响人们健康的突出问题。为了更早地发现和预防这些健康问题,我们倡议开展减重失眠筛查工作。
--------------------------------------------------------------------------------
健康是每个人的宝贵财富,也是我们共同的责任。让我们携手共进,通过筛查,为构建健康社区、实现全民健康贡献我们的力量!
健康是每个人的宝贵财富,也是我们共同的责任。让我们携手共进,开展减重失眠筛查工作,为构建健康社区、实现全民健康贡献我们的力量!您可通过扫描上方二维码参与减重失眠筛查工作。感谢您的参与,谢谢!
山西因孚第一医院
Loading…
Cancel
Save