1
continuous-integration/drone/push Build encountered an error Details

uat
wangxiaoshuang 2026-01-04 16:38:53 +08:00
parent d21c01076d
commit 443a31df97
2 changed files with 10 additions and 6 deletions

View File

@ -68,7 +68,7 @@
<el-table-column :label="$t('common:action:action')" fixed="right" width="150"> <el-table-column :label="$t('common:action:action')" fixed="right" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<!--预览---> <!--预览--->
<el-button circle icon="el-icon-view" :title="$t('download:button:preview')" <el-button circle icon="el-icon-view" :title="$t('download:button:preview')" :disabled="forbid"
@click.stop="preview(scope.row)" /> @click.stop="preview(scope.row)" />
<!--下载---> <!--下载--->
<el-button circle icon="el-icon-download" :title="$t('download:button:download')" <el-button circle icon="el-icon-download" :title="$t('download:button:download')"
@ -111,6 +111,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
forbid: {
type: Boolean,
default: false,
},
SubjectId: { SubjectId: {
type: String, type: String,
default: '', default: '',

View File

@ -69,12 +69,12 @@
: $t('trials:pendingReadingTasks:button:review') : $t('trials:pendingReadingTasks:button:review')
" icon="el-icon-edit-outline" @click="handleReadImage(scope.row)" /> --> " icon="el-icon-edit-outline" @click="handleReadImage(scope.row)" /> -->
<!-- 上传 --> <!-- 上传 -->
<el-button v-hasPermi="['role:ir', 'role:pm', 'role:apm']" circle <el-button v-hasPermi="['role:ir', 'role:pm', 'role:apm']" circle icon="el-icon-upload2"
icon="el-icon-upload2" :title="$t('trials:pendingReadingTasks:button:upload')" :title="$t('trials:pendingReadingTasks:button:upload')"
@click="openUploadImage(scope.row, 'upload')" /> @click="openUploadImage(scope.row, 'upload')" />
<!-- 下载 --> <!-- 下载 -->
<el-button v-hasPermi="['role:ir', 'role:pm', 'role:apm']" circle <el-button v-hasPermi="['role:ir', 'role:pm', 'role:apm']" circle icon="el-icon-download"
icon="el-icon-download" :title="$t('trials:pendingReadingTasks:button:download')" :title="$t('trials:pendingReadingTasks:button:download')"
@click="openUploadImage(scope.row, 'download')" /> @click="openUploadImage(scope.row, 'download')" />
</template> </template>
</el-table-column> </el-table-column>
@ -87,7 +87,7 @@
:IsImageSegment="true" :forbid="forbid" /> :IsImageSegment="true" :forbid="forbid" />
<download-dicom-and-nonedicom v-if="downloadImageVisible" :SubjectId="uploadSubjectId" <download-dicom-and-nonedicom v-if="downloadImageVisible" :SubjectId="uploadSubjectId"
:SubjectCode="uploadSubjectCode" :Criterion="uploadTrialCriterion" :visible.sync="downloadImageVisible" :SubjectCode="uploadSubjectCode" :Criterion="uploadTrialCriterion" :visible.sync="downloadImageVisible"
:IsImageSegment="true" /> :IsImageSegment="true" :forbid="forbid" />
</BaseContainer> </BaseContainer>
</template> </template>
<script> <script>