sr 4 gadi atpakaļ
vecāks
revīzija
5efc2d52c3

+ 8 - 0
ruoyi-ui/src/api/statistical/index.js

@@ -8,6 +8,14 @@ export function getIndexEharts(query) {
     params: query
   })
 }
+// 确认审核
+export function setPass(data) {
+  return request({
+    url: '/bmProject/project/pass',
+    method: 'post',
+    data
+  })
+}
 // 在谈线索-柱状图
 export function getProjectUnitAmountEharts(query) {
   return request({

+ 6 - 4
ruoyi-ui/src/views/index.vue

@@ -148,6 +148,7 @@
         })
       },
       bh_brn(scope) {
+        const _this = this
         this.$confirm('是否确认驳回审核', "提醒", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
@@ -158,11 +159,12 @@
             bmProjectId: scrop.id
           });
         }).then(() => {
-          this.getList();
-          this.msgSuccess("提交成功");
+          _this.getList();
+          _this.msgSuccess("提交成功");
         })
       },
       infoBtn(scope) {
+        const _this = this
         this.$confirm('是否确认提交审核', "提醒", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
@@ -173,8 +175,8 @@
             bmProjectId: scrop.id
           });
         }).then(() => {
-          this.getList();
-          this.msgSuccess("提交成功");
+          _this.getList();
+          _this.msgSuccess("提交成功");
         })
         },
       getList() {

+ 4 - 3
ruoyi-ui/src/views/statistical/clue/index.vue

@@ -11,10 +11,10 @@
                 <template slot-scope="scope">
                   <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="dec_btn(scope.row)">查看详情</el-button>
-                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                <!--  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="infoBtn(scope.row)" v-if="scope.row.projectStatus%2==1">提交</el-button>
                   <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="bh_brn(scope.row)">销号</el-button>
+                    @click="bh_brn(scope.row)">销号</el-button> -->
                 </template>
               </el-table-column>
             </el-table>
@@ -66,7 +66,8 @@
     toBeReviewedList,
     setExamine,
     setReject,
-    getUnitAmountList,
+    getUnitAmountList,
+    setPass,
     getIndexEharts
   } from '@/api/statistical'
   export default {

+ 2 - 2
ruoyi-ui/src/views/statistical/putProduction/index.vue

@@ -11,10 +11,10 @@
                 <template slot-scope="scope">
                   <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="dec_btn(scope.row)">查看详情</el-button>
-                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                 <!-- <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="infoBtn(scope.row)" v-if="scope.row.projectStatus%2==1">提交</el-button>
                   <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="bh_brn(scope.row)">销号</el-button>
+                    @click="bh_brn(scope.row)">销号</el-button> -->
                 </template>
               </el-table-column>
             </el-table>

+ 2 - 2
ruoyi-ui/src/views/statistical/sign/index.vue

@@ -11,10 +11,10 @@
                 <template slot-scope="scope">
                   <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="dec_btn(scope.row)">查看详情</el-button>
-                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                 <!-- <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="infoBtn(scope.row)">{{scope.row.projectStatus%2==1?'提交':'驳回'}}</el-button>
                   <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="bh_brn(scope.row)">销号</el-button>
+                    @click="bh_brn(scope.row)">销号</el-button> -->
                 </template>
               </el-table-column>
             </el-table>

+ 2 - 2
ruoyi-ui/src/views/statistical/underConstruction/index.vue

@@ -11,10 +11,10 @@
                 <template slot-scope="scope">
                   <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="dec_btn(scope.row)">查看详情</el-button>
-                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                  <!-- <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
                     @click="infoBtn(scope.row)" v-if="scope.row.projectStatus%2==1">提交</el-button>
                   <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="bh_brn(scope.row)">销号</el-button>
+                    @click="bh_brn(scope.row)">销号</el-button> -->
                 </template>
               </el-table-column>
             </el-table>