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/notDeal/index.vue |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/views/operate/disposal/casepool/notDeal/index.vue b/src/views/operate/disposal/casepool/notDeal/index.vue
index 68503bb..80744b1 100644
--- a/src/views/operate/disposal/casepool/notDeal/index.vue
+++ b/src/views/operate/disposal/casepool/notDeal/index.vue
@@ -54,7 +54,7 @@
                     <el-table-column prop="operation" label="鎿嶄綔" min-width="20">
                         <template slot-scope="scope">
                             <div class="btn">
-                                <span @click="opernDialog(scope.row)">閲嶆柊澶勭疆</span>
+                                <span @click="handleReset(scope.row)">閲嶆柊澶勭疆</span>
                             </div>
                         </template>
                     </el-table-column>
@@ -334,6 +334,29 @@
             this.caseId = data.id;
             // console.log(data); 
         },
+        // 閲嶆柊澶勭疆
+        handleReset({id}){
+            console.log(id);
+            this.$axios({
+                method:'put',
+                url:'sccg/base_case/reset?caseId='+id
+            })
+            .then(res=>{
+                console.log(res);
+                if(res.code === 200){
+                    this.$message({
+                        type:'success',
+                        message:'澶勭疆鎴愬姛',
+                    })
+                    this.getUserList();
+                }else{
+                    this.$message({
+                        type:'error',
+                        message:'鎿嶄綔澶辫触'
+                    })
+                }
+            })
+        },
         // 鍏抽棴涓婁紶鐣岄潰
         closeDialog({flag}){
             this.dialogUpload = flag;

--
Gitblit v1.8.0