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 @@