Changes for page Văn bản đến
Last modified by Hai NT on 2026/11/23 02:24
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -V ănbảnđến1 +VanBanDen - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.ha int1 +XWiki.chatgpt - Content
-
... ... @@ -1,43 +3,26 @@ 1 -{{include reference="XWiki.LiveTableResultsMacros" /}} 2 - 3 3 {{velocity}} 4 -#set ($columns = ['soKyHieu', 'trichYeu', 'ngayVanBan', 'coQuanBanHanh', 'lanhDao', 'hanXuLy', 'trangThaiNguon']) 5 -#set ($className = 'VanBanDen.Code.VanBanDenClass') 6 -#if ($xcontext.action == 'get' && "$!request.outputSyntax" == 'plain') 7 - #set ($result = {'reqNo': $numbertool.toNumber($request.reqNo).intValue(), 'rows': [], 'totalrows': 0, 'returnedrows': 0}) 8 - #if ("$!request.sort" == '' || $columns.contains($request.sort)) 9 - #set ($collist = $columns) 10 - #gridresultwithfilter_buildQuery($className $collist '' '' {}) 11 - ## Dùng cùng bộ lọc và kiểm tra quyền của LiveTable, chỉ đưa ngày trống xuống cuối. 12 - #if ($request.sort == 'ngayVanBan' && $orderDirection == 'desc' && $orderSql != '') 13 - #set ($sql = "$sql nulls last, doc.fullName asc") 14 - #end 15 - #if ("$!request.tagcloud" == 'true') 16 - #gridresult_buildTagCloudJSON($result) 17 - #end 18 - #gridresult_buildRowsJSON($result) 19 - #end 20 - #jsonResponse($result) 21 -#else 22 22 #set ($columnsProperties = { 23 - 'soKyHieu': {"link":"view"}, 24 - 'trichYeu': {"link":"view"}, 25 - 'ngayVanBan': {"html":true}, 26 - 'coQuanBanHanh': {"html":true}, 27 - 'lanhDao': {"html":true}, 3 + 'doc.title': {"link":"view"}, 4 + 'maHoSo': {}, 5 + 'soDen': {}, 6 + 'ngayDen': {"html":true}, 7 + 'soKyHieu': {}, 8 + 'trichYeu': {}, 9 + 'coQuanGui': {}, 10 + 'donViXuLy': {}, 28 28 'hanXuLy': {"html":true}, 29 - 'trangThaiNguon': {"html":true} 12 + 'trangThai': {}, 13 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} 30 30 }) 31 31 #set ($options = { 32 - 'className': $className, 33 - 'resultPage': 'VanBanDen.WebHome', 16 + 'className': 'VanBanDen.Code.VanBanDenClass', 34 34 'translationPrefix': 'vanbanden.livetable.', 35 35 'tagCloud': true, 36 36 'rowCount': 15, 37 37 'maxPages': 10, 38 - 'selectedColumn': ' ngayVanBan',39 - 'defaultOrder': ' desc'21 + 'selectedColumn': 'doc.title', 22 + 'defaultOrder': 'asc' 40 40 }) 24 +#set ($columns = ['doc.title', 'maHoSo', 'soDen', 'ngayDen', 'soKyHieu', 'trichYeu', 'coQuanGui', 'donViXuLy', 'hanXuLy', 'trangThai', '_actions']) 41 41 #livetable('vanbanden' $columns $columnsProperties $options) 42 -#end 43 43 {{/velocity}}
- AppWithinMinutes.LiveTableClass[0]
-
- Live Table Columns
-
... ... @@ -1,1 +1,1 @@ 1 -soKyHieu trichYeu ngayVanBancoQuanBanHanhlanhDao hanXuLy trangThaiNguon1 +doc.title maHoSo soDen ngayDen soKyHieu trichYeu coQuanGui donViXuLy hanXuLy trangThai _actions
- XWiki.UIExtensionClass[0]
-
- Extension Parameters
-
... ... @@ -1,3 +1,3 @@ 1 -label=V ănbảnđến1 +label=VanBanDen 2 2 target=VanBanDen.WebHome 3 3 icon=icon:application_view_list