Commit Graph

273 Commits

Author SHA1 Message Date
无木 8819af083c types(action-item): set `label` optional 2021-07-02 15:45:22 +08:00
无木 73654b7862 fix(popconfirm-button): remove button excess `title`
移除PopconfirmButton组件多余的title;修改TableAction的tooltip默认位置
2021-07-02 12:17:07 +08:00
无木 5fab267a69 feat(table-action): support `tooltip` option
为tableAction组件中的操作按钮增加tooltip配置

close: #848
2021-07-02 11:55:13 +08:00
无木 b4a3f936cd fix(table): global configuration accidentally modified
修复table的全局配置可能被意外修改的问题
2021-06-30 18:40:33 +08:00
无木 6f845b53bd fix(table): selection-change not triggered on row click
修复selection-change事件在点击行来改变勾选时不会被触发的问题
2021-06-30 15:43:32 +08:00
SUPER_AI 749ba5c1da
feat(table): support asynchrony in beforeFetch and afterFetch (#827) 2021-06-29 23:53:10 +08:00
无木 df0f00085c fix(table): fix rowSelection.onChange not work
修复为table提供rowSelection.onChange时,无法手动变更table的选中项的问题

fixed: #825
2021-06-29 16:39:47 +08:00
无木 829b366cb2 fix(table): editComponentProps support onChange
修复editComponentProps不支持onChange的问题
2021-06-28 16:27:53 +08:00
无木 e78af6f228 fix(table): getDataSource not worked on empty data
修复getDataSource获取的数据源在表格为空时返回值错误的问题。

fixed: #752
2021-06-25 15:08:43 +08:00
无木 4ae39c53b4 fix(table): treeTable editable error
修复树表格的编辑问题

fixed: #811
2021-06-25 14:51:58 +08:00
无木 8d22231a5f fix(table): event editCancel loss params
修复table的editCancel事件缺少部分参数的问题
2021-06-23 00:27:11 +08:00
Vben e9064631c7 chore: update deps 2021-06-17 21:43:52 +08:00
JinMao 21c771b59c fix: fix if getDropdownList.length==0 show Dropdown component 2021-06-17 12:40:10 +08:00
Vben bd2039accb refactor: remove useExpose 2021-06-11 22:45:02 +08:00
无木 448a4c2809 feat(table): updateTableDataRecord support functional rowKey 2021-06-08 15:14:05 +08:00
无木 8e4f486fcf feat(table): add updateTableDataRecord method
添加updateTableDataRecord以便可以根据指定的rowKey来直接更新行数据而无需reload
2021-06-08 01:08:04 +08:00
Vben cda0f9c10a chore: add some notes 2021-06-07 21:30:27 +08:00
无木 125a7d1483 feat(table): support columns-change event
添加列改变事件(含排序、可见性、固定列)。该事件仅由表格设置组件中人为触发。
2021-06-07 12:37:21 +08:00
Vben d81481c521 fix(table): try to get close to the form stuck 2021-06-06 22:54:25 +08:00
无木 19d8e01e11 feat(table-img): support simple show mode and more props
改进TableImg组件,支持简单显示模式以及更多可配置的属性。
2021-06-06 16:27:19 +08:00
无木 4fd2051bc0 fix(table): settings indeterminate state effect
修复存在操作列的情况下,表格设置组件中的半选状态显示不正确的问题
2021-06-06 12:03:53 +08:00
无木 495b1da385 fix(table): wrong indeterminate state
修复table在包含默认不显示的列时,settings的[列展示]复选框的初始indeterminate状态不正确的问题
2021-06-05 16:22:26 +08:00
无木 fe2bcfc6f7 feat(table): support custom update on row editing
在表格进入行编辑状态时,在某一列数据发生修改时,允许获取或同步修改其它列的当前编辑数据。

close #646
2021-06-05 14:11:00 +08:00
无木 808012b544 feat(table-action): add stopButtonPropagation prop
为TableAction组件添加stopButtonPropagation来配置是否要阻止操作列的按钮的点击事件冒泡。

close #699
2021-06-05 12:58:07 +08:00
vben d73d43ed91 fix(table): make sure the table width is correct, fix #593 2021-06-01 23:21:04 +08:00
vben b1cb863502 fix(table-action): fix the split line style is missing,fix #674 2021-05-30 20:46:20 +08:00
无木 9f5085c9f9 fix(table): useTable support onChange
修复useTable无法直接通过设置onChange来注册change事件响应的问题
2021-05-30 18:10:16 +08:00
无木 9f4d1719ca fix(table): support change event
修复表格不支持change事件的问题。

fix #677
2021-05-30 17:52:16 +08:00
无木 8eaf575626 feat(table): editable component text align
使可编辑单元格显示的input中的文字对齐方式与列自身的align属性相匹配
2021-05-26 23:06:07 +08:00
Netfan 93006c7dc7
feat(table): add editable DatePicker & TimePicker (#654)
为表格的可编辑单元格添加日期选择框和时间选择框组件
2021-05-26 21:47:31 +08:00
zuihou 3ef5087be6 style: formatting code 2021-05-22 18:08:53 +08:00
M69W 0e440f0793
style: fix the background color of table striped is lose (#618)
Co-authored-by: ljh <ljh>
2021-05-18 23:03:48 +08:00
Netfan 43e4c21950
fix(table): columns ref fixed(#564) (#573) 2021-05-07 21:01:11 +08:00
Netfan 1ff13bf459
fix:searching with replaceFields fix #548,#557 (#569)
* fix: update selected before row-click event(#548)

* fix(tree): searching with replaceFields(#557)
2021-05-06 21:10:29 +08:00
Mikasa33 bf365e26e5
fix(style): add table title min-height (#547) 2021-04-28 20:42:46 +08:00
zuihou 5a3861b9cf feat(table): 表格的数据列和操作列的字段可以根据权限和业务来控制是否显示 2021-04-27 00:20:20 +08:00
zuihou 6afee415a3 feat(table): Table operation columns support permission codes 2021-04-26 16:18:53 +08:00
Vben 8b2e0f665f fix: fix the default value of props 2021-04-25 23:39:56 +08:00
Vben 16ecf71850 fix(table): submitButtonOptions not work,fix #531 2021-04-24 18:27:48 +08:00
Mikasa33 e2ddf43699
fix(style): fix layout header style, basic arrow style and table search form style (#525)
* style: cursor pointer

* style: light mode, hover background-color

* fix(style): fix form border-radius style
2021-04-23 22:04:27 +08:00
Vben e1bc33f5c5 perf: improve flowChart logic 2021-04-17 18:36:49 +08:00
Vben 2cdf2c28c4 style: background to background-color 2021-04-13 21:43:10 +08:00
Vben c9089c3243 chore: typo 2021-04-13 21:42:10 +08:00
Vben 3c441a05da style(eslint): fix eslint error 2021-04-12 23:02:48 +08:00
Vben 2037293aa3 refactor: refactor hooks 2021-04-10 21:41:22 +08:00
Vben 67a7a76b73 fix(table-action): ensure that the click event is not triggered, fix #441 2021-04-08 00:42:08 +08:00
Vben 64b6313b4e fix(table): ensure data responsiveness, fix #447 2021-04-08 00:06:30 +08:00
Vben 5b8eb4a49a feat: dark mode 2021-04-07 23:39:54 +08:00
qinjiahui01 f05cc6d34e
fix(useColumn): fixed table column changes with hidden columns disappearing after dropping (#453)
Co-authored-by: Alan <alan@ichestnuts.com>
2021-04-07 23:39:08 +08:00
Vben 3576d0b512 chore: format code 2021-04-05 22:23:39 +08:00
Vben b54b794264 fix(table): make sure the editing line is working, fix #439 2021-04-01 00:52:31 +08:00
Vben 2e11ea677b wip: add cropper iamge component 2021-03-29 22:48:13 +08:00
Vben 37f6660c57 perf: code optimization 2021-03-28 15:31:35 +08:00
Vben 979058ad95 perf: refoctor useTitle 2021-03-27 16:03:28 +08:00
Vben a98835e18b chore: types 2021-03-26 22:22:58 +08:00
Vben e090689ef5 chore: update deps 2021-03-26 21:16:08 +08:00
Vben 391da9ec28 feat(table): add expandAll/collapseAll function close #333 2021-03-21 21:51:50 +08:00
Vben c3096e26ff fix(table): fix table check column configuration failure close #391 2021-03-20 21:45:43 +08:00
Vben 1d7608ee40 fix(table): ensure that the height calculation is correct close #395 2021-03-20 17:06:16 +08:00
Vben b67cf22dfc feat(route): add hideChildrenInMenu option close #346 2021-03-18 21:13:15 +08:00
Vben fab7a6c58d fix(table): ensure that editable cell values are echoed correctly close #335 2021-03-11 22:04:17 +08:00
Vben e15737b9d1 fix(table): fix table row misalignment close #353 2021-03-11 22:04:17 +08:00
ztw2010 f818bb9a10
fix(useTableScroll): query paginationel every time to get the correct height (#355) 2021-03-11 22:01:53 +08:00
Vben ed422b7c56 fix(tree): tree can customize title close #344 2021-03-11 01:22:50 +08:00
Vben a759e44c6e fix(table): fix TableAction row height error close #350 2021-03-10 23:39:42 +08:00
Vben 6095cb54af fix(table): ensure that the height calculation is normal close #349 2021-03-10 23:34:43 +08:00
Vben 2c6aa8528d refactor: code optimization 2021-03-10 22:28:37 +08:00
ztw2010 0fe42a06c1
fix(table): fix table height calculation problem
Because the table data obtained by the interface may be later than the calctableheight method, the table cannot adapt to the height, and a scroll bar appears on the page (#348)
2021-03-10 22:24:37 +08:00
Vben 53867a8461 fix(table): ensure that the table height is correct when the data is empty 2021-03-09 23:23:40 +08:00
ztw2010 fcff2cb191
fix(page-wraper): fix PageWrapper the scroll bar on the right side of the content area when the user clicks on the tab page to reload the page (#341) 2021-03-09 22:01:17 +08:00
Vben b7ce74abd6 refactor: refactor the project to solve the hot update problem caused by circular dependencies close #301 2021-03-08 21:19:09 +08:00
Vben 551fe50a44 perf(table): the table fills the height according to the screen close #310 2021-03-07 01:42:57 +08:00
Vben 745fcfc014 fix(table): fix pagination error 2021-03-06 15:10:33 +08:00
Vben b93f20f0df perf(login): enter to log in 2021-03-05 00:48:57 +08:00
Vben 9a1ba74920 wip: system management sample page 2021-03-03 22:52:25 +08:00
Vben 3b8ca420c7 feat: add dept management page 2021-03-01 22:54:21 +08:00
Vben 37669d067c wip: add account management page 2021-03-01 00:56:25 +08:00
Vben 7c2f851692 fix(table): ensure the table setting button dividing line is hidden 2021-02-26 20:36:54 +08:00
Vben efb27aff0a style(table): remove unless style 2021-02-26 20:15:50 +08:00
Vben fcee7d4eb7 perf: move src/types to root 2021-02-26 20:09:24 +08:00
Vben 601368921f fix(table): get the selected rows of the table correctly 2021-02-24 23:31:39 +08:00
Vben 500900abe1 perf: hide table full screen button by default 2021-02-24 22:05:27 +08:00
vben 4f8e1c1b5f fix(table): fix known errors in editable tables close #267 2021-02-20 00:00:22 +08:00
vben 64533f6204 fix(table): fix the table in the editable row status and press Enter to confirm #258 2021-02-09 00:05:16 +08:00
vben a3a903bc86 feat(modal): exporse redoModalHeight 2021-02-08 00:17:15 +08:00
vben 9edc281322 chore: format code by eslint #222 2021-01-28 23:30:50 +08:00
葡萄架 1a85dff57d
Fix the return value when editing the cell(#219)
修正单元格编辑提交时的返回值 .这个地方应该返回真实值,而不是editValueMap处理后的值或Select插槽的option.label。
2021-01-27 21:00:29 +08:00
葡萄架 9ea257e1fb
fix(table): fix the initial data display of editable cells (#218)
修正可编辑单元格初始数据显示
2021-01-26 22:59:58 +08:00
vben c889fb174b fix(use-table): fix types 2021-01-22 22:40:29 +08:00
vben ea9355398f fix(table): cell content does not wrap #210 2021-01-21 23:00:08 +08:00
vben ff2b12b409 refactor(menu): added component. Solve the menu stuck problem 2021-01-17 22:36:06 +08:00
vben 056fc13116 fix(table): index column value error #187 2021-01-15 00:21:49 +08:00
vben 0aeec5e9d7 fix(mitt): logout and clear the mitt 2021-01-15 00:10:06 +08:00
vben cdf0a600e5 perf: perf table 2021-01-12 22:17:31 +08:00
vben efbde0d57e perf(i18n): merge common lang 2021-01-12 21:10:27 +08:00
vben c9600208c5 fix(table): table setting error #174 #165 2021-01-11 21:30:43 +08:00
vben 18ad1bcc6e fix: upload component not work #169 2021-01-11 21:15:34 +08:00
vben 1d3007f030 chore: update deps 2021-01-07 21:25:15 +08:00
vben de5bf757f2 fix(form): formAction slot not work 2021-01-07 21:16:30 +08:00
vben 0e7c57bd5e feat(tabs): added tab folding 2021-01-06 20:10:16 +08:00
vben 8d7d0835ad feat(table): add summaryData prop #163 2021-01-05 21:46:39 +08:00
vben 31ff0559fe feat(page-wrapper): added pageWrapper component 2021-01-05 21:45:05 +08:00
vben c031163f34 fix(table): fix edit-table not work 2021-01-04 23:39:24 +08:00
vben a2c89d2e84 fix(table): fix table setting error #162 2021-01-04 22:55:33 +08:00
vben a7a8b894c1 fix(transition): fix transition not work 2021-01-04 22:18:05 +08:00
vben da76f3c77b fix(layout): fix layout scale error 2021-01-04 21:32:06 +08:00
vben 7a07b703d1 fix(table): table memory overflow 2021-01-04 21:32:05 +08:00
vben 97180e83f5 feat(layout): added setting. Used to fix the left mixed mode menu 2021-01-03 10:42:19 +08:00
vben 5c27353467 fix(table): restore the property of the table 2021-01-02 22:34:32 +08:00
vben af55511bd6 fix(table): table columns setting error 2021-01-02 10:28:44 +08:00
vben aa596af608 fix(table): table columns setting will uncheck all render columns #154 2021-01-02 10:04:46 +08:00
vben a0681cca8f fix(demo): fix demo error 2020-12-31 22:45:08 +08:00
vben 9c2f3f30bb refactor(table): refactor table #150 #148 #146 #130 #76 2020-12-31 21:24:47 +08:00
vben e09e0a1253 fix(table): wrong tag label style #134 2020-12-31 00:34:20 +08:00
vben d9b58e46ae style(layout): update layout style #149 2020-12-31 00:20:41 +08:00
vben 116a1f7745 wip(table): perf table #136,146,134 2020-12-31 00:11:44 +08:00
vben 3549043f37 wip(table): perf table 2020-12-28 23:33:23 +08:00
vben a305e59124 fix(form): form validate error 2020-12-28 22:04:05 +08:00
vben 08df198710 fix(form): form-item style error 2020-12-28 01:47:24 +08:00
vben 4ff1c408dc wip(form): perf form 2020-12-25 01:09:44 +08:00
Pom 877311f9df
fix(table): Update useDataSource.ts (#131)
假如数据变少,导致总页数变少并小于当前选中页码,通过getPaginationRef获取到的页码是不正确的,需获取正确的页码再次执行
2020-12-17 17:18:18 +08:00
vben 9bb751475d perf: tsx use useExpose 2020-12-08 22:53:29 +08:00
vben bd6b203fa9 fix(upload): repair file upload and delete invalidation 2020-12-07 22:38:43 +08:00
Heresy 404db2fb49
fix(table): fix unsuccessful saving of row edit table (#117)
Co-authored-by: heresy <Heresy@chxian.com>
2020-12-07 22:37:33 +08:00
vben 59ad82442b fix(table): fix table setting error 2020-12-06 00:05:26 +08:00
vben c303ec1a23 refactor: refactor route 2020-12-03 21:49:32 +08:00
vben 962f90de44 feat: support vscode i18n-ally plugin 2020-12-01 23:51:39 +08:00
vben 54d1405646 fix: fix table column settings not displayed by setting 2020-11-28 19:15:28 +08:00
vben de499a1455 fix: fix the display problem of table icon 2020-11-28 17:25:35 +08:00
vben 81baf1d5c4 perf: perf modal and drawer 2020-11-27 23:41:45 +08:00
vben 73c8e0c158 perf: perf component 2020-11-26 21:19:39 +08:00
vben dc09de1e05 feat: multi-language component 2020-11-26 00:46:51 +08:00
vben 6e03e05032 perf: perf context menu 2020-11-25 21:06:00 +08:00
vben 0692b4798c refactor: refactor layout 2020-11-24 22:59:29 +08:00
vben ba068ba1df wip: refactor layout 2020-11-23 23:24:13 +08:00
vben b49950a390 fix: fix useTimeoutFn not work 2020-11-21 22:47:10 +08:00
vben 46e0875374 chore: add some notes 2020-11-18 22:41:59 +08:00
vben c8ef82b2c1 fix(form): fix baseColProps not work 2020-11-18 00:06:44 +08:00
vben 0b6110a8fc feat(form-page): add form page demo 2020-11-17 17:02:42 +08:00
vben 661db0c767 perf(upload): improve upload component 2020-11-15 13:22:34 +08:00
vben 261936b117 revert(table): revert form type annotation 2020-11-13 07:33:10 +08:00
vben 1d45617e4a refactor(form): enhanced form customization and dynamic capabilities 2020-11-13 00:42:52 +08:00
vben d9b1960030 refactor(hooks): introduce vueuse, delete duplicate hooks 2020-11-12 22:40:16 +08:00
vben ecfb702b09 fix: type error 2020-11-12 22:20:15 +08:00
jq 746d4a745d wip: add upload component 2020-11-12 00:06:12 +08:00
vben 5832ee6697 feat(form): support function type of form item 2020-11-10 22:30:52 +08:00
vben cdf2c59e5c fix(table): fix the problem that multi-level header configuration does not take effect 2020-11-08 18:28:03 +08:00
vben 36a7e70cee chore: update deps 2020-11-08 18:01:10 +08:00
vben db0bfc8863 fix(table): fix table type error 2020-11-04 21:39:06 +08:00
vben 69af37ec88 fix(table): fix table typo 2020-11-03 00:59:39 +08:00