Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-rljj-wx
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
rl
hls-rljj-wx
Commits
6dc985aa
Commit
6dc985aa
authored
Apr 13, 2022
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加功能模块
parent
699e94ab
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1596 additions
and
1208 deletions
+1596
-1208
cmbpay_logo.png
src/assets/home-manager/cmbpay_logo.png
+0
-0
chinaUnionPay.vue
src/pages/applications/chinaUnionPay/chinaUnionPay.vue
+322
-368
cmbPolyPay.vue
src/pages/applications/cmbPolyPay/cmbPolyPay.vue
+424
-0
functionState.js
src/pages/functionState.js
+303
-290
home.vue
src/pages/home.vue
+361
-369
index.js
src/router/index.js
+186
-181
www.rar
www.rar
+0
-0
No files found.
src/assets/home-manager/cmbpay_logo.png
0 → 100644
View file @
6dc985aa
82 KB
src/pages/applications/chinaUnionPay/chinaUnionPay.vue
View file @
6dc985aa
This diff is collapsed.
Click to expand it.
src/pages/applications/cmbPolyPay/cmbPolyPay.vue
0 → 100644
View file @
6dc985aa
This diff is collapsed.
Click to expand it.
src/pages/functionState.js
View file @
6dc985aa
...
@@ -301,7 +301,20 @@ export default {
...
@@ -301,7 +301,20 @@ export default {
'target'
:
null
,
'target'
:
null
,
'applicationFlag'
:
'N'
,
'applicationFlag'
:
'N'
,
'appCode'
:
'HLS_APP'
,
'appCode'
:
'HLS_APP'
,
}
},
{
'functionId'
:
66
,
'functionCode'
:
'500'
,
'functionName'
:
'招行聚合支付'
,
'functionIcon'
:
require
(
'@/assets/home-manager/cmbpay_logo.png'
),
'functionState'
:
'cmbPolyPay'
,
'prodFlag'
:
'Y'
,
'enableFlag'
:
'Y'
,
'functionType'
:
'local'
,
'target'
:
null
,
'applicationFlag'
:
'N'
,
'appCode'
:
'HLS_APP'
,
},
],
],
},
},
/* {
/* {
...
...
src/pages/home.vue
View file @
6dc985aa
...
@@ -22,16 +22,9 @@
...
@@ -22,16 +22,9 @@
<div
class=
"middle-box"
>
<div
class=
"middle-box"
>
<header>
常用应用
</header>
<header>
常用应用
</header>
<div
class=
"function"
>
<div
class=
"function"
>
<function-item
<function-item
v-for=
"item in functionList"
:key=
"item.functionId"
:functionIcon=
"item.functionIcon"
v-for=
"item in functionList"
:functionName=
"item.functionName"
:data=
"item"
style=
"width:33.3%"
class=
"function-item vue-1px"
:key=
"item.functionId"
@
clickFunction=
"goFunctionHome"
/>
:functionIcon=
"item.functionIcon"
:functionName=
"item.functionName"
style=
"width:33.3%"
:data=
"item"
class=
"function-item vue-1px"
@
clickFunction=
"goFunctionHome"
/>
<!--
<div
class=
"function-item"
@
click=
"goAllFunction"
>
<!--
<div
class=
"function-item"
@
click=
"goAllFunction"
>
<img
src=
"../assets/image/home/functionMore@2x.png"
>
<img
src=
"../assets/image/home/functionMore@2x.png"
>
</div>
-->
</div>
-->
...
@@ -62,11 +55,11 @@
...
@@ -62,11 +55,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
functionState
from
"./functionState"
;
import
functionState
from
'./functionState'
import
{
getUrlParam
}
from
"@/scripts/utils"
;
import
{
getUrlParam
}
from
'@/scripts/utils'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
imgList
:
[],
imgList
:
[],
recommendList
:
[],
recommendList
:
[],
...
@@ -76,9 +69,9 @@
...
@@ -76,9 +69,9 @@
area
:
{},
area
:
{},
box1
:
{},
box1
:
{},
box2
:
{},
box2
:
{},
searchInput
:
""
,
searchInput
:
''
,
subscribe
:
false
subscribe
:
false
,
};
}
},
},
beforeCreate
:
function
()
{
beforeCreate
:
function
()
{
},
},
...
@@ -87,51 +80,50 @@
...
@@ -87,51 +80,50 @@
// window.localStorage.setItem('user_id', 2009)
// window.localStorage.setItem('user_id', 2009)
// this.imgList = [...functionState.bannerList]
// this.imgList = [...functionState.bannerList]
// this.recommendList = [...functionState.recommendList]
// this.recommendList = [...functionState.recommendList]
this
.
moduleSeparateList
=
[...
functionState
.
moduleSeparateList
];
this
.
moduleSeparateList
=
[...
functionState
.
moduleSeparateList
]
this
.
moduleSeparateList
.
forEach
(
item
=>
{
this
.
moduleSeparateList
.
forEach
(
item
=>
{
this
.
functionList
=
this
.
functionList
.
concat
(
item
.
functions
);
this
.
functionList
=
this
.
functionList
.
concat
(
item
.
functions
)
});
})
this
.
getToken
().
then
(
res
=>
{
this
.
getToken
().
then
(
res
=>
{
this
.
wxConfig
();
this
.
wxConfig
()
// if (window.localStorage.openId) {
// if (window.localStorage.openId) {
// this.getWxUserInfo(window.localStorage.openId);
// this.getWxUserInfo(window.localStorage.openId);
// }
// }
// this.noticeQuery()
// this.noticeQuery()
// 注意,此处用户个人信息是写死的user_id 后续项目实施中根据以下代码实时获取企业通讯录个人信息
// 注意,此处用户个人信息是写死的user_id 后续项目实施中根据以下代码实时获取企业通讯录个人信息
var
code
=
getUrlParam
(
"code"
);
var
code
=
getUrlParam
(
'code'
)
// code = "111";
// code = "111";
if
(
code
)
{
if
(
code
)
{
this
.
getOpenId
(
code
);
this
.
getOpenId
(
code
)
}
}
this
.
subscribe
=
window
.
localStorage
.
subscribe
;
this
.
subscribe
=
window
.
localStorage
.
subscribe
});
})
},
},
updated
:
function
()
{
updated
:
function
()
{
},
},
methods
:
{
methods
:
{
// 调用微信接口的基础配置
// 调用微信接口的基础配置
wxConfig
()
{
wxConfig
()
{
let
clientUrl
=
""
;
let
clientUrl
=
''
let
u
=
navigator
.
userAgent
;
let
u
=
navigator
.
userAgent
let
isAndroid
=
u
.
indexOf
(
"Android"
)
>
-
1
||
u
.
indexOf
(
"Linux"
)
>
-
1
;
//
g
let
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
//
g
let
isIOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//
ios终端
let
isIOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
//
ios终端
if
(
isAndroid
)
{
if
(
isAndroid
)
{
//
这个是安卓操作系统
//
这个是安卓操作系统
console
.
log
(
"机型:android"
);
console
.
log
(
'机型:android'
)
clientUrl
=
location
.
href
;
clientUrl
=
location
.
href
}
}
if
(
isIOS
)
{
if
(
isIOS
)
{
//
这个是ios操作系统
//
这个是ios操作系统
console
.
log
(
"机型:ios"
);
console
.
log
(
'机型:ios'
)
clientUrl
=
location
.
href
.
split
(
"#"
)[
0
];
clientUrl
=
location
.
href
.
split
(
'#'
)[
0
]
}
}
// let url = $config.rootPath + '/js/sdk/getWxConfig?wxCode=' + $config.wxCode + '&clientUrl=' + clientUrl
// let url = $config.rootPath + '/js/sdk/getWxConfig?wxCode=' + $config.wxCode + '&clientUrl=' + clientUrl
let
url
=
process
.
env
.
basePathRl
+
"getSignature"
;
let
url
=
process
.
env
.
basePathRl
+
'getSignature'
let
param
=
{
let
param
=
{
apiKey
:
"handexinxi"
,
apiKey
:
'handexinxi'
,
url
:
clientUrl
url
:
clientUrl
,
};
}
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
wx
.
config
({
wx
.
config
({
beta
:
true
,
beta
:
true
,
...
@@ -141,18 +133,18 @@
...
@@ -141,18 +133,18 @@
nonceStr
:
res
.
result
.
nonceStr
,
// 必填,生成签名的随机串
nonceStr
:
res
.
result
.
nonceStr
,
// 必填,生成签名的随机串
signature
:
res
.
result
.
signature
,
// 必填,签名,见附录1
signature
:
res
.
result
.
signature
,
// 必填,签名,见附录1
jsApiList
:
[
jsApiList
:
[
"chooseImage"
,
'chooseImage'
,
"previewImage"
,
'previewImage'
,
"downloadImage"
,
'downloadImage'
,
"getLocalImgData"
,
'getLocalImgData'
,
"uploadImage"
,
'uploadImage'
,
"hideOptionMenu"
'hideOptionMenu'
,
]
// 必填,需要使用的JS接口列表,所有JS接口列表见附录2
],
// 必填,需要使用的JS接口列表,所有JS接口列表见附录2
});
})
wx
.
ready
(
function
()
{
wx
.
ready
(
function
()
{
wx
.
hideOptionMenu
();
wx
.
hideOptionMenu
()
});
})
});
})
},
},
// search () {
// search () {
// let vm = this
// let vm = this
...
@@ -182,15 +174,15 @@
...
@@ -182,15 +174,15 @@
// },
// },
// })
// })
// },
// },
getToken
()
{
getToken
()
{
let
vm
=
this
;
let
vm
=
this
let
url
=
process
.
env
.
loginPathRl
+
"admin"
;
let
url
=
process
.
env
.
loginPathRl
+
'admin'
let
param
=
{};
let
param
=
{}
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
window
.
localStorage
.
setItem
(
"access_token_rl"
,
res
.
access_token
);
window
.
localStorage
.
setItem
(
'access_token_rl'
,
res
.
access_token
)
});
})
},
},
goFunctionHome
(
data
)
{
goFunctionHome
(
data
)
{
// if (this.subscribe) {
// if (this.subscribe) {
// this.$router.push({
// this.$router.push({
// name: data.functionState
// name: data.functionState
...
@@ -204,76 +196,76 @@
...
@@ -204,76 +196,76 @@
// }
// }
if
(
!
this
.
subscribe
)
{
if
(
!
this
.
subscribe
)
{
hlsPopup
.
showPopup
({
hlsPopup
.
showPopup
({
title
:
"提示"
,
title
:
'提示'
,
content
:
"未关注公众号,请先关注后再进入!"
,
content
:
'未关注公众号,请先关注后再进入!'
,
onConfirm
:
function
()
{
onConfirm
:
function
()
{
}
},
})
})
}
else
{
}
else
{
"Y"
==
window
.
localStorage
.
authFlag
||
"UserRegister"
==
data
.
functionState
||
"ChinaUnionPay"
==
data
.
functionState
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
window
.
localStorage
.
authFlag
==
'Y'
||
data
.
functionState
==
'UserRegister'
||
data
.
functionState
==
'ChinaUnionPay'
/* || data.functionState == 'CmbPolyPay' */
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
title
:
"提示"
,
title
:
'提示'
,
content
:
"当前用户未完成注册,请先注册!"
,
content
:
'当前用户未完成注册,请先注册!'
,
onConfirm
:
function
()
{
onConfirm
:
function
()
{
}
},
})
})
}
}
},
},
// moreRecommend () {
// moreRecommend () {
// console.log('go moreRecommend')
// console.log('go moreRecommend')
// },
// },
getOpenId
(
code
)
{
getOpenId
(
code
)
{
let
vm
=
this
;
let
vm
=
this
let
url
=
process
.
env
.
basePathRl
+
"getOpenId"
;
let
url
=
process
.
env
.
basePathRl
+
'getOpenId'
let
param
=
{
let
param
=
{
apiKey
:
"handexinxi"
,
apiKey
:
'handexinxi'
,
code
:
code
code
:
code
,
};
}
// window.localStorage.openId = "oBdoRwP0WSbegPOoe9WTEMPkKsWQ";
// window.localStorage.openId = "oBdoRwP0WSbegPOoe9WTEMPkKsWQ";
// vm.getWxUserInfo(window.localStorage.openId);
// vm.getWxUserInfo(window.localStorage.openId);
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
if
(
res
.
resultCode
==
"00"
)
{
if
(
res
.
resultCode
==
'00'
)
{
window
.
localStorage
.
openId
=
res
.
result
;
window
.
localStorage
.
openId
=
res
.
result
if
(
window
.
localStorage
.
openId
)
{
if
(
window
.
localStorage
.
openId
)
{
vm
.
getWxUserInfo
(
window
.
localStorage
.
openId
);
vm
.
getWxUserInfo
(
window
.
localStorage
.
openId
)
vm
.
getUserInfo
(
window
.
localStorage
.
openId
)
vm
.
getUserInfo
(
window
.
localStorage
.
openId
)
}
}
}
}
});
})
},
},
getWxUserInfo
(
id
)
{
getWxUserInfo
(
id
)
{
let
vm
=
this
;
let
vm
=
this
let
url
=
process
.
env
.
basePathRl
+
"getWxUserInfo"
;
let
url
=
process
.
env
.
basePathRl
+
'getWxUserInfo'
let
params
=
{
let
params
=
{
apiKey
:
"handexinxi"
,
apiKey
:
'handexinxi'
,
openid
:
id
openid
:
id
,
// openid: "oBdoRwI9gj9Brbe9iqlDCg5G2dDc"
// openid: "oBdoRwI9gj9Brbe9iqlDCg5G2dDc"
};
}
// window.localStorage.openId = "1234567"
// window.localStorage.openId = "1234567"
vm
.
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
if
(
res
.
resultCode
==
"00"
)
{
if
(
res
.
resultCode
==
'00'
)
{
vm
.
subscribe
=
window
.
localStorage
.
subscribe
=
res
.
result
.
subscribe
;
vm
.
subscribe
=
window
.
localStorage
.
subscribe
=
res
.
result
.
subscribe
// console.log("vvvv", res.result.subscribe);
// console.log("vvvv", res.result.subscribe);
}
}
});
})
},
},
getUserInfo
:
function
(
openId
)
{
getUserInfo
:
function
(
openId
)
{
let
vm
=
this
,
let
vm
=
this
,
url
=
process
.
env
.
rootPath
+
"/sign/info/hclc/query/by/openid?openId="
+
openId
;
url
=
process
.
env
.
rootPath
+
'/sign/info/hclc/query/by/openid?openId='
+
openId
vm
.
$post
(
url
).
then
(
function
(
res
)
{
vm
.
$post
(
url
).
then
(
function
(
res
)
{
if
(
res
.
rows
.
length
>
0
)
{
if
(
res
.
rows
.
length
>
0
)
{
var
results
=
res
.
rows
[
0
];
var
results
=
res
.
rows
[
0
]
vm
.
authFlag
=
window
.
localStorage
.
authFlag
=
results
.
authFlag
;
vm
.
authFlag
=
window
.
localStorage
.
authFlag
=
results
.
authFlag
}
}
})
})
}
},
}
},
};
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
type=
"text/less"
>
<
style
lang=
"less"
scoped
type=
"text/less"
>
@import "../styles/vue-1px";
@import "../styles/vue-1px";
#home {
#home {
.top-box {
.top-box {
// height: 264px;
// height: 264px;
width: 100%;
width: 100%;
...
@@ -500,5 +492,5 @@
...
@@ -500,5 +492,5 @@
}
}
}
}
}
}
}
}
</
style
>
</
style
>
src/router/index.js
View file @
6dc985aa
...
@@ -5,7 +5,6 @@ import ModuleFunction from '@/pages/homeManager/module-function'
...
@@ -5,7 +5,6 @@ import ModuleFunction from '@/pages/homeManager/module-function'
// test工具类
// test工具类
import
HlsPopup
from
'@/pages/hlsPopup'
import
HlsPopup
from
'@/pages/hlsPopup'
// 合同
// 合同
import
ContractMaintenList
from
'@/pages/applications/contractMainten/contract-mainten-list'
import
ContractMaintenList
from
'@/pages/applications/contractMainten/contract-mainten-list'
import
ContractMainten
from
'@/pages/applications/contractMainten/contract-mainten'
import
ContractMainten
from
'@/pages/applications/contractMainten/contract-mainten'
...
@@ -13,7 +12,6 @@ import ContractSignList from '@/pages/applications/contractSign/contract-sign-li
...
@@ -13,7 +12,6 @@ import ContractSignList from '@/pages/applications/contractSign/contract-sign-li
import
ContractSign
from
'@/pages/applications/contractSign/contract-sign'
import
ContractSign
from
'@/pages/applications/contractSign/contract-sign'
import
EsignPicture
from
'@/pages/applications/contractSign/esignPicture'
import
EsignPicture
from
'@/pages/applications/contractSign/esignPicture'
// 电子签章
// 电子签章
import
Esign
from
'@/pages/applications/esign/Esign'
import
Esign
from
'@/pages/applications/esign/Esign'
import
BankVerified
from
'@/pages/applications/esign/BankVerified'
import
BankVerified
from
'@/pages/applications/esign/BankVerified'
...
@@ -26,15 +24,13 @@ import UserRegister from '@/pages/applications/userRegisters/userRegister'
...
@@ -26,15 +24,13 @@ import UserRegister from '@/pages/applications/userRegisters/userRegister'
// 企业注册
// 企业注册
import
CompanyRegister
from
'@/pages/applications/userRegisters/companyRegister'
import
CompanyRegister
from
'@/pages/applications/userRegisters/companyRegister'
import
ReadonlyCompanyReg
from
'@/pages/applications/userRegisters/readonlyCompanyReg'
import
ReadonlyCompanyReg
from
'@/pages/applications/userRegisters/readonlyCompanyReg'
//授权经办人
//
授权经办人
import
AuthorizedAgent
from
'@/pages/applications/userRegisters/authorizedAgent'
import
AuthorizedAgent
from
'@/pages/applications/userRegisters/authorizedAgent'
// 个人注册
// 个人注册
import
PersonalRegister
from
'@/pages/applications/userRegisters/personalRegister'
import
PersonalRegister
from
'@/pages/applications/userRegisters/personalRegister'
import
ReadonlyPersonalReg
from
'@/pages/applications/userRegisters/readonlyPersonalReg'
import
ReadonlyPersonalReg
from
'@/pages/applications/userRegisters/readonlyPersonalReg'
Vue
.
use
(
Router
)
// 电子签约
// 电子签约
import
ElectronicContract
from
'@/pages/applications/electronicContract/electronicContract'
import
ElectronicContract
from
'@/pages/applications/electronicContract/electronicContract'
import
ElectronicContractList
from
'@/pages/applications/electronicContract/electronicContractList'
import
ElectronicContractList
from
'@/pages/applications/electronicContract/electronicContractList'
...
@@ -44,10 +40,14 @@ import ContractDownloadList from '@/pages/applications/contractDownload/contract
...
@@ -44,10 +40,14 @@ import ContractDownloadList from '@/pages/applications/contractDownload/contract
// 图片上传微信服务器
// 图片上传微信服务器
import
UploadImg
from
'@/pages/applications/userRegisters/uploadImg'
import
UploadImg
from
'@/pages/applications/userRegisters/uploadImg'
import
UploadImage
from
'@/pages/applications/userRegisters/uploadImage'
import
UploadImage
from
'@/pages/applications/userRegisters/uploadImage'
//银联电子签约
//
银联电子签约
import
ChinaUnionPay
from
'@/pages/applications/chinaUnionPay/chinaUnionPay'
import
ChinaUnionPay
from
'@/pages/applications/chinaUnionPay/chinaUnionPay'
// 银联电子签约
import
CmbPolyPay
from
'@/pages/applications/cmbPolyPay/cmbPolyPay'
Vue
.
use
(
Router
)
// 全局跳转路由方法
// 全局跳转路由方法
Router
.
prototype
.
pushPage
=
function
(
param
,
bool
)
{
Router
.
prototype
.
pushPage
=
function
(
param
,
bool
)
{
debugger
debugger
let
key
=
true
let
key
=
true
if
(
bool
===
undefined
)
{
if
(
bool
===
undefined
)
{
...
@@ -107,15 +107,15 @@ export default new Router({
...
@@ -107,15 +107,15 @@ export default new Router({
component
:
UserRegister
,
component
:
UserRegister
,
name
:
'UserRegister'
,
name
:
'UserRegister'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
}
},
},
},
{
{
path
:
'/UserRegister/PersonalRegister'
,
path
:
'/UserRegister/PersonalRegister'
,
component
:
PersonalRegister
,
component
:
PersonalRegister
,
name
:
'PersonalRegister'
,
name
:
'PersonalRegister'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
{
{
...
@@ -123,7 +123,7 @@ export default new Router({
...
@@ -123,7 +123,7 @@ export default new Router({
component
:
ReadonlyPersonalReg
,
component
:
ReadonlyPersonalReg
,
name
:
'ReadonlyPersonalReg'
,
name
:
'ReadonlyPersonalReg'
,
meta
:
{
meta
:
{
keepAlive
:
true
keepAlive
:
true
,
},
},
},
},
...
@@ -132,7 +132,7 @@ export default new Router({
...
@@ -132,7 +132,7 @@ export default new Router({
component
:
CompanyRegister
,
component
:
CompanyRegister
,
name
:
'CompanyRegister'
,
name
:
'CompanyRegister'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
{
{
...
@@ -140,7 +140,7 @@ export default new Router({
...
@@ -140,7 +140,7 @@ export default new Router({
component
:
ReadonlyCompanyReg
,
component
:
ReadonlyCompanyReg
,
name
:
'ReadonlyCompanyReg'
,
name
:
'ReadonlyCompanyReg'
,
meta
:
{
meta
:
{
keepAlive
:
true
keepAlive
:
true
,
},
},
},
},
// 微信上传图片
// 微信上传图片
...
@@ -149,7 +149,7 @@ export default new Router({
...
@@ -149,7 +149,7 @@ export default new Router({
component
:
UploadImg
,
component
:
UploadImg
,
name
:
'UploadImg'
,
name
:
'UploadImg'
,
meta
:
{
meta
:
{
keepAlive
:
true
keepAlive
:
true
,
},
},
},
},
...
@@ -158,7 +158,7 @@ export default new Router({
...
@@ -158,7 +158,7 @@ export default new Router({
component
:
UploadImage
,
component
:
UploadImage
,
name
:
'UploadImage'
,
name
:
'UploadImage'
,
meta
:
{
meta
:
{
keepAlive
:
true
keepAlive
:
true
,
},
},
},
},
// 电子签约
// 电子签约
...
@@ -168,7 +168,7 @@ export default new Router({
...
@@ -168,7 +168,7 @@ export default new Router({
component
:
ElectronicContract
,
component
:
ElectronicContract
,
name
:
'ElectronicContract'
,
name
:
'ElectronicContract'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
{
{
...
@@ -176,7 +176,7 @@ export default new Router({
...
@@ -176,7 +176,7 @@ export default new Router({
component
:
ElectronicContractList
,
component
:
ElectronicContractList
,
name
:
'ElectronicContractList'
,
name
:
'ElectronicContractList'
,
meta
:
{
meta
:
{
keepAlive
:
true
keepAlive
:
true
,
},
},
},
},
// 电子合同下载
// 电子合同下载
...
@@ -185,7 +185,7 @@ export default new Router({
...
@@ -185,7 +185,7 @@ export default new Router({
component
:
ContractDownload
,
component
:
ContractDownload
,
name
:
'ContractDownload'
,
name
:
'ContractDownload'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
// 电子合同下载
// 电子合同下载
...
@@ -194,7 +194,7 @@ export default new Router({
...
@@ -194,7 +194,7 @@ export default new Router({
component
:
ContractDownloadList
,
component
:
ContractDownloadList
,
name
:
'ContractDownloadList'
,
name
:
'ContractDownloadList'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
// 授权经办人
// 授权经办人
...
@@ -203,7 +203,7 @@ export default new Router({
...
@@ -203,7 +203,7 @@ export default new Router({
component
:
AuthorizedAgent
,
component
:
AuthorizedAgent
,
name
:
'AuthorizedAgent'
,
name
:
'AuthorizedAgent'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
},
},
// 银联电子签约
// 银联电子签约
...
@@ -212,15 +212,20 @@ export default new Router({
...
@@ -212,15 +212,20 @@ export default new Router({
component
:
ChinaUnionPay
,
component
:
ChinaUnionPay
,
name
:
'ChinaUnionPay'
,
name
:
'ChinaUnionPay'
,
meta
:
{
meta
:
{
keepAlive
:
false
keepAlive
:
false
,
},
},
// 招行聚合支付
{
path
:
'/CmbPolyPay'
,
component
:
CmbPolyPay
,
name
:
'CmbPolyPay'
,
meta
:
{
keepAlive
:
false
,
},
},
},
},
],
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
scrollBehavior
(
to
,
from
,
savedPosition
)
{
if
(
to
.
hash
)
{
if
(
to
.
hash
)
{
return
{
return
{
selector
:
to
.
hash
,
selector
:
to
.
hash
,
...
...
www.rar
0 → 100644
View file @
6dc985aa
File added
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