- 备选项1
- 备选项
+ 自定义控制范围
+
+
@@ -182,7 +185,8 @@ export default {
},
selectField: [],
widget: null,
- fieldValues: []
+ fieldValues: [],
+ customRange: false
}
},
@@ -329,6 +333,12 @@ export default {
closeItem(tag) {
const index = tag.index
this.selectField.splice(index, 1)
+ },
+ showFilterRange() {
+ // 如果不是自定义范围 直接返回
+ if (!this.customRange) {
+ return
+ }
}
}
}
@@ -461,5 +471,17 @@ export default {
width: 100%;
height: 100%;
}
+ .i-filter {
+ text-align: center;
+ margin-left: 5px;
+ margin-top: 1px;
+ }
+ .i-filter-inactive {
+ color: #9ea6b2!important;
+ cursor: not-allowed!important;
+ }
+ .i-filter-active {
+ cursor: pointer!important;
+ }