diff --git a/src/views/trials/trials-panel/visit/crc-question/components/chatForm.vue b/src/views/trials/trials-panel/visit/crc-question/components/chatForm.vue index 1fa4fd8b..e3282b3f 100644 --- a/src/views/trials/trials-panel/visit/crc-question/components/chatForm.vue +++ b/src/views/trials/trials-panel/visit/crc-question/components/chatForm.vue @@ -13,7 +13,7 @@ {{ record.CreateUserName }} ({{ record.CreateTime }})

-
+
@@ -23,7 +23,7 @@ {{ record.CreateUserName }} ({{ record.CreateTime }})

-
+
Admin @@ -231,6 +231,9 @@ export default { this.getMessageList() }, methods: { + formattedText(text) { + return text.replace(/\n/g, '
') + }, // 初始化聊天信息 getMessageList() { var recordContent = [] diff --git a/src/views/trials/trials-panel/visit/qc-check/components/chatForm.vue b/src/views/trials/trials-panel/visit/qc-check/components/chatForm.vue index 9a234dd3..4b8308c3 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/chatForm.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/chatForm.vue @@ -13,7 +13,7 @@ {{ record.CreateUserName }} ({{ record.CreateTime }})

-
+
@@ -23,7 +23,7 @@ {{ record.CreateUserName }} ({{ record.CreateTime }})

-
+
Admin @@ -153,6 +153,9 @@ export default { close() { this.$emit('close') }, + formattedText(text) { + return text.replace(/\n/g, '
') + }, // 初始化聊天信息 getMessageList() { var recordContent = [] diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue index 50b31011..38e72f9c 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue @@ -1643,14 +1643,14 @@ export default { var str = `${item.keyName}
` if (item.keyValue) { // 问题总结 - str = `${str}${this.$t('trials:audit:form:questionSummary')}:${ + str = `${str}${this.$t('trials:audit:form:questionSummary')}:
${ item.keyValue }
` } if (item.actionContent) { // 行动事项 actions.push(`${item.actionContent}`) - str = `${str}${this.$t('trials:audit:form:actionMatters')}:${ + str = `${str}${this.$t('trials:audit:form:actionMatters')}:
${ item.actionContent }
` }