diff --git a/.env.development b/.env.development index a282f97..41ba73c 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 技术交流平台 +VUE_APP_TITLE = 工具管理及技术交流平台 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index 0fc4d3c..ece2f51 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 技术交流平台 +VUE_APP_TITLE = 工具管理及技术交流平台 # 生产环境配置 ENV = 'production' @@ -7,11 +7,11 @@ ENV = 'production' VUE_APP_CONTEXT_PATH = '/tool-tech' # 工具与技术交流管理系统/生产环境 -VUE_APP_BASE_API = '/prod-api' -VUE_APP_WS_URL = 'wss://www.rzdata.net/tool-tech-admin/websocket' +VUE_APP_BASE_API = '/tool-tech-admin' +VUE_APP_WS_URL = '/tool-tech-admin/websocket' # 文档在线预览服务 -VUE_APP_TOOL_TECH_FILE_VIEW_API = 'http://localhost:8012/tool-tech-file-view' +VUE_APP_TOOL_TECH_FILE_VIEW_API = '/tool-tech-file-view' # 流程管理服务地址 -VUE_APP_WORKFLOW_MANAGE_URL = 'http://localhost:8085/ebpm-process-manage' +VUE_APP_WORKFLOW_MANAGE_URL = '/ebpm-process-manage' diff --git a/.env.staging b/.env.staging index 036b27c..b0b8486 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 技术交流平台 +VUE_APP_TITLE = 工具管理及技术交流平台 NODE_ENV = production diff --git a/public/css/tool.css b/public/css/tool.css index 2dc6971..58f1fc5 100644 --- a/public/css/tool.css +++ b/public/css/tool.css @@ -75,7 +75,7 @@ body #app .hideSidebar .sidebar-container { width: 65px !important; } body #app .openSidebar .sidebar-container { - width:180px !important; + width:220px !important; } body #app .sidebar-container .nest-menu .el-sub-menu>.el-sub-menu__title, body #app .sidebar-container .el-sub-menu .el-menu-item { @@ -344,7 +344,7 @@ body #app .hideSidebar .main-container { margin-left: 65px; } body #app .main-container { - margin-left: 180px; + margin-left: 220px; background:#f9fafe; background-size:100%; } diff --git a/src/components/Crontab/hour.vue b/src/components/Crontab/hour.vue index 3216c33..b51a4d0 100644 --- a/src/components/Crontab/hour.vue +++ b/src/components/Crontab/hour.vue @@ -25,7 +25,7 @@ 指定 - + {{item-1}} diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 99b977c..8047442 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -35,8 +35,8 @@ export default { }, data() { return { + // title: "工具管理及技术交流平台", title: process.env.VUE_APP_TITLE, - // title: process.env.VUE_APP_TITLE, logo: logoImg } } diff --git a/src/views/document/index.vue b/src/views/document/index.vue index 16fbe3a..e7db46a 100644 --- a/src/views/document/index.vue +++ b/src/views/document/index.vue @@ -1,7 +1,7 @@ - - @@ -587,7 +605,6 @@ export default { toolId: row.toolId } addCount(formData).then(res => { - console.info("res==========", res) }); } setTimeout(()=>{ @@ -666,7 +683,23 @@ export default { }, handleBeforeClose() { this.viewDialogOpen = false - } + }, + // 更多操作触发 + handleCommand(command, row) { + switch (command) { + case "handleEdit": + this.handleEdit(row); + break; + case "handleUpdate": + this.handleUpdate(row); + break; + case "handleDelete": + this.handleDelete(row); + break; + default: + break; + } + }, } }; diff --git a/src/views/filestatistic/index.vue b/src/views/filestatistic/index.vue index 349743c..104ab4f 100644 --- a/src/views/filestatistic/index.vue +++ b/src/views/filestatistic/index.vue @@ -129,19 +129,26 @@ export default { self.pageloading = true getStatistics(this.queryParams).then(res => { - console.info("res===========", res) if(res.data){ + + const countType = JSON.parse(JSON.stringify(res.data.countType)).filter(item => item.name) //类别 - self.toolTypeData = JSON.parse(JSON.stringify(res.data.countType)) + self.toolTypeData = countType self.toolTypeData.forEach(item => { - self.toolTypeLegendData.push(item.name) + if(item && item.name){ + self.toolTypeLegendData.push(item.name) + } }) + const countSource = JSON.parse(JSON.stringify(res.data.countSource)).filter(item => item.name) + //来源 - self.toolSourceData = JSON.parse(JSON.stringify(res.data.countSource)) + self.toolSourceData = countSource self.toolSourceData.forEach(item => { - self.toolSourceLegendData.push(item.name) + if(item && item.name){ + self.toolSourceLegendData.push(item.name) + } }) self.isPieChart= true self.pageloading= false diff --git a/src/views/message/index.vue b/src/views/message/index.vue index ec5ac40..c9710f7 100644 --- a/src/views/message/index.vue +++ b/src/views/message/index.vue @@ -37,6 +37,7 @@ 全部标记已读 + @@ -47,11 +48,12 @@ - +