cnhis-design-vue 0.2.66-beta → 0.2.67-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +66 -66
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +28 -28
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +9 -9
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +456 -437
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +75 -75
- package/es/multi-chat-client/index.js +69 -69
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +24 -24
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +123 -104
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1134 -835
- package/lib/cui.umd.js +1134 -835
- package/lib/cui.umd.min.js +41 -41
- package/package.json +1 -1
- package/packages/table-filter/src/components/search-condition/SearchCondition.vue +9 -4
- package/packages/table-filter/src/components/search-filter/SearchFilter.vue +11 -3
package/package.json
CHANGED
|
@@ -374,7 +374,8 @@ export default create({
|
|
|
374
374
|
classify: 'custom',
|
|
375
375
|
classifyList: [],
|
|
376
376
|
addVal: '',
|
|
377
|
-
showAdd: false
|
|
377
|
+
showAdd: false,
|
|
378
|
+
birthdayFilter: ["BIG", "LESS", "BIGEQ", "LESSEQ", "IN_THE_PAST_DI", "IN_THE_FUTURE_DI"]
|
|
378
379
|
};
|
|
379
380
|
},
|
|
380
381
|
computed: {
|
|
@@ -981,12 +982,16 @@ export default create({
|
|
|
981
982
|
return true;
|
|
982
983
|
} else {
|
|
983
984
|
let matchItem = this.fieldTypeList.find(item => sea.fieldType.toUpperCase() == item.name);
|
|
985
|
+
let conList = this.searchChildList;
|
|
984
986
|
if (matchItem) {
|
|
985
987
|
// 关系 选项
|
|
986
|
-
|
|
987
|
-
}
|
|
988
|
-
|
|
988
|
+
conList = matchItem.conList;
|
|
989
|
+
}
|
|
990
|
+
if (action?.settingObj?.attr === "BIRTHDAY") {
|
|
991
|
+
conList = conList.filter(v => !this.birthdayFilter.includes(v.name)) || [];
|
|
989
992
|
}
|
|
993
|
+
|
|
994
|
+
action.searchChildList = conList;
|
|
990
995
|
}
|
|
991
996
|
// 通过 attr 判断类型,searchChildList
|
|
992
997
|
if (attrType == 'AGE') {
|
|
@@ -58,7 +58,8 @@ export default {
|
|
|
58
58
|
bodyStyle: {
|
|
59
59
|
maxHeight: "496px",
|
|
60
60
|
overflowY: "auto"
|
|
61
|
-
}
|
|
61
|
+
},
|
|
62
|
+
filterTimer: null
|
|
62
63
|
};
|
|
63
64
|
},
|
|
64
65
|
computed: {},
|
|
@@ -80,9 +81,13 @@ export default {
|
|
|
80
81
|
},
|
|
81
82
|
methods: {
|
|
82
83
|
init() {
|
|
83
|
-
this
|
|
84
|
+
this.clearTimer()
|
|
85
|
+
this.filterTimer = setTimeout(() => {
|
|
84
86
|
this.handleInitConditions();
|
|
85
|
-
})
|
|
87
|
+
}, 30)
|
|
88
|
+
},
|
|
89
|
+
clearTimer() {
|
|
90
|
+
if(this.filterTimer) clearTimeout(this.filterTimer)
|
|
86
91
|
},
|
|
87
92
|
handleInitConditions() {
|
|
88
93
|
this.$refs.conditionRef.handleInitConditions();
|
|
@@ -123,6 +128,9 @@ export default {
|
|
|
123
128
|
this.bodyStyle.height = "";
|
|
124
129
|
}
|
|
125
130
|
}
|
|
131
|
+
},
|
|
132
|
+
destroyed() {
|
|
133
|
+
this.clearTimer();
|
|
126
134
|
}
|
|
127
135
|
};
|
|
128
136
|
</script>
|