From 5e90c6460fb3f68377949960cfa80d0a83ae5bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 08:44:22 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RehabilitationPlanandRecords.vue | 4 +- src/views/manage/projectdevice/index.vue | 288 +++--------------- 2 files changed, 51 insertions(+), 241 deletions(-) diff --git a/src/views/manage/components/RehabilitationPlanandRecords.vue b/src/views/manage/components/RehabilitationPlanandRecords.vue index c4a7333..9e122a2 100644 --- a/src/views/manage/components/RehabilitationPlanandRecords.vue +++ b/src/views/manage/components/RehabilitationPlanandRecords.vue @@ -252,9 +252,7 @@ export default { getList(this.query).then(res => { this.itemindex = index this.loading.close(); - if (res.data.length > 0) { - this.categorylist = res.data - } + this.categorylist = res.data }) }, } diff --git a/src/views/manage/projectdevice/index.vue b/src/views/manage/projectdevice/index.vue index 01504f6..d26c197 100644 --- a/src/views/manage/projectdevice/index.vue +++ b/src/views/manage/projectdevice/index.vue @@ -1,28 +1,11 @@ @@ -626,7 +438,7 @@ export default { this.getList(); this.$modal.msgSuccess("解绑成功"); }) - .catch(() => {}); + .catch(() => { }); }, /** 导出按钮操作 */ handleExport() { From 510b604e26b8468f5cf1091229d4af87b84bfe1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 08:46:24 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RehabilitationPlanandRecords.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/manage/components/RehabilitationPlanandRecords.vue b/src/views/manage/components/RehabilitationPlanandRecords.vue index 9e122a2..584830e 100644 --- a/src/views/manage/components/RehabilitationPlanandRecords.vue +++ b/src/views/manage/components/RehabilitationPlanandRecords.vue @@ -90,7 +90,8 @@ {{ item.suitRange == 'OUTPATIENT_SERVICE_DISCHARGE' ? '门诊+出院' : "" }}
- 路径详情: 预览 + 路径详情: 预览
@@ -198,11 +199,11 @@ export default { }, methods: { //查看专病节点 - lookspecialDiseaseNode() { + lookspecialDiseaseNode(item) { this.lookitem = { - routeName: '路径名称', - suitRange: 'IN_THE_HOSPITAL', - id: 1 + routeName: item.routeName, + suitRange: item.suitRange, + id: item.specialDiseaseRoute.specialDiseaseRouteId } this.specialDiseaseNodeopen = true }, From 40291980d750ce96b68a69dc6794e2299fbca8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 08:53:32 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/specialDiseaseNodeopen.vue | 43 +++++++++---------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/src/views/manage/components/specialDiseaseNodeopen.vue b/src/views/manage/components/specialDiseaseNodeopen.vue index f8fd498..1d8c4d9 100644 --- a/src/views/manage/components/specialDiseaseNodeopen.vue +++ b/src/views/manage/components/specialDiseaseNodeopen.vue @@ -48,10 +48,10 @@ -

{{ uitem.taskType }}

+

{{ uitem.taskTypeName }}

已审核 未审核 -

{{ uitem.taskSubdivision }}

+

{{ uitem.taskSubdivisionName }}

@@ -61,23 +61,23 @@ - + - - + - + + :label="item.taskStatusName" :value="item.taskStatusCode"> @@ -333,10 +333,10 @@ export default { beforeDestroy() { }, watch: { lookitem(newValue, oldValue) { - if (newValue) { - this.updata = newValue; - this.updata.specialDiseaseRouteId = newValue.id - } + this.updata = newValue; + this.updata.specialDiseaseRouteId = newValue.id + this.taskinfo(); + this.info(); } }, mounted() { @@ -448,27 +448,24 @@ export default { }) }, //任务细分 - changeTaskType(name, taskSubdivision) { - let id = this.selectTaskTypeList?.find(e => e.taskTypeName == name).id + changeTaskType(code, taskSubdivision) { + let id = this.selectTaskTypeList?.find(e => e.taskTypeCode == code)?.id + this.form.taskTypeName = this.selectTaskTypeList?.find(e => e.taskTypeCode == code)?.taskTypeName taskPartitionList(id).then(res => { this.taskPartitionList = res.data this.form.taskSubdivision = '' this.form.taskSubdivisionName = '' this.form.taskSubdivisiontemplateType = '' - this.selectTaskTypeList.forEach(el => { - if (name == el.taskTypeName) { - this.form.taskTypeId = el.id - } - }) if (taskSubdivision) { + this.form.taskSubdivision = taskSubdivision this.changetaskSubdivision(taskSubdivision, 1) } }) }, - changetaskSubdivision(name, type) { - this.form.taskSubdivision = name + changetaskSubdivision(code, type) { + this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code).taskPartitionName this.taskPartitionList.forEach(el => { - if (name == el.taskTypeName) { + if (code == el.taskPartitionCode) { this.form.executionTime = el.executionTime this.form.taskSubdivisiontemplateType = el.templateType if (!type) { From 868ea1c847e5590be654bf5e0397763419b6bf66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 09:01:27 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/manualReview/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/manage/manualReview/index.vue b/src/views/manage/manualReview/index.vue index a1ed265..b4394ff 100644 --- a/src/views/manage/manualReview/index.vue +++ b/src/views/manage/manualReview/index.vue @@ -218,7 +218,7 @@ export default { /** 查询患者信息列表 */ getList() { this.loading = true; - this.queryParams.params = {}; + this.queryParams.taskCreateType = 'MANUAL_CREATE' tasklist(this.queryParams).then(response => { response.rows.forEach(e => { e.birthDate ? e.age = getAge(e.birthDate) : '' From 26f877b93510d37c929a5c9704e1ca4bd583ce2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 09:10:04 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Auditing/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/manage/Auditing/index.vue b/src/views/manage/Auditing/index.vue index 726fbab..bcfe10c 100644 --- a/src/views/manage/Auditing/index.vue +++ b/src/views/manage/Auditing/index.vue @@ -243,6 +243,11 @@ export default { }, //审核 auditing() { + let manageRouteNodeIds = [] + this.nodelist.map(e => { + manageRouteNodeIds = [...manageRouteNodeIds, ...e.nodeList.map(el => el.id)] + }) + console.log(manageRouteNodeIds) this.$prompt('请输入审核备注信息?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -251,7 +256,7 @@ export default { routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName, routeCheckRemark: value, routeCheckStatus: 'AGREE', - manageRouteNodeIds: this.nodelist.map(e => e.manageRouteId) + manageRouteNodeIds: manageRouteNodeIds } audit(obj).then(res => { this.$notify({ From b51192950e334b6bfb128d16488423058759b7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 09:12:51 +0800 Subject: [PATCH 06/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Auditing/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/manage/Auditing/index.vue b/src/views/manage/Auditing/index.vue index bcfe10c..e218b3c 100644 --- a/src/views/manage/Auditing/index.vue +++ b/src/views/manage/Auditing/index.vue @@ -247,7 +247,6 @@ export default { this.nodelist.map(e => { manageRouteNodeIds = [...manageRouteNodeIds, ...e.nodeList.map(el => el.id)] }) - console.log(manageRouteNodeIds) this.$prompt('请输入审核备注信息?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', From af93048702f1608d72485ced885b5c13bd28935b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 09:25:25 +0800 Subject: [PATCH 07/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Auditing/index.vue | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/views/manage/Auditing/index.vue b/src/views/manage/Auditing/index.vue index e218b3c..ecefcc3 100644 --- a/src/views/manage/Auditing/index.vue +++ b/src/views/manage/Auditing/index.vue @@ -3,6 +3,7 @@
取 消 审核通过 + 忽略
@@ -241,6 +242,39 @@ export default { this.propagandaopen = false this.lookitem = {} }, + // 忽略 + ignore() { + let manageRouteNodeIds = [] + this.nodelist.map(e => { + manageRouteNodeIds = [...manageRouteNodeIds, ...e.nodeList.map(el => el.id)] + }) + this.$prompt('请输入忽略备注信息?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + }).then(({ value }) => { + let obj = { + routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName, + routeCheckRemark: value, + routeCheckStatus: 'DISAGREE', + manageRouteNodeIds: manageRouteNodeIds + } + audit(obj).then(res => { + this.$notify({ + type: 'success', + title: '提示', + message: '已忽略,即将返回上一页', + duration: 3000 + }); + setTimeout(() => { + this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { + this.$router.push({ + path: "/task/manualReview", + }); + }) + }, 3000); + }) + }) + }, //审核 auditing() { let manageRouteNodeIds = [] From 710f38f07db9c2c7052ddcec077999bab53fc6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 10:33:08 +0800 Subject: [PATCH 08/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/projectdevice/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/manage/projectdevice/index.vue b/src/views/manage/projectdevice/index.vue index d26c197..3c50ce9 100644 --- a/src/views/manage/projectdevice/index.vue +++ b/src/views/manage/projectdevice/index.vue @@ -123,7 +123,9 @@ - + + + @@ -131,7 +133,6 @@ - @@ -154,13 +155,11 @@ - 搜索 重置 -