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 | 65 ++++++++++++++++++-------------- 1 files changed, 37 insertions(+), 28 deletions(-) diff --git a/src/views/patient/propaganda/Missioncreation.vue b/src/views/patient/propaganda/Missioncreation.vue index f0c7a23..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 @@ -969,7 +970,7 @@ this.belongDepts = store.getters.belongDepts; this.form.typename = this.$route.query.typename; this.form.serviceType = Number(this.$route.query.serviceType); - this.listDept(); + // this.listDept(); this.Acquisitiontype(); this.Getdetails(); this.getheLibraryAssort(); @@ -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); @@ -1351,7 +1357,7 @@ libtemplateid: null, serviceType: Number(this.$route.query.serviceType), kcb: "浜茬埍鐨勬偅鑰�-瀹跺睘锛屾偍濂斤紒鎴戜滑鏄棤閿″効绔ュ尰闄㈢殑鍖绘姢浜哄憳锛屼负浜嗘洿濂藉湴浜嗚В鎮ㄧ殑搴峰鎯呭喌锛岃鎮ㄦ娊涓�鐐瑰疂璐垫椂闂达紝瀹屾垚杩欎唤闅忚闂嵎銆�", - jsy: "鐢熸椿涓婅鍔抽�哥粨鍚堬紝娉ㄦ剰浼戞伅鍜岃惀鍏伙紝閫傚綋閿荤偧锛屾垝鐑熼檺閰掞紝淇濇寔蹇冩儏鑸掔晠锛屽畾鏈熷璇娿�傞偅鏈鍥炶灏卞埌杩欓噷锛岀鎮ㄨ韩浣撳仴搴凤紒", + jsy: "鎰熻阿鎮ㄥ弬涓庢湰娆¢殢璁裤�傛偍鐨勫弽棣堝府鍔╂垜浠洿濂藉湴浜嗚В瀹濆疂鐨勯�傚簲鎯呭喌锛屽苟涓烘偍鎻愪緵鏇寸簿鍑嗙殑鎶ょ悊寤鸿涓庡仴搴锋寚瀵笺�傜鎮ㄥ拰瀹濆疂鍋ュ悍蹇箰", }; if (this.id) { @@ -1416,12 +1422,12 @@ }); }, // 鑾峰彇绉戝鍒楄〃 - listDept() { - listDept().then((res) => { - this.topicoptions = this.handleTree(res.data, "deptId"); - console.log(this.topicoptions, "topicoptions"); - }); - }, + // listDept() { + // listDept().then((res) => { + // this.topicoptions = this.handleTree(res.data, "deptId"); + // console.log(this.topicoptions, "topicoptions"); + // }); + // }, // 鏂板娲鹃�佹偅鑰� AddDispatchpatients() { // this.SelectPatientslist.forEach((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