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){