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
95be47d2
Commit
95be47d2
authored
Jan 09, 2020
by
Jennie Shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixIssue
parent
a6532da7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
644 additions
and
598 deletions
+644
-598
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+1
-1
sales-info.vue
src/pages/contractCreate/sales-info.vue
+9
-2
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+622
-583
pay-page.vue
src/pages/pay/pay-page.vue
+12
-12
No files found.
src/pages/contractCreate/create-base-info.vue
View file @
95be47d2
...
...
@@ -430,7 +430,7 @@ export default {
},
watch
:
{
$route
(
to
,
from
)
{
if
(
to
.
name
===
'SalesInfo'
)
{
if
(
to
.
name
===
'SalesInfo'
&&
from
.
name
===
'CreateBaseInfo'
)
{
this
.
routeGoCustom
()
}
},
...
...
src/pages/contractCreate/sales-info.vue
View file @
95be47d2
...
...
@@ -186,6 +186,12 @@ export default {
},
immediate
:
true
,
},
// '$route' (to, from) {
// debugger
// if (from.fullPath !== '/contract-create-list' && to.fullPath === '/sales-info') {
// this.$router.go(0)
// }
// },
},
activated
()
{
...
...
@@ -222,7 +228,8 @@ export default {
}
vm
.
businessQuery
().
then
(
res
=>
{
vm
.
agentQuery
().
then
(
res
=>
{
vm
.
factoryQuery
()
vm
.
factoryQuery
().
then
(
res
=>
{
})
})
})
}
else
if
(
from
.
name
===
'CreateBaseInfo'
)
{
...
...
@@ -327,7 +334,7 @@ export default {
phone
:
window
.
localStorage
.
getItem
(
'user_phone'
),
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
factoty
=
res
.
lists
if
(
res
.
result
===
'S'
)
{
...
...
src/pages/contractSigning/contract-detail.vue
View file @
95be47d2
...
...
@@ -118,6 +118,19 @@
</div>
</h-content>
<h-content
v-if=
"num === 2"
>
<list-item
:item-height=
"56"
class=
"contract-text"
style=
"background-color:rgb(250,250,250);"
>
<item
v-for=
"(item,index) in attachArray"
:proportion=
"[7,1]"
:key=
"index"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/constractSigning/npack.png"
alt
class=
"pics"
>
<p
class=
"second first"
>
{{
item
.
attachment_file
}}
</p>
</div>
<div
slot=
"content"
class=
"in-detail"
@
click=
"goContent(item.attachment_file_path)"
>
<img
src=
"@/assets/constractSigning/detail.png"
alt
>
</div>
</item>
</list-item>
</h-content>
<!--
<h-content
v-if=
"num === 2"
>
<list-item
:item-height=
"56"
class=
"contract-text"
style=
"background-color:rgb(250,250,250);"
>
<item
:proportion=
"[7,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
...
...
@@ -129,7 +142,6 @@
</div>
</item>
<!-- 农行代扣授权书 -->
<item
v-if=
"abc_deduction_flag === 'Y'"
:proportion=
"[7,1]"
:class=
"
{'border-red':isshow}">
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/constractSigning/pack.png"
alt
class=
"pics"
>
...
...
@@ -166,7 +178,7 @@
</div>
</item>
</list-item>
</h-content>
</h-content>
-->
<h-content
v-if=
"num === 1"
>
<list-item
:item-height=
"44"
class=
"second-part"
>
<item>
...
...
@@ -302,12 +314,11 @@
</h-view>
</h-modal>
<!--活体检测-->
<body-check
ref=
"body"
:check_id=
"$route.params.check_id"
:confirm_id=
"confirm_id"
/>
<body-check
ref=
"body"
:check_id=
"$route.params.check_id"
:confirm_id=
"confirm_id"
/>
</h-view>
</
template
>
<
script
>
import
Check1
from
'@/assets/constractSigning/business.png'
import
Check2
from
'@/assets/constractSigning/constract.png'
import
Check3
from
'@/assets/constractSigning/lease.png'
...
...
@@ -334,6 +345,7 @@ export default {
showModalValue
:
false
,
credit_status
:
'N'
,
// 一个月内是否查过征信 N查过
guarantorInfo
:
[],
// 担保人信息
attachArray
:
[],
// 附件数组
bp_class
:
this
.
$route
.
params
.
item
.
bp_class
,
// 承租人性质(自然人,企业)
info
:
{},
// 租赁信息
baseInfo
:
{},
// 基本信息
...
...
@@ -366,6 +378,7 @@ export default {
}
},
computed
:
{},
watch
:
{
$route
(
to
,
from
)
{
hlsPopup
.
hideConfirm
()
...
...
@@ -418,6 +431,8 @@ export default {
vm
.
getLease
()
vm
.
getGuarantor
()
vm
.
getContractLists
()
// 合同列表
// 合同文本附件查询
vm
.
getAttachment
()
}
else
if
(
from
.
name
===
'EntryInfo'
)
{
vm
.
bankCardQuery
()
}
...
...
@@ -459,6 +474,29 @@ export default {
// vm.hlsPopup.showLongCenter(res.message)
}
},
goContent
(
url
)
{
// 详情
// window.open(url)
cordova
.
InAppBrowser
.
open
(
url
,
'_blank'
,
'location=yes'
)
},
// 合同文本详情附件查询
getAttachment
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'get_content_app'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
data_class
:
'PRJ_PROJECT'
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
res
=>
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
attachArray
=
res
.
attachments
}
else
{
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 征信查询
creditCheck
()
{
let
vm
=
this
...
...
@@ -477,7 +515,8 @@ export default {
}
})
},
goBodyCheck
(
confirm_id
)
{
// 活体检测
goBodyCheck
(
confirm_id
)
{
// 活体检测
this
.
$refs
.
body
.
show
()
/* this.$router.push({
name: 'BodyCheck',
...
...
@@ -532,7 +571,6 @@ export default {
if
(
index
===
1
)
{
vm
.
takePhontoOpenCamera
()
}
else
{
}
},
})
...
...
@@ -859,7 +897,8 @@ export default {
},
async
inSure
()
{
let
flag
=
await
this
.
signCheck
()
if
(
flag
)
{
// 只有认证通过后方可进行签约操作
if
(
flag
)
{
// 只有认证通过后方可进行签约操作
if
(
!
this
.
bank_flag
&&
this
.
abc_deduction_flag
===
'Y'
)
{
this
.
isshow
=
true
// 未查到农行卡给出提示且勾选农行代扣
}
else
{
...
...
@@ -898,10 +937,10 @@ export default {
}
</
script
>
<
style
lang=
"less"
rel=
"stylesheet"
>
#contract-details {
#contract-details {
.sign-elect {
width:
100%;
height:
1.1rem;
width:
100%;
height:
1.1rem;
position: fixed;
bottom: 43px;
// margin-top: 20px;
...
...
@@ -921,9 +960,9 @@ export default {
letter-spacing: 0.2rem;
}
}
.bodyCheck
{
width:
100%;
height:
1.1rem;
.bodyCheck
{
width:
100%;
height:
1.1rem;
position: fixed;
bottom: 92px;
background: #fff;
...
...
@@ -1506,7 +1545,7 @@ export default {
border: 1px solid #fdb62f;
border-radius: 4px;
color: #fdb62f;
img
{
img
{
width: 18px;
}
}
...
...
@@ -1514,13 +1553,13 @@ export default {
background: #1d3fff;
border-radius: 4px;
color: #fff;
img
{
img
{
width: 18px;
}
}
}
}
.modal {
}
.modal {
background-color: rgba(0, 0, 0, 0) !important;
}
}
</
style
>
src/pages/pay/pay-page.vue
View file @
95be47d2
...
...
@@ -85,7 +85,7 @@
</item>
-->
<div
class=
"orderamount-wrap"
>
<span
class=
"orderamount-item"
>
交易金额
</span>
<span
class=
"orderamount-item font-color"
>
¥
{{
info
.
orderamount
|
currency
}}
</span>
<span
class=
"orderamount-item font-color"
>
¥
{{
info
.
orderamount
|
currency
}}
</span>
</div>
<item>
<div
slot=
"name"
class=
"name"
>
支付方式
</div>
...
...
@@ -176,7 +176,7 @@ export default {
pay
(
status
)
{
let
vm
=
this
vm
.
nextPay
=
false
if
(
status
===
'continue'
&&
vm
.
payType
===
'ABC_UNION'
){
// 在银联模式下继续支付重新获取支付url,因为银联页面只能打开一次
if
(
status
===
'continue'
&&
vm
.
payType
===
'ABC_UNION'
)
{
// 在银联模式下继续支付重新获取支付url,因为银联页面只能打开一次
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'银联不支持二次支付,请重新发起支付订单'
,
...
...
@@ -188,7 +188,7 @@ export default {
}
},
})
}
else
{
}
else
{
cordova
.
InAppBrowser
.
open
(
this
.
url
,
'_blank'
,
'location=yes'
)
// window.open(this.url)
}
...
...
@@ -197,7 +197,7 @@ export default {
vm
.
showpay
=
false
},
3000
)
},
getPayUrl
()
{
getPayUrl
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'merchant_payment'
let
param
=
{
...
...
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