Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
f557eb8e
Commit
f557eb8e
authored
May 28, 2021
by
nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
徐工三期需求,功能权限调整
parent
c453f7f5
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
386 additions
and
357 deletions
+386
-357
webpack.prod.conf.js
build/webpack.prod.conf.js
+1
-1
dev.env.js
config/dev.env.js
+1
-1
index.js
config/index.js
+1
-1
uat.env.js
config/uat.env.js
+1
-1
package.json
package.json
+3
-16
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+4
-4
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+0
-1
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+2
-2
my-contract.vue
src/pages/contractCreate/my-contract.vue
+1
-1
contract-repayment.vue
src/pages/contractRepayment/contract-repayment.vue
+1
-1
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+5
-5
add-car.vue
src/pages/contractStart/add-car.vue
+4
-4
start-list.vue
src/pages/contractStart/start-list.vue
+2
-2
function-list.vue
src/pages/functionCenter/function-list.vue
+49
-35
home-page.vue
src/pages/home/home-page.vue
+208
-178
message-list.vue
src/pages/messageCenter/message-list.vue
+1
-1
my-info.vue
src/pages/myInfo/my-info.vue
+3
-5
setting.vue
src/pages/myInfo/setting.vue
+1
-1
tab.vue
src/pages/tab.vue
+1
-1
index.js
src/router/index.js
+96
-95
index.html
www/index.html
+1
-1
No files found.
build/webpack.prod.conf.js
View file @
f557eb8e
...
@@ -26,7 +26,7 @@ const webpackConfig = merge(baseWebpackConfig, {
...
@@ -26,7 +26,7 @@ const webpackConfig = merge(baseWebpackConfig, {
output
:
{
output
:
{
path
:
config
.
build
.
assetsRoot
,
path
:
config
.
build
.
assetsRoot
,
filename
:
utils
.
assetsPath
(
'js/[name].[chunkhash].js'
),
filename
:
utils
.
assetsPath
(
'js/[name].[chunkhash].js'
),
chunkFilename
:
utils
.
assetsPath
(
'js/[id].[chunkhash].js'
)
chunkFilename
:
utils
.
assetsPath
(
'js/[
name].[
id].[chunkhash].js'
)
},
},
plugins
:
[
plugins
:
[
// http://vuejs.github.io/vue-loader/en/workflow/production.html
// http://vuejs.github.io/vue-loader/en/workflow/production.html
...
...
config/dev.env.js
View file @
f557eb8e
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"
2.9.9
"'
currentVersion
:
'"
3.0.0
"'
}
}
config/index.js
View file @
f557eb8e
...
@@ -87,7 +87,7 @@ module.exports = {
...
@@ -87,7 +87,7 @@ module.exports = {
* Source Maps
* Source Maps
*/
*/
productionSourceMap
:
tru
e
,
productionSourceMap
:
fals
e
,
// https://webpack.js.org/configuration/devtool/#production
// https://webpack.js.org/configuration/devtool/#production
devtool
:
'#source-map'
,
devtool
:
'#source-map'
,
...
...
config/uat.env.js
View file @
f557eb8e
...
@@ -11,5 +11,5 @@ module.exports = {
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"
2.9.9
"'
currentVersion
:
'"
3.0.0
"'
}
}
package.json
View file @
f557eb8e
...
@@ -13,20 +13,14 @@
...
@@ -13,20 +13,14 @@
"clean"
:
"rimraf www/*"
"clean"
:
"rimraf www/*"
},
},
"dependencies"
:
{
"dependencies"
:
{
"
IdCardPlugin
"
:
"
file:../card-plugin-test/IdCardPlugin
"
,
"
autosize
"
:
"
^3.0.20
"
,
"
autosize
"
:
"
^3.0.20
"
,
"
better-scroll
"
:
"
^1.10.3
"
,
"
better-scroll
"
:
"
^1.10.3
"
,
"
cordova-ios
"
:
"
^4.5.5
"
,
"
cordova-plugin-device
"
:
"
2.0.2
"
,
"
cordova-plugin-splashscreen
"
:
"
5.0.2
"
,
"
cordova-plugin-statusbar
"
:
"
2.4.2
"
,
"
cordova-plugin-whitelist
"
:
"
1.3.3
"
,
"
crypto-js
"
:
"
^3.1.9-1
"
,
"
crypto-js
"
:
"
^3.1.9-1
"
,
"
fastclick
"
:
"
https://hel.hand-china.com/easyUI/fastclick.git
"
,
"
fastclick
"
:
"
https://hel.hand-china.com/easyUI/fastclick.git
"
,
"
hls-easy-ui
"
:
"
https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard
"
,
"
hls-easy-ui
"
:
"
https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard
"
,
"
ionic-plugin-keyboard
"
:
"
^2.2.1
"
,
"
ionic-plugin-keyboard
"
:
"
^2.2.1
"
,
"
js-base64
"
:
"
^2.5.1
"
,
"
js-base64
"
:
"
^2.5.1
"
,
"
pdfjs-dist
"
:
"
^
2.2.228
"
,
"
pdfjs-dist
"
:
"
2.2.228
"
,
"
vue
"
:
"
^2.5.2
"
,
"
vue
"
:
"
^2.5.2
"
,
"
vue-router
"
:
"
^3.0.1
"
,
"
vue-router
"
:
"
^3.0.1
"
,
"
vuex
"
:
"
^2.1.1
"
,
"
vuex
"
:
"
^2.1.1
"
,
...
@@ -111,13 +105,6 @@
...
@@ -111,13 +105,6 @@
"ios"
,
"ios"
,
"android"
"android"
],
],
"plugins"
:
{
"plugins"
:
{}
"cordova-plugin-whitelist"
:
{},
"cordova-plugin-statusbar"
:
{},
"cordova-plugin-device"
:
{},
"cordova-plugin-splashscreen"
:
{},
"ionic-plugin-keyboard"
:
{},
"IdCardPlugin"
:
{}
}
}
}
}
}
\ No newline at end of file
src/pages/carConfirm/confirm-detail.vue
View file @
f557eb8e
...
@@ -174,9 +174,9 @@
...
@@ -174,9 +174,9 @@
</h-content>
</h-content>
<bottom-tab
v-if=
"!flag"
>
<bottom-tab
v-if=
"!flag"
>
<tab-button
class=
"before"
@
click
.
native=
"takePhonto"
>
<tab-button
class=
"before"
@
click
.
native=
"takePhonto"
>
<img
src=
"@/assets/constractSigning/certification.png"
>
认证
<img
src=
"@/assets/constractSigning/certification.png"
>
签署合同
</tab-button>
</tab-button>
<tab-button
class=
"approve"
@
click
.
native=
"isConfirm"
>
确定
</tab-button>
<tab-button
class=
"approve"
@
click
.
native=
"isConfirm"
>
提交审核
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -541,7 +541,7 @@ export default {
...
@@ -541,7 +541,7 @@ export default {
// 只有认证通过后方可进行签约操作
// 只有认证通过后方可进行签约操作
vm.hlsPopup.showConfirm({
vm.hlsPopup.showConfirm({
title: '提示',
title: '提示',
content: '您确定
同意发车
吗?',
content: '您确定
提交审核
吗?',
onConfirm: data => {
onConfirm: data => {
if (data === 1) {
if (data === 1) {
vm.confirm()
vm.confirm()
...
@@ -566,7 +566,7 @@ export default {
...
@@ -566,7 +566,7 @@ export default {
vm.$post(url, param).then(function (res) {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
if (res.result === 'S') {
vm.hlsPopup.showSuccess('
发车
成功')
vm.hlsPopup.showSuccess('
合同签署
成功')
setTimeout(() => {
setTimeout(() => {
vm.$router.push({
vm.$router.push({
name: 'MyInfo',
name: 'MyInfo',
...
...
src/pages/carConfirm/confirm-list.vue
View file @
f557eb8e
...
@@ -140,7 +140,6 @@ export default {
...
@@ -140,7 +140,6 @@ export default {
this
.
$refs
.
scroll
.
scrollToTop
()
this
.
$refs
.
scroll
.
scrollToTop
()
},
},
changePage
(
e
)
{
changePage
(
e
)
{
debugger
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ConfirmDetail'
,
name
:
'ConfirmDetail'
,
query
:
{
query
:
{
...
...
src/pages/contractCreate/contract-create-list.vue
View file @
f557eb8e
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
融租
申请
创建
</span>
<span>
融租
方案
创建
</span>
</div>
</div>
</h-header>
</h-header>
<div
class=
"tab-style has-header"
>
<div
class=
"tab-style has-header"
>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</scroll>
</scroll>
<bottom-tab>
<bottom-tab>
<tab-button
class=
"footer"
@
click
.
native=
"changePage"
>
<tab-button
class=
"footer"
@
click
.
native=
"changePage"
>
<img
class=
"add-img"
src=
"@/assets/contractCreate/create-add.png"
alt=
""
>
创建新合同
<img
class=
"add-img"
src=
"@/assets/contractCreate/create-add.png"
alt=
""
>
融租方案创建
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
</h-view>
</h-view>
...
...
src/pages/contractCreate/my-contract.vue
View file @
f557eb8e
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</div>
</div>
<div
v-if=
"multipleRole == 'AGENT' || (multipleRole == 'OFFICE' || user_bp_type == 'OFFICE')"
class=
"contract-item"
@
click=
"goCreate()"
>
<div
v-if=
"multipleRole == 'AGENT' || (multipleRole == 'OFFICE' || user_bp_type == 'OFFICE')"
class=
"contract-item"
@
click=
"goCreate()"
>
<img
src=
"@/assets/myInfo/contractCreate.png"
>
<img
src=
"@/assets/myInfo/contractCreate.png"
>
<span>
融租
申请
创建
</span>
<span>
融租
方案
创建
</span>
</div>
</div>
<div
v-if=
"multipleRole == 'GUTA'"
class=
"contract-item"
@
click=
"changeContract('GUTA')"
>
<div
v-if=
"multipleRole == 'GUTA'"
class=
"contract-item"
@
click=
"changeContract('GUTA')"
>
<img
src=
"@/assets/myInfo/under.png"
>
<img
src=
"@/assets/myInfo/under.png"
>
...
...
src/pages/contractRepayment/contract-repayment.vue
View file @
f557eb8e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</div>
</div>
</h-header>
</h-header>
<scroll
<scroll
v-
if
=
"data!==null"
v-
show
=
"data!==null"
ref=
"scroll"
:updateData=
"[lists]"
:pullUp=
"true"
class=
"pay-content"
ref=
"scroll"
:updateData=
"[lists]"
:pullUp=
"true"
class=
"pay-content"
@
pullingUp=
"getList"
>
@
pullingUp=
"getList"
>
<div
v-for=
"(item,index) in lists"
:key=
"index"
class=
"contract-item"
>
<div
v-for=
"(item,index) in lists"
:key=
"index"
class=
"contract-item"
>
...
...
src/pages/contractSigning/contract-detail.vue
View file @
f557eb8e
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<span>
合同
详情
</span>
<span>
方案
详情
</span>
</div>
</div>
</h-header>
</h-header>
<!--
<div
<!--
<div
...
@@ -38,10 +38,10 @@
...
@@ -38,10 +38,10 @@
<img
:src=
"num === 0?check1:uncheck1"
>
基本信息
<img
:src=
"num === 0?check1:uncheck1"
>
基本信息
</div>
</div>
<div
:class=
"
{'done':num === 1,'undone':num !== 1}" @click="num = 1;">
<div
:class=
"
{'done':num === 1,'undone':num !== 1}" @click="num = 1;">
<img
:src=
"num === 1?check3:uncheck3"
>
租赁
信息
<img
:src=
"num === 1?check3:uncheck3"
>
方案
信息
</div>
</div>
<div
:class=
"
{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<div
:class=
"
{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<img
:src=
"num === 2?check2:uncheck2"
>
合同文本
<img
:src=
"num === 2?check2:uncheck2"
>
征信授权书
</div>
</div>
</div>
</div>
<h-content
v-if=
"num === 0"
class=
"business-condition"
>
<h-content
v-if=
"num === 0"
class=
"business-condition"
>
...
@@ -220,10 +220,10 @@
...
@@ -220,10 +220,10 @@
</h-content>
</h-content>
<bottom-tab
v-if=
"con_confirm_status!=='APPROVED'"
class=
"add-box"
>
<bottom-tab
v-if=
"con_confirm_status!=='APPROVED'"
class=
"add-box"
>
<tab-button
class=
"before"
@
click
.
native=
"takePhonto"
>
<tab-button
class=
"before"
@
click
.
native=
"takePhonto"
>
<img
src=
"@/assets/constractSigning/certification.png"
>
认证
<img
src=
"@/assets/constractSigning/certification.png"
>
征信签约
</tab-button>
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"inSure"
>
<tab-button
class=
"next"
@
click
.
native=
"inSure"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
确认签约
<img
src=
"@/assets/intoApproval/approve.png"
>
提交审核
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
<h-modal
<h-modal
...
...
src/pages/contractStart/add-car.vue
View file @
f557eb8e
...
@@ -340,10 +340,10 @@
...
@@ -340,10 +340,10 @@
</div>
</div>
</h-content>
</h-content>
<bottom-tab
v-if=
"!flag"
>
<bottom-tab
v-if=
"!flag"
>
<tab-button
class=
"save"
@
click
.
native=
"generateContract"
:disable=
"generateContractFlag"
>
生成
合同文本
</tab-button>
<tab-button
class=
"save"
@
click
.
native=
"generateContract"
:disable=
"generateContractFlag"
>
生成
电子合同
</tab-button>
<tab-button
<tab-button
class=
"approve"
@
click
.
native=
"checkStatus"
class=
"approve"
@
click
.
native=
"checkStatus"
>
融租合同创建
</tab-button
>
提交签署
</tab-button
>
>
</bottom-tab>
</bottom-tab>
<div
class=
"bottom-pop"
>
<div
class=
"bottom-pop"
>
...
@@ -987,7 +987,7 @@ export default {
...
@@ -987,7 +987,7 @@ export default {
return
i
.
lease_status
===
'N'
return
i
.
lease_status
===
'N'
})
})
if
(
mantained
.
length
>
0
)
{
if
(
mantained
.
length
>
0
)
{
hlsPopup
.
showLongCenter
(
'您有待维护的设备项,请完善信息后再
申请发车
!'
)
hlsPopup
.
showLongCenter
(
'您有待维护的设备项,请完善信息后再
提交至客户签署
!'
)
}
else
{
}
else
{
this
.
isApprove
()
this
.
isApprove
()
}
}
...
@@ -995,7 +995,7 @@ export default {
...
@@ -995,7 +995,7 @@ export default {
isApprove
()
{
isApprove
()
{
this
.
hlsPopup
.
showConfirm
({
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'您确定
申请发车
吗?'
,
content
:
'您确定
提交至客户签署
吗?'
,
onConfirm
:
(
data
)
=>
{
onConfirm
:
(
data
)
=>
{
if
(
data
===
1
)
{
if
(
data
===
1
)
{
this
.
approve
()
this
.
approve
()
...
...
src/pages/contractStart/start-list.vue
View file @
f557eb8e
...
@@ -47,9 +47,9 @@
...
@@ -47,9 +47,9 @@
</div>
</div>
</div>
</div>
</scroll>
</scroll>
<bottom-tab>
<
!--
<
bottom-tab>
<tab-button
class=
"add"
@
click
.
native=
"goAdd"
>
新增发车
</tab-button>
<tab-button
class=
"add"
@
click
.
native=
"goAdd"
>
新增发车
</tab-button>
</bottom-tab>
</bottom-tab>
-->
</h-view>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/pages/functionCenter/function-list.vue
View file @
f557eb8e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<h-header
class=
"bar-custom"
>
<h-header
class=
"bar-custom"
>
<div
slot=
"center"
class=
"top-word"
>
业务指引-
{{
role
}}
</div>
<div
slot=
"center"
class=
"top-word"
>
业务指引-
{{
role
}}
</div>
</h-header>
</h-header>
<h-content>
<h-content
class=
"has-footer"
>
<!-- 搜索 -->
<!-- 搜索 -->
<div
class=
"search has-header"
>
<div
class=
"search has-header"
>
<img
src=
"@/assets/functionCenter/bgxg-pic@2x.png"
alt=
""
>
<img
src=
"@/assets/functionCenter/bgxg-pic@2x.png"
alt=
""
>
...
@@ -159,12 +159,12 @@ export default {
...
@@ -159,12 +159,12 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
true
)
{
//
if (true) {
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
userQuery
()
vm
.
userQuery
()
})
})
}
//
}
next
()
//
next()
},
},
// created () {
// created () {
// this.userQuery()
// this.userQuery()
...
@@ -195,27 +195,24 @@ export default {
...
@@ -195,27 +195,24 @@ export default {
window
.
localStorage
.
setItem
(
'bp_identity'
,
res
.
info
.
bp_identity
)
window
.
localStorage
.
setItem
(
'bp_identity'
,
res
.
info
.
bp_identity
)
window
.
localStorage
.
setItem
(
'bp_class'
,
res
.
info
.
user_bp_class
)
window
.
localStorage
.
setItem
(
'bp_class'
,
res
.
info
.
user_bp_class
)
window
.
localStorage
.
setItem
(
'bp_type'
,
res
.
info
.
user_bp_type
)
window
.
localStorage
.
setItem
(
'bp_type'
,
res
.
info
.
user_bp_type
)
if
(
window
.
localStorage
.
multipleRole
)
{
window
.
localStorage
.
setItem
(
'multipleRole'
,
res
.
info
.
user_bp_type
)
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
}
else
{
vm
.
bp_type_n
=
res
.
info
.
user_bp_type_n
window
.
localStorage
.
setItem
(
'multipleRole'
,
res
.
info
.
user_bp_type
)
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
}
vm
.
user_phone
=
res
.
info
.
user_phone
if
(
window
.
localStorage
.
getItem
(
'multipleRole'
)
==
'TENANT'
)
{
if
(
vm
.
user_bp_type
=
==
'TENANT'
)
{
vm
.
role
=
'主承租人'
vm
.
role
=
'主承租人'
}
else
if
(
window
.
localStorage
.
getItem
(
'multipleRole'
)
==
'GUTA'
)
{
}
else
if
(
vm
.
user_bp_type
=
==
'GUTA'
)
{
vm
.
role
=
'担保人'
vm
.
role
=
'担保人'
}
else
if
(
window
.
localStorage
.
getItem
(
'multipleRole'
)
==
'FACTORY'
)
{
}
else
if
(
vm
.
user_bp_type
=
==
'FACTORY'
)
{
vm
.
role
=
'主机厂'
vm
.
role
=
'主机厂'
}
else
if
(
window
.
localStorage
.
getItem
(
'multipleRole'
)
==
'AGENT'
)
{
}
else
if
(
vm
.
user_bp_type
=
==
'AGENT'
)
{
vm
.
role
=
'经销商'
vm
.
role
=
'经销商'
}
else
if
(
window
.
localStorage
.
getItem
(
'multipleRole'
)
==
'OFFICE'
)
{
}
else
if
(
vm
.
user_bp_type
=
==
'OFFICE'
)
{
vm
.
role
=
'办事处'
vm
.
role
=
'办事处'
}
else
if
(
vm
.
user_bp_type
===
'MANAGER'
)
{
vm
.
role
=
'业务经理'
}
}
vm
.
user_bp_type
=
res
.
info
.
user_bp_type
vm
.
bp_type_n
=
res
.
info
.
user_bp_type_n
vm
.
user_bp_name
=
res
.
info
.
user_bp_name
vm
.
user_phone
=
res
.
info
.
user_phone
if
(
vm
.
user_bp_type
===
'AGENT'
)
{
if
(
vm
.
user_bp_type
===
'AGENT'
)
{
vm
.
isAGENT
=
true
vm
.
isAGENT
=
true
}
else
{
}
else
{
...
@@ -235,12 +232,12 @@ export default {
...
@@ -235,12 +232,12 @@ export default {
goStart
()
{
goStart
()
{
let
vm
=
this
let
vm
=
this
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRole
===
'OFFICE'
||
window
.
localStorage
.
multipleRole
===
'AGENT
'
)
{
if
(
vm
.
user_bp_type
===
'MANAGER
'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'StartList'
,
name
:
'StartList'
,
})
})
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
'您当前角色非
经销商或办事处
,无法使用该功能!'
)
hlsPopup
.
showLongCenter
(
'您当前角色非
业务经理
,无法使用该功能!'
)
}
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
'请先进行用户绑定'
)
hlsPopup
.
showLongCenter
(
'请先进行用户绑定'
)
...
@@ -248,7 +245,11 @@ export default {
...
@@ -248,7 +245,11 @@ export default {
},
},
// 融租方案确认
// 融租方案确认
conSign
()
{
conSign
()
{
let
vm
=
this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
hlsPopup
.
showLongCenter
(
'当前角色非承租人或担保人,无法使用该功能!'
)
return
}
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ContractSigning'
,
name
:
'ContractSigning'
,
...
@@ -264,7 +265,7 @@ export default {
...
@@ -264,7 +265,7 @@ export default {
goVideoSign
()
{
goVideoSign
()
{
let
vm
=
this
let
vm
=
this
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRole
===
'OFFICE'
||
window
.
localStorage
.
multipleRole
===
'FACTORY'
||
window
.
localStorage
.
multipleRol
e
===
'AGENT'
)
{
if
(
vm
.
user_bp_type
===
'OFFICE'
||
vm
.
user_bp_type
===
'FACTORY'
||
vm
.
user_bp_typ
e
===
'AGENT'
)
{
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -289,7 +290,7 @@ export default {
...
@@ -289,7 +290,7 @@ export default {
goCarConfirm
()
{
goCarConfirm
()
{
let
vm
=
this
let
vm
=
this
if
(
vm
.
bp_id
)
{
if
(
vm
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRole
===
'OFFICE'
||
window
.
localStorage
.
multipleRol
e
===
'FACTORY'
)
{
if
(
vm
.
user_bp_type
===
'OFFICE'
||
vm
.
user_bp_typ
e
===
'FACTORY'
)
{
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人或经销商,无法使用该功能!'
)
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人或经销商,无法使用该功能!'
)
}
else
{
}
else
{
vm
.
$router
.
push
({
vm
.
$router
.
push
({
...
@@ -303,8 +304,13 @@ export default {
...
@@ -303,8 +304,13 @@ export default {
// 进入我的还款
// 进入我的还款
goReimburse
()
{
goReimburse
()
{
let
vm
=
this
let
vm
=
this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
hlsPopup
.
showLongCenter
(
'当前角色非承租人或担保人,无法使用该功能!'
)
return
}
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRole
===
'OFFICE'
||
window
.
localStorage
.
multipleRole
===
'FACTORY'
||
window
.
localStorage
.
multipleRol
e
===
'AGENT'
)
{
if
(
vm
.
user_bp_type
===
'OFFICE'
||
vm
.
user_bp_type
===
'FACTORY'
||
vm
.
user_bp_typ
e
===
'AGENT'
)
{
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -318,7 +324,7 @@ export default {
...
@@ -318,7 +324,7 @@ export default {
goInvoice
()
{
goInvoice
()
{
let
vm
=
this
let
vm
=
this
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRol
e
===
'TENANT'
)
{
if
(
vm
.
user_bp_typ
e
===
'TENANT'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'MyInvoice'
,
name
:
'MyInvoice'
,
})
})
...
@@ -330,8 +336,7 @@ export default {
...
@@ -330,8 +336,7 @@ export default {
}
}
},
},
goContractRepayment
()
{
goContractRepayment
()
{
let
vm
=
this
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
getItem
(
'bp_id'
)
!==
'undefined'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ContractRepayment'
,
name
:
'ContractRepayment'
,
})
})
...
@@ -341,8 +346,13 @@ export default {
...
@@ -341,8 +346,13 @@ export default {
},
},
changeRent
()
{
changeRent
()
{
let
vm
=
this
let
vm
=
this
if
(
window
.
localStorage
.
getItem
(
'bp_id'
)
!==
'undefined'
)
{
// 首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if
(
window
.
localStorage
.
multipleRole
===
'OFFICE'
||
window
.
localStorage
.
multipleRole
===
'FACTORY'
||
window
.
localStorage
.
multipleRole
===
'AGENT'
)
{
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
hlsPopup
.
showLongCenter
(
'当前角色非承租人或担保人,无法使用该功能!'
)
return
}
if
(
this
.
bp_id
)
{
if
(
vm
.
user_bp_type
===
'OFFICE'
||
vm
.
user_bp_type
===
'FACTORY'
||
vm
.
user_bp_type
===
'AGENT'
)
{
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
hlsPopup
.
showLongCenter
(
'您当前角色非承租人或担保人,无法使用该功能!'
)
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -354,7 +364,11 @@ export default {
...
@@ -354,7 +364,11 @@ export default {
}
}
},
},
userBind
()
{
userBind
()
{
let
vm
=
this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if
(
this
.
user_bp_type
===
'MANAGER'
)
{
hlsPopup
.
showLongCenter
(
'当前角色非承租人或担保人,无法使用该功能!'
)
return
}
window
.
localStorage
.
setItem
(
'from'
,
true
)
window
.
localStorage
.
setItem
(
'from'
,
true
)
if
(
!
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
if
(
!
this
.
bp_id
&&
this
.
user_bp_status
===
'NEW'
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -422,7 +436,7 @@ export default {
...
@@ -422,7 +436,7 @@ export default {
},
},
todoList
()
{
todoList
()
{
if
(
this
.
bp_id
)
{
if
(
this
.
bp_id
)
{
if
(
window
.
localStorage
.
multipleRole
!==
'OFFICE'
&&
window
.
localStorage
.
multipleRol
e
!==
'AGENT'
)
{
if
(
this
.
user_bp_type
!==
'OFFICE'
&&
this
.
user_bp_typ
e
!==
'AGENT'
)
{
hlsPopup
.
showLongCenter
(
'仅经销商/办事处业务员角色可使用该功能!'
)
hlsPopup
.
showLongCenter
(
'仅经销商/办事处业务员角色可使用该功能!'
)
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/pages/home/home-page.vue
View file @
f557eb8e
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
<div
class=
"functions"
>
<div
class=
"functions"
>
<div
class=
"title"
>
资讯动态
</div>
<div
class=
"title"
>
资讯动态
</div>
<ul>
<ul>
<li
v-for=
"item in newsList"
:key=
"item.index"
><img
src=
"@/assets/homePage/inform.png"
alt=
""
>
{{
item
.
new_title
}}
</li>
<li
v-for=
"item in newsList"
:key=
"item.index"
><img
src=
"@/assets/homePage/inform.png"
alt=
""
>
{{
item
.
new_title
}}
</li>
</ul>
</ul>
<img
src=
"@/assets/functionCenter/in@2x.png"
@
click=
"gotoNews()"
>
<img
src=
"@/assets/functionCenter/in@2x.png"
@
click=
"gotoNews()"
>
<!--
<function-item
<!--
<function-item
...
@@ -48,7 +50,7 @@
...
@@ -48,7 +50,7 @@
</div>
</div>
</div>
</div>
<div
class=
"guessing"
>
猜你喜欢
<span><img
src=
"@/assets/homePage/intrest.png"
></span></div>
<div
class=
"guessing"
>
猜你喜欢
<span><img
src=
"@/assets/homePage/intrest.png"
></span></div>
<div
v-for=
"(list,index) in guessingList"
:key=
"index"
class=
"guessing-wrap"
@
click=
"goProductDetail(list)"
>
<div
v-for=
"(list,index) in guessingList"
:key=
"index"
class=
"guessing-wrap"
@
click=
"goProductDetail(list)"
>
<list-item
:item-height=
"120"
>
<list-item
:item-height=
"120"
>
<item>
<item>
<div
slot=
"name"
class=
"item-pic"
>
<div
slot=
"name"
class=
"item-pic"
>
...
@@ -58,9 +60,13 @@
...
@@ -58,9 +60,13 @@
<div
slot=
"content"
class=
"item-content"
>
<div
slot=
"content"
class=
"item-content"
>
<div
class=
"top"
>
{{
list
.
product_name
}}
</div>
<div
class=
"top"
>
{{
list
.
product_name
}}
</div>
<img
src=
"@/assets/homePage/hot.png"
class=
"hot"
>
<img
src=
"@/assets/homePage/hot.png"
class=
"hot"
>
<div
class=
"center"
><span
class=
"firsts"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?
"-"
:(
list
.
office_id
?
'办事处'
:
'经销商'
)
}}
</span>
<span
class=
"seconds"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?
"-"
:(
list
.
office_id
?
list
.
office_name
:
list
.
agent_name
)
}}
</span></div>
<div
class=
"center"
><span
class=
"firsts"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?
'-'
:(
list
.
office_id
?
'办事处'
:
'经销商'
)
}}
</span>
<div
class=
"center"
><span
class=
"firsts"
>
产品型号
</span>
<span
class=
"seconds"
>
{{
list
.
product_code
}}
</span></div>
<span
class=
"seconds"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?
'-'
:(
list
.
office_id
?
list
.
office_name
:
list
.
agent_name
)
}}
</span>
<div
class=
"center"
><span
class=
"firsts"
>
地址
</span>
<span
class=
"seconds"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?(
list
.
province_id_n
===
list
.
city_id_n
?(
list
.
district_id_n
?
list
.
city_id_n
+
list
.
district_id_n
:
list
.
city_id_n
):(
list
.
district_id_n
?
list
.
province_id_n
+
list
.
city_id_n
+
list
.
district_id_n
:
list
.
province_id_n
+
list
.
city_id_n
)):(
list
.
office_id
?
(
list
.
office_province
===
list
.
office_city
?(
list
.
office_district
?
list
.
office_city
+
list
.
office_district
:
list
.
office_city
):(
list
.
office_district
?
list
.
office_province
+
list
.
office_city
+
list
.
office_district
:
list
.
office_province
+
list
.
office_city
)):(
list
.
agent_province
===
list
.
agent_city
?(
list
.
agent_district
?
list
.
agent_city
+
list
.
agent_district
:
list
.
agent_city
):(
list
.
agent_district
?
list
.
agent_province
+
list
.
agent_city
+
list
.
agent_district
:
list
.
agent_province
+
list
.
agent_city
)))
}}
</span></div>
</div>
<div
class=
"center"
><span
class=
"firsts"
>
产品型号
</span>
<span
class=
"seconds"
>
{{
list
.
product_code
}}
</span>
</div>
<div
class=
"center"
><span
class=
"firsts"
>
地址
</span>
<span
class=
"seconds"
>
{{
!
list
.
office_id
&&!
list
.
agent_id
?(
list
.
province_id_n
===
list
.
city_id_n
?(
list
.
district_id_n
?
list
.
city_id_n
+
list
.
district_id_n
:
list
.
city_id_n
):(
list
.
district_id_n
?
list
.
province_id_n
+
list
.
city_id_n
+
list
.
district_id_n
:
list
.
province_id_n
+
list
.
city_id_n
)):(
list
.
office_id
?
(
list
.
office_province
===
list
.
office_city
?(
list
.
office_district
?
list
.
office_city
+
list
.
office_district
:
list
.
office_city
):(
list
.
office_district
?
list
.
office_province
+
list
.
office_city
+
list
.
office_district
:
list
.
office_province
+
list
.
office_city
)):(
list
.
agent_province
===
list
.
agent_city
?(
list
.
agent_district
?
list
.
agent_city
+
list
.
agent_district
:
list
.
agent_city
):(
list
.
agent_district
?
list
.
agent_province
+
list
.
agent_city
+
list
.
agent_district
:
list
.
agent_province
+
list
.
agent_city
)))
}}
</span>
</div>
</div>
</div>
</item>
</item>
</list-item>
</list-item>
...
@@ -72,6 +78,7 @@
...
@@ -72,6 +78,7 @@
<
script
>
<
script
>
import
functionState
from
'./functionState'
import
functionState
from
'./functionState'
import
noImg
from
'../../assets/productQuery/none.png'
import
noImg
from
'../../assets/productQuery/none.png'
export
default
{
export
default
{
name
:
'HomePage'
,
name
:
'HomePage'
,
data
()
{
data
()
{
...
@@ -84,7 +91,7 @@ export default {
...
@@ -84,7 +91,7 @@ export default {
isVisitor
:
false
,
isVisitor
:
false
,
moduleSeparateList
:
[],
moduleSeparateList
:
[],
guessingList
:
[],
guessingList
:
[],
newsList
:
[]
newsList
:
[]
,
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -104,176 +111,176 @@ export default {
...
@@ -104,176 +111,176 @@ export default {
// }
// }
})
})
},
},
methods
:{
methods
:
{
// 定位
// 定位
getLocation
()
{
getLocation
()
{
let
vm
=
this
let
vm
=
this
// if (vum.Platform.isAndroid()) { // 安卓采用jsapi
// if (vum.Platform.isAndroid()) { // 安卓采用jsapi
// var geolocation = new BMap.Geolocation()
// var geolocation = new BMap.Geolocation()
// vm.hlsPopup.showLoading('数据加载中')
// vm.hlsPopup.showLoading('数据加载中')
// geolocation.getCurrentPosition(function (res) {
// geolocation.getCurrentPosition(function (res) {
// vm.hlsPopup.hideLoading()
// vm.hlsPopup.hideLoading()
// if (this.getStatus() === 0) {
// if (this.getStatus() === 0) {
// // 判断是否是手动选择过定位
// // 判断是否是手动选择过定位
// if (window.localStorage.getItem('province')) {
// if (window.localStorage.getItem('province')) {
// vm.city = window.localStorage.getItem('city')
// vm.city = window.localStorage.getItem('city')
// vm.province = window.localStorage.getItem('province')
// vm.province = window.localStorage.getItem('province')
// vm.guessingQuery(vm.city)
// vm.guessingQuery(vm.city)
// } else {
// } else {
// // 没有就定位当前位置
// // 没有就定位当前位置
// console.log(res)
// console.log(res)
// vm.city = res.address.city
// vm.city = res.address.city
// vm.province = res.address.province
// vm.province = res.address.province
// vm.guessingQuery(res.address.city)
// vm.guessingQuery(res.address.city)
// }
// }
// }
// }
// }, {enableHighAccuracy: true})
// }, {enableHighAccuracy: true})
// } else { // ios使用插件定位
// } else { // ios使用插件定位
console
.
log
(
'&&&&&&&&&&&&___ios'
)
console
.
log
(
'&&&&&&&&&&&&___ios'
)
// if (!$config.isMobilePlatform) {
// if (!$config.isMobilePlatform) {
// }
// }
baidumap_location
.
getCurrentPosition
(
function
(
result
)
{
/*baidumap_location.getCurrentPosition(function (result) {
if
(
window
.
localStorage
.
getItem
(
'province'
))
{
if (window.localStorage.getItem('province')) {
vm
.
city
=
window
.
localStorage
.
getItem
(
'city'
)
vm.city = window.localStorage.getItem('city')
vm
.
province
=
window
.
localStorage
.
getItem
(
'province'
)
vm.province = window.localStorage.getItem('province')
vm
.
guessingQuery
(
vm
.
city
)
vm.guessingQuery(vm.city)
}
else
{
} else {
vm
.
city
=
result
.
city
vm.city = result.city
vm
.
province
=
result
.
province
vm.province = result.province
vm
.
guessingQuery
(
result
.
city
)
vm.guessingQuery(result.city)
}
}
},
function
(
error
)
{
}, function (error) {
})
})*/
// }
// setTimeout(vm.guessingQuery(), 0)
// setTimeout(vm.guessingQuery(), 0)
},
},
goFunctionHome
(
data
)
{
goFunctionHome
(
data
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
data
.
functionState
,
name
:
data
.
functionState
,
})
})
},
},
// 新闻资讯
// 新闻资讯
getNews
()
{
getNews
()
{
let
url
=
$config
.
basePath
+
'news_entrance_list'
let
url
=
$config
.
basePath
+
'news_entrance_list'
let
param
=
{}
let
param
=
{}
this
.
$post
(
url
,
param
).
then
((
res
)
=>
{
this
.
$post
(
url
,
param
).
then
((
res
)
=>
{
this
.
hlsPopup
.
hideLoading
()
this
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
this
.
newsList
=
res
.
lists
this
.
newsList
=
res
.
lists
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
goModuleFunction
(
data
)
{
let
vm
=
this
if
(
this
.
isVisitor
&&
data
.
moduleState
!==
'FinancingTrial'
)
{
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`请先登录!`
,
onConfirm
:
data
=>
{
if
(
data
)
{
vm
.
$router
.
push
(
'/login'
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
},
},
})
goModuleFunction
(
data
)
{
}
else
{
let
vm
=
this
this
.
$router
.
push
({
if
(
this
.
isVisitor
&&
data
.
moduleState
!==
'FinancingTrial'
)
{
name
:
data
.
moduleState
,
hlsPopup
.
showConfirm
({
})
title
:
'提示'
,
}
content
:
`请先登录!`
,
},
onConfirm
:
data
=>
{
location
()
{
if
(
data
)
{
this
.
$router
.
push
({
vm
.
$router
.
push
(
'/login'
)
name
:
'Location'
,
}
else
{
params
:
{
}
province
:
this
.
province
,
},
city
:
this
.
city
,
})
}
else
{
this
.
$router
.
push
({
name
:
data
.
moduleState
,
})
}
},
location
()
{
this
.
$router
.
push
({
name
:
'Location'
,
params
:
{
province
:
this
.
province
,
city
:
this
.
city
,
},
})
},
gotoNews
()
{
this
.
$router
.
push
({
name
:
'NewsList'
,
})
},
},
// 用户信息查询
})
userQuery
()
{
},
let
vm
=
this
gotoNews
()
{
let
url
=
$config
.
basePath
+
'user_query'
this
.
$router
.
push
({
let
param
=
{
name
:
'NewsList'
,
'phone'
:
window
.
localStorage
.
getItem
(
'user_phone'
),
})
}
},
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
// 用户信息查询
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
userQuery
()
{
vm
.
hlsPopup
.
hideLoading
()
let
vm
=
this
if
(
res
.
result
===
'S'
)
{
let
url
=
$config
.
basePath
+
'user_query'
window
.
localStorage
.
setItem
(
'bp_type'
,
res
.
info
.
user_bp_type
)
let
param
=
{
vm
.
user_bp_status
=
res
.
info
.
user_bp_status
'phone'
:
window
.
localStorage
.
getItem
(
'user_phone'
),
vm
.
user_bp_class
=
res
.
info
.
user_bp_class
}
vm
.
bp_id
=
res
.
info
.
user_bp_id
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
}
else
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
showLongCenter
(
res
.
message
)
vm
.
hlsPopup
.
hideLoading
()
}
if
(
res
.
result
===
'S'
)
{
window
.
localStorage
.
setItem
(
'bp_type'
,
res
.
info
.
user_bp_type
)
vm
.
user_bp_status
=
res
.
info
.
user_bp_status
vm
.
user_bp_class
=
res
.
info
.
user_bp_class
vm
.
bp_id
=
res
.
info
.
user_bp_id
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 猜你喜欢
guessingQuery
(
e
)
{
console
.
log
(
e
)
let
vm
=
this
let
url
=
$config
.
basePath
+
'guess_you_like_query'
let
param
=
{
'user_phone'
:
window
.
localStorage
.
getItem
(
'user_phone'
),
'city'
:
e
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
guessingList
=
res
.
lists
vm
.
guessingList
.
forEach
(
item
=>
{
item
[
'url'
]
=
item
.
product_attachment_id
?
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
:
noImg
})
})
},
}
else
{
// 猜你喜欢
hlsPopup
.
showLongCenter
(
res
.
message
)
guessingQuery
(
e
)
{
}
console
.
log
(
e
)
})
let
vm
=
this
},
let
url
=
$config
.
basePath
+
'guess_you_like_query'
// 进入产品明细
let
param
=
{
goProductDetail
(
list
)
{
'user_phone'
:
window
.
localStorage
.
getItem
(
'user_phone'
),
let
vm
=
this
'city'
:
e
,
if
(
!
window
.
localStorage
.
getItem
(
'password'
))
{
}
hlsPopup
.
showConfirm
({
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
title
:
'提示'
,
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
content
:
`请先登录!`
,
vm
.
hlsPopup
.
hideLoading
()
onConfirm
:
data
=>
{
if
(
res
.
result
===
'S'
)
{
if
(
data
)
{
vm
.
guessingList
=
res
.
lists
vm
.
$router
.
push
(
'/login'
)
vm
.
guessingList
.
forEach
(
item
=>
{
item
[
'url'
]
=
item
.
product_attachment_id
?
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
:
noImg
})
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
},
},
})
// 进入产品明细
}
else
{
goProductDetail
(
list
)
{
this
.
$router
.
push
({
let
vm
=
this
name
:
'ProDetailed'
,
if
(
!
window
.
localStorage
.
getItem
(
'password'
))
{
params
:
{
hlsPopup
.
showConfirm
({
product_id
:
list
.
product_id
,
title
:
'提示'
,
bp_id
:
list
.
bp_id
,
content
:
`请先登录!`
,
},
onConfirm
:
data
=>
{
})
if
(
data
)
{
}
vm
.
$router
.
push
(
'/login'
)
},
}
else
{
},
}
},
})
}
else
{
this
.
$router
.
push
({
name
:
'ProDetailed'
,
params
:
{
product_id
:
list
.
product_id
,
bp_id
:
list
.
bp_id
,
},
})
}
},
},
}
}
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
@import "../../styles/vue-1px";
@import "../../styles/vue-1px";
#homePage {
#homePage {
.content{
.content
{
background-color: #EFEFEF;
background-color: #EFEFEF;
}
}
.top-wrap {
.top-wrap {
width: 100%;
width: 100%;
height: 100px;
height: 100px;
...
@@ -311,9 +318,11 @@ export default {
...
@@ -311,9 +318,11 @@ export default {
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
img {
img {
height: 15px;
height: 15px;
}
}
.title {
.title {
flex-grow: 0;
flex-grow: 0;
flex-basis: 70px;
flex-basis: 70px;
...
@@ -322,11 +331,13 @@ export default {
...
@@ -322,11 +331,13 @@ export default {
font-weight: 600;
font-weight: 600;
line-height: 30px;
line-height: 30px;
text-align: center;
text-align: center;
border-right: 1px solid#F1F0F5;
border-right: 1px solid
#F1F0F5;
}
}
ul {
ul {
flex-grow: 2;
flex-grow: 2;
flex-basis: 2;
flex-basis: 2;
li {
li {
height: 30px;
height: 30px;
line-height: 30px;
line-height: 30px;
...
@@ -334,6 +345,7 @@ export default {
...
@@ -334,6 +345,7 @@ export default {
text-align: left;
text-align: left;
text-indent: 15px;
text-indent: 15px;
font-size: 14px;
font-size: 14px;
img {
img {
vertical-align: middle;
vertical-align: middle;
margin-right: 15px;
margin-right: 15px;
...
@@ -356,10 +368,12 @@ export default {
...
@@ -356,10 +368,12 @@ export default {
flex-direction: column;
flex-direction: column;
justify-content: space-around;
justify-content: space-around;
align-items: center;
align-items: center;
img{
margin: 0;
img {
margin: 0;
}
}
div{
div {
margin-bottom: 14px;
margin-bottom: 14px;
ont-family: PingFangSC-Regular;
ont-family: PingFangSC-Regular;
font-size: 13px;
font-size: 13px;
...
@@ -381,19 +395,23 @@ export default {
...
@@ -381,19 +395,23 @@ export default {
.hls-swipe {
.hls-swipe {
width: 100vw;
width: 100vw;
img {
img {
width: 100vw;
width: 100vw;
// height: 100%;
// height: 100%;
}
}
.hls-swipe-indicators{
.hls-swipe-indicators {
left: 54%;
left: 54%;
bottom: 20px;
bottom: 20px;
.hls-swipe-indicators-item{
.hls-swipe-indicators-item {
width: 10px;
width: 10px;
height: 2px;
height: 2px;
border-radius: 0;
border-radius: 0;
}
}
.hls-swipe-indicators-item--active{
.hls-swipe-indicators-item--active {
background-color: #FFF;
background-color: #FFF;
}
}
}
}
...
@@ -405,6 +423,7 @@ export default {
...
@@ -405,6 +423,7 @@ export default {
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
padding: 0 1% 0 1%;
padding: 0 1% 0 1%;
.left-pic {
.left-pic {
width: 41.6%;
width: 41.6%;
margin-left: 4px;
margin-left: 4px;
...
@@ -443,35 +462,43 @@ export default {
...
@@ -443,35 +462,43 @@ export default {
letter-spacing: 0.57px;
letter-spacing: 0.57px;
height: 40px;
height: 40px;
padding-left: 2%;
padding-left: 2%;
span{
padding-top: 2px;
span {
margin-left: 4px;
padding-top: 2px;
margin-left: 4px;
}
}
img{
img {
width: 14px;
width: 14px;
height: 14px;
height: 14px;
}
}
}
}
.guessing-wrap{
.guessing-wrap {
position: relative;
position: relative;
width: 96%;
width: 96%;
margin: 0 auto;
margin: 0 auto;
.hls-list-item{
.hls-list-item {
border-radius: 10px;
border-radius: 10px;
.contents{
.contents {
padding: 8px 6px 8px 0;
padding: 8px 6px 8px 0;
.add-content{
.add-content {
justify-content: flex-start;
justify-content: flex-start;
}
}
}
}
}
}
}
}
.item-pic {
.item-pic {
width: 110px;
width: 110px;
height: 110px;
height: 110px;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
img {
img {
width: 100%;
width: 100%;
// height: 100%;
// height: 100%;
...
@@ -487,20 +514,23 @@ export default {
...
@@ -487,20 +514,23 @@ export default {
margin-top: 10px;
margin-top: 10px;
font-weight: 600;
font-weight: 600;
}
}
.hot {
.hot {
position: absolute;
position: absolute;
top: 0;
top: 0;
right: 0;
right: 0;
width: 45px;
width: 45px;
}
}
.center {
.center {
margin-top: 6px;
margin-top: 6px;
display: flex;
display: flex;
.firsts {
.firsts {
width: 76px;
width: 76px;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
color: rgba(56,
63,69,
0.60);
color: rgba(56,
63, 69,
0.60);
letter-spacing: 0.5px;
letter-spacing: 0.5px;
}
}
...
...
src/pages/messageCenter/message-list.vue
View file @
f557eb8e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<!--
<h-content
class=
"content"
>
-->
<!--
<h-content
class=
"content"
>
-->
<scroll
<scroll
v-
if
=
"list.length !== 0"
v-
show
=
"list.length !== 0"
ref=
"scroll"
:updateData=
"[list]"
:pullUp=
"true"
class=
"has-footer"
ref=
"scroll"
:updateData=
"[list]"
:pullUp=
"true"
class=
"has-footer"
@
pullingUp=
"getInfo"
>
@
pullingUp=
"getInfo"
>
<section
v-for=
"(item,parentIndex) in list"
:key=
"parentIndex"
class=
"msg-wrap"
>
<section
v-for=
"(item,parentIndex) in list"
:key=
"parentIndex"
class=
"msg-wrap"
>
...
...
src/pages/myInfo/my-info.vue
View file @
f557eb8e
...
@@ -167,12 +167,12 @@
...
@@ -167,12 +167,12 @@
</list-item>
</list-item>
<div
class=
"version"
>
版本号:
{{
currentVersion
}}
</div>
<div
class=
"version"
>
版本号:
{{
currentVersion
}}
</div>
<button
<button
v-if=
"!popSetect"
v-if=
"!popSetect"
v-show=
"user_bp_type !== 'MANAGER'"
@
click=
"approveBtn ? unBind() : changePageHead()"
@
click=
"approveBtn ? unBind() : changePageHead()"
>
>
{{
description
}}
{{
description
}}
</button>
</button>
<button
v-if=
"popSetect"
@
click=
"popSetectBox = true"
>
<button
v-if=
"popSetect"
v-show=
"user_bp_type !== 'MANAGER'"
@
click=
"popSetectBox = true"
>
{{
description
}}
{{
description
}}
</button>
</button>
</div>
</div>
...
@@ -695,9 +695,7 @@ export default {
...
@@ -695,9 +695,7 @@ export default {
let
vm
=
this
let
vm
=
this
this
.
hlsPopup
.
showActionSheet
({
this
.
hlsPopup
.
showActionSheet
({
buttonArray
:
buttonArray
:
this
.
bp_id
===
undefined
(
this
.
bp_id
===
undefined
||
vm
.
user_bp_type
===
'MANAGER'
)
?
[
'修改头像'
]
:
[
'修改头像'
,
'用户信息'
,
'角色切换'
],
?
[
'修改头像'
]
:
[
'修改头像'
,
'用户信息'
,
'角色切换'
],
callback
:
(
index
)
=>
{
callback
:
(
index
)
=>
{
if
(
index
===
0
)
{
if
(
index
===
0
)
{
this
.
imgUploadShow
(
vm
.
app_user_id
)
this
.
imgUploadShow
(
vm
.
app_user_id
)
...
...
src/pages/myInfo/setting.vue
View file @
f557eb8e
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
slot=
"name"
style=
"color:#656464;"
>
修改信息
</div>
<div
slot=
"name"
style=
"color:#656464;"
>
修改信息
</div>
<div
class=
"arrow_right"
><img
src=
"@/assets/myinfo/arrow_right.png"
></div>
<div
class=
"arrow_right"
><img
src=
"@/assets/myinfo/arrow_right.png"
></div>
</item>
</item>
<item
@
click
.
native=
"changeRole()"
>
<item
v-if=
"user_bp_type!='MANAGER'"
@
click
.
native=
"changeRole()"
>
<div
slot=
"name"
style=
"color:#656464;"
>
角色切换
</div>
<div
slot=
"name"
style=
"color:#656464;"
>
角色切换
</div>
<div
class=
"arrow_right"
><img
src=
"@/assets/myinfo/arrow_right.png"
></div>
<div
class=
"arrow_right"
><img
src=
"@/assets/myinfo/arrow_right.png"
></div>
</item>
</item>
...
...
src/pages/tab.vue
View file @
f557eb8e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<img
slot=
"icon"
src=
"../assets/image/tab/n_function@2x.png"
>
<img
slot=
"icon"
src=
"../assets/image/tab/n_function@2x.png"
>
<span
slot=
"label"
>
业务办理
</span>
<span
slot=
"label"
>
业务办理
</span>
</tabbar-item>
</tabbar-item>
<tabbar-item
@
click
.
native=
"tabClick"
>
<tabbar-item
:selected=
"$route.path === '/tab/my-info'"
@
click
.
native=
"tabClick"
>
<img
slot=
"icon-active"
src=
"../assets/image/tab/my@2x.png"
>
<img
slot=
"icon-active"
src=
"../assets/image/tab/my@2x.png"
>
<img
slot=
"icon"
src=
"../assets/image/tab/n_my@2x.png"
>
<img
slot=
"icon"
src=
"../assets/image/tab/n_my@2x.png"
>
<span
slot=
"label"
>
我的
</span>
<span
slot=
"label"
>
我的
</span>
...
...
src/router/index.js
View file @
f557eb8e
...
@@ -8,144 +8,145 @@
...
@@ -8,144 +8,145 @@
import
Vue
from
'vue'
import
Vue
from
'vue'
import
Router
from
'vue-router'
import
Router
from
'vue-router'
import
Guide
from
'@/pages/guide/guide'
const
Guide
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/guide/guide'
))
},
'login'
)
import
Login
from
'@/pages/login'
const
Login
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/login'
))
},
'login'
)
import
Regiester
from
'@/pages/regiester'
const
Regiester
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/regiester'
))
},
'login'
)
import
Regiester2
from
'@/pages/regiester2'
const
Regiester2
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/regiester2'
))
},
'login'
)
import
PwdForgot
from
'@/pages/pwd-forgotten'
const
PwdForgot
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pwd-forgotten'
))
},
'login'
)
import
PwdReset
from
'@/pages/pwd-reset'
const
PwdReset
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pwd-reset'
))
},
'login'
)
import
FingerLogin
from
'@/pages/finger-login'
const
FingerLogin
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/finger-login'
))
},
'login'
)
import
Tab
from
'@/pages/tab'
const
Tab
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/tab'
))
},
'login'
)
import
HomePage
from
'@/pages/home/home-page'
const
HomePage
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/home/home-page'
))
},
'home'
)
// 定位
// 定位
import
Location
from
'@/pages/home/location'
const
Location
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/home/location'
))
},
'home'
)
// 我的
// 我的
import
MyInfo
from
'@/pages/myInfo/my-info'
const
MyInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/my-info'
))
},
'myInfo'
)
import
Certification
from
'@/pages/myInfo/certification'
const
Certification
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/certification'
))
},
'myInfo'
)
// 我的收藏
// 我的收藏
import
MyProductList
from
'@/pages/myProductCollection/my-product-list'
const
MyProductList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myProductCollection/my-product-list'
))
},
'myProductCollection'
)
// test工具类
// test工具类
import
HlsPopup
from
'@/pages/hlsPopup'
const
HlsPopup
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/hlsPopup'
))
},
'test'
)
// 用户绑定
// 用户绑定
import
UserBind
from
'@/pages/userBind/userBind'
const
UserBind
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBind/userBind'
))
},
'userBind'
)
import
NaturePerson
from
'@/pages/userBind/np/naturePerson'
const
NaturePerson
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBind/np/naturePerson'
))
},
'userBind'
)
import
Enterprise
from
'@/pages/userBind/org/enterprise'
const
Enterprise
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBind/org/enterprise'
))
},
'userBind'
)
// 用户绑定new
// 用户绑定new
import
EnterpriseNew
from
'@/pages/userBindNew/org/baseInfo'
const
EnterpriseNew
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/org/baseInfo'
))
},
'bindOrg'
)
import
Invoice
from
'@/pages/userBindNew/org/invoice'
const
Invoice
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/org/invoice'
))
},
'bindOrg'
)
import
Enclosure
from
'@/pages/userBindNew/org/enclosure'
const
Enclosure
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/org/enclosure'
))
},
'bindOrg'
)
import
BankInfo
from
'@/pages/userBindNew/org/bankInfo'
const
BankInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/org/bankInfo'
))
},
'bindOrg'
)
// 新版用户绑定
const
NPBaseInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/np/base-info'
))
},
'bindNp'
)
const
NPInvoiceInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/np/invoice-info'
))
},
'bindNp'
)
const
NPBankInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/np/bank-info'
))
},
'bindNp'
)
const
AccessoryInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/userBindNew/np/accessory-info'
))
},
'bindNp'
)
// 进件审批
// 进件审批
import
Base
from
'@/pages/intoApproval/intoApproval/base'
const
Base
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/intoApproval/intoApproval/base'
))
},
'intoApproval'
)
import
IntoList
from
'@/pages/intoApproval/into-list'
const
IntoList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/intoApproval/into-list'
))
},
'intoApproval'
)
import
Refund
from
'@/pages/intoApproval/intoApproval/refund'
const
Refund
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/intoApproval/intoApproval/refund'
))
},
'intoApproval'
)
// 经销商签约
// 经销商签约
import
ContractList
from
'@/pages/distributorSign/contract-list'
const
ContractList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/distributorSign/contract-list'
))
},
'distributorSign'
)
import
ContractDetails
from
'@/pages/distributorSign/contract-details'
const
ContractDetails
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/distributorSign/contract-details'
))
},
'distributorSign'
)
import
FinancDetails
from
'@/pages/distributorSign/financ-details'
// 还款计划
const
FinancDetails
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/distributorSign/financ-details'
))
},
'distributorSign'
)
// 还款计划
// 融资试算
// 融资试算
import
FinancingTrial
from
'@/pages/financingTrial/financing-trial'
const
FinancingTrial
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/financingTrial/financing-trial'
))
},
'financingTrial'
)
import
FinancingDetails
from
'@/pages/financingTrial/financing-details'
// 融资明细
const
FinancingDetails
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/financingTrial/financing-details'
))
},
'financingTrial'
)
// 融资明细
import
TrialRepayPlan
from
'@/pages/financingTrial/trial-repay-plan'
const
TrialRepayPlan
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/financingTrial/trial-repay-plan'
))
},
'financingTrial'
)
// 融租方案确认
// 融租方案确认
import
ContractSigning
from
'../pages/contractSigning/contract-signing'
const
ContractSigning
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractSigning/contract-signing'
))
},
'contractSigning'
)
import
ContractDetail
from
'@/pages/ContractSigning/contract-detail'
const
ContractDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-detail'
))
},
'contractSigning'
)
import
ContractContent
from
'@/pages/ContractSigning/contract-content'
const
ContractContent
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-content'
))
},
'contractSigning'
)
import
EntryInfo
from
'@/pages/ContractSigning/entry-info'
const
EntryInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/entry-info'
))
},
'contractSigning'
)
import
ElectronicSign
from
'@/pages/ContractSigning/electronic-sign'
const
ElectronicSign
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/electronic-sign'
))
},
'contractSigning'
)
/*
import BodyCheck from '@/pages/ContractSigning/body-check'
*/
/*
const BodyCheck = resolve=>require.ensure([],()=>{resolve(require(@/pages/ContractSigning/body-check')) }, 'contractSigning')
*/
import
ContractRepayPlan
from
'@/pages/ContractSigning/contract-repay-plan'
const
ContractRepayPlan
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/ContractSigning/contract-repay-plan'
))
},
'contractSigning'
)
// 首付款支付
// 首付款支付
import
FirstPay
from
'../pages/pay/firstPay/first-pay'
const
FirstPay
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/firstPay/first-pay'
))
},
'firstPay'
)
import
PayEntry
from
'@/pages/pay/firstPay/pay-entry'
const
PayEntry
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/firstPay/pay-entry'
))
},
'firstPay'
)
import
ContractRecord
from
'@/pages/pay/firstPay/contract-record'
const
ContractRecord
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/firstPay/contract-record'
))
},
'pay'
)
// 款项支付
// 款项支付
import
PaymentPayEntry
from
'@/pages/pay/payment/pay-entry'
const
PaymentPayEntry
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/payment/pay-entry'
))
},
'pay'
)
import
PaymentContractRecord
from
'@/pages/pay/payment/contract-record'
const
PaymentContractRecord
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/payment/contract-record'
))
},
'pay'
)
import
NewList
from
'@/pages/pay/payment/new-list'
const
NewList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/payment/new-list'
))
},
'pay'
)
// 保证金支付
// 保证金支付
import
MarginFirstPay
from
'@/pages/pay/marginPay/first-pay'
const
MarginFirstPay
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/marginPay/first-pay'
))
},
'pay'
)
import
MarginPayEntry
from
'@/pages/pay/marginPay/pay-entry'
const
MarginPayEntry
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/marginPay/pay-entry'
))
},
'pay'
)
// 支付页
// 支付页
import
PayPage
from
'@/pages/pay/pay-page'
const
PayPage
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/pay/pay-page'
))
},
'pay'
)
// 产品查询
// 产品查询
import
QueryHome
from
'@/pages/productQuery/query-home'
const
QueryHome
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/productQuery/query-home'
))
},
'productQuery'
)
import
ProDetailed
from
'@/pages/productQuery/product-detailed'
const
ProDetailed
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/productQuery/product-detailed'
))
},
'productQuery'
)
// 消息中心
// 消息中心
import
MessageCenter
from
'@/pages/messageCenter/message-list'
const
MessageCenter
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/messageCenter/message-list'
))
},
'messageCenter'
)
import
ProductList
from
'@/pages/productQuery/product-list'
const
ProductList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/productQuery/product-list'
))
},
'productQuery'
)
import
EntityList
from
'@/pages/productQuery/entity-list'
const
EntityList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/productQuery/entity-list'
))
},
'productQuery'
)
import
RejectDetail
from
'@/pages/messageCenter/reject-detail'
const
RejectDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/messageCenter/reject-detail'
))
},
'messageCenter'
)
// 帮助与反馈
// 帮助与反馈
import
HelpList
from
'@/pages/help/help-list'
const
HelpList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/help/help-list'
))
},
'help'
)
import
HelpDetail
from
'@/pages/help/detail'
const
HelpDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/help/detail'
))
},
'help'
)
import
HelpFeedback
from
'@/pages/help/feedback'
const
HelpFeedback
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/help/feedback'
))
},
'help'
)
// 我的还款
// 我的还款
import
ReimburseMyselfList
from
'@/pages/reimburseMyself/reimburse-myself-list'
const
ReimburseMyselfList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/reimburseMyself/reimburse-myself-list'
))
},
'reimburseMyself'
)
import
ReimburseDetail
from
'@/pages/reimburseMyself/reimburse-detail'
const
ReimburseDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/reimburseMyself/reimburse-detail'
))
},
'reimburseMyself'
)
// 合同还款
// 合同还款
import
ContractRepayment
from
'@/pages/contractRepayment/contract-repayment'
const
ContractRepayment
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractRepayment/contract-repayment'
))
},
'contractRepayment'
)
import
RepayDetails
from
'@/pages/contractRepayment/repay-details'
const
RepayDetails
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractRepayment/repay-details'
))
},
'contractRepayment'
)
import
RepayPlan
from
'@/pages/contractRepayment/refund'
const
RepayPlan
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractRepayment/refund'
))
},
'contractRepayment'
)
// 融资合同创建
// 融资合同创建
import
StartList
from
'@/pages/contractStart/start-list'
const
StartList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractStart/start-list'
))
},
'contractStart'
)
import
AddCar
from
'@/pages/contractStart/add-car'
const
AddCar
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractStart/add-car'
))
},
'contractStart'
)
// 合同签订
// 合同签订
import
ConfirmDetail
from
'@/pages/carConfirm/confirm-detail'
const
ConfirmDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/carConfirm/confirm-detail'
))
},
'carConfirm'
)
import
ConfirmList
from
'@/pages/carConfirm/confirm-list'
const
ConfirmList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/carConfirm/confirm-list'
))
},
'carConfirm'
)
// 合同查询
// 合同查询
import
ContractRecords
from
'@/pages/contractInquire/contract-records'
const
ContractRecords
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractInquire/contract-records'
))
},
'contractInquire'
)
import
RepayDetail
from
'@/pages/contractInquire/repay-detail'
const
RepayDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractInquire/repay-detail'
))
},
'contractInquire'
)
import
RepayPlans
from
'@/pages/contractInquire/repay-plans'
const
RepayPlans
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractInquire/repay-plans'
))
},
'contractInquire'
)
// 业务退款
// 业务退款
import
DrawbackList
from
'@/pages/drawback/drawback-list'
const
DrawbackList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/drawback/drawback-list'
))
},
'drawback'
)
import
DrawbackDetail
from
'@/pages/drawback/drawback-detail'
const
DrawbackDetail
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/drawback/drawback-detail'
))
},
'drawback'
)
// 视屏面签
// 视屏面签
import
VideoSign
from
'@/pages/videoSign/video-list'
const
VideoSign
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/videoSign/video-list'
))
},
'videoSign'
)
// 新版用户绑定
import
NPBaseInfo
from
'@/pages/userBindNew/np/base-info'
import
NPInvoiceInfo
from
'@/pages/userBindNew/np/invoice-info'
import
NPBankInfo
from
'@/pages/userBindNew/np/bank-info'
import
AccessoryInfo
from
'@/pages/userBindNew/np/accessory-info'
// 合同创建
// 合同创建
import
MyContract
from
'@/pages/contractCreate/my-contract'
const
MyContract
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/my-contract'
))
},
'contractCreate'
)
import
ContractCreateList
from
'@/pages/contractCreate/contract-create-list'
const
ContractCreateList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/contract-create-list'
))
},
'contractCreate'
)
import
SalesInfo
from
'@/pages/contractCreate/sales-info'
const
SalesInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/sales-info'
))
},
'contractCreate'
)
import
PickLessee
from
'@/pages/contractCreate/pick-lessee'
const
PickLessee
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/pick-lessee'
))
},
'contractCreate'
)
import
CreateBaseInfo
from
'@/pages/contractCreate/create-base-info'
const
CreateBaseInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/create-base-info'
))
},
'contractCreate'
)
import
CreateRentInfo
from
'@/pages/contractCreate/creat-rent-info'
const
CreateRentInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/creat-rent-info'
))
},
'contractCreate'
)
import
CreateEnclosureInfo
from
'@/pages/contractCreate/create-enclosure-info'
const
CreateEnclosureInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/create-enclosure-info'
))
},
'contractCreate'
)
import
previewPdf
from
'@/pages/contractSigning/previewPdf'
const
previewPdf
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractSigning/previewPdf'
))
},
'contractSigning'
)
import
Addundertake
from
'@/pages/contractCreate/add-undertake'
const
Addundertake
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/contractCreate/add-undertake'
))
},
'contractCreate'
)
import
About
from
'@/pages/myInfo/About'
const
About
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/About'
))
},
'myInfo'
)
import
ContactUs
from
'@/pages/myInfo/ContactUs'
const
ContactUs
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/ContactUs'
))
},
'myInfo'
)
import
Setting
from
'@/pages/myInfo/setting'
const
Setting
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/setting'
))
},
'myInfo'
)
import
UserAgree
from
'@/pages/myInfo/UserAgreement'
const
UserAgree
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/UserAgreement'
))
},
'myInfo'
)
import
PrivacyPolicy
from
'@/pages/myInfo/PrivacyPolicy'
const
PrivacyPolicy
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/myInfo/PrivacyPolicy'
))
},
'myInfo'
)
// 业务办理
// 业务办理
import
FunctionCenter
from
'@/pages/functionCenter/function-list'
const
FunctionCenter
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/functionCenter/function-list'
))
},
'functionCenter'
)
// 待办审批
// 待办审批
import
ToDoList
from
'@/pages/functionCenter/to-do-list'
const
ToDoList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/functionCenter/to-do-list'
))
},
'functionCenter'
)
import
approvalInfo
from
'@/pages/functionCenter/approval-info'
const
approvalInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/functionCenter/approval-info'
))
},
'functionCenter'
)
// 我的发票
// 我的发票
import
MyInvoice
from
'@/pages/invoice/invoice'
const
MyInvoice
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/invoice/invoice'
))
},
'invoice'
)
import
NewsList
from
'@/pages/news/newslist'
const
NewsList
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/news/newslist'
))
},
'news'
)
import
NewsInfo
from
'@/pages/news/NewsInfo'
const
NewsInfo
=
resolve
=>
require
.
ensure
([],
()
=>
{
resolve
(
require
(
'@/pages/news/NewsInfo'
))
},
'news'
)
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
export
default
new
Router
({
export
default
new
Router
({
...
...
www/index.html
View file @
f557eb8e
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.d55afc4cf38a1bfcc3980120b9df06f9.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.7191c48e0b160a3ab672.js
></script><script
type=
text/javascript
src=
./static/js/app.ca0eb597f109f5c572c3.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.639b6df732adf63dae328f1593b59570.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.218b13cb8652090c3877.js
></script><script
type=
text/javascript
src=
./static/js/vendor.cf2df294c770beff4ed8.js
></script><script
type=
text/javascript
src=
./static/js/app.65c453c4bb4f8e7f93fe.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
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