From 7f15cdcb5c95b34fd2867e5c3d9539354a74e080 Mon Sep 17 00:00:00 2001 From: ICEC <414933307@qq.com> Date: Sun, 5 Jul 2020 11:39:04 +0800 Subject: [PATCH] INTCO-MES --- ruoyi-ui/package.json | 222 +-- ruoyi-ui/src/api/dashboard/changemouldtime.js | 22 + ruoyi-ui/src/api/dashboard/density.js | 21 + ruoyi-ui/src/api/dashboard/fx_technologist.js | 87 ++ ruoyi-ui/src/api/dashboard/fxdashboard.js | 31 + .../changemouldtime_list.vue | 125 ++ .../views/fx_dashboard/dashboard_30day.vue | 718 +++++++++ .../fx_dashboard/dashboard_daterange.vue | 823 ++++++++++ .../views/fx_dashboard/dashboard_group.vue | 781 ++++++++++ .../views/fx_dashboard/dashboard_lastday.vue | 721 +++++++++ .../src/views/fx_density/fx_density_30d.vue | 193 +++ .../src/views/fx_density/fx_density_72h.vue | 195 +++ .../src/views/fx_density/fx_density_group.vue | 188 +++ .../views/fx_technologist/fx_sample_all.vue | 326 ++++ .../fx_sample_best_selling.vue | 161 ++ .../fx_sample_confirmation.vue | 124 ++ .../fx_technologist/fx_sample_day_report.vue | 296 ++++ .../fx_sample_sample_use_day.vue | 185 +++ ruoyi-ui/src/views/index.vue | 880 +++++++++-- ruoyi-ui/src/views/index_bak.vue | 98 ++ ruoyi-ui/src/views/login.vue | 406 ++--- ruoyi-ui/src/views/monitor/job/index.vue | 8 +- ruoyi-ui/src/views/monitor/job/log.vue | 6 +- .../src/views/monitor/logininfor/index.vue | 2 +- ruoyi-ui/src/views/monitor/online/index.vue | 2 +- ruoyi-ui/src/views/monitor/operlog/index.vue | 2 +- ruoyi-ui/src/views/monitor/server/index.vue | 423 +++--- ruoyi-ui/src/views/system/config/index.vue | 23 +- ruoyi-ui/src/views/system/dept/index.vue | 20 +- ruoyi-ui/src/views/system/dict/data.vue | 4 + ruoyi-ui/src/views/system/dict/index.vue | 23 +- ruoyi-ui/src/views/system/menu/index.vue | 4 + ruoyi-ui/src/views/system/notice/index.vue | 4 + ruoyi-ui/src/views/system/post/index.vue | 4 + ruoyi-ui/src/views/system/role/index.vue | 6 + ruoyi-ui/src/views/system/user/index.vue | 1334 ++++++++--------- .../views/system/user/profile/resetPwd.vue | 2 + .../views/system/user/profile/userAvatar.vue | 14 +- .../views/system/user/profile/userInfo.vue | 2 + ruoyi-ui/src/views/test001/density30day.vue | 86 ++ ruoyi-ui/src/views/test001/index.vue | 49 + ruoyi-ui/src/views/tool/gen/editTable.vue | 4 +- ruoyi-ui/src/views/tool/gen/index.vue | 2 +- ruoyi/pom.xml | 49 +- .../com/ruoyi/db/mssql/DB_48102_Test.java | 139 ++ .../db/mssql/DB_Ajax_DashBoard_48102.java | 298 ++++ ..._Ajax_DashBoard_ChangeMouldTime_48102.java | 151 ++ .../DB_Ajax_DashBoard_Density_48102.java | 245 +++ .../DB_Ajax_DashBoard_Technologist_48102.java | 452 ++++++ .../project/fx_changemouldtime/banner.txt | 24 + .../controller/ChangeMouldTimeController.java | 35 + .../com/ruoyi/project/fx_dashboard/banner.txt | 24 + .../controller/DashBoardController.java | 47 + .../controller/DensityController.java | 39 + .../ruoyi/project/fx_technologist/banner.txt | 24 + .../controller/TechnologistController.java | 93 ++ .../src/main/resources/application-druid.yml | 18 +- ruoyi/src/main/resources/application.yml | 26 +- 58 files changed, 8899 insertions(+), 1392 deletions(-) create mode 100644 ruoyi-ui/src/api/dashboard/changemouldtime.js create mode 100644 ruoyi-ui/src/api/dashboard/density.js create mode 100644 ruoyi-ui/src/api/dashboard/fx_technologist.js create mode 100644 ruoyi-ui/src/api/dashboard/fxdashboard.js create mode 100644 ruoyi-ui/src/views/fx_changemouldtime/changemouldtime_list.vue create mode 100644 ruoyi-ui/src/views/fx_dashboard/dashboard_30day.vue create mode 100644 ruoyi-ui/src/views/fx_dashboard/dashboard_daterange.vue create mode 100644 ruoyi-ui/src/views/fx_dashboard/dashboard_group.vue create mode 100644 ruoyi-ui/src/views/fx_dashboard/dashboard_lastday.vue create mode 100644 ruoyi-ui/src/views/fx_density/fx_density_30d.vue create mode 100644 ruoyi-ui/src/views/fx_density/fx_density_72h.vue create mode 100644 ruoyi-ui/src/views/fx_density/fx_density_group.vue create mode 100644 ruoyi-ui/src/views/fx_technologist/fx_sample_all.vue create mode 100644 ruoyi-ui/src/views/fx_technologist/fx_sample_best_selling.vue create mode 100644 ruoyi-ui/src/views/fx_technologist/fx_sample_confirmation.vue create mode 100644 ruoyi-ui/src/views/fx_technologist/fx_sample_day_report.vue create mode 100644 ruoyi-ui/src/views/fx_technologist/fx_sample_sample_use_day.vue create mode 100644 ruoyi-ui/src/views/index_bak.vue create mode 100644 ruoyi-ui/src/views/test001/density30day.vue create mode 100644 ruoyi-ui/src/views/test001/index.vue create mode 100644 ruoyi/src/main/java/com/ruoyi/db/mssql/DB_48102_Test.java create mode 100644 ruoyi/src/main/java/com/ruoyi/db/mssql/DB_Ajax_DashBoard_48102.java create mode 100644 ruoyi/src/main/java/com/ruoyi/db/mssql/DB_Ajax_DashBoard_ChangeMouldTime_48102.java create mode 100644 ruoyi/src/main/java/com/ruoyi/db/mssql/DB_Ajax_DashBoard_Density_48102.java create mode 100644 ruoyi/src/main/java/com/ruoyi/db/mssql/DB_Ajax_DashBoard_Technologist_48102.java create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_changemouldtime/banner.txt create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_changemouldtime/controller/ChangeMouldTimeController.java create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_dashboard/banner.txt create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_dashboard/controller/DashBoardController.java create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_density/controller/DensityController.java create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_technologist/banner.txt create mode 100644 ruoyi/src/main/java/com/ruoyi/project/fx_technologist/controller/TechnologistController.java diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index b41c859eb..73d3ba5dc 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -1,109 +1,113 @@ -{ - "name": "ruoyi", - "version": "2.3.0", - "description": "若依管理系统", - "author": "若依", - "license": "MIT", - "scripts": { - "dev": "vue-cli-service serve --open", - "build:prod": "vue-cli-service build", - "build:stage": "vue-cli-service build --mode staging", - "preview": "node build/index.js --preview", - "lint": "eslint --ext .js,.vue src", - "test:unit": "jest --clearCache && vue-cli-service test:unit", - "test:ci": "npm run lint && npm run test:unit", - "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", - "new": "plop" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "src/**/*.{js,vue}": [ - "eslint --fix", - "git add" - ] - }, - "keywords": [ - "vue", - "admin", - "dashboard", - "element-ui", - "boilerplate", - "admin-template", - "management-system" - ], - "repository": { - "type": "git", - "url": "https://gitee.com/y_project/RuoYi-Vue.git" - }, - "dependencies": { - "@riophae/vue-treeselect": "0.4.0", - "axios": "0.18.1", - "clipboard": "2.0.4", - "echarts": "4.2.1", - "element-ui": "2.13.0", - "file-saver": "2.0.1", - "js-beautify": "^1.10.2", - "fuse.js": "3.4.4", - "js-cookie": "2.2.0", - "jsencrypt": "3.0.0-rc.1", - "normalize.css": "7.0.0", - "nprogress": "0.2.0", - "path-to-regexp": "2.4.0", - "screenfull": "4.2.0", - "sortablejs": "1.8.4", - "vue": "2.6.10", - "vue-count-to": "1.0.13", - "vue-quill-editor": "3.0.6", - "vue-cropper": "0.4.9", - "vue-router": "3.0.2", - "vue-splitpane": "1.0.4", - "vuedraggable": "2.20.0", - "vuex": "3.1.0" - }, - "devDependencies": { - "@babel/core": "7.0.0", - "@babel/register": "7.0.0", - "@babel/parser": "^7.7.4", - "@vue/cli-plugin-babel": "3.5.3", - "@vue/cli-plugin-eslint": "^3.9.1", - "@vue/cli-plugin-unit-jest": "3.5.3", - "@vue/cli-service": "3.5.3", - "@vue/test-utils": "1.0.0-beta.29", - "autoprefixer": "^9.5.1", - "babel-core": "7.0.0-bridge.0", - "babel-eslint": "10.0.1", - "babel-jest": "23.6.0", - "chalk": "2.4.2", - "chokidar": "2.1.5", - "connect": "3.6.6", - "eslint": "5.15.3", - "eslint-plugin-vue": "5.2.2", - "html-webpack-plugin": "3.2.0", - "http-proxy-middleware": "^0.19.1", - "husky": "1.3.1", - "lint-staged": "8.1.5", - "mockjs": "1.0.1-beta3", - "node-sass": "^4.9.0", - "plop": "2.3.0", - "runjs": "^4.3.2", - "sass-loader": "^7.1.0", - "script-ext-html-webpack-plugin": "2.1.3", - "script-loader": "0.7.2", - "serve-static": "^1.13.2", - "svg-sprite-loader": "4.1.3", - "svgo": "1.2.0", - "vue-template-compiler": "2.6.10" - }, - "engines": { - "node": ">=8.9", - "npm": ">= 3.0.0" - }, - "browserslist": [ - "> 1%", - "last 2 versions" - ] -} +{ + "name": "ruoyi", + "version": "2.3.0", + "description": "若依管理系统", + "author": "若依", + "license": "MIT", + "scripts": { + "dev": "vue-cli-service serve --open", + "build:prod": "vue-cli-service build", + "build:stage": "vue-cli-service build --mode staging", + "preview": "node build/index.js --preview", + "lint": "eslint --ext .js,.vue src", + "test:unit": "jest --clearCache && vue-cli-service test:unit", + "test:ci": "npm run lint && npm run test:unit", + "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", + "new": "plop" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "src/**/*.{js,vue}": [ + "eslint --fix", + "git add" + ] + }, + "keywords": [ + "vue", + "admin", + "dashboard", + "element-ui", + "boilerplate", + "admin-template", + "management-system" + ], + "repository": { + "type": "git", + "url": "https://gitee.com/y_project/RuoYi-Vue.git" + }, + "dependencies": { + "@riophae/vue-treeselect": "0.4.0", + "axios": "0.18.1", + "bootstrap": "^4.5.0", + "bootstrap-table": "^1.16.0", + "clipboard": "2.0.4", + "echarts": "4.2.1", + "element-ui": "2.13.0", + "file-saver": "2.0.1", + "js-beautify": "^1.10.2", + "fuse.js": "3.4.4", + "jquery": "^3.5.1", + "js-cookie": "2.2.0", + "jsencrypt": "3.0.0-rc.1", + "normalize.css": "7.0.0", + "nprogress": "0.2.0", + "path-to-regexp": "2.4.0", + "popper.js": "^1.16.1", + "screenfull": "4.2.0", + "sortablejs": "1.8.4", + "vue": "2.6.10", + "vue-count-to": "1.0.13", + "vue-quill-editor": "3.0.6", + "vue-cropper": "0.4.9", + "vue-router": "3.0.2", + "vue-splitpane": "1.0.4", + "vuedraggable": "2.20.0", + "vuex": "3.1.0" + }, + "devDependencies": { + "@babel/core": "7.0.0", + "@babel/register": "7.0.0", + "@babel/parser": "^7.7.4", + "@vue/cli-plugin-babel": "3.5.3", + "@vue/cli-plugin-eslint": "^3.9.1", + "@vue/cli-plugin-unit-jest": "3.5.3", + "@vue/cli-service": "3.5.3", + "@vue/test-utils": "1.0.0-beta.29", + "autoprefixer": "^9.5.1", + "babel-core": "7.0.0-bridge.0", + "babel-eslint": "10.0.1", + "babel-jest": "23.6.0", + "chalk": "2.4.2", + "chokidar": "2.1.5", + "connect": "3.6.6", + "eslint": "5.15.3", + "eslint-plugin-vue": "5.2.2", + "html-webpack-plugin": "3.2.0", + "http-proxy-middleware": "^0.19.1", + "husky": "1.3.1", + "lint-staged": "8.1.5", + "mockjs": "1.0.1-beta3", + "node-sass": "^4.9.0", + "plop": "2.3.0", + "runjs": "^4.3.2", + "sass-loader": "^7.1.0", + "script-ext-html-webpack-plugin": "2.1.3", + "script-loader": "0.7.2", + "serve-static": "^1.13.2", + "svg-sprite-loader": "4.1.3", + "svgo": "1.2.0", + "vue-template-compiler": "2.6.10" + }, + "engines": { + "node": ">=8.9", + "npm": ">= 3.0.0" + }, + "browserslist": [ + "> 1%", + "last 2 versions" + ] +} diff --git a/ruoyi-ui/src/api/dashboard/changemouldtime.js b/ruoyi-ui/src/api/dashboard/changemouldtime.js new file mode 100644 index 000000000..5aba2797e --- /dev/null +++ b/ruoyi-ui/src/api/dashboard/changemouldtime.js @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +// 查询服务器详细 +export function getChangeMouldTimeList() { + return request({ + url: '/fx_changemouldtime/list', + method: 'get' + }) +} + + + +export function getDateRangeChangeMouldTime(fDateStart,fDateEnd) { + + + return request({ + url: '/fx_changemouldtime/rangetimeavg/'+fDateStart+'/'+fDateEnd, + method: 'get' + }) +} + + diff --git a/ruoyi-ui/src/api/dashboard/density.js b/ruoyi-ui/src/api/dashboard/density.js new file mode 100644 index 000000000..6c3fe8898 --- /dev/null +++ b/ruoyi-ui/src/api/dashboard/density.js @@ -0,0 +1,21 @@ +import request from '@/utils/request' + +// 查询服务器详细 +export function getDensity30Day() { + return request({ + url: '/fx_density/30day', + method: 'get' + }) +} +export function getDensity72h() { + return request({ + url: '/fx_density/72h', + method: 'get' + }) +} +export function getDensityGroup() { + return request({ + url: '/fx_density/group', + method: 'get' + }) +} diff --git a/ruoyi-ui/src/api/dashboard/fx_technologist.js b/ruoyi-ui/src/api/dashboard/fx_technologist.js new file mode 100644 index 000000000..479129a89 --- /dev/null +++ b/ruoyi-ui/src/api/dashboard/fx_technologist.js @@ -0,0 +1,87 @@ +import request from '@/utils/request' + +// 查询服务器详细 +export function getConfirmation() { + return request({ + url: '/fx_technologist/getConfirmation', + method: 'get' + }) +} + + +export function getBestODM() { + return request({ + url: '/fx_technologist/getBestODM', + method: 'get' + }) +} + + +export function getBestOEM() { + return request({ + url: '/fx_technologist/getBestOEM', + method: 'get' + }) +} + +export function getFinishedSampleAvgDay() { + return request({ + url: '/fx_technologist/getFinishedSampleAvgDay', + method: 'get' + }) +} + + +export function getUnFinishedSampleAvgDay() { + return request({ + url: '/fx_technologist/getUnFinishedSampleAvgDay', + method: 'get' + }) +} + +export function DayFinishedSampleOrder() { + return request({ + url: '/fx_technologist/DayFinishedSampleOrder', + method: 'get' + }) +} + + +export function DayNewMould() { + return request({ + url: '/fx_technologist/DayNewMould', + method: 'get' + }) +} + +export function DayFinishedSample() { + return request({ + url: '/fx_technologist/DayFinishedSample', + method: 'get' + }) +} + + +export function DayFinishedBOM() { + return request({ + url: '/fx_technologist/DayFinishedBOM', + method: 'get' + }) +} + + +export function ALL() { + return request({ + url: '/fx_technologist/All', + method: 'get' + }) +} + + +export function AllDataDataRange(fDateStart,fDateEnd) { + return request({ + url: '/fx_technologist/AllDataDataRange/'+fDateStart+'/'+fDateEnd, + method: 'get' + }) +} + diff --git a/ruoyi-ui/src/api/dashboard/fxdashboard.js b/ruoyi-ui/src/api/dashboard/fxdashboard.js new file mode 100644 index 000000000..a09334cf7 --- /dev/null +++ b/ruoyi-ui/src/api/dashboard/fxdashboard.js @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +// 查询服务器详细 +export function getDashboardGroup() { + return request({ + url: '/fx_dashboard/group', + method: 'get' + }) +} +export function getLastDay() { + return request({ + url: '/fx_dashboard/lastday', + method: 'get' + }) +} +export function get30Day() { + return request({ + url: '/fx_dashboard/30day', + method: 'get' + }) +} + +export function getDateRange(fDateStart,fDateEnd) { + + + return request({ + url: '/fx_dashboard/daterange/'+fDateStart+'/'+fDateEnd, + method: 'get' + }) +} + diff --git a/ruoyi-ui/src/views/fx_changemouldtime/changemouldtime_list.vue b/ruoyi-ui/src/views/fx_changemouldtime/changemouldtime_list.vue new file mode 100644 index 000000000..d93ac970f --- /dev/null +++ b/ruoyi-ui/src/views/fx_changemouldtime/changemouldtime_list.vue @@ -0,0 +1,125 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_dashboard/dashboard_30day.vue b/ruoyi-ui/src/views/fx_dashboard/dashboard_30day.vue new file mode 100644 index 000000000..15a90b5ba --- /dev/null +++ b/ruoyi-ui/src/views/fx_dashboard/dashboard_30day.vue @@ -0,0 +1,718 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_dashboard/dashboard_daterange.vue b/ruoyi-ui/src/views/fx_dashboard/dashboard_daterange.vue new file mode 100644 index 000000000..ec99d039f --- /dev/null +++ b/ruoyi-ui/src/views/fx_dashboard/dashboard_daterange.vue @@ -0,0 +1,823 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_dashboard/dashboard_group.vue b/ruoyi-ui/src/views/fx_dashboard/dashboard_group.vue new file mode 100644 index 000000000..650863a6f --- /dev/null +++ b/ruoyi-ui/src/views/fx_dashboard/dashboard_group.vue @@ -0,0 +1,781 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_dashboard/dashboard_lastday.vue b/ruoyi-ui/src/views/fx_dashboard/dashboard_lastday.vue new file mode 100644 index 000000000..c431d7938 --- /dev/null +++ b/ruoyi-ui/src/views/fx_dashboard/dashboard_lastday.vue @@ -0,0 +1,721 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_density/fx_density_30d.vue b/ruoyi-ui/src/views/fx_density/fx_density_30d.vue new file mode 100644 index 000000000..7794bbd60 --- /dev/null +++ b/ruoyi-ui/src/views/fx_density/fx_density_30d.vue @@ -0,0 +1,193 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_density/fx_density_72h.vue b/ruoyi-ui/src/views/fx_density/fx_density_72h.vue new file mode 100644 index 000000000..1cadc7360 --- /dev/null +++ b/ruoyi-ui/src/views/fx_density/fx_density_72h.vue @@ -0,0 +1,195 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_density/fx_density_group.vue b/ruoyi-ui/src/views/fx_density/fx_density_group.vue new file mode 100644 index 000000000..e2832cd8c --- /dev/null +++ b/ruoyi-ui/src/views/fx_density/fx_density_group.vue @@ -0,0 +1,188 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_technologist/fx_sample_all.vue b/ruoyi-ui/src/views/fx_technologist/fx_sample_all.vue new file mode 100644 index 000000000..f9acc4fe5 --- /dev/null +++ b/ruoyi-ui/src/views/fx_technologist/fx_sample_all.vue @@ -0,0 +1,326 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_technologist/fx_sample_best_selling.vue b/ruoyi-ui/src/views/fx_technologist/fx_sample_best_selling.vue new file mode 100644 index 000000000..b238e4dd5 --- /dev/null +++ b/ruoyi-ui/src/views/fx_technologist/fx_sample_best_selling.vue @@ -0,0 +1,161 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_technologist/fx_sample_confirmation.vue b/ruoyi-ui/src/views/fx_technologist/fx_sample_confirmation.vue new file mode 100644 index 000000000..8c32aa8dd --- /dev/null +++ b/ruoyi-ui/src/views/fx_technologist/fx_sample_confirmation.vue @@ -0,0 +1,124 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_technologist/fx_sample_day_report.vue b/ruoyi-ui/src/views/fx_technologist/fx_sample_day_report.vue new file mode 100644 index 000000000..91fd5c4b2 --- /dev/null +++ b/ruoyi-ui/src/views/fx_technologist/fx_sample_day_report.vue @@ -0,0 +1,296 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/fx_technologist/fx_sample_sample_use_day.vue b/ruoyi-ui/src/views/fx_technologist/fx_sample_sample_use_day.vue new file mode 100644 index 000000000..4cd568547 --- /dev/null +++ b/ruoyi-ui/src/views/fx_technologist/fx_sample_sample_use_day.vue @@ -0,0 +1,185 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index 4828d8806..52dd9ec34 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -1,98 +1,782 @@ - - - - - + + + + + + + diff --git a/ruoyi-ui/src/views/index_bak.vue b/ruoyi-ui/src/views/index_bak.vue new file mode 100644 index 000000000..405cb9e72 --- /dev/null +++ b/ruoyi-ui/src/views/index_bak.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index b63d0461f..8a7293cdc 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -1,203 +1,203 @@ - - - - - + + + + + diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index 3a35e85b2..ee4ae4ced 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -133,7 +133,7 @@ - + @@ -397,7 +397,7 @@ export default { type: "warning" }).then(function() { return runJob(row.jobId, row.jobGroup); - }).then(() => { + }).then(function() { this.msgSuccess("执行成功"); }).catch(function() {}); }, @@ -438,6 +438,8 @@ export default { this.msgSuccess("修改成功"); this.open = false; this.getList(); + } else { + this.msgError(response.msg); } }); } else { @@ -446,6 +448,8 @@ export default { this.msgSuccess("新增成功"); this.open = false; this.getList(); + } else { + this.msgError(response.msg); } }); } diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/ruoyi-ui/src/views/monitor/job/log.vue index 254f48618..d9f79b51f 100644 --- a/ruoyi-ui/src/views/monitor/job/log.vue +++ b/ruoyi-ui/src/views/monitor/job/log.vue @@ -87,7 +87,7 @@ icon="el-icon-download" size="mini" @click="handleExport" - v-hasPermi="['monitor:job:export']" + v-hasPermi="['monitor:jobLog:export']" >导出 @@ -196,7 +196,9 @@ export default { jobName: undefined, jobGroup: undefined, status: undefined - } + }, + // 表单参数 + form: {} }; }, created() { diff --git a/ruoyi-ui/src/views/monitor/logininfor/index.vue b/ruoyi-ui/src/views/monitor/logininfor/index.vue index 0a210056a..e2f422ea2 100644 --- a/ruoyi-ui/src/views/monitor/logininfor/index.vue +++ b/ruoyi-ui/src/views/monitor/logininfor/index.vue @@ -91,7 +91,7 @@ - + diff --git a/ruoyi-ui/src/views/monitor/online/index.vue b/ruoyi-ui/src/views/monitor/online/index.vue index 1f5a50f2f..72c4a5303 100644 --- a/ruoyi-ui/src/views/monitor/online/index.vue +++ b/ruoyi-ui/src/views/monitor/online/index.vue @@ -39,7 +39,7 @@ - + diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/ruoyi-ui/src/views/monitor/operlog/index.vue index ba84d3c10..419f9bf0b 100644 --- a/ruoyi-ui/src/views/monitor/operlog/index.vue +++ b/ruoyi-ui/src/views/monitor/operlog/index.vue @@ -110,7 +110,7 @@ - + \ No newline at end of file + + + diff --git a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue index e39948e34..380e16865 100644 --- a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue +++ b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue @@ -59,6 +59,8 @@ export default { response => { if (response.code === 200) { this.msgSuccess("修改成功"); + } else { + this.msgError(response.msg); } } ); diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue index 8f60085d4..5446ab5d9 100644 --- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue +++ b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue @@ -1,7 +1,7 @@