Browse Source

去掉后台审核按钮,前台添加审核按钮

newMaster
1747191978@qq.com 3 months ago
parent
commit
91934ccf0c
  1. 60
      acupuncture-前台/src/views/medicalFile/index.vue
  2. 4
      acupuncture-后台/src/views/medicalFile/index.vue

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

@ -354,7 +354,7 @@
>
<template slot-scope="scope">
<!-- :disabled="scope.row.status == 1" -->
<el-button
<!-- <el-button
size="mini"
type="text"
icon="el-icon-edit"
@ -395,6 +395,62 @@
v-hasPermi="['medicalFile:index:examine']"
>
提交审核
</el-button> -->
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
>修改</el-button
>
<el-button
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
:disabled="scope.row.status != 1"
size="mini"
type="text"
icon="el-icon-s-check"
@click="handleExamine(scope.row, 2)"
>
通过
</el-button>
<el-button
:disabled="scope.row.status != 1"
size="mini"
type="text"
icon="el-icon-s-check"
@click="handleExamine(scope.row, 3)"
>
驳回
</el-button>
</template>
</el-table-column>
@ -1403,10 +1459,8 @@ export default {
/** 提交审核 */
handleExamine(row, _status) {
let form = JSON.parse(JSON.stringify(row));
let queueList = row.queueVoList?.map((item) => item.queueId) || [];
form = {
...JSON.parse(JSON.stringify(row)),
queueIdList: queueList,
};
form.status = _status;
this.$modal

4
acupuncture-后台/src/views/medicalFile/index.vue

@ -399,7 +399,7 @@
提交审核
</el-button> -->
<!-- 审核 -->
<div>
<!-- <div>
<el-button
:disabled="scope.row.status != 1"
size="mini"
@ -418,7 +418,7 @@
>
驳回
</el-button>
</div>
</div> -->
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save