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.
Files changed (115) hide show
  1. package/CHANGELOG.md +5 -30
  2. package/es/affix/index.js +8 -8
  3. package/es/age/index.js +10 -10
  4. package/es/alert/index.js +8 -8
  5. package/es/anchor/index.js +8 -8
  6. package/es/auto-complete/index.js +8 -8
  7. package/es/avatar/index.js +8 -8
  8. package/es/back-top/index.js +8 -8
  9. package/es/badge/index.js +8 -8
  10. package/es/base/index.js +8 -8
  11. package/es/big-table/index.js +339 -1630
  12. package/es/big-table/style.css +1 -1
  13. package/es/breadcrumb/index.js +8 -8
  14. package/es/button/index.js +22 -22
  15. package/es/calendar/index.js +8 -8
  16. package/es/captcha/index.js +3 -3
  17. package/es/card/index.js +8 -8
  18. package/es/card-reader-sdk/index.js +1 -1
  19. package/es/carousel/index.js +8 -8
  20. package/es/cascader/index.js +8 -8
  21. package/es/checkbox/index.js +9 -9
  22. package/es/col/index.js +8 -8
  23. package/es/collapse/index.js +8 -8
  24. package/es/color-picker/index.js +1 -1
  25. package/es/comment/index.js +8 -8
  26. package/es/config-provider/index.js +8 -8
  27. package/es/date-picker/index.js +8 -8
  28. package/es/descriptions/index.js +8 -8
  29. package/es/direct/index.js +16 -16
  30. package/es/divider/index.js +8 -8
  31. package/es/drag-layout/index.js +3 -3
  32. package/es/drawer/index.js +8 -8
  33. package/es/dropdown/index.js +8 -8
  34. package/es/editor/index.js +1 -1
  35. package/es/ellipsis/index.js +1 -1
  36. package/es/empty/index.js +8 -8
  37. package/es/fabric-chart/index.js +99 -224
  38. package/es/form/index.js +8 -8
  39. package/es/form-model/index.js +8 -8
  40. package/es/form-table/index.js +696 -697
  41. package/es/full-calendar/index.js +52 -52
  42. package/es/full-calendar/style.css +1 -1
  43. package/es/grid/index.js +2 -12
  44. package/es/index/index.js +1104 -1472
  45. package/es/index/style.css +1 -1
  46. package/es/input/index.js +9 -9
  47. package/es/input-number/index.js +8 -8
  48. package/es/layout/index.js +8 -8
  49. package/es/list/index.js +8 -8
  50. package/es/locale-provider/index.js +8 -8
  51. package/es/map/index.js +9 -9
  52. package/es/mentions/index.js +8 -8
  53. package/es/menu/index.js +8 -8
  54. package/es/message/index.js +8 -8
  55. package/es/multi-chat/index.js +76 -76
  56. package/es/multi-chat-client/index.js +70 -70
  57. package/es/multi-chat-history/index.js +4 -4
  58. package/es/multi-chat-record/index.js +14 -14
  59. package/es/multi-chat-setting/index.js +22 -22
  60. package/es/multi-chat-sip/index.js +1 -1
  61. package/es/notification/index.js +8 -8
  62. package/es/page-header/index.js +8 -8
  63. package/es/pagination/index.js +8 -8
  64. package/es/popconfirm/index.js +8 -8
  65. package/es/popover/index.js +8 -8
  66. package/es/progress/index.js +8 -8
  67. package/es/radio/index.js +9 -9
  68. package/es/rate/index.js +8 -8
  69. package/es/result/index.js +8 -8
  70. package/es/row/index.js +8 -8
  71. package/es/scale-container/index.js +367 -368
  72. package/es/scale-view/index.js +74 -65
  73. package/es/scale-view/style.css +1 -1
  74. package/es/select/index.js +12 -12
  75. package/es/select-label/index.js +11 -11
  76. package/es/select-person/index.js +2 -2
  77. package/es/select-tag/index.js +4 -4
  78. package/es/shortcut-setter/index.js +10 -10
  79. package/es/skeleton/index.js +8 -8
  80. package/es/slider/index.js +8 -8
  81. package/es/slider-tree/index.js +9 -9
  82. package/es/space/index.js +8 -8
  83. package/es/spin/index.js +8 -8
  84. package/es/statistic/index.js +8 -8
  85. package/es/steps/index.js +8 -8
  86. package/es/switch/index.js +8 -8
  87. package/es/table-filter/index.js +65 -65
  88. package/es/tabs/index.js +8 -8
  89. package/es/tag/index.js +9 -9
  90. package/es/time-picker/index.js +8 -8
  91. package/es/timeline/index.js +8 -8
  92. package/es/tooltip/index.js +8 -8
  93. package/es/transfer/index.js +8 -8
  94. package/es/tree/index.js +8 -8
  95. package/es/tree-select/index.js +8 -8
  96. package/es/upload/index.js +8 -8
  97. package/es/verification-code/index.js +2 -2
  98. package/lib/cui.common.js +1008 -1488
  99. package/lib/cui.umd.js +1008 -1488
  100. package/lib/cui.umd.min.js +70 -70
  101. package/package.json +1 -1
  102. package/packages/big-table/index.js +0 -4
  103. package/packages/big-table/src/BigTable.vue +8 -6
  104. package/packages/big-table/src/components/edit-form/edit-component/edit-search/edit-search.vue +7 -81
  105. package/packages/big-table/src/components/edit-form/edit-component/edit-search-more/edit-search-more.vue +7 -63
  106. package/packages/big-table/src/components/edit-form/edit-component/mixins/search.js +0 -21
  107. package/packages/fabric-chart/src/fabric-chart/FabricLines.vue +1 -4
  108. package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +8 -12
  109. package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +28 -80
  110. package/packages/fabric-chart/src/mixins/drawExtracorporealCirculation.js +6 -2
  111. package/packages/fabric-chart/src/utils/index.js +1 -9
  112. package/packages/full-calendar/src/FullCalendar.vue +11 -16
  113. package/packages/full-calendar/src/components/ListTag.vue +4 -6
  114. package/packages/grid/src/grid.js +3 -3
  115. 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
- @main-color: #2563f4;
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: #fff;
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: @main-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: @main-color;
550
+ color: #2d7aff;
551
551
  }
552
552
  }
553
553
  &:active {
554
- color: @main-color;
554
+ color: #2d7aff;
555
555
  background: rgba(36, 116, 255, 0.2);
556
- border-color: @main-color;
556
+ border-color: #2d7aff;
557
557
  i {
558
- color: @main-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 @main-color;
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: @main-color;
719
+ color: @primary-color;
725
720
  .week-day {
726
- color: @main-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: @main-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: @main-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: @main-color;
146
+ background: @primary-color;
149
147
  &:hover {
150
- background: @main-color;
148
+ background: @primary-color;
151
149
  }
152
150
  }
153
- color: @main-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="handleSearch"
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
  },