Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a98b7ceea | ||
| a6060b5a3b | |||
| db5e8db835 | |||
| a438469c6b |
@@ -95,6 +95,13 @@ export default {
|
||||
let showStatus = true
|
||||
const showStatusArr = showParam.data.map((item) => {
|
||||
let showStatusItem = true
|
||||
if (item.type === 'have') {
|
||||
if (row[item.name] !== item.value) {
|
||||
showStatusItem = true
|
||||
} else {
|
||||
showStatusItem = false
|
||||
}
|
||||
}
|
||||
if (item.type === 'unequal') {
|
||||
if (row[item.name] !== item.value) {
|
||||
showStatusItem = true
|
||||
@@ -123,6 +130,13 @@ export default {
|
||||
showStatusItem = false
|
||||
}
|
||||
}
|
||||
if (item.type === 'have') {
|
||||
if (row[item.name] !== item.value) {
|
||||
showStatusItem = true
|
||||
} else {
|
||||
showStatusItem = false
|
||||
}
|
||||
}
|
||||
if (item.type === 'indexof') {
|
||||
if (item.value.indexOf(row[item.name]) >= 0) {
|
||||
showStatusItem = true
|
||||
|
||||
Reference in New Issue
Block a user