Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
Overview
Overview
Details
Activity
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
达摩4.0重构
welfare
Commits
e4072d82
Commit
e4072d82
authored
Mar 03, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of git.gicdev.com:dm4/welfare into dev
parents
1fa22f9b
176ecd27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
list.vue
src/views/card/card-package/list.vue
+3
-3
card-list.vue
src/views/card/gic-card/card-list.vue
+1
-1
No files found.
src/views/card/card-package/list.vue
View file @
e4072d82
...
...
@@ -43,7 +43,7 @@
<el-popover
placement=
"top-start"
width=
"300"
trigger=
"hover"
open-delay=
"200"
:offset=
"-8"
>
<div
class=
"gray01 fz14"
>
<p
style=
"margin-bottom:5px;"
>
卡券包ID:
{{
scope
.
row
.
couponPackageId
}}
</p>
<p>
更新时间:
{{
formatDateTimeByType
(
scope
.
row
.
updateTime
,
'yyyy-MM-dd
hh
:mm:ss'
)
}}
</p>
<p>
更新时间:
{{
formatDateTimeByType
(
scope
.
row
.
updateTime
,
'yyyy-MM-dd
HH
:mm:ss'
)
}}
</p>
</div>
<i
class=
"el-icon-question cursor fz12 gray-lighter"
slot=
"reference"
></i>
</el-popover>
...
...
@@ -60,8 +60,8 @@
</el-table-column>
<el-table-column
label=
"卡券数量"
min-width=
"120"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{ 'danger-color':
scope.row.totalCouponSize > scope.row.useCouponSize }">
{{
scope
.
row
.
useCouponSize
}}
/
{{
scope
.
row
.
totalCouponSize
}}
</span>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
open-delay=
"200"
content=
"存在已过期或已删除的卡券"
v-if=
"scope.row.totalCouponSize > scope.row.useCouponSize
"
>
<span
:class=
"
{ 'danger-color':
(scope.row.totalCouponSize > scope.row.useCouponSize || scope.row.totalCouponSize == 0) }">
{{
scope
.
row
.
useCouponSize
==
scope
.
row
.
totalCouponSize
?
scope
.
row
.
totalCouponSize
:(
scope
.
row
.
useCouponSize
+
'/'
+
scope
.
row
.
totalCouponSize
)
}}
</span>
<el-popover
placement=
"top-start"
width=
"200"
trigger=
"hover"
open-delay=
"200"
:content=
"scope.row.totalCouponSize > scope.row.useCouponSize?'存在已过期或已删除的卡券':'卡券包中未添加卡券'"
v-if=
"(scope.row.totalCouponSize > scope.row.useCouponSize || scope.row.totalCouponSize == 0)
"
>
<i
class=
"el-icon-question ml5 cursor gray-lighter"
slot=
"reference"
></i>
</el-popover>
</
template
>
...
...
src/views/card/gic-card/card-list.vue
View file @
e4072d82
...
...
@@ -65,7 +65,7 @@
<el-popover
placement=
"top-start"
width=
"300"
trigger=
"hover"
open-delay=
"200"
:offset=
"-8"
>
<div
class=
"gray01 fz14"
>
<p
style=
"margin-bottom:5px;"
>
福利ID:
{{
scope
.
row
.
couponId
}}
</p>
<p>
更新时间:
{{
formatDateTimeByType
(
scope
.
row
.
updateTime
,
'yyyy-MM-dd
hh
:mm:ss'
)
}}
</p>
<p>
更新时间:
{{
formatDateTimeByType
(
scope
.
row
.
updateTime
,
'yyyy-MM-dd
HH
:mm:ss'
)
}}
</p>
</div>
<i
class=
"el-icon-question cursor fz12 gray-lighter"
slot=
"reference"
></i>
</el-popover>
...
...
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