From 3eee8509b803126ea729a642cc905213573bf5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 11 Apr 2024 17:11:25 +0800 Subject: [PATCH 1/3] =?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/system/question/index.vue | 50 +++++++++++++++++++---------- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue index 0c0ec5a..8bd98e0 100644 --- a/src/views/system/question/index.vue +++ b/src/views/system/question/index.vue @@ -43,16 +43,20 @@ - - - + 已发布 + 未发布 - + + 发布 + 取消发布 分类管理 { this.diseaselist = res.data + this.classificationform.diseaseTypeId = '' + this.classificationform.diseaseTypeName = '' }) }, changediseaseType(e) { @@ -207,22 +213,32 @@ export default { //切换发布状态 switchstatus(e, item) { if (!item.departmentId && !this.diseaseTypeId) { - this.$message.error('请选择问卷所属的科室以及科室病种后发布!'); - this.getList(); + this.$message.error('请选择问卷所属的科室以及科室病种后发布 / 取消发布!'); return } - let query = { - id: item.id, - questionnaireStatus: e + let text + if (e == 'PUBLISHED') { + text = '是否发布此问卷模板?' + } else { + text = '是否取消发布此问卷模板?' } - updateclassification(query).then(res => { - if (e == 'PUBLISHED') { - this.$modal.msgSuccess("修改为已发布"); - } else if (e == 'UNPUBLISHED') { - this.$modal.msgSuccess("修改为未发布"); + this.$confirm(`${text}`, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + }).then(() => { + let query = { + id: item.id, + questionnaireStatus: e } + updateclassification(query).then(res => { + if (e == 'PUBLISHED') { + this.$modal.msgSuccess("修改为已发布"); + } else if (e == 'UNPUBLISHED') { + this.$modal.msgSuccess("修改为未发布"); + } + this.getList(); + }) }) - this.getList(); }, // 节点单击事件 handleNodeClick(data) { From 1b73d041e3e30b5f71487064fc6bb16ab7fad358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 11 Apr 2024 17:12:28 +0800 Subject: [PATCH 2/3] =?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/system/question/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/system/question/index.vue b/src/views/system/question/index.vue index 8bd98e0..721af31 100644 --- a/src/views/system/question/index.vue +++ b/src/views/system/question/index.vue @@ -53,10 +53,9 @@ - 发布 取消发布 + 发布 分类管理 Date: Thu, 11 Apr 2024 17:22:20 +0800 Subject: [PATCH 3/3] =?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/api/system/taskExecuteRecord.js | 7 + src/views/manage/projectdevice/index.vue | 11 +- src/views/system/record/record.vue | 444 +++++++++++++++++-- src/views/system/taskExecuteRecord/index.vue | 34 +- 4 files changed, 446 insertions(+), 50 deletions(-) diff --git a/src/api/system/taskExecuteRecord.js b/src/api/system/taskExecuteRecord.js index aaa3bbb..e3489db 100644 --- a/src/api/system/taskExecuteRecord.js +++ b/src/api/system/taskExecuteRecord.js @@ -41,6 +41,13 @@ export function delTaskExecuteRecord(id) { method: 'delete' }) } +export function selectPatientQuestionSubmit(taskExecuteRecordId) { + return request({ + url: `/system/taskExecuteRecord/selectPatientQuestionSubmit?taskExecuteRecordId=${taskExecuteRecordId}`, + method: 'get' + }) +} + // 入院记录 export function selectVisitRecord(id) { return request({ diff --git a/src/views/manage/projectdevice/index.vue b/src/views/manage/projectdevice/index.vue index 6affaff..5f05d48 100644 --- a/src/views/manage/projectdevice/index.vue +++ b/src/views/manage/projectdevice/index.vue @@ -244,9 +244,11 @@ - + 抗阻运动 抗阳运动可以加强心脏功能,改善血液循环,有效降低脑梗风,险您每周进行2次,每次30分钟抗阳运动。在运动时心率维持,指导如下: - + --> - + @@ -118,82 +118,427 @@ - - 文章模板:靶向药帮助肺肿瘤人群走向康复! + + 文章模板:{{ formview.propagandaTitle }} - 靶向药帮助肺肿瘤人群走向康复! + {{ formview.propagandaTitle }} - 有种药每天只需服用一到两次,就能在最快的一周内缓解肺肿瘤症状,一个月后,肿瘤就有可能显著缩小,甚至有可能在几个月后实现完全缓解。这就是靶向治疗药物,一种帮助肺肿瘤人群走向康复的神奇药物! + {{ formview.propagandaContent }} - - + + - 问卷模板: Barthel指数评定问卷 - + + + + + + + + + 问卷模板: Barthel指数评定问卷 + + 您好!本问卷用于评估日常生活能力,请根据自身日常实际表现选择合适的选项。 - - 1.进食【单选题】 - - 备选项 - 备选项 - 备选项 + + + 人工随访模板: 神经内科人工随访 + + + **您好! + + + 我是✕✕医院的工作人员,今天给您打电话想要了解一下您的恢复情况。 + + + + {{ index + 1 }}.{{ item.questionName }} + (单选题) + (多选题) + (打分题) + (组合单选题) + (组合多选题) + (组合填空题) + (填空题) + (组合打分题) + (日期填空题) + (时间填空题) + + {{ aitem.optionName }} + + + {{ aitem.optionName }} + + + + + + + + + + + + + + + + - + 电话外呼 - 话术名称 + + + + + + + + + + + + + + + + - - 提醒内容: - - - - - 人工随访模板: - 人工随访模板内容: + + 文字提醒 - + + + + + + + - + - \ No newline at end of file diff --git a/src/views/system/taskExecuteRecord/index.vue b/src/views/system/taskExecuteRecord/index.vue index 07f4210..5fb933d 100644 --- a/src/views/system/taskExecuteRecord/index.vue +++ b/src/views/system/taskExecuteRecord/index.vue @@ -175,8 +175,28 @@ label="签约患者管理任务名称" align="center" prop="manageRouteName" - /> + > + + {{ scope.row.manageRouteName == "AFTER_DISCHARGE" ? "出院后" : "" }} + {{ + scope.row.manageRouteName == "AFTER_ADMISSION" ? "入院后" : "" + }} + {{ + scope.row.manageRouteName == "AFTER_CONSULTATION" ? "就诊后" : "" + }} + {{ scope.row.manageRouteName == "AFTER_VISIT_DISCHARGE" ? "就诊/出院后" : "" }} + {{ + scope.row.manageRouteName == "PREOPERATIVE" ? "术前" : "" + }} + {{ + scope.row.manageRouteName == "POSTOPERATIVE" ? "术后" : "" + }} + + + {{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }} - + @@ -454,12 +470,16 @@ export default { this.$router.push({ path: "/task/record", query: { - patientId: row.patientId, + patientId: row.id, taskContent: row.taskContent, + taskType:row.taskType, + templateId:row.templateId, cardNo: row.cardNo, patientName: row.patientName, patientPhone: row.patientPhone, sex: row.sex, + routeHandleRemark:row.routeHandleRemark, + textRemindContent:row.textRemindContent, birthDate: row.birthDate, familyMemberPhone: row.familyMemberPhone, address: row.address,