访视操作按钮事件修改
parent
e70404b400
commit
5d759699a4
|
@ -263,6 +263,7 @@
|
|||
hasPermi(['trials:trials-panel:hirVisit:result']) ||
|
||||
hasPermi(['trials:trials-panel:hirVisit:downlaod'])
|
||||
"
|
||||
@command="(command) => handleCommand(command, scope.row)"
|
||||
>
|
||||
<el-button
|
||||
class="el-dropdown-link"
|
||||
|
@ -275,14 +276,14 @@
|
|||
<!--评估结果-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:result']"
|
||||
@click.stop="result(scope.row)"
|
||||
disabled
|
||||
command="result"
|
||||
>{{ $t("trials:adReview:title:result") }}</el-dropdown-item
|
||||
>
|
||||
<!--下载影像-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadImage(scope.row)"
|
||||
command="downloadImage"
|
||||
:disabled="
|
||||
Number(scope.row.SubmitState) === 0 ||
|
||||
!scope.row.VisitLatestStudyTime
|
||||
|
@ -294,7 +295,7 @@
|
|||
<!--下载医疗报告-->
|
||||
<el-dropdown-item
|
||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||
@click.stop="downloadReport(scope.row)"
|
||||
command="downloadReport"
|
||||
disabled
|
||||
>{{
|
||||
$t("trials:reading:button:uploadReport")
|
||||
|
@ -379,6 +380,10 @@ export default {
|
|||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
// 下拉菜单操作
|
||||
handleCommand(command, item) {
|
||||
this[command](item);
|
||||
},
|
||||
// 查询
|
||||
handleSearch() {
|
||||
this.getList();
|
||||
|
|
Loading…
Reference in New Issue