pcwg查看报告禁用
continuous-integration/drone/push Build is running Details

main
wangxiaoshuang 2025-09-05 10:20:09 +08:00
parent 24813787f0
commit b876f46bf0
5 changed files with 27 additions and 14 deletions

View File

@ -40,18 +40,18 @@
</el-table-column>
<el-table-column prop="Value" :label="$t('il8n:table:en')" sortable="custom">
<template slot-scope="scope">
<el-input v-model.trim="scope.row.Value" @input="
<el-input v-model="scope.row.Value" @input="
(e) => {
$set(scope.row, 'Value', e.trim())
$set(scope.row, 'Value', e)
}
" size="mini"></el-input>
</template>
</el-table-column>
<el-table-column prop="ValueCN" :label="$t('il8n:table:cn')" sortable="custom">
<template slot-scope="scope">
<el-input v-model.trim="scope.row.ValueCN" @input="
<el-input v-model="scope.row.ValueCN" @input="
(e) => {
$set(scope.row, 'ValueCN', e.trim())
$set(scope.row, 'ValueCN', e)
}
" size="mini"></el-input>
</template>

View File

@ -1,7 +1,9 @@
<template>
<el-dialog v-dialogDrag :visible.sync="visible" :close-on-click-modal="false"
:title="$t('trials:trials-list:action:activateProject')" width="500px" append-to-body :before-close="handleCancel">
<el-form ref="activateProjectForm" :model="form" :rules="rules" size="small" label-width="120px">
:title="$t('trials:trials-list:action:activateProject')" :width="isEN ? '600px' : '500px'" append-to-body
:before-close="handleCancel">
<el-form ref="activateProjectForm" :model="form" :rules="rules" size="small"
:label-width="isEN ? '200px' : '120px'">
<div class="base-dialog-body">
<p class="title">{{ $t("trials:activate:ApplyMessage") }}</p>
<!-- 单位名称 -->
@ -158,6 +160,11 @@ export default {
timer: null,
};
},
computed: {
isEN() {
return this.$i18n.locale !== 'zh'
}
},
created() {
this.getTrialAuthorizationInfo();
},

View File

@ -20,10 +20,10 @@
<!-- 刷新 -->
{{ $t('trials:readingReport:button:refresh') }}
</el-button>
<el-button :loading="reportBtnLoading" v-if="readingTaskState >= 2" type="primary" size="small"
@click="showReport('evaluate')">{{ $t('trials:dicoms:button:evaluationReport') }}</el-button>
<el-button :loading="reportBtnLoading" v-if="readingTaskState >= 2" type="primary" size="small"
@click="showReport('tumor')">{{ $t('trials:dicoms:button:tumorReport') }}</el-button>
<el-button :loading="reportBtnLoading" v-if="readingTaskState >= 2 && CriterionType !== 10" type="primary"
size="small" @click="showReport('evaluate')">{{ $t('trials:dicoms:button:evaluationReport') }}</el-button>
<el-button :loading="reportBtnLoading" v-if="readingTaskState >= 2 && CriterionType !== 10" type="primary"
size="small" @click="showReport('tumor')">{{ $t('trials:dicoms:button:tumorReport') }}</el-button>
<el-button v-if="readingTaskState < 2 && CriterionType !== 10" type="primary" size="small"
@click="handleSave(true)">
<!-- 保存 -->

View File

@ -229,12 +229,12 @@
<el-button circle v-hasPermi="['trials:readTask:report']" icon="el-icon-document"
:title="$t('trials:trials-panel:hirVisit:EvaluationReport')"
@click="handleCommand('showReport', scope.row, 'evaluate')"
:disabled="scope.row.ReadingTaskState !== 2" />
:disabled="scope.row.ReadingTaskState !== 2 || CriterionType === 10" />
<!--疗效评估报告-->
<el-button circle v-hasPermi="['trials:readTask:report']" icon="el-icon-document"
:title="$t('trials:trials-panel:hirVisit:TumorReport')"
@click="handleCommand('showReport', scope.row, 'tumor')"
:disabled="scope.row.ReadingTaskState !== 2" />
:disabled="scope.row.ReadingTaskState !== 2 || CriterionType === 10" />
<!--下载影像-->
<el-button circle v-hasPermi="['trials:readTask:report']" icon="el-icon-download"
:loading="downloading" :title="$t('trials:reading:button:uploadImages')" @click="
@ -530,6 +530,11 @@ export default {
}
},
},
computed: {
CriterionType() {
return this.trialCriterionList.find(item => item.TrialReadingCriterionId === this.TrialReadingCriterionId).CriterionType
}
},
mounted() {
this.trialId = this.$route.query.trialId
this.getTrialCriterionList()

View File

@ -163,10 +163,11 @@
<!--肿瘤负荷报告-->
<el-button circle icon="el-icon-document" :title="$t('trials:trials-panel:hirVisit:EvaluationReport')"
@click="handleCommand('showReport', scope.row, 'evaluate')"
:disabled="scope.row.ReadingTaskState !== 2" />
:disabled="scope.row.ReadingTaskState !== 2 || scope.row.CriterionType === 10" />
<!--疗效评估报告-->
<el-button circle icon="el-icon-document" :title="$t('trials:trials-panel:hirVisit:TumorReport')"
@click="handleCommand('showReport', scope.row, 'tumor')" :disabled="scope.row.ReadingTaskState !== 2" />
@click="handleCommand('showReport', scope.row, 'tumor')"
:disabled="scope.row.ReadingTaskState !== 2 || scope.row.CriterionType === 10" />
<!--下载影像-->
<el-button circle icon="el-icon-download" :loading="downloading"
:title="$t('trials:reading:button:uploadImages')" @click="