wangxiaoshuang 2025-05-23 15:24:07 +08:00
parent e15934d7ba
commit e770dc1078
3 changed files with 23 additions and 19 deletions

View File

@ -51,8 +51,8 @@
</template>
</el-table-column>
</el-table>
<el-form ref="revenusForm" size="small" label-width="400px" :label-position="'top'" :rules="rules"
:model="form">
<el-form ref="revenusForm" size="small" label-width="400px" :label-position="'top'" :rules="rules" :model="form"
v-if="false">
<!-- IRC与实际情况影像检查不一致的原因为 -->
<el-form-item v-if="isLackOf" :label="$t('trials:consistencyCheck:title:title1')" prop="reason">
<el-checkbox-group v-model="form.reason" style="display: flex;flex-direction: column">
@ -204,8 +204,8 @@ export default {
this.$alert(this.$t('trials:consistencyCheck:title:title4'))
return
}
let valid = await this.$refs.revenusForm.validate()
if (!valid) return
// let valid = await this.$refs.revenusForm.validate()
// if (!valid) return
let confirm = true
if (this.msgList.every(item => !item.IsCheck)) {
confirm = await this.$confirm(this.$t('trials:consistencyCheck:title:confirm'), '', {
@ -231,6 +231,7 @@ export default {
TalkContent += message
})
if (this.isLackOf) {
TalkContent += `<br>${this.$t('trials:consistencyCheck:title:title13')}`
// TalkContent += '<br>'
// // 'IRC<br>'
// TalkContent += `${this.$t('trials:consistencyCheck:title:title7')}<br>`
@ -239,21 +240,23 @@ export default {
// msg = msg.replace('xxx', v.Modality)
// TalkContent += `${i + 1}.${msg}${v.IsJoin && !v.IsCheck ? this.$t('trials:consistencyCheck:title:title8') : this.$t('trials:consistencyCheck:title:title9')}<br>`
// })
if (this.form.reason.length > 0) {
TalkContent += '<br>'
// 'IRC<br>'
TalkContent += `${this.$t('trials:consistencyCheck:title:title10')}<br>`
this.form.reason.forEach((v, i) => {
TalkContent += `${i + 1}.${v}<br>`
})
}
// if (this.form.reason.length > 0) {
// TalkContent += '<br>'
// // 'IRC<br>'
// TalkContent += `${this.$t('trials:consistencyCheck:title:title10')}<br>`
// this.form.reason.forEach((v, i) => {
// TalkContent += `${i + 1}.${v}<br>`
// })
// }
} else {
// `<br>IRC`
TalkContent += `<br>${this.$t('trials:consistencyCheck:title:title11')}<br>`
TalkContent += '<br>'
TalkContent += `${this.$t('trials:consistencyCheck:title:title10')}<br>`
TalkContent += `1.${this.$t('trials:consistencyCheck:title:message10')}<br>`
TalkContent += `<br>${this.$t('trials:consistencyCheck:title:title11')}`
// TalkContent += '<br>'
// TalkContent += `${this.$t('trials:consistencyCheck:title:title10')}<br>`
// TalkContent += `1.${this.$t('trials:consistencyCheck:title:message10')}<br>`
}
console.log(TalkContent)
this.$emit('sendMessage', TalkContent, this.closeLoading)

View File

@ -97,7 +97,7 @@
:title="$t('trials:crcUpload:label:isClosed')" @click="handleOpenHistoryChat(scope.row)" />
</span>
<!-- 有质疑且有质疑未关闭 -->
<span v-else-if="scope.row.ChallengeState === 2">
<span v-else-if="scope.row.ChallengeState == 2">
<el-button type="danger" style="font-size: 15px" size="mini" icon="el-icon-question" circle
:title="$t('trials:crcUpload:label:isNotClose')" @click="handleOpenHistoryChat(scope.row)" />
</span>
@ -320,7 +320,7 @@
scope.row.IsLostVisit
" circle :title="$t('trials:crcUpload:action:submit')" @click="handleSubmit(scope.row)" />
<!-- 退回 -->
<el-button :disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying
<el-button :disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying || scope.row.ChallengeState === 2
" v-hasPermi="['trials:trials-panel:visit:crc-upload:back']" icon="el-icon-back" circle
:title="$t('trials:crcUpload:action:back')" @click="imageBack(scope.row)" />
<!-- 编辑 -->

View File

@ -393,7 +393,8 @@
scope.row.CurrentActionUserId !== userId
|| scope.row.IsImageBackApplying" @click="handleSecondaryQC(scope.row)" />
<!-- 退回 -->
<el-button :disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying"
<el-button
:disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying || scope.row.ChallengeState * 1 === 2"
v-hasPermi="['trials:trials-panel:visit:qc-check:back']" icon="el-icon-back" circle
:title="$t('trials:qcCheck:button:back')" @click="imageBack(scope.row)" />
</div>