From fd51b49c7139b48d06c62a2e1bdd8906f215e776 Mon Sep 17 00:00:00 2001 From: qdintc Date: Sun, 17 Aug 2025 22:13:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 8 ++++---- src/pages/login.vue | 9 --------- src/pages/work/accounts/accountDealRecord/addEdit.vue | 10 ++++++++-- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/config.js b/src/config.js index 8325230..9260eda 100644 --- a/src/config.js +++ b/src/config.js @@ -1,6 +1,6 @@ // 应用全局配置 const config = { - baseUrl: 'http://152.136.151.187:82/prod-api', + baseUrl: 'https://qdintc.com//prod-api', // baseUrl: 'http://localhost:8080', //cloud后台网关地址 // baseUrl: 'http://192.168.10.3:8080', @@ -13,15 +13,15 @@ const config = { // 应用logo logo: "/static/logo.jpg", // 官方网站 - site_url: "http://www.qdintc.com", + site_url: "https://www.qdintc.com", // 政策协议 agreements: [{ title: "隐私政策", - url: "http://qdintc.com/static/protocol.html" + url: "https://qdintc.com/static/protocol.html" }, { title: "用户服务协议", - url: "http://qdintc.com/static/protocol.html" + url: "https://qdintc.com/static/protocol.html" } ] } diff --git a/src/pages/login.vue b/src/pages/login.vue index ddbb26b..ff96e0b 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -14,13 +14,6 @@ - - - - - { form.value.childCategoryName=dictStr(form.value.childCategory, result.data) }) } else { - form.value.childCategoryName = form.value.childCategory + form.value.childCategoryName = form.value.dealCategory + form.value.childCategory = form.value.dealCategory childCategoryShow.value = false } // 交易类别 @@ -236,6 +237,7 @@ getDicts('deal_category').then(result => { }) }) } + console.log(form.value) } function dictStr(val, arr) { let str = '' @@ -359,6 +361,10 @@ getDicts('deal_category').then(result => { datePickShow.value = false } function submit() { + if (!form.value.dealCategory === '1') { + form.value.childCategory = form.value.dealCategory + form.value.childCategoryName = form.value.dealCategory + } proxy.$refs['uForm'].validate().then(() => { if (form.value.id != null) { if(flag.value==null){