BUG 处理
This commit is contained in:
parent
bec4abc955
commit
a7a081646d
10
README.md
10
README.md
@ -57,6 +57,16 @@ Tansci-Boot 是一个前后端分离后台管理系统, 前端集成 `amis`
|
||||
- tansci-boot-ui-editor:amis 低代码编辑器
|
||||
- sql:数据库 SQL 脚本
|
||||
|
||||
**amis 配置说明:**
|
||||
|
||||
在 ``tansci-boot-ui/public/gh-pages/config.js`` 可配置编辑器获取页面JSON和保存接口的配置。
|
||||
|
||||
> 注意:在页面编辑器中业务接口回报404可忽略。
|
||||
|
||||
**接口开发配置:**
|
||||
|
||||
接口开发菜单页面加载不了,检查环境变量配置的服务地址是否和后端服务一致:``tansci-boot-ui/.env.development`` 参数 `VITE_BASE_API`
|
||||
|
||||
**项目地址:**
|
||||
|
||||
Gitee: [https://gitee.com/typ1805/tansci-boot](https://gitee.com/typ1805/tansci-boot)
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
Target Server Version : 80032
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 13/07/2023 14:20:00
|
||||
Date: 11/01/2024 10:29:46
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@ -38,8 +38,8 @@ CREATE TABLE `lc_pages` (
|
||||
-- ----------------------------
|
||||
-- Records of lc_pages
|
||||
-- ----------------------------
|
||||
INSERT INTO `lc_pages` VALUES ('306eeeb4daa0674cbf4026f6910ba5a0', '表格例子', '支持增删改查', '0', '{\"id\": \"u:e6cbae2af395\", \"body\": [{\"id\": \"pages_crud\", \"api\": {\"url\": \"/tansci/lcPages/page\", \"data\": {\"size\": \"${perPage}\", \"title\": \"${title}\", \"current\": \"${page}\"}, \"method\": \"get\", \"messages\": {}, \"responseData\": {\"data\": \"${result.records}\"}}, \"name\": \"pages_crud\", \"type\": \"crud\", \"filter\": {\"id\": \"u:5ad1c4a6d950\", \"body\": [{\"id\": \"u:f75f39cb2469\", \"name\": \"title\", \"type\": \"input-text\", \"placeholder\": \"请输入名称\"}, {\"id\": \"u:c5f5700a399d\", \"name\": \"city\", \"type\": \"input-city\", \"label\": \"城市选择\", \"allowCity\": true, \"extractValue\": true, \"allowDistrict\": true}], \"title\": \"条件搜索\", \"actions\": [{\"id\": \"u:351ace1a07f0\", \"icon\": \"fa fa-plus\", \"size\": \"sm\", \"type\": \"button\", \"label\": \"添加\", \"dialog\": {\"body\": {\"api\": \"/tansci/lcPages/save\", \"body\": [{\"name\": \"title\", \"type\": \"input-text\", \"label\": \"名称\", \"required\": true}, {\"name\": \"remarks\", \"type\": \"input-text\", \"label\": \"描述\", \"required\": true}], \"name\": \"sample-edit-form\", \"type\": \"form\"}, \"title\": \"添加\"}, \"target\": \"pages_crud\", \"actionType\": \"dialog\"}, {\"id\": \"u:6309a99bd03a\", \"size\": \"sm\", \"type\": \"reset\", \"label\": \"重置\"}, {\"id\": \"u:e541fe6332bc\", \"size\": \"sm\", \"type\": \"submit\", \"label\": \"查询\", \"level\": \"primary\"}], \"submitText\": \"\"}, \"columns\": [{\"id\": \"u:6ce5ff1520ad\", \"name\": \"id\", \"type\": \"text\", \"label\": \"ID\"}, {\"id\": \"u:0044e13a9da6\", \"name\": \"title\", \"type\": \"text\", \"label\": \"页面标题\"}, {\"id\": \"u:e03d48488d41\", \"name\": \"subtitle\", \"type\": \"text\", \"label\": \"副标题\"}, {\"id\": \"u:d1fe9b9479cf\", \"name\": \"status\", \"type\": \"status\", \"label\": \"状态\", \"source\": {\"0\": {\"icon\": \"fa fa-check-circle\", \"color\": \"#67C23A\", \"label\": \"已发布\"}, \"1\": {\"icon\": \"fa fa-times-circle\", \"color\": \"#F56C6C\", \"label\": \"未发布\"}}}, {\"id\": \"u:91aadb1310ce\", \"name\": \"remarks\", \"type\": \"text\", \"label\": \"描述\"}, {\"id\": \"u:91aadb1310ce\", \"name\": \"updateTime\", \"type\": \"text\", \"label\": \"更新时间\"}, {\"id\": \"u:91aadb1310ce\", \"name\": \"createTime\", \"type\": \"text\", \"label\": \"创建时间\"}, {\"id\": \"u:b53dd325281b\", \"type\": \"operation\", \"label\": \"操作\", \"width\": 130, \"buttons\": [{\"id\": \"u:19ee43a7c211\", \"icon\": \"fa fa-eye\", \"type\": \"button\", \"dialog\": {\"body\": {\"body\": [{\"name\": \"title\", \"type\": \"static\", \"label\": \"名称\"}, {\"type\": \"divider\"}, {\"name\": \"remarks\", \"type\": \"static\", \"label\": \"描述\"}, {\"type\": \"divider\"}, {\"name\": \"status\", \"type\": \"static\", \"label\": \"状态\"}, {\"type\": \"divider\"}, {\"name\": \"updateTime\", \"type\": \"static\", \"label\": \"更新时间\"}, {\"type\": \"divider\"}, {\"name\": \"pageschema\", \"type\": \"json\", \"label\": \"内容\"}], \"type\": \"form\"}, \"size\": \"lg\", \"title\": \"查看\"}, \"actionType\": \"dialog\"}, {\"id\": \"u:4cde2885b9f0\", \"icon\": \"fa fa-pencil\", \"type\": \"button\", \"dialog\": {\"body\": {\"api\": \"/tansci/lcPages/update\", \"body\": [{\"name\": \"title\", \"type\": \"input-text\", \"label\": \"名称\", \"required\": true}, {\"name\": \"remarks\", \"type\": \"input-text\", \"label\": \"描述\", \"required\": true}], \"name\": \"sample-edit-form\", \"type\": \"form\"}, \"title\": \"编辑\"}, \"actionType\": \"dialog\"}, {\"id\": \"u:dd3568d00c3a\", \"api\": \"get:/tansci/lcPages/delete/${id}\", \"icon\": \"fa fa-times text-danger\", \"type\": \"button\", \"actionType\": \"ajax\", \"confirmText\": \"您确认要删除?\"}], \"toggled\": true}], \"messages\": {}, \"draggable\": false, \"bulkActions\": [], \"perPageAvailable\": [10]}], \"type\": \"page\", \"title\": \"\", \"toolbar\": []}', 0, '534a37c366ec47878a6b0c85703d0bc2', '2023-07-07 10:30:09', '2023-05-11 11:24:39', '支持增删改查、分页、筛选的表格例子');
|
||||
INSERT INTO `lc_pages` VALUES ('7f08e688-de5a-11ed-8f49-00163e228eed', '轮播图', '轮播图', '0', '{\"id\": \"u:a457fe5d710c\", \"body\": [{\"id\": \"u:b008adde5469\", \"body\": [{\"id\": \"u:ee0376499f18\", \"type\": \"carousel\", \"height\": \"300\", \"options\": [{\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/3893101144_bff2dc9.jpg\"}, {\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/bd3eb13533fa828b13b24500f31f4134960a5a44_81bbc2d.jpg\"}, {\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/da6376bf988c_3360340.jpg\"}], \"controlsTheme\": \"light\"}], \"type\": \"panel\", \"title\": \"直接页面配置\"}], \"type\": \"page\", \"style\": {\"boxShadow\": \" 0px 0px 0px 0px transparent\"}, \"pullRefresh\": {\"disabled\": true}, \"asideResizor\": false}', 0, NULL, '2023-05-11 10:58:41', '2023-05-11 10:58:43', NULL);
|
||||
INSERT INTO `lc_pages` VALUES ('306eeeb4daa0674cbf4026f6910ba5a0', '表格例子', '支持增删改查', '0', '{\"id\": \"u:e6cbae2af395\", \"body\": [{\"id\": \"pages_crud\", \"api\": {\"url\": \"/tansci/lowcode/lcPages/page\", \"data\": {\"size\": \"${perPage}\", \"title\": \"${title}\", \"current\": \"${page}\"}, \"method\": \"get\", \"messages\": {}, \"responseData\": {\"data\": \"${result.records}\"}}, \"name\": \"pages_crud\", \"type\": \"crud\", \"filter\": {\"id\": \"u:5ad1c4a6d950\", \"body\": [{\"id\": \"u:f75f39cb2469\", \"name\": \"title\", \"type\": \"input-text\", \"placeholder\": \"请输入名称\"}, {\"id\": \"u:c5f5700a399d\", \"name\": \"city\", \"type\": \"input-city\", \"label\": \"城市选择\", \"allowCity\": true, \"extractValue\": true, \"allowDistrict\": true}], \"title\": \"条件搜索\", \"actions\": [{\"id\": \"u:351ace1a07f0\", \"icon\": \"fa fa-plus\", \"size\": \"sm\", \"type\": \"button\", \"label\": \"添加\", \"dialog\": {\"body\": {\"api\": \"/tansci/lcPages/save\", \"body\": [{\"name\": \"title\", \"type\": \"input-text\", \"label\": \"名称\", \"required\": true}, {\"name\": \"remarks\", \"type\": \"input-text\", \"label\": \"描述\", \"required\": true}], \"name\": \"sample-edit-form\", \"type\": \"form\"}, \"title\": \"添加\"}, \"target\": \"pages_crud\", \"actionType\": \"dialog\"}, {\"id\": \"u:6309a99bd03a\", \"size\": \"sm\", \"type\": \"reset\", \"label\": \"重置\"}, {\"id\": \"u:e541fe6332bc\", \"size\": \"sm\", \"type\": \"submit\", \"label\": \"查询\", \"level\": \"primary\"}], \"submitText\": \"\"}, \"columns\": [{\"id\": \"u:6ce5ff1520ad\", \"name\": \"id\", \"type\": \"text\", \"label\": \"ID\"}, {\"id\": \"u:0044e13a9da6\", \"name\": \"title\", \"type\": \"text\", \"label\": \"页面标题\"}, {\"id\": \"u:e03d48488d41\", \"name\": \"subtitle\", \"type\": \"text\", \"label\": \"副标题\"}, {\"id\": \"u:d1fe9b9479cf\", \"name\": \"status\", \"type\": \"status\", \"label\": \"状态\", \"source\": {\"0\": {\"icon\": \"fa fa-check-circle\", \"color\": \"#67C23A\", \"label\": \"已发布\"}, \"1\": {\"icon\": \"fa fa-times-circle\", \"color\": \"#F56C6C\", \"label\": \"未发布\"}}}, {\"id\": \"u:91aadb1310ce\", \"name\": \"remarks\", \"type\": \"text\", \"label\": \"描述\"}, {\"id\": \"u:91aadb1310ce\", \"name\": \"updateTime\", \"type\": \"text\", \"label\": \"更新时间\"}, {\"id\": \"u:91aadb1310ce\", \"name\": \"createTime\", \"type\": \"text\", \"label\": \"创建时间\"}, {\"id\": \"u:b53dd325281b\", \"type\": \"operation\", \"label\": \"操作\", \"width\": 130, \"buttons\": [{\"id\": \"u:19ee43a7c211\", \"type\": \"button\", \"label\": \"详情\", \"level\": \"link\", \"dialog\": {\"body\": {\"body\": [{\"name\": \"title\", \"type\": \"static\", \"label\": \"名称\"}, {\"type\": \"divider\"}, {\"name\": \"remarks\", \"type\": \"static\", \"label\": \"描述\"}, {\"type\": \"divider\"}, {\"name\": \"status\", \"type\": \"static\", \"label\": \"状态\"}, {\"type\": \"divider\"}, {\"name\": \"updateTime\", \"type\": \"static\", \"label\": \"更新时间\"}, {\"type\": \"divider\"}, {\"name\": \"pageschema\", \"type\": \"json\", \"label\": \"内容\"}], \"type\": \"form\"}, \"size\": \"lg\", \"title\": \"查看\"}, \"actionType\": \"dialog\"}, {\"id\": \"u:4cde2885b9f0\", \"type\": \"button\", \"label\": \"编辑\", \"level\": \"link\", \"dialog\": {\"body\": {\"api\": \"/tansci/lcPages/update\", \"body\": [{\"name\": \"title\", \"type\": \"input-text\", \"label\": \"名称\", \"required\": true}, {\"name\": \"remarks\", \"type\": \"input-text\", \"label\": \"描述\", \"required\": true}], \"name\": \"sample-edit-form\", \"type\": \"form\"}, \"title\": \"编辑\"}, \"actionType\": \"dialog\"}, {\"id\": \"u:dd3568d00c3a\", \"api\": \"get:/tansci/lcPages/delete/${id}\", \"type\": \"button\", \"label\": \"删除\", \"level\": \"link\", \"className\": \"text-danger\", \"actionType\": \"ajax\", \"confirmText\": \"您确认要删除?\"}], \"toggled\": true}], \"messages\": {}, \"draggable\": false, \"bulkActions\": [], \"perPageAvailable\": [10]}], \"type\": \"page\", \"title\": \"\", \"toolbar\": []}', 0, '534a37c366ec47878a6b0c85703d0bc2', '2024-01-11 10:27:32', '2023-05-11 11:24:39', '支持增删改查、分页、筛选的表格例子');
|
||||
INSERT INTO `lc_pages` VALUES ('7f08e688-de5a-11ed-8f49-00163e228eed', '轮播图', '轮播图', '0', '{\"id\": \"u:a457fe5d710c\", \"body\": [{\"id\": \"u:b008adde5469\", \"body\": [{\"id\": \"u:ee0376499f18\", \"type\": \"carousel\", \"height\": \"300\", \"options\": [{\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/3893101144_bff2dc9.jpg\"}, {\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/bd3eb13533fa828b13b24500f31f4134960a5a44_81bbc2d.jpg\"}, {\"image\": \"https://aisuda.bce.baidu.com/amis/static/photo/da6376bf988c_3360340.jpg\"}], \"controlsTheme\": \"light\"}], \"type\": \"panel\", \"title\": \"直接页面配置\"}], \"type\": \"page\", \"style\": {\"boxShadow\": \" 0px 0px 0px 0px transparent\"}, \"pullRefresh\": {\"disabled\": true}, \"asideResizor\": false}', 0, NULL, '2024-01-11 09:51:22', '2023-05-11 10:58:43', '轮播图测试');
|
||||
INSERT INTO `lc_pages` VALUES ('ce620f517565f989d718385d4e4033ac', 'aaaa', NULL, NULL, NULL, NULL, '534a37c366ec47878a6b0c85703d0bc2', '2023-05-12 08:55:56', '2023-05-12 08:55:56', 'aaaa');
|
||||
|
||||
-- ----------------------------
|
||||
@ -244,28 +244,6 @@ CREATE TABLE `sys_login_log` (
|
||||
-- ----------------------------
|
||||
-- Records of sys_login_log
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_login_log` VALUES ('01f368d7-1c67-11ee-8b16-e0be038740d4', 'admin', '123456a', '失败', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', NULL, '用户名或密码错误', '2023-07-07 09:38:43');
|
||||
INSERT INTO `sys_login_log` VALUES ('01ffb65b-1c9b-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '76bbfa39-2189-486c-8141-02851bac1c1b', '成功', '2023-07-07 15:50:57');
|
||||
INSERT INTO `sys_login_log` VALUES ('14d66c51-1c67-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '3dc01912-3aa9-4ca2-b9d8-0b3ec0f5870d', '成功', '2023-07-07 09:39:15');
|
||||
INSERT INTO `sys_login_log` VALUES ('151d83ff-1ca2-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'f6c23b52-6c5f-4c2d-9ace-56c194ac5259', '成功', '2023-07-07 16:41:35');
|
||||
INSERT INTO `sys_login_log` VALUES ('311d5fac-1c96-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '268d315e-e272-441f-be14-af093d5921cf', '成功', '2023-07-07 15:16:28');
|
||||
INSERT INTO `sys_login_log` VALUES ('333a78d7-1c97-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '902feb89-8205-4449-afaf-cbe46d412f0b', '成功', '2023-07-07 15:23:42');
|
||||
INSERT INTO `sys_login_log` VALUES ('3c35bc2a-1c6a-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '3dc01912-3aa9-4ca2-b9d8-0b3ec0f5870d', '成功', '2023-07-07 10:01:49');
|
||||
INSERT INTO `sys_login_log` VALUES ('486440d9-1c8a-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'b4eb069f-6432-4a67-afbf-862250d82475', '成功', '2023-07-07 13:51:14');
|
||||
INSERT INTO `sys_login_log` VALUES ('5178824c-1c9b-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'a109112c-f0ff-4a4f-a3b2-c61d9e0dca2d', '成功', '2023-07-07 15:53:10');
|
||||
INSERT INTO `sys_login_log` VALUES ('54273b10-1c88-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '5abc417a-a715-437a-8d1a-d5547cd89d72', '成功', '2023-07-07 13:37:14');
|
||||
INSERT INTO `sys_login_log` VALUES ('634b4487-1c9f-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '8374661a-6440-4c04-b9ed-93943c3b10ad', '成功', '2023-07-07 16:22:18');
|
||||
INSERT INTO `sys_login_log` VALUES ('6efae57b-1ca0-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '8aa53271-204b-451d-8b8c-c4e124016294', '成功', '2023-07-07 16:29:47');
|
||||
INSERT INTO `sys_login_log` VALUES ('71ee1396-1c6d-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '3dc01912-3aa9-4ca2-b9d8-0b3ec0f5870d', '成功', '2023-07-07 10:24:48');
|
||||
INSERT INTO `sys_login_log` VALUES ('75f7dbf5-1c78-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'cdb3089e-6544-4652-a9bf-4114cc5318fd', '成功', '2023-07-07 11:43:39');
|
||||
INSERT INTO `sys_login_log` VALUES ('8021a05c-1c97-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '902feb89-8205-4449-afaf-cbe46d412f0b', '成功', '2023-07-07 15:25:51');
|
||||
INSERT INTO `sys_login_log` VALUES ('8f0e75e7-1c96-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '126aac2c-810c-40e3-b44d-045209fcba31', '成功', '2023-07-07 15:19:06');
|
||||
INSERT INTO `sys_login_log` VALUES ('aa0e9601-1c78-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'b2e1e907-13c6-4cf6-87c6-b912174fa576', '成功', '2023-07-07 11:45:06');
|
||||
INSERT INTO `sys_login_log` VALUES ('b215e622-1c9e-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '43047511-0d9c-4e6c-83d9-f9525a21f07e', '成功', '2023-07-07 16:17:21');
|
||||
INSERT INTO `sys_login_log` VALUES ('b66b2ebe-1c9d-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '8d411ca5-e835-44d4-b99b-58dc4f2f12ef', '成功', '2023-07-07 16:10:19');
|
||||
INSERT INTO `sys_login_log` VALUES ('c872c1ed-1c97-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '902feb89-8205-4449-afaf-cbe46d412f0b', '成功', '2023-07-07 15:27:52');
|
||||
INSERT INTO `sys_login_log` VALUES ('dd6401a7-1c88-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', '3fff7ef9-8e08-4ac8-9d67-24d060750afd', '成功', '2023-07-07 13:41:05');
|
||||
INSERT INTO `sys_login_log` VALUES ('fbb52733-1c86-11ee-8b16-e0be038740d4', 'admin', NULL, '成功', 'Chrome', 'Windows 10 or Windows Server 2016', '内网IP', '127.0.0.1', 'b2e1e907-13c6-4cf6-87c6-b912174fa576', '成功', '2023-07-07 13:27:36');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_menu
|
||||
|
||||
4
tansci-boot-ui-editor/.gitignore
vendored
4
tansci-boot-ui-editor/.gitignore
vendored
@ -61,6 +61,4 @@ typings/
|
||||
.next
|
||||
|
||||
gh-pages
|
||||
.DS_Store
|
||||
|
||||
package-lock.json
|
||||
.DS_Store
|
||||
32392
tansci-boot-ui-editor/package-lock.json
generated
Normal file
32392
tansci-boot-ui-editor/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,2 @@
|
||||
VITE_BASE_API = 'http://localhost:8000'
|
||||
VITE_BASE_API = 'http://localhost:7000/tansci'
|
||||
VITE_EDITOR_URL = 'http://localhost:5173'
|
||||
@ -1 +1 @@
|
||||
window.common={API_QUERY_URL:"http://localhost:5173/lowcode/lcPages/get/",API_SAVE_URL:"http://localhost:5173/lowcode/lcPages/update",TOKEN_KEY:"token"};
|
||||
window.common={API_QUERY_URL:"http://localhost:7000/tansci/lowcode/lcPages/get/",API_SAVE_URL:"http://localhost:7000/tansci/lowcode/lcPages/update",TOKEN_KEY:"token"};
|
||||
@ -58,6 +58,9 @@ export function logout(){
|
||||
}).then(() => {
|
||||
removeToken()
|
||||
location.reload()
|
||||
}).catch((e:any) => {
|
||||
removeToken()
|
||||
location.reload()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -3,8 +3,14 @@
|
||||
|
||||
const state = reactive({
|
||||
versionList: [
|
||||
{content:'项目初始化',timestamp:'2023-04-01'},
|
||||
{content:'项目初始化',timestamp:'2023-04-01'},
|
||||
{timestamp:'2024-01-11', icon:'CircleCloseFilled', color:'#F56C6C', content: [
|
||||
'1、token 过期页面重复提示 “用户凭证已过期,请重新登录!” 问题处理;',
|
||||
'2、页面管理表格列表不会自适应 问题处理;'
|
||||
]},
|
||||
{timestamp:'2024-01-09', icon:'CircleCheckFilled', color:'#409EFF', content: ['项目开源']},
|
||||
{timestamp:'2023-07-07', icon:'CircleCheckFilled', color:'#409EFF', content: ['v2.0.0 集成 magic-api']},
|
||||
{timestamp:'2023-07-06', icon:'CircleCheckFilled', color:'#409EFF', content: ['v1.0.0 前端amis,后端未使用 magic-api']},
|
||||
{timestamp:'2023-03-20', icon:'CircleCheckFilled', color:'#409EFF', content: ['项目初始化']},
|
||||
]
|
||||
})
|
||||
|
||||
@ -29,10 +35,10 @@
|
||||
</div>
|
||||
<div class="text">
|
||||
<el-space alignment="normal" direction="vertical">
|
||||
<el-text tag="p">一款基于 SpringBoot + Vue3.2 + Element Plus 的后台管理系统。带你快速掌握SpringBoot核心知识 + Vue全家桶全栈技能。在此过程中,从0到1经历开发全流程,掌握前后端分离开发模式,搭建一个专属自己的、内容可灵活配置的知识库系统。</el-text>
|
||||
<el-text tag="p">此项目是为了减少业务代码的重复轮子,它具有一个系统该有的通用性核心业务代码,无论是微服务还是单体,都是通用的业务 但更多的,是为了学习微服务的理念以及开发 您可以使用它进行网站管理后台,网站会员中心,CMS,CRM,OA等待系统的开发, 当然,不仅仅是一些小系统,我们可以生产更多的服务模块,不断完善项目。</el-text>
|
||||
<el-text tag="p">系统初心是为了能够更快地完成业务的需求,带来更好的体验、更多的时间。它将会用于孵化一些实用的功能点。 我们希望它们是轻量级,可移植性高的功能插件。</el-text>
|
||||
<el-text tag="p">同时,我们更希望广大开发者能在其中更快地获得更好的解决方案、尽量降低我们的学习成本。 由此,我们应当把更多的时间投入到其它更有意义的事情当中,我们深知知识的重要性,但,并不希望仅拥有单一”知识“。 去感受/关爱更多光彩,无论人、事、物,它们也将成为你最好的灵感。</el-text>
|
||||
<el-text tag="p">基于 SpringBoot2 + magic-api + Vue3 + Element Plus + amis3.0 快速开发管理系统</el-text>
|
||||
<el-text tag="p">Tansci-Boot 是一个前后端分离后台管理系统, 前端集成 amis 低代码前端框架,后端集成 magic-api 的接口快速开发框架。包含基础权限、安全认证、以及常用的一些组件功能。项目易上手,技术更综合,能力更全面。</el-text>
|
||||
<el-text tag="p">amis 是一个低代码前端框架,它使用 JSON 配置来生成页面,可以减少页面开发工作量,极大提升效率。</el-text>
|
||||
<el-text tag="p">magic-api 一个基于 Java 的接口快速开发框架,通过 magic-api 提供的 UI 界面完成编写接口,无需定义 Controller、Service、Dao、Mapper、XML、VO 等 Java 对象即可完成常见的 HTTP API 接口开发。</el-text>
|
||||
</el-space>
|
||||
</div>
|
||||
</div>
|
||||
@ -59,8 +65,11 @@
|
||||
</template>
|
||||
<div>
|
||||
<el-timeline>
|
||||
<el-timeline-item v-for="item in state.versionList" :key="item" :timestamp="item.timestamp">
|
||||
{{ item.content }}
|
||||
<el-timeline-item v-for="item in state.versionList" :key="item" :color="item.color" :icon="item.icon" :timestamp="item.timestamp" placement="top">
|
||||
<el-card v-if="item.content.length > 1">
|
||||
<p v-for="c in item.content" :key="c">{{ c }}</p>
|
||||
</el-card>
|
||||
<p v-else>{{ item.content[0] }}</p>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
|
||||
@ -343,7 +343,7 @@
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
.el-card{
|
||||
flex: 0 0 24%;
|
||||
// flex: 0 0 24%;
|
||||
:deep(.el-card__header){
|
||||
padding: 1rem;
|
||||
border: none;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user