From c77036a671e6a2f4de13cfb9a36b4bea225dcae9 Mon Sep 17 00:00:00 2001 From: Jane <272005125@qq.com> Date: Tue, 16 Jul 2024 14:21:16 +0800 Subject: [PATCH] update --- .env.development | 10 +- .env.production | 8 +- .env.staging | 10 +- .idea/codeStyles/Project.xml | 27 + .idea/codeStyles/codeStyleConfig.xml | 5 + .idea/workspace.xml | 680 ++++++++++++++---- package-lock.json | 176 ++++- package.json | 5 +- public/css/poctstyle.css | 108 +++ src/api/document/document.js | 44 ++ src/api/system/user.js | 9 + src/api/tool/tool.js | 44 ++ src/components/user-selector/index.js | 7 + .../user-selector/src/user-selector.vue | 614 ++++++++++++++++ src/main.js | 2 +- src/router/index.js | 2 +- src/utils/request.js | 3 +- src/views/document/index.vue | 353 +++++++++ .../{ => system}/tool/gen/basicInfoForm.vue | 0 .../{ => system}/tool/gen/createTable.vue | 0 src/views/{ => system}/tool/gen/editTable.vue | 0 .../{ => system}/tool/gen/genInfoForm.vue | 0 .../{ => system}/tool/gen/importTable.vue | 0 src/views/{ => system}/tool/gen/index.vue | 0 src/views/{ => system}/tool/swagger/index.vue | 0 src/views/tool/index.vue | 649 +++++++++++++++++ src/views/workflow/config/index.vue | 22 + src/views/workflow/task/index.vue | 22 + vue.config.js | 2 +- 29 files changed, 2639 insertions(+), 163 deletions(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 public/css/poctstyle.css create mode 100644 src/api/document/document.js create mode 100644 src/api/tool/tool.js create mode 100644 src/components/user-selector/index.js create mode 100644 src/components/user-selector/src/user-selector.vue create mode 100644 src/views/document/index.vue rename src/views/{ => system}/tool/gen/basicInfoForm.vue (100%) rename src/views/{ => system}/tool/gen/createTable.vue (100%) rename src/views/{ => system}/tool/gen/editTable.vue (100%) rename src/views/{ => system}/tool/gen/genInfoForm.vue (100%) rename src/views/{ => system}/tool/gen/importTable.vue (100%) rename src/views/{ => system}/tool/gen/index.vue (100%) rename src/views/{ => system}/tool/swagger/index.vue (100%) create mode 100644 src/views/tool/index.vue create mode 100644 src/views/workflow/config/index.vue create mode 100644 src/views/workflow/task/index.vue diff --git a/.env.development b/.env.development index e2f050b..51464fc 100644 --- a/.env.development +++ b/.env.development @@ -4,10 +4,16 @@ VUE_APP_TITLE = 工具与技术交流管理系统 # 开发环境配置 ENV = 'development' -VUE_APP_CONTEXT_PATH = '/too-tech' +VUE_APP_CONTEXT_PATH = '/tool-tech' # 工具与技术交流管理系统/开发环境 -VUE_APP_BASE_API = 'http://localhost:8080/too-tech-admin/' +VUE_APP_BASE_API = 'http://localhost:8080/tool-tech-admin' + +# 文档在线预览服务 +VUE_APP_TOOL_TECH_FILE_VIEW_API = 'http://localhost:8012/tool-tech-file-view' + +# 流程管理服务地址 +VUE_APP_WORKFLOW_MANAGE_URL = 'http://localhost:8085/ebpm-process-manage' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index 20cea2a..4c4823e 100644 --- a/.env.production +++ b/.env.production @@ -4,7 +4,13 @@ VUE_APP_TITLE = 工具与技术交流管理系统 # 生产环境配置 ENV = 'production' -VUE_APP_CONTEXT_PATH = '/too-tech' +VUE_APP_CONTEXT_PATH = '/tool-tech' # 工具与技术交流管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' + +# 文档在线预览服务 +VUE_APP_TOOL_TECH_FILE_VIEW_API = 'http://localhost:8012/tool-tech-file-view' + +# 流程管理服务地址 +VUE_APP_WORKFLOW_MANAGE_URL = 'http://localhost:8085/ebpm-process-manage' diff --git a/.env.staging b/.env.staging index 3f45202..de8b743 100644 --- a/.env.staging +++ b/.env.staging @@ -6,7 +6,13 @@ NODE_ENV = production # 测试环境配置 ENV = 'staging' -VUE_APP_CONTEXT_PATH = '/too-tech' +VUE_APP_CONTEXT_PATH = '/tool-tech' # 工具与技术交流管理系统/测试环境 -VUE_APP_BASE_API = 'https://www.rzdata.net/too-tech-admin/' +VUE_APP_BASE_API = 'https://www.rzdata.net/tool-tech-admin' + +# 文档在线预览服务 +VUE_APP_TOOL_TECH_FILE_VIEW_API = 'http://localhost:8012/tool-tech-file-view' + +# 流程管理服务地址 +VUE_APP_WORKFLOW_MANAGE_URL = 'http://localhost:8085/ebpm-process-manage' diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..a8d7249 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,27 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9df5c05..a4ace96 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,33 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14,87 +40,113 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - + - - + + + + + + + + - + - - + + - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -103,8 +155,42 @@ - resource-net + openDataScope + menuExpand + dataScopeOptions + options + defaultProps + onChange + open + deptName + dept + handleImport + dicts + getDicts + dict + compu + ./delete1.png + peopleName + peopleInfoBox + user-avatar + .el-dialog__body + staff + getNickNameList + selectedUserList + checkedUsers + userList + submitPeople + multiple + handleResetPwd + addTool + deptOptions + handleUseApply + + docList + toolList + handlePublish + D:\rzdata\ToolTech\tool-tech-front @@ -115,35 +201,39 @@ - - - - -