eoss-ui 0.5.83 → 0.5.85

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 (91) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +146 -66
  3. package/lib/button.js +118 -69
  4. package/lib/checkbox-group.js +64 -46
  5. package/lib/config/api.js +5 -1
  6. package/lib/data-table-form.js +64 -46
  7. package/lib/data-table.js +468 -295
  8. package/lib/date-picker.js +64 -46
  9. package/lib/dialog.js +71 -48
  10. package/lib/eoss-ui.common.js +9188 -15746
  11. package/lib/flow-group.js +64 -46
  12. package/lib/flow-list.js +65 -47
  13. package/lib/flow.js +113 -77
  14. package/lib/form.js +5708 -13486
  15. package/lib/handle-user.js +65 -47
  16. package/lib/handler.js +70 -48
  17. package/lib/icon.js +64 -46
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +64 -46
  20. package/lib/input.js +64 -46
  21. package/lib/login.js +86 -57
  22. package/lib/main.js +1435 -483
  23. package/lib/nav.js +64 -46
  24. package/lib/notify.js +51 -46
  25. package/lib/page.js +64 -46
  26. package/lib/pagination.js +64 -46
  27. package/lib/player.js +64 -46
  28. package/lib/qr-code.js +64 -46
  29. package/lib/radio-group.js +64 -46
  30. package/lib/retrial-auth.js +64 -46
  31. package/lib/select-ganged.js +64 -46
  32. package/lib/select.js +65 -47
  33. package/lib/selector-panel.js +64 -46
  34. package/lib/selector.js +64 -46
  35. package/lib/sizer.js +64 -46
  36. package/lib/steps.js +64 -46
  37. package/lib/switch.js +64 -46
  38. package/lib/table-form.js +64 -46
  39. package/lib/tabs.js +64 -46
  40. package/lib/theme-chalk/calendar.css +1 -1
  41. package/lib/theme-chalk/data-table.css +1 -1
  42. package/lib/theme-chalk/dialog.css +1 -1
  43. package/lib/theme-chalk/form.css +1 -1
  44. package/lib/theme-chalk/index.css +1 -1
  45. package/lib/theme-chalk/main.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/tips.js +64 -46
  48. package/lib/tree-group.js +64 -46
  49. package/lib/tree.js +64 -46
  50. package/lib/upload.js +78 -60
  51. package/lib/utils/util.js +18 -5
  52. package/lib/wujie.js +64 -46
  53. package/lib/wxlogin.js +64 -46
  54. package/package.json +2 -2
  55. package/packages/button/src/main.vue +88 -55
  56. package/packages/button-group/src/main.vue +56 -13
  57. package/packages/data-table/src/children.vue +3 -2
  58. package/packages/data-table/src/column.vue +6 -4
  59. package/packages/data-table/src/main.vue +150 -69
  60. package/packages/data-table/src/sizer.vue +51 -22
  61. package/packages/dialog/src/main.vue +5 -1
  62. package/packages/flow/src/main.vue +26 -17
  63. package/packages/form/src/main.vue +129 -2103
  64. package/packages/handler/src/main.vue +5 -0
  65. package/packages/login/src/main.vue +12 -1
  66. package/packages/login/src/resetPassword.vue +4 -2
  67. package/packages/main/src/default/index.vue +35 -54
  68. package/packages/main/src/default/userinfo.vue +2 -1
  69. package/packages/main/src/public/search.vue +444 -0
  70. package/packages/main/src/simplicity/apps.vue +20 -2
  71. package/packages/main/src/simplicity/handler.vue +0 -2
  72. package/packages/main/src/simplicity/index.vue +97 -32
  73. package/packages/main/src/simplicity/userinfo.vue +1 -0
  74. package/packages/select/src/main.vue +1 -1
  75. package/packages/theme-chalk/lib/calendar.css +1 -1
  76. package/packages/theme-chalk/lib/data-table.css +1 -1
  77. package/packages/theme-chalk/lib/dialog.css +1 -1
  78. package/packages/theme-chalk/lib/form.css +1 -1
  79. package/packages/theme-chalk/lib/index.css +1 -1
  80. package/packages/theme-chalk/lib/main.css +1 -1
  81. package/packages/theme-chalk/lib/simplicity.css +1 -1
  82. package/packages/theme-chalk/src/calendar.scss +3 -3
  83. package/packages/theme-chalk/src/data-table.scss +12 -0
  84. package/packages/theme-chalk/src/dialog.scss +15 -0
  85. package/packages/theme-chalk/src/form.scss +6 -0
  86. package/packages/theme-chalk/src/main.scss +2 -1
  87. package/packages/theme-chalk/src/simplicity.scss +172 -4
  88. package/packages/upload/src/main.vue +16 -12
  89. package/src/config/api.js +5 -1
  90. package/src/index.js +157 -157
  91. package/src/utils/util.js +18 -5
