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
Expand all
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
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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