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
d4665ff4
Commit
d4665ff4
authored
Sep 30, 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
ff2001d7
5ead7a1b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
177 additions
and
26 deletions
+177
-26
contract-details.vue
src/pages/distributorSign/contract-details.vue
+27
-5
accessory.vue
src/pages/intoApproval/intoApproval/accessory.vue
+1
-2
base.vue
src/pages/intoApproval/intoApproval/base.vue
+92
-4
refund.vue
src/pages/intoApproval/intoApproval/refund.vue
+56
-15
intoList.vue
src/pages/intoApproval/intoList.vue
+1
-0
No files found.
src/pages/distributorSign/contract-details.vue
View file @
d4665ff4
...
@@ -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-09-30 1
5:35:27
* @LastEditTime: 2019-09-30 1
7:26:48
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -23,8 +23,23 @@
...
@@ -23,8 +23,23 @@
<!-- 个人信息(自然人) -->
<!-- 个人信息(自然人) -->
<Personal
v-if=
"!bp_flag"
:baseInfo=
"baseInfo"
/>
<Personal
v-if=
"!bp_flag"
:baseInfo=
"baseInfo"
/>
<div
class=
"equipment-list"
>
担保人信息
</div>
<div
class=
"equipment-list"
>
担保人信息
<
span
v-if=
"guarantorInfo.length === 0"
>
(0)
</span>
>
<
/div>
<list-item
:item-height=
"76"
>
<list-item
:item-height=
"76"
>
<item
v-for=
"(item,index) in guarantorInfo"
:key=
"index"
>
<div
slot=
"name"
>
<span
class=
"name-box"
>
{{
index
+
1
}}
</span>
<span
class=
"name"
>
担保人
{{
index
+
1
}}
姓名
</span>
<span
class=
"card-num"
>
证件号
</span>
</div>
<div
slot=
"content"
class=
"right"
>
<img
src=
"@/assets/intoApproval/introduce.png"
>
<span
:title=
"item.bp_name"
>
{{
item
.
bp_name
}}
</span>
<br
>
<span>
{{
item
.
organization_code
}}
</span>
</div>
</item>
</list-item>
<!--
<list-item
:item-height=
"76"
>
<item>
<item>
<div
slot=
"name"
>
<div
slot=
"name"
>
<span
class=
"name-box"
>
1
</span>
<span
class=
"name-box"
>
1
</span>
...
@@ -51,7 +66,7 @@
...
@@ -51,7 +66,7 @@
<span>
42112029870928097
</span>
<span>
42112029870928097
</span>
</div>
</div>
</item>
</item>
</list-item>
</list-item>
-->
<!-- 联系人 -->
<!-- 联系人 -->
<div
class=
"bottom-call"
>
<div
class=
"bottom-call"
>
...
@@ -222,6 +237,7 @@ export default {
...
@@ -222,6 +237,7 @@ export default {
tabNum
:
0
,
tabNum
:
0
,
baseInfo
:
{},
baseInfo
:
{},
bp_flag
:
false
,
bp_flag
:
false
,
guarantorInfo
:
[],
bp_class
:
window
.
sessionStorage
.
getItem
(
'bp_class'
),
bp_class
:
window
.
sessionStorage
.
getItem
(
'bp_class'
),
}
}
},
},
...
@@ -289,7 +305,7 @@ export default {
...
@@ -289,7 +305,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'getGuarantor'
,
res
)
console
.
log
(
'getGuarantor'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
guarantorInfo
=
res
.
lists
}
}
})
})
},
},
...
@@ -375,12 +391,18 @@ export default {
...
@@ -375,12 +391,18 @@ export default {
}
}
.right span {
.right span {
float: right;
float: right;
margin-right: 36px;
margin-right: 48px;
display: block;
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
font-size: 14px;
font-size: 14px;
color: rgba(56, 63, 69, 0.6);
color: rgba(56, 63, 69, 0.6);
letter-spacing: 0;
letter-spacing: 0;
line-height: 18px;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 150px;
margin-top: -10px;
}
}
.right span:last-child {
.right span:last-child {
margin-top: 7px;
margin-top: 7px;
...
...
src/pages/intoApproval/intoApproval/accessory.vue
View file @
d4665ff4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item
@
click
.
native=
"type=1;sendDown()"
>
<item
@
click
.
native=
"type=1;sendDown()"
>
<div
slot=
"name"
>
身份证
</div>
<div
slot=
"name"
>
身份证
</div>
<span
slot=
"content"
>
<span
slot=
"content"
@
click=
"getDetail"
>
<img
src=
"@/assets/intoApproval/download.png"
>
下载在线查看
<img
src=
"@/assets/intoApproval/download.png"
>
下载在线查看
</span>
</span>
</item>
</item>
...
@@ -33,7 +33,6 @@ export default {
...
@@ -33,7 +33,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
type
:
0
,
type
:
0
,
baseInfo
:
{},
}
}
},
},
methods
:
{
methods
:
{
...
...
src/pages/intoApproval/intoApproval/base.vue
View file @
d4665ff4
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<button
class=
"appro"
@
click=
"confirm"
>
同意
</button>
<button
class=
"appro"
@
click=
"confirm"
>
同意
</button>
</div>
</div>
</div>
</div>
<div
v-if=
"downNum"
class=
"modal-show"
>
<div
v-if=
"downNum
==1
"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"down"
>
<div
class=
"top"
>
<div
class=
"top"
>
身份证
身份证
...
@@ -37,8 +37,59 @@
...
@@ -37,8 +37,59 @@
<button
@
click=
"confirm"
>
下载
</button>
<button
@
click=
"confirm"
>
下载
</button>
</div>
</div>
</div>
</div>
<div
v-if=
"downNum==2"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
营业执照
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum=false"
>
</div>
<div
class=
"down-content"
>
<div>
<img
src=
"@/assets/intoApproval/front.png"
>
</div>
<div>
<img
src=
"@/assets/intoApproval/back.png"
>
</div>
</div>
<button
@
click=
"confirm"
>
下载
</button>
</div>
</div>
<div
v-if=
"downNum==3"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
银行卡
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum=false"
>
</div>
<div
class=
"down-content"
>
<div>
<img
src=
"@/assets/intoApproval/front.png"
>
</div>
<div>
<img
src=
"@/assets/intoApproval/back.png"
>
</div>
</div>
<button
@
click=
"confirm"
>
下载
</button>
</div>
</div>
<div
v-if=
"downNum==4"
class=
"modal-show"
>
<div
class=
"down"
>
<div
class=
"top"
>
征信授权书
<img
src=
"@/assets/intoApproval/close.png"
@
click=
"downNum=false"
>
</div>
<div
class=
"down-content"
>
<div>
<img
src=
"@/assets/intoApproval/front.png"
>
</div>
<div>
<img
src=
"@/assets/intoApproval/back.png"
>
</div>
</div>
<button
@
click=
"confirm"
>
下载
</button>
</div>
</div>
<h-header
:proportion=
"[5,1,1]"
class=
"header"
>
<h-header
:proportion=
"[5,1,1]"
class=
"header"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo(-
2
)"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo(-
1
)"
>
<img
src=
"@/assets/intoApproval/arrow.png"
>
<img
src=
"@/assets/intoApproval/arrow.png"
>
<span>
进件审批
</span>
<span>
进件审批
</span>
</div>
</div>
...
@@ -49,11 +100,11 @@
...
@@ -49,11 +100,11 @@
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item>
<item>
<div
slot=
"name"
>
业务经办
</div>
<div
slot=
"name"
>
业务经办
</div>
<input
slot=
"content"
v-model=
"personInfo.bp_id_user"
readonly
>
<input
slot=
"content"
v-model=
"personInfo.bp_id_user
_n
"
readonly
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
经销商
</div>
<div
slot=
"name"
>
经销商
</div>
<input
slot=
"content"
v-model=
"personInfo.bp_id_agent"
>
<input
slot=
"content"
v-model=
"personInfo.bp_id_agent
_n
"
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"userInfo"
>
承租人信息
</div>
<div
class=
"userInfo"
>
承租人信息
</div>
...
@@ -295,6 +346,10 @@ export default {
...
@@ -295,6 +346,10 @@ export default {
rentInfo
:
{},
rentInfo
:
{},
bondsInfo
:
[],
bondsInfo
:
[],
confirm_note
:
''
,
confirm_note
:
''
,
files
:
[],
accInfo
:
[],
check_id
:
''
,
idCard_check_id
:
''
,
personInfo
:
{
personInfo
:
{
bp_name_sp
:
''
,
bp_name_sp
:
''
,
id_card_no
:
''
,
id_card_no
:
''
,
...
@@ -347,6 +402,7 @@ export default {
...
@@ -347,6 +402,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
getBonds
()
this
.
getBonds
()
this
.
popProtocol
()
this
.
popProtocol
()
this
.
getList
()
this
.
isConfirm
=
this
.
$route
.
params
.
isConfirm
this
.
isConfirm
=
this
.
$route
.
params
.
isConfirm
},
},
methods
:
{
methods
:
{
...
@@ -391,6 +447,38 @@ export default {
...
@@ -391,6 +447,38 @@ export default {
}
}
})
})
},
},
getDetail
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
let
param
=
{
check_id
:
vm
.
check_id
,
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
files
=
res
.
lists
}
})
},
getList
()
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_cdd_check_list_query'
let
param
=
{
'master'
:
{
document_id
:
'7730'
,
document_table
:
'HLS_BP_MASTER'
,
tab_group
:
'HLS_NP'
,
},
}
vm
.
hlsPopup
.
showLoading
(
'数据加载中!'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
accInfo
=
res
.
lists
}
})
},
getBonds
()
{
getBonds
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'prj_guarantor_list_query'
let
url
=
process
.
env
.
basePath
+
'prj_guarantor_list_query'
...
...
src/pages/intoApproval/intoApproval/refund.vue
View file @
d4665ff4
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<span>
还款计划
</span>
<span>
还款计划
</span>
</div>
</div>
</h-header>
</h-header>
<img
v-if=
"none"
class=
"noData"
src=
"@/assets/intoApproval/none.jpg"
>
<img
v-if=
"none"
class=
"noData"
src=
"@/assets/intoApproval/none.jpg"
>
<div
v-if=
"dataNone"
class=
"top-content"
>
<div
v-if=
"dataNone"
class=
"top-content"
>
<span
class=
"top-tittle"
>
融资额(元)
</span>
<span
class=
"top-tittle"
>
融资额(元)
</span>
<span
class=
"num"
>
{{
info
.
finance_amount
|
NumFormat
}}
</span>
<span
class=
"num"
>
{{
info
.
finance_amount
|
NumFormat
}}
</span>
...
@@ -35,13 +35,19 @@
...
@@ -35,13 +35,19 @@
</div>
</div>
</div>
</div>
<h-content
v-if=
"dataNone"
>
<h-content
v-if=
"dataNone"
>
<div
class=
"header-top-bar"
>
<span/>
<span>
日期
</span>
<span>
现金流项目
</span>
<span>
应还金额
</span>
</div>
<table>
<table>
<
tr
>
<
!--
<thead
class=
"top-bar"
>
<th
/>
<th
/>
<th>
日期
</th>
<th>
日期
</th>
<th>
现金流项目
</th>
<th>
现金流项目
</th>
<th>
应还金额
</th>
<th>
应还金额
</th>
</t
r
>
</t
head>
--
>
<tr
v-for=
"(item,index) in lists"
:key=
"index"
>
<tr
v-for=
"(item,index) in lists"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
{{
index
+
1
}}
</td>
<td>
{{
item
.
due_date
|
timeFormat
}}
</td>
<td>
{{
item
.
due_date
|
timeFormat
}}
</td>
...
@@ -58,14 +64,17 @@ export default {
...
@@ -58,14 +64,17 @@ export default {
NumFormat
:
function
(
value
)
{
NumFormat
:
function
(
value
)
{
if
(
!
value
)
return
'0.00'
if
(
!
value
)
return
'0.00'
var
intPart
=
Number
(
value
)
|
0
// 获取整数部分
var
intPart
=
Number
(
value
)
|
0
// 获取整数部分
var
intPartFormat
=
intPart
.
toString
().
replace
(
/
(\d)(?=(?:\d{3})
+$
)
/g
,
'$1,'
)
// 将整数部分逢三一断
var
intPartFormat
=
intPart
.
toString
()
.
replace
(
/
(\d)(?=(?:\d{3})
+$
)
/g
,
'$1,'
)
// 将整数部分逢三一断
var
floatPart
=
'.00'
// 预定义小数部分
var
floatPart
=
'.00'
// 预定义小数部分
var
value2Array
=
value
.
split
(
'.'
)
var
value2Array
=
value
.
split
(
'.'
)
// =2表示数据有小数位
// =2表示数据有小数位
if
(
value2Array
.
length
===
2
)
{
if
(
value2Array
.
length
===
2
)
{
floatPart
=
value2Array
[
1
].
toString
()
// 拿到小数部分
floatPart
=
value2Array
[
1
].
toString
()
// 拿到小数部分
if
(
floatPart
.
length
===
1
)
{
// 补0,实际上用不着
if
(
floatPart
.
length
===
1
)
{
// 补0,实际上用不着
return
intPartFormat
+
'.'
+
floatPart
+
'0'
return
intPartFormat
+
'.'
+
floatPart
+
'0'
}
else
{
}
else
{
return
intPartFormat
+
'.'
+
floatPart
return
intPartFormat
+
'.'
+
floatPart
...
@@ -74,7 +83,7 @@ export default {
...
@@ -74,7 +83,7 @@ export default {
return
intPartFormat
+
floatPart
return
intPartFormat
+
floatPart
}
}
},
},
'timeFormat'
:
function
(
time
)
{
timeFormat
:
function
(
time
)
{
var
date
=
new
Date
(
time
)
var
date
=
new
Date
(
time
)
var
y
=
date
.
getFullYear
()
var
y
=
date
.
getFullYear
()
var
m
=
date
.
getMonth
()
+
1
var
m
=
date
.
getMonth
()
+
1
...
@@ -143,7 +152,6 @@ export default {
...
@@ -143,7 +152,6 @@ export default {
}
}
},
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
@@ -183,13 +191,13 @@ export default {
...
@@ -183,13 +191,13 @@ export default {
}
}
.line::before {
.line::before {
content: "";
content: "";
display:inline-block;
display:
inline-block;
width:2px;
width:
2px;
height:12px;
height:
12px;
background-color: #ffffff;
background-color: #ffffff;
position: relative;
position: relative;
left: -5px;
left: -5px;
top:2px;
top:
2px;
}
}
.left {
.left {
float: left;
float: left;
...
@@ -238,6 +246,7 @@ export default {
...
@@ -238,6 +246,7 @@ export default {
table {
table {
width: 100%;
width: 100%;
text-align: center;
text-align: center;
margin-top: 44px;
th {
th {
height: 40px;
height: 40px;
line-height: 40px;
line-height: 40px;
...
@@ -246,8 +255,6 @@ export default {
...
@@ -246,8 +255,6 @@ export default {
font-size: 14px;
font-size: 14px;
color: #383f45;
color: #383f45;
letter-spacing: 0;
letter-spacing: 0;
display:fixed;
top:0px;
}
}
th:first-child {
th:first-child {
width: 15%;
width: 15%;
...
@@ -276,9 +283,43 @@ export default {
...
@@ -276,9 +283,43 @@ export default {
letter-spacing: 0;
letter-spacing: 0;
}
}
}
}
.noData{
.noData
{
width:100%;
width:
100%;
// height:100%
// height:100%
}
}
.header-top-bar {
width: 100%;
// display: flex;
height: 40px;
line-height: 40px;
text-align: center;
background-color: #fafafa;
// justify-content: space-around;
border-bottom: 1px solid #d9dbdf;
position: fixed;
span {
display: inline-block;
// float: left;
text-align: center;
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #383f45;
letter-spacing: 0;
}
span:nth-of-type(1) {
float:left;
}
span:nth-of-type(2) {
margin-left: 45px;
}
span:nth-of-type(3) {
margin-left: 31px;
}
span:nth-of-type(4) {
float:right;
margin-right: 61px;
}
}
}
}
</
style
>
</
style
>
src/pages/intoApproval/intoList.vue
View file @
d4665ff4
...
@@ -143,6 +143,7 @@ export default {
...
@@ -143,6 +143,7 @@ export default {
let
param
=
{
let
param
=
{
user_phone
:
window
.
localStorage
.
user_phone
,
user_phone
:
window
.
localStorage
.
user_phone
,
}
}
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'
)
{
...
...
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