@ccs-ui/rc-pro 2.4.7-beta.1 → 2.4.7-beta.3

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 (177) hide show
  1. package/docs-dist/404.html +2 -2
  2. package/docs-dist/guide/index.html +2 -2
  3. package/docs-dist/index.html +2 -2
  4. package/docs-dist/{meta__packages.cc6973b6.async.js → meta__packages.070fdc38.async.js} +1291 -159
  5. package/docs-dist/packages__rc-pro__src__pro-table__index.md.038f16c9.async.js +27 -0
  6. package/docs-dist/plugins/index.html +2 -2
  7. package/docs-dist/{preload_helper.33755354.js → preload_helper.37208c37.js} +1 -1
  8. package/docs-dist/pro-table__demos.a812caf5.async.js +1 -0
  9. package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +2 -2
  10. package/docs-dist/rc-pro/atom/_api/index.md/index.html +2 -2
  11. package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +2 -2
  12. package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +2 -2
  13. package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +2 -2
  14. package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +2 -2
  15. package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +2 -2
  16. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +2 -2
  17. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +2 -2
  18. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +2 -2
  19. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +2 -2
  20. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +2 -2
  21. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +2 -2
  22. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +2 -2
  23. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +2 -2
  24. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +2 -2
  25. package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +2 -2
  26. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  27. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  28. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  29. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  30. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  31. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  32. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  33. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  34. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  35. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  36. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  37. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  38. package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +2 -2
  39. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  40. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  41. package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +2 -2
  42. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  43. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  44. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  45. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  46. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  47. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  48. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  49. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  50. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  51. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  52. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  53. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  54. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
  55. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  56. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  57. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  58. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +2 -2
  59. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +2 -2
  60. package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +2 -2
  61. package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +2 -2
  62. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  63. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  64. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
  65. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  66. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  67. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  68. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  69. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  70. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  71. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  72. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  73. package/docs-dist/rc-pro/index.html +2 -2
  74. package/docs-dist/rc-pro/index.md/index.html +2 -2
  75. package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +2 -2
  76. package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
  77. package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +2 -2
  78. package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +2 -2
  79. package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +2 -2
  80. package/docs-dist/rc-pro/loading/_api/index.md/index.html +2 -2
  81. package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +2 -2
  82. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  83. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  84. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  85. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  86. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  87. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  88. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  89. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  90. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  91. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  92. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  93. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  94. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  95. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  96. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  97. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  98. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  99. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  100. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  101. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  102. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  103. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  104. package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
  105. package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +2 -2
  106. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
  107. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
  108. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
  109. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
  110. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  111. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  112. package/docs-dist/rc-pros/atom/index.html +2 -2
  113. package/docs-dist/rc-pros/auth/index.html +2 -2
  114. package/docs-dist/rc-pros/button/index.html +2 -2
  115. package/docs-dist/rc-pros/cascader/index.html +2 -2
  116. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  117. package/docs-dist/rc-pros/dialog/index.html +2 -2
  118. package/docs-dist/rc-pros/editor/index.html +2 -2
  119. package/docs-dist/rc-pros/form/index.html +2 -2
  120. package/docs-dist/rc-pros/index.html +2 -2
  121. package/docs-dist/rc-pros/layout-keep-alive/index.html +2 -2
  122. package/docs-dist/rc-pros/loading/index.html +2 -2
  123. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  124. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  125. package/docs-dist/rc-pros/result/index.html +2 -2
  126. package/docs-dist/rc-pros/select/index.html +2 -2
  127. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  128. package/docs-dist/rc-pros/upload/index.html +2 -2
  129. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  130. package/docs-dist/{umi.052a8ebd.js → umi.66a79141.js} +2 -2
  131. package/docs-dist/utils/index.html +2 -2
  132. package/docs-dist/~demos/:id/index.html +2 -2
  133. package/docs-dist/~demos/atom-demo-base/index.html +2 -2
  134. package/docs-dist/~demos/atom-demo-ellipsis/index.html +2 -2
  135. package/docs-dist/~demos/atom-demo-filter/index.html +2 -2
  136. package/docs-dist/~demos/atom-demo-operation/index.html +2 -2
  137. package/docs-dist/~demos/atom-demo-state/index.html +2 -2
  138. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  139. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  140. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  141. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  142. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  143. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  144. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  145. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  146. package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
  147. package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
  148. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  149. package/docs-dist/~demos/editor-demo-rich/index.html +2 -2
  150. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  151. package/docs-dist/~demos/loading-demo-basic/index.html +2 -2
  152. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  153. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  154. package/docs-dist/~demos/pro-table-demo-cascade/index.html +15 -0
  155. package/docs-dist/~demos/pro-table-demo-extra/index.html +15 -0
  156. package/docs-dist/~demos/pro-table-demo-filter/index.html +15 -0
  157. package/docs-dist/~demos/pro-table-demo-fixed/index.html +15 -0
  158. package/docs-dist/~demos/pro-table-demo-refresh/index.html +15 -0
  159. package/docs-dist/~demos/pro-table-demo-selection/index.html +15 -0
  160. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +15 -0
  161. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +15 -0
  162. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  163. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  164. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  165. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  166. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  167. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  168. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  169. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  170. package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
  171. package/docs-dist/~demos/upload-demo-image/index.html +2 -2
  172. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  173. package/es/pro-table/table.js +1 -2
  174. package/es/table/index.js +4 -3
  175. package/package.json +1 -1
  176. package/docs-dist/packages__rc-pro__src__pro-table__index.md.3ea59efb.async.js +0 -27
  177. package/docs-dist/pro-table__demos.900f956a.async.js +0 -1
