Changes for page Văn bản đến

Last modified by Hai NT on 2026/11/23 02:24

From version 10.1
edited by chatgpt
on 2026/11/22 09:28
Change comment: There is no comment for this version
To version 9.1
edited by chatgpt
on 2026/11/22 06:10
Change comment: Cập nhật cột danh sách Văn bản đến theo model mới

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,16 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'soKyHieu': {"displayName":"Số, Ký hiệu","link":"view"},
4 - 'trichYeu': {"displayName":"Trích yếu văn bản đến","link":"view"},
5 - 'ngayVanBan': {"displayName":"Ngày BH","html":true},
6 - 'coQuanBanHanh': {"displayName":"CQ ban hành"},
7 - 'lanhDao': {"displayName":"Lãnh đạo"},
8 - 'hanXuLy': {"displayName":"Thời hạn","html":true},
9 - 'trangThaiNguon': {"displayName":"Trạng thái"}
3 + 'doc.title': {"link":"view"},
4 + 'maHoSo': {},
5 + 'soDen': {},
6 + 'ngayDen': {"html":true},
7 + 'soKyHieu': {},
8 + 'trichYeu': {},
9 + 'coQuanGui': {},
10 + 'donViXuLy': {},
11 + 'hanXuLy': {"html":true},
12 + 'trangThai': {},
13 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
10 10  })
11 11  #set ($options = {
12 12   'className': 'VanBanDen.Code.VanBanDenClass',
... ... @@ -14,9 +14,9 @@
14 14   'tagCloud': true,
15 15   'rowCount': 15,
16 16   'maxPages': 10,
17 - 'selectedColumn': 'ngayVanBan',
18 - 'defaultOrder': 'desc'
21 + 'selectedColumn': 'doc.title',
22 + 'defaultOrder': 'asc'
19 19  })
20 -#set ($columns = ['soKyHieu', 'trichYeu', 'ngayVanBan', 'coQuanBanHanh', 'lanhDao', 'hanXuLy', 'trangThaiNguon'])
24 +#set ($columns = ['doc.title', 'maHoSo', 'soDen', 'ngayDen', 'soKyHieu', 'trichYeu', 'coQuanGui', 'donViXuLy', 'hanXuLy', 'trangThai', '_actions'])
21 21  #livetable('vanbanden' $columns $columnsProperties $options)
22 22  {{/velocity}}