diff --git a/acupuncture-前台/src/views/patientFile/index.vue b/acupuncture-前台/src/views/patientFile/index.vue index 2de2e5fe..65d59863 100644 --- a/acupuncture-前台/src/views/patientFile/index.vue +++ b/acupuncture-前台/src/views/patientFile/index.vue @@ -120,6 +120,26 @@ >导出 + + 下载筛查患者模版 + + + 导入筛查患者 + @@ -490,6 +511,36 @@ + + + + + + +
+ 将文件拖到此处,或 + 点击上传 +
+
+
+
+
@@ -507,6 +558,8 @@ export default { dicts: ["sys_notice_status", "sys_notice_type"], data() { return { + importScreenOpen: false, + uploadScreenFileUrl: process.env.VUE_APP_API_QZURL + "/patient/import1", // 上传的图片服务器地址 headers: { Authorization: "Bearer " + getToken(), deptId: localStorage.getItem("hospitalId"), @@ -774,6 +827,7 @@ export default { handleUploadPdfAdd1(res) { if (res.code == 200) { this.importOpen = false; + this.importScreenOpen = false; this.getList(); this.$modal.msgSuccess("导入成功"); } else { @@ -956,11 +1010,23 @@ export default { this.fileList = []; this.importOpen = true; }, + // 筛查导入 + handleScreenImport() { + this.fileList = []; + this.importScreenOpen = true; + }, + /** 下载按钮操作 */ + handleScreenDownload() { + window.open(`${process.env.VUE_APP_API_QZURL}/profile/sctemplate.xlsx`); + }, }, };