From 86e1771492682458a58b088708ad954dc9a00a33 Mon Sep 17 00:00:00 2001
From: rainbro <33367671@qq.com>
Date: Wed, 25 Jun 2025 18:12:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=AC=BE=E6=96=B9=E5=BC=8F=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E7=AB=99=E7=82=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/site/tip.svg | 1 +
src/views/agent/payList.vue | 121 +++++++++++++++++++++++++++++++++++++++-----
2 files changed, 109 insertions(+), 13 deletions(-)
create mode 100644 src/assets/site/tip.svg
diff --git a/src/assets/site/tip.svg b/src/assets/site/tip.svg
new file mode 100644
index 0000000..6dff31b
--- /dev/null
+++ b/src/assets/site/tip.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/agent/payList.vue b/src/views/agent/payList.vue
index aa7bbfc..7c7aecb 100644
--- a/src/views/agent/payList.vue
+++ b/src/views/agent/payList.vue
@@ -37,15 +37,18 @@
-
-
-
-
+
+
+
+
+
启用站点
+
+
+
{{ site_short_name }}
+
+
{{ payBindSites[scope.row.payid].length }}
+
+
@@ -89,7 +92,18 @@
-
+
+
+
+
+
启用站点
+
+
+
{{ site_short_name }}
+
+
{{ payBindSites[scope.row.payid].length }}
+
+
@@ -130,7 +144,18 @@
-
+
+
+
+
+
启用站点
+
+
+
{{ site_short_name }}
+
+
{{ payBindSites[scope.row.payid].length }}
+
+
@@ -172,7 +197,18 @@
-
+
+
+
+
+
启用站点
+
+
+
{{ site_short_name }}
+
+
{{ payBindSites[scope.row.payid].length }}
+
+
@@ -213,7 +249,18 @@
-
+
+
+
+
+
启用站点
+
+
+
{{ site_short_name }}
+
+
{{ payBindSites[scope.row.payid].length }}
+
+
@@ -421,6 +468,8 @@ export default {
pdd_shop_name: '',
// 京东授权url
jdAuthUrl: '',
+
+ payBindSites: [],
}
},
computed: {
@@ -429,6 +478,7 @@ export default {
mounted() {
this.getAddablePays()
this.getPayList()
+ this.getPayBindSites()
},
methods: {
// 获取可添加的收款方式
@@ -484,6 +534,24 @@ export default {
console.error(error, 'error')
})
},
+ // 获取收款方式绑定的站点
+ getPayBindSites() {
+ this.$http('POST', '/agentnew/ajax_get_pay_bind_sites', {
+ gid: this.gid,
+ },{
+ headers:{
+ 'Auth': this.token
+ }
+ }).then(response => {
+ this.tableLoading = false
+ this.$nextTick(() => {
+ this.payBindSites = response.data
+ console.log(this.payBindSites)
+ })
+ }).catch(error => {
+ console.error(error, 'error')
+ })
+ },
updatePayStatus(row) {
this.$http('POST', '/agentnew/ajax_update_pay_status', {
payid: row.payid,
@@ -677,11 +745,38 @@ export default {
color:#8A9099 !important;
}
+.ml-5 {
+ margin-left: 5px;
+}
+.ml-8 {
+ margin-left: 8px;
+}
+
a {
text-decoration: none;
color: #006AFF;
}
+.bind-sites-title {
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ letter-spacing: 0.08em;
+ color: #1E2226;
+}
+
+.bind-sites p {
+ font-size: 14px;
+ font-weight: normal;
+ line-height: normal;
+ letter-spacing: 0.08em;
+ color: #1E2226;
+ height: 18px;
+ line-height: 18px;
+ z-index: 0;
+ margin-top: 12px;
+}
+
.el-table {
min-height: auto !important;
}