From 908fa92cc954c1ebf4db9d0034a0bb8f81dab6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Mon, 15 Apr 2024 14:25:59 +0800 Subject: [PATCH] =?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 | 140 ++++++- .../manage/components/healthEducation.vue | 2 +- src/views/manage/components/questionopen.vue | 377 ++++++++++++++++++ src/views/system/addQuestionnaire/index.vue | 6 +- 4 files changed, 511 insertions(+), 14 deletions(-) create mode 100644 src/views/manage/components/questionopen.vue diff --git a/src/views/manage/Auditing/index.vue b/src/views/manage/Auditing/index.vue index e01b43d..5894bd0 100644 --- a/src/views/manage/Auditing/index.vue +++ b/src/views/manage/Auditing/index.vue @@ -102,7 +102,7 @@
- 任务内容: {{ uitem.taskType == 'PHONE_OUTBOUND' ? "电话外呼" : "" }} + 任务内容:{{ uitem.taskType == 'PHONE_OUTBOUND' ? "电话外呼" : "" }} {{ uitem.taskType == 'QUESTIONNAIRE_SCALE' ? "问卷量表" : "" }} {{ uitem.taskType == 'PROPAGANDA_ARTICLE' ? "宣教文案" : "" }} {{ uitem.taskType == 'TEXT_REMIND' ? "文字提醒" : "" }} @@ -110,32 +110,85 @@
- 电话模板:{{ uitem.phoneTemplateName }} + 话术模板:{{ uitem.phoneTemplateName }}
- 问卷模板:{{ uitem.questionnaireName }} + 问卷模板:{{ uitem.questionnaireName }}
- 问卷有效期:{{ uitem.questionExpirationDate }}天 + 问卷有效期:{{ uitem.questionExpirationDate }}天
- 宣教模板:{{ uitem.propagandaTitle }} + 宣教模板:{{ uitem.propagandaTitle }}
- 提醒内容:{{ uitem.textRemindContent }} + 提醒内容:{{ uitem.textRemindContent }}
- 人工随访模板:{{ uitem.questionnaireName }} + 人工随访模板:{{ uitem.questionnaireName }} +
+
+ 随访详情:预览 +
+
+ 问卷模板详情:预览 +
+
+ 宣教模板详情:预览 +
+
+ 话术模板详情:预览
+ + + + + 确 定 + + + + +
文章模板:{{ lookitem.propagandaTitle }}
+
+
{{ lookitem.propagandaTitle }}
+
+ +
知识卡片
+
+ {{ lookitem.propagandaContent }} +
+
+
+
+ + + @@ -146,21 +199,48 @@ import { audit } from '@/api/manage/Auditing.js' import { getAge } from "@/utils/age"; +import questionopen from '../components/questionopen.vue'; export default { + components: { + questionopen, + }, name: "Auditing", data() { return { + baseUrl: process.env.VUE_APP_BASE_API, activeNames: ['-1', '-2', '-3'], - list: { - visitMethod: "BE_IN_HOSPITAL", - }, + list: {}, nodelist: [], + lookitem: {}, + phoneopen: false, + propagandaopen: false, }; }, created() { this.info(); }, methods: { + //查看宣教模板 + lookpropaganda(item) { + this.lookitem = item.detailInfo + this.propagandaopen = true + }, + //查看话术模板 + lookphone(item) { + this.lookitem = item.detailInfo + this.phoneopen = true + }, + //查看问卷模板 + lookquestion(item) { + this.lookitem = item.detailInfo + this.$refs.question.questionopentrue() + }, + //关闭预览 + openfalse() { + this.phoneopen = false + this.propagandaopen = false + this.lookitem = {} + }, //审核 auditing() { this.$prompt('请输入审核备注信息?', '提示', { @@ -318,4 +398,44 @@ export default { } } } + +.titletop { + font-size: 16px; + font-weight: 700; +} + +.bodytop { + position: relative; + top: 20px; + height: 500px; + overflow: auto; + border: 1px solid #e2e2e2; + + .titledata { + margin: 30px 0px 15px 30px; + top: 14px; + font-size: 20px; + } + + .audiotop { + margin: 10px 0px 10px 30px; + } + + img { + // width: 100%; + // width: 362px; + // height: 127px; + margin: 0px 0px 0px 30px; + } + + .know { + margin: 11px 0px 10px 30px; + font-size: 16px; + } + + .knowlist { + margin: 10px 0px 10px 30px; + font-size: 16px; + } +} diff --git a/src/views/manage/components/healthEducation.vue b/src/views/manage/components/healthEducation.vue index c97b08f..2eb6fac 100644 --- a/src/views/manage/components/healthEducation.vue +++ b/src/views/manage/components/healthEducation.vue @@ -9,7 +9,7 @@
-
+
diff --git a/src/views/manage/components/questionopen.vue b/src/views/manage/components/questionopen.vue new file mode 100644 index 0000000..b156ebd --- /dev/null +++ b/src/views/manage/components/questionopen.vue @@ -0,0 +1,377 @@ + + + + \ No newline at end of file diff --git a/src/views/system/addQuestionnaire/index.vue b/src/views/system/addQuestionnaire/index.vue index 083f462..25fd018 100644 --- a/src/views/system/addQuestionnaire/index.vue +++ b/src/views/system/addQuestionnaire/index.vue @@ -1067,7 +1067,7 @@ export default { }).then(() => { this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { this.$router.push({ - path: "/question/question", + path: "/knowledge/question", }); }) }).catch(() => { @@ -1083,7 +1083,7 @@ export default { }).then(() => { this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { this.$router.push({ - path: "/question/question", + path: "/knowledge/question", }); }) }).catch(() => { @@ -1148,7 +1148,7 @@ export default { goback() { this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => { this.$router.push({ - path: "/question/question", + path: "/knowledge/question", }); }) },