From 40d4cc2e89f2f8d2aa0253d718dd7e156641c076 Mon Sep 17 00:00:00 2001 From: rainbro <33367671@qq.com> Date: Mon, 7 Jul 2025 10:44:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E6=80=A7=E5=8C=96=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=20=E7=AB=99=E7=82=B9=E7=B1=BB=E5=9E=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/agent/sitePersonalization.vue | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/src/views/agent/sitePersonalization.vue b/src/views/agent/sitePersonalization.vue index 03df269..4443d28 100644 --- a/src/views/agent/sitePersonalization.vue +++ b/src/views/agent/sitePersonalization.vue @@ -7,8 +7,9 @@

销售方向

- - +
+ +
@@ -30,7 +31,7 @@
- +

在线客服

@@ -296,6 +297,8 @@ export default { }).then(response => { this.$nextTick(() => { that.siteInfo = response.data + console.log(that.siteInfo.site_types) + that.siteInfo.is_display_outchain = Number(response.data.is_display_outchain) that.siteInfo.is_display_price = Number(response.data.is_display_price) that.siteInfo.is_display_submit_page_price = Number(response.data.is_display_submit_page_price) @@ -303,8 +306,6 @@ export default { if (response.data.repeat_submit_fields) { this.repeatSubmitFields = response.data.repeat_submit_fields } - - console.log(that.siteInfo.repeat_submit_fields, 'repeat_submit_fields') }) }).catch(error => { console.error(error, 'error') @@ -431,6 +432,26 @@ export default { console.error(error, 'error') }) }, + updateSiteType() { + this.$http('POST', '/agentnew/ajax_update_site_type', { + uid: this.$route.query.uid, + site_type: this.siteInfo.site_type, + }, { + headers: { + 'Auth': this.token + } + }).then(response => { + this.$nextTick(() => { + if (response.status) { + this.$Message.success(response.info); + } else { + this.$Message.error(response.info); + } + }) + }).catch(error => { + console.error(error, 'error') + }) + }, updateSitWebCustomerService() { // for(let [key,value] of this.formData){ // console.log(key,value,'=====key');