@@ -427,8 +427,7 @@ var InternalProTable = function InternalProTable(props) {
427
427
 
428
428
  // table 操作按钮
429
429
  var renderTableOperation = table !== null && table !== void 0 && table.hideOperation ? /*#__PURE__*/_jsx(CcsAtom.Operation, {
430
- extraLeft: toolbar,
431
- extraRight: extraOper
430
+ extraLeft: toolbar
432
431
  }) : /*#__PURE__*/_jsx(CcsAtom.Operation, {
433
432
  extraLeft: toolbar,
434
433
  extraRight: extraOper,
package/es/table/index.js CHANGED
@@ -157,9 +157,8 @@ var CustomTable = function CustomTable(props) {
157
157
  return !t.hidden;
158
158
  });
159
159
  cls === null || cls === void 0 || cls.forEach(function (c) {
160
- if (c.ellipsis && !c.render) {
161
- // 保留ellipsis 为true,使用ant默认的属性
162
- if (typeof c.ellipsis === 'boolean') return;
160
+ // 保留ellipsis 为true,使用ant默认的属性
161
+ if (c.ellipsis && typeof c.ellipsis !== 'boolean' && !c.render) {
163
162
  var ellipsisProps = {};
164
163
  if (typeof c.ellipsis === 'number') {
165
164
  ellipsisProps = {
@@ -203,6 +202,8 @@ var CustomTable = function CustomTable(props) {
203
202
  var tableRowKey = function tableRowKey(_, index) {
204
203
  return index || 0;
205
204
  };
205
+
206
+ // 显示的列
206
207
  var showColumns = filterColumns();
207
208
  return /*#__PURE__*/_jsx("div", {
208
209
  className: "ccs-table-card",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.4.7-beta.1",
3
+ "version": "2.4.7-beta.3",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -1,27 +0,0 @@
1
- "use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[2041],{80159:function(t,a,e){e.r(a);var n=e(94916),u=e(92938),c=e(49117),p=e(60844),m=e(94202),i=e(82535),x=e(13475),h=e(10661),s=e(432),r=e(24881),l=e(75271),d=e(8674),_=e(52676);function o(){return(0,_.jsx)(s.dY,{children:(0,_.jsx)(l.Suspense,{fallback:(0,_.jsx)(r.Z,{}),children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h2",{id:"ccsprotable---\u4F01\u4E1A\u7EA7\u8868\u683C",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#ccsprotable---\u4F01\u4E1A\u7EA7\u8868\u683C",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"CcsProTable - \u4F01\u4E1A\u7EA7\u8868\u683C"]}),(0,_.jsx)("p",{children:d.texts[0].value}),(0,_.jsxs)("h3",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,_.jsx)("style",{dangerouslySetInnerHTML:{__html:`
2
- .dumi-default-previewer-demo {
3
- padding: 0 !important;
4
- border: none !important;
5
- border-radius: 0 !important;
6
- }
7
- `}})]}),(0,_.jsx)(s.Dl,{demo:{id:"pro-table-demo-basic"},previewerProps:{description:"<p>\u57FA\u7840\u67E5\u8BE2</p>",title:"\u57FA\u672C\u7528\u6CD5",filename:"packages/rc-pro/src/pro-table/demos/basic.tsx"}}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h3",{id:"\u63A5\u53E3\u5B57\u6BB5\u6307\u5B9A",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u63A5\u53E3\u5B57\u6BB5\u6307\u5B9A",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u63A5\u53E3\u5B57\u6BB5\u6307\u5B9A"]}),(0,_.jsx)("p",{children:(0,_.jsx)("code",{children:d.texts[1].value})}),(0,_.jsx)(i.Z,{lang:"jsx",children:d.texts[2].value}),(0,_.jsxs)("h3",{id:"api",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,_.jsxs)("ul",{children:[(0,_.jsx)("li",{children:(0,_.jsx)(s.rU,{to:"/rc-pro/pro-table/_api/interfaces/ProTableProps.md",children:d.texts[3].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(s.rU,{to:"/rc-pro/pro-table/_api/interfaces/TableInstance.md",children:d.texts[4].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(s.rU,{to:"/rc-pro/pro-table/_api/type-aliases/TableColumn.md",children:d.texts[5].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(s.rU,{to:"/rc-pro/pro-table/_api/index.md",children:d.texts[6].value})})]})]})]})})})}a.default=o},8674:function(t,a,e){e.r(a),e.d(a,{texts:function(){return n}});const n=[{value:"\u4F01\u4E1A\u7EA7 Table \u7EC4\u4EF6\uFF0C\u96C6\u67E5\u8BE2\uFF0C\u6570\u636E\u5C55\u793A\u4E00\u4F53\u3002",paraId:0,tocIndex:0},{value:"\u6307\u5B9Atable\u63A5\u53E3\u8BF7\u6C42\u5B57\u6BB5\u548C\u8FD4\u56DE\u5B57\u6BB5",paraId:1,tocIndex:3},{value:`<CcsAppConfig
8
- fieldNames={{
9
- proTable: {
10
- dataSource: ['data', 'result'],
11
- total: ['data', 'totalNum'],
12
- requestParam: {
13
- pageNo: ['pageNo'],
14
- pageSize: ['pageSize'],
15
- query: ['query'],
16
- orderProps: ['orderProps'],
17
- filters: ['filters'],
18
- },
19
- },
20
- proTableTree: {
21
- dataSource: ['data'],
22
- },
23
- }}
24
- >
25
- <Outlet />
26
- </CcsAppConfig>
27
- `,paraId:2,tocIndex:3},{value:"ProTableProps",paraId:3,tocIndex:4},{value:"table ref \u5B9E\u4F8B",paraId:4,tocIndex:4},{value:"table \u5217\u914D\u7F6E",paraId:5,tocIndex:4},{value:"\u66F4\u591A",paraId:6,tocIndex:4}]}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[1888],{75994:function(M,r,t){t.r(r),t.d(r,{default:function(){return x}});var u=t(17114),o=t(86247),s=t(668),c=t(76098),n=t(19152),i=t(6052),m=t(8639),_=t(92167),E=t(60561),h=t(96757),e=t(52676);function x(){var f=[{label:"\u7528\u6237",name:["workerName"],children:(0,e.jsx)(n.Z,{placeholder:"\u8BF7\u8F93\u5165",allowClear:!0})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,e.jsx)(n.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u72B6\u6001",name:"state",children:(0,e.jsx)(i.default,{style:{width:100},placeholder:"\u8BF7\u9009\u62E9",options:[{value:"1",label:"\u6709\u6548"},{value:"0",label:"\u65E0\u6548"}]})},{label:"\u7535\u8BDD",name:"mobile",children:(0,e.jsx)(m.Z,{style:{width:100},placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u89D2\u8272",name:"roleId",children:(0,e.jsx)(i.default,{options:[],style:{width:100}}),depends:["state","mobile"]},{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",children:(0,e.jsx)(_.default,{style:{width:160}})},{label:"\u533A\u95F4",children:(0,e.jsx)(o.default.RangePicker,{}),name:["createTimeStart","createTimeEnd"],isGroupName:!0}],I=(0,e.jsx)(s.default.Group,{showCount:3,items:[{key:"0",label:"\u65B0\u589E",auth:"sys:user:create",type:"primary",icon:(0,e.jsx)(u.Z,{})},{key:"1",label:"\u6279\u91CF\u5220\u9664",auth:"sys:user:multi:delete"},{key:"2",label:"\u5176\u4ED6\u64CD\u4F5C\u4E00",danger:!0}],onClick:function(l){console.log("dropdown click",l)}}),P=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:{rows:1,direction:"middle"},width:200},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0,sorter:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0,filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"}],filterMultiple:!1},{title:"\u72B6\u6001",dataIndex:"state",ellipsis:!0,render:function(l){return(0,e.jsx)(E.Z,{status:l==="0"?"error":"success",text:l==="0"?"\u5931\u6548":"\u6709\u6548"})}},{title:"\u767B\u5F55\u6B21\u6570",dataIndex:"num"},{title:"\u7535\u8BDD",dataIndex:"mobile",ellipsis:!0},{title:"\u90AE\u7BB1",dataIndex:"email",ellipsis:!0},{title:"\u6027\u522B",dataIndex:"sex",ellipsis:!0,render:function(l){return l===0?"\u5973":"\u7537"}},{title:"\u751F\u65E5",dataIndex:"birthday",width:100,render:function(l){return l&&l.substring(0,10)}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",width:160},{title:"\u64CD\u4F5C",fixed:"right",width:160,render:function(l,d){return(0,e.jsx)(s.default.Group,{isLink:!0,size:"small",showCount:2,items:[{key:"0",label:"\u7F16\u8F91",auth:"sys:user:update"},{key:"1",label:"\u5173\u8054\u89D2\u8272",auth:"sys:user:role:list",disabled:d.state===0},{key:"2",label:"\u6743\u9650\u67E5\u770B",auth:"sys:user:menu:tree",disabled:d.state===0}],onClick:function(C){console.log("111",C)}})}}];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(c.default,{formItems:f,formInitValues:{workerName:"Hong"},toolbar:I,table:{requestParam:{a:1},request:h.queryWorker,rowKey:"loginId",columns:P,scroll:{x:1300}}})})}}}]);