页面
12138页面总览
_page结构
CREATE TABLE `_page` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pageId` varchar(255) DEFAULT NULL COMMENT 'pageId',
`pageFile` varchar(255) DEFAULT NULL COMMENT 'page文件指定; 默认使用pageId.html',
`pageName` varchar(255) DEFAULT NULL COMMENT 'page name',
`pageType` varchar(255) DEFAULT NULL COMMENT '页面类型; showInMenu, dynamicInMenu',
`pageIcon` text ,
`pageHook` varchar(255) DEFAULT NULL COMMENT 'pageHook',
`sort` varchar(255) DEFAULT NULL,
`operation` varchar(255) DEFAULT 'insert' COMMENT '操作; insert, update, jhInsert, jhUpdate, jhDelete jhRestore',
`operationByUserId` varchar(255) DEFAULT NULL COMMENT '操作者userId',
`operationByUser` varchar(255) DEFAULT NULL COMMENT '操作者用户名',
`operationAt` varchar(255) DEFAULT NULL COMMENT '操作时间; E.g: 2021-05-28T10:24:54+08:00 ',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 77 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC COMMENT = '页面表; 软删除未启用;'
帮助
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
帮助 | help | dynamicInMenu | helpV4 | 11 | null |
登陆
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
登陆 | login | loginV4 | null |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅登陆 | login | passwordLogin | null | service | {"service": "user", "serviceFunction": "passwordLogin"} | {} | 231 | update | 2022-04-27T15:32:57+08:00 |
工作台
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
工作台 | workbenchManagement | showInMenu | null | 5 | { "beforeHook": [ { "service": "constant", "serviceFunc": "getConstantObj", "field": "constantObj" } ] } |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅查询列表 | workbenchManagement | selectItemList | null | sql | { "table": "task", "operation": "select" } | {} | 361 | insert | ||||||
✅添加 | workbenchManagement | insertItem | null | sql | { "table": "task", "operation": "insert" } | {} | 362 | insert | ||||||
✅更新 | workbenchManagement | updateItem | null | sql | { "table": "task", "operation": "jhUpdate" } | {} | 363 | insert | ||||||
✅删除 | workbenchManagement | deleteItem | null | sql | { "table": "task", "operation": "jhDelete" } | {} | 364 | insert |
项目
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
项目 | projectManagement | showInMenu | null | 5 | null |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅项目查询-查询列表 | projectManagement | selectItemList | null | sql | { "table": "view01_project", "operation": "select" } | {} | 365 | jhInsert | ||||||
✅项目查询-添加成员 | projectManagement | insertItem | { "before": [ { "service": "common", "serviceFunction": "generateBizIdOfBeforeHook" } ], "after": [] } | sql | { "table": "project", "operation": "jhInsert" } | {} | 366 | jhInsert | ||||||
✅项目查询-更新成员 | projectManagement | updateItem | null | sql | { "table": "project", "operation": "jhUpdate" } | {} | 367 | jhInsert | ||||||
✅项目查询-删除信息 | projectManagement | deleteItem | null | sql | { "table": "project", "operation": "jhDelete" } | {} | 368 | jhInsert |
项目详情
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
项目详情 | taskManagementOfOneProject | dynamicInMenu | null | 5 | { "beforeHook": [ { "service": "constant", "serviceFunc": "getConstantObj", "field": "constantObj" } ] } |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅项目的任务管理-查询当前任务下的项目列表 | taskManagementOfOneProject | selectCurrentList | null | sql | { "table": "task", "operation": "select" } | {} | 369 | jhInsert | ||||||
✅项目的任务管理-建立关系 | taskManagementOfOneProject | insertItem | { "before": [ { "service": "common", "serviceFunction": "generateBizIdOfBeforeHook" } ], "after": [] } | sql | { "table": "task", "operation": "jhInsert" } | {} | 370 | jhInsert | ||||||
✅项目的任务管理-更新数据 | taskManagementOfOneProject | updateItem | null | sql | { "table": "task", "operation": "jhUpdate" } | {} | 371 | jhInsert | ||||||
✅项目的任务管理-删除信息 | taskManagementOfOneProject | deleteItem | null | sql | { "table": "task", "operation": "jhDelete" } | {} | 372 | jhInsert | ||||||
✅项目查询-查询列表 | taskManagementOfOneProject | selectAllList | null | sql | { "table": "task", "operation": "select" } | {} | 373 | jhInsert | ||||||
✅项目查询-查询列表 | taskManagementOfOneProject | getProjectList | null | sql | { "table": "view01_project", "operation": "select" } | {} | 374 | jhInsert |
回收站
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
回收站 | projectRecycledManagement | showInMenu | null | 10 | null |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅彻底删除项目 | projectRecycledManagement | deleteProject | null | service | {"service": "project", "serviceFunction": "deleteProject"} | {} | 400 | jhInsert |
归档项目
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
归档项目 | projectArchiveManagement | showInMenu | null | 6 | null |
通知/待办
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
通知/待办 | https://demo.jianghujs.org/task/page/noticeManagement | showInRightMenu | null | null | null |
_page语句
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (2, 'help', 'helpV4', '帮助', 'dynamicInMenu', NULL, NULL, '11', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (3, 'login', 'loginV4', '登陆', '', NULL, NULL, '', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (37, 'workbenchManagement', NULL, '工作台', 'showInMenu', NULL, '{"beforeHook": [{"service": "constant", "serviceFunc": "getConstantObj", "field": "constantObj"}]}', '5', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (38, 'projectManagement', NULL, '项目', 'showInMenu', NULL, NULL, '5', 'jhInsert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (39, 'taskManagementOfOneProject', NULL, '项目详情', 'dynamicInMenu', NULL, '{"beforeHook": [{"service": "constant", "serviceFunc": "getConstantObj", "field": "constantObj"}]}', '5', 'jhInsert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (40, 'projectRecycledManagement', NULL, '回收站', 'showInMenu', NULL, NULL, '10', 'jhInsert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (41, 'projectArchiveManagement', NULL, '归档项目', 'showInMenu', NULL, NULL, '6', 'jhInsert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageFile, pageName, pageType, pageIcon, pageHook, sort, operation, operationByUserId, operationByUser, operationAt) VALUES (76, 'https://demo.jianghujs.org/task/page/noticeManagement', 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);