From 99a010f21d278498bafd248217c584e101db2d8f Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 01 九月 2022 17:27:17 +0800
Subject: [PATCH] 1.自动扫码回车功能接入
---
src/views/zlgl/gxjyjl.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/views/zlgl/gxjyjl.vue b/src/views/zlgl/gxjyjl.vue
index f217996..10a3446 100644
--- a/src/views/zlgl/gxjyjl.vue
+++ b/src/views/zlgl/gxjyjl.vue
@@ -195,12 +195,20 @@
<el-table-column
label="鎿嶄綔"
fixed="right"
- width="120"
+ width="80"
>
<template slot-scope="{row}">
<div class="operationClass">
- <el-button type="text" @click="check(row)">鏌ョ湅</el-button>
+ <!-- <el-button type="text" @click="check(row)">鏌ョ湅</el-button>-->
<!-- <el-button type="text" @click="del(row)">鍒犻櫎</el-button>-->
+
+ <el-tooltip class="item" effect="dark" content="鏌ョ湅" placement="top">
+ <i
+ class="el-icon-view"
+ style="color: #42b983;cursor: pointer;margin-right: 15px;"
+ @click="check(row)"
+ />
+ </el-tooltip>
</div>
</template>
</el-table-column>
@@ -480,6 +488,9 @@
DeleteOrganization({ orgid: row.code }).then(res => {
if (res.code === '200') {
this.$message.success('鍒犻櫎鎴愬姛!')
+ if (this.form.page > 1 && this.tableData.length === 1) {
+ this.form.page--
+ }
this.getStepCheckTableSearch()
}
})
--
Gitblit v1.9.3