|
@@ -7,10 +7,10 @@
|
|
|
<el-table-column type="index" label="序号" width="80" />
|
|
|
<el-table-column prop="" label="审核状态" width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.review == 1">审核中</span>
|
|
|
- <span v-if="scope.row.review == 2">审核通过</span>
|
|
|
- <span v-if="scope.row.review == 3">审核未通过</span>
|
|
|
- <span v-if="scope.row.review == 0">未审核</span>
|
|
|
+ <span v-if="scope.row.review == 1" style="color: orange;">撤销审核中</span>
|
|
|
+ <span v-if="scope.row.review == 2" style="color: darkgreen;">审核通过</span>
|
|
|
+ <span v-if="scope.row.review == 3" style="color: red;">审核未通过</span>
|
|
|
+ <span v-if="scope.row.review == 0" >未审核</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="sum_minus_points" label="病历得分" width="80" show-overflow-tooltip />
|
|
@@ -32,6 +32,17 @@
|
|
|
<el-table-column prop="ZGQR" label="整改日期" width="140" show-overflow-tooltip />
|
|
|
<el-table-column prop="ZKKS" label="质控科室" width="140" show-overflow-tooltip />
|
|
|
</el-table>
|
|
|
+ <el-dialog title="撤销审核申请" width="50%" :visible.sync="dialogVisible">
|
|
|
+ <el-form ref="alertForm" :model="alertForm" label-width="120px" :rules="rules">
|
|
|
+ <el-form-item label="撤销审核原因" prop="reason">
|
|
|
+ <el-input v-model="alertForm.reason" type="textarea" placeholder="原因" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="addSubmit">确 定</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -53,6 +64,19 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ dialogVisible: false,
|
|
|
+ alertForm: {
|
|
|
+ reason: "",
|
|
|
+ },
|
|
|
+ rules: {
|
|
|
+ reason: [
|
|
|
+ { required: true, message: '请填写撤销审核原因', trigger: 'blur' }
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
toPage(row) {
|
|
|
const { ZYH } = row;
|
|
@@ -85,14 +109,26 @@ export default {
|
|
|
* 撤销审核
|
|
|
*/
|
|
|
onRevoke() {
|
|
|
+ this.dialogVisible = true;
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 提交撤销审核原因
|
|
|
+ */
|
|
|
+ addSubmit() {
|
|
|
var ZYH = this.multipleSelection.map(row => row['ZYH']);
|
|
|
- applyForReview({ ZYH: ZYH, status: 0 } ).then(res => {
|
|
|
+ if (this.alertForm.reason === '') {
|
|
|
+ this.$message.error('请填写撤销审核原因!');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ applyForReview({ ZYH: ZYH, status: 0, reason: this.alertForm.reason } ).then(res => {
|
|
|
this.$message.success(res.msg || '撤销成功');
|
|
|
+ this.dialogVisible = false;
|
|
|
this.$parent.getList();
|
|
|
}).catch(error => {
|
|
|
console.log(error);
|
|
|
})
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|