From a9df06151d33d7564cb68dc707964440a13f6c92 Mon Sep 17 00:00:00 2001
From: guoxing <1369478551@qq.com>
Date: Tue, 18 Apr 2023 10:16:01 +0800
Subject: [PATCH] =?UTF-8?q?2023-04-18=20=E4=BE=9B=E5=BA=94=E5=95=86?=
=?UTF-8?q?=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
supervise-customer-ui/.env.development | 2 +-
.../src/api/supervise/supplierbankinfo.js | 8 ++++++--
.../supplierbankinfo/supplierbankinfo.vue | 15 +++++++++++----
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/supervise-customer-ui/.env.development b/supervise-customer-ui/.env.development
index 96a7c40f..75976752 100644
--- a/supervise-customer-ui/.env.development
+++ b/supervise-customer-ui/.env.development
@@ -6,4 +6,4 @@ VUE_APP_BASE_API = '/api/service'
## 配置测试和本地开发时的 接口地址
##VUE_APP_URL = "http://8.130.39.13:8112"
-VUE_APP_URL = "http://127.0.0.1:8112"
+VUE_APP_URL = "http://192.168.3.173:8112"
diff --git a/supervise-customer-ui/src/api/supervise/supplierbankinfo.js b/supervise-customer-ui/src/api/supervise/supplierbankinfo.js
index 52d8d57b..8f344dd2 100644
--- a/supervise-customer-ui/src/api/supervise/supplierbankinfo.js
+++ b/supervise-customer-ui/src/api/supervise/supplierbankinfo.js
@@ -30,8 +30,12 @@ export default {
delBySids: function(sid) {
return request({
baseURL: '/api',
- url: '/customer/v1/supplierbankinfo/delBySids/' + sid,
- method: 'delete'
+ url: '/customer/v1/supplierbankinfo/delBySids',
+ method: 'delete',
+ data: sid,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
})
},
// 通过sid查询一条记录
diff --git a/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue b/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue
index 1227025f..2cf08eb9 100644
--- a/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue
+++ b/supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue
@@ -51,10 +51,10 @@
-
-
+
+
@@ -271,6 +271,10 @@
},
filing() {},
toRelevancyInfo(row) {
+
+ let sids = []
+ sids.push(row.sid)
+
const tip = '请确认是否删除所选记录?'
this.$confirm(tip, '提示', {
confirmButtonText: '确定',
@@ -283,7 +287,10 @@
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
- req.delBySids(row.sid).then((resp) => {
+
+ console.log("sids",sids)
+
+ req.delBySids(sids).then((resp) => {
loading.close()
if (resp.success) {
this.$message({