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; }