cnhis-design-vue 2.1.18 → 2.1.21
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/CHANGELOG.md +51 -0
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +112 -134
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +35 -38
- package/es/captcha/index.js +3 -3
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +36 -39
- package/es/editor/index.js +11 -31
- package/es/fabric-chart/index.js +491 -393
- package/es/fabric-chart/style.css +1 -1
- package/es/form-table/index.js +62 -85
- package/es/index/index.js +971 -807
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +210 -196
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +203 -189
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +37 -40
- package/es/multi-chat-record/index.js +37 -40
- package/es/multi-chat-setting/index.js +54 -57
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-view/index.js +70 -93
- package/es/select/index.js +36 -39
- package/es/select-label/index.js +47 -70
- package/es/select-person/index.js +35 -38
- package/es/table-filter/index.js +191 -186
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +34 -37
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1107 -939
- package/lib/cui.umd.js +1107 -939
- package/lib/cui.umd.min.js +79 -79
- package/package.json +2 -2
- package/packages/big-table/src/BigTable.vue +20 -19
- package/packages/fabric-chart/src/components/TimeScaleValue.vue +1 -5
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +185 -90
- package/packages/fabric-chart/src/mixins/draw.js +70 -62
- package/packages/fabric-chart/src/mixins/eventCommon.js +9 -10
- package/packages/multi-chat/chat/chatFooter.vue +1 -5
- package/packages/multi-chat/chat/chatMain.vue +29 -5
- package/packages/table-filter/src/components/search-condition/SearchCondition.vue +1825 -1824
- package/packages/table-filter/src/const/dataOptions.js +10 -10
- package/packages/table-filter/src/quick-search/QuickSearch.vue +26 -0
|
@@ -18,26 +18,26 @@ export const dataOptions = {
|
|
|
18
18
|
],
|
|
19
19
|
dateTeam2: [
|
|
20
20
|
{ con: 'TODAY', title: '1.1.4.37', name: '今天' },
|
|
21
|
-
{ con: '
|
|
21
|
+
{ con: 'YESTERDAY', title: '1.1.4.39', name: '昨天' },
|
|
22
22
|
{ con: 'THIS_WEEK', title: '1.1.4.40', name: '本周' },
|
|
23
|
-
{ con: '
|
|
23
|
+
{ con: 'UP_WEEK', title: '1.1.4.42', name: '上周' },
|
|
24
24
|
{ con: 'THIS_MONTH', title: '1.1.4.43', name: '本月' },
|
|
25
|
-
{ con: '
|
|
25
|
+
{ con: 'UP_MONTH', title: '1.1.4.45', name: '上月' },
|
|
26
26
|
{ con: 'THIS_SEASON', title: '1.1.4.46', name: '本季度' },
|
|
27
|
-
{ con: '
|
|
27
|
+
{ con: 'UP_SEASON', title: '1.1.4.48', name: '上季度' },
|
|
28
28
|
{ con: 'THIS_YEAR', title: '1.1.4.49', name: '本年' },
|
|
29
|
-
{ con: '
|
|
29
|
+
{ con: 'UP_YEAR', title: '1.1.4.51', name: '上年' }
|
|
30
30
|
],
|
|
31
31
|
dateTeam3: [
|
|
32
32
|
{ con: 'TODAY', title: '1.1.4.37', name: '今天' },
|
|
33
|
-
{ con: '
|
|
33
|
+
{ con: 'TOMORROW', title: '1.1.4.38', name: '明天' },
|
|
34
34
|
{ con: 'THIS_WEEK', title: '1.1.4.40', name: '本周' },
|
|
35
|
-
{ con: '
|
|
35
|
+
{ con: 'NEXT_WEEK', title: '1.1.4.41', name: '下周' },
|
|
36
36
|
{ con: 'THIS_MONTH', title: '1.1.4.43', name: '本月' },
|
|
37
|
-
{ con: '
|
|
37
|
+
{ con: 'NEXT_MONTH', title: '1.1.4.44', name: '下月' },
|
|
38
38
|
{ con: 'THIS_SEASON', title: '1.1.4.46', name: '本季度' },
|
|
39
|
-
{ con: '
|
|
39
|
+
{ con: 'NEXT_SEASON', title: '1.1.4.47', name: '下季度' },
|
|
40
40
|
{ con: 'THIS_YEAR', title: '1.1.4.49', name: '本年' },
|
|
41
|
-
{ con: '
|
|
41
|
+
{ con: 'NEXT_YEAR', title: '1.1.4.50', name: '下年' }
|
|
42
42
|
]
|
|
43
43
|
};
|
|
@@ -245,6 +245,7 @@
|
|
|
245
245
|
:placeholder="getI18nText('1.1.4.53', '开始时间')"
|
|
246
246
|
style="width: 120px"
|
|
247
247
|
allowClear
|
|
248
|
+
:disabledDate="current => disabledDatePicker(current, item)"
|
|
248
249
|
/>
|
|
249
250
|
|
|
250
251
|
<a-date-picker
|
|
@@ -256,6 +257,7 @@
|
|
|
256
257
|
v-model="item.DATE.end_val"
|
|
257
258
|
style="width: 120px"
|
|
258
259
|
allowClear
|
|
260
|
+
:disabledDate="current => disabledDatePicker(current, item)"
|
|
259
261
|
/>
|
|
260
262
|
</div>
|
|
261
263
|
</a-radio-group>
|
|
@@ -1849,6 +1851,30 @@ export default create({
|
|
|
1849
1851
|
return this.$t ? this.$t.apply(this, i) : d;
|
|
1850
1852
|
}
|
|
1851
1853
|
return this.$t ? this.$t(i) : d;
|
|
1854
|
+
},
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* 限制日期填写
|
|
1858
|
+
*/
|
|
1859
|
+
disabledDatePicker(current,item){
|
|
1860
|
+
/**
|
|
1861
|
+
* 2 过去时间
|
|
1862
|
+
* 3 未来时间
|
|
1863
|
+
*/
|
|
1864
|
+
let type = String(item?.advanceOptionSetting);
|
|
1865
|
+
if(!['2','3'].includes(type)) return false;
|
|
1866
|
+
if(type === '2'){
|
|
1867
|
+
return current >= this.$moment().endOf('day');
|
|
1868
|
+
} else if(type==='3'){
|
|
1869
|
+
return current && current < this.$moment().startOf('day');
|
|
1870
|
+
}
|
|
1871
|
+
return false
|
|
1872
|
+
},
|
|
1873
|
+
/**
|
|
1874
|
+
* 限制时间
|
|
1875
|
+
*/
|
|
1876
|
+
disabledTimePicker(current,item){
|
|
1877
|
+
|
|
1852
1878
|
}
|
|
1853
1879
|
},
|
|
1854
1880
|
directives: { resize }
|