Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-rljj-wx
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
rl
hls-rljj-wx
Commits
4ba9755d
Commit
4ba9755d
authored
May 06, 2022
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev测试环境跳转接口调整
parent
dfad6bf5
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
234 additions
and
180 deletions
+234
-180
cmbPolyPay.vue
src/pages/applications/cmbPolyPay/cmbPolyPay.vue
+47
-25
cmbPolyPayDetail.vue
src/pages/applications/cmbPolyPay/cmbPolyPayDetail.vue
+174
-152
home.vue
src/pages/home.vue
+1
-2
index.js
src/router/index.js
+12
-1
No files found.
src/pages/applications/cmbPolyPay/cmbPolyPay.vue
View file @
4ba9755d
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
</div>
</div>
<div
v-if=
"ListNum != 0"
class=
"billList"
>
<div
v-if=
"ListNum != 0"
class=
"billList"
>
<article
v-for=
"(item, index) in massages"
:key=
"item.id"
class=
"article"
style=
"margin-top:10px"
>
<article
v-for=
"(item, index) in massages"
:key=
"item.id"
class=
"article"
style=
"margin-top:10px"
>
<img
slot=
"left-icon"
src=
"../../../assets\electronicContract\contract-
icon
.png"
class=
"icon"
>
<img
slot=
"left-icon"
src=
"../../../assets\electronicContract\contract-
list
.png"
class=
"icon"
>
<div
slot=
"name"
class=
"text"
style=
"width: 8
2%;font-size: 12px;margin-top:15px
"
>
<div
slot=
"name"
class=
"text"
style=
"width: 8
0%;font-size: 12px;
"
>
<div
class=
"cont-type"
style=
"color: #
5a5959;font-size: 14px;font-weight:bold
"
>
承租人:
{{
item
.
customername
}}
<div
class=
"cont-type"
style=
"color: #
000;font-size: 14px;font-weight:700
"
>
承租人:
{{
item
.
customername
}}
</div>
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
经销商:
{{
item
.
dealername
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
经销商:
{{
item
.
dealername
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
产品名称:
{{
item
.
modelname
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
产品名称:
{{
item
.
modelname
}}
</div>
...
@@ -33,24 +33,26 @@
...
@@ -33,24 +33,26 @@
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
机号:
{{
item
.
serialno
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
机号:
{{
item
.
serialno
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
租金总额:
{{
item
.
contractamt
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
租金总额:
{{
item
.
contractamt
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
租赁开始日:
{{
item
.
leasebgndt
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
租赁开始日:
{{
item
.
leasebgndt
}}
</div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
状态:
<span>
{{
item
.
status
}}
</span></div>
<div
class=
"cont-type"
style=
"color: #5a5959;font-size: 14px"
>
状态:
<span
style=
"font-weight: 700;
color: rgba(198, 0, 0, 0.5);"
>
{{
item
.
status
}}
</span></div>
</div>
</div>
<button
@
click=
"download(index)"
>
账单下载
</button>
<button
@
click=
"download(index)"
>
账单下载
</button>
<router-link
:to=
"
{name:'CmbPolyPayDetail',query:{contractno:item.contractno}}">
<span
class=
"more"
>
>
</span>
<router-link
v-if=
"item.status == '还款中'"
:to=
"
{name:'CmbPolyPayDetail',query:{contractno:item.contractno}}">
<img
src=
"../../../assets\image\right-arrow@2x.png"
class=
"more"
alt=
""
>
</router-link>
</router-link>
</article>
</article>
</div>
</div>
<div
v-else-if=
"ListNum == 0"
class=
"billList"
>
<div
v-else-if=
"ListNum == 0"
class=
"billList"
>
<div
style=
"
<div
style=
"
width:
16
0px;
width:
20
0px;
height: 1
2
0px;
height: 1
6
0px;
position: relative;
position: relative;
left: 50%;
left: 50%;
top: 100px;
top: 100px;
transform: translateX(-
8
0px);
transform: translateX(-
10
0px);
"
>
"
>
<img
src=
"../../../assets\image\nobill.png"
style=
"width:
160px; height: 12
0px"
alt=
""
>
<img
src=
"../../../assets\image\nobill.png"
style=
"width:
200px; height: 16
0px"
alt=
""
>
<p
style=
"text-align: center"
>
暂无相关合同信息
</p>
<p
style=
"text-align: center
; color:#555;
"
>
暂无相关合同信息
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -79,22 +81,23 @@ export default {
...
@@ -79,22 +81,23 @@ export default {
let
vm
=
this
let
vm
=
this
let
value
=
vm
.
searchCondition
.
input
let
value
=
vm
.
searchCondition
.
input
let
url
=
process
.
env
.
basePath
+
'getCmbConList'
let
url
=
process
.
env
.
basePath
+
'getCmbConList'
//
http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName=getCmbConList
//
console.log('请求数据')
let
params
=
{
let
params
=
{
// openId: "oBdoRwAgUiwsQvNGYhBYks6JJLPE"
,
openId
:
'oBdoRwAgUiwsQvNGYhBYks6JJLPE'
,
openId
:
openId
,
//
openId: openId,
serialno
:
value
,
serialno
:
value
,
}
}
// console.log("请求");
// console.log("请求");
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
params
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
// console.log(res)
if
(
res
.
result
.
respCode
===
'S'
)
{
if
(
res
.
result
.
respCode
===
'S'
)
{
var
dataInfo
=
JSON
.
parse
(
res
.
result
.
json
)
var
dataInfo
=
JSON
.
parse
(
res
.
result
.
json
)
// console.log('请求成功', dataInfo.lists)
vm
.
ListNum
=
dataInfo
.
lists
.
length
vm
.
ListNum
=
dataInfo
.
lists
.
length
vm
.
massages
=
dataInfo
.
lists
vm
.
massages
=
dataInfo
.
lists
}
else
{
}
else
{
vm
.
ListNum
=
0
vm
.
hlsPopup
.
showLongCenter
(
'查询合同列表失败'
+
res
.
result
.
respMsg
)
vm
.
hlsPopup
.
showLongCenter
(
'查询合同列表失败'
+
res
.
result
.
respMsg
)
}
}
})
})
...
@@ -102,6 +105,9 @@ export default {
...
@@ -102,6 +105,9 @@ export default {
download
(
index
)
{
download
(
index
)
{
console
.
log
(
'下载'
)
console
.
log
(
'下载'
)
},
},
detectSearchCondition
()
{
this
.
searchBill
(
window
.
localStorage
.
openId
)
},
},
},
}
}
</
script
>
</
script
>
...
@@ -114,21 +120,19 @@ export default {
...
@@ -114,21 +120,19 @@ export default {
margin-top: 10px;
margin-top: 10px;
// margin-bottom: 10px;
// margin-bottom: 10px;
position: relative;
position: relative;
border: 1px solid #cccccc;
border-radius: 20px;
.searchInput {
.searchInput {
margin-left: 5%;
margin-left: 5%;
display: -webkit-flex;
display: -webkit-flex;
border: 1px solid #cccccc;
/* margin: 0.14rem 0.2rem; */
/* margin: 0.14rem 0.2rem; */
width: 80%;
width: 80%;
height: 0.56rem;
height: 0.56rem;
border-radius: 20px;
display: -webkit-box;
display: -webkit-box;
display: flex;
display: flex;
-webkit-box-align: center;
-webkit-box-align: center;
align-items: center;
align-items: center;
-webkit-align-items: center;
-webkit-align-items: center;
input {
input {
text-align: center;
text-align: center;
width: 90%;
width: 90%;
...
@@ -142,6 +146,14 @@ export default {
...
@@ -142,6 +146,14 @@ export default {
//padding-left: 11px;
//padding-left: 11px;
}
}
}
}
button {
margin-right: -10px;
background-color: rgb(230, 230, 230);
border: 1px solid #cccccc;
border-radius: 20px;
width: 15%;
height: 100%;
}
}
}
// 账单卡片列表
// 账单卡片列表
.billList {
.billList {
...
@@ -152,16 +164,27 @@ export default {
...
@@ -152,16 +164,27 @@ export default {
border: 1px solid #d0d0d0;
border: 1px solid #d0d0d0;
border-radius: 8px;
border-radius: 8px;
margin: 0 auto 12px;
margin: 0 auto 12px;
height:
17
0px;
height:
20
0px;
width: 98%;
width: 98%;
.text {
.text {
margin-left: 50px;
margin-left: 45px;
position: relative;
top: 50%;
transform: translateY(-50%);
.cont-type {
padding-top: 2px;
width: 100%;
word-wrap: break-word;
}
:nth-child(1) {
width: 200px;
}
}
}
.icon {
.icon {
//左侧图标
//左侧图标
position: relative;
position: relative;
float: left;
float: left;
width:
5
0px;
width:
4
0px;
padding-left: 5px;
padding-left: 5px;
top: 50%;
top: 50%;
transform: translateY(-20px);
transform: translateY(-20px);
...
@@ -176,17 +199,16 @@ export default {
...
@@ -176,17 +199,16 @@ export default {
}
}
button {
button {
position: absolute;
position: absolute;
top:
5
px;
top:
12
px;
right: 5px;
right: 5px;
width: 75px;
width: 75px;
height: 25px;
height: 25px;
font-size: 14px;
font-size: 14px;
background-color: #
999999
;
background-color: #
d1d1d1
;
border: 2px solid #
999999
;
border: 2px solid #
dcd0d0
;
border-radius: 5px;
border-radius: 5px;
}
}
.more {
.more {
font-size: 32px;
position: absolute;
position: absolute;
right: 5px;
right: 5px;
top: 50%;
top: 50%;
...
...
src/pages/applications/cmbPolyPay/cmbPolyPayDetail.vue
View file @
4ba9755d
This diff is collapsed.
Click to expand it.
src/pages/home.vue
View file @
4ba9755d
...
@@ -202,9 +202,8 @@ export default {
...
@@ -202,9 +202,8 @@ export default {
// },
// },
// })
// })
// } else {
// } else {
debugger
window
.
localStorage
.
authFlag
==
'Y'
||
data
.
functionState
==
'UserRegister'
||
data
.
functionState
==
'ChinaUnionPay'
||
data
.
functionState
==
'
c
mbPolyPay'
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
window
.
localStorage
.
authFlag
==
'Y'
||
data
.
functionState
==
'UserRegister'
||
data
.
functionState
==
'ChinaUnionPay'
||
data
.
functionState
==
'
C
mbPolyPay'
?
this
.
$router
.
push
({
name
:
data
.
functionState
})
:
hlsPopup
.
showPopup
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'当前用户未完成注册,请先注册!'
,
content
:
'当前用户未完成注册,请先注册!'
,
onConfirm
:
function
()
{
onConfirm
:
function
()
{
...
...
src/router/index.js
View file @
4ba9755d
...
@@ -42,8 +42,10 @@ import UploadImg from '@/pages/applications/userRegisters/uploadImg'
...
@@ -42,8 +42,10 @@ import UploadImg from '@/pages/applications/userRegisters/uploadImg'
import
UploadImage
from
'@/pages/applications/userRegisters/uploadImage'
import
UploadImage
from
'@/pages/applications/userRegisters/uploadImage'
// 银联电子签约
// 银联电子签约
import
ChinaUnionPay
from
'@/pages/applications/chinaUnionPay/chinaUnionPay'
import
ChinaUnionPay
from
'@/pages/applications/chinaUnionPay/chinaUnionPay'
//
银联电子签约
//
招行聚合支付
import
CmbPolyPay
from
'@/pages/applications/cmbPolyPay/cmbPolyPay'
import
CmbPolyPay
from
'@/pages/applications/cmbPolyPay/cmbPolyPay'
// 招行聚合支付明细
import
CmbPolyPayDetail
from
'@/pages/applications/cmbPolyPay/cmbPolyPayDetail'
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
// 全局跳转路由方法
// 全局跳转路由方法
...
@@ -224,6 +226,15 @@ export default new Router({
...
@@ -224,6 +226,15 @@ export default new Router({
keepAlive
:
false
,
keepAlive
:
false
,
},
},
},
},
// 招行聚合支付合同明细
{
path
:
'/CmbPolyPayDetail'
,
component
:
CmbPolyPayDetail
,
name
:
'CmbPolyPayDetail'
,
meta
:
{
keepAlive
:
false
,
},
},
],
],
scrollBehavior
(
to
,
from
,
savedPosition
)
{
scrollBehavior
(
to
,
from
,
savedPosition
)
{
if
(
to
.
hash
)
{
if
(
to
.
hash
)
{
...
...
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