From cb366314990b7e47895a105ab1bd28e9916724d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 4 Jul 2024 10:08:31 +0800 Subject: [PATCH 1/2] xg --- src/views/system/specialDiseaseNode/index.vue | 478 +++++------------- 1 file changed, 126 insertions(+), 352 deletions(-) diff --git a/src/views/system/specialDiseaseNode/index.vue b/src/views/system/specialDiseaseNode/index.vue index 66bd416..3306b42 100644 --- a/src/views/system/specialDiseaseNode/index.vue +++ b/src/views/system/specialDiseaseNode/index.vue @@ -8,17 +8,8 @@
适用范围 - - + +
@@ -30,59 +21,30 @@ - +
- + - +
- +
- +

{{ uitem.taskTypeName }}

- 已审核 - 不同意 - 未审核 + 已审核 + 不同意 + 未审核

{{ uitem.taskSubdivisionName }}

@@ -92,95 +54,48 @@
- - + + - - + + - + - + - + - - + + - - + +
-
+
{{ formview.propagandaTitle }}
@@ -188,40 +103,23 @@
知识卡片
- +
-
+
- -
+ +
推送方式: @@ -229,19 +127,11 @@
模板: - +
- +
@@ -250,10 +140,7 @@
-->
-
+
推送方式: @@ -262,21 +149,13 @@
模板: - +
- +
@@ -285,10 +164,7 @@
-->
-
+
推送方式: @@ -297,21 +173,13 @@
模板: - +
- +
@@ -324,19 +192,12 @@
-->
-
+
推送方式: - + 人工电话 自动外呼 @@ -344,42 +205,24 @@
话术模板: - - + + - +
-
+
问卷模板: - + - +
-
- +
+
@@ -487,41 +296,18 @@
- - + + - 同意 - 不同意 + 同意 + 不同意 - + @@ -579,7 +365,6 @@ export default { baseUrl: process.env.VUE_APP_BASE_API, showquestion: false, phoneNodeContent: "", - optionslist: [], optionslistS: [], value: "", @@ -641,7 +426,7 @@ export default { this.infolistword(); this.infolistMESSAGE(); }, - beforeDestroy() {}, + beforeDestroy() { }, watch: { "form.phoneMessageRemind": { handler(newValue, oldValue) { @@ -663,10 +448,9 @@ export default { // phoneTemplateId }, }, - mounted() {}, + mounted() { }, methods: { changephoneDialMethod(e) { - console.log(e); if (e == "AI") { // this.form.templateId='' // 清空问卷id和名字 @@ -677,10 +461,8 @@ export default { this.lookitemnew = ""; } else if (e == "COMMON") { // 清空问卷id话术id和对应名字 - this.form.templateId = ""; this.form.templateName = ""; - this.form.phoneTemplateId = ""; this.form.phoneTemplateName = ""; // 清空话术和问卷 @@ -702,7 +484,6 @@ export default { // this.taskinfo(); }); }, - changeoptions(e) { this.parentDictCode = this.options.find( (el) => el.dictValue == e @@ -744,7 +525,6 @@ export default { res.data.specialDiseaseNodeList.forEach((e) => { if (e.templateType == "SCRIPT" && e.flowScheme) { this.phoneNodeContent = e.flowScheme; - console.log(this.phoneNodeContent, "this.phoneNodeContent"); } if (e.messagePushSign) { e.messagePushSign = "" + e.messagePushSign; @@ -765,17 +545,12 @@ export default { "routeNodeName" ); this.form = this.lists[0].list[0]; - console.log(this.form, "this,form"); // 宣教模板回显 - if (this.form.templateType == "PROPAGANDA"&&this.form.templateId) { + if (this.form.templateType == "PROPAGANDA" && this.form.templateId) { getPropaganda(this.form.templateId).then((response) => { - console.log(response, " this.formview "); - this.formview = response.data; }); - } else if (this.form.templateType == "QUESTIONNAIRE"||this.form.templateType == "SCRIPT"&&this.form.templateId) { - console.log(this.form.templateId,'this.form.templateId5555555555') - + } else if (this.form.templateType == "QUESTIONNAIRE" || this.form.templateType == "SCRIPT" && this.form.templateId) { // 问卷模板回显 questionname(this.form.templateId).then((res) => { this.lookitemnew = res.data; @@ -919,25 +694,25 @@ export default { this.lists.forEach((e) => { e.list.length > 0 ? e.list.forEach((el) => { - el.routeNodeDay = e.routeNodeDay; - el.routeNodeName = e.routeNodeName; - if (el.phoneDialMethod == "COMMON" && el.templateId) { - el.phonePushSign = "1"; + el.routeNodeDay = e.routeNodeDay; + el.routeNodeName = e.routeNodeName; + if (el.phoneDialMethod == "COMMON" && el.templateId) { + el.phonePushSign = "1"; - el.templateType = "QUESTIONNAIRE"; - } else if ( - el.phoneDialMethod == "COMMON" && - el.phoneTemplateId - ) { - el.phonePushSign = "1"; + el.templateType = "QUESTIONNAIRE"; + } else if ( + el.phoneDialMethod == "COMMON" && + el.phoneTemplateId + ) { + el.phonePushSign = "1"; - el.templateType = "SCRIPT"; - } else if (el.phoneDialMethod == "AI" && el.phoneTemplateId) { - el.templateType = "SCRIPT"; - el.phonePushSign = "1"; - } - this.updata.specialDiseaseNodeList.push(el); - }) + el.templateType = "SCRIPT"; + } else if (el.phoneDialMethod == "AI" && el.phoneTemplateId) { + el.templateType = "SCRIPT"; + el.phonePushSign = "1"; + } + this.updata.specialDiseaseNodeList.push(el); + }) : ""; }); // this.updata.specialDiseaseNodeList = @@ -949,7 +724,6 @@ export default { // !e.taskSubdivision && // !e.taskStatus // ); - // console.log(this.updata,'this.updata') // return specialDiseaseNode(this.updata).then((res) => { this.info(); @@ -963,19 +737,21 @@ export default { }, //问卷传值 questionontemplate(item) { - console.log(item, "iten"); this.form.templateId = item.templateId; this.form.templateName = item.templateName; this.lookitemnew = item.lookitemnew; }, //宣教传值 propagandaontemplate(item) { - console.log(item, "iten"); - this.form.templateId = item.templateId; this.form.templateName = item.templateName; this.formview = item.formview; }, + //点击审核按钮 + dialogVisibletrue() { + this.form.routeNodeDay = Number(this.lists[this.listindex].routeNodeDay) + this.dialogVisible = true + }, // 点击每一条 bottomclickevent(uitem, index, uindex) { // this.phoneNodeContent = ""; @@ -988,24 +764,17 @@ export default { } setTimeout(() => { this.form = uitem; - - if (this.form.templateType == "PROPAGANDA"&&this.form.templateId) { - // 宣教 - getPropaganda(this.form.templateId).then((response) => { + if (this.form.templateType == "PROPAGANDA" && this.form.templateId) { + getPropaganda(this.form.templateId).then((response) => { // 宣教 this.formview = response.data; }); - } else if (this.form.templateType == "QUESTIONNAIRE"&&this.form.templateId) { - console.log(this.form.templateId,'this.form.templateId') - questionname(this.form.templateId).then((res) => { - // 问卷 - console.log(res, "res"); + } else if (this.form.templateType == "QUESTIONNAIRE" && this.form.templateId) { + questionname(this.form.templateId).then((res) => { // 问卷 this.lookitemnew = res.data; }); - // this.loading=true } else if (this.form.templateType == "SCRIPT" && this.form.flowScheme) { // 话术 this.phoneNodeContent = this.form.flowScheme; - console.log(this.phoneNodeContent, "this.phoneNodeContent11"); } this.taskPartitionList = []; if (this.form.taskType) { @@ -1159,7 +928,7 @@ export default { spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", }); - if (!this.form.routeNodeDay) { + if (Number(this.form.routeNodeDay) != 0 && Number(this.form.routeNodeDay) < 0) { this.$message.error("请输入节点时间段天数"); return loading.close(); } @@ -1204,17 +973,21 @@ export default { border: 1.5px solid #c7c7c7; border-radius: 5px; } + ::v-deep iframe { width: 100%; height: 500px; } + .imageScriptpreview { width: 100%; margin-top: 20px; } + .imageScriptpreviews { margin: 0 auto; width: 90%; + // height: 300px; .titletop { font-size: 16px; @@ -1256,6 +1029,7 @@ export default { } } } + ::v-deep .el-input.is-disabled .el-input__inner { background-color: #fff !important; color: #606266 !important; From 3df2c6b7f4cfc41248b2c0c1b012d9a6a4d8cd2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 4 Jul 2024 10:08:47 +0800 Subject: [PATCH 2/2] xg --- src/views/manage/patientInfo/index.vue | 3 +++ src/views/manage/preHospitalized/index.vue | 27 ++++++++++++++-------- src/views/manage/visitin/index.vue | 8 ++++++- src/views/manage/visitout/index.vue | 7 +++++- 4 files changed, 33 insertions(+), 12 deletions(-) diff --git a/src/views/manage/patientInfo/index.vue b/src/views/manage/patientInfo/index.vue index ed7616e..6a59f3a 100644 --- a/src/views/manage/patientInfo/index.vue +++ b/src/views/manage/patientInfo/index.vue @@ -412,6 +412,9 @@ export default { this.queryParams.departmentId = null this.queryParams.wardId = null this.queryParams.attendingPhysicianId = null + setTimeout(() => { + this.attendingPhysicianlist = [] + }, 1000); }, //清空院区 clearcampusAgency() { diff --git a/src/views/manage/preHospitalized/index.vue b/src/views/manage/preHospitalized/index.vue index 6277382..7b0c8dc 100644 --- a/src/views/manage/preHospitalized/index.vue +++ b/src/views/manage/preHospitalized/index.vue @@ -83,8 +83,8 @@ - - + @@ -262,8 +262,8 @@ - - + @@ -523,6 +523,7 @@ export default { // 查询参数 appointmentDate: [], queryParams: { + certificateIssuingDoctorId: undefined, pageNum: 1, pageSize: 10, appointmentDateStart: '', @@ -708,7 +709,7 @@ export default { sex: null, address: null, patientType: 'PRE_HOSPITALIZED_PATIENT', - certificateIssuingDoctor: null, + certificateIssuingDoctorId: null, mainDiagnosis: null, hospitalAgencyId: null, campusAgencyId: null, @@ -725,6 +726,7 @@ export default { }, resetHospital() { this.formHospital = { + attendingPhysicianId: undefined, patientName: null, patientPhone: null, familyMemberPhone: null, @@ -737,7 +739,6 @@ export default { certificateIssuingDoctor: null, visitMethod: 'BE_IN_HOSPITAL', mainDiagnosis: null, - attendingPhysicianId: null, hospitalAgencyId: null, campusAgencyId: null, departmentId: null, @@ -1013,8 +1014,6 @@ export default { // } // getDepartmentList(query).then(res => { if (type) { - - if (!typetwo) { this.formHospital.departmentId = null this.formHospital.wardId = null @@ -1036,8 +1035,6 @@ export default { // } // getDepartmentList(query).then(res => { if (type) { - - if (!typetwo) { this.formHospital.wardId = null this.form.wardId = null @@ -1053,13 +1050,19 @@ export default { this.form.campusAgencyId = null this.form.departmentId = null this.form.wardId = null + this.form.attendingPhysicianId = null this.formHospital.campusAgencyId = null this.formHospital.departmentId = null this.formHospital.wardId = null + this.formHospital.attendingPhysicianId = null } else { this.queryParams.campusAgencyId = null this.queryParams.departmentId = null this.queryParams.wardId = null + this.queryParams.attendingPhysicianId = null + setTimeout(() => { + this.attendingPhysicianlist = [] + }, 1000); } }, //清空院区 @@ -1137,6 +1140,10 @@ export default { window.removeEventListener('resize', this.getMaxTableHeight, true) }) }, + changecertificateIssuingDoctor(e) { + console.log(e) + console.log(this.queryParams) + }, } }; diff --git a/src/views/manage/visitin/index.vue b/src/views/manage/visitin/index.vue index 0c2800f..8de6a95 100644 --- a/src/views/manage/visitin/index.vue +++ b/src/views/manage/visitin/index.vue @@ -92,7 +92,7 @@ - + { + this.attendingPhysicianlist = [] + }, 1000); } }, //清空院区 diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue index 3ac6145..284d368 100644 --- a/src/views/manage/visitout/index.vue +++ b/src/views/manage/visitout/index.vue @@ -69,7 +69,7 @@ - + { + this.attendingPhysicianlist = [] + }, 1000); } }, //清空院区