Compare commits

..

No commits in common. "8c7c82cf5ed470928df024c1a765ee774361f327" and "2ce7454b47661201f783fced9ce6b4a5d337f91f" have entirely different histories.

3 changed files with 6 additions and 12 deletions

View File

@ -13,7 +13,7 @@
<span style="font-weight:700;">{{ record.CreateUserName }} </span> <span style="font-weight:700;">{{ record.CreateUserName }} </span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div class="info-content" v-html="formattedText(record.TalkContent)" /> <div class="info-content" v-html="record.TalkContent" />
</div> </div>
</div> </div>
@ -23,7 +23,7 @@
<span style="font-weight:700;">{{ record.CreateUserName }} </span> <span style="font-weight:700;">{{ record.CreateUserName }} </span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div class="info-content" v-html="formattedText(record.TalkContent)" /> <div class="info-content" v-html="record.TalkContent" />
</div> </div>
<!-- <img :src="record.headUrl"> --> <!-- <img :src="record.headUrl"> -->
<img v-if="record.UserTypeEnum*1 === 8" :src="adminAvatar" alt="Admin"> <img v-if="record.UserTypeEnum*1 === 8" :src="adminAvatar" alt="Admin">
@ -231,9 +231,6 @@ export default {
this.getMessageList() this.getMessageList()
}, },
methods: { methods: {
formattedText(text) {
return text.replace(/\n/g, '<br>')
},
// //
getMessageList() { getMessageList() {
var recordContent = [] var recordContent = []

View File

@ -13,7 +13,7 @@
<span style="font-weight:700;">{{ record.CreateUserName }} </span> <span style="font-weight:700;">{{ record.CreateUserName }} </span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div class="info-content" v-html="formattedText(record.TalkContent)" /> <div class="info-content" v-html="record.TalkContent" />
</div> </div>
</div> </div>
@ -23,7 +23,7 @@
<span style="font-weight:700;">{{ record.CreateUserName }} </span> <span style="font-weight:700;">{{ record.CreateUserName }} </span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div class="info-content" v-html="formattedText(record.TalkContent)" /> <div class="info-content" v-html="record.TalkContent" />
</div> </div>
<!-- <img :src="record.headUrl"> --> <!-- <img :src="record.headUrl"> -->
<img v-if="record.UserTypeEnum*1 === 8" :src="adminAvatar" alt="Admin"> <img v-if="record.UserTypeEnum*1 === 8" :src="adminAvatar" alt="Admin">
@ -153,9 +153,6 @@ export default {
close() { close() {
this.$emit('close') this.$emit('close')
}, },
formattedText(text) {
return text.replace(/\n/g, '<br>')
},
// //
getMessageList() { getMessageList() {
var recordContent = [] var recordContent = []

View File

@ -1643,14 +1643,14 @@ export default {
var str = `${item.keyName} <br>` var str = `${item.keyName} <br>`
if (item.keyValue) { if (item.keyValue) {
// //
str = `${str}${this.$t('trials:audit:form:questionSummary')}<br>${ str = `${str}${this.$t('trials:audit:form:questionSummary')}${
item.keyValue item.keyValue
}<br>` }<br>`
} }
if (item.actionContent) { if (item.actionContent) {
// //
actions.push(`${item.actionContent}`) actions.push(`${item.actionContent}`)
str = `${str}${this.$t('trials:audit:form:actionMatters')}<br>${ str = `${str}${this.$t('trials:audit:form:actionMatters')}${
item.actionContent item.actionContent
}<br>` }<br>`
} }