소스 검색

Merge branch '1025branch' of http://106.55.241.82:3000/lzf/zhbsq-vue-web into 1025branch

1 년 전
부모
커밋
5d20430c50
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/views/task/index.vue

+ 5 - 4
src/views/task/index.vue

@@ -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();