From 30e7ca11b36177cdaea2839aa5146c180ce53197 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 21 七月 2025 21:32:43 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/Missioncreation.vue | 49 +++++++++++++++++++++++++++++-------------------- 1 files changed, 29 insertions(+), 20 deletions(-) diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue index 014663b..5527139 100644 --- a/src/views/patient/propaganda/Missioncreation.vue +++ b/src/views/patient/propaganda/Missioncreation.vue @@ -390,7 +390,6 @@ icon="el-icon-upload2" size="medium" @click="handleImport" - >瀵煎叆</el-button > </el-col> @@ -592,10 +591,12 @@ <el-table-column prop="serial" label="鎮h�卛d"> </el-table-column> <el-table-column prop="name" label="濮撳悕"> </el-table-column> <el-table-column prop="sex" label="鎬у埆"> </el-table-column> - <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜"> </el-table-column> + <el-table-column prop="idcardno" width="300" label="璇佷欢鍙风爜"> + </el-table-column> <el-table-column prop="goday" label="鍑虹敓鏃ユ湡"> </el-table-column> - <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡"> </el-table-column> - <el-table-column prop="createTime" width="200" label="鍒涘缓鏃ユ湡"> + <el-table-column prop="telcode" width="200" label="鑱旂郴鏂瑰紡"> + </el-table-column> + <el-table-column prop="createTime" width="200" label="鍒涘缓鏃ユ湡"> </el-table-column> </el-table> <!-- <pagination @@ -1094,6 +1095,11 @@ this.$modal.msgError("鏈�夋嫨妯℃澘"); return; } + if (this.form.deptcode || this.form.leavehospitaldistrictcode) { + } else { + this.$modal.msgError("璇烽�夋嫨绉戝鎴栫梾鍖�"); + return; + } const filteredArray = this.variableList.filter( (item) => item.name !== "濮撳悕" && item.name !== "鐢佃瘽" && item.name !== "鍦板潃" @@ -1104,7 +1110,7 @@ this.form.isoperation = 2; } else { this.form.isoperation = 1; - this.form.sendState=1; + this.form.sendState = 1; } if (!this.form.type) { this.form.type = this.$route.query.type; @@ -1256,7 +1262,7 @@ handleExport() {}, // 閫夋嫨鎮h�呰〃鏁版嵁 - handleSelectionChange(selection,type) { + handleSelectionChange(selection, type) { console.log("澶氶�夋偅鑰�"); this.SelectPatientslist = selection; this.multiple = !selection.length; @@ -1271,8 +1277,8 @@ item.sfzh = item.idcardno; } if (type) { - item.hospType=type - }else{ + item.hospType = type; + } else { item.hospType = this.patientqueryParams.allhosp; } this.overallCase.push(item); @@ -1520,16 +1526,19 @@ previewFn() { this.Tasktemplate.id = null; - this.Tasktemplate.templateid = this.libId; - this.Tasktemplate.isoperation = 1; - TaskQuestioncomit(this.Tasktemplate).then((response) => { - console.log(response); - this.previewtf = false; - this.form.templateid = response.data; - this.form.libtemplateid = this.libId; - this.form.templatename = this.libName; - this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛"); - }); + this.form.templateid = this.libId; + this.form.templatename = this.libName; + this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛"); + this.previewtf = false; + + // this.Tasktemplate.isoperation = 1; + // TaskQuestioncomit(this.Tasktemplate).then((response) => { + // console.log(response); + // this.previewtf = false; + // this.form.templateid = response.data; + // this.form.libtemplateid = this.libId; + // this.form.templatename = this.libName; + // }); }, // 澶勭悊鏈嶅姟褰㈠紡 formatFn(type) { @@ -1583,9 +1592,9 @@ this.$refs.upload.submit(); this.dractive++; } else if (this.dractive == 2) { - this.handleSelectionChange(this.uploadingData,4); + this.handleSelectionChange(this.uploadingData, 4); this.upload.open = false; - this.dractive = 1 + this.dractive = 1; } }, -- Gitblit v1.9.3