Min 1 년 전
부모
커밋
8a9197236d
1개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 24 0
      fhKeeper/formulahousekeeper/timesheet/src/views/project/budgetReview.vue

+ 24 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/project/budgetReview.vue

@@ -199,6 +199,30 @@ export default {
         }
     },
     methods: {
+
+        review(id,checkType){
+            this.http.post("/group-budget-review/check", {id:id,checkType:checkType},
+            res => {
+                if (res.code == "ok") {
+                    this.$message({
+                        message:"操作成功",
+                        type: "success"
+                    });
+                    this.getList();
+                } else {
+                    this.$message({
+                        message: res.msg,
+                        type: "error"
+                    });
+                }
+            },
+            error => {
+                this.$message({
+                    message: error,
+                    type: "error"
+                });
+            });
+        },
         //获取待审核的数据列表
         getList() {
             this.listLoading = true;