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
f27f3b1a
Commit
f27f3b1a
authored
Nov 13, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/xugong/hls-xcmg-vue-app
into develop
parents
f54556aa
56a54d6f
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
328 additions
and
229 deletions
+328
-229
contract-repayment.vue
src/pages/contractRepayment/contract-repayment.vue
+4
-4
repay-details.vue
src/pages/contractRepayment/repay-details.vue
+14
-0
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+4
-5
start-list.vue
src/pages/contractStart/start-list.vue
+2
-2
contract-details.vue
src/pages/distributorSign/contract-details.vue
+160
-73
contract-list.vue
src/pages/distributorSign/contract-list.vue
+57
-57
financ-details.vue
src/pages/distributorSign/financ-details.vue
+5
-5
my-info.vue
src/pages/myInfo/my-info.vue
+1
-1
contract-record.vue
src/pages/pay/firstPay/contract-record.vue
+1
-3
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+75
-75
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+3
-2
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+2
-2
No files found.
src/pages/contractRepayment/contract-repayment.vue
View file @
f27f3b1a
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
<div
class=
"center"
>
<div
class=
"center"
>
<div><span>
合同金额
</span><p>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><span>
合同金额
</span><p>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><span>
已还金额
</span><p
class=
"bold"
>
{{
item
.
recivied_amount
|
currency
}}
</p></div>
<div><span>
已还金额
</span><p
class=
"bold"
>
{{
item
.
recivied_amount
|
currency
}}
</p></div>
<span
class=
"red"
>
逾期
{{
item
.
overdue_times
}}
期
</span>
<span
v-if=
"item.overdue_status==='Y'"
class=
"red"
>
已逾
期
</span>
<section
@
click=
"toRepayDetails(item
.project_id
)"
>
<section
@
click=
"toRepayDetails(item)"
>
<img
src=
"@/assets/contractRepayment/view.png"
alt=
""
>
<img
src=
"@/assets/contractRepayment/view.png"
alt=
""
>
<span>
查看合同明细
</span>
<span>
查看合同明细
</span>
</section>
</section>
...
@@ -90,7 +90,8 @@ export default {
...
@@ -90,7 +90,8 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'RepayDetails'
,
name
:
'RepayDetails'
,
params
:
{
params
:
{
project_id
:
e
,
project_id
:
e
.
project_id
,
overdue_status
:
e
.
overdue_status
,
},
},
})
})
},
},
...
@@ -213,7 +214,6 @@ export default {
...
@@ -213,7 +214,6 @@ export default {
div:first-child {
div:first-child {
border-top: 1px solid #F3F3F7;
border-top: 1px solid #F3F3F7;
}
}
span.red{
span.red{
margin-top: 10px;
margin-top: 10px;
position: relative;
position: relative;
...
...
src/pages/contractRepayment/repay-details.vue
View file @
f27f3b1a
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
</div>
</div>
</div>
</div>
<div
slot=
"content"
>
<div
slot=
"content"
>
<span
:class=
"['status','red']"
>
{{
'逾期X期'
}}
</span>
<div
class=
"plan"
@
click=
"toRepayPlan(item.contract_id)"
>
<div
class=
"plan"
@
click=
"toRepayPlan(item.contract_id)"
>
<img
src=
"@/assets/contractRepayment/plan.png"
alt=
""
>
<img
src=
"@/assets/contractRepayment/plan.png"
alt=
""
>
<span>
还款计划
</span>
<span>
还款计划
</span>
...
@@ -81,6 +82,7 @@ export default {
...
@@ -81,6 +82,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
overdue_status
:
this
.
$route
.
params
.
overdue_status
,
detailInfo
:
{
detailInfo
:
{
project_number
:
''
,
project_number
:
''
,
agent_bp_name
:
''
,
agent_bp_name
:
''
,
...
@@ -155,6 +157,18 @@ export default {
...
@@ -155,6 +157,18 @@ export default {
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#repay-details {
#repay-details {
.status{
margin-bottom:20px;
display: inline-block;
}
.red{
color: red;
border-bottom: 1px solid red;
}
.blue{
color: blue;
border-bottom: 1px solid blue;
}
.h-header {
.h-header {
background-color: @headerColor;
background-color: @headerColor;
.h-header-btn {
.h-header-btn {
...
...
src/pages/contractSigning/contract-detail.vue
View file @
f27f3b1a
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-13
09:37:5
1
* @LastEditTime: 2019-11-13
17:20:2
1
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -567,12 +567,11 @@ export default {
...
@@ -567,12 +567,11 @@ export default {
auth_credit_flag
:
'Y'
,
auth_credit_flag
:
'Y'
,
},
},
}
}
// vm.hlsPopup.showLoading('数据加载中
')
vm
.
hlsPopup
.
showLoading
(
'请稍后
'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
//
vm.hlsPopup.hideLoading()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
// vm.guarantorInfo = res.lists
console
.
log
(
'同意'
)
}
}
})
})
},
},
...
...
src/pages/contractStart/start-list.vue
View file @
f27f3b1a
...
@@ -96,10 +96,10 @@ export default {
...
@@ -96,10 +96,10 @@ export default {
vm
.
done
=
[]
vm
.
done
=
[]
vm
.
tabNum
=
0
vm
.
tabNum
=
0
vm
.
undo
=
vm
.
lists
.
filter
(
i
=>
{
vm
.
undo
=
vm
.
lists
.
filter
(
i
=>
{
return
i
.
leases_status
===
'N
'
return
i
.
car_start_status
===
'REJECTED'
||
i
.
car_start_status
===
'NEW
'
})
})
vm
.
done
=
vm
.
lists
.
filter
(
i
=>
{
vm
.
done
=
vm
.
lists
.
filter
(
i
=>
{
return
i
.
leases_status
===
'Y
'
return
i
.
car_start_status
===
'APPROVED
'
})
})
this
.
showList
=
this
.
undo
this
.
showList
=
this
.
undo
},
},
...
...
src/pages/distributorSign/contract-details.vue
View file @
f27f3b1a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: 合同详情
* @Description: 合同详情
* @Author: your name
* @Author: your name
* @Date: 2019-09-25 15:38:21
* @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-1
0-29 09:53:42
* @LastEditTime: 2019-1
1-13 18:38:45
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
</div>
</div>
</h-content>
</h-content>
<h-content
v-if=
"tabNum === 2"
>
<h-content
v-if=
"tabNum === 2"
>
<list-item
:item-height=
"56"
>
<
!--
<
list-item
:item-height=
"56"
>
<item
:proportion=
"[4,1]"
>
<item
:proportion=
"[4,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/distributorSign/agreement.png"
alt=
""
class=
"pic"
>
<img
src=
"@/assets/distributorSign/agreement.png"
alt=
""
class=
"pic"
>
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
</div>
</div>
<img
slot=
"content"
src=
"@/assets/distributorSign/into.png"
alt=
""
>
<img
slot=
"content"
src=
"@/assets/distributorSign/into.png"
alt=
""
>
</item>
</item>
</list-item>
</list-item>
-->
<list-item
:item-height=
"56"
>
<list-item
:item-height=
"56"
>
<item
:proportion=
"[4,1]"
>
<item
:proportion=
"[4,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
...
@@ -187,10 +187,10 @@
...
@@ -187,10 +187,10 @@
<p
class=
"second"
>
经销商担保协议
</p>
<p
class=
"second"
>
经销商担保协议
</p>
<img
src=
"@/assets/distributorSign/read.png"
alt=
""
class=
"read"
>
<img
src=
"@/assets/distributorSign/read.png"
alt=
""
class=
"read"
>
</div>
</div>
<
img
slot=
"content"
src=
"@/assets/distributorSign/into.png"
alt=
""
>
<
div
slot=
"content"
class=
"in-detail"
><img
src=
"@/assets/constractSigning/detail.png"
alt=
""
></div
>
</item>
</item>
</list-item>
</list-item>
<list-item
:item-height=
"56"
>
<
!--
<
list-item
:item-height=
"56"
>
<item
:proportion=
"[4,1]"
>
<item
:proportion=
"[4,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/distributorSign/gray.png"
alt=
""
class=
"pics"
>
<img
src=
"@/assets/distributorSign/gray.png"
alt=
""
class=
"pics"
>
...
@@ -199,37 +199,13 @@
...
@@ -199,37 +199,13 @@
</div>
</div>
<img
slot=
"content"
src=
"@/assets/distributorSign/into.png"
alt=
""
>
<img
slot=
"content"
src=
"@/assets/distributorSign/into.png"
alt=
""
>
</item>
</item>
</list-item>
</list-item>
-->
</h-content>
</h-content>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'&& (this.$route.params.hasButtom || hasButtomStorage)"
class=
"footer-button"
>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'"
class=
"footer-button"
>
<!--
<tab-button
class=
"approve"
@
click
.
native=
"showModalValue=true"
>
-->
<tab-button
class=
"approve"
@
click
.
native=
"contractConfirm('APPROVED')"
>
<!--
<img
src=
"@/assets/intoApproval/approve.png"
>
-->
<tab-button
class=
"approve"
@
click
.
native=
"contractConfirm"
>
确认签约
确认签约
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
<!--
<h-modal
v-if=
"confirm_status!=='APPROVED'&& (this.$route.params.hasButtom || hasButtomStorage)"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-view>
<h-content
class=
"approveContent"
>
<div
class=
"approveBottom"
>
<span>
审批意见
<img
src=
"@/assets/intoApproval/close1.png"
@
click=
"showModalValue=false"
>
</span>
<textarea
v-model=
"confirm_note"
cols=
"8"
rows=
"20"
placeholder=
"请输入"
/>
</div>
</h-content>
<bottom-tab>
<tab-button
class=
"reject"
@
click
.
native=
"showModalValue=true;charge('拒绝','REJECTED')"
>
<img
src=
"@/assets/intoApproval/reject.png"
>
拒绝
</tab-button>
<tab-button
class=
"same"
@
click
.
native=
"showModalValue=true;charge('同意','APPROVED')"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
同意
</tab-button>
</bottom-tab>
</h-view>
</h-modal>
-->
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -246,7 +222,6 @@ export default {
...
@@ -246,7 +222,6 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
hasButtomStorage
:
window
.
localStorage
.
getItem
(
'hasButtom'
),
showModalValue
:
false
,
showModalValue
:
false
,
info
:
{},
info
:
{},
tabNum
:
0
,
tabNum
:
0
,
...
@@ -254,8 +229,10 @@ export default {
...
@@ -254,8 +229,10 @@ export default {
bp_flag
:
false
,
bp_flag
:
false
,
guarantorInfo
:
[],
guarantorInfo
:
[],
bp_class
:
window
.
sessionStorage
.
getItem
(
'bp_class'
),
bp_class
:
window
.
sessionStorage
.
getItem
(
'bp_class'
),
confirm_status
:
this
.
$route
.
params
.
confirm_status
,
confirm_status
:
''
,
faceListUpload
:
[],
// 自拍照上传
confirm_note
:
''
,
confirm_note
:
''
,
confirm_id
:
window
.
sessionStorage
.
getItem
(
'confirm_id'
),
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -275,6 +252,7 @@ export default {
...
@@ -275,6 +252,7 @@ export default {
},
},
},
},
created
()
{
created
()
{
this
.
confirm_status
=
window
.
sessionStorage
.
getItem
(
'confirm_status'
)
if
(
this
.
bp_class
===
'NP'
)
{
if
(
this
.
bp_class
===
'NP'
)
{
this
.
bp_flag
=
false
this
.
bp_flag
=
false
...
@@ -291,27 +269,117 @@ export default {
...
@@ -291,27 +269,117 @@ export default {
methods
:
methods
:
{
{
// 签约确认
// 签约确认
contractConfirm
()
{
contractConfirm
(
status
)
{
let
vm
=
this
this
.
hlsPopup
.
showConfirm
({
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'您确认签约吗?'
,
content
:
'您确认签约吗?'
,
onConfirm
:
(
data
)
=>
{
onConfirm
:
(
data
)
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
issure
(
'APPROVED'
)
// this.issure('APPROVED')
}
else
{
vm
.
takePhonto
(
status
)
}
}
},
},
})
})
},
},
takePhonto
(
status
)
{
let
vm
=
this
hlsPopup
.
showPopup
({
title
:
'提示'
,
content
:
`请自拍一张`
,
onConfirm
:
()
=>
{
vm
.
takePhontoOpenCamera
(
status
)
},
})
},
// 打开相机自拍
takePhontoOpenCamera
(
status
)
{
let
vm
=
this
vm
.
faceListUpload
=
[]
let
obj
=
{
'pkvalue'
:
vm
.
confirm_id
,
'source_type'
:
'PRJ_PROJECT_BP_CONFIRM'
,
'picture'
:
''
,
'filePath'
:
''
,
'attachment_id'
:
''
,
'user_id'
:
1
,
'fileName'
:
'face'
,
}
let
cameraoptions
=
{
quality
:
100
,
cameraDirection
:
1
,
}
let
success
=
function
(
imgdata
)
{
obj
.
filePath
=
imgdata
// obj.filePath = 'http://hlsapp.hand-china.com/file/XCMG/2.jpg'
vm
.
confirmContractSign
(
imgdata
,
status
)
vm
.
faceListUpload
.
push
(
obj
)
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
// 执行同意的逻辑(查询对应的身份证正面图片->人脸识别->确认签约)
async
confirmContractSign
(
faceImg
,
status
)
{
let
idCardImgUrl
=
await
this
.
idCardImgUrlGet
()
this
.
faceIdentify
(
faceImg
,
idCardImgUrl
,
status
)
},
// 获取身份证照片
async
idCardImgUrlGet
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_id_card_query'
let
param
=
{
confirm_id
:
vm
.
confirm_id
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
let
res
=
await
vm
.
$post
(
url
,
param
)
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
let
cardUrl
=
process
.
env
.
filePath
+
'attachment_id='
+
res
.
info
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
return
cardUrl
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
return
null
}
},
// 人脸比对
faceIdentify
(
faceImg
,
idCardImgUrl
,
status
)
{
let
vm
=
this
let
obj
=
{
'fileUrl'
:
faceImg
,
'idCardImgUrl'
:
idCardImgUrl
,
}
hlsPopup
.
showLoading
(
'正在比对'
)
let
url
=
process
.
env
.
ocrPath
+
'/baidu/ocr/face'
hlsUtil
.
baiduOcrFace
(
obj
,
url
,
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
success
)
{
let
identifyScore
=
res
.
result
.
result
.
score
.
toFixed
(
0
)
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`识别分数为
${
identifyScore
}
`
,
onConfirm
:
(
data
)
=>
{
if
(
data
)
{
vm
.
issure
(
status
)
}
else
{
}
},
})
}
})
},
// 确认逻辑
issure
(
status
)
{
issure
(
status
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
param
=
{
let
param
=
{
'master'
:
{
'master'
:
{
confirm_id
:
vm
.
$route
.
params
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
confirm_status
:
status
,
confirm_status
:
status
,
confirm_note
:
vm
.
confirm_note
,
confirm_note
:
vm
.
confirm_note
,
},
},
...
@@ -320,6 +388,7 @@ export default {
...
@@ -320,6 +388,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
save_picture
(
vm
.
faceListUpload
)
vm
.
hlsPopup
.
showSuccess
(
'签约成功'
)
vm
.
hlsPopup
.
showSuccess
(
'签约成功'
)
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'ContractList'
,
name
:
'ContractList'
,
...
@@ -329,6 +398,46 @@ export default {
...
@@ -329,6 +398,46 @@ export default {
}
}
})
})
},
},
// 图片保存
save_picture
(
list
)
{
alert
(
'list'
+
JSON
.
stringify
(
list
))
let
vm
=
this
if
(
list
.
length
)
{
// hlsPopup.showLoading('图片上传请稍候')
var
alreadyUploadNum
=
0
var
attLength
=
0
var
recordUploadInterval
=
setInterval
(
function
()
{
if
(
alreadyUploadNum
===
attLength
)
{
clearInterval
(
recordUploadInterval
)
/* hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功') */
}
},
500
)
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
let
uploadSuccess
=
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
alreadyUploadNum
++
for
(
var
j
=
0
;
j
<
list
.
length
;
j
++
)
{
if
(
list
[
j
].
filePath
===
res
.
response
.
filePath
)
{
list
[
j
].
attachment_id
=
res
.
response
.
attachment_id
vm
.
faceListUpload
.
push
(
list
[
j
])
alert
(
'faceListUpload'
+
JSON
.
stringify
(
vm
.
faceListUpload
))
break
}
}
}
else
{
hlsPopup
.
hideLoading
()
}
}
if
(
!
list
[
i
].
attachment_id
)
{
attLength
++
hlsUtil
.
fileUploadSvc
(
list
[
i
],
uploadSuccess
)
}
}
}
else
{
hlsPopup
.
hideLoading
()
}
},
// 基本信息
// 基本信息
getBseMsg
()
{
getBseMsg
()
{
let
vm
=
this
let
vm
=
this
...
@@ -396,44 +505,11 @@ export default {
...
@@ -396,44 +505,11 @@ export default {
name
:
'FinancDetails'
,
name
:
'FinancDetails'
,
params
:
{
params
:
{
project_id
:
window
.
sessionStorage
.
getItem
(
'project_id'
),
project_id
:
window
.
sessionStorage
.
getItem
(
'project_id'
),
confirm_status
:
this
.
confirm_status
,
//
confirm_status: this.confirm_status,
product_num
:
this
.
info
.
product_num
,
product_num
:
this
.
info
.
product_num
,
},
},
})
})
},
},
charge
(
val
,
status
)
{
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
`您确认
${
val
}
吗?`
,
onConfirm
:
(
data
)
=>
{
if
(
data
)
{
debugger
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'do_confrim_bp'
let
param
=
{
'master'
:
{
confirm_id
:
vm
.
$route
.
params
.
confirm_id
,
confirm_status
:
status
,
confirm_note
:
vm
.
confirm_note
,
},
}
vm
.
hlsPopup
.
showLoading
(
'提交数据中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
`审批成功,已
${
val
}
`
)
vm
.
$router
.
push
({
name
:
'ContractList'
,
})
}
else
{
vm
.
hlsPopup
.
showSuccess
(
res
.
message
)
}
})
}
// }
},
})
},
},
},
}
}
</
script
>
</
script
>
...
@@ -453,6 +529,17 @@ export default {
...
@@ -453,6 +529,17 @@ export default {
line-height: 24px;
line-height: 24px;
}
}
}
}
.in-detail{
background-color: rgba(0,70,156,0.08);
width: 48px;
height: 56px;
text-align: center;
line-height: 65px;
img{
width: 16px;
}
}
.name-box {
.name-box {
display: inline-block;
display: inline-block;
text-align: center;
text-align: center;
...
...
src/pages/distributorSign/contract-list.vue
View file @
f27f3b1a
...
@@ -19,55 +19,55 @@
...
@@ -19,55 +19,55 @@
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
<img
src=
"@/assets/distributorSign/search.png"
alt=
""
>
</div>
</div>
</div>
</div>
<scroll
<scroll
v-if=
"tabNum === 0"
v-if=
"tabNum === 0"
ref=
"scroll"
ref=
"scroll"
:updateData=
"[submitLists]"
:updateData=
"[submitLists]"
:pullUp=
"true"
:pullUp=
"true"
>
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
v-for=
"(item,index) in submitLists"
:key=
"index"
class=
"contract-lists"
>
<div
v-for=
"(item,index) in submitLists"
:key=
"index"
class=
"contract-lists"
>
<div
class=
"pro-code"
@
click=
"goDetails(item)"
>
<div
class=
"pro-code"
@
click=
"goDetails(item)"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<p>
<p>
<span>
合同号
</span>
<span>
合同号
</span>
<span>
{{
item
.
project_number
}}
</span>
<span>
{{
item
.
project_number
}}
</span>
</p>
</p>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
class=
"arrow"
>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
class=
"arrow"
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<div><p>
承租人
</p><p>
{{
item
.
bp_name
}}
</p></div>
<div><p>
承租人
</p><p>
{{
item
.
bp_name
}}
</p></div>
<div><p>
合同租金
</p><p
class=
"money"
>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><p>
合同租金
</p><p
class=
"money"
>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><p>
申请时间
</p><p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p></div>
<div><p>
申请时间
</p><p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p></div>
</div>
</div>
</div>
</div>
</div>
</scroll>
</div>
</scroll>
<scroll
<scroll
v-if=
"tabNum === 1"
v-if=
"tabNum === 1"
ref=
"scrollList"
ref=
"scrollList"
:updateData=
"[approvedLists]"
:updateData=
"[approvedLists]"
:pullUp=
"true"
:pullUp=
"true"
>
>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
v-for=
"(item,index) in approvedLists"
:key=
"index"
class=
"contract-lists"
>
<div
v-for=
"(item,index) in approvedLists"
:key=
"index"
class=
"contract-lists"
>
<div
class=
"pro-code"
@
click=
"goDetails(item)"
>
<div
class=
"pro-code"
@
click=
"goDetails(item)"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<p>
<p>
<span>
合同号
</span>
<span>
合同号
</span>
<span>
{{
item
.
project_number
}}
</span>
<span>
{{
item
.
project_number
}}
</span>
</p>
</p>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
class=
"arrow"
>
<img
src=
"@/assets/distributorSign/goDetails.png"
alt=
""
class=
"arrow"
>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<div><p>
承租人
</p><p>
{{
item
.
bp_name
}}
</p></div>
<div><p>
承租人
</p><p>
{{
item
.
bp_name
}}
</p></div>
<div><p>
合同租金
</p><p
class=
"money"
>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><p>
合同租金
</p><p
class=
"money"
>
{{
item
.
total_price
|
currency
}}
</p></div>
<div><p>
申请时间
</p><p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p></div>
<div><p>
申请时间
</p><p>
{{
dateConverse
(
item
.
confirm_start_date
)
}}
</p></div>
</div>
</div>
</div>
</div>
</div>
</scroll>
</div>
</scroll>
</h-view>
</h-view>
</
template
>
</
template
>
...
@@ -96,34 +96,34 @@ export default {
...
@@ -96,34 +96,34 @@ export default {
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_confirm_list_query'
let
url
=
$config
.
basePath
+
'prj_confirm_list_query'
let
param
=
{
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
user_phone
:
window
.
localStorage
.
user_phone
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'SUBMIT'
)
vm
.
submitLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'SUBMIT'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'APPROVED'
)
vm
.
approvedLists
=
res
.
lists
.
filter
(
item
=>
item
.
confirm_status
===
'APPROVED'
)
if
(
vm
.
submitLists
.
length
>
0
&&
vm
.
submitLists
.
length
<
10
)
{
if
(
vm
.
submitLists
.
length
>
0
&&
vm
.
submitLists
.
length
<
10
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
vm
.
$refs
.
scroll
.
update
(
true
)
}
}
if
(
vm
.
approvedLists
.
length
>
0
&&
vm
.
approvedLists
.
length
<
10
)
{
if
(
vm
.
approvedLists
.
length
>
0
&&
vm
.
approvedLists
.
length
<
10
)
{
vm
.
$refs
.
scrollList
.
update
(
true
)
vm
.
$refs
.
scrollList
.
update
(
true
)
}
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
},
},
goDetails
(
item
)
{
goDetails
(
item
)
{
window
.
sessionStorage
.
setItem
(
'confirm_id'
,
item
.
confirm_id
)
window
.
sessionStorage
.
setItem
(
'bp_class'
,
item
.
bp_class
)
window
.
sessionStorage
.
setItem
(
'bp_class'
,
item
.
bp_class
)
window
.
sessionStorage
.
setItem
(
'project_id'
,
item
.
project_id
)
window
.
sessionStorage
.
setItem
(
'project_id'
,
item
.
project_id
)
window
.
sessionStorage
.
setItem
(
'confirm_status'
,
item
.
confirm_status
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ContractDetails'
,
name
:
'ContractDetails'
,
params
:
{
params
:
{
confirm_id
:
item
.
confirm_id
,
confirm_id
:
item
.
confirm_id
,
confirm_status
:
item
.
confirm_status
,
hasButtom
:
true
,
},
},
})
})
},
},
...
...
src/pages/distributorSign/financ-details.vue
View file @
f27f3b1a
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-13 1
0:39:56
* @LastEditTime: 2019-11-13 1
6:36:01
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"total"
>
<div
class=
"total"
>
<div
class=
"sum"
>
<div
class=
"sum"
>
<div>
融资
额
</div>
<div>
租金总
额
</div>
<p>
{{
info
.
total_rental_sum
|
currency
}}
</p>
<p>
{{
info
.
total_rental_sum
|
currency
}}
</p>
<img
src=
"@/assets/contractInquire/num.png"
alt=
""
>
<img
src=
"@/assets/contractInquire/num.png"
alt=
""
>
<h3><span>
{{
info
.
lease_times
}}
期
</span></h3>
<h3><span>
{{
info
.
lease_times
}}
期
</span></h3>
...
@@ -46,11 +46,11 @@
...
@@ -46,11 +46,11 @@
<span>
{{
dateConverse
(
item
.
due_date
).
substr
(
5
,
10
)
}}
</span>
<span>
{{
dateConverse
(
item
.
due_date
).
substr
(
5
,
10
)
}}
</span>
</div>
</div>
<div
class=
"name"
>
<div
class=
"name"
>
<
p>
款项
</p
>
<
span>
款项
</span
>
<
p>
租金
</p
>
<
span>
租金
</span
>
</div>
</div>
<div
class=
"number"
>
<div
class=
"number"
>
<
p>
应还金额
</p
>
<
span>
应还金额
</span
>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
*
product_num
|
currency
}}
</span>
<span
:class=
"
{'orang':statu==='orange','blu':statu==='blue','gree':statu==='green'}">
{{
item
.
rental
*
product_num
|
currency
}}
</span>
</div>
</div>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
<img
v-if=
"statu === 'black'"
src=
"@/assets/contractInquire/done.png"
alt=
""
class=
"status"
>
...
...
src/pages/myInfo/my-info.vue
View file @
f27f3b1a
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-11-07 17:48:53
* @Date: 2019-11-07 17:48:53
* @LastEditTime: 2019-11-
08 14:20:16
* @LastEditTime: 2019-11-
13 11:29:25
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
...
src/pages/pay/firstPay/contract-record.vue
View file @
f27f3b1a
...
@@ -172,7 +172,6 @@ export default {
...
@@ -172,7 +172,6 @@ export default {
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#contract-record {
#contract-record {
.top-head {
.top-head {
position: fixed;
width: 100%;
width: 100%;
height: 142px;
height: 142px;
background: url("../../../assets/payment/back1.png");
background: url("../../../assets/payment/back1.png");
...
@@ -204,8 +203,7 @@ export default {
...
@@ -204,8 +203,7 @@ export default {
.pay-content {
.pay-content {
width: 100%;
width: 100%;
position: relative;
margin-top:-60px;
top: 80px;
height: 370px;
height: 370px;
overflow: scroll;
overflow: scroll;
.contract-item {
.contract-item {
...
...
src/pages/pay/firstPay/pay-entry.vue
View file @
f27f3b1a
...
@@ -77,7 +77,8 @@
...
@@ -77,7 +77,8 @@
</section>
</section>
</item>
</item>
</list-item>
</list-item>
</scroll></div>
</scroll>
</div>
</div>
</div>
</transition>
</transition>
<transition
name=
"trans"
>
<transition
name=
"trans"
>
...
@@ -202,7 +203,7 @@ export default {
...
@@ -202,7 +203,7 @@ export default {
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
return
(
this
.
money
*
(
this
.
rate
/
100
)).
toFixed
(
2
)
},
},
rate
()
{
rate
()
{
return
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
?
0.0
0
:
0.18
return
this
.
checkType
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
?
0.0
:
0.18
},
},
sumMoney
()
{
sumMoney
()
{
return
(
parseFloat
(
this
.
serviceCharge
)
+
parseFloat
(
this
.
money
)).
toFixed
(
return
(
parseFloat
(
this
.
serviceCharge
)
+
parseFloat
(
this
.
money
)).
toFixed
(
...
@@ -355,7 +356,7 @@ export default {
...
@@ -355,7 +356,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#pay-entry {
#pay-entry {
.vue-better-scroll__wrapper
{
.vue-better-scroll__wrapper
{
padding: 0;
padding: 0;
}
}
.trans-enter-active,
.trans-enter-active,
...
@@ -378,12 +379,12 @@ export default {
...
@@ -378,12 +379,12 @@ export default {
.down {
.down {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:
16
%;
top:
18
%;
background-color: #fff;
background-color: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
display: flex;
display: flex;
align-items: center;
align-items: center;
flex-direction: column;
flex-direction: column;
.top {
.top {
...
@@ -404,7 +405,6 @@ export default {
...
@@ -404,7 +405,6 @@ export default {
text-align: center;
text-align: center;
}
}
}
}
}
}
}
}
.modal-show-bank {
.modal-show-bank {
...
@@ -419,12 +419,12 @@ export default {
...
@@ -419,12 +419,12 @@ export default {
.down {
.down {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:
16
%;
top:
18
%;
background-color: #fff;
background-color: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
display: flex;
display: flex;
align-items: center;
align-items: center;
flex-direction: column;
flex-direction: column;
.top {
.top {
...
@@ -447,9 +447,8 @@ export default {
...
@@ -447,9 +447,8 @@ export default {
}
}
}
}
.pay-way {
.pay-way {
width: 100%;
width: 100%;
padding: 0 4% 0 4%;
padding: 0 4% 0 4%;
background: #fff;
background: #fff;
.hls-item {
.hls-item {
padding-left: 12px;
padding-left: 12px;
...
@@ -459,7 +458,7 @@ export default {
...
@@ -459,7 +458,7 @@ export default {
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
color: #656464;
color: #656464;
div
{
div
{
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
...
@@ -484,7 +483,7 @@ export default {
...
@@ -484,7 +483,7 @@ export default {
display: block;
display: block;
float: left;
float: left;
position: relative;
position: relative;
margin: 0 8px 0 3px;
margin: 0 8px 0 3px;
}
}
}
}
...
@@ -497,7 +496,7 @@ export default {
...
@@ -497,7 +496,7 @@ export default {
}
}
}
}
}
}
.info {
.info {
width: 100%;
width: 100%;
height: 226px;
height: 226px;
background-color: #fff;
background-color: #fff;
...
@@ -560,7 +559,7 @@ export default {
...
@@ -560,7 +559,7 @@ export default {
background-color: rgba(75, 74, 75, 0.1);
background-color: rgba(75, 74, 75, 0.1);
}
}
}
}
.icon {
.icon {
width: 30px;
width: 30px;
display: block;
display: block;
float: left;
float: left;
...
@@ -568,7 +567,8 @@ export default {
...
@@ -568,7 +567,8 @@ export default {
margin: 12px 8px 0 3px;
margin: 12px 8px 0 3px;
}
}
.push {
.push {
width: 35px;
margin-left:20px;
width: 35px;
}
}
.modal-show {
.modal-show {
width: 100%;
width: 100%;
...
@@ -643,69 +643,69 @@ export default {
...
@@ -643,69 +643,69 @@ export default {
margin-top: 10px;
margin-top: 10px;
}
}
}
}
.info {
.info {
width: 100%;
width: 100%;
height: 226px;
height: 226px;
background-color: #fff;
background-color: #fff;
.info-item {
.info-item {
height: 46px;
height: 46px;
width: 335px;
width: 335px;
margin: 0 auto;
margin: 0 auto;
position: relative;
position: relative;
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
.arrow {
.arrow {
margin-right: -10px;
margin-right: -10px;
}
img {
width: 17px;
margin-right: 10px;
}
span:first-child {
font-family: PingFangSC-Regular;
font-size: 14px;
color: rgba(56, 63, 69, 0.6);
letter-spacing: 0;
line-height: 18px;
}
span:last-child {
font-family: Verdana;
font-size: 14px;
color: #383f45;
letter-spacing: 0;
line-height: 18px;
display: flex;
align-items: center;
}
}
}
img {
.info-item:nth-of-type(1)::after {
width: 17px;
content: "";
margin-right: 10px;
display: block;
position: absolute;
right: 20px;
top: 25px;
border: 10px solid #fff;
border-left-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: rgba(75, 74, 75, 0.1);
}
}
span:first-child {
.info-item:nth-of-type(1) {
font-family: PingFangSC-Regular;
border-top: 1px solid #d9dbdf;
font-size: 14px;
color: rgba(56, 63, 69, 0.6);
letter-spacing: 0;
line-height: 18px;
}
}
span:last-child {
.interest {
font-family: Verdana;
width: 100%;
font-size: 14px;
height: 37px;
color: #383f45;
line-height: 37px;
font-family: PingFangSC-Medium;
font-size: 11px;
color: #4b4a4b;
letter-spacing: 0;
letter-spacing: 0;
line-height: 18px;
text-indent: 215px;
display: flex;
background-color: rgba(75, 74, 75, 0.1);
align-items: center;
}
}
}
}
.info-item:nth-of-type(1)::after {
content: "";
display: block;
position: absolute;
right: 20px;
top: 25px;
border: 10px solid #fff;
border-left-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: rgba(75, 74, 75, 0.1);
}
.info-item:nth-of-type(1) {
border-top: 1px solid #d9dbdf;
}
.interest {
width: 100%;
height: 37px;
line-height: 37px;
font-family: PingFangSC-Medium;
font-size: 11px;
color: #4b4a4b;
letter-spacing: 0;
text-indent: 215px;
background-color: rgba(75, 74, 75, 0.1);
}
}
}
}
.foot {
.foot {
background-color: @headerColor;
background-color: @headerColor;
...
...
src/pages/pay/payment/pay-entry.vue
View file @
f27f3b1a
...
@@ -385,7 +385,7 @@ export default {
...
@@ -385,7 +385,7 @@ export default {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:1
6
%;
top:1
8
%;
background: #fff;
background: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
...
@@ -428,7 +428,7 @@ export default {
...
@@ -428,7 +428,7 @@ export default {
height: 466px;
height: 466px;
width: 100%;
width: 100%;
position: relative;
position: relative;
top:1
6
%;
top:1
8
%;
background: #fff;
background: #fff;
border-radius: 12px 12px 0 0;
border-radius: 12px 12px 0 0;
overflow: scroll;
overflow: scroll;
...
@@ -580,6 +580,7 @@ export default {
...
@@ -580,6 +580,7 @@ export default {
/* position: absolute;
/* position: absolute;
top: 10px;
top: 10px;
margin-left: 10px;*/
margin-left: 10px;*/
margin-left:20px;
width: 35px;
width: 35px;
}
}
.modal-show {
.modal-show {
...
...
src/pages/productQuery/product-detailed.vue
View file @
f27f3b1a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Descrip: 产品明细
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-11-
08 14:06:15
* @LastEditTime: 2019-11-
13 14:44:06
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -178,6 +178,7 @@ export default {
...
@@ -178,6 +178,7 @@ export default {
vueTouch
:
function
(
s
,
e
)
{
vueTouch
:
function
(
s
,
e
)
{
let
clientHeight
=
document
.
body
.
clientHeight
// 屏幕可视高度
let
clientHeight
=
document
.
body
.
clientHeight
// 屏幕可视高度
let
procnfGather
=
document
.
getElementsByClassName
(
'procnf'
)[
0
].
getBoundingClientRect
()
// 配置信息元素集合
let
procnfGather
=
document
.
getElementsByClassName
(
'procnf'
)[
0
].
getBoundingClientRect
()
// 配置信息元素集合
console
.
log
(
procnfGather
)
let
detailGather
=
document
.
getElementsByClassName
(
'prodetail'
)[
0
].
getBoundingClientRect
()
// 详情信息元素集合
let
detailGather
=
document
.
getElementsByClassName
(
'prodetail'
)[
0
].
getBoundingClientRect
()
// 详情信息元素集合
let
baseGather
=
document
.
getElementsByClassName
(
'base'
)[
0
].
getBoundingClientRect
()
// 基本信息元素集合
let
baseGather
=
document
.
getElementsByClassName
(
'base'
)[
0
].
getBoundingClientRect
()
// 基本信息元素集合
if
(
clientHeight
-
procnfGather
.
top
>=
procnfGather
.
height
)
{
if
(
clientHeight
-
procnfGather
.
top
>=
procnfGather
.
height
)
{
...
@@ -277,7 +278,6 @@ export default {
...
@@ -277,7 +278,6 @@ export default {
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
product_attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
})
vm
.
picLists
=
res
.
lists
vm
.
picLists
=
res
.
lists
console
.
log
(
vm
.
picLists
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
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