|
@@ -40,7 +40,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="审核状态" align="center" prop="status">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag v-if="scope.row.status == '1'" type="success">同意</el-tag>
|
|
|
+ <el-tag v-if="scope.row.status == '1'" type="success">审核通过</el-tag>
|
|
|
<el-tag v-else-if="scope.row.status == '2'" type="danger">驳回</el-tag>
|
|
|
<el-tag v-else-if="scope.row.status == '3'" type="info">退回</el-tag>
|
|
|
<el-tag v-else-if="scope.row.status == '0'">待审核</el-tag>
|
|
@@ -232,7 +232,7 @@ export default {
|
|
|
status: [
|
|
|
{
|
|
|
required: true,
|
|
|
- message: "审核状态(1=同意,2=驳回)不能为空",
|
|
|
+ message: "审核状态(1=审核通过,2=驳回)不能为空",
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
],
|
|
@@ -243,7 +243,7 @@ export default {
|
|
|
statusList: [
|
|
|
{ value: null, label: "全部" },
|
|
|
{ value: "0", label: "待审核" },
|
|
|
- { value: "1", label: "同意" },
|
|
|
+ { value: "1", label: "审核通过" },
|
|
|
{ value: "2", label: "驳回" },
|
|
|
{ value: "3", label: "退回" },
|
|
|
],
|
|
@@ -263,7 +263,8 @@ export default {
|
|
|
comments: this.subForm.comments,
|
|
|
taskId: this.taskList.id,
|
|
|
};
|
|
|
- if (this.subTitle == "同意") {
|
|
|
+
|
|
|
+ if (this.subTitle == "审核通过") {
|
|
|
approve(data).then((res) => {
|
|
|
this.dialogVisible = false;
|
|
|
this.qx();
|