From ce87e7746d6399c5a38a7f4fe10447d911b06051 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期六, 08 十月 2022 09:14:50 +0800
Subject: [PATCH] 新增案件池在学习、暂不处理

---
 src/views/operate/disposal/casepool/pool/index.vue |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 50 insertions(+), 4 deletions(-)

diff --git a/src/views/operate/disposal/casepool/pool/index.vue b/src/views/operate/disposal/casepool/pool/index.vue
index b9cb8fa..8a66305 100644
--- a/src/views/operate/disposal/casepool/pool/index.vue
+++ b/src/views/operate/disposal/casepool/pool/index.vue
@@ -79,9 +79,9 @@
                                 <span class="line">|</span>
                                 <span @click="handleDispatch(scope.row)">璋冨害</span>
                                 <span class="line">|</span>
-                                <span @click="handleDelete(scope.row)">鍦ㄥ涔�</span>
+                                <span @click="handleLearn(scope.row)">鍦ㄥ涔�</span>
                                 <span class="line">|</span>
-                                <span @click="handleDelete(scope.row)">鏆備笉澶勭悊</span>
+                                <span @click="handleNotDeal(scope.row)">鏆備笉澶勭悊</span>
                             </div>
                         </template>
                     </el-table-column>
@@ -200,12 +200,12 @@
                 },
                 {
                     name: '鍦ㄥ涔�',
-                    value: 4,
+                    value: 3,
                     checked: false
                 },
                 {
                     name: '鏆備笉澶勭悊',
-                    value: 5,
+                    value: 4,
                     checked: false
                 },
             ],
@@ -425,6 +425,52 @@
                     this.info = res.data;
                     this.dialogView = true;
                 })
+        },
+        // 鍦ㄥ涔�
+        handleLearn({id}){
+            console.log(id);
+            this.$axios({
+                method:'put',
+                url:'sccg/base_case/case_status_update?caseId='+id + '&state='+3
+            })
+            .then(res=>{
+                console.log(res);
+                if(res.code === 200){
+                    this.$message({
+                        type:'success',
+                        message:'鎿嶄綔鎴愬姛',
+                    })
+                    this.getUserList();
+                }else{
+                    this.$message({
+                        type:'error',
+                        message:'鎿嶄綔澶辫触'
+                    })
+                }
+            })
+        },
+        // 鏆備笉澶勭悊
+        handleNotDeal({id}){
+            console.log(id);
+            this.$axios({
+                method:'put',
+                url:'sccg/base_case/case_status_update?caseId='+id + '&state='+4
+            })
+            .then(res=>{
+                console.log(res);
+                if(res.code === 200){
+                    this.$message({
+                        type:'success',
+                        message:'鎿嶄綔鎴愬姛',
+                    })
+                    this.getUserList();
+                }else{
+                    this.$message({
+                        type:'error',
+                        message:'鎿嶄綔澶辫触'
+                    })
+                }
+            })
         }
     }
 }

--
Gitblit v1.8.0