Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
385c607a
...
385c607aca15ad69ffa9dea9ba84ee6d559121e8
authored
2022-01-17 15:12:19 +0800
by
张浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
772810c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
src/page/activityConfig.vue
src/page/activityConfig.vue
View file @
385c607
...
...
@@ -15,12 +15,14 @@
label=
"奖品名称"
sortable
:filters=
"tvmName"
:filter-method=
"filterHandler"
:filter-method=
"filterHandler
Name
"
min-width=
"2"
>
</el-table-column>
<el-table-column
prop=
"awardId"
label=
"奖品ID"
:filters=
"tvmAwardId"
:filter-method=
"filterHandlerAwardId"
min-width=
"1"
>
</el-table-column>
<el-table-column
...
...
@@ -67,6 +69,8 @@
prop=
"startTime"
label=
"开始时间"
sortable
:filters=
"tvmStartTime"
:filter-method=
"filterHandlerStartTime"
min-width=
"2"
>
</el-table-column>
<el-table-column
...
...
@@ -78,6 +82,8 @@
<el-table-column
prop=
"extData"
label=
"地区配置"
:filters=
"tvmExtdata"
:filter-method=
"filterHandlerExtdata"
min-width=
"4"
>
</el-table-column>
<el-table-column
...
...
@@ -389,6 +395,9 @@
operateBannerInfos
:
[],
operateMsgInfos
:
[],
tvmName
:
[],
tvmExtdata
:
[],
tvmAwardId
:
[],
tvmStartTime
:
[],
activityInfosDrawer
:
false
,
activityInfosForm
:
{
id
:
''
,
...
...
@@ -433,6 +442,9 @@
this
.
operateBannerInfos
=
res
.
data
.
operateBannerInfos
this
.
operateMsgInfos
=
res
.
data
.
operateMsgInfos
this
.
tvmName
=
res
.
data
.
tvmName
this
.
tvmExtdata
=
res
.
data
.
tvmExtdata
this
.
tvmAwardId
=
res
.
data
.
tvmAwardId
this
.
tvmStartTime
=
res
.
data
.
tvmStartTime
loading
.
close
();
}).
catch
(
error
=>
{
console
.
log
(
error
);
...
...
@@ -503,7 +515,19 @@
});
})
},
filterHandler
(
value
,
row
,
column
)
{
filterHandlerName
(
value
,
row
,
column
)
{
const
property
=
column
[
'property'
];
return
row
[
property
]
===
value
;
},
filterHandlerExtdata
(
value
,
row
,
column
)
{
const
property
=
column
[
'property'
];
return
row
[
property
]
===
value
;
},
filterHandlerAwardId
(
value
,
row
,
column
)
{
const
property
=
column
[
'property'
];
return
row
[
property
]
===
value
;
},
filterHandlerStartTime
(
value
,
row
,
column
)
{
const
property
=
column
[
'property'
];
return
row
[
property
]
===
value
;
}
...
...
Please
register
or
sign in
to post a comment