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
6c113113
Commit
6c113113
authored
Nov 25, 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
bb162fd3
0972e431
Pipeline
#3833
canceled with stages
Changes
7
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
100 additions
and
44 deletions
+100
-44
locationImage.png
src/assets/homePage/locationImage.png
+0
-0
contract-records.vue
src/pages/contractInquire/contract-records.vue
+3
-1
repay-detail.vue
src/pages/contractInquire/repay-detail.vue
+77
-28
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+4
-1
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+12
-9
contract-list.vue
src/pages/distributorSign/contract-list.vue
+2
-2
location.vue
src/pages/home/location.vue
+2
-3
No files found.
src/assets/homePage/locationImage.png
0 → 100644
View file @
6c113113
1.36 KB
src/pages/contractInquire/contract-records.vue
View file @
6c113113
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
repayedLists
:
[],
// 已结清
repayedLists
:
[],
// 已结清
pagenum
:
1
,
pagenum
:
1
,
searchInput
:
''
,
searchInput
:
''
,
contract_status_n
:
'全部'
,
// 全部/待首付/首付还款中/还款中/已结清
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -132,6 +132,7 @@ export default {
...
@@ -132,6 +132,7 @@ export default {
vm
.
selected
=
'all'
vm
.
selected
=
'all'
vm
.
pagenum
=
1
vm
.
pagenum
=
1
vm
.
searchInput
=
''
vm
.
searchInput
=
''
vm
.
contract_status_n
=
'全部'
vm
.
recordQuery
()
vm
.
recordQuery
()
}
}
})
})
...
@@ -158,6 +159,7 @@ export default {
...
@@ -158,6 +159,7 @@ export default {
searchInput
:
vm
.
searchInput
,
searchInput
:
vm
.
searchInput
,
pagenum
:
vm
.
pagenum
,
pagenum
:
vm
.
pagenum
,
pagesize
:
10
,
pagesize
:
10
,
contract_status_n
:
vm
.
contract_status_n
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/contractInquire/repay-detail.vue
View file @
6c113113
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-10-31 09:49:57
* @Date: 2019-10-31 09:49:57
* @LastEditTime: 2019-11-22 1
0:28:20
* @LastEditTime: 2019-11-22 1
6:17:31
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 合同查询--明细
* @Description: 合同查询--明细
* @FilePath:
* @FilePath:
...
@@ -52,35 +52,42 @@
...
@@ -52,35 +52,42 @@
</list-item>
</list-item>
<div
class=
"header"
>
设备清单
</div>
<div
class=
"header"
>
设备清单
</div>
<list-item
:item-height=
"104"
class=
"equipment-list"
>
<scroll
<item
v-for=
"(item,index) in lists"
:proportion=
"[2,1]"
:key=
"index"
>
ref=
"scroll"
<div
slot=
"name"
class=
"parameters"
>
:updateData=
"[lists]"
<div
class=
"list"
>
:pullUp=
"true"
<p>
参数项
</p>
@
pullingUp=
"loadMore"
>
<span
class=
"bold"
>
{{
item
.
product_code
}}
</span>
<list-item
:item-height=
"104"
class=
"equipment-list"
>
<item
v-for=
"(item,index) in lists"
:proportion=
"[2,1]"
:key=
"index"
>
<div
slot=
"name"
class=
"parameters"
>
<div
class=
"list"
>
<p>
参数项
</p>
<span
class=
"bold"
>
{{
item
.
product_code
}}
</span>
</div>
<div
class=
"list"
>
<p>
发动机号
</p>
<span>
{{
item
.
lease_item_engine_num
}}
</span>
</div>
<div
class=
"list"
>
<p>
车辆型号
</p>
<span>
{{
item
.
vehicle_model
}}
</span>
</div>
<div
class=
"list"
>
<p>
合格证编号
</p>
<span>
{{
item
.
certificate_number
}}
</span>
</div>
</div>
</div>
<div
class=
"list"
>
<div
slot=
"content"
>
<p>
发动机号
</p>
<span
v-if=
"item.overdue_times != 0"
:class=
"['status','red']"
>
逾期
{{
item
.
overdue_times
}}
期
</span>
<span>
{{
item
.
lease_item_engine_num
}}
</span>
<div
class=
"plan"
@
click=
"toRepayPlans(item.contract_id)"
>
<img
src=
"@/assets/contractRepayment/plan.png"
alt=
""
>
<span>
还款计划
</span>
</div>
</div>
</div>
<div
class=
"list"
>
</item>
<p>
车辆型号
</p>
</list-item>
<span>
{{
item
.
vehicle_model
}}
</span>
</scroll>
</div>
<div
class=
"list"
>
<p>
合格证编号
</p>
<span>
{{
item
.
certificate_number
}}
</span>
</div>
</div>
<div
slot=
"content"
>
<span
v-if=
"item.overdue_times != 0"
:class=
"['status','red']"
>
逾期
{{
item
.
overdue_times
}}
期
</span>
<div
class=
"plan"
@
click=
"toRepayPlans(item.contract_id)"
>
<img
src=
"@/assets/contractRepayment/plan.png"
alt=
""
>
<span>
还款计划
</span>
</div>
</div>
</item>
</list-item>
</h-content>
</h-content>
</h-view>
</h-view>
...
@@ -95,6 +102,7 @@ export default {
...
@@ -95,6 +102,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
lists
:
[],
lists
:
[],
pagenum
:
1
,
detailInfo
:
{},
detailInfo
:
{},
}
}
},
},
...
@@ -105,6 +113,7 @@ export default {
...
@@ -105,6 +113,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'ContractRecords'
)
{
if
(
from
.
name
===
'ContractRecords'
)
{
vm
.
pagenum
=
1
vm
.
detailQuery
()
vm
.
detailQuery
()
vm
.
equipQuery
()
vm
.
equipQuery
()
}
}
...
@@ -143,6 +152,8 @@ export default {
...
@@ -143,6 +152,8 @@ export default {
let
vm
=
this
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_equip_list'
let
url
=
$config
.
basePath
+
'con_equip_list'
let
param
=
{
let
param
=
{
pagesize
:
10
,
pagenum
:
vm
.
pagenum
,
project_id
:
vm
.
$route
.
params
.
project_id
,
project_id
:
vm
.
$route
.
params
.
project_id
,
}
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
vm
.
hlsPopup
.
showLoading
(
'数据加载中'
)
...
@@ -150,6 +161,44 @@ export default {
...
@@ -150,6 +161,44 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
lists
=
res
.
lists
vm
.
lists
=
res
.
lists
if
(
res
.
lists
.
length
>=
0
&&
res
.
lists
.
length
<
10
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
res
.
lists
.
length
===
10
)
{
vm
.
$refs
.
scroll
.
update
(
false
)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
loadMore
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_equip_list'
vm
.
pagenum
++
let
param
=
{
pagesize
:
10
,
pagenum
:
vm
.
pagenum
,
project_id
:
vm
.
$route
.
params
.
project_id
,
}
vm
.
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
.
lists
.
push
(
array
[
index
])
})
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
===
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
lists
.
push
(
array
[
index
])
})
vm
.
$refs
.
scroll
.
update
(
false
)
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
src/pages/contractSigning/contract-detail.vue
View file @
6c113113
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-
19 09:07:15
* @LastEditTime: 2019-11-
25 11:32:38
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -496,6 +496,9 @@ export default {
...
@@ -496,6 +496,9 @@ export default {
vm
.
hlsPopup
.
showSuccess
(
'审批成功'
)
vm
.
hlsPopup
.
showSuccess
(
'审批成功'
)
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'ContractSigning'
,
name
:
'ContractSigning'
,
param
:
{
backFlag
:
true
,
},
})
})
}
else
{
}
else
{
vm
.
hlsPopup
.
showSuccess
(
res
.
message
)
vm
.
hlsPopup
.
showSuccess
(
res
.
message
)
...
...
src/pages/contractSigning/contract-signing.vue
View file @
6c113113
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-2
2 15:39:10
* @LastEditTime: 2019-11-2
5 11:40:05
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -85,7 +85,7 @@ import unCheck2 from '@/assets/constractSigning/yes-undone.png'
...
@@ -85,7 +85,7 @@ import unCheck2 from '@/assets/constractSigning/yes-undone.png'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
num
:
null
,
num
:
1
,
pagenum
:
1
,
pagenum
:
1
,
submitPagenum
:
1
,
submitPagenum
:
1
,
approvedPagenum
:
1
,
approvedPagenum
:
1
,
...
@@ -106,11 +106,7 @@ export default {
...
@@ -106,11 +106,7 @@ export default {
watch
:
{
watch
:
{
'num'
:
{
'num'
:
{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
===
1
)
{
if
(
newVal
===
2
)
{
if
(
!
this
.
submitFlag
)
{
this
.
contractList
()
}
}
else
if
(
newVal
===
2
)
{
if
(
!
this
.
approvedFlag
)
{
if
(
!
this
.
approvedFlag
)
{
this
.
contractList
()
this
.
contractList
()
}
}
...
@@ -143,10 +139,17 @@ export default {
...
@@ -143,10 +139,17 @@ export default {
vm
.
approvedPagenum
=
1
vm
.
approvedPagenum
=
1
vm
.
searchInput
=
''
vm
.
searchInput
=
''
vm
.
user_bp_type
=
vm
.
$route
.
params
.
user_bp_type
vm
.
user_bp_type
=
vm
.
$route
.
params
.
user_bp_type
vm
.
contractList
()
}
else
if
(
from
.
name
===
'ContractDetail'
)
{
if
(
vm
.
$route
.
params
.
backFlag
)
{
vm
.
searchInput
=
''
vm
.
submitPagenum
=
1
vm
.
approvedPagenum
=
1
vm
.
approvedFlag
=
false
vm
.
contractList
()
}
}
}
// vm.contractList()
})
})
// next()
},
},
methods
:
{
methods
:
{
dateConverse
(
date
)
{
dateConverse
(
date
)
{
...
...
src/pages/distributorSign/contract-list.vue
View file @
6c113113
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入合同号/承租人名称"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入合同号/承租人名称"
>
</div>
</div>
<scroll
<scroll
v-
if
=
"tabNum === 0"
v-
show
=
"tabNum === 0"
ref=
"scroll"
ref=
"scroll"
:updateData=
"[submitLists]"
:updateData=
"[submitLists]"
:pullUp=
"true"
:pullUp=
"true"
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</div>
</div>
</scroll>
</scroll>
<scroll
<scroll
v-
if
=
"tabNum === 1"
v-
show
=
"tabNum === 1"
ref=
"scrolls"
ref=
"scrolls"
:updateData=
"[approvedLists]"
:updateData=
"[approvedLists]"
:pullUp=
"true"
:pullUp=
"true"
...
...
src/pages/home/location.vue
View file @
6c113113
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit
* @Descrip""/>User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-10-11 09:39:51
* @Date: 2019-10-11 09:39:51
* @LastEditTime: 2019-1
0-30 17:07:26
* @LastEditTime: 2019-1
1-25 10:01:44
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<section
class=
"location-wrap"
>
<section
class=
"location-wrap"
>
<div
class=
"current-location"
>
<div
class=
"current-location"
>
<div
class=
"img-box"
>
<div
class=
"img-box"
>
<img
src=
"@/assets/homePage/location.png"
alt=
""
>
<img
src=
"@/assets/homePage/location
Image
.png"
alt=
""
>
</div>
</div>
<p>
当前位置
</p>
<p>
当前位置
</p>
...
@@ -219,7 +219,6 @@ export default {
...
@@ -219,7 +219,6 @@ export default {
width: 16px;
width: 16px;
height: 16px;
height: 16px;
margin-left: 17px;
margin-left: 17px;
background: rgba(0, 70, 156, 0.1);
img {
img {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
...
...
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