访视列表操作按钮修改
parent
353c2e839c
commit
ffd81d7aa2
|
@ -226,58 +226,79 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!--修改检查-->
|
<!--修改检查-->
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
circle
|
||||||
|
icon="el-icon-edit-outline"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:edit']"
|
v-hasPermi="['trials:trials-panel:hirVisit:edit']"
|
||||||
|
:title="$t('trials:hirVisit:button:editStudy')"
|
||||||
:disabled="Number(scope.row.SubmitState) > 1"
|
:disabled="Number(scope.row.SubmitState) > 1"
|
||||||
@click.stop="editStudy(scope.row)"
|
@click.stop="editStudy(scope.row)"
|
||||||
>{{ $t("trials:hirVisit:button:editStudy") }}</el-button
|
/>
|
||||||
>
|
|
||||||
<!--提交-->
|
<!--提交-->
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
circle
|
||||||
|
icon="el-icon-position"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:submit']"
|
v-hasPermi="['trials:trials-panel:hirVisit:submit']"
|
||||||
:disabled="
|
:disabled="
|
||||||
Number(scope.row.SubmitState) != 1 ||
|
Number(scope.row.SubmitState) != 1 ||
|
||||||
!scope.row.VisitLatestStudyTime
|
!scope.row.VisitLatestStudyTime
|
||||||
"
|
"
|
||||||
|
:title="$t('common:button:submit')"
|
||||||
@click.stop="submit(scope.row)"
|
@click.stop="submit(scope.row)"
|
||||||
>{{ $t("common:button:submit") }}</el-button
|
/>
|
||||||
>
|
|
||||||
<!--删除-->
|
<!--删除-->
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
circle
|
||||||
|
icon="el-icon-delete"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:remove']"
|
v-hasPermi="['trials:trials-panel:hirVisit:remove']"
|
||||||
@click.stop="remove(scope.row)"
|
@click.stop="remove(scope.row)"
|
||||||
:disabled="Number(scope.row.SubmitState) > 0"
|
:disabled="Number(scope.row.SubmitState) > 0"
|
||||||
>{{ $t("common:button:delete") }}</el-button
|
:title="$t('common:button:delete')"
|
||||||
>
|
/>
|
||||||
<!--评估结果-->
|
<el-dropdown
|
||||||
<el-button
|
style="margin-left: 10px"
|
||||||
type="text"
|
v-if="
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:result']"
|
hasPermi(['trials:trials-panel:hirVisit:result']) ||
|
||||||
@click.stop="result(scope.row)"
|
hasPermi(['trials:trials-panel:hirVisit:downlaod'])
|
||||||
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
|
|
||||||
"
|
"
|
||||||
>{{ $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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
Loading…
Reference in New Issue