Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4271a89
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
tj
parent
e3a75976
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
src/views/Bill/index.vue
src/views/Bill/record.vue
src/views/More/index.vue
src/views/Bill/index.vue
View file @
a4271a89
...
@@ -407,6 +407,7 @@ export default {
...
@@ -407,6 +407,7 @@ export default {
break
;
break
;
}
else
{
}
else
{
this
.
currentPerId
=
this
.
period
[
localPerIndex
].
id
;
this
.
currentPerId
=
this
.
period
[
localPerIndex
].
id
;
this
.
savePerBeginDate
(
this
.
period
[
localPerIndex
].
beginDate
);
}
}
}
}
}
}
...
...
src/views/Bill/record.vue
View file @
a4271a89
...
@@ -4,19 +4,21 @@
...
@@ -4,19 +4,21 @@
<HeaderW
:title=
"title"
/>
<HeaderW
:title=
"title"
/>
</div>
</div>
<mescroll-vue
ref=
"mescroll"
:up=
"mescrollUp"
@
init=
"mescrollInit"
>
<div
class=
"data-table"
id=
"dataTable"
>
<div
class=
"container-wrap"
id=
"container-wrap"
>
<mescroll-vue
ref=
"mescroll"
:up=
"mescrollUp"
@
init=
"mescrollInit"
>
<div
class=
"list"
v-for=
"(item, index) in dataList"
:key=
"index"
>
<div
class=
"container-wrap"
id=
"container-wrap"
>
<div
class=
"title"
>
<div
class=
"list"
v-for=
"(item, index) in dataList"
:key=
"index"
>
<div
class=
"title_info"
>
{{
item
.
feeType
}}
</div>
<div
class=
"title"
>
<i
:class=
"item.amount>0?'orangeColor':''"
>
{{
item
.
amount
|
moneyNum
}}
</i>
<div
class=
"title_info"
>
{{
item
.
feeType
}}
</div>
<i
:class=
"item.amount>0?'orangeColor':''"
>
{{
item
.
amount
|
moneyNum
}}
</i>
</div>
<p>
<span>
{{
item
.
dateTime
|
MM
-
DD
HH
:
mm
}}
</span>
</p>
</div>
</div>
<p>
<span>
{{
item
.
dateTime
|
MM
-
DD
HH
:
mm
}}
</span>
</p>
</div>
</div>
</
div
>
</
mescroll-vue
>
</
mescroll-vue
>
</
div
>
</div>
</div>
</
template
>
</
template
>
...
@@ -54,8 +56,8 @@ export default {
...
@@ -54,8 +56,8 @@ export default {
},
},
empty
:
{
empty
:
{
// 列表第一页无任何数据时,显示的空提示布局; 需配置warpId才生效;
// 列表第一页无任何数据时,显示的空提示布局; 需配置warpId才生效;
warpId
:
"data
List
"
,
// 父布局的id;
warpId
:
"data
Table
"
,
// 父布局的id;
icon
:
"./static/mescroll/mescroll
-empty.png"
,
// 图标,支持网络图
//icon: "../../assets/images/data
-empty.png", // 图标,支持网络图
tip
:
"暂无相关数据~"
// 提示
tip
:
"暂无相关数据~"
// 提示
},
},
lazyLoad
:
{
lazyLoad
:
{
...
@@ -104,7 +106,7 @@ export default {
...
@@ -104,7 +106,7 @@ export default {
const
fromType
=
this
.
$route
.
query
.
fromType
;
const
fromType
=
this
.
$route
.
query
.
fromType
;
console
.
log
(
"fromType="
,
fromType
);
console
.
log
(
"fromType="
,
fromType
);
if
(
!
fromType
)
{
if
(
!
fromType
)
{
if
(
this
.
getBeginDate
>
"2020-04-30"
)
{
if
(
dayjs
(
this
.
getBeginDate
).
valueOf
()
>
dayjs
(
"2020-04-30"
).
valueOf
()
)
{
this
.
title
=
dayjs
(
this
.
getBeginDate
).
format
(
"M"
)
+
"月"
+
"资金记录"
;
this
.
title
=
dayjs
(
this
.
getBeginDate
).
format
(
"M"
)
+
"月"
+
"资金记录"
;
}
}
}
}
...
...
src/views/More/index.vue
View file @
a4271a89
...
@@ -78,12 +78,13 @@ export default {
...
@@ -78,12 +78,13 @@ export default {
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=1&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=1&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
console
.
log
(
'payUrl='
,
payUrl
);
window
.
location
.
href
=
payUrl
;
window
.
location
.
href
=
payUrl
;
},
},
toPage
()
{
toPage
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"billrecord"
,
name
:
"billrecord"
,
query
:
{
accountId
:
this
.
summary
.
accountId
,
f
or
mType
:
'more'
}
query
:
{
accountId
:
this
.
summary
.
accountId
,
f
ro
mType
:
'more'
}
});
});
},
},
toNextPage
(
index
,
name
)
{
toNextPage
(
index
,
name
)
{
...
...
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