Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
6bac690e
Commit
6bac690e
authored
Mar 31, 2022
by
吴婷慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限额条件去掉状态显示
parent
51805025
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.vue
src/views/welfare/edit/components/condition/index.vue
+8
-8
No files found.
src/views/welfare/edit/components/condition/index.vue
View file @
6bac690e
...
...
@@ -122,14 +122,14 @@ export default {
const
columns
=
[
{
title
:
"
条件类型
"
,
dataIndex
:
"
frequencyDesc
"
},
{
title
:
"
条件内容
"
,
dataIndex
:
"
limitDesc
"
},
{
title
:
"
状态
"
,
dataIndex
:
"
status
"
,
customRender
:
(
val
)
=>
{
for
(
let
i
=
0
;
i
<
this
.
statusCode
.
length
;
i
++
)
{
if
(
val
===
this
.
statusCode
[
i
].
code
)
{
return
this
.
statusCode
[
i
].
name
}
}
return
val
;
}
},
//
{ title: "状态", dataIndex: "status", customRender: (val) => {
//
for(let i = 0; i
<
this
.
statusCode
.
length
;
i
++
)
{
//
if (val === this.statusCode[i].code) {
//
return this.statusCode[i].name
//
}
//
}
//
return val;
//
} },
// { title: "限额或限次", dataIndex: "index" },
{
title
:
"
福利限制
"
,
dataIndex
:
"
maxValue
"
,
customRender
:
(
val
,
row
)
=>
{
if
(
row
.
limitCode
.
indexOf
(
'
07
'
)
===
0
)
{
...
...
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