Min 1 rok pred
rodič
commit
8a9197236d

+ 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;