@@ -37,6 +37,7 @@
37
37
  color: #ffffff;
38
38
  text-align: center;
39
39
  line-height: 16px;
40
+ padding-top: 5px;
40
41
  margin-bottom: 32px;
41
42
  }
42
43
  .es-simplicity-user-popover {
@@ -325,16 +326,19 @@
325
326
  border-radius: 9px;
326
327
  }
327
328
  .es-simplicity_apps-text {
328
- margin-left: 16px;
329
- text-overflow: ellipsis;
330
- white-space: nowrap;
331
- overflow: hidden;
329
+ margin-left: 12px;
330
+ text-align: left;
332
331
  }
333
332
  }
334
333
  .es-simplicity_apps-list-content {
335
334
  display: flex;
336
335
  align-items: center;
337
336
  padding: 16px;
337
+ .es-simplicity_apps-texts {
338
+ min-height: 36px;
339
+ display: flex;
340
+ align-items: center;
341
+ }
338
342
  .es-simplicity_apps-hover {
339
343
  flex-direction: row;
340
344
  }
@@ -873,3 +877,167 @@
873
877
  opacity: 0;
874
878
  z-index: -999;
875
879
  }
880
+
881
+ .es-public-search-box {
882
+ padding-top: 53px;
883
+ height: 100%;
884
+ .es-public-search-input {
885
+ width: 90%;
886
+ display: block;
887
+ margin: 0 auto 20px auto;
888
+ }
889
+ .es-public-search-tabs {
890
+ height: calc(100% - 60px);
891
+ .el-tabs__header {
892
+ height: 40px;
893
+ margin: 0;
894
+ }
895
+ .el-tabs__nav-wrap {
896
+ padding: 0 24px;
897
+ }
898
+ .el-tabs__content {
899
+ height: calc(100% - 40px);
900
+ padding: 10px 0;
901
+ }
902
+ .el-tab-pane {
903
+ height: 100%;
904
+ overflow: hidden;
905
+ }
906
+ }
907
+ .es-public-search-content {
908
+ padding: 10px 20px;
909
+ position: relative;
910
+ &::after {
911
+ content: '';
912
+ display: block;
913
+ }
914
+ }
915
+ .es-public-search-title {
916
+ font-size: 16px;
917
+ line-height: 22px;
918
+ font-weight: 800;
919
+ color: #262626;
920
+ margin-bottom: 23px;
921
+ }
922
+ .es-public-search-list-item {
923
+ padding: 16px 8px 16px 60px;
924
+ position: relative;
925
+ cursor: pointer;
926
+ &:hover {
927
+ background: rgba(37, 145, 247, 0.08);
928
+ border-radius: 9px 9px 9px 9px;
929
+ }
930
+ }
931
+ .es-public-search-item-icon {
932
+ width: 40px;
933
+ height: 40px;
934
+ font-size: 14px;
935
+ position: absolute;
936
+ left: 8px;
937
+ top: 50%;
938
+ margin-top: -20px;
939
+ border-radius: 6px;
940
+ color: #fff;
941
+ text-align: center;
942
+ line-height: 40px;
943
+ &.es-public-search-item-icons {
944
+ font-size: 18px;
945
+ }
946
+ &.es-icon-ppt,
947
+ &.es-icon-pdf {
948
+ font-size: 40px;
949
+ color: #ff7878;
950
+ }
951
+ &.es-icon-picture,
952
+ &.es-icon-video,
953
+ &.es-icon-audioo {
954
+ font-size: 36px;
955
+ color: #909399;
956
+ margin-top: -18px;
957
+ }
958
+ &.es-icon-excel {
959
+ font-size: 40px;
960
+ color: #199051;
961
+ }
962
+ &.es-icon-word {
963
+ font-size: 40px;
964
+ color: #1d60f5;
965
+ }
966
+ &.es-icon-zip {
967
+ font-size: 36px;
968
+ color: #5dc7f7;
969
+ margin-top: -18px;
970
+ }
971
+ &.es-icon-txt {
972
+ font-size: 40px;
973
+ color: #909399;
974
+ }
975
+ &.es-icon-ios {
976
+ font-size: 36px;
977
+ margin-top: -18px;
978
+ }
979
+ &.es-icon-android {
980
+ font-size: 36px;
981
+ margin-top: -18px;
982
+ color: #81bd24;
983
+ }
984
+ &.es-public-search-item-icon-text {
985
+ background-color: #2778e5;
986
+ }
987
+ }
988
+ .es-public-search-item-name {
989
+ font-size: 14px;
990
+ font-weight: 500;
991
+ color: #262626;
992
+ line-height: 22px;
993
+ }
994
+ .es-public-search-item-texts {
995
+ font-size: 12px;
996
+ font-weight: 400;
997
+ color: #8c8c8c;
998
+ line-height: 20px;
999
+ overflow: hidden;
1000
+ white-space: nowrap;
1001
+ text-overflow: ellipsis;
1002
+ .es-public-search-item-text + .es-public-search-item-text {
1003
+ margin-left: 20px;
1004
+ }
1005
+ }
1006
+ .es-public-search-more {
1007
+ text-align: center;
1008
+ color: #8c8c8c;
1009
+ font-weight: 500;
1010
+ font-size: 14px;
1011
+ margin-top: 20px;
1012
+ padding-bottom: 12px;
1013
+ border-bottom: 1px solid #dce3e7;
1014
+ .es-public-search-more-text {
1015
+ cursor: pointer;
1016
+ }
1017
+ }
1018
+ .es-public-search-more-quote {
1019
+ color: #2778e5;
1020
+ padding: 0 4px;
1021
+ }
1022
+ .es-public-search-info {
1023
+ padding: 16px 20px;
1024
+ font-size: 14px;
1025
+ font-weight: 500;
1026
+ color: #262626;
1027
+ }
1028
+ .es-public-search-lists {
1029
+ padding: 0 20px;
1030
+ .es-public-search-list-item {
1031
+ border-bottom: 1px solid #f0f0f0;
1032
+ }
1033
+ }
1034
+ .es-public-search-no-more {
1035
+ text-align: center;
1036
+ padding: 20px;
1037
+ }
1038
+ .es-public-search-scrollbar {
1039
+ .el-scrollbar__view {
1040
+ min-height: 100%;
1041
+ }
1042
+ }
1043
+ }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-upload
3
- v-if="isRender && url"
3
+ v-if="isRender && uploadUrl"
4
4
  ref="upload"
5
5
  v-bind="$attrs"
6
6
  class="es-upload"
@@ -8,7 +8,7 @@
8
8
  :wait="1000"
9
9
  :height="boxHeight"
10
10
  :multiple="portrait ? false : multiple"
11
- :action="url"
11
+ :action="uploadUrl"
12
12
  :show-file-list="showList"
13
13
  :file-list="lists"
14
14
  :result-file="resultFile"
@@ -418,7 +418,7 @@ export default {
418
418
  },
419
419
  data() {
420
420
  return {
421
- url: this.action,
421
+ uploadUrl: '',
422
422
  lists: [],
423
423
  image: '',
424
424
  fileAccept: '',
@@ -711,10 +711,12 @@ export default {
711
711
  this.fileTotalSize = config.totalSize;
712
712
  this.dochubConfig = config.dochubConfig || {};
713
713
 
714
- let url = this.portrait
715
- ? this.dochubConfig.reuploadDocument || uploadOnlyOne
716
- : this.dochubConfig.uploadDocument || uploads;
717
- this.url = url.indexOf(this.host) > -1 ? url : this.host + url;
714
+ let url = this.action
715
+ ? this.action
716
+ : this.portrait
717
+ ? this.dochubConfig.reuploadDocumentUrl || uploadOnlyOne
718
+ : this.dochubConfig.uploadDocumentUrl || uploads;
719
+ this.uploadUrl = url.indexOf(this.host) > -1 ? url : this.host + url;
718
720
  } else {
719
721
  util
720
722
  .ajax({
@@ -737,10 +739,12 @@ export default {
737
739
  .join(',');
738
740
  }
739
741
  this.dochubConfig = res.results.dochubConfig || {};
740
- let url = this.portrait
741
- ? this.dochubConfig.reuploadDocument || uploadOnlyOne
742
- : this.dochubConfig.uploadDocument || uploads;
743
- this.url =
742
+ let url = this.action
743
+ ? this.action
744
+ : this.portrait
745
+ ? this.dochubConfig.reuploadDocumentUrl || uploadOnlyOne
746
+ : this.dochubConfig.uploadDocumentUrl || uploads;
747
+ this.uploadUrl =
744
748
  url.indexOf(this.host) > -1 ? url : this.host + url;
745
749
  if (res.results.kkViewRootPath) {
746
750
  this.kkfileview = res.results.kkViewRootPath;
@@ -1130,7 +1134,7 @@ export default {
1130
1134
  let url =
1131
1135
  typeof this.downloads === 'string'
1132
1136
  ? this.downloads
1133
- : this.dochubConfig.compressDownloadDocument || uploadDownloads;
1137
+ : this.dochubConfig.compressDownloadDocumentUrl || uploadDownloads;
1134
1138
  util.win.open(
1135
1139
  this.host +
1136
1140
  url +
package/src/config/api.js CHANGED
@@ -45,6 +45,9 @@ export const updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更
45
45
  export const sysMsgPage = '/main2/notify/sysMsgPage'; // 获取系统消息
46
46
  export const ignoreSysMsg = '/main2/notify/ignoreSysMsg'; // 忽略系统消息
47
47
  export const ignoreAllSysMsg = '/main2/notify/ignoreAllSysMsg'; // 忽略全部系统消息
48
+ // 框架 - 搜索
49
+ export const searchType = '/oceansearch/v2/search/catalog'; // 搜索分类类型
50
+
48
51
  // 附件相关
49
52
  export const getAdjunctProperties =
50
53
  '/main2/mecpfileManagement/getAdjunctProperties'; // 获取附件扩展类型大小
@@ -229,4 +232,5 @@ export const sendDelete = '/notify2/notifySendRecord/deleteById';
229
232
  export const sendBatch = '/notify2/sendRecord/reSendNotifyMessageBatch';
230
233
 
231
234
  // 表单结构
232
- export const formContents = '/config/admin/online/onlineForm/render';
235
+
236
+ export const formContents = '/lowcode/admin/online/onlineForm/getOnlineFormFromCache';
package/src/index.js CHANGED
@@ -1,112 +1,112 @@
1
1
  /* Automatically generated by './build/bin/build-entry.js' */
2
2
 
3
- import Button from '../packages/button/index.js';
4
- import ButtonGroup from '../packages/button-group/index.js';
5
- import Calendar from '../packages/calendar/index.js';
6
- import Card from '../packages/card/index.js';
7
- import Cascader from '../packages/cascader/index.js';
8
- import CheckboxGroup from '../packages/checkbox-group/index.js';
9
- import Clients from '../packages/clients/index.js';
10
- import DataTable from '../packages/data-table/index.js';
11
- import DataTableForm from '../packages/data-table-form/index.js';
12
- import DatePicker from '../packages/date-picker/index.js';
13
- import Dialog from '../packages/dialog/index.js';
14
- import Enterprise from '../packages/enterprise/index.js';
15
- import ErrorPage from '../packages/error-page/index.js';
16
- import Form from '../packages/form/index.js';
17
- import Flow from '../packages/flow/index.js';
18
- import FlowGroup from '../packages/flow-group/index.js';
19
- import FlowList from '../packages/flow-list/index.js';
20
- import HandleUser from '../packages/handle-user/index.js';
21
- import Handler from '../packages/handler/index.js';
22
- import Icon from '../packages/icon/index.js';
23
- import Icons from '../packages/icons/index.js';
24
- import Input from '../packages/input/index.js';
25
- import InputNumber from '../packages/input-number/index.js';
26
- import Label from '../packages/label/index.js';
27
- import Layout from '../packages/layout/index.js';
28
- import Login from '../packages/login/index.js';
29
- import Main from '../packages/main/index.js';
30
- import Menu from '../packages/menu/index.js';
31
- import Nav from '../packages/nav/index.js';
32
- import Notify from '../packages/notify/index.js';
33
- import Pagination from '../packages/pagination/index.js';
34
- import Page from '../packages/page/index.js';
35
- import Player from '../packages/player/index.js';
36
- import QrCode from '../packages/qr-code/index.js';
37
- import RadioGroup from '../packages/radio-group/index.js';
38
- import RetrialAuth from '../packages/retrial-auth/index.js';
39
- import Select from '../packages/select/index.js';
40
- import SelectGanged from '../packages/select-ganged/index.js';
41
- import Selector from '../packages/selector/index.js';
42
- import SelectorPanel from '../packages/selector-panel/index.js';
43
- import Sizer from '../packages/sizer/index.js';
44
- import Steps from '../packages/steps/index.js';
45
- import Switch from '../packages/switch/index.js';
46
- import Tabs from '../packages/tabs/index.js';
47
- import TabsPanel from '../packages/tabs-panel/index.js';
48
- import Tips from '../packages/tips/index.js';
49
- import Tree from '../packages/tree/index.js';
50
- import TreeGroup from '../packages/tree-group/index.js';
51
- import Toolbar from '../packages/toolbar/index.js';
52
- import TableForm from '../packages/table-form/index.js';
53
- import Upload from '../packages/upload/index.js';
54
- import Wujie from '../packages/wujie/index.js';
3
+ import Button from '../packages/button/index.js';
4
+ import ButtonGroup from '../packages/button-group/index.js';
5
+ import Calendar from '../packages/calendar/index.js';
6
+ import Card from '../packages/card/index.js';
7
+ import Cascader from '../packages/cascader/index.js';
8
+ import CheckboxGroup from '../packages/checkbox-group/index.js';
9
+ import Clients from '../packages/clients/index.js';
10
+ import DataTable from '../packages/data-table/index.js';
11
+ import DataTableForm from '../packages/data-table-form/index.js';
12
+ import DatePicker from '../packages/date-picker/index.js';
13
+ import Dialog from '../packages/dialog/index.js';
14
+ import Enterprise from '../packages/enterprise/index.js';
15
+ import ErrorPage from '../packages/error-page/index.js';
16
+ import Form from '../packages/form/index.js';
17
+ import Flow from '../packages/flow/index.js';
18
+ import FlowGroup from '../packages/flow-group/index.js';
19
+ import FlowList from '../packages/flow-list/index.js';
20
+ import HandleUser from '../packages/handle-user/index.js';
21
+ import Handler from '../packages/handler/index.js';
22
+ import Icon from '../packages/icon/index.js';
23
+ import Icons from '../packages/icons/index.js';
24
+ import Input from '../packages/input/index.js';
25
+ import InputNumber from '../packages/input-number/index.js';
26
+ import Label from '../packages/label/index.js';
27
+ import Layout from '../packages/layout/index.js';
28
+ import Login from '../packages/login/index.js';
29
+ import Main from '../packages/main/index.js';
30
+ import Menu from '../packages/menu/index.js';
31
+ import Nav from '../packages/nav/index.js';
32
+ import Notify from '../packages/notify/index.js';
33
+ import Pagination from '../packages/pagination/index.js';
34
+ import Page from '../packages/page/index.js';
35
+ import Player from '../packages/player/index.js';
36
+ import QrCode from '../packages/qr-code/index.js';
37
+ import RadioGroup from '../packages/radio-group/index.js';
38
+ import RetrialAuth from '../packages/retrial-auth/index.js';
39
+ import Select from '../packages/select/index.js';
40
+ import SelectGanged from '../packages/select-ganged/index.js';
41
+ import Selector from '../packages/selector/index.js';
42
+ import SelectorPanel from '../packages/selector-panel/index.js';
43
+ import Sizer from '../packages/sizer/index.js';
44
+ import Steps from '../packages/steps/index.js';
45
+ import Switch from '../packages/switch/index.js';
46
+ import Tabs from '../packages/tabs/index.js';
47
+ import TabsPanel from '../packages/tabs-panel/index.js';
48
+ import Tips from '../packages/tips/index.js';
49
+ import Tree from '../packages/tree/index.js';
50
+ import TreeGroup from '../packages/tree-group/index.js';
51
+ import Toolbar from '../packages/toolbar/index.js';
52
+ import TableForm from '../packages/table-form/index.js';
53
+ import Upload from '../packages/upload/index.js';
54
+ import Wujie from '../packages/wujie/index.js';
55
55
  import Wxlogin from '../packages/wxlogin/index.js';
56
56
 
57
57
  const components = [
58
- Button,
59
- ButtonGroup,
60
- Calendar,
61
- Card,
62
- Cascader,
63
- CheckboxGroup,
64
- Clients,
65
- DataTable,
66
- DataTableForm,
67
- DatePicker,
68
- Dialog,
69
- Enterprise,
70
- ErrorPage,
71
- Form,
72
- Flow,
73
- FlowGroup,
74
- FlowList,
75
- HandleUser,
76
- Handler,
77
- Icon,
78
- Icons,
79
- Input,
80
- InputNumber,
81
- Label,
82
- Layout,
83
- Login,
84
- Main,
85
- Menu,
86
- Nav,
87
- Notify,
88
- Pagination,
89
- Page,
90
- Player,
91
- QrCode,
92
- RadioGroup,
93
- RetrialAuth,
94
- Select,
95
- SelectGanged,
96
- Selector,
97
- SelectorPanel,
98
- Sizer,
99
- Steps,
100
- Switch,
101
- Tabs,
102
- TabsPanel,
103
- Tips,
104
- Tree,
105
- TreeGroup,
106
- Toolbar,
107
- TableForm,
108
- Upload,
109
- Wujie,
58
+ Button,
59
+ ButtonGroup,
60
+ Calendar,
61
+ Card,
62
+ Cascader,
63
+ CheckboxGroup,
64
+ Clients,
65
+ DataTable,
66
+ DataTableForm,
67
+ DatePicker,
68
+ Dialog,
69
+ Enterprise,
70
+ ErrorPage,
71
+ Form,
72
+ Flow,
73
+ FlowGroup,
74
+ FlowList,
75
+ HandleUser,
76
+ Handler,
77
+ Icon,
78
+ Icons,
79
+ Input,
80
+ InputNumber,
81
+ Label,
82
+ Layout,
83
+ Login,
84
+ Main,
85
+ Menu,
86
+ Nav,
87
+ Notify,
88
+ Pagination,
89
+ Page,
90
+ Player,
91
+ QrCode,
92
+ RadioGroup,
93
+ RetrialAuth,
94
+ Select,
95
+ SelectGanged,
96
+ Selector,
97
+ SelectorPanel,
98
+ Sizer,
99
+ Steps,
100
+ Switch,
101
+ Tabs,
102
+ TabsPanel,
103
+ Tips,
104
+ Tree,
105
+ TreeGroup,
106
+ Toolbar,
107
+ TableForm,
108
+ Upload,
109
+ Wujie,
110
110
  Wxlogin
111
111
  ];
112
112
 
@@ -121,59 +121,59 @@ if (typeof window !== 'undefined' && window.Vue) {
121
121
  }
122
122
 
123
123
  export default {
124
- version: '0.5.83',
124
+ version: '0.5.85',
125
125
  install,
126
- Button,
127
- ButtonGroup,
128
- Calendar,
129
- Card,
130
- Cascader,
131
- CheckboxGroup,
132
- Clients,
133
- DataTable,
134
- DataTableForm,
135
- DatePicker,
136
- Dialog,
137
- Enterprise,
138
- ErrorPage,
139
- Form,
140
- Flow,
141
- FlowGroup,
142
- FlowList,
143
- HandleUser,
144
- Handler,
145
- Icon,
146
- Icons,
147
- Input,
148
- InputNumber,
149
- Label,
150
- Layout,
151
- Login,
152
- Main,
153
- Menu,
154
- Nav,
155
- Notify,
156
- Pagination,
157
- Page,
158
- Player,
159
- QrCode,
160
- RadioGroup,
161
- RetrialAuth,
162
- Select,
163
- SelectGanged,
164
- Selector,
165
- SelectorPanel,
166
- Sizer,
167
- Steps,
168
- Switch,
169
- Tabs,
170
- TabsPanel,
171
- Tips,
172
- Tree,
173
- TreeGroup,
174
- Toolbar,
175
- TableForm,
176
- Upload,
177
- Wujie,
126
+ Button,
127
+ ButtonGroup,
128
+ Calendar,
129
+ Card,
130
+ Cascader,
131
+ CheckboxGroup,
132
+ Clients,
133
+ DataTable,
134
+ DataTableForm,
135
+ DatePicker,
136
+ Dialog,
137
+ Enterprise,
138
+ ErrorPage,
139
+ Form,
140
+ Flow,
141
+ FlowGroup,
142
+ FlowList,
143
+ HandleUser,
144
+ Handler,
145
+ Icon,
146
+ Icons,
147
+ Input,
148
+ InputNumber,
149
+ Label,
150
+ Layout,
151
+ Login,
152
+ Main,
153
+ Menu,
154
+ Nav,
155
+ Notify,
156
+ Pagination,
157
+ Page,
158
+ Player,
159
+ QrCode,
160
+ RadioGroup,
161
+ RetrialAuth,
162
+ Select,
163
+ SelectGanged,
164
+ Selector,
165
+ SelectorPanel,
166
+ Sizer,
167
+ Steps,
168
+ Switch,
169
+ Tabs,
170
+ TabsPanel,
171
+ Tips,
172
+ Tree,
173
+ TreeGroup,
174
+ Toolbar,
175
+ TableForm,
176
+ Upload,
177
+ Wujie,
178
178
  Wxlogin
179
179
  };
package/src/utils/util.js CHANGED
@@ -1963,11 +1963,24 @@ const identical = function ({
1963
1963
  const indexOfObj = function (arry, target, key) {
1964
1964
  for (let i = 0; i < arry.length; i++) {
1965
1965
  if (key) {
1966
- if (typeof target === 'string' && arry[i][key] === target) {
1967
- return i;
1968
- }
1969
- if (target[key] === arry[i][key]) {
1970
- return i;
1966
+ if (key.indexOf(',') > -1) {
1967
+ let keys = key.split(',');
1968
+ for (let n = 0; n < keys.length; n++) {
1969
+ let k = keys[n];
1970
+ if (typeof target === 'string' && arry[i][k] === target) {
1971
+ return i;
1972
+ }
1973
+ if (target[k] === arry[i][k]) {
1974
+ return i;
1975
+ }
1976
+ }
1977
+ } else {
1978
+ if (typeof target === 'string' && arry[i][key] === target) {
1979
+ return i;
1980
+ }
1981
+ if (target[key] === arry[i][key]) {
1982
+ return i;
1983
+ }
1971
1984
  }
1972
1985
  } else {
1973
1986
  if (JSON.stringify(target) === JSON.stringify(arry[i])) {