访视列表操作按钮修改
parent
353c2e839c
commit
ffd81d7aa2
|
@ -226,58 +226,79 @@
|
|||
<template slot-scope="scope">
|
||||
<!--修改检查-->
|
||||
<el-button
|
||||
type="text"
|
||||
circle
|
||||
icon="el-icon-edit-outline"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:edit']"
|
||||
:title="$t('trials:hirVisit:button:editStudy')"
|
||||
:disabled="Number(scope.row.SubmitState) > 1"
|
||||
@click.stop="editStudy(scope.row)"
|
||||
>{{ $t("trials:hirVisit:button:editStudy") }}</el-button
|
||||
>
|
||||
/>
|
||||
<!--提交-->
|
||||
<el-button
|
||||
type="text"
|
||||
circle
|
||||
icon="el-icon-position"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:submit']"
|
||||
:disabled="
|
||||
Number(scope.row.SubmitState) != 1 ||
|
||||
!scope.row.VisitLatestStudyTime
|
||||
"
|
||||
:title="$t('common:button:submit')"
|
||||
@click.stop="submit(scope.row)"
|
||||
>{{ $t("common:button:submit") }}</el-button
|
||||
>
|
||||
/>
|
||||
<!--删除-->
|
||||
<el-button
|
||||
type="text"
|
||||
circle
|
||||
icon="el-icon-delete"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:remove']"
|
||||
@click.stop="remove(scope.row)"
|
||||
:disabled="Number(scope.row.SubmitState) > 0"
|
||||
>{{ $t("common:button:delete") }}</el-button
|
||||
>
|
||||
<!--评估结果-->
|
||||
<el-button
|
||||
type="text"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:result']"
|
||||
@click.stop="result(scope.row)"
|
||||
disabled
|
||||
>{{ $t("trials:adReview:title:result") }}</el-button
|
||||
>
|
||||
<!--下载影像-->
|
||||
<el-button
|
||||
type="text"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadImage(scope.row)"
|
||||
:disabled="
|
||||
Number(scope.row.SubmitState) === 0 ||
|
||||
!scope.row.VisitLatestStudyTime
|
||||
:title="$t('common:button:delete')"
|
||||
/>
|
||||
<el-dropdown
|
||||
style="margin-left: 10px"
|
||||
v-if="
|
||||
hasPermi(['trials:trials-panel:hirVisit:result']) ||
|
||||
hasPermi(['trials:trials-panel:hirVisit:downlaod'])
|
||||
"
|
||||
>{{ $t("trials:reading:button:uploadImages") }}</el-button
|
||||
>
|
||||
<!--下载医疗报告-->
|
||||
<el-button
|
||||
type="text"
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadReport(scope.row)"
|
||||
disabled
|
||||
>{{ $t("trials:reading:button:uploadReport") }}</el-button
|
||||
>
|
||||
<el-button
|
||||
class="el-dropdown-link"
|
||||
circle
|
||||
icon="el-icon-more"
|
||||
:title="$t('common:action:action')"
|
||||
>
|
||||
</el-button>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<!--评估结果-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:result']"
|
||||
@click.stop="result(scope.row)"
|
||||
disabled
|
||||
>{{ $t("trials:adReview:title:result") }}</el-dropdown-item
|
||||
>
|
||||
<!--下载影像-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadImage(scope.row)"
|
||||
:disabled="
|
||||
Number(scope.row.SubmitState) === 0 ||
|
||||
!scope.row.VisitLatestStudyTime
|
||||
"
|
||||
>{{
|
||||
$t("trials:reading:button:uploadImages")
|
||||
}}</el-dropdown-item
|
||||
>
|
||||
<!--下载医疗报告-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadReport(scope.row)"
|
||||
disabled
|
||||
>{{
|
||||
$t("trials:reading:button:uploadReport")
|
||||
}}</el-dropdown-item
|
||||
>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
Loading…
Reference in New Issue