问题修复
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
b4821ace59
commit
6ee3a06eb2
|
|
@ -5,8 +5,8 @@
|
|||
<el-button v-if="
|
||||
data.SubmitState * 1 < 2 ||
|
||||
(data.SubmitState === 2 && data.IsQCConfirmedReupload)
|
||||
" v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']" :disabled="deleteArr.length === 0"
|
||||
type="primary" size="small" icon="el-icon-delete" @click="handleBatchDelete">
|
||||
" v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']" :disabled="deleteArr.length === 0" type="primary"
|
||||
size="small" icon="el-icon-delete" @click="handleBatchDelete">
|
||||
{{ $t('trials:uploadedDicoms:action:delete') }}
|
||||
</el-button>
|
||||
<!-- 预览 -->
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
<!-- 检查部位 -->
|
||||
<el-form-item :label="$t('trials:audit:table:bodyPart')" prop="BodyPartForEdit" :rules="[
|
||||
{
|
||||
required: true,
|
||||
required: studyForm.BodyPartForEditOther ? false : true,
|
||||
message: $t('common:ruleMessage:specify'),
|
||||
trigger: 'blur',
|
||||
},
|
||||
|
|
@ -121,6 +121,8 @@
|
|||
<el-checkbox v-for="bodyPart in trialBodyPartTypes" :key="bodyPart" :label="bodyPart">{{
|
||||
$fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name')
|
||||
}}</el-checkbox>
|
||||
<el-input :placeholder="$t('trials:audit:placeholder:BodyPartForEditOther')"
|
||||
v-model.trim="studyForm.BodyPartForEditOther" style="width:150px;margin-left: 30px;"></el-input>
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<!-- 序列数量 -->
|
||||
|
|
@ -183,6 +185,7 @@ export default {
|
|||
BodyPartForEdit: [],
|
||||
SeriesCount: null,
|
||||
StudyTime: '',
|
||||
BodyPartForEditOther: ''
|
||||
},
|
||||
deleteArr: [],
|
||||
studyLoading: false,
|
||||
|
|
@ -236,6 +239,7 @@ export default {
|
|||
type: 1,
|
||||
modality: this.studyForm.Modality,
|
||||
bodyPart: this.studyForm.BodyPart,
|
||||
BodyPartForEditOther: this.studyForm.BodyPartForEditOther
|
||||
}
|
||||
updateModality(this.data.TrialId, params)
|
||||
.then((res) => {
|
||||
|
|
|
|||
|
|
@ -105,16 +105,16 @@
|
|||
<el-button icon="el-icon-upload2" v-if="
|
||||
['PT、CT', 'CT、PT', 'PET-CT'].includes(scope.row.Modalities) &&
|
||||
relationInfo.IsHaveStudyClinicalData
|
||||
" :disabled="!isAfresh && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
" :disabled="!isAfresh && data.SubmitState === 2 && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
:title="$t('trials:workbench:title:UploadClinicalData')" circle @click="handleUploadPetData(scope.row)" />
|
||||
<!-- 编辑 -->
|
||||
<el-button icon="el-icon-edit-outline" v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']"
|
||||
:title="$t('common:button:edit')"
|
||||
:disabled="!isAfresh && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
:disabled="!isAfresh && data.SubmitState === 2 && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
circle @click="handleEditStudy(scope.row)" />
|
||||
<!-- 删除 :disabled="scope.row.IsDeleted"-->
|
||||
<el-button icon="el-icon-delete" :title="$t('trials:uploadedDicoms:action:delete')" circle
|
||||
:disabled="!isAfresh && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
:disabled="!isAfresh && data.SubmitState === 2 && data.SubmitTime && moment(data.SubmitTime).isAfter(moment(scope.row.UploadedTime))"
|
||||
@click="handleDeleteStudy(scope.row)" />
|
||||
<!-- <el-button-->
|
||||
<!-- icon="el-icon-toilet-paper"-->
|
||||
|
|
@ -1774,7 +1774,7 @@ export default {
|
|||
}
|
||||
},
|
||||
handleSelectable2(row) {
|
||||
if (!this.isAfresh && this.data.SubmitTime && moment(this.data.SubmitTime).isAfter(moment(row.UploadedTime))) {
|
||||
if (!this.isAfresh && this.data.SubmitState === 2 && this.data.SubmitTime && moment(this.data.SubmitTime).isAfter(moment(row.UploadedTime))) {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in New Issue