受试者终止状态管理
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-06-25 14:17:34 +08:00
parent 8ed88c8e03
commit 9fcabca64a
2 changed files with 22 additions and 6 deletions

View File

@ -157,6 +157,10 @@
<span v-if="scope.row.IsImageBackApplying" class="status-primary-circle">
{{ $t('trials:crcUpload:label:back') }}
</span>
<!-- 终止 -->
<span v-if="scope.row.IsSubjectQuit" class="status-primary-circle">
{{ $t('trials:crcUpload:label:ISQ') }}
</span>
</template>
</el-table-column>
<!-- 数据收集 -->
@ -306,33 +310,33 @@
<!-- 上传 -->
<el-button v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']" icon="el-icon-upload2" :disabled="scope.row.SubmitState * 1 === 2 ||
scope.row.VisitExecuted === 2 ||
scope.row.IsLostVisit
scope.row.IsLostVisit || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 2)
" circle :title="$t('trials:crcUpload:action:upload')" @click="CRChandleUpload(scope.row)" />
<!-- 上传2 -->
<el-button icon="el-icon-upload2" v-hasPermi="['trials:trials-panel:visit:crc-upload:upload2']" :disabled="scope.row.SubmitState * 1 === 2 ||
scope.row.VisitExecuted === 2 ||
scope.row.IsLostVisit
scope.row.IsLostVisit || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 2)
" circle :title="$t('trials:crcUpload:action:upload')" @click="CRChandleUpload2(scope.row)" />
<!-- 提交 -->
<el-button v-hasPermi="['trials:trials-panel:visit:crc-upload:submit']" icon="el-icon-check" :disabled="scope.row.AuditState * 1 > 0 ||
scope.row.SubmitState * 1 !== 1 ||
scope.row.VisitExecuted === 2 ||
scope.row.IsLostVisit
scope.row.IsLostVisit || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 2)
" circle :title="$t('trials:crcUpload:action:submit')" @click="handleSubmit(scope.row)" />
<!-- 退回 -->
<el-button :disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying || scope.row.ChallengeState * 1 === 2
<el-button :disabled="scope.row.SubmitState * 1 < 2 || scope.row.IsImageBackApplying || scope.row.ChallengeState * 1 === 2 || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 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)" />
<!-- 编辑 -->
<el-button v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']" icon="el-icon-edit-outline" :disabled="scope.row.VisitExecuted === 2 ||
(scope.row.SubmitState * 1 === 2 &&
scope.row.IsBaseLine === true)
scope.row.IsBaseLine === true) || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 2)
" circle :title="$t('trials:crcUpload:action:edit')" @click="handleEdit(scope.row)" />
<!-- 删除 -->
<el-button v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']" icon="el-icon-delete" :disabled="scope.row.SubmitState * 1 !== 0 ||
scope.row.InPlan ||
scope.row.IsLostVisit ||
scope.row.IsFinalVisit
scope.row.IsFinalVisit || (scope.row.IsSubjectQuit && scope.row.SubmitState * 1 !== 2)
" circle :title="$t('trials:crcUpload:action:delete')" @click="handleDelete(scope.row)" />
</template>
</el-table-column>
@ -372,6 +376,10 @@
{{ $t('trials:crcUpload:label:back') }}
</span>
<span>: {{ $t('trials:crcUpload:label:backAudit') }}</span>
<span class="status-primary-circle" style="margin-left: 10px">
{{ $t('trials:crcUpload:label:ISQ') }}
</span>
<span>: {{ $t('trials:crcUpload:label:IsSubjectQuit') }}</span>
</div>
<!-- 新增/编辑 -->
<el-dialog v-if="edit_cfg.visible" :visible.sync="edit_cfg.visible" :close-on-click-modal="false"

View File

@ -167,6 +167,10 @@
<span v-if="scope.row.IsImageBackApplying" class="status-primary-circle">
{{ $t('trials:crcUpload:label:back') }}
</span>
<!-- 终止 -->
<span v-if="scope.row.IsSubjectQuit" class="status-primary-circle">
{{ $t('trials:crcUpload:label:ISQ') }}
</span>
</template>
</el-table-column>
<!-- 数据收集 -->
@ -439,6 +443,10 @@
{{ $t('trials:crcUpload:label:back') }}
</span>
<span>: {{ $t('trials:crcUpload:label:backAudit') }}</span>
<span class="status-primary-circle" style="margin-left: 10px">
{{ $t('trials:crcUpload:label:ISQ') }}
</span>
<span>: {{ $t('trials:crcUpload:label:IsSubjectQuit') }}</span>
</div>
<!-- 指控 -->
<el-dialog v-if="qcVisible" :visible.sync="qcVisible" :fullscreen="true" :close-on-click-modal="false"