From 184acd5b0b7b91eac0ee6c028f50437dbd087573 Mon Sep 17 00:00:00 2001 From: luobisheng <727299681@qq.com> Date: 星期四, 08 十二月 2022 10:41:41 +0800 Subject: [PATCH] 我的待办参数修改,案卷查询搜索参数修改 --- src/views/operate/management/myIndex/index.vue | 18 ++++-------------- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/views/operate/management/myIndex/index.vue b/src/views/operate/management/myIndex/index.vue index 03bbd75..a2c15c5 100644 --- a/src/views/operate/management/myIndex/index.vue +++ b/src/views/operate/management/myIndex/index.vue @@ -84,7 +84,7 @@ <!-- 璇︽儏椤甸潰 --> <el-dialog :visible.sync="dialogView" width="80%" title="鍩虹淇℃伅(浜哄伐)" v-if="dialogView" :before-close="handleNoClose"> - <MyDetail :info=info v-if="myproblem==1 ? true:false" :mycode = 'code'></MyDetail> + <MyDetail :info=info v-if="myproblem === 1" :mycode = 'code'></MyDetail> <MyIllDetail :info=info v-else :mycode="code"></MyIllDetail> </el-dialog> <!-- tools --> @@ -185,7 +185,6 @@ methods: { // 鎵归噺鍒犻櫎 mulDelete(idArr) { - console.log(idArr); this.$axios({ method: 'delete', url: 'sccg/violations/batch_delete?ids=' + idArr, @@ -199,7 +198,6 @@ }, // 鎵ц涓嬫媺妗嗘搷浣� selectChange(list) { - console.log(this.tempList); if (this.tempList.length !== 0) { if (list === 3) { this.preMyIdx = list; @@ -219,11 +217,7 @@ list.forEach(item => { this.tempList.push(item.code); }) - if (list.length === this.tableData.length) { - this.all = true; - } else { - this.all = false - } + this.all = list.length === this.tableData.length; }, // 鍏ㄩ�� selectAll() { @@ -237,10 +231,8 @@ }, // 鍒犻櫎鍗曟潯鏁版嵁 handleDelete({ number }) { - console.log(number); this.$confirm('纭鍒犻櫎锛�') .then(_ => { - console.log(1); this.$axios({ method: 'delete', url: `sccg/violations/delete?id=${number}`, @@ -254,7 +246,7 @@ this.getUserList(); }) }) - .catch(_ => { console.log(2) }); + .catch(_ => { }); }, // 鑾峰彇鐢ㄦ埛鍒楄〃 getUserList() { @@ -269,12 +261,11 @@ }, // 璁剧疆琛ㄦ牸鏂戦┈绾� tableRowClassName({ row, rowIndex }) { - if ((rowIndex + 1) % 2 == 0) { + if ((rowIndex + 1) % 2 === 0) { return 'warning-row'; } else { return 'success-row'; } - return ''; }, // 褰撳墠椤垫敼鍙樿Е鍙戜簨浠� changeCurrentPage(page) { @@ -399,7 +390,6 @@ background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; .btn span:hover{ cursor: pointer; } -- Gitblit v1.8.0