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
771d4be2
Commit
771d4be2
authored
Dec 27, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'12-12uat'
parent
5830b900
Changes
35
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
1000 additions
and
1671 deletions
+1000
-1671
uat.env.js
config/uat.env.js
+1
-1
noMsg.png
src/assets/messageCenter/noMsg.png
+0
-0
currencyInput.vue
src/components/currencyInput.vue
+0
-80
main.js
src/main.js
+2
-2
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+4
-3
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+14
-0
add-undertake.vue
src/pages/contractCreate/add-undertake.vue
+253
-0
contract-create-list.vue
src/pages/contractCreate/contract-create-list.vue
+28
-37
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+0
-1050
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+155
-178
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+136
-14
sales-info.vue
src/pages/contractCreate/sales-info.vue
+25
-11
contract-records.vue
src/pages/contractInquire/contract-records.vue
+3
-3
repay-plans.vue
src/pages/contractInquire/repay-plans.vue
+5
-5
contract-repayment.vue
src/pages/contractRepayment/contract-repayment.vue
+16
-2
contract-repay-plan.vue
src/pages/contractSigning/contract-repay-plan.vue
+5
-5
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+14
-0
contract-details.vue
src/pages/distributorSign/contract-details.vue
+1
-0
contract-list.vue
src/pages/distributorSign/contract-list.vue
+18
-2
financ-details.vue
src/pages/distributorSign/financ-details.vue
+5
-5
trial-repay-plan.vue
src/pages/financingTrial/trial-repay-plan.vue
+5
-5
feedback.vue
src/pages/help/feedback.vue
+0
-6
message-list.vue
src/pages/messageCenter/message-list.vue
+6
-5
my-product-list.Vue
src/pages/myProductCollection/my-product-list.Vue
+14
-1
contract-record.vue
src/pages/pay/firstPay/contract-record.vue
+9
-4
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+80
-100
pay-page.vue
src/pages/pay/pay-page.vue
+41
-5
contract-record.vue
src/pages/pay/payment/contract-record.vue
+13
-8
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+97
-126
product-list.vue
src/pages/productQuery/product-list.vue
+15
-1
reimburse-myself-list.Vue
src/pages/reimburseMyself/reimburse-myself-list.Vue
+14
-0
enclosure.vue
src/pages/userBindNew/org/enclosure.vue
+2
-6
video-list.vue
src/pages/videoSign/video-list.vue
+14
-0
index.js
src/router/index.js
+4
-5
index.html
www/index.html
+1
-1
No files found.
config/uat.env.js
View file @
771d4be2
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.2.
1
"'
currentVersion
:
'"1.2.
5
"'
}
src/assets/messageCenter/noMsg.png
View replaced file @
5830b900
View file @
771d4be2
37.1 KB
|
W:
|
H:
99.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/currencyInput.vue
deleted
100644 → 0
View file @
5830b900
/**
* @Author Sean
* @Date 2019/11/21
*/
<
template
>
<input
:value=
"formatValue"
:readonly=
"disable"
type=
"text"
@
input=
"onInput($event.target.value)"
@
focus=
"onFocus"
@
blur=
"onBlur"
>
</
template
>
<
script
>
export
default
{
name
:
'CurrencyInput'
,
props
:
{
value
:
{
default
:
0
,
},
disable
:
{
type
:
Boolean
,
default
:
false
,
},
},
data
()
{
return
{
focused
:
false
,
}
},
filter
:
{
uncurrency
(
val
)
{
if
(
!
val
)
return
null
return
(
Number
((
val
).
replace
(
/,/gi
,
''
)))
===
0
?
null
:
Number
((
val
).
replace
(
/,/gi
,
''
))
},
},
computed
:
{
formatValue
()
{
let
currency
=
this
.
$options
.
filters
[
'currency'
]
if
(
!
this
.
focused
)
{
return
`¥
${
currency
(
this
.
value
)}
`
}
else
{
return
this
.
value
}
},
},
methods
:
{
onInput
:
function
(
value
)
{
if
(
this
.
disable
)
return
let
uncurrency
=
this
.
$options
.
filter
[
'uncurrency'
]
this
.
currencyValue
=
uncurrency
(
value
)
this
.
$emit
(
'input'
,
this
.
currencyValue
)
},
onFocus
(
event
)
{
if
(
this
.
disable
)
return
this
.
focused
=
true
let
value
=
event
.
target
.
value
if
(
document
.
selection
)
{
var
sel
=
value
.
createTextRange
()
sel
.
moveStart
(
'character'
,
value
.
length
)
sel
.
collapse
()
sel
.
select
()
}
else
if
(
typeof
value
.
selectionStart
===
'number'
&&
typeof
value
.
selectionEnd
===
'number'
)
{
value
.
selectionStart
=
value
.
selectionEnd
=
value
.
length
}
setTimeout
(
function
()
{
event
.
target
.
type
=
'number'
event
.
target
.
focus
()
},
0
)
},
onBlur
(
event
)
{
if
(
this
.
disable
)
return
event
.
target
.
type
=
'text'
this
.
focused
=
false
},
},
}
</
script
>
<
style
scoped
lang=
"less"
>
</
style
>
src/main.js
View file @
771d4be2
...
...
@@ -59,8 +59,8 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') {
const
VConsole
=
require
(
'vconsole'
)
new
VConsole
()
// eslint-disable-line
//
const VConsole = require('vconsole')
//
new VConsole() // eslint-disable-line
// }
Vue
.
use
(
componentInstall
)
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
771d4be2
...
...
@@ -129,7 +129,7 @@
</div>
<div
v-show=
"tabNum===1"
>
<list-item
:item-height=
"56"
class=
"contract-text"
style=
"background-color:rgb(250,250,250);"
>
<item
:proportion=
"[
4
,1]"
>
<item
:proportion=
"[
7
,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/constractSigning/npack.png"
alt
class=
"pics"
>
<p
class=
"second first"
>
承租人确认意见
</p>
...
...
@@ -138,7 +138,7 @@
<img
src=
"@/assets/constractSigning/detail.png"
alt
>
</div>
</item>
<item
:proportion=
"[
4
,1]"
>
<item
:proportion=
"[
7
,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/constractSigning/pack.png"
alt
class=
"pics"
>
<p
class=
"second"
>
融资租赁合同
</p>
...
...
@@ -148,7 +148,7 @@
<img
src=
"@/assets/constractSigning/detail.png"
alt
>
</div>
</item>
<item
:proportion=
"[
4
,1]"
>
<item
:proportion=
"[
7
,1]"
>
<div
slot=
"name"
class=
"aguremrnt-list"
>
<img
src=
"@/assets/constractSigning/pack.png"
alt
class=
"pics"
>
<p
class=
"second"
>
租赁物所有权转移及接收确认书
</p>
...
...
@@ -416,6 +416,7 @@ export default {
master
:
{
project_id
:
this
.
$route
.
params
.
project_id
,
confirm_status
:
'APPROVED'
,
confirm_note
:
'同意'
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
...
...
src/pages/carConfirm/confirm-list.vue
View file @
771d4be2
...
...
@@ -41,6 +41,11 @@
</div>
</div>
</scroll>
<div
v-if=
"showList.length === 0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
<
script
>
...
...
@@ -193,6 +198,15 @@ export default {
</
script
>
<
style
lang=
"less"
>
#confirmList {
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
background-color: #fff;
padding: 8px 12px;
...
...
src/pages/contractCreate/add-undertake.vue
0 → 100644
View file @
771d4be2
<
template
>
<h-view
v-if=
"showFlag"
id=
"add-person"
>
<h-header
:proportion=
"[1,4,1]"
class=
"bar-custom"
>
<span
slot=
"center"
style=
"color:#fff"
>
添加担保人
</span>
<span
slot=
"right"
style=
"color:#fff"
@
click=
"showFlag=false"
>
取消
</span>
</h-header>
<div
class=
"search has-header"
>
<input
v-model=
"keyWord"
placeholder=
"请输入担保人名称/证件号码"
>
</div>
<scroll
ref=
"scroll"
:updateData=
"[undertakeList]"
:pullUp=
"true"
@
pullingUp=
"loadMore"
>
<list-item
:item-height=
"68"
class=
"item"
>
<item
v-for=
"(item,index) in undertakeList"
:key=
"index"
@
click
.
native=
"addUndertake(item)"
>
<img
slot=
"left-icon"
src=
"@/assets/contractCreate/name.png"
class=
"left-icon"
>
<div
slot=
"name"
>
担保人名称
<br
>
证件号
</div>
<div
slot=
"content"
>
<input
v-model=
"item.bp_name"
placeholder=
"暂无信息"
readonly
>
<input
v-model=
"item.id_card_no"
placeholder=
"暂无信息"
readonly
>
</div>
</item>
</list-item>
</scroll>
</h-view>
</
template
>
<
script
>
export
default
{
props
:
{
bp_agent_id
:
{
type
:
String
,
default
:
''
,
},
},
data
()
{
return
{
undertakeList
:
[],
// 担保人列表
selectUdertake
:
{},
pagenum
:
1
,
keyWord
:
''
,
showFlag
:
false
,
}
},
watch
:
{
},
methods
:
{
show
()
{
this
.
showFlag
=
true
},
init
()
{
this
.
undertakeList
=
[]
this
.
selectUdertake
=
[]
this
.
pagenum
=
1
this
.
keyWord
=
''
},
unshow
()
{
this
.
showFlag
=
false
},
loadMore
()
{
if
(
this
.
keyWord
)
{
this
.
searchUndertake
()
}
else
{
this
.
getUndertake
()
}
},
searchUndertake
()
{
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'prj_bp_guta_query'
+
'&index'
+
`'
${
randomString
}
'`
let
param
=
{
bp_agent_id
:
vm
.
bp_agent_id
,
pagesize
:
10
,
pagenum
:
vm
.
pageNumSearch
,
searchInput
:
vm
.
keyWord
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
let
returnData
=
[]
returnData
=
res
.
lists
if
(
returnData
.
length
===
0
)
{
vm
.
undertakeList
=
returnData
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
>
0
&&
returnData
.
length
<
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
undertakeList
=
returnData
})
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
===
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
undertakeList
.
push
(
array
[
index
])
})
vm
.
pageNumSearch
++
vm
.
$refs
.
scroll
.
update
(
false
)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
addUndertake
(
e
)
{
this
.
selectUdertake
=
e
this
.
$emit
(
'addUnder'
,
this
.
selectUdertake
)
setTimeout
(()
=>
{
this
.
showFlag
=
false
},
100
)
},
getUndertake
()
{
// 担保人查询
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'prj_bp_guta_query'
+
'&index'
+
`'
${
randomString
}
'`
let
param
=
{
bp_agent_id
:
vm
.
bp_agent_id
,
pagesize
:
10
,
pagenum
:
vm
.
pageNum
,
searchInput
:
vm
.
keyWord
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
let
returnData
=
[]
returnData
=
res
.
lists
if
(
returnData
.
length
===
0
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
>
0
&&
returnData
.
length
<
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
undertakeList
.
push
(
array
[
index
])
})
vm
.
pagenum
++
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
===
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
undertakeList
.
push
(
array
[
index
])
})
vm
.
pagenum
++
vm
.
$refs
.
scroll
.
update
(
false
)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
},
}
</
script
>
<
style
lang=
"less"
>
#add-person {
position: absolute;
top:0;
z-index:999;
.item {
width: 359px;
margin: 0 auto;
}
.search {
background-color: #fff;
padding: 8px 12px;
width: 100%;
height: 1.02rem;
z-index: 100;
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding-left: 12px;
height: 36px;
line-height: 36px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
input::placeholder {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
letter-spacing: 0;
}
input:focus {
background: url("../../assets/contractStart/search2.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
border: 2px solid #bcc6ff;
}
}
.content {
position: absolute;
top: 0;
}
.scrollContent {
padding-top: 1rem;
padding-bottom: 120px;
}
.tab-style {
width: 100%;
position: absolute;
}
}
.platform-ios {
#confirmList {
.scrollContent {
padding-top: 1.4rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#person {
.scrollContent {
padding-top: 1.8rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#person {
.scrollContent {
padding-top: 1.8rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
}
}
}
</
style
>
src/pages/contractCreate/contract-create-list.vue
View file @
771d4be2
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime : 2019-12-2
6 13:30:22
* @LastEditTime : 2019-12-2
7 10:28:37
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -29,7 +29,7 @@
>
<div
class=
"wrap"
>
<div
v-for=
"(item,index) in showLists"
:key=
"index"
class=
"contract-lists"
>
<div
class=
"pro-code"
@
click=
"changeBase"
>
<div
class=
"pro-code"
@
click=
"changeBase
(item)
"
>
<img
src=
"@/assets/distributorSign/fileIcon.png"
alt=
""
class=
"file-icon"
>
<p>
<span>
合同号
</span>
...
...
@@ -75,26 +75,22 @@ export default {
approvedLists
:
[],
// 已签约
showLists
:
[],
approvedFlag
:
false
,
// showLists: [
// { project_number: '201903022001', bp_name: '张三', total_price: '1000000', confirm_start_date: '2019-12-18' },
// { project_number: '201903022001', bp_name: '张三', total_price: '1000000', confirm_start_date: '2019-12-18' },
// { project_number: '201903022001', bp_name: '张三', total_price: '1000000', confirm_start_date: '2019-12-18' },
// ],
}
},
watch
:
{
'num'
:
{
handler
(
newVal
,
oldVal
)
{
this
.
$refs
.
scroll
.
update
(
false
)
this
.
$refs
.
scroll
.
scrollToTop
()
// this.$refs.scroll.update(false)
if
(
newVal
===
2
)
{
if
(
!
this
.
approvedFlag
)
{
this
.
contractList
()
}
this
.
$refs
.
scroll
.
scrollToTop
()
//
this.$refs.scroll.scrollToTop()
this
.
showLists
=
this
.
approvedLists
}
else
if
(
newVal
===
1
)
{
this
.
showLists
=
this
.
submitLists
this
.
$refs
.
scroll
.
scrollToTop
()
//
this.$refs.scroll.scrollToTop()
}
},
},
...
...
@@ -123,7 +119,6 @@ export default {
vm
.
$refs
.
scroll
.
update
(
false
)
vm
.
$refs
.
scroll
.
scrollToTop
()
vm
.
contractList
()
// vm.listsQuery()
}
})
},
...
...
@@ -131,26 +126,7 @@ export default {
dateConverse
(
date
)
{
return
date
.
replace
(
/
\/
/g
,
'-'
)
},
// listsQuery () {
// let vm = this
// let url = process.env.basePath + 'prj_submit_list'
// let param = {
// user_phone: window.localStorage.user_phone,
// pagesize: 10,
// searchInput: vm.searchInput,
// pagenum: vm.pagenum,
// project_status: 'APPROVED',
// }
// vm.hlsPopup.showLoading('请稍候')
// vm.hlsHttp.post(url, param).then(function (res) {
// vm.hlsPopup.hideLoading()
// console.log('已创建合同列表查询', res)
// if (res.result === 'S') {
// // vm.showLists = res.lists
// }
// })
// },
// 合同查询
// 合同列表查询
contractList
()
{
let
vm
=
this
if
(
vm
.
num
===
1
)
{
...
...
@@ -178,7 +154,7 @@ export default {
}
})
}
else
if
(
vm
.
num
===
2
)
{
let
url
=
$config
.
basePath
+
'prj_
confirm_list_query
'
let
url
=
$config
.
basePath
+
'prj_
submit_list
'
let
param
=
{
pagesize
:
10
,
pagenum
:
vm
.
approvedPagenum
,
...
...
@@ -209,7 +185,7 @@ export default {
let
vm
=
this
if
(
vm
.
num
===
1
)
{
vm
.
submitPagenum
++
let
url
=
$config
.
basePath
+
'prj_
confirm_list_query
'
let
url
=
$config
.
basePath
+
'prj_
submit_list
'
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
pagesize
:
10
,
...
...
@@ -243,7 +219,7 @@ export default {
})
}
else
if
(
vm
.
num
===
2
)
{
vm
.
approvedPagenum
++
let
url
=
$config
.
basePath
+
'prj_
confirm_list_query
'
let
url
=
$config
.
basePath
+
'prj_
submit_list
'
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
pagesize
:
10
,
...
...
@@ -280,7 +256,7 @@ export default {
async
submitSearch
()
{
let
vm
=
this
vm
.
submitPagenum
=
1
let
url
=
$config
.
basePath
+
'prj_
confirm_list_query
'
let
url
=
$config
.
basePath
+
'prj_
submit_list
'
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
pagesize
:
10
,
...
...
@@ -310,7 +286,7 @@ export default {
},
approvedearch
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'prj_
confirm_list_query
'
let
url
=
$config
.
basePath
+
'prj_
submit_list
'
vm
.
approvedPagenum
=
1
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
...
...
@@ -338,14 +314,29 @@ export default {
this
.
approvedearch
()
}
},
changeBase
()
{
changePage
()
{
window
.
localStorage
.
setItem
(
'formPage'
,
'sale'
)
this
.
$router
.
push
({
name
:
'SalesInfo'
,
})
},
changeBase
(
item
)
{
if
(
this
.
num
===
1
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
false
)
window
.
localStorage
.
setItem
(
'fromPage'
,
'list'
)
window
.
localStorage
.
setItem
(
'project_id'
,
item
.
project_id
)
window
.
localStorage
.
setItem
(
'bp_class_tenant'
,
item
.
bp_class
)
}
else
if
(
this
.
num
===
2
)
{
window
.
localStorage
.
setItem
(
'contractReadonly'
,
true
)
window
.
localStorage
.
setItem
(
'fromPage'
,
'list'
)
window
.
localStorage
.
setItem
(
'project_id'
,
item
.
project_id
)
window
.
localStorage
.
setItem
(
'bp_class_tenant'
,
item
.
bp_class
)
}
this
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
params
:
{
bp_id
:
item
.
bp_id
,
},
})
},
goDetails
()
{
...
...
src/pages/contractCreate/creat-rent-info.vue
deleted
100644 → 0
View file @
5830b900
This diff is collapsed.
Click to expand it.
src/pages/contractCreate/create-base-info.vue
View file @
771d4be2
This diff is collapsed.
Click to expand it.
src/pages/contractCreate/create-enclosure-info.vue
View file @
771d4be2
...
...
@@ -73,14 +73,29 @@
<div
class=
"userInfo"
>
补充资料
</div>
<div
class=
"house"
>
<p
class=
"titles"
>
特批申请书
</p>
<div
v-if=
"!applicationImg"
class=
"card-upload"
@
click=
"ocrShow('特批申请书', checkId)"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
<!--待上传图片列表-->
<div
v-for=
"(item, index) in upload_list"
v-if=
"item.check_id === checkId"
:key=
"index"
class=
"card-upload"
>
<img
:src=
"item.picture"
@
click=
"showBigPicture(item.picture)"
>
<div
class=
"close"
@
click=
"remove_pic(item.attachment_id,index)"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
<div
v-if=
"applicationImg && status !== 'APPROVED'"
class=
"card-upload"
>
<img
:src=
"applicationImg"
@
click=
"ocrShow('特批申请书', checkId)"
>
<!--从服务器上下载的图片-->
<div
v-for=
"(pic, index) in dowload_list"
:key=
"index"
>
<div
v-if=
"pic.check_id==checkId"
:key=
"index"
class=
"card-upload"
>
<img
:src=
"pic.url"
@
click=
"showBigPicture(pic.url)"
>
<div
class=
"close"
@
click=
"delete_pic(pic.attachment_id)"
>
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
</div>
<div
v-if=
"applicationImg && status === 'APPROVED'"
class=
"card-upload
"
>
<img
:src=
"applicationImg"
@
click=
"showBigPicture(applicationImg)"
>
<div
class=
"card-upload plus"
@
click=
"ocrShow('特批申请书',checkId)
"
>
<img
src=
"@/assets/userBind/camera.png"
class=
"upload-btn"
>
</div>
</div>
</h-content>
...
...
@@ -94,7 +109,10 @@
export
default
{
data
()
{
return
{
checkId
:
''
,
// 特批申请书id
cddItemList
:
[],
upload_list
:
[],
dowload_list
:
[],
// 下载图片列表
idCardFrontCheck_id
:
''
,
// 承租人身份证正面
idCardBackCheck_id
:
''
,
// 承租人身份证背面
idCardFrontUrlFlag
:
false
,
...
...
@@ -107,7 +125,6 @@ export default {
houseImg
:
''
,
carImg
:
''
,
marryImg
:
''
,
applicationImg
:
''
,
licenseImg
:
''
,
house_id
:
''
,
car_id
:
''
,
...
...
@@ -122,14 +139,56 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'CreateRentInfo'
)
{
vm
.
idCardFront
=
''
vm
.
idCardBack
=
''
vm
.
houseImg
=
''
vm
.
carImg
=
''
vm
.
marryImg
=
''
vm
.
licenseImg
=
''
vm
.
upload_list
=
[]
vm
.
dowload_list
=
[]
vm
.
cddItemList
=
[]
vm
.
bpClass
=
window
.
localStorage
.
bp_class
vm
.
status
=
window
.
localStorage
.
user_bp_status
vm
.
loadItemList
()
// vm.getPrj
Id()
vm
.
queryCheck
Id
()
}
})
},
methods
:
{
// 特批证书check_id查询
queryCheckId
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_atm_query'
let
param
=
{
project_id
:
window
.
localStorage
.
project_id
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'特批证书check_id查询'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
checkId
=
res
.
info
.
check_id
vm
.
certificateQuery
()
}
})
},
// 特批证书查询
certificateQuery
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
// 附件查询
let
param
=
{
check_id
:
vm
.
checkId
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
dowload_list
=
res
.
lists
}
})
},
// 查看大图
showBigPicture
(
pic
)
{
let
vm
=
this
...
...
@@ -247,9 +306,62 @@ export default {
hlsPopup
.
hideLoading
()
}
},
// 移除图片
remove_pic
(
attachment_id
,
index
)
{
let
vm
=
this
var
delete_list
=
[]
let
obj
=
{
'attachment_id'
:
attachment_id
}
delete_list
.
push
(
obj
)
let
url
=
process
.
env
.
basePath
+
'app_delete_attment'
// 附件删除
let
param
=
{
'picturelist'
:
delete_list
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'删除成功!'
)
vm
.
remove_upload_list
(
attachment_id
,
index
)
}
else
if
(
res
.
result
===
'E'
)
{
hlsPopup
.
showShortCenter
(
res
.
message
)
}
})
},
remove_upload_list
(
attachment_id
,
index
)
{
let
vm
=
this
vm
.
upload_list
.
remove
(
index
)
vm
.
upload_list
.
sort
()
},
// 删除图片
delete_pic
(
attachment_id
)
{
let
vm
=
this
var
delete_list
=
[]
let
obj
=
{
'attachment_id'
:
attachment_id
}
delete_list
.
push
(
obj
)
let
url
=
process
.
env
.
basePath
+
'app_delete_attment'
// 附件删除
let
param
=
{
'picturelist'
:
delete_list
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'删除成功!'
)
vm
.
remove_dowload_list
(
attachment_id
)
}
else
if
(
res
.
result
===
'E'
)
{
hlsPopup
.
showShortCenter
(
res
.
message
)
}
})
},
remove_dowload_list
(
attachment_id
)
{
console
.
log
(
'attachment_id'
,
attachment_id
)
let
vm
=
this
vm
.
dowload_list
=
vm
.
dowload_list
.
filter
(
item
=>
{
return
item
.
attachment_id
!==
attachment_id
})
},
loadItemList
()
{
let
vm
=
this
vm
.
dowload_list
=
[]
let
bpId
=
window
.
localStorage
.
getItem
(
'bp_id'
)
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list'
let
group
=
''
...
...
@@ -330,25 +442,25 @@ export default {
if
(
!
vm
.
idCardFrontUrlFlag
)
{
vm
.
idCardFront
=
res
.
lists
[
0
].
url
}
vm
.
idCardFrontAttachmentId
=
res
.
lists
[
0
].
attachment_id
//
vm.idCardFrontAttachmentId = res.lists[0].attachment_id
break
case
'LEGAL_ID_CARD_F'
:
// 身份证正面
if
(
!
vm
.
idCardFrontUrlFlag
)
{
vm
.
idCardFront
=
res
.
lists
[
0
].
url
}
vm
.
idCardFrontAttachmentId
=
res
.
lists
[
0
].
attachment_id
//
vm.idCardFrontAttachmentId = res.lists[0].attachment_id
break
case
'NP_ID_CARD_B'
:
// 承租人身份证背面
if
(
!
vm
.
idCardBackUrlFlag
)
{
vm
.
idCardBack
=
res
.
lists
[
0
].
url
}
vm
.
idCardBackAttachmentId
=
res
.
lists
[
0
].
attachment_id
//
vm.idCardBackAttachmentId = res.lists[0].attachment_id
break
case
'LEGAL_ID_CARD_B'
:
// 承租人身份证背面
if
(
!
vm
.
idCardBackUrlFlag
)
{
vm
.
idCardBack
=
res
.
lists
[
0
].
url
}
vm
.
idCardBackAttachmentId
=
res
.
lists
[
0
].
attachment_id
//
vm.idCardBackAttachmentId = res.lists[0].attachment_id
break
case
'HOUSE_CARD'
:
// 房产证
if
(
!
vm
.
houseFlag
)
{
...
...
@@ -369,7 +481,6 @@ export default {
// vm.house_id = res.lists[0].attachment_id
break
default
:
vm
.
dowload_list
.
push
(
res
.
lists
)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
@@ -392,6 +503,9 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
console
.
log
(
'项目提交审批'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'MyInfo'
,
})
// vm.showLists = res.lists
}
})
...
...
@@ -525,6 +639,11 @@ export default {
background: #fff;
margin-top: 10px;
padding-bottom: 10px;
.plus {
display: flex;
justify-content: center;
align-items: center;
}
.card-upload {
position: relative;
width: 80px;
...
...
@@ -566,6 +685,9 @@ export default {
}
}
}
.house:nth-of-type(2) {
margin-top: 0
}
.house:last-child {
margin-top: 0
}
...
...
src/pages/contractCreate/sales-info.vue
View file @
771d4be2
...
...
@@ -163,6 +163,7 @@ export default {
factory
:
''
,
// 主机厂id
manu_manager
:
''
,
// 办事处业务员
dates
:
'请选择'
,
project_id
:
window
.
localStorage
.
project_id
,
},
}
},
...
...
@@ -199,10 +200,13 @@ export default {
manu_manager
:
''
,
// 办事处业务员
dates
:
'请选择'
,
bp_type
:
window
.
localStorage
.
bp_type
,
project_id
:
''
,
}
vm
.
businessQuery
()
vm
.
agentQuery
()
vm
.
factoryQuery
()
}
else
if
(
from
.
name
===
'CreateBaseInfo'
)
{
vm
.
salesInfo
.
project_id
=
window
.
localStorage
.
project_id
}
})
},
...
...
@@ -427,30 +431,40 @@ export default {
this
.
salesInfo
.
bp_id_tenant
=
item
.
bp_id
this
.
showModal
=
false
window
.
localStorage
.
setItem
(
'bp_id_tenant'
,
this
.
salesInfo
.
bp_id_tenant
)
window
.
localStorage
.
setItem
(
'bp_class_tenant'
,
item
.
bp_class
)
},
hideModal
()
{
this
.
showModal
=
false
},
check
()
{
},
// 销售信息保存
confirmCreate
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_sales_info_save'
window
.
localStorage
.
setItem
(
'bp_id_tenant'
,
this
.
salesInfo
.
bp_id_tenant
)
let
param
=
{
master
:
vm
.
salesInfo
,
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'创建成功!'
)
window
.
localStorage
.
setItem
(
'project_id'
,
res
.
project_id
)
vm
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
})
}
})
if
(
!
this
.
lessee
)
{
hlsPopup
.
showLongCenter
(
'请选择承租人'
)
}
else
{
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'创建成功!'
)
window
.
localStorage
.
setItem
(
'project_id'
,
res
.
project_id
)
vm
.
$router
.
push
({
name
:
'CreateBaseInfo'
,
})
}
})
}
},
},
}
</
script
>
...
...
src/pages/contractInquire/contract-records.vue
View file @
771d4be2
...
...
@@ -2,8 +2,8 @@
<!
--
*
@
Author:
your
name
*
@
Date:
2019-10-31
09:49:57
*
@
LastEditTime
:
2019-12-18
17:14:4
7
*
@
LastEditors:
Please
set
LastEditors
*
@
LastEditTime
:
2019-12-27
09:09:3
7
*
@
LastEditors
:
Please
set
LastEditors
*
@
Description:
合同查询
--
记录
*
@
FilePath:
--
>
...
...
@@ -103,7 +103,7 @@ export default {
computed
:
{},
watch
:
{
selected
()
{
this
.
$refs
.
scroll
.
update
(
false
)
//
this.$refs.scroll.update(false)
this
.
$refs
.
scroll
.
scrollToTop
()
if
(
this
.
selected
===
'all'
)
{
this
.
contract_status_n
=
'全部'
...
...
src/pages/contractInquire/repay-plans.vue
View file @
771d4be2
<!--
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @LastEditTime : 2019-12-2
4 18:34:37
* @LastEditTime : 2019-12-2
6 16:47:18
* @LastEditors : Please set LastEditors
* @Description: 还款
* @FilePath:
...
...
@@ -368,13 +368,13 @@ export default {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
margin-left: 20px;
div:nth-of-type(2) {
margin-top: 12px;
}
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/contractRepayment/contract-repayment.vue
View file @
771d4be2
...
...
@@ -28,11 +28,16 @@
</div>
</div>
</scroll>
<h-content
v-if=
"data===null"
class=
"null has-header"
>
<div
v-if=
"data===null"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
<!--
<h-content
v-if=
"data===null"
class=
"null has-header"
>
<div
class=
"noData"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</h-content>
</h-content>
-->
</h-view>
</
template
>
...
...
@@ -117,6 +122,15 @@ export default {
</
script
>
<
style
lang=
'less'
>
#contract-repayment {
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.null{
margin-top:46px;
}
...
...
src/pages/contractSigning/contract-repay-plan.vue
View file @
771d4be2
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:38:21
* @LastEditTime : 2019-12-2
6 16:47:28
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -404,13 +404,13 @@ export default {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
margin-left: 20px;
div:nth-of-type(2) {
margin-top: 12px;
}
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/contractSigning/contract-signing.vue
View file @
771d4be2
...
...
@@ -48,6 +48,11 @@
</div>
</div>
</scroll>
<div
v-if=
"showLists.length === 0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
...
...
@@ -346,6 +351,15 @@ export default {
<
style
lang=
"less"
type=
"text/less"
>
#contract-signing{
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.tab-style{
display:flex;
width: 100%;
...
...
src/pages/distributorSign/contract-details.vue
View file @
771d4be2
...
...
@@ -253,6 +253,7 @@ export default {
vm
.
getGuarantor
()
}
vm
.
getLease
()
vm
.
signCheck
()
// 签约校验
}
else
if
(
from
.
name
===
'ContractContent'
)
{
vm
.
tabNum
=
2
vm
.
agentPic
=
vm
.
readed
...
...
src/pages/distributorSign/contract-list.vue
View file @
771d4be2
...
...
@@ -46,6 +46,11 @@
</div>
</div>
</scroll>
<div
v-if=
"showLists.length === 0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
...
...
@@ -76,7 +81,8 @@ export default {
watch
:
{
'num'
:
{
handler
(
newVal
,
oldVal
)
{
this
.
$refs
.
scroll
.
update
(
false
)
// this.$refs.scroll.update(false)
this
.
$refs
.
scroll
.
scrollToTop
()
if
(
newVal
===
2
)
{
if
(
!
this
.
approvedFlag
)
{
this
.
getLists
()
...
...
@@ -113,7 +119,7 @@ export default {
vm
.
approvedFlag
=
false
vm
.
submitLists
=
[]
vm
.
approvedLists
=
[]
vm
.
$refs
.
scroll
.
update
(
false
)
//
vm.$refs.scroll.update(false)
vm
.
$refs
.
scroll
.
scrollToTop
()
vm
.
getLists
()
}
else
if
(
from
.
name
===
'ContractDetails'
)
{
...
...
@@ -185,6 +191,7 @@ export default {
}
},
loadMore
()
{
// debugger
let
vm
=
this
if
(
vm
.
num
===
1
)
{
vm
.
submitPagenum
++
...
...
@@ -325,6 +332,15 @@ export default {
</
script
>
<
style
lang=
"less"
>
#distribute-sign {
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.tab-style{
display:flex;
width: 100%;
...
...
src/pages/distributorSign/financ-details.vue
View file @
771d4be2
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:39:52
* @LastEditTime : 2019-12-2
6 16:47:36
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -368,13 +368,13 @@ export default {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
margin-left: 20px;
div:nth-of-type(2) {
margin-top: 12px;
}
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/financingTrial/trial-repay-plan.vue
View file @
771d4be2
<!--
* @Author: your name
* @Date: 2019-10-30 19:29:24
* @LastEditTime : 2019-12-2
4 18:41:3
7
* @LastEditTime : 2019-12-2
6 16:47:0
7
* @LastEditors : Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -386,13 +386,13 @@ export default {
// flex: 9;
display: flex;
flex-direction: column;
justify-content: space-evenly;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #4B4A4B;
//padding-top: 20px;
margin-left: 40px;
margin-top: -16px;
margin-left: 20px;
div:nth-of-type(2) {
margin-top: 12px;
}
span:nth-of-type(2) {
margin-left: 8px;
}
...
...
src/pages/help/feedback.vue
View file @
771d4be2
...
...
@@ -29,9 +29,6 @@
<img
src=
"@/assets/userBind/deleteIcon.png"
>
</div>
</div>
<!--
<div
class=
"file"
>
<img
src=
"@/assets/help/1.jpg"
>
</div>
-->
<div
class=
"file"
@
click=
"imgUploadShow(question_id)"
>
<img
class=
"photo"
src=
"@/assets/help/photo.png"
>
</div>
...
...
@@ -83,13 +80,11 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
}
console
.
log
(
',,,,,'
,
res
)
})
},
// 图片上传入口
imgUploadShow
(
check_id
)
{
let
vm
=
this
// vm.upload_list = []
hlsPopup
.
showActionSheet
({
titleText
:
'请选择照片'
,
buttonArray
:
[
'拍照'
,
'从相册取'
],
...
...
@@ -123,7 +118,6 @@ export default {
// vm.faceListUpload.push(obj)
let
list
=
[]
list
.
push
(
obj
)
// vm.upload_list.push(obj)
// 拍完一张立马执行保存图片逻辑
vm
.
save_picture
(
list
)
}
...
...
src/pages/messageCenter/message-list.vue
View file @
771d4be2
...
...
@@ -4,11 +4,7 @@
<div
slot=
"center"
class=
"top-word"
>
消息通知
</div>
</h-header>
<!--
<h-content
class=
"content"
>
-->
<div
v-if=
"list.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
<scroll
v-if=
"list.length !== 0"
ref=
"scroll"
:updateData=
"[list]"
:pullUp=
"true"
class=
"has-footer"
...
...
@@ -59,6 +55,11 @@
</section>
<!--
</h-content>
-->
</scroll>
<div
v-if=
"list.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
<
script
>
...
...
src/pages/myProductCollection/my-product-list.Vue
View file @
771d4be2
...
...
@@ -47,7 +47,11 @@
</list-item>
</div>
</scroll>
<div
v-if=
"productList.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
...
...
@@ -208,6 +212,15 @@ export default {
<
style
lang=
"less"
rel=
"stylesheet"
>
#my-collect {
.display {
position: fixed;
top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
background-color: #fff;
padding: 8px 12px;
...
...
src/pages/pay/firstPay/contract-record.vue
View file @
771d4be2
...
...
@@ -123,12 +123,13 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
prj_lists
=
res
.
prj_lists
vm
.
prj_lists
.
forEach
(
i
=>
{
/*
vm.prj_lists.forEach(i => {
i.cf_lists.forEach(j => {
let
num
=
parseFloat
(
j
.
due_amount
)
-
parseFloat
(
j
.
received_amount
)
// let num = parseFloat(j.due_amount) - parseFloat(j.received_amount)
let num = ''
vm.$set(j, 'amount', num)
})
})
})
*/
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
@@ -139,7 +140,11 @@ export default {
this
.
prj_lists
.
forEach
(
i
=>
{
i
.
cf_lists
.
forEach
(
j
=>
{
j
.
project_id
=
i
.
project_id
data
.
push
(
j
)
if
(
!
j
.
amount
||
j
.
amount
===
0
)
{
}
else
{
data
.
push
(
j
)
}
})
})
data
.
forEach
(
i
=>
{
...
...
src/pages/pay/firstPay/pay-entry.vue
View file @
771d4be2
This diff is collapsed.
Click to expand it.
src/pages/pay/pay-page.vue
View file @
771d4be2
...
...
@@ -61,7 +61,7 @@
</div>
</div>
</div>
<div
v-if=
"
!isSuccess||!isFaild
"
>
<div
v-if=
"
isShowpayInfo
"
>
<div
class=
"box-top"
>
<img
src=
"@/assets/payment/bank-title.png"
>
</div>
...
...
@@ -103,6 +103,7 @@
</h-content>
<bottom-tab>
<tab-button
v-if=
"showpay"
class=
"foot"
@
click
.
native=
"pay"
>
立即支付
</tab-button>
<tab-button
v-if=
"nextPay"
class=
"foot"
@
click
.
native=
"pay"
>
继续支付
</tab-button>
<tab-button
v-if=
"showSelect"
class=
"foot"
@
click
.
native=
"searchResult"
>
查询支付结果
</tab-button>
<tab-button
v-if=
"isGo"
class=
"foot"
@
click
.
native=
"goMyInfo"
>
返回个人中心
</tab-button>
</bottom-tab>
...
...
@@ -114,6 +115,7 @@ export default {
return
{
name
:
''
,
url
:
''
,
showInfo
:
true
,
// 展示支付信息
text
:
this
.
$route
.
params
.
text
,
info
:
{
order_number
:
''
,
...
...
@@ -128,11 +130,13 @@ export default {
isSuccess
:
false
,
isFaild
:
false
,
isGo
:
false
,
nextPay
:
false
,
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
showSelect
=
false
vm
.
nextPay
=
false
vm
.
showpay
=
true
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
...
...
@@ -143,6 +147,15 @@ export default {
vm
.
getInfo
()
})
},
computed
:
{
isShowpayInfo
()
{
if
(
this
.
isSuccess
^
this
.
isFaild
==
0
)
{
return
true
}
else
if
(
this
.
isSuccess
^
this
.
isFaild
==
1
)
{
return
false
}
},
},
methods
:
{
changePage
()
{
this
.
$router
.
push
({
...
...
@@ -190,7 +203,6 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
info
,
res
.
info
)
vm
.
isGo
=
true
vm
.
showSelect
=
false
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
@@ -213,9 +225,33 @@ export default {
vm
.
isSuccess
=
false
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
vm
.
isSuccess
=
true
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'交易成功'
)
if
(
res
.
status
===
'01'
)
{
vm
.
nextPay
=
true
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'支付未完成'
)
}
else
if
(
res
.
status
===
'02'
)
{
vm
.
nextPay
=
true
vm
.
isSuccess
=
false
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'支付未完成'
)
}
else
if
(
res
.
status
===
'03'
)
{
vm
.
isGo
=
true
vm
.
isSuccess
=
true
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'交易成功'
)
}
else
if
(
res
.
status
===
'04'
)
{
vm
.
isGo
=
true
vm
.
isSuccess
=
true
vm
.
isFaild
=
false
hlsPopup
.
showLongCenter
(
'交易完成'
)
}
else
{
vm
.
isGo
=
true
vm
.
isSuccess
=
false
vm
.
isFaild
=
true
hlsPopup
.
showLongCenter
(
'交易失败'
)
}
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/pay/payment/contract-record.vue
View file @
771d4be2
...
...
@@ -217,12 +217,13 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
info
=
res
.
prj_lists
vm
.
info
.
forEach
(
i
=>
{
/*
vm.info.forEach(i => {
i.con_lists.forEach(j => {
let
num
=
(
parseFloat
(
j
.
due_amount
)
-
parseFloat
(
j
.
received_amount
))
// let num = (parseFloat(j.due_amount) - parseFloat(j.received_amount))
let num = ''
vm.$set(j, 'amount', num)
})
})
})
*/
vm
.
showList
=
vm
.
info
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
@@ -233,11 +234,15 @@ export default {
let
pushList
=
[]
this
.
info
.
forEach
(
i
=>
{
i
.
con_lists
.
forEach
(
j
=>
{
let
obj
=
{}
obj
.
bp_id
=
window
.
localStorage
.
getItem
(
'bp_id'
)
obj
.
amount
=
j
.
amount
obj
.
contract_id
=
j
.
contract_id
pushList
.
push
(
obj
)
if
(
!
j
.
amount
||
j
.
amount
===
0
)
{
}
else
{
let
obj
=
{}
obj
.
bp_id
=
window
.
localStorage
.
getItem
(
'bp_id'
)
obj
.
amount
=
j
.
amount
obj
.
contract_id
=
j
.
contract_id
pushList
.
push
(
obj
)
}
})
})
return
pushList
...
...
src/pages/pay/payment/pay-entry.vue
View file @
771d4be2
This diff is collapsed.
Click to expand it.
src/pages/productQuery/product-list.vue
View file @
771d4be2
<!--
* @Description: 产品展示列表
* @Author: y/>e: 2019-10-16 14:39:07
* @LastEditors: Please set LastEditors
* @LastEditors
: Please set LastEditors
-->
<
template
>
<h-view
id=
"prolist"
class=
"public-style"
title=
"产品查询"
>
...
...
@@ -47,6 +47,11 @@
</list-item>
</div>
</scroll>
<div
v-if=
"lists.length===0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
<
script
>
...
...
@@ -206,6 +211,15 @@ export default {
</
script
>
<
style
lang=
'less'
>
#prolist {
.display {
position: fixed;
top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
background-color: #fff;
padding: 8px 12px;
...
...
src/pages/reimburseMyself/reimburse-myself-list.Vue
View file @
771d4be2
...
...
@@ -33,6 +33,11 @@
</list-item>
</section>
</scroll>
<div
v-if=
"showList.length === 0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
...
...
@@ -177,6 +182,15 @@ export default {
<
style
lang=
"less"
rel=
"stylesheet"
>
#reimburse {
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.h-header-btn {
img {
width: 16px;
...
...
src/pages/userBindNew/org/enclosure.vue
View file @
771d4be2
...
...
@@ -2,7 +2,7 @@
* @Description: 附件信息
* @Author: your name
* @Date: 2019-09-20 09:35:11
* @LastEditTime : 2019-12-2
3 19:17:03
* @LastEditTime : 2019-12-2
6 14:42:49
* @LastEditors : Please set LastEditors
-->
<
template
>
...
...
@@ -890,7 +890,7 @@ export default {
}
vm
.
carAttachmentId
=
res
.
lists
[
0
].
attachment_id
break
case
'REAL_EST_CERTIFICATE'
:
//
行驶证
case
'REAL_EST_CERTIFICATE'
:
//
不动产
if
(
!
vm
.
propertyFlag
)
{
vm
.
propertyImg
=
res
.
lists
[
0
].
url
}
...
...
@@ -901,8 +901,6 @@ export default {
vm
.
dowload_list
=
[...
res
.
lists
]
break
default
:
// vm.dowload_list.push(res.lists[0])
// console.log('dowload_list.............', vm.dowload_list)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
@@ -1013,8 +1011,6 @@ export default {
remove_upload_list
(
attachment_id
,
index
)
{
let
vm
=
this
vm
.
upload_list
=
vm
.
upload_list
.
filter
(
item
=>
{
return
item
.
attachment_id
!==
attachment_id
})
// vm.upload_list.remove(index)
// vm.upload_list.sort()
},
// 删除图片
delete_pic
(
attachment_id
)
{
...
...
src/pages/videoSign/video-list.vue
View file @
771d4be2
...
...
@@ -48,6 +48,11 @@
</div>
</div>
</scroll>
<div
v-if=
"showLists.length === 0"
>
<div
class=
"display"
>
<img
src=
"@/assets/messageCenter/noMsg.png"
alt=
""
>
</div>
</div>
</h-view>
</
template
>
<
script
>
...
...
@@ -380,6 +385,15 @@ export default {
</
script
>
<
style
lang=
"less"
>
#videoList {
.display {
position: fixed;
// top: 0;
img {
width: 100%;
height: 100%;
// margin-top: -70px;
}
}
.search {
background-color: #fff;
padding: 8px 12px;
...
...
src/router/index.js
View file @
771d4be2
...
...
@@ -57,7 +57,7 @@ import ContractDetail from '@/pages/ContractSigning/contract-detail'
import
ContractContent
from
'@/pages/ContractSigning/contract-content'
import
EntryInfo
from
'@/pages/ContractSigning/entry-info'
import
ElectronicSign
from
'@/pages/ContractSigning/electronic-sign'
/*
import BodyCheck from '@/pages/ContractSigning/body-check'
*/
/*
import BodyCheck from '@/pages/ContractSigning/body-check'
*/
import
ContractRepayPlan
from
'@/pages/ContractSigning/contract-repay-plan'
// 首付款支付
...
...
@@ -233,21 +233,21 @@ export default new Router({
{
path
:
'/entry-info'
,
component
:
EntryInfo
,
name
:
'EntryInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/contract-repay-plan'
,
component
:
ContractRepayPlan
,
name
:
'ContractRepayPlan'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/electronic-sign'
,
component
:
ElectronicSign
,
name
:
'ElectronicSign'
,
meta
:
{
keepAlive
:
true
}},
/* {path: '/body-check', component: BodyCheck, name: 'BodyCheck', meta: {keepAlive: true}},
*/
/* {path: '/body-check', component: BodyCheck, name: 'BodyCheck', meta: {keepAlive: true}},
*/
// 首付款支付
{
path
:
'/first-pay'
,
component
:
FirstPay
,
name
:
'FirstPay'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/pay-entry'
,
component
:
PayEntry
,
name
:
'PayEntry'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/contract-record'
,
component
:
ContractRecord
,
name
:
'ContractRecord'
,
meta
:
{
keepAlive
:
true
}},
// 款项支付
{
path
:
'/payment-pay-entry'
,
component
:
PaymentPayEntry
,
name
:
'PaymentPayEntry'
,
meta
:
{
keepAlive
:
fals
e
}},
{
path
:
'/payment-pay-entry'
,
component
:
PaymentPayEntry
,
name
:
'PaymentPayEntry'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/new-list'
,
component
:
NewList
,
name
:
'NewList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/payment-contract-record'
,
component
:
PaymentContractRecord
,
name
:
'PaymentContractRecord'
,
meta
:
{
keepAlive
:
true
}},
// 保证金支付
{
path
:
'/margin-first-pay'
,
component
:
MarginFirstPay
,
name
:
'MarginFirstPay'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/margin-pay-entry'
,
component
:
MarginPayEntry
,
name
:
'MarginPayEntry'
,
meta
:
{
keepAlive
:
true
}},
// 支付页
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
tru
e
}},
{
path
:
'/pay-page'
,
component
:
PayPage
,
name
:
'PayPage'
,
meta
:
{
keepAlive
:
fals
e
}},
// 产品查询
{
path
:
'/query-home'
,
component
:
QueryHome
,
name
:
'QueryHome'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/product-detailed'
,
component
:
ProDetailed
,
name
:
'ProDetailed'
,
meta
:
{
keepAlive
:
true
}},
...
...
@@ -296,7 +296,6 @@ export default new Router({
{
path
:
'/create-base-info'
,
component
:
CreateBaseInfo
,
name
:
'CreateBaseInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-rent-info'
,
component
:
CreateRentInfo
,
name
:
'CreateRentInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/create-enclosure-info'
,
component
:
CreateEnclosureInfo
,
name
:
'CreateEnclosureInfo'
,
meta
:
{
keepAlive
:
true
}},
// 我的发票
{
path
:
'/invoice'
,
component
:
MyInvoice
,
name
:
'MyInvoice'
,
meta
:
{
keepAlive
:
false
}},
],
...
...
www/index.html
View file @
771d4be2
<!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=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script><title>
徐工融租
</title><link
href=
./static/css/app.d8b40c2ca4c1ada083d556818fb9edcb.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.efd596b798e6119ce4a4.js
></script><script
type=
text/javascript
src=
./static/js/app.3aa55f0f2ea9e3dec22c.js
></script></body></html>
\ No newline at end of file
<!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=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"
></script><title>
徐工融租
</title><link
href=
./static/css/app.6993e65c3c23fe091516186ea68777ec.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e547499500fbe65e7169.js
></script><script
type=
text/javascript
src=
./static/js/app.15189d51f1772069bb43.js
></script></body></html>
\ 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