cnhis-design-vue 2.1.126 → 2.1.128
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 +5 -30
- 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 +339 -1630
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +22 -22
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/card-reader-sdk/index.js +1 -1
- 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/direct/index.js +16 -16
- 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/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +99 -224
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +696 -697
- package/es/full-calendar/index.js +52 -52
- package/es/full-calendar/style.css +1 -1
- package/es/grid/index.js +2 -12
- package/es/index/index.js +1104 -1472
- 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 +76 -76
- package/es/multi-chat-client/index.js +70 -70
- 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-container/index.js +367 -368
- package/es/scale-view/index.js +74 -65
- package/es/scale-view/style.css +1 -1
- package/es/select/index.js +12 -12
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/slider-tree/index.js +9 -9
- 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 +65 -65
- 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 +1008 -1488
- package/lib/cui.umd.js +1008 -1488
- package/lib/cui.umd.min.js +70 -70
- package/package.json +1 -1
- package/packages/big-table/index.js +0 -4
- package/packages/big-table/src/BigTable.vue +8 -6
- package/packages/big-table/src/components/edit-form/edit-component/edit-search/edit-search.vue +7 -81
- package/packages/big-table/src/components/edit-form/edit-component/edit-search-more/edit-search-more.vue +7 -63
- package/packages/big-table/src/components/edit-form/edit-component/mixins/search.js +0 -21
- package/packages/fabric-chart/src/fabric-chart/FabricLines.vue +1 -4
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +8 -12
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +28 -80
- package/packages/fabric-chart/src/mixins/drawExtracorporealCirculation.js +6 -2
- package/packages/fabric-chart/src/utils/index.js +1 -9
- package/packages/full-calendar/src/FullCalendar.vue +11 -16
- package/packages/full-calendar/src/components/ListTag.vue +4 -6
- package/packages/grid/src/grid.js +3 -3
- package/packages/scale-view/formitem/r-choice.vue +10 -2
|
@@ -473,7 +473,7 @@ export default create({
|
|
|
473
473
|
});
|
|
474
474
|
</script>
|
|
475
475
|
<style lang="less" scoped>
|
|
476
|
-
@
|
|
476
|
+
@primary-color: #2d7aff;
|
|
477
477
|
|
|
478
478
|
.c-full-calendar {
|
|
479
479
|
position: relative;
|
|
@@ -527,7 +527,7 @@ export default create({
|
|
|
527
527
|
align-items: center;
|
|
528
528
|
flex: 0 0 66px;
|
|
529
529
|
padding: 0 5px;
|
|
530
|
-
background: #
|
|
530
|
+
background: #f7f7f7;
|
|
531
531
|
.header-left {
|
|
532
532
|
color: #212121;
|
|
533
533
|
span {
|
|
@@ -543,19 +543,19 @@ export default create({
|
|
|
543
543
|
border: 1px solid #d9d9d9;
|
|
544
544
|
cursor: pointer;
|
|
545
545
|
&:hover {
|
|
546
|
-
color:
|
|
546
|
+
color: #2d7aff;
|
|
547
547
|
background: rgba(36, 116, 255, 0.1);
|
|
548
548
|
border-color: rgba(36, 116, 255, 0.2);
|
|
549
549
|
i {
|
|
550
|
-
color:
|
|
550
|
+
color: #2d7aff;
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
&:active {
|
|
554
|
-
color:
|
|
554
|
+
color: #2d7aff;
|
|
555
555
|
background: rgba(36, 116, 255, 0.2);
|
|
556
|
-
border-color:
|
|
556
|
+
border-color: #2d7aff;
|
|
557
557
|
i {
|
|
558
|
-
color:
|
|
558
|
+
color: #2d7aff;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
&.disabled {
|
|
@@ -580,7 +580,7 @@ export default create({
|
|
|
580
580
|
box-shadow: 1px 0 0 0 rgba(36, 116, 255, 0.2);
|
|
581
581
|
}
|
|
582
582
|
&:active {
|
|
583
|
-
box-shadow: 1px 0 0 0
|
|
583
|
+
box-shadow: 1px 0 0 0 #2d7aff;
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
.btn-next {
|
|
@@ -629,10 +629,6 @@ export default create({
|
|
|
629
629
|
overflow-y: auto;
|
|
630
630
|
box-sizing: border-box;
|
|
631
631
|
|
|
632
|
-
.fc-timegrid-divider {
|
|
633
|
-
display: none;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
632
|
.fc-header-toolbar {
|
|
637
633
|
margin-bottom: 0;
|
|
638
634
|
}
|
|
@@ -645,7 +641,6 @@ export default create({
|
|
|
645
641
|
|
|
646
642
|
.fc-col-header-cell-cushion {
|
|
647
643
|
font-weight: normal;
|
|
648
|
-
color: @main-color;
|
|
649
644
|
& > span {
|
|
650
645
|
padding: 10px 0;
|
|
651
646
|
display: inline-block;
|
|
@@ -721,9 +716,9 @@ export default create({
|
|
|
721
716
|
}
|
|
722
717
|
}
|
|
723
718
|
.fc-day-today .week-header {
|
|
724
|
-
color: @
|
|
719
|
+
color: @primary-color;
|
|
725
720
|
.week-day {
|
|
726
|
-
color: @
|
|
721
|
+
color: @primary-color;
|
|
727
722
|
}
|
|
728
723
|
}
|
|
729
724
|
|
|
@@ -760,7 +755,7 @@ export default create({
|
|
|
760
755
|
background-color: #f2f7ff;
|
|
761
756
|
.fc-daygrid-day-number {
|
|
762
757
|
color: #fff;
|
|
763
|
-
background-color:
|
|
758
|
+
background-color: #2d7aff;
|
|
764
759
|
border-radius: 50%;
|
|
765
760
|
}
|
|
766
761
|
}
|
|
@@ -113,8 +113,6 @@ export default {
|
|
|
113
113
|
};
|
|
114
114
|
</script>
|
|
115
115
|
<style lang="less" scoped>
|
|
116
|
-
@main-color: #2563f4;
|
|
117
|
-
|
|
118
116
|
.list-tag {
|
|
119
117
|
width: 100%;
|
|
120
118
|
height: 100%;
|
|
@@ -138,19 +136,19 @@ export default {
|
|
|
138
136
|
}
|
|
139
137
|
&.active {
|
|
140
138
|
.list-day {
|
|
141
|
-
color: @
|
|
139
|
+
color: @primary-color;
|
|
142
140
|
background: rgba(36, 116, 255, 0.1);
|
|
143
141
|
}
|
|
144
142
|
}
|
|
145
143
|
&.curday {
|
|
146
144
|
.list-day {
|
|
147
145
|
color: #fff;
|
|
148
|
-
background: @
|
|
146
|
+
background: @primary-color;
|
|
149
147
|
&:hover {
|
|
150
|
-
background: @
|
|
148
|
+
background: @primary-color;
|
|
151
149
|
}
|
|
152
150
|
}
|
|
153
|
-
color: @
|
|
151
|
+
color: @primary-color;
|
|
154
152
|
}
|
|
155
153
|
.list-day {
|
|
156
154
|
width: 36px;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import Vue from 'vue';
|
|
7
7
|
import 'xe-utils';
|
|
8
8
|
import VXETable from 'vxe-table';
|
|
9
|
-
import VXETablePluginAntd from 'vxe-table-plugin-antd'
|
|
9
|
+
import VXETablePluginAntd from 'vxe-table-plugin-antd'
|
|
10
10
|
import Grid from 'vxe-table/lib/grid';
|
|
11
|
-
import 'vxe-table/lib/style.css';
|
|
12
|
-
import 'vxe-table-plugin-antd/dist/style.css'
|
|
11
|
+
// import 'vxe-table/lib/style.css';
|
|
12
|
+
import 'vxe-table-plugin-antd/dist/style.css'
|
|
13
13
|
|
|
14
14
|
VXETable.use(VXETablePluginAntd);
|
|
15
15
|
import create from '@/core/create';
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
show-search
|
|
132
132
|
:mode="showMulti"
|
|
133
133
|
:disabled="isLock"
|
|
134
|
-
@search="
|
|
134
|
+
@search="debounceSearch"
|
|
135
135
|
@change="handleSelectChange"
|
|
136
136
|
:getPopupContainer="getPopupContainer"
|
|
137
137
|
:filterOption="filterOption"
|
|
@@ -171,11 +171,12 @@
|
|
|
171
171
|
* getSearchOptions 关键字检索的 function
|
|
172
172
|
* getCascadeOptions 获取级联数据的 furnction
|
|
173
173
|
*/
|
|
174
|
-
import { Select, Input, Radio, Checkbox, Cascader, Icon } from 'ant-design-vue';
|
|
174
|
+
import { Select, Input, Radio, Checkbox, Cascader, Icon, Spin } from 'ant-design-vue';
|
|
175
175
|
import { judgeTypes } from '../mixin/judgeTypes';
|
|
176
176
|
// import format from "@/components/table/mixins/format";
|
|
177
177
|
// import TextOverTooltip from "./text-over-tooltip/TextOverTooltip.vue";
|
|
178
178
|
import utils from '@/utils/utils-map';
|
|
179
|
+
import vexutils from '@/utils/vexutils';
|
|
179
180
|
import axios from 'axios';
|
|
180
181
|
import 'viewerjs/dist/viewer.css';
|
|
181
182
|
import { component as Viewer } from 'v-viewer';
|
|
@@ -211,6 +212,7 @@ export default {
|
|
|
211
212
|
[Radio.name]: Radio,
|
|
212
213
|
[Radio.Group.name]: Radio.Group,
|
|
213
214
|
[Select.name]: Select,
|
|
215
|
+
[Spin.name]: Spin,
|
|
214
216
|
[Select.Option.name]: Select.Option
|
|
215
217
|
},
|
|
216
218
|
computed: {
|
|
@@ -302,6 +304,9 @@ export default {
|
|
|
302
304
|
optionsPreSuffixObj: {}
|
|
303
305
|
};
|
|
304
306
|
},
|
|
307
|
+
created(){
|
|
308
|
+
this.debounceSearch = vexutils.debounce(this.handleSearch, 100);
|
|
309
|
+
},
|
|
305
310
|
methods: {
|
|
306
311
|
init(value) {
|
|
307
312
|
let options = value.options || [];
|
|
@@ -543,6 +548,7 @@ export default {
|
|
|
543
548
|
try {
|
|
544
549
|
// 动态数据源转静态数据
|
|
545
550
|
if (this.cloneItem?.type == 'SELECT' && this.isDynamic2Static) return
|
|
551
|
+
this.fetching = true;
|
|
546
552
|
this.curOptions = await this.getSearchOptions(
|
|
547
553
|
{
|
|
548
554
|
values: this.columnKey,
|
|
@@ -551,8 +557,10 @@ export default {
|
|
|
551
557
|
},
|
|
552
558
|
this.cloneItem
|
|
553
559
|
);
|
|
560
|
+
this.fetching = false;
|
|
554
561
|
console.log(this.curOptions, 'curOptions');
|
|
555
562
|
} catch (error) {
|
|
563
|
+
this.fetching = false;
|
|
556
564
|
console.log(error);
|
|
557
565
|
}
|
|
558
566
|
},
|