Page
12126Page Overview
_page Structure
CREATE TABLE `_page` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pageId` varchar(255) DEFAULT NULL COMMENT 'pageId',
`pageName` varchar(255) DEFAULT NULL COMMENT 'page name',
`pageFile` varchar(255) DEFAULT NULL,
`pageType` varchar(255) DEFAULT NULL COMMENT 'Page type; showInMenu, dynamicInMenu',
`pageIcon` text,
`pageHook` varchar(255) DEFAULT NULL,
`sort` varchar(255) DEFAULT NULL,
`operation` varchar(255) DEFAULT 'insert' COMMENT 'Operation; insert, update, jhInsert, jhUpdate, jhDelete, jhRestore',
`operationByUserId` varchar(255) DEFAULT NULL COMMENT 'Operator userId',
`operationByUser` varchar(255) DEFAULT NULL COMMENT 'Operator username',
`operationAt` varchar(255) DEFAULT NULL COMMENT 'Operation time; E.g: 2021-05-28T10:24:54+08:00 ',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 90 DEFAULT CHARSET = utf8mb4 COMMENT = 'Page table;'Help
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Help | help | dynamicInMenu | helpV4 | 1 | null |
Login
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Login | login | loginV4 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Password Login | login | passwordLogin | null | service | { "service": "user", "serviceFunction": "passwordLogin" } | {} | 299 | update | 2022-03-12T21:41:08+08:00 |
Chat
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Chat | index | showInMenu | null | 1 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| index | getUserSession | null | sql | { "table": "_user_session", "operation": "select" } | 720 | insert |
Customer Service Management
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Customer Service Management | agentManagement | showInMenu | null | 2 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Query User List | agentManagement | getItemList | null | sql | { "table": "_user", "operation": "select" } | {} | 339 | update | 2022-03-05T21:44:23+08:00 | |||||
| ✅ Add New User | agentManagement | addUser | null | service | { "service": "userManagement", "serviceFunction": "addUser" } | {} | 340 | insert | ||||||
| ✅ Update User | agentManagement | setItem | null | sql | { "table": "_user", "operation": "jhUpdate" } | {} | 341 | insert | ||||||
| ✅ Reset User Password | agentManagement | resetUserPassword | null | service | { "service": "userManagement", "serviceFunction": "resetUserPassword" } | {} | 343 | insert |
Data History
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Data History | recordHistoryManagement | showInMenu | null | 5 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Get List of In-Use Data for Specified Table | recordHistoryManagement | selectOnUseItemListByTable | null | service | { "service": "recordHistory", "serviceFunction": "selectOnUseItemListByTable" } | 347 | update | 2022-02-21T19:58:23+08:00 | ||||||
| ✅ Get List of Deleted Data for Specified Table | recordHistoryManagement | selectDeletedItemListByTable | null | service | { "service": "recordHistory", "serviceFunction": "selectDeletedItemListByTable" } | 348 | update | 2022-02-21T19:58:21+08:00 | ||||||
| ✅ Get Data History Table | recordHistoryManagement | selectItemList | null | sql | { "table": "_record_history", "operation": "select" } | 349 | update | 2022-02-21T19:58:30+08:00 | ||||||
| ✅ Restore Data | recordHistoryManagement | restoreRecordByRecordHistory | null | service | { "service": "recordHistory", "serviceFunction": "restoreRecordByRecordHistory" } | 350 | update | 2022-02-21T00:47:08+08:00 |
Visitor
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Visitor | visitor | dynamicInMenu | null | { "beforeHook": [ { "field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap" } ] } |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Visitor Message | visitor | sendVisitorTicket | null | service | { "service": "visitor", "serviceFunction": "visitorTicket" } | {} | 701 | insert | ||||||
| ✅ Get Customer Service Online Status | visitor | getAgentOnlineStatus | null | service | { "service": "visitor", "serviceFunction": "getAgentOnlineStatus" } | 703 | insert | |||||||
| ✅ Visitor Login | visitor | visitorLogin | null | service | { "service": "visitor", "serviceFunction": "visitorLogin" } | 704 | insert | |||||||
| ✅ Update Visitor Information | visitor | updateItem | null | sql | { "table": "visitor", "operation": "jhUpdate" } | 706 | insert | |||||||
| ✅ Message List [Including Username] | visitor | getVisitorTicketList | null | sql | { "table": "view01_visitor_ticket", "operation": "select" } | {} | 722 | insert |
Test
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Test | test | dynamicInMenu | null | null |
Message Management
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Message Management | visitorTicketManagement | showInMenu | null | 4 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Message List | visitorTicketManagement | getVisitorTicketList | null | sql | { "table": "visitor_ticket", "operation": "select" } | {} | 702 | insert | ||||||
| ✅ Update Message Read Status | visitorTicketManagement | updateTicketReadStatus | null | sql | { "table": "visitor_ticket", "operation": "jhUpdate" } | 705 | insert |
Visitor Information
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Visitor Information | visitorManagement | showInMenu | null | 3 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ Query Visitor List | visitorManagement | getItemList | null | sql | { "table": "visitor", "operation": "select" } | {} | 712 | update | 2022-03-05T21:44:23+08:00 | |||||
| ✅ Update Visitor Information | visitorManagement | updateVisitor | null | service | { "service": "visitor", "serviceFunction": "updateVisitor" } | {} | 723 | insert |
Test-Old
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Test-Old | test-old | null | null | null | null |
Test02
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Test02 | test02 | dynamicInMenu | null | null |
Test03
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Test03 | test03 | dynamicInMenu | null | null |
Test04
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Test04 | test04 | dynamicInMenu | null | null |
UI Configuration Information
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| UI Configuration Information | constantUiList | showInMenu | null | 5 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ constantUiList - Query List | constantUiList | selectItemList | null | sql | {"table": "web_constant_ui", "operation": "select"} | {} | 505 | insert | ||||||
| ✅ constantUiList - Add Member | constantUiList | insertItem | null | sql | {"table": "web_constant_ui", "operation": "insert"} | {} | 506 | insert | ||||||
| ✅ constantUiList - Update Member | constantUiList | updateItem | null | sql | {"table": "web_constant_ui", "operation": "jhUpdate"} | {} | 507 | insert | ||||||
| ✅ constantUiList - Delete Information | constantUiList | deleteItem | null | sql | {"table": "web_constant_ui", "operation": "jhDelete"} | {} | 508 | insert |
Edit UI Configuration Information
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Edit UI Configuration Information | constantUiEditor | dynamicInMenu | null | 5 | null |
- API Information
| desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ UI Configuration Edit - Query List | constantUiEditor | getItemInfo | null | sql | { "table": "web_constant_ui", "operation": "select" } | {} | 725 | insert | ||||||
| ✅ UI Configuration Edit - Add Data | constantUiEditor | insertItem | null | sql | { "table": "web_constant_ui", "operation": "insert" } | {} | 726 | insert | ||||||
| ✅ UI Configuration Edit - Update Data | constantUiEditor | updateItem | null | sql | { "table": "web_constant_ui", "operation": "jhUpdate" } | {} | 727 | insert |
Notifications/Todo
- Page Information
| pageName | pageId | pageType | pageFile | sort | pageHook |
|---|---|---|---|---|---|
| Notifications/Todo | https://demo.jianghujs.org/task/page/noticeManagement | showInRightMenu | null | null | null |
_page Statements
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (2, 'help', 'Help', 'helpV4', 'dynamicInMenu', NULL, NULL, '1', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (3, 'login', 'Login', 'loginV4', '', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (31, 'index', 'Chat', NULL, 'showInMenu', NULL, NULL, '1', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (32, 'agentManagement', 'Customer Service Management', NULL, 'showInMenu', NULL, NULL, '2', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (36, 'recordHistoryManagement', 'Data History', NULL, 'showInMenu', NULL, NULL, '5', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (37, 'visitor', 'Visitor', NULL, 'dynamicInMenu', NULL, '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"}
]
}', '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (38, 'test', 'Test', NULL, 'dynamicInMenu', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (40, 'visitorTicketManagement', 'Message Management', NULL, 'showInMenu', NULL, NULL, '4', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (41, 'visitorManagement', 'Visitor Information', NULL, 'showInMenu', NULL, NULL, '3', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (42, 'test-old', 'Test-Old', NULL, NULL, NULL, NULL, NULL, 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (43, 'test02', 'Test02', NULL, 'dynamicInMenu', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (44, 'test03', 'Test03', NULL, 'dynamicInMenu', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (45, 'test04', 'Test04', NULL, 'dynamicInMenu', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (46, 'constantUiList', 'UI Configuration Information', NULL, 'showInMenu', NULL, NULL, '5', 'update', 'vscode', 'vscode', '2022-06-29T15:14:09+08:00');
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (47, 'constantUiEditor', 'Edit UI Configuration Information', NULL, 'dynamicInMenu', NULL, NULL, '5', 'update', 'vscode', 'vscode', '2022-06-29T15:14:09+08:00');
INSERT INTO _page (id, pageId, pageName, pageFile, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (89, 'https://demo.jianghujs.org/task/page/noticeManagement', 'Notifications/Todo', NULL, 'showInRightMenu', '<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"> <g id="Frame 19"> <path id="Vector" d="M14 0C6.2695 0 0 6.2695 0 14C0 21.7305 6.2695 28 14 28C21.7305 28 28 21.7305 28 14C28 6.2695 21.7305 0 14 0Z" fill="#5DB55F"/> <g id="Frame"> <path id="Vector_2" d="M15.2698 19.44L15.307 19.4419C15.5022 19.4633 15.6398 19.6499 15.5895 19.8403L15.57 19.9088C15.3646 20.5638 14.7393 21.04 14.0001 21.04L13.9239 21.0384C13.193 21.0057 12.5866 20.5075 12.4103 19.8403L12.4033 19.8048C12.3758 19.6153 12.5284 19.44 12.7303 19.44H15.2698ZM14.0001 6.95996C14.1274 6.95996 14.2495 7.01053 14.3395 7.10055C14.4295 7.19057 14.4801 7.31266 14.4801 7.43996V7.94364C16.9402 8.191 18.8001 10.3545 18.8001 12.8556V16.24L18.802 16.288C18.8141 16.4489 18.8866 16.5994 19.0049 16.7091C19.1232 16.8189 19.2787 16.8799 19.4401 16.88H19.5543L19.6087 16.8816C20.0055 16.9065 20.3562 17.1993 20.3959 17.5974L20.3994 17.6486C20.4037 17.7562 20.3861 17.8635 20.3479 17.9642C20.3096 18.0648 20.2514 18.1567 20.1768 18.2343C20.1022 18.312 20.0127 18.3737 19.9137 18.4159C19.8146 18.4581 19.7081 18.4799 19.6004 18.48H8.44583L8.39143 18.4784C7.99463 18.4534 7.64391 18.1606 7.60423 17.7625L7.60071 17.7113C7.59649 17.6037 7.61404 17.4964 7.65231 17.3957C7.69058 17.295 7.74878 17.2031 7.82342 17.1255C7.89807 17.0479 7.98762 16.9861 8.0867 16.9439C8.18579 16.9017 8.29238 16.88 8.40007 16.88H8.56007L8.60807 16.8784C8.76908 16.8663 8.91956 16.7937 9.02935 16.6753C9.13914 16.5569 9.20012 16.4014 9.20007 16.24V12.72C9.20007 10.231 11.0945 8.1846 13.5201 7.94364V7.43996C13.5201 7.31266 13.5706 7.19057 13.6607 7.10055C13.7507 7.01053 13.8728 6.95996 14.0001 6.95996Z" fill="white"/> </g> </g> </svg>', NULL, NULL, 'insert', NULL, NULL, NULL);