From fde4758dd43927cce678d99ffe71e05931616f26 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期日, 09 十月 2022 10:46:35 +0800 Subject: [PATCH] 创建车辆管理 --- src/views/operate/disposal/casepool/notDeal/index.vue | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/views/operate/disposal/casepool/notDeal/index.vue b/src/views/operate/disposal/casepool/notDeal/index.vue index 68503bb..41d872f 100644 --- a/src/views/operate/disposal/casepool/notDeal/index.vue +++ b/src/views/operate/disposal/casepool/notDeal/index.vue @@ -30,9 +30,9 @@ @selection-change="tableChange"> <el-table-column type="selection" min-width="5"> </el-table-column> - <el-table-column prop="id" label="浜嬩欢缂栧彿" min-width="10"> + <el-table-column prop="code" label="浜嬩欢缂栧彿" min-width="10"> <template slot-scope="scope"> - <el-link @click="JumpView(scope.row)">{{scope.row.id}}</el-link> + <el-link @click="JumpView(scope.row)">{{scope.row.code}}</el-link> </template> </el-table-column> <el-table-column prop="eventSource" label="闂鏉ユ簮" min-width="10"> @@ -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/case_status_update?caseId='+id+'&state=0' + }) + .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