Browse Source

诊疗列表添加按钮权限

newMaster
1747191978@qq.com 3 months ago
parent
commit
e39a4e0c22
  1. 46
      acupuncture-前台/src/views/medicalFile/index.vue

46
acupuncture-前台/src/views/medicalFile/index.vue

@ -353,8 +353,8 @@
width="200" width="200"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!-- :disabled="scope.row.status == 1" --> <el-button
<!-- <el-button :disabled="scope.row.status != 0 && scope.row.status != 3"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -363,6 +363,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
:disabled="scope.row.status != 0 && scope.row.status != 3"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@ -395,45 +396,6 @@
v-hasPermi="['medicalFile:index:examine']" v-hasPermi="['medicalFile:index:examine']"
> >
提交审核 提交审核
</el-button> -->
<el-button
:disabled="scope.row.status != 0 && scope.row.status != 3"
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
>修改</el-button
>
<el-button
:disabled="scope.row.status != 0 && scope.row.status != 3"
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
>删除</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-tickets"
@click="handleDetails(scope.row)"
>档案详情</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-notebook-2"
@click="handleEecorde(scope.row)"
>随访记录</el-button
>
<el-button
:disabled="scope.row.status != 0 && scope.row.status != 3"
size="mini"
type="text"
icon="el-icon-s-promotion"
@click="handleExamine(scope.row, 1)"
>
提交审核
</el-button> </el-button>
<!-- 审核 --> <!-- 审核 -->
<el-button <el-button
@ -442,6 +404,7 @@
type="text" type="text"
icon="el-icon-s-check" icon="el-icon-s-check"
@click="handleExamine(scope.row, 2)" @click="handleExamine(scope.row, 2)"
v-hasPermi="['medicalFile:index:pass']"
> >
通过 通过
</el-button> </el-button>
@ -451,6 +414,7 @@
type="text" type="text"
icon="el-icon-s-check" icon="el-icon-s-check"
@click="handleExamine(scope.row, 3)" @click="handleExamine(scope.row, 3)"
v-hasPermi="['medicalFile:index:reject']"
> >
驳回 驳回
</el-button> </el-button>

Loading…
Cancel
Save