稽查渲染bug修复
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-09-11 14:36:45 +08:00
parent e6bd4576e6
commit db5e5da06a
1 changed files with 5 additions and 4 deletions

View File

@ -652,9 +652,9 @@
/> />
<!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' --> <!-- OptType === 'Add' ? '值' : OptType === 'Delete' ? '删除前' : '修改前' -->
<el-table-column <el-table-column
v-if="OptType !== 'Add' && OptType !== 'Upload' && OptType !== 'Init'" v-if="OptType2 !== 'Add' && OptType2 !== 'Upload' && OptType2 !== 'Init'"
prop="oldValue" prop="oldValue"
:label="OptType === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')" :label="OptType2 === 'Add' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:beforeDeletion') : $t('trials:auditRecord:title:beforeModification')"
show-overflow-tooltip show-overflow-tooltip
> >
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
@ -692,7 +692,7 @@
<!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' --> <!-- OptType === 'Add' || OptType === 'Init' ? '值' : OptType === 'Delete' ? '删除后' : '修改后' -->
<el-table-column <el-table-column
prop="newValue" prop="newValue"
:label="OptType === 'Add' || OptType === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')" :label="OptType2 === 'Add' || OptType2 === 'Init' ? $t('trials:auditRecord:title:fieldValue') : OptType2 === 'Delete' ? $t('trials:auditRecord:title:afterDeletion') : $t('trials:auditRecord:title:afterModification')"
show-overflow-tooltip show-overflow-tooltip
> >
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
@ -876,6 +876,7 @@ export default {
siteOptions: [], siteOptions: [],
visitPlanOptions: [], visitPlanOptions: [],
OptType: null, OptType: null,
OptType2: null,
trialId: this.$route.query.trialId, trialId: this.$route.query.trialId,
configList2: [], configList2: [],
otherData2: [], otherData2: [],
@ -1256,7 +1257,7 @@ export default {
}) })
}, },
async lookDetails2(row) { async lookDetails2(row) {
this.OptType = row.OptType this.OptType2 = row.OptType
var Json = await this.getJSON(row) var Json = await this.getJSON(row)
var JsonDetail = Json[0] ? JSON.parse(Json[0]) : null var JsonDetail = Json[0] ? JSON.parse(Json[0]) : null
var ParentJson = Json[1] ? JSON.parse(Json[1]) : null var ParentJson = Json[1] ? JSON.parse(Json[1]) : null