Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
8e58faec
Commit
8e58faec
authored
Apr 30, 2025
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持银盾家办 与 CFFP财富中心APP 根据配置分开打包
parent
893c5ddc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
55 additions
and
21 deletions
+55
-21
api/api.ts
+1
-3
components/login/login.vue
+3
-4
environments/environment.ts
+6
-2
pages/orderConfirm/orderConfirm.vue
+0
-1
pages/personalCenter/accountoperation/aboutcffp.vue
+24
-5
pages/personalCenter/personalCenter.vue
+9
-2
pages/personalCenter/system/settings.vue
+3
-3
pages/personalCenter/user-information.vue
+9
-1
No files found.
api/api.ts
View file @
8e58faec
...
@@ -353,8 +353,6 @@ export default {
...
@@ -353,8 +353,6 @@ export default {
powerQuery
(
params
){
powerQuery
(
params
){
return
request
(
`
${
cffpURL
}
/user/powerQuery`
,
"POST"
,
params
)
return
request
(
`
${
cffpURL
}
/user/powerQuery`
,
"POST"
,
params
)
},
},
//保存访问记录接口
//保存访问记录接口
accessLogSave
(
params
){
accessLogSave
(
params
){
return
request
(
`
${
cffpURL
}
/accessLog/accessLogSave`
,
"POST"
,
params
)
return
request
(
`
${
cffpURL
}
/accessLog/accessLogSave`
,
"POST"
,
params
)
...
@@ -389,6 +387,6 @@ export default {
...
@@ -389,6 +387,6 @@ export default {
},
},
//轮播图
//轮播图
getBanner
(
params
)
{
getBanner
(
params
)
{
return
request
(
`
https://hoservice.ydhomeoffice.cn/hoserviceApi
/metadata/getBanner`
,
'POST'
,
params
)
return
request
(
`
${
apiURL
}
/metadata/getBanner`
,
'POST'
,
params
)
}
}
}
}
components/login/login.vue
View file @
8e58faec
...
@@ -81,8 +81,8 @@
...
@@ -81,8 +81,8 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
company
Name
:
companyInfo
.
companyNam
e
,
company
Type
:
companyInfo
.
companyTyp
e
,
// 登陆方式初始化为验证码登录
companyName
:
companyInfo
.
appName
,
loginType
:
'codelogin'
,
loginType
:
'codelogin'
,
passwordFlag
:
false
,
passwordFlag
:
false
,
loginTypeName
:
'验证码登录'
,
loginTypeName
:
'验证码登录'
,
...
@@ -100,8 +100,7 @@
...
@@ -100,8 +100,7 @@
doublePassword
:
null
,
doublePassword
:
null
,
agreeFlag
:
false
,
agreeFlag
:
false
,
userId
:
null
,
userId
:
null
,
imgSrc
:
'../../static/yd_Logo.png'
,
imgSrc
:
companyInfo
.
companyLogo
,
//imgSrc:'../../static/cffp_logo.png',
fileType
:
null
fileType
:
null
}
}
},
},
...
...
environments/environment.ts
View file @
8e58faec
...
@@ -15,11 +15,15 @@ const prod = {
...
@@ -15,11 +15,15 @@ const prod = {
}
}
let
companyInfo
=
{
let
companyInfo
=
{
// companyType: '1',
// companyType: '1',
// appName: 'CFFP财富中心',
// companyName: '赢盾财务顾问',
// companyName: '赢盾财务顾问',
// companyFullName: '江苏赢盾财务顾问有限公司'
// companyFullName: '江苏赢盾财务顾问有限公司',
// companyLogo:'../../static/cffp_logo.png',
companyType
:
'2'
,
companyType
:
'2'
,
appName
:
'银盾家办'
,
companyName
:
'银盾家办'
,
companyName
:
'银盾家办'
,
companyFullName
:
'银盾家办(广州)企业管理咨询有限公司'
companyFullName
:
'银盾家办(广州)企业管理咨询有限公司'
,
companyLogo
:
'../../static/yd_Logo.png'
}
}
const
config
=
{
const
config
=
{
dev
,
dev
,
...
...
pages/orderConfirm/orderConfirm.vue
View file @
8e58faec
...
@@ -269,7 +269,6 @@
...
@@ -269,7 +269,6 @@
})
})
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
//console.log('fail:' + JSON.stringify(err));
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/orderStatus/orderStatus?orderId=
${
_this
.
orderId
}
&fileId=
${
_this
.
fileId
}
&orderStatus=1&userId=
${
_this
.
userId
}
&isRedirect=1`
url
:
`/pages/orderStatus/orderStatus?orderId=
${
_this
.
orderId
}
&fileId=
${
_this
.
fileId
}
&orderStatus=1&userId=
${
_this
.
userId
}
&isRedirect=1`
})
})
...
...
pages/personalCenter/accountoperation/aboutcffp.vue
View file @
8e58faec
...
@@ -3,10 +3,11 @@
...
@@ -3,10 +3,11 @@
<text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"top: 10rpx;"
></text>
<text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"top: 10rpx;"
></text>
<view
class=
"header"
>
<view
class=
"header"
>
<view
class=
"header-box"
>
<view
class=
"header-box"
>
<view
class=
"header-box-img"
>
<view
class=
"header-box-img"
>
<image
:src=
"companyLogo"
alt=
"logo"
srcset=
""
class=
"iconBox"
mode=
"widthFix"
></image>
</view>
</view>
<view
class=
""
style=
"text-align: center;"
>
<view
class=
""
style=
"text-align: center;"
>
<p
style=
"font-size: 22px;font-weight: 500;"
>
银盾家办
APP
</p>
<p
style=
"font-size: 22px;font-weight: 500;"
>
{{
appName
}}
APP
</p>
<p
style=
"margin-top: 20rpx;"
>
V1.0
</p>
<p
style=
"margin-top: 20rpx;"
>
V1.0
</p>
</view>
</view>
</view>
</view>
...
@@ -36,7 +37,10 @@
...
@@ -36,7 +37,10 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
companyFullName
:
companyInfo
.
companyFullName
companyType
:
companyInfo
.
companyType
,
companyFullName
:
companyInfo
.
companyFullName
,
appName
:
companyInfo
.
appName
,
companyLogo
:
'../../../static/myteam/logo.png'
}
}
},
},
created
()
{
created
()
{
...
@@ -45,6 +49,20 @@
...
@@ -45,6 +49,20 @@
destroyed
()
{
destroyed
()
{
uni
.
hideToast
();
uni
.
hideToast
();
},
},
onLoad
(
option
)
{
if
(
this
.
companyType
==
'1'
){
this
.
companyLogo
=
'../../../static/myteam/Group1633.png'
;
}
else
if
(
this
.
companyType
==
'2'
){
this
.
companyLogo
=
'../../../static/myteam/logo.png'
}
},
onShow
()
{
if
(
this
.
companyType
==
'1'
){
this
.
companyLogo
=
'../../../static/myteam/Group1633.png'
;
}
else
if
(
this
.
companyType
==
'2'
){
this
.
companyLogo
=
'../../../static/myteam/logo.png'
}
},
methods
:{
methods
:{
goBack
()
{
goBack
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
...
@@ -106,8 +124,8 @@
...
@@ -106,8 +124,8 @@
width
:
124
rpx
;
width
:
124
rpx
;
height
:
124
rpx
;
height
:
124
rpx
;
margin
:
90
rpx
auto
45
rpx
auto
;
margin
:
90
rpx
auto
45
rpx
auto
;
//
background
:
url(
'../../../static/myteam/Group1633.png'
)
;
//
background
:
url(
{{this.companyLogo}}
)
;
background
:
url('../../../static/myteam/logo.png')
;
//
background
:
url('../../../static/myteam/logo.png')
;
background-size
:
auto
100%
;
background-size
:
auto
100%
;
}
}
</
style
>
</
style
>
\ No newline at end of file
pages/personalCenter/personalCenter.vue
View file @
8e58faec
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- 头部信息 -->
<!-- 头部信息 -->
<view
class=
"basicInfoBox"
>
<view
class=
"basicInfoBox"
>
<view
class=
"avatar"
>
<view
class=
"avatar"
>
<image
:src=
"customerBasicInfo.headPicture?customerBasicInfo.headPicture:
'../../static/myteam/logo.png'
"
alt=
""
srcset=
""
></image>
<image
:src=
"customerBasicInfo.headPicture?customerBasicInfo.headPicture:
companyLogo
"
alt=
""
srcset=
""
></image>
</view>
</view>
<view
class=
"infoBox"
>
<view
class=
"infoBox"
>
<view
class=
"firstLineBox"
>
<view
class=
"firstLineBox"
>
...
@@ -80,10 +80,12 @@
...
@@ -80,10 +80,12 @@
import
common
from
"../../common/common"
;
import
common
from
"../../common/common"
;
import
tabBar
from
'../../components/tabBar/tabBar.vue'
;
import
tabBar
from
'../../components/tabBar/tabBar.vue'
;
import
api
from
"@/api/api"
;
import
api
from
"@/api/api"
;
import
{
companyInfo
}
from
"@/environments/environment"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// loadshow:true,
companyType
:
companyInfo
.
companyType
,
companyLogo
:
'../../static/myteam/logo.png'
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
inviteEqrode
:
''
,
inviteEqrode
:
''
,
currentPage
:
'personalCenter'
,
currentPage
:
'personalCenter'
,
...
@@ -138,6 +140,11 @@
...
@@ -138,6 +140,11 @@
tabBar
,
tabBar
,
},
},
onShow
()
{
onShow
()
{
if
(
this
.
companyType
==
'1'
){
this
.
companyLogo
=
'../../static/myteam/Group1633.png'
;
}
else
if
(
this
.
companyType
==
'2'
){
this
.
companyLogo
=
'../../static/myteam/logo.png'
;
}
this
.
queryInfo
();
this
.
queryInfo
();
let
loginType
=
uni
.
getStorageSync
(
'loginType'
)
let
loginType
=
uni
.
getStorageSync
(
'loginType'
)
if
(
loginType
==
"visitor"
){
if
(
loginType
==
"visitor"
){
...
...
pages/personalCenter/system/settings.vue
View file @
8e58faec
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
MenuList
from
"@/components/menuList/menuList.vue"
import
MenuList
from
"@/components/menuList/menuList.vue"
import
{
companyInfo
}
from
"@/environments/environment"
;
export
default
{
export
default
{
components
:{
MenuList
},
components
:{
MenuList
},
data
()
{
data
()
{
...
@@ -39,7 +39,7 @@ import MenuList from "@/components/menuList/menuList.vue"
...
@@ -39,7 +39,7 @@ import MenuList from "@/components/menuList/menuList.vue"
isTips
:
true
,
isTips
:
true
,
},
},
{
{
title
:
'关于
银盾家办
APP'
,
title
:
'关于
'
+
companyInfo
.
appName
+
'
APP'
,
icon
:
'myCertify'
,
icon
:
'myCertify'
,
link
:
'/pages/personalCenter/accountoperation/aboutcffp'
,
link
:
'/pages/personalCenter/accountoperation/aboutcffp'
,
isOpen
:
true
,
isOpen
:
true
,
...
...
pages/personalCenter/user-information.vue
View file @
8e58faec
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"header"
>
<view
class=
"header"
>
<view
class=
"headportrait"
@
click=
"uploadAvatar()"
>
<view
class=
"headportrait"
@
click=
"uploadAvatar()"
>
<!--
<image
:src=
"optionForm.headPicture ? optionForm.headPicture :'../../static/myteam/Group1633.png'"
mode=
""
></image>
-->
<!--
<image
:src=
"optionForm.headPicture ? optionForm.headPicture :'../../static/myteam/Group1633.png'"
mode=
""
></image>
-->
<image
:src=
"optionForm.headPicture ? optionForm.headPicture :
'../../static/myteam/logo.png'
"
mode=
""
></image>
<image
:src=
"optionForm.headPicture ? optionForm.headPicture :
companyLogo
"
mode=
""
></image>
</view>
</view>
</view>
</view>
<!--
<view
class=
"linechart"
>
<!--
<view
class=
"linechart"
>
...
@@ -39,9 +39,12 @@
...
@@ -39,9 +39,12 @@
import
EchartsEl
from
'@/components/echarts/echarts-el.vue'
import
EchartsEl
from
'@/components/echarts/echarts-el.vue'
import
api
from
"@/api/api"
;
import
api
from
"@/api/api"
;
import
common
from
'../../common/common'
;
import
common
from
'../../common/common'
;
import
{
companyInfo
}
from
"@/environments/environment"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
companyType
:
companyInfo
.
companyType
,
companyLogo
:
'../../static/myteam/logo.png'
,
dataForm
:
{
dataForm
:
{
loginId
:
"1"
,
loginId
:
"1"
,
targetType
:
"5"
,
targetType
:
"5"
,
...
@@ -77,6 +80,11 @@
...
@@ -77,6 +80,11 @@
EchartsEl
EchartsEl
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
this
.
companyType
==
'1'
){
this
.
companyLogo
=
'../../static/myteam/Group1633.png'
;
}
else
if
(
this
.
companyType
==
'2'
){
this
.
companyLogo
=
'../../static/myteam/logo.png'
;
}
this
.
optionForm
=
JSON
.
parse
(
options
.
customerBasicInfo
)
this
.
optionForm
=
JSON
.
parse
(
options
.
customerBasicInfo
)
},
},
methods
:
{
methods
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment