From fae9b69f9034194f3a003c28aeaad4d227639ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Mon, 5 Aug 2024 09:21:53 +0800 Subject: [PATCH 1/5] xg --- src/utils/quillVideo.js | 2 +- src/views/manage/components/PathReview.vue | 6 ++++ .../manage/components/questionopennew.vue | 2 +- .../components/specialDiseaseNodeopen.vue | 2 +- src/views/manage/patientInfo/index.vue | 2 +- .../system/ManageNodeInformation/index.vue | 4 +-- .../system/ManageNodeInformation/indexjs.js | 2 +- .../system/ManuallyCreatingTasks/index.vue | 4 +-- src/views/system/specialDiseaseNode/index.vue | 32 +++++++++++++++---- src/views/system/taskPushRecord/index.vue | 2 +- 10 files changed, 41 insertions(+), 17 deletions(-) diff --git a/src/utils/quillVideo.js b/src/utils/quillVideo.js index 32312aa..c0f04a2 100644 --- a/src/utils/quillVideo.js +++ b/src/utils/quillVideo.js @@ -11,7 +11,7 @@ class Video extends BlockEmbed { static create(value) { const node = super.create(); // 添加video标签所需的属性 - node.setAttribute('style', 'object-fit:fill;width: 100%;') + node.setAttribute('style', 'object-fit:fill;max-width: 100%;') node.setAttribute('preload', 'auto') // auto - 当页面加载后载入整个视频 meta - 当页面加载后只载入元数据 none - 当页面加载后不载入视频 // node.setAttribute('playsinline', 'true') // node.setAttribute('x-webkit-airplay', 'allow') diff --git a/src/views/manage/components/PathReview.vue b/src/views/manage/components/PathReview.vue index 31537b8..d26d459 100644 --- a/src/views/manage/components/PathReview.vue +++ b/src/views/manage/components/PathReview.vue @@ -398,6 +398,12 @@ export default { getRouteNodeInfo(this.$route.query.signRecordId).then(res => { this.allroutelist = res.data this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus); + this.routelist.forEach(e => { + if (e.taskNodeType == 'PROPAGANDA_ARTICLE') { + e.templateDetail.propagandaContent = e.templateDetail?.propagandaContent?.replace(/\ { diff --git a/src/views/manage/components/questionopennew.vue b/src/views/manage/components/questionopennew.vue index c0afe8b..6d6bc53 100644 --- a/src/views/manage/components/questionopennew.vue +++ b/src/views/manage/components/questionopennew.vue @@ -268,7 +268,7 @@ export default { created() { if (this.lookitemnew) { this.questiondata = this.lookitemnew; - this.questiondata.subjectResultList.forEach((e) => { + this.questiondata.subjectResultList?.forEach((e) => { e.optionResults.forEach((el) => { console.log(el, "el"); if ( diff --git a/src/views/manage/components/specialDiseaseNodeopen.vue b/src/views/manage/components/specialDiseaseNodeopen.vue index c256d62..926e1ee 100644 --- a/src/views/manage/components/specialDiseaseNodeopen.vue +++ b/src/views/manage/components/specialDiseaseNodeopen.vue @@ -202,7 +202,7 @@
- 重播次数: + 重拨次数:
-
- 重播次数: + 重拨次数: