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
699e94ab
Commit
699e94ab
authored
Apr 13, 2022
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev测试环境跳转接口调整
parent
a83808cb
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
565 additions
and
32 deletions
+565
-32
chinapay_logo.png
src/assets/home-manager/chinapay_logo.png
+0
-0
bankIcon@2x.png
src/assets/userRegister/bankIcon@2x.png
+0
-0
indentifyCode.png
src/assets/userRegister/indentifyCode.png
+0
-0
phone2.png
src/assets/userRegister/phone2.png
+0
-0
chinaUnionPay.vue
src/pages/applications/chinaUnionPay/chinaUnionPay.vue
+470
-0
authorizedAgent.vue
src/pages/applications/userRegisters/authorizedAgent.vue
+65
-26
functionState.js
src/pages/functionState.js
+14
-1
home.vue
src/pages/home.vue
+4
-4
index.js
src/router/index.js
+12
-1
No files found.
src/assets/home-manager/chinapay_logo.png
0 → 100644
View file @
699e94ab
88.8 KB
src/assets/userRegister/bankIcon@2x.png
0 → 100644
View file @
699e94ab
638 Bytes
src/assets/userRegister/indentifyCode.png
0 → 100644
View file @
699e94ab
6.42 KB
src/assets/userRegister/phone2.png
0 → 100644
View file @
699e94ab
1.44 KB
src/pages/applications/chinaUnionPay/chinaUnionPay.vue
0 → 100644
View file @
699e94ab
This diff is collapsed.
Click to expand it.
src/pages/applications/userRegisters/authorizedAgent.vue
View file @
699e94ab
...
...
@@ -195,12 +195,23 @@
</div>
</div>
</div>
<div
v-if=
"unAuthorizedList.length && showButton"
class=
"button_all"
>
<div
class=
"next_step"
@
click=
"autohrized('Y')"
>
授权
<div
v-if=
"unAuthorizedList.length && showButton"
class=
"info_all"
style=
"border: none;"
>
<div
class=
"list_left"
style=
"width:100%;color: #898989;font-family: '微软雅黑';border: none;line-height: 150%;"
>
<img
src=
"../../../assets/userRegister/choosed.png"
alt
style=
"width:15px;height:15px;margin-right:5px;"
/>
“授权”须知:您即将授权“未授权”的经办人员作为贵司的签约授权代表,一旦您点击了“授权”按钮,相应的授权经办人员即完全取得代表贵司签约的权利,其所有签约操作行为都完全代表贵司。请您作为贵司签约授权管理人,在完全理解和明白前述点击“授权”按钮的法律后果并确保贵司愿意接受该种法律后果的情况下点击“授权”按钮。如您因误操作点击了“授权”按钮,请您立即进行取消授权的操作,否则贵司也将承担因误操作所引发的一切法律后果。
</div>
</div>
<div
v-if=
"unAuthorizedList.length && showButton"
class=
"button_all"
>
<!--
<div-->
<!--class="next_step"-->
<!--@click="autohrized('Y')"-->
<!-->
{{
content
}}
-->
<!--
</div>
-->
<h-button
id=
"unAuthorized"
class=
"next_step2"
:disabled=
"ableFlag"
@
click
.
native=
"autohrized('Y')"
>
{{
content
}}
</h-button>
</div>
</div>
...
...
@@ -224,7 +235,10 @@
choosedList
:
[],
//已选择数组
obj
:
{},
showButton
:
true
,
totalTime
:
5
,
canClick
:
false
,
//添加canClick
content
:
'同意授权'
,
ableFlag
:
true
};
},
components
:
{
...
...
@@ -248,7 +262,23 @@
methods
:
{
// tab切换
getRadioVal
()
{
// console.log(this.staffType);
if
(
this
.
staffType
==
'未授权'
)
{
let
vm
=
this
vm
.
canClick
=
false
;
vm
.
ableFlag
=
true
;
vm
.
content
=
'同意授权'
+
vm
.
totalTime
+
's'
let
clock
=
window
.
setInterval
(()
=>
{
vm
.
totalTime
--
vm
.
content
=
'同意授权'
+
vm
.
totalTime
+
's'
if
(
vm
.
totalTime
<
0
)
{
window
.
clearInterval
(
clock
)
vm
.
content
=
'同意授权'
vm
.
totalTime
=
5
vm
.
canClick
=
true
//这里重新开启
vm
.
ableFlag
=
false
;
}
},
1000
);
}
},
changeChoose
(
item
)
{
let
vm
=
this
...
...
@@ -304,6 +334,7 @@
},
//授权
autohrized
(
flag
)
{
if
(
flag
==
'Y'
&&
!
this
.
canClick
)
return
//改动的是这两行代码
let
vm
=
this
vm
.
choosedList
=
[];
if
(
flag
==
'N'
)
{
//已经授权的 取消授权
...
...
@@ -329,26 +360,26 @@
let
url
=
process
.
env
.
rootPath
+
'/auth/api/individual/authorize'
let
param
=
vm
.
choosedList
if
(
flag
==
'Y'
)
{
hlsPopup
.
showConfirm
({
title
:
'“授权”须知'
,
content
:
'您即将授权“未授权”的经办人员作为贵司的签约授权代表,一旦您点击了“授权”按钮,相应的授权经办人员即完全取得代表贵司签约的权利,其所有签约操作行为都完全代表贵司。请您作为贵司签约授权管理人,在完全理解和明白前述点击“授权”按钮的法律后果并确保贵司愿意接受该种法律后果的情况下点击“授权”按钮。如您因误操作点击了“授权”按钮,请您立即进行取消授权的操作,否则贵司也将承担因误操作所引发的一切法律后果。'
,
onConfirm
:
function
(
index
)
{
if
(
index
===
1
)
{
vm
.
hlsPopup
.
showLoading
(
'请稍等'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
code
==
'000000'
)
{
hlsPopup
.
showLongCenter
(
'操作成功!'
)
vm
.
obj
=
{}
vm
.
choosedList
=
[]
vm
.
init
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
// hlsPopup.showConfirm({
// title: '“授权”须知',
// content: '您即将授权“未授权”的经办人员作为贵司的签约授权代表,一旦您点击了“授权”按钮,相应的授权经办人员即完全取得代表贵司签约的权利,其所有签约操作行为都完全代表贵司。请您作为贵司签约授权管理人,在完全理解和明白前述点击“授权”按钮的法律后果并确保贵司愿意接受该种法律后果的情况下点击“授权”按钮。如您因误操作点击了“授权”按钮,请您立即进行取消授权的操作,否则贵司也将承担因误操作所引发的一切法律后果。',
// onConfirm: function (index) {
// if (index === 1) {
vm
.
hlsPopup
.
showLoading
(
'请稍等'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
code
==
'000000'
)
{
hlsPopup
.
showLongCenter
(
'操作成功!'
)
vm
.
obj
=
{}
vm
.
choosedList
=
[]
vm
.
init
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
// }
// },
// })
}
else
if
(
flag
==
'N'
)
{
vm
.
hlsPopup
.
showLoading
(
'请稍等'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
@@ -562,6 +593,14 @@
color: #ffffff;
margin-top: 50px;
}
.next_step2 {
width: 120px;
/*height: 30px;*/
border-radius: 15px;
background-color: #09bb07;
color: #ffffff;
margin-top: 50px;
}
}
}
...
...
src/pages/functionState.js
View file @
699e94ab
...
...
@@ -288,6 +288,19 @@ export default {
'target'
:
null
,
'applicationFlag'
:
'N'
,
'appCode'
:
'HLS_APP'
,
},
{
'functionId'
:
66
,
'functionCode'
:
'470'
,
'functionName'
:
'银联电子签约'
,
'functionIcon'
:
require
(
'@/assets/home-manager/chinapay_logo.png'
),
'functionState'
:
'ChinaUnionPay'
,
'prodFlag'
:
'Y'
,
'enableFlag'
:
'Y'
,
'functionType'
:
'local'
,
'target'
:
null
,
'applicationFlag'
:
'N'
,
'appCode'
:
'HLS_APP'
,
}
],
},
...
...
@@ -342,4 +355,4 @@ export default {
],
}, */
],
}
\ No newline at end of file
}
src/pages/home.vue
View file @
699e94ab
...
...
@@ -210,7 +210,7 @@
}
})
}
else
{
"Y"
==
window
.
localStorage
.
authFlag
||
"UserRegister"
==
data
.
functionState
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
"Y"
==
window
.
localStorage
.
authFlag
||
"UserRegister"
==
data
.
functionState
||
"ChinaUnionPay"
==
data
.
functionState
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
title
:
"提示"
,
content
:
"当前用户未完成注册,请先注册!"
,
onConfirm
:
function
()
{
...
...
@@ -378,12 +378,12 @@
.function-item {
width: 25%;
height:
89
px;
height:
100
px;
font-size: 12px;
// border: 1px solid rgba(169,169,169,0.1); /*no*/
/deep/ img {
height:
3
0px;
width:
3
0px;
height:
4
0px;
width:
4
0px;
margin: 23px 28px 9px 33px;
}
...
...
src/router/index.js
View file @
699e94ab
...
...
@@ -44,6 +44,8 @@ import ContractDownloadList from '@/pages/applications/contractDownload/contract
// 图片上传微信服务器
import
UploadImg
from
'@/pages/applications/userRegisters/uploadImg'
import
UploadImage
from
'@/pages/applications/userRegisters/uploadImage'
//银联电子签约
import
ChinaUnionPay
from
'@/pages/applications/chinaUnionPay/chinaUnionPay'
// 全局跳转路由方法
Router
.
prototype
.
pushPage
=
function
(
param
,
bool
)
{
debugger
...
...
@@ -204,6 +206,15 @@ export default new Router({
keepAlive
:
false
},
},
// 银联电子签约
{
path
:
'/ChinaUnionPay'
,
component
:
ChinaUnionPay
,
name
:
'ChinaUnionPay'
,
meta
:
{
keepAlive
:
false
},
},
...
...
@@ -216,4 +227,4 @@ export default new Router({
}
}
},
})
\ 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