diff --git a/README.md b/README.md
deleted file mode 100644
index 94340f8..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# ShuHe
-
-舒和项目
\ No newline at end of file
diff --git a/hd/nladmin-system/src/main/resources/config/application-dev.yml b/hd/nladmin-system/src/main/resources/config/application-dev.yml
index 116e0cd..f44450a 100644
--- a/hd/nladmin-system/src/main/resources/config/application-dev.yml
+++ b/hd/nladmin-system/src/main/resources/config/application-dev.yml
@@ -8,12 +8,12 @@ spring:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
- url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:hs_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true
+ url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:ssj1_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true
# url: jdbc:log4jdbc:mysql://${DB_HOST:47.97.157.227}:${DB_PORT:3306}/${DB_NAME:hl_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
username: ${DB_USER:root}
# password: ${DB_PWD:P@ssw0rd}
- #password: ${DB_PWD:Root.123456}
- password: ${DB_PWD:123456}
+ password: ${DB_PWD:password}
+ #password: ${DB_PWD:123456}
# 初始连接数
initial-size: 5
# 最小连接数
diff --git a/qd/README.en.md b/qd/README.en.md
deleted file mode 100644
index 0f0e0a9..0000000
--- a/qd/README.en.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# nlacs_web
-
-#### Description
-{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
-
-#### Software Architecture
-Software architecture description
-
-#### Installation
-
-1. xxxx
-2. xxxx
-3. xxxx
-
-#### Instructions
-
-1. xxxx
-2. xxxx
-3. xxxx
-
-#### Contribution
-
-1. Fork the repository
-2. Create Feat_xxx branch
-3. Commit your code
-4. Create Pull Request
-
-
-#### Gitee Feature
-
-1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
-2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
-3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
-4. The most valuable open source project [GVP](https://gitee.com/gvp)
-5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
-6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
diff --git a/qd/README.md b/qd/README.md
deleted file mode 100644
index c87138d..0000000
--- a/qd/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# sh_wcs_web
-
diff --git a/qd/package.json b/qd/package.json
deleted file mode 100644
index 6d2b7c5..0000000
--- a/qd/package.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "name": "eladmin-web",
- "version": "2.6.0",
- "description": "EL-ADMIN 前端源码",
- "author": "Zheng Jie",
- "license": "Apache-2.0",
- "scripts": {
- "dev": "vue-cli-service serve",
- "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",
- "svgo": "svgo -f src/assets/icons/svg --config=src/assets/icons/svgo.yml",
- "new": "plop"
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "src/**/*.{js,vue}": [
- "eslint --fix",
- "git add"
- ]
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/elunez/eladmin-web.git"
- },
- "bugs": {
- "url": "https://github.com/elunez/eladmin/issues"
- },
- "dependencies": {
- "@riophae/vue-treeselect": "0.4.0",
- "af-table-column": "^1.0.3",
- "axios": "0.18.1",
- "clipboard": "2.0.4",
- "codemirror": "^5.49.2",
- "connect": "3.6.6",
- "echarts": "^4.2.1",
- "echarts-gl": "^1.1.1",
- "echarts-wordcloud": "^1.1.3",
- "element-ui": "^2.13.2",
- "file-saver": "^1.3.8",
- "font-awesome": "^4.7.0",
- "fuse.js": "3.4.4",
- "jquery": "^3.6.0",
- "js-beautify": "^1.10.2",
- "js-cookie": "2.2.0",
- "jsencrypt": "^3.0.0-rc.1",
- "jszip": "3.1.5",
- "mavon-editor": "^2.9.0",
- "normalize.css": "7.0.0",
- "nprogress": "0.2.0",
- "path-to-regexp": "2.4.0",
- "qs": "^6.9.1",
- "screenfull": "4.2.0",
- "sortablejs": "1.8.4",
- "vue": "2.6.10",
- "vue-count-to": "1.0.13",
- "vue-cropper": "0.4.9",
- "vue-echarts": "^5.0.0-beta.0",
- "vue-highlightjs": "^1.3.3",
- "vue-image-crop-upload": "^2.5.0",
- "vue-router": "3.0.2",
- "vue-seamless-scroll": "^1.1.23",
- "vue-splitpane": "1.0.4",
- "vuedraggable": "2.20.0",
- "vuex": "3.1.0",
- "vxe-table": "^3.3.10",
- "wangeditor": "^3.1.1",
- "xe-ajax": "^4.0.5",
- "xe-utils": "^3.3.1",
- "xlsx": "^0.14.5"
- },
- "devDependencies": {
- "@babel/core": "7.0.0",
- "@babel/parser": "^7.7.4",
- "@babel/register": "7.0.0",
- "@vue/babel-plugin-transform-vue-jsx": "^1.2.1",
- "@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",
- "babel-plugin-dynamic-import-node": "2.3.0",
- "babel-plugin-transform-remove-console": "^6.9.4",
- "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",
- "plop": "2.3.0",
- "runjs": "^4.3.2",
- "sass": "^1.26.10",
- "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/qd/plopfile.js b/qd/plopfile.js
deleted file mode 100644
index 9f3147e..0000000
--- a/qd/plopfile.js
+++ /dev/null
@@ -1,7 +0,0 @@
-const viewGenerator = require('./plop-templates/view/prompt')
-const componentGenerator = require('./plop-templates/component/prompt')
-
-module.exports = function(plop) {
- plop.setGenerator('view', viewGenerator)
- plop.setGenerator('component', componentGenerator)
-}
diff --git a/qd/postcss.config.js b/qd/postcss.config.js
deleted file mode 100644
index 961986e..0000000
--- a/qd/postcss.config.js
+++ /dev/null
@@ -1,5 +0,0 @@
-module.exports = {
- plugins: {
- autoprefixer: {}
- }
-}
diff --git a/qd/public/config.js b/qd/public/config.js
deleted file mode 100644
index c4d32ea..0000000
--- a/qd/public/config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-window.g = {
- dev: {
- VUE_APP_BASE_API: 'http://127.0.0.1:8010'
- },
- prod: {
- VUE_APP_BASE_API: 'http://127.0.0.1:8010'
-
- }
-
-}
diff --git a/qd/public/favicon.ico b/qd/public/favicon.ico
deleted file mode 100644
index fcb6999..0000000
Binary files a/qd/public/favicon.ico and /dev/null differ
diff --git a/qd/public/index.html b/qd/public/index.html
deleted file mode 100644
index 9773055..0000000
--- a/qd/public/index.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
- <%= webpackConfig.name %>
-
-
-
-
-
-
diff --git a/qd/src/App.vue b/qd/src/App.vue
deleted file mode 100644
index ec9032c..0000000
--- a/qd/src/App.vue
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/api/Address.js b/qd/src/api/Address.js
deleted file mode 100644
index 381c96c..0000000
--- a/qd/src/api/Address.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/Address',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/Address/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/Address',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/config/deviceAssigned.js b/qd/src/api/acs/config/deviceAssigned.js
deleted file mode 100644
index 10c9f0b..0000000
--- a/qd/src/api/acs/config/deviceAssigned.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/deviceAssigned',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/deviceAssigned/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/deviceAssigned',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/device/acsDeviceErpmapping.js b/qd/src/api/acs/device/acsDeviceErpmapping.js
deleted file mode 100644
index 49ca0cd..0000000
--- a/qd/src/api/acs/device/acsDeviceErpmapping.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/acsDeviceErpmapping',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/acsDeviceErpmapping/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/acsDeviceErpmapping',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/device/device.js b/qd/src/api/acs/device/device.js
deleted file mode 100644
index 49433cc..0000000
--- a/qd/src/api/acs/device/device.js
+++ /dev/null
@@ -1,217 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/device',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/device/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/device',
- method: 'put',
- data
- })
-}
-
-export function selectDeviceList() {
- return request({
- url: 'api/device/selectList',
- method: 'get'
- })
-}
-
-export function selectConDeviceList() {
- return request({
- url: 'api/device/selectConveyorList',
- method: 'get'
- })
-}
-
-export function selectDeviceListByRegion(region) {
- return request({
- url: 'api/device/region/' + region,
- method: 'get'
- })
-}
-
-export function selectDeviceListOne() {
- return request({
- url: 'api/device/selectListOne',
- method: 'get'
- })
-}
-export function selectDeviceListTwo() {
- return request({
- url: 'api/device/selectListTwo',
- method: 'get'
- })
-}
-export function selectDeviceListThree() {
- return request({
- url: 'api/device/selectListThree',
- method: 'get'
- })
-}
-
-export function selectDeviceDevicerInfo(status) {
- return request({
- url: 'api/device/selectDeviceDevicerInfo/' + status,
- method: 'get'
- })
-}
-
-export function changeDeviceStatus(data) {
- return request({
- url: 'api/device/changeDeviceStatus',
- method: 'post',
- data
- })
-}
-
-export function changeFenceStatus(data) {
- return request({
- url: 'api/device/changeFenceStatus',
- method: 'post',
- data
- })
-}
-
-export function saveBarcode(data) {
- return request({
- url: 'api/device/updateBarcode',
- method: 'post',
- data
- })
-}
-
-export function callAgv(data) {
- return request({
- url: 'api/device/callAgv',
- method: 'post',
- data
- })
-}
-
-export function addMaterial(data) {
- return request({
- url: 'api/device/addMaterial',
- method: 'post',
- data
- })
-}
-
-export function responseAgv(data) {
- return request({
- url: 'api/device/responseAgv',
- method: 'post',
- data
- })
-}
-
-export function autoCreateTask(data) {
- return request({
- url: 'api/device/autoCreateTask',
- method: 'post',
- data
- })
-}
-
-export function cleanTask(data) {
- return request({
- url: 'api/device/cleanTask',
- method: 'post',
- data
- })
-}
-
-export function cleanMaterial(data) {
- return request({
- url: 'api/device/cleanMaterial',
- method: 'post',
- data
- })
-}
-
-export function queryStorageExtra(storage_code) {
- return request({
- url: 'api/device/queryStorageExtra/' + storage_code,
- method: 'get'
- })
-}
-
-export function reload() {
- return request({
- url: 'api/device/reload',
- method: 'get'
- })
-}
-
-export function cleans1(data) {
- return request({
- url: 'api/device/cleans1',
- method: 'post',
- data
- })
-}
-
-export function cleans2(data) {
- return request({
- url: 'api/device/cleans2',
- method: 'post',
- data
- })
-}
-
-export function enterSite1(data) {
- return request({
- url: 'api/device/enterSite1',
- method: 'post',
- data
- })
-}
-
-export function enterSite2(data) {
- return request({
- url: 'api/device/enterSite2',
- method: 'post',
- data
- })
-}
-
-export function cleans3(data) {
- return request({
- url: 'api/device/cleans3',
- method: 'post',
- data
- })
-}
-
-export function selectAGVList() {
- return request({
- url: 'api/device/selectAGVList',
- method: 'get'
- })
-}
-
-export function agvTaskType(data) {
- return request({
- url: 'api/device/agvTaskType',
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del, selectDeviceList, selectDeviceListByRegion, callAgv, responseAgv, selectDeviceDevicerInfo, autoCreateTask,
- changeDeviceStatus, cleanTask, queryStorageExtra, selectConDeviceList, saveBarcode, selectDeviceListOne, selectDeviceListTwo, selectDeviceListThree,
- addMaterial, cleanMaterial, changeFenceStatus,reload, cleans1, cleans2, enterSite1, enterSite2, cleans3, selectAGVList, agvTaskType}
diff --git a/qd/src/api/acs/device/device.js.rej b/qd/src/api/acs/device/device.js.rej
deleted file mode 100644
index 8f2c752..0000000
--- a/qd/src/api/acs/device/device.js.rej
+++ /dev/null
@@ -1,4 +0,0 @@
-diff a/src/api/acs/device/device.js b/src/api/acs/device/device.js (rejected hunks)
-@@ -131 +130 @@ export default { add, edit, del, selectDeviceList, selectDeviceListByRegion, cal
-- changeDeviceStatus, cleanTask, queryStorageExtra, selectConDeviceList, saveBarcode, selectDeviceListOne,selectDeviceListTwo,selectDeviceListThree }
-+ changeDeviceStatus, cleanTask, queryStorageExtra, selectConDeviceList, saveBarcode, selectDeviceListOne, selectDeviceListTwo, selectDeviceListThree }
diff --git a/qd/src/api/acs/device/deviceAccuracyLog.js b/qd/src/api/acs/device/deviceAccuracyLog.js
deleted file mode 100644
index 0a1ad22..0000000
--- a/qd/src/api/acs/device/deviceAccuracyLog.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
-return request({
-url: 'api/deviceAccuracyLog',
-method: 'post',
-data
-})
-}
-
-export function del(ids) {
-return request({
-url: 'api/deviceAccuracyLog/',
-method: 'delete',
-data: ids
-})
-}
-
-export function edit(data) {
-return request({
-url: 'api/deviceAccuracyLog',
-method: 'put',
-data
-})
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/device/deviceDbitem.js b/qd/src/api/acs/device/deviceDbitem.js
deleted file mode 100644
index e8ef45c..0000000
--- a/qd/src/api/acs/device/deviceDbitem.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/deviceDbitem',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- const data = {
- id: 1,
- name2: '张三',
- info: {
- id: 999,
- str: 'str111'
- }
- }
- return request({
- url: 'api/deviceDbitem/getUserJson',
- method: 'get',
- data: data
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/deviceDbitem',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/device/driverConfig.js b/qd/src/api/acs/device/driverConfig.js
deleted file mode 100644
index c470ee1..0000000
--- a/qd/src/api/acs/device/driverConfig.js
+++ /dev/null
@@ -1,66 +0,0 @@
-import request from '@/utils/request'
-
-export function get(device_code) {
- return request({
- url: 'api/device/' + device_code,
- method: 'get'
- })
-}
-
-export function queryDriverConfig(device_id, driver_code) {
- const data = {
- device_id: device_id,
- driver_code: driver_code
- }
- return request({
- url: 'api/device/driverConfig',
- data,
- method: 'post'
- })
-}
-
-export function selectDriverCodeList(device_code) {
- return request({
- url: 'api/device/selectDriverCodeList/' + device_code,
- method: 'get'
- })
-}
-
-export function updateConfig(parentForm, form, data1, data2) {
- const data = {
- parentForm,
- form,
- data1,
- data2
- }
- return request({
- url: 'api/device/updateConfig',
- data,
- method: 'post'
- })
-}
-
-export function testRead(dbItems, opc_id) {
- const data = {
- dbItems: dbItems,
- opc_id: opc_id
- }
- return request({
- url: 'api/device/testRead',
- method: 'post',
- data
- })
-}
-
-export function testwrite(dbItems, opc_id) {
- const data = {
- dbItems: dbItems,
- opc_id: opc_id
- }
- return request({
- url: 'api/device/testWrite',
- method: 'post',
- data
- })
-}
-
diff --git a/qd/src/api/acs/device/opc.js b/qd/src/api/acs/device/opc.js
deleted file mode 100644
index 0d9de64..0000000
--- a/qd/src/api/acs/device/opc.js
+++ /dev/null
@@ -1,66 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/opc',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/opc/',
- method: 'delete',
- data: ids
- })
-}
-
-export function selectOpcList() {
- return request({
- url: 'api/opc/selectList',
- method: 'get'
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/opc',
- method: 'put',
- data
- })
-}
-
-export function getmeteal(data) {
- return request({
- url: 'api/opc/getmeteal',
- method: 'post',
- data
- })
-}
-
-export function addPLC(data) {
- return request({
- url: 'api/opc/addPLC',
- method: 'post',
- data
- })
-}
-
-export function editPLC(data) {
- return request({
- url: 'api/opc/editPLC',
- method: 'post',
- data
- })
-}
-
-export function delPLC(data) {
- return request({
- url: 'api/opc/delPLC',
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del, selectOpcList, getmeteal, addPLC, delPLC, editPLC }
diff --git a/qd/src/api/acs/device/opcPlc.js b/qd/src/api/acs/device/opcPlc.js
deleted file mode 100644
index b083e26..0000000
--- a/qd/src/api/acs/device/opcPlc.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/opcPlc',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/opcPlc/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/opcPlc',
- method: 'put',
- data
- })
-}
-
-export function selectPlcList() {
- return request({
- url: 'api/opcPlc/selectList',
- method: 'get'
- })
-}
-
-export function selectListByOpcID(opc_uuid) {
- return request({
- url: 'api/opcPlc/selectList/' + opc_uuid,
- method: 'get'
- })
-}
-
-export default { add, edit, del, selectPlcList, selectListByOpcID }
diff --git a/qd/src/api/acs/device/storageCell.js b/qd/src/api/acs/device/storageCell.js
deleted file mode 100644
index 99d0c46..0000000
--- a/qd/src/api/acs/device/storageCell.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/storageCell',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/storageCell/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/storageCell',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/instruction/instruction.js b/qd/src/api/acs/instruction/instruction.js
deleted file mode 100644
index 38169fd..0000000
--- a/qd/src/api/acs/instruction/instruction.js
+++ /dev/null
@@ -1,66 +0,0 @@
-import request from '@/utils/request'
-
-
-export function add(data) {
- return request({
- url: 'api/instruction',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/instruction/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/instruction',
- method: 'put',
- data
- })
-}
-
-export function finish(instruction_id) {
- return request({
- url: 'api/instruction/finish/' + instruction_id,
- method: 'post',
- data: instruction_id
- })
-}
-
-export function cancel(instruction_id) {
- return request({
- url: 'api/instruction/cancel/' + instruction_id,
- method: 'post',
- data: instruction_id
- })
-}
-
-export function queryUnFinish() {
- return request({
- url: 'api/instruction/unfinish/',
- method: 'get'
- })
-}
-
-export function queryByTaskId(task_id) {
- return request({
- url: 'api/instruction/queryByTaskId/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export function reload() {
- return request({
- url: 'api/instruction/reload',
- method: 'get'
- })
-}
-
-export default { add, edit, del, finish, cancel, queryUnFinish, queryByTaskId,reload }
diff --git a/qd/src/api/acs/lucene/log.js b/qd/src/api/acs/lucene/log.js
deleted file mode 100644
index 0b7ef0a..0000000
--- a/qd/src/api/acs/lucene/log.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import request from '@/utils/request'
-
-export function delAll(id) {
- return request({
- url: 'api/lucene/' + id,
- method: 'delete'
- })
-}
-
-export default { delAll }
diff --git a/qd/src/api/acs/order/order.js b/qd/src/api/acs/order/order.js
deleted file mode 100644
index fb47e91..0000000
--- a/qd/src/api/acs/order/order.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/produceshiftorder',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/produceshiftorder/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/produceshiftorder',
- method: 'put',
- data
- })
-}
-
-export function importExcel(id) {
- return request({
- url: 'api/produceshiftorder/importExcel/' + id,
- method: 'get'
- })
-}
-
-export default { add, edit, del, importExcel }
diff --git a/qd/src/api/acs/route/routeLine.js b/qd/src/api/acs/route/routeLine.js
deleted file mode 100644
index afa39c0..0000000
--- a/qd/src/api/acs/route/routeLine.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/routeLine',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/routeLine/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/routeLine',
- method: 'put',
- data
- })
-}export function enabled(data) {
- return request({
- url: 'api/routeLine/enabled',
- method: 'put',
- data
- })
-}
-
-export function reload() {
- return request({
- url: 'api/routeLine/reload',
- method: 'get'
- })
-}
-
-export default { add, edit, del,enabled,reload }
diff --git a/qd/src/api/acs/route/routeLoc.js b/qd/src/api/acs/route/routeLoc.js
deleted file mode 100644
index 4a5ca87..0000000
--- a/qd/src/api/acs/route/routeLoc.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/routeLoc',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/routeLoc/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/routeLoc',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/route/routePlan.js b/qd/src/api/acs/route/routePlan.js
deleted file mode 100644
index 43ee1d6..0000000
--- a/qd/src/api/acs/route/routePlan.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/routePlan',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/routePlan/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/routePlan',
- method: 'put',
- data
- })
-}
-
-export function selectList() {
- return request({
- url: 'api/routePlan/selectList',
- method: 'get'
- })
-}
-export function getRoute(device_code, next_device_code, route_plan_code) {
- return request({
- url: '/api/routeLine/getShortPathLines?device_code=' + device_code + '&next_device_code=' + next_device_code + '&route_plan_code=' + route_plan_code,
- method: 'post'
- })
-}
-
-export default { add, edit, del, selectList, getRoute }
diff --git a/qd/src/api/acs/stage/actor.js b/qd/src/api/acs/stage/actor.js
deleted file mode 100644
index bf0d14a..0000000
--- a/qd/src/api/acs/stage/actor.js
+++ /dev/null
@@ -1,42 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/stageActor',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/stageActor/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/stageActor',
- method: 'put',
- data
- })
-}
-
-export function saveData(data) {
- return request({
- url: 'api/stageActor/saveData',
- method: 'post',
- data
- })
-}
-
-export function queryStageActor(stage_code) {
- return request({
- url: 'api/stageActor/queryStageActor/' + stage_code,
- method: 'get'
- })
-}
-
-export default { add, edit, del, saveData, queryStageActor }
diff --git a/qd/src/api/acs/stage/stage.js b/qd/src/api/acs/stage/stage.js
deleted file mode 100644
index 2cb059e..0000000
--- a/qd/src/api/acs/stage/stage.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/stage',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/stage/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/stage',
- method: 'put',
- data
- })
-}
-
-export function selectStageList() {
- return request({
- url: 'api/stage/selectList',
- method: 'get'
- })
-}
-
-export default { add, edit, del,selectStageList }
diff --git a/qd/src/api/acs/stage/stageImage.js b/qd/src/api/acs/stage/stageImage.js
deleted file mode 100644
index 2dfb67b..0000000
--- a/qd/src/api/acs/stage/stageImage.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/stageImage',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/stageImage/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/stageImage',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/acs/task/task.js b/qd/src/api/acs/task/task.js
deleted file mode 100644
index 9e9e588..0000000
--- a/qd/src/api/acs/task/task.js
+++ /dev/null
@@ -1,124 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/task',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/task/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/task',
- method: 'put',
- data
- })
-}
-
-export function finish(task_id) {
- return request({
- url: 'api/task/finish/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export function cancel(task_id) {
- return request({
- url: 'api/task/cancel/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export function createInst(task_id) {
- return request({
- url: 'api/task/createInst/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export function reload() {
- return request({
- url: 'api/task/reload',
- method: 'get'
- })
-}
-
-export function stopTask(data) {
- return request({
- url: 'api/task/stopTask',
- method: 'post',
- data
- })
-}
-
-export function restoreTask(data) {
- return request({
- url: 'api/task/restoreTask',
- method: 'post',
- data
- })
-}
-
-export function createTaskByClick(data) {
- return request({
- url: 'api/task/createTaskByClick',
- method: 'post',
- data
- })
-}
-
-export function queryTaskTreeRecord(data) {
- return request({
- url: 'api/task/queryTaskTreeRecord',
- method: 'post',
- data
- })
-}
-
-export function deviceAskTask(data) {
- return request({
- url: 'api/task/deviceAskTask',
- method: 'post',
- data
- })
-}
-
-export function ordinaryTaskCreate(data) {
- return request({
- url: 'api/task/adds',
- method: 'post',
- data
- })
-}
-
-export function specialTaskCreate(data) {
- return request({
- url: 'api/task/addes',
- method: 'post',
- data
- })
-}
-
-export function hssavetask(data) {
- return request({
- url: 'api/task/hssavetask',
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del, finish, cancel, createTaskByClick, deviceAskTask, ordinaryTaskCreate, specialTaskCreate,
- createInst, reload, hssavetask, stopTask, restoreTask }
-
diff --git a/qd/src/api/acs/task/taskFeedback.js b/qd/src/api/acs/task/taskFeedback.js
deleted file mode 100644
index f87924e..0000000
--- a/qd/src/api/acs/task/taskFeedback.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import request from '@/utils/request'
-
-export function retry(task_id) {
- return request({
- url: 'api/taskFeedback/retry/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export function invalid(task_id) {
- return request({
- url: 'api/taskFeedback/invalid/' + task_id,
- method: 'post',
- data: task_id
- })
-}
-
-export default { retry, invalid }
diff --git a/qd/src/api/acs/test/test.js b/qd/src/api/acs/test/test.js
deleted file mode 100644
index d975297..0000000
--- a/qd/src/api/acs/test/test.js
+++ /dev/null
@@ -1,55 +0,0 @@
-import request from '@/utils/request'
-
-export function test1() {
- return request({
- url: 'api/test/test1',
- method: 'post'
- })
-}
-
-export function test2() {
- return request({
- url: 'api/test/test2',
- method: 'post'
- })
-}
-
-export function test3() {
- return request({
- url: 'api/test/test3',
- method: 'post'
- })
-}
-
-export function test4(data) {
- return request({
- url: 'api/test/test4',
- method: 'post',
- data
- })
-}
-
-export function test5() {
- return request({
- url: 'api/test/test5',
- method: 'post'
- })
-}
-
-export function test6(data) {
- return request({
- url: 'api/test/test6',
- method: 'post',
- data
- })
-}
-
-export function print() {
- return request({
- url: 'api/test/print',
- method: 'post'
- })
-}
-
-export default { test1, test2, test3, test4, test5, test6, print }
-
diff --git a/qd/src/api/data.js b/qd/src/api/data.js
deleted file mode 100644
index 989cb23..0000000
--- a/qd/src/api/data.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import request from '@/utils/request'
-import qs from 'qs'
-
-export function initData(url, params) {
- if (params.createTime) {
- params.begin_time = params.createTime[0]
- params.end_time = params.createTime[1]
- }
- return request({
- url: url + '?' + qs.stringify(params, { indices: false }),
- method: 'get'
- })
-}
-
-export function download(url, params) {
- return request({
- url: url + '?' + qs.stringify(params, { indices: false }),
- method: 'get',
- responseType: 'blob'
- })
-}
diff --git a/qd/src/api/generator/genConfig.js b/qd/src/api/generator/genConfig.js
deleted file mode 100644
index e15b200..0000000
--- a/qd/src/api/generator/genConfig.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import request from '@/utils/request'
-
-export function get(tableName) {
- return request({
- url: 'api/genConfig/' + tableName,
- method: 'get'
- })
-}
-
-export function update(data) {
- return request({
- url: 'api/genConfig',
- data,
- method: 'put'
- })
-}
diff --git a/qd/src/api/generator/generator.js b/qd/src/api/generator/generator.js
deleted file mode 100644
index 0c49718..0000000
--- a/qd/src/api/generator/generator.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import request from '@/utils/request'
-
-export function getAllTable() {
- return request({
- url: 'api/generator/tables/all',
- method: 'get'
- })
-}
-
-export function generator(tableName, type) {
- return request({
- url: 'api/generator/' + tableName + '/' + type,
- method: 'post',
- responseType: type === 2 ? 'blob' : ''
- })
-}
-
-export function save(data) {
- return request({
- url: 'api/generator',
- data,
- method: 'put'
- })
-}
-
-export function sync(tables) {
- return request({
- url: 'api/generator/sync',
- method: 'post',
- data: tables
- })
-}
-
diff --git a/qd/src/api/log.js b/qd/src/api/log.js
deleted file mode 100644
index bfb4757..0000000
--- a/qd/src/api/log.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/log',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/log/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/log',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/login.js b/qd/src/api/login.js
deleted file mode 100644
index fe257d2..0000000
--- a/qd/src/api/login.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import request from '@/utils/request'
-
-export function login(username, password, code, uuid) {
- return request({
- url: 'auth/login',
- method: 'post',
- data: {
- username,
- password,
- code,
- uuid
- }
- })
-}
-
-export function getInfo() {
- return request({
- url: 'auth/info',
- method: 'get'
- })
-}
-
-export function getCodeImg() {
- return request({
- url: 'auth/code',
- method: 'get'
- })
-}
-
-export function logout() {
- return request({
- url: 'auth/logout',
- method: 'delete'
- })
-}
diff --git a/qd/src/api/mnt/app.js b/qd/src/api/mnt/app.js
deleted file mode 100644
index 2a27054..0000000
--- a/qd/src/api/mnt/app.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/app',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/app',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/app',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/mnt/connect.js b/qd/src/api/mnt/connect.js
deleted file mode 100644
index 1bbe90b..0000000
--- a/qd/src/api/mnt/connect.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import request from '@/utils/request'
-
-export function testDbConnect(data) {
- return request({
- url: 'api/database/testConnect',
- method: 'post',
- data
- })
-}
-
-export function testServerConnect(data) {
- return request({
- url: 'api/serverDeploy/testConnect',
- method: 'post',
- data
- })
-}
diff --git a/qd/src/api/mnt/database.js b/qd/src/api/mnt/database.js
deleted file mode 100644
index 91797fb..0000000
--- a/qd/src/api/mnt/database.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/database',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/database',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/database',
- method: 'put',
- data
- })
-}
-
-export function testDbConnection(data) {
- return request({
- url: 'api/database/testConnect',
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del, testDbConnection }
diff --git a/qd/src/api/mnt/deploy.js b/qd/src/api/mnt/deploy.js
deleted file mode 100644
index c1475ea..0000000
--- a/qd/src/api/mnt/deploy.js
+++ /dev/null
@@ -1,77 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/deploy',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/deploy',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/deploy',
- method: 'put',
- data
- })
-}
-
-export function getApps() {
- return request({
- url: 'api/app',
- method: 'get'
- })
-}
-
-export function getServers() {
- return request({
- url: 'api/serverDeploy',
- method: 'get'
- })
-}
-
-/**
- * 启动服务
- * @param data 选中行
- */
-export function startServer(data) {
- return request({
- url: 'api/deploy/startServer',
- method: 'post',
- data
- })
-}
-
-/**
- * 停止服务
- * @param data 选中行
- */
-export function stopServer(data) {
- return request({
- url: 'api/deploy/stopServer',
- method: 'post',
- data
- })
-}
-
-/**
- * 停止服务
- * @param data 选中行
- */
-export function serverStatus(data) {
- return request({
- url: 'api/deploy/serverStatus',
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del, stopServer, serverStatus, startServer, getServers, getApps }
diff --git a/qd/src/api/mnt/deployHistory.js b/qd/src/api/mnt/deployHistory.js
deleted file mode 100644
index 30335e4..0000000
--- a/qd/src/api/mnt/deployHistory.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import request from '@/utils/request'
-
-export function del(ids) {
- return request({
- url: 'api/deployHistory',
- method: 'delete',
- data: ids
- })
-}
-
-/**
- * 版本回退
- * @param data 选中行
- */
-export function reducte(data) {
- return request({
- url: 'api/deploy/serverReduction',
- method: 'post',
- data
- })
-}
diff --git a/qd/src/api/mnt/serverDeploy.js b/qd/src/api/mnt/serverDeploy.js
deleted file mode 100644
index e796114..0000000
--- a/qd/src/api/mnt/serverDeploy.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/serverDeploy',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/serverDeploy',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/serverDeploy',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/monitor/log.js b/qd/src/api/monitor/log.js
deleted file mode 100644
index 5a94ea9..0000000
--- a/qd/src/api/monitor/log.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import request from '@/utils/request'
-
-export function getErrDetail(id) {
- return request({
- url: 'api/logs/error/' + id,
- method: 'get'
- })
-}
-
-export function delAllError() {
- return request({
- url: 'api/logs/del/error',
- method: 'delete'
- })
-}
-
-export function delAllInfo() {
- return request({
- url: 'api/logs/del/info',
- method: 'delete'
- })
-}
-
-export function logQuery() {
- return request({
- url: 'api/logs/logquery',
- method: 'get'
- })
-}
diff --git a/qd/src/api/monitor/online.js b/qd/src/api/monitor/online.js
deleted file mode 100644
index 057275b..0000000
--- a/qd/src/api/monitor/online.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import request from '@/utils/request'
-
-export function del(keys) {
- return request({
- url: 'auth/online',
- method: 'delete',
- data: keys
- })
-}
diff --git a/qd/src/api/system/autorun.js b/qd/src/api/system/autorun.js
deleted file mode 100644
index 399a7ba..0000000
--- a/qd/src/api/system/autorun.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import request from '@/utils/request'
-
-export function getAll() {
- return request({
- url: 'api/autorun',
- method: 'get'
- })
-}
-
-export function start(id) {
- return request({
- url: 'api/autorun/start/' + id,
- method: 'put'
- })
-} export function stop(id) {
- return request({
- url: 'api/autorun/stop/' + id,
- method: 'put'
- })
-}
-
-export default { start, stop }
diff --git a/qd/src/api/system/code.js b/qd/src/api/system/code.js
deleted file mode 100644
index 0d2e4c2..0000000
--- a/qd/src/api/system/code.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import request from '@/utils/request'
-
-export function resetEmail(data) {
- return request({
- url: 'api/code/resetEmail?email=' + data,
- method: 'post'
- })
-}
-
-export function updatePass(pass) {
- return request({
- url: 'api/users/updatePass/' + pass,
- method: 'get'
- })
-}
diff --git a/qd/src/api/system/dept.js b/qd/src/api/system/dept.js
deleted file mode 100644
index ed4f944..0000000
--- a/qd/src/api/system/dept.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import request from '@/utils/request'
-
-export function getDepts(params) {
- return request({
- url: 'api/dept',
- method: 'get',
- params
- })
-}
-
-export function getDeptSuperior(ids) {
- const data = ids.length || ids.length === 0 ? ids : Array.of(ids)
- return request({
- url: 'api/dept/superior',
- method: 'post',
- data
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/dept',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/dept',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/dept',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del, getDepts, getDeptSuperior }
diff --git a/qd/src/api/system/dict.js b/qd/src/api/system/dict.js
deleted file mode 100644
index 99170f7..0000000
--- a/qd/src/api/system/dict.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import request from '@/utils/request'
-
-export function getDicts() {
- return request({
- url: 'api/dict/all',
- method: 'get'
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/dict',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/dict/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/dict',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/system/dictDetail.js b/qd/src/api/system/dictDetail.js
deleted file mode 100644
index e8dc512..0000000
--- a/qd/src/api/system/dictDetail.js
+++ /dev/null
@@ -1,52 +0,0 @@
-import request from '@/utils/request'
-
-export function get(dictName) {
- const params = {
- dictName,
- page: 0,
- size: 9999
- }
- return request({
- url: 'api/dictDetail',
- method: 'get',
- params
- })
-}
-
-export function getDictMap(dictName) {
- const params = {
- dictName,
- page: 0,
- size: 9999
- }
- return request({
- url: 'api/dictDetail/map',
- method: 'get',
- params
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/dictDetail',
- method: 'post',
- data
- })
-}
-
-export function del(id) {
- return request({
- url: 'api/dictDetail/' + id,
- method: 'delete'
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/dictDetail',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/system/genCode.js b/qd/src/api/system/genCode.js
deleted file mode 100644
index 416f8e9..0000000
--- a/qd/src/api/system/genCode.js
+++ /dev/null
@@ -1,36 +0,0 @@
-import request from '@/utils/request'
-
-export function getGenCode() {
- return request({
- url: 'api/genCode/all',
- method: 'get'
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/genCode',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/genCode/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/genCode/',
- method: 'put',
- data
- })
-}
-
-export default {
- add, del, edit
-}
diff --git a/qd/src/api/system/job.js b/qd/src/api/system/job.js
deleted file mode 100644
index a00630e..0000000
--- a/qd/src/api/system/job.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import request from '@/utils/request'
-
-export function getAllJob() {
- const params = {
- page: 0,
- size: 9999,
- enabled: true
- }
- return request({
- url: 'api/job',
- method: 'get',
- params
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/job',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/job',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/job',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/system/menu.js b/qd/src/api/system/menu.js
deleted file mode 100644
index 3298543..0000000
--- a/qd/src/api/system/menu.js
+++ /dev/null
@@ -1,65 +0,0 @@
-import request from '@/utils/request'
-
-export function getMenusTree(pid) {
- return request({
- url: 'api/menus/lazy?pid=' + pid,
- method: 'get'
- })
-}
-
-export function getMenus(params) {
- return request({
- url: 'api/menus',
- method: 'get',
- params
- })
-}
-
-export function getMenuSuperior(ids) {
- const data = ids.length || ids.length === 0 ? ids : Array.of(ids)
- return request({
- url: 'api/menus/superior',
- method: 'post',
- data
- })
-}
-
-export function getChild(id) {
- return request({
- url: 'api/menus/child?id=' + id,
- method: 'get'
- })
-}
-
-export function buildMenus() {
- return request({
- url: 'api/menus/build',
- method: 'get'
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/menus',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/menus',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/menus',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del, getMenusTree, getMenuSuperior, getMenus, getChild }
diff --git a/qd/src/api/system/param.js b/qd/src/api/system/param.js
deleted file mode 100644
index 0763489..0000000
--- a/qd/src/api/system/param.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/param',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/param/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/param',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/system/role.js b/qd/src/api/system/role.js
deleted file mode 100644
index 1f7bc1e..0000000
--- a/qd/src/api/system/role.js
+++ /dev/null
@@ -1,57 +0,0 @@
-import request from '@/utils/request'
-
-// 获取所有的Role
-export function getAll() {
- return request({
- url: 'api/roles/all',
- method: 'get'
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/roles',
- method: 'post',
- data
- })
-}
-
-export function get(id) {
- return request({
- url: 'api/roles/' + id,
- method: 'get'
- })
-}
-
-export function getLevel() {
- return request({
- url: 'api/roles/level',
- method: 'get'
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/roles',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/roles',
- method: 'put',
- data
- })
-}
-
-export function editMenu(data) {
- return request({
- url: 'api/roles/menu',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del, get, editMenu, getLevel }
diff --git a/qd/src/api/system/timing.js b/qd/src/api/system/timing.js
deleted file mode 100644
index 613e15f..0000000
--- a/qd/src/api/system/timing.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/jobs',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/jobs',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/jobs',
- method: 'put',
- data
- })
-}
-
-export function updateIsPause(id) {
- return request({
- url: 'api/jobs/' + id,
- method: 'put'
- })
-}
-
-export function execution(id) {
- return request({
- url: 'api/jobs/exec/' + id,
- method: 'put'
- })
-}
-
-export default { del, updateIsPause, execution, add, edit }
diff --git a/qd/src/api/system/user.js b/qd/src/api/system/user.js
deleted file mode 100644
index 6cd91a5..0000000
--- a/qd/src/api/system/user.js
+++ /dev/null
@@ -1,61 +0,0 @@
-import request from '@/utils/request'
-import { encrypt } from '@/utils/rsaEncrypt'
-
-export function add(data) {
- return request({
- url: 'api/users',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/users',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/users',
- method: 'put',
- data
- })
-}
-
-export function editUser(data) {
- return request({
- url: 'api/users/center',
- method: 'put',
- data
- })
-}
-
-export function updatePass(user) {
- const data = {
- oldPass: encrypt(user.oldPass),
- newPass: encrypt(user.newPass)
- }
- return request({
- url: 'api/users/updatePass/',
- method: 'post',
- data
- })
-}
-
-export function updateEmail(form) {
- const data = {
- password: encrypt(form.pass),
- email: form.email
- }
- return request({
- url: 'api/users/updateEmail/' + form.code,
- method: 'post',
- data
- })
-}
-
-export default { add, edit, del }
-
diff --git a/qd/src/api/tools/alipay.js b/qd/src/api/tools/alipay.js
deleted file mode 100644
index 54090f5..0000000
--- a/qd/src/api/tools/alipay.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import request from '@/utils/request'
-
-export function get() {
- return request({
- url: 'api/aliPay',
- method: 'get'
- })
-}
-
-export function update(data) {
- return request({
- url: 'api/aliPay',
- data,
- method: 'put'
- })
-}
-
-// 支付
-export function toAliPay(url, data) {
- return request({
- url: 'api/' + url,
- data,
- method: 'post'
- })
-}
diff --git a/qd/src/api/tools/codeDetail.js b/qd/src/api/tools/codeDetail.js
deleted file mode 100644
index bc295ab..0000000
--- a/qd/src/api/tools/codeDetail.js
+++ /dev/null
@@ -1,39 +0,0 @@
-import request from '@/utils/request'
-
-export function get(dictName) {
- const params = {
- dictName,
- page: 0,
- size: 9999
- }
- return request({
- url: 'api/codeDetail',
- method: 'get',
- params
- })
-}
-
-export function add(data) {
- return request({
- url: 'api/codeDetail',
- method: 'post',
- data
- })
-}
-
-export function del(id) {
- return request({
- url: 'api/codeDetail/' + id,
- method: 'delete'
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/codeDetail',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/tools/email.js b/qd/src/api/tools/email.js
deleted file mode 100644
index af030cb..0000000
--- a/qd/src/api/tools/email.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import request from '@/utils/request'
-
-export function get() {
- return request({
- url: 'api/email',
- method: 'get'
- })
-}
-
-export function update(data) {
- return request({
- url: 'api/email',
- data,
- method: 'put'
- })
-}
-
-export function send(data) {
- return request({
- url: 'api/email',
- data,
- method: 'post'
- })
-}
diff --git a/qd/src/api/tools/localStorage.js b/qd/src/api/tools/localStorage.js
deleted file mode 100644
index 63ebe2b..0000000
--- a/qd/src/api/tools/localStorage.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import request from '@/utils/request'
-
-export function add(data) {
- return request({
- url: 'api/localStorage',
- method: 'post',
- data
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/localStorage/',
- method: 'delete',
- data: ids
- })
-}
-
-export function edit(data) {
- return request({
- url: 'api/localStorage',
- method: 'put',
- data
- })
-}
-
-export default { add, edit, del }
diff --git a/qd/src/api/tools/qiniu.js b/qd/src/api/tools/qiniu.js
deleted file mode 100644
index 6d56771..0000000
--- a/qd/src/api/tools/qiniu.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import request from '@/utils/request'
-
-export function get() {
- return request({
- url: 'api/qiNiuContent/config',
- method: 'get'
- })
-}
-
-export function update(data) {
- return request({
- url: 'api/qiNiuContent/config',
- data,
- method: 'put'
- })
-}
-
-export function download(id) {
- return request({
- url: 'api/qiNiuContent/download/' + id,
- method: 'get'
- })
-}
-
-export function sync() {
- return request({
- url: 'api/qiNiuContent/synchronize',
- method: 'post'
- })
-}
-
-export function del(ids) {
- return request({
- url: 'api/qiNiuContent',
- method: 'delete',
- data: ids
- })
-}
-
-export default { del, download, sync }
diff --git a/qd/src/assets/401_images/401.gif b/qd/src/assets/401_images/401.gif
deleted file mode 100644
index cd6e0d9..0000000
Binary files a/qd/src/assets/401_images/401.gif and /dev/null differ
diff --git a/qd/src/assets/404_images/404.png b/qd/src/assets/404_images/404.png
deleted file mode 100644
index 3d8e230..0000000
Binary files a/qd/src/assets/404_images/404.png and /dev/null differ
diff --git a/qd/src/assets/404_images/404_cloud.png b/qd/src/assets/404_images/404_cloud.png
deleted file mode 100644
index c6281d0..0000000
Binary files a/qd/src/assets/404_images/404_cloud.png and /dev/null differ
diff --git a/qd/src/assets/acs/1.png b/qd/src/assets/acs/1.png
deleted file mode 100644
index 1ec6a1a..0000000
Binary files a/qd/src/assets/acs/1.png and /dev/null differ
diff --git a/qd/src/assets/acs/AGV.png b/qd/src/assets/acs/AGV.png
deleted file mode 100644
index 79f880b..0000000
Binary files a/qd/src/assets/acs/AGV.png and /dev/null differ
diff --git a/qd/src/assets/acs/AGV1.png b/qd/src/assets/acs/AGV1.png
deleted file mode 100644
index 125d830..0000000
Binary files a/qd/src/assets/acs/AGV1.png and /dev/null differ
diff --git a/qd/src/assets/acs/BCR.png b/qd/src/assets/acs/BCR.png
deleted file mode 100644
index f5f010f..0000000
Binary files a/qd/src/assets/acs/BCR.png and /dev/null differ
diff --git a/qd/src/assets/acs/BCR1.png b/qd/src/assets/acs/BCR1.png
deleted file mode 100644
index 4258b1b..0000000
Binary files a/qd/src/assets/acs/BCR1.png and /dev/null differ
diff --git a/qd/src/assets/acs/CPJ.png b/qd/src/assets/acs/CPJ.png
deleted file mode 100644
index 5735dcf..0000000
Binary files a/qd/src/assets/acs/CPJ.png and /dev/null differ
diff --git a/qd/src/assets/acs/DDJ.png b/qd/src/assets/acs/DDJ.png
deleted file mode 100644
index 17c470a..0000000
Binary files a/qd/src/assets/acs/DDJ.png and /dev/null differ
diff --git a/qd/src/assets/acs/DDJ1.png b/qd/src/assets/acs/DDJ1.png
deleted file mode 100644
index 8910084..0000000
Binary files a/qd/src/assets/acs/DDJ1.png and /dev/null differ
diff --git a/qd/src/assets/acs/HPJ.png b/qd/src/assets/acs/HPJ.png
deleted file mode 100644
index 28c0a35..0000000
Binary files a/qd/src/assets/acs/HPJ.png and /dev/null differ
diff --git a/qd/src/assets/acs/SSJ.png b/qd/src/assets/acs/SSJ.png
deleted file mode 100644
index aff6b5b..0000000
Binary files a/qd/src/assets/acs/SSJ.png and /dev/null differ
diff --git a/qd/src/assets/acs/SSJ1.png b/qd/src/assets/acs/SSJ1.png
deleted file mode 100644
index 6d1009f..0000000
Binary files a/qd/src/assets/acs/SSJ1.png and /dev/null differ
diff --git a/qd/src/assets/acs/del_new.png b/qd/src/assets/acs/del_new.png
deleted file mode 100644
index 85c9fdc..0000000
Binary files a/qd/src/assets/acs/del_new.png and /dev/null differ
diff --git a/qd/src/assets/acs/home_agv.png b/qd/src/assets/acs/home_agv.png
deleted file mode 100644
index d73781d..0000000
Binary files a/qd/src/assets/acs/home_agv.png and /dev/null differ
diff --git a/qd/src/assets/acs/icon_alert.png b/qd/src/assets/acs/icon_alert.png
deleted file mode 100644
index c224792..0000000
Binary files a/qd/src/assets/acs/icon_alert.png and /dev/null differ
diff --git a/qd/src/assets/acs/icon_alert2.png b/qd/src/assets/acs/icon_alert2.png
deleted file mode 100644
index 4498bf5..0000000
Binary files a/qd/src/assets/acs/icon_alert2.png and /dev/null differ
diff --git a/qd/src/assets/acs/status0.png b/qd/src/assets/acs/status0.png
deleted file mode 100644
index 7830af7..0000000
Binary files a/qd/src/assets/acs/status0.png and /dev/null differ
diff --git a/qd/src/assets/acs/status1.png b/qd/src/assets/acs/status1.png
deleted file mode 100644
index d0d0a4b..0000000
Binary files a/qd/src/assets/acs/status1.png and /dev/null differ
diff --git a/qd/src/assets/acs/undefined.png b/qd/src/assets/acs/undefined.png
deleted file mode 100644
index 79f880b..0000000
Binary files a/qd/src/assets/acs/undefined.png and /dev/null differ
diff --git a/qd/src/assets/acs/区域横.png b/qd/src/assets/acs/区域横.png
deleted file mode 100644
index 03f930c..0000000
Binary files a/qd/src/assets/acs/区域横.png and /dev/null differ
diff --git a/qd/src/assets/acs/区域竖.png b/qd/src/assets/acs/区域竖.png
deleted file mode 100644
index 25135ac..0000000
Binary files a/qd/src/assets/acs/区域竖.png and /dev/null differ
diff --git a/qd/src/assets/acs/叠盘机.png b/qd/src/assets/acs/叠盘机.png
deleted file mode 100644
index 273ae2c..0000000
Binary files a/qd/src/assets/acs/叠盘机.png and /dev/null differ
diff --git a/qd/src/assets/acs/墙面横.png b/qd/src/assets/acs/墙面横.png
deleted file mode 100644
index 53983ae..0000000
Binary files a/qd/src/assets/acs/墙面横.png and /dev/null differ
diff --git a/qd/src/assets/acs/墙面竖.png b/qd/src/assets/acs/墙面竖.png
deleted file mode 100644
index 606c486..0000000
Binary files a/qd/src/assets/acs/墙面竖.png and /dev/null differ
diff --git a/qd/src/assets/acs/常温.png b/qd/src/assets/acs/常温.png
deleted file mode 100644
index 9278ba2..0000000
Binary files a/qd/src/assets/acs/常温.png and /dev/null differ
diff --git a/qd/src/assets/acs/常温1.png b/qd/src/assets/acs/常温1.png
deleted file mode 100644
index 358d41d..0000000
Binary files a/qd/src/assets/acs/常温1.png and /dev/null differ
diff --git a/qd/src/assets/acs/托盘.png b/qd/src/assets/acs/托盘.png
deleted file mode 100644
index b19456a..0000000
Binary files a/qd/src/assets/acs/托盘.png and /dev/null differ
diff --git a/qd/src/assets/acs/机械手.png b/qd/src/assets/acs/机械手.png
deleted file mode 100644
index b0c91b0..0000000
Binary files a/qd/src/assets/acs/机械手.png and /dev/null differ
diff --git a/qd/src/assets/acs/滚筒输送机.png b/qd/src/assets/acs/滚筒输送机.png
deleted file mode 100644
index 651a2f9..0000000
Binary files a/qd/src/assets/acs/滚筒输送机.png and /dev/null differ
diff --git a/qd/src/assets/acs/站点.png b/qd/src/assets/acs/站点.png
deleted file mode 100644
index 4536767..0000000
Binary files a/qd/src/assets/acs/站点.png and /dev/null differ
diff --git a/qd/src/assets/acs/虚拟点位.png b/qd/src/assets/acs/虚拟点位.png
deleted file mode 100644
index 19f1c0c..0000000
Binary files a/qd/src/assets/acs/虚拟点位.png and /dev/null differ
diff --git a/qd/src/assets/acs/货台.png b/qd/src/assets/acs/货台.png
deleted file mode 100644
index 7628200..0000000
Binary files a/qd/src/assets/acs/货台.png and /dev/null differ
diff --git a/qd/src/assets/icons/index.js b/qd/src/assets/icons/index.js
deleted file mode 100644
index 2c6b309..0000000
--- a/qd/src/assets/icons/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import Vue from 'vue'
-import SvgIcon from '@/components/SvgIcon'// svg component
-
-// register globally
-Vue.component('svg-icon', SvgIcon)
-
-const req = require.context('./svg', false, /\.svg$/)
-const requireAll = requireContext => requireContext.keys().map(requireContext)
-requireAll(req)
diff --git a/qd/src/assets/icons/svg/Steve-Jobs.svg b/qd/src/assets/icons/svg/Steve-Jobs.svg
deleted file mode 100644
index 53843e2..0000000
--- a/qd/src/assets/icons/svg/Steve-Jobs.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/alipay.svg b/qd/src/assets/icons/svg/alipay.svg
deleted file mode 100644
index 9138981..0000000
--- a/qd/src/assets/icons/svg/alipay.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/anq.svg b/qd/src/assets/icons/svg/anq.svg
deleted file mode 100644
index a466608..0000000
--- a/qd/src/assets/icons/svg/anq.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/app.svg b/qd/src/assets/icons/svg/app.svg
deleted file mode 100644
index 0796da3..0000000
--- a/qd/src/assets/icons/svg/app.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/backup.svg b/qd/src/assets/icons/svg/backup.svg
deleted file mode 100644
index a3272a4..0000000
--- a/qd/src/assets/icons/svg/backup.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/chain.svg b/qd/src/assets/icons/svg/chain.svg
deleted file mode 100644
index ed3317f..0000000
--- a/qd/src/assets/icons/svg/chain.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/chart.svg b/qd/src/assets/icons/svg/chart.svg
deleted file mode 100644
index 27728fb..0000000
--- a/qd/src/assets/icons/svg/chart.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/codeConsole.svg b/qd/src/assets/icons/svg/codeConsole.svg
deleted file mode 100644
index 672ec6e..0000000
--- a/qd/src/assets/icons/svg/codeConsole.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/dashboard.svg b/qd/src/assets/icons/svg/dashboard.svg
deleted file mode 100644
index 5317d37..0000000
--- a/qd/src/assets/icons/svg/dashboard.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/database.svg b/qd/src/assets/icons/svg/database.svg
deleted file mode 100644
index 7fbad9b..0000000
--- a/qd/src/assets/icons/svg/database.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/date.svg b/qd/src/assets/icons/svg/date.svg
deleted file mode 100644
index 0540e99..0000000
--- a/qd/src/assets/icons/svg/date.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/deploy.svg b/qd/src/assets/icons/svg/deploy.svg
deleted file mode 100644
index f4a1c56..0000000
--- a/qd/src/assets/icons/svg/deploy.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/dept.svg b/qd/src/assets/icons/svg/dept.svg
deleted file mode 100644
index 894e4bf..0000000
--- a/qd/src/assets/icons/svg/dept.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/dev.svg b/qd/src/assets/icons/svg/dev.svg
deleted file mode 100644
index ed4d23c..0000000
--- a/qd/src/assets/icons/svg/dev.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/develop.svg b/qd/src/assets/icons/svg/develop.svg
deleted file mode 100644
index e189223..0000000
--- a/qd/src/assets/icons/svg/develop.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/dictionary.svg b/qd/src/assets/icons/svg/dictionary.svg
deleted file mode 100644
index 6e83c43..0000000
--- a/qd/src/assets/icons/svg/dictionary.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/doc.svg b/qd/src/assets/icons/svg/doc.svg
deleted file mode 100644
index 9160de8..0000000
--- a/qd/src/assets/icons/svg/doc.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/download.svg b/qd/src/assets/icons/svg/download.svg
deleted file mode 100644
index 0243c6a..0000000
--- a/qd/src/assets/icons/svg/download.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/edit.svg b/qd/src/assets/icons/svg/edit.svg
deleted file mode 100644
index d26101f..0000000
--- a/qd/src/assets/icons/svg/edit.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/education.svg b/qd/src/assets/icons/svg/education.svg
deleted file mode 100644
index 7bfb01d..0000000
--- a/qd/src/assets/icons/svg/education.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/email.svg b/qd/src/assets/icons/svg/email.svg
deleted file mode 100644
index f1cf3ae..0000000
--- a/qd/src/assets/icons/svg/email.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/erp.svg b/qd/src/assets/icons/svg/erp.svg
deleted file mode 100644
index f14ced2..0000000
--- a/qd/src/assets/icons/svg/erp.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/error.svg b/qd/src/assets/icons/svg/error.svg
deleted file mode 100644
index fd935da..0000000
--- a/qd/src/assets/icons/svg/error.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/exit-fullscreen.svg b/qd/src/assets/icons/svg/exit-fullscreen.svg
deleted file mode 100644
index 485c128..0000000
--- a/qd/src/assets/icons/svg/exit-fullscreen.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/fullscreen.svg b/qd/src/assets/icons/svg/fullscreen.svg
deleted file mode 100644
index 0e86b6f..0000000
--- a/qd/src/assets/icons/svg/fullscreen.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/fwb.svg b/qd/src/assets/icons/svg/fwb.svg
deleted file mode 100644
index 59933fc..0000000
--- a/qd/src/assets/icons/svg/fwb.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/github.svg b/qd/src/assets/icons/svg/github.svg
deleted file mode 100644
index 8145e95..0000000
--- a/qd/src/assets/icons/svg/github.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/gonggao.svg b/qd/src/assets/icons/svg/gonggao.svg
deleted file mode 100644
index 22aed08..0000000
--- a/qd/src/assets/icons/svg/gonggao.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/icon.svg b/qd/src/assets/icons/svg/icon.svg
deleted file mode 100644
index 82fbdd9..0000000
--- a/qd/src/assets/icons/svg/icon.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/image.svg b/qd/src/assets/icons/svg/image.svg
deleted file mode 100644
index 16d572f..0000000
--- a/qd/src/assets/icons/svg/image.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/index.svg b/qd/src/assets/icons/svg/index.svg
deleted file mode 100644
index fdb3826..0000000
--- a/qd/src/assets/icons/svg/index.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/international.svg b/qd/src/assets/icons/svg/international.svg
deleted file mode 100644
index e9b56ee..0000000
--- a/qd/src/assets/icons/svg/international.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/ipvisits.svg b/qd/src/assets/icons/svg/ipvisits.svg
deleted file mode 100644
index 4ca473d..0000000
--- a/qd/src/assets/icons/svg/ipvisits.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/java.svg b/qd/src/assets/icons/svg/java.svg
deleted file mode 100644
index e2effbb..0000000
--- a/qd/src/assets/icons/svg/java.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/link.svg b/qd/src/assets/icons/svg/link.svg
deleted file mode 100644
index 48197ba..0000000
--- a/qd/src/assets/icons/svg/link.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/list.svg b/qd/src/assets/icons/svg/list.svg
deleted file mode 100644
index 20259ed..0000000
--- a/qd/src/assets/icons/svg/list.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/lock.svg b/qd/src/assets/icons/svg/lock.svg
deleted file mode 100644
index 0f842ea..0000000
--- a/qd/src/assets/icons/svg/lock.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/log.svg b/qd/src/assets/icons/svg/log.svg
deleted file mode 100644
index 4fefe74..0000000
--- a/qd/src/assets/icons/svg/log.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/login.svg b/qd/src/assets/icons/svg/login.svg
deleted file mode 100644
index cc5a854..0000000
--- a/qd/src/assets/icons/svg/login.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/markdown.svg b/qd/src/assets/icons/svg/markdown.svg
deleted file mode 100644
index 7cd6747..0000000
--- a/qd/src/assets/icons/svg/markdown.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/menu.svg b/qd/src/assets/icons/svg/menu.svg
deleted file mode 100644
index e4360a0..0000000
--- a/qd/src/assets/icons/svg/menu.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/message.svg b/qd/src/assets/icons/svg/message.svg
deleted file mode 100644
index 14ca817..0000000
--- a/qd/src/assets/icons/svg/message.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/mnt.svg b/qd/src/assets/icons/svg/mnt.svg
deleted file mode 100644
index 502a7c0..0000000
--- a/qd/src/assets/icons/svg/mnt.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/money.svg b/qd/src/assets/icons/svg/money.svg
deleted file mode 100644
index c1580de..0000000
--- a/qd/src/assets/icons/svg/money.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/monitor.svg b/qd/src/assets/icons/svg/monitor.svg
deleted file mode 100644
index fbf0a2f..0000000
--- a/qd/src/assets/icons/svg/monitor.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/qd/src/assets/icons/svg/nested.svg b/qd/src/assets/icons/svg/nested.svg
deleted file mode 100644
index 06713a8..0000000
--- a/qd/src/assets/icons/svg/nested.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/password.svg b/qd/src/assets/icons/svg/password.svg
deleted file mode 100644
index 4ab451f..0000000
--- a/qd/src/assets/icons/svg/password.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/people.svg b/qd/src/assets/icons/svg/people.svg
deleted file mode 100644
index 2bd54ae..0000000
--- a/qd/src/assets/icons/svg/people.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/peoples.svg b/qd/src/assets/icons/svg/peoples.svg
deleted file mode 100644
index 2c91161..0000000
--- a/qd/src/assets/icons/svg/peoples.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/permission.svg b/qd/src/assets/icons/svg/permission.svg
deleted file mode 100644
index c4c7409..0000000
--- a/qd/src/assets/icons/svg/permission.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/phone.svg b/qd/src/assets/icons/svg/phone.svg
deleted file mode 100644
index da339f9..0000000
--- a/qd/src/assets/icons/svg/phone.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/qiniu.svg b/qd/src/assets/icons/svg/qiniu.svg
deleted file mode 100644
index c2f9f8b..0000000
--- a/qd/src/assets/icons/svg/qiniu.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/redis.svg b/qd/src/assets/icons/svg/redis.svg
deleted file mode 100644
index bef111b..0000000
--- a/qd/src/assets/icons/svg/redis.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/role.svg b/qd/src/assets/icons/svg/role.svg
deleted file mode 100644
index 76cb18f..0000000
--- a/qd/src/assets/icons/svg/role.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/search.svg b/qd/src/assets/icons/svg/search.svg
deleted file mode 100644
index 84233dd..0000000
--- a/qd/src/assets/icons/svg/search.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/server.svg b/qd/src/assets/icons/svg/server.svg
deleted file mode 100644
index db6dcdf..0000000
--- a/qd/src/assets/icons/svg/server.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/shopping.svg b/qd/src/assets/icons/svg/shopping.svg
deleted file mode 100644
index 87513e7..0000000
--- a/qd/src/assets/icons/svg/shopping.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/size.svg b/qd/src/assets/icons/svg/size.svg
deleted file mode 100644
index ddb25b8..0000000
--- a/qd/src/assets/icons/svg/size.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/skill.svg b/qd/src/assets/icons/svg/skill.svg
deleted file mode 100644
index a3b7312..0000000
--- a/qd/src/assets/icons/svg/skill.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/source.svg b/qd/src/assets/icons/svg/source.svg
deleted file mode 100644
index 1c3a038..0000000
--- a/qd/src/assets/icons/svg/source.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/sqlMonitor.svg b/qd/src/assets/icons/svg/sqlMonitor.svg
deleted file mode 100644
index 950a430..0000000
--- a/qd/src/assets/icons/svg/sqlMonitor.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/swagger.svg b/qd/src/assets/icons/svg/swagger.svg
deleted file mode 100644
index ded7de8..0000000
--- a/qd/src/assets/icons/svg/swagger.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/sys-tools.svg b/qd/src/assets/icons/svg/sys-tools.svg
deleted file mode 100644
index 324aa04..0000000
--- a/qd/src/assets/icons/svg/sys-tools.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/system.svg b/qd/src/assets/icons/svg/system.svg
deleted file mode 100644
index 9333c60..0000000
--- a/qd/src/assets/icons/svg/system.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/qd/src/assets/icons/svg/system1.svg b/qd/src/assets/icons/svg/system1.svg
deleted file mode 100644
index 37b0a0a..0000000
--- a/qd/src/assets/icons/svg/system1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/tab.svg b/qd/src/assets/icons/svg/tab.svg
deleted file mode 100644
index b4b48e4..0000000
--- a/qd/src/assets/icons/svg/tab.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/theme.svg b/qd/src/assets/icons/svg/theme.svg
deleted file mode 100644
index 5982a2f..0000000
--- a/qd/src/assets/icons/svg/theme.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/timing.svg b/qd/src/assets/icons/svg/timing.svg
deleted file mode 100644
index f8fdc6d..0000000
--- a/qd/src/assets/icons/svg/timing.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/tools.svg b/qd/src/assets/icons/svg/tools.svg
deleted file mode 100644
index aba1a40..0000000
--- a/qd/src/assets/icons/svg/tools.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/tree-table.svg b/qd/src/assets/icons/svg/tree-table.svg
deleted file mode 100644
index 8aafdb8..0000000
--- a/qd/src/assets/icons/svg/tree-table.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/tree.svg b/qd/src/assets/icons/svg/tree.svg
deleted file mode 100644
index dd4b7dd..0000000
--- a/qd/src/assets/icons/svg/tree.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/unlock.svg b/qd/src/assets/icons/svg/unlock.svg
deleted file mode 100644
index 1219e41..0000000
--- a/qd/src/assets/icons/svg/unlock.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/user.svg b/qd/src/assets/icons/svg/user.svg
deleted file mode 100644
index 09d7a81..0000000
--- a/qd/src/assets/icons/svg/user.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/user1.svg b/qd/src/assets/icons/svg/user1.svg
deleted file mode 100644
index 14ca51e..0000000
--- a/qd/src/assets/icons/svg/user1.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/validCode.svg b/qd/src/assets/icons/svg/validCode.svg
deleted file mode 100644
index a1feb74..0000000
--- a/qd/src/assets/icons/svg/validCode.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/visits.svg b/qd/src/assets/icons/svg/visits.svg
deleted file mode 100644
index 8425662..0000000
--- a/qd/src/assets/icons/svg/visits.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/web.svg b/qd/src/assets/icons/svg/web.svg
deleted file mode 100644
index 9c57415..0000000
--- a/qd/src/assets/icons/svg/web.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/wechat.svg b/qd/src/assets/icons/svg/wechat.svg
deleted file mode 100644
index c586e55..0000000
--- a/qd/src/assets/icons/svg/wechat.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/weixin.svg b/qd/src/assets/icons/svg/weixin.svg
deleted file mode 100644
index 8dbcfa5..0000000
--- a/qd/src/assets/icons/svg/weixin.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/zidian.svg b/qd/src/assets/icons/svg/zidian.svg
deleted file mode 100644
index 5cac6f1..0000000
--- a/qd/src/assets/icons/svg/zidian.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svg/zujian.svg b/qd/src/assets/icons/svg/zujian.svg
deleted file mode 100644
index 2aba32f..0000000
--- a/qd/src/assets/icons/svg/zujian.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/qd/src/assets/icons/svgo.yml b/qd/src/assets/icons/svgo.yml
deleted file mode 100644
index d11906a..0000000
--- a/qd/src/assets/icons/svgo.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# replace default config
-
-# multipass: true
-# full: true
-
-plugins:
-
- # - name
- #
- # or:
- # - name: false
- # - name: true
- #
- # or:
- # - name:
- # param1: 1
- # param2: 2
-
-- removeAttrs:
- attrs:
- - 'fill'
- - 'fill-rule'
diff --git a/qd/src/assets/images/avatar.png b/qd/src/assets/images/avatar.png
deleted file mode 100644
index 786c57b..0000000
Binary files a/qd/src/assets/images/avatar.png and /dev/null differ
diff --git a/qd/src/assets/images/avatar1.png b/qd/src/assets/images/avatar1.png
deleted file mode 100644
index 997732a..0000000
Binary files a/qd/src/assets/images/avatar1.png and /dev/null differ
diff --git a/qd/src/assets/images/avatar2.png b/qd/src/assets/images/avatar2.png
deleted file mode 100644
index a1660d5..0000000
Binary files a/qd/src/assets/images/avatar2.png and /dev/null differ
diff --git a/qd/src/assets/images/background.jpg b/qd/src/assets/images/background.jpg
deleted file mode 100644
index 69e6348..0000000
Binary files a/qd/src/assets/images/background.jpg and /dev/null differ
diff --git a/qd/src/assets/images/logo.png b/qd/src/assets/images/logo.png
deleted file mode 100644
index f757710..0000000
Binary files a/qd/src/assets/images/logo.png and /dev/null differ
diff --git a/qd/src/assets/js/lodop/CLodop_Setup_for_Win32NT.exe b/qd/src/assets/js/lodop/CLodop_Setup_for_Win32NT.exe
deleted file mode 100644
index 6d936ac..0000000
Binary files a/qd/src/assets/js/lodop/CLodop_Setup_for_Win32NT.exe and /dev/null differ
diff --git a/qd/src/assets/js/lodop/LodopFuncs.js b/qd/src/assets/js/lodop/LodopFuncs.js
deleted file mode 100644
index 796702b..0000000
--- a/qd/src/assets/js/lodop/LodopFuncs.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import { MessageBox } from 'element-ui'
-
-// ====页面动态加载C-Lodop云打印必须的文件CLodopfuncs.js====
-var head = document.head || document.getElementsByTagName('head')[0] || document.documentElement
-var oscript = document.createElement('script')
-// 让本机的浏览器打印(更优先一点):
-oscript = document.createElement('script')
-oscript.src = 'http://localhost:8000/CLodopfuncs.js?priority=2'
-head.insertBefore(oscript, head.firstChild)
-// 加载双端口(8000和18000)避免其中某个端口被占用:
-oscript = document.createElement('script')
-oscript.src = 'http://localhost:18000/CLodopfuncs.js?priority=1'
-head.insertBefore(oscript, head.firstChild)
-
-// 下载loadLodop
-function loadLodop() {
- window.open('./CLodop_Setup_for_Win32NT.exe')
-}
-
-// ====获取LODOP对象的主过程:====
-function getLodop() {
- var LODOP
- try {
- LODOP = getCLodop()
- if (!LODOP && document.readyState !== 'complete') {
- MessageBox.alert('C-Lodop打印控件还没准备好,请稍后再试!')
- return
- }
- //设置打印版权
- LODOP.SET_LICENSES('浙江省烟草专卖局(公司)', 'C0C4A46A3A0D1F526D426018D9F11921', '', '')
- LODOP.SET_SHOW_MODE('SETUP_ENABLESS', '10000000000000')
- return LODOP
- } catch (err) {
- MessageBox({
- title: '温馨提示',
- type: 'warning',
- showCancelButton: true,
- message: '您还未安装打印控件,点击确定下载打印控件,安装成功后刷新页面即可进行打印',
- callback: res => {
- if (res === 'confirm') {
- loadLodop()
- }
- }
- })
- }
-}
-
-export { getLodop }
-
diff --git a/qd/src/assets/js/lodop/install_lodop32.exe b/qd/src/assets/js/lodop/install_lodop32.exe
deleted file mode 100644
index 7c52f25..0000000
Binary files a/qd/src/assets/js/lodop/install_lodop32.exe and /dev/null differ
diff --git a/qd/src/assets/js/lodop/install_lodop64.exe b/qd/src/assets/js/lodop/install_lodop64.exe
deleted file mode 100644
index 7e5e4a3..0000000
Binary files a/qd/src/assets/js/lodop/install_lodop64.exe and /dev/null differ
diff --git a/qd/src/assets/styles/btn.scss b/qd/src/assets/styles/btn.scss
deleted file mode 100644
index 8f47f2c..0000000
--- a/qd/src/assets/styles/btn.scss
+++ /dev/null
@@ -1,99 +0,0 @@
-@import 'variables';
-
-@mixin colorBtn($color) {
- background: $color;
-
- &:hover {
- color: $color;
-
- &:before,
- &:after {
- background: $color;
- }
- }
-}
-
-.blue-btn {
- @include colorBtn($blue)
-}
-
-.light-blue-btn {
- @include colorBtn($light-blue)
-}
-
-.red-btn {
- @include colorBtn($red)
-}
-
-.pink-btn {
- @include colorBtn($pink)
-}
-
-.green-btn {
- @include colorBtn($green)
-}
-
-.tiffany-btn {
- @include colorBtn($tiffany)
-}
-
-.yellow-btn {
- @include colorBtn($yellow)
-}
-
-.pan-btn {
- font-size: 14px;
- color: #fff;
- padding: 14px 36px;
- border-radius: 8px;
- border: none;
- outline: none;
- transition: 600ms ease all;
- position: relative;
- display: inline-block;
-
- &:hover {
- background: #fff;
-
- &:before,
- &:after {
- width: 100%;
- transition: 600ms ease all;
- }
- }
-
- &:before,
- &:after {
- content: '';
- position: absolute;
- top: 0;
- right: 0;
- height: 2px;
- width: 0;
- transition: 400ms ease all;
- }
-
- &::after {
- right: inherit;
- top: inherit;
- left: 0;
- bottom: 0;
- }
-}
-
-.custom-button {
- display: inline-block;
- line-height: 1;
- white-space: nowrap;
- cursor: pointer;
- background: #fff;
- color: #fff;
- -webkit-appearance: none;
- text-align: center;
- box-sizing: border-box;
- outline: 0;
- margin: 0;
- padding: 10px 15px;
- font-size: 14px;
- border-radius: 4px;
-}
diff --git a/qd/src/assets/styles/eladmin.scss b/qd/src/assets/styles/eladmin.scss
deleted file mode 100644
index e1e0195..0000000
--- a/qd/src/assets/styles/eladmin.scss
+++ /dev/null
@@ -1,117 +0,0 @@
-.head-container {
- padding-bottom: 10px;
- .filter-item {
- display: inline-block;
- vertical-align: middle;
- margin: 0 3px 10px 0;
- input {
- height: 30.5px;
- line-height: 30.5px;
- }
- }
- .el-form-item-label {
- margin: 0 3px 9px 0;
- display: inline-block;
- text-align: right;
- vertical-align: middle;
- font-size: 14px;
- color: #606266;
- line-height: 30.5px;
- padding: 0 7px 0 7px;
- }
- .el-button+.el-button {
- margin-left: 0 !important;
- }
- .el-select__caret.el-input__icon.el-icon-arrow-up{
- line-height: 30.5px;
- }
- .date-item {
- display: inline-block;
- vertical-align: middle;
- margin-bottom: 10px;
- height: 30.5px !important;
- width: 230px !important;
- }
-}
-.el-avatar {
- display: inline-block;
- text-align: center;
- background: #ccc;
- color: #fff;
- white-space: nowrap;
- position: relative;
- overflow: hidden;
- vertical-align: middle;
- width: 32px;
- height: 32px;
- line-height: 32px;
- border-radius: 16px;
-}
-
-.logo-con{
- height: 60px;
- padding: 13px 0 0;
- img{
- height: 32px;
- width: 135px;
- display: block;
- //margin: 0 auto;
- }
-}
-
-#el-login-footer {
- height: 40px;
- line-height: 40px;
- position: fixed;
- bottom: 0;
- width: 100%;
- text-align: center;
- color: #fff;
- font-family: Arial, serif;
- font-size: 12px;
- letter-spacing: 1px;
-}
-
-#el-main-footer {
- background: none repeat scroll 0 0 white;
- border-top: 1px solid #e7eaec;
- overflow: hidden;
- padding: 10px 6px 0 6px;
- height: 33px;
- font-size: 0.7rem !important;
- color: #7a8b9a;
- letter-spacing: 0.8px;
- font-family: Arial, sans-serif !important;
- position: fixed;
- bottom: 0;
- z-index: 99;
- width: 100%;
-}
-.eladmin-upload {
- border: 1px dashed #c0ccda;
- border-radius: 5px;
- height: 45px;
- line-height: 45px;
- width: 368px;
-}
-.my-blockquote{
- margin: 0 0 10px;
- padding: 15px;
- line-height: 22px;
- border-left: 5px solid #00437B;
- border-radius: 0 2px 2px 0;
- background-color: #f2f2f2;
-}
-.my-code{
- position: relative;
- padding: 15px;
- line-height: 20px;
- border-left: 5px solid #ddd;
- color: #333;
- font-family: Courier New, serif;
- font-size: 12px
-}
-
-.el-tabs{
- margin-bottom: 25px;
-}
diff --git a/qd/src/assets/styles/element-ui.scss b/qd/src/assets/styles/element-ui.scss
deleted file mode 100644
index 8f7881c..0000000
--- a/qd/src/assets/styles/element-ui.scss
+++ /dev/null
@@ -1,79 +0,0 @@
-// cover some element-ui styles
-
-.el-breadcrumb__inner,
-.el-breadcrumb__inner a {
- font-weight: 400 !important;
-}
-
-.el-upload {
- input[type="file"] {
- display: none !important;
- }
-}
-
-.el-upload__input {
- display: none;
-}
-
-.cell {
- .el-tag {
- margin-right: 0;
- }
-}
-
-.small-padding {
- .cell {
- padding-left: 5px;
- padding-right: 5px;
- }
-}
-
-.fixed-width {
- .el-button--mini {
- padding: 7px 10px;
- width: 60px;
- }
-}
-
-.status-col {
- .cell {
- padding: 0 10px;
- text-align: center;
-
- .el-tag {
- margin-right: 0;
- }
- }
-}
-
-// to fixed https://github.com/ElemeFE/element/issues/2461
-.el-dialog {
- transform: none;
- left: 0;
- position: relative;
- margin: 0 auto;
-}
-
-// refine element ui upload
-.upload-container {
- .el-upload {
- width: 100%;
-
- .el-upload-dragger {
- width: 100%;
- height: 200px;
- }
- }
-}
-
-// dropdown
-.el-dropdown-menu {
- a {
- display: block
- }
-}
-
-// fix date-picker ui bug in filter-item
-.el-range-editor.el-input__inner {
- display: inline-flex !important;
-}
diff --git a/qd/src/assets/styles/element-variables.scss b/qd/src/assets/styles/element-variables.scss
deleted file mode 100644
index a4f8c4a..0000000
--- a/qd/src/assets/styles/element-variables.scss
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* I think element-ui's default theme color is too light for long-term use.
-* So I modified the default color and you can modify it to your liking.
-**/
-
-/* theme color */
-$--color-primary: #1890ff;
-$--color-success: #13ce66;
-$--color-warning: #FFBA00;
-$--color-danger: #ff4949;
-// $--color-info: #1E1E1E;
-
-$--button-font-weight: 400;
-
-// $--color-text-regular: #1f2d3d;
-
-$--border-color-light: #dfe4ed;
-$--border-color-lighter: #e6ebf5;
-
-$--table-border:1px solid#dfe6ec;
-
-/* icon font path, required */
-$--font-path: '~element-ui/lib/theme-chalk/fonts';
-
-@import "../../../node_modules/element-ui/packages/theme-chalk/src/index";
-
-// the :export directive is the magic sauce for webpack
-// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
-:export {
- theme: $--color-primary;
-}
diff --git a/qd/src/assets/styles/index.scss b/qd/src/assets/styles/index.scss
deleted file mode 100644
index 21fbda1..0000000
--- a/qd/src/assets/styles/index.scss
+++ /dev/null
@@ -1,182 +0,0 @@
-@import 'variables';
-@import 'mixin';
-@import 'transition';
-@import 'element-ui';
-@import 'sidebar';
-@import 'btn';
-@import 'eladmin';
-
-body {
- height: 100%;
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
-}
-
-label {
- font-weight: 700;
-}
-
-html {
- height: 100%;
- box-sizing: border-box;
-}
-
-#app {
- height: 100%;
-}
-
-*,
-*:before,
-*:after {
- box-sizing: inherit;
-}
-
-.no-padding {
- padding: 0 !important;
-}
-
-.padding-content {
- padding: 4px 0;
-}
-
-a:focus,
-a:active {
- outline: none;
-}
-
-a,
-a:focus,
-a:hover {
- cursor: pointer;
- color: inherit;
- text-decoration: none;
-}
-
-div:focus {
- outline: none;
-}
-
-.fr {
- float: right;
-}
-
-.fl {
- float: left;
-}
-
-.pr-5 {
- padding-right: 5px;
-}
-
-.pl-5 {
- padding-left: 5px;
-}
-
-.block {
- display: block;
-}
-
-.pointer {
- cursor: pointer;
-}
-
-.inlineBlock {
- display: block;
-}
-
-.clearfix {
- &:after {
- visibility: hidden;
- display: block;
- font-size: 0;
- content: " ";
- clear: both;
- height: 0;
- }
-}
-
-aside {
- background: #eef1f6;
- padding: 8px 24px;
- margin-bottom: 20px;
- border-radius: 2px;
- display: block;
- line-height: 32px;
- font-size: 16px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
- color: #2c3e50;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-
- a {
- color: #337ab7;
- cursor: pointer;
-
- &:hover {
- color: rgb(32, 160, 255);
- }
- }
-}
-
-//main-container全局样式
-.app-container {
- padding: 20px 20px 45px 20px;
-}
-
-.components-container {
- margin: 30px 50px;
- position: relative;
-}
-
-.pagination-container {
- margin-top: 30px;
-}
-
-.text-center {
- text-align: center
-}
-
-.sub-navbar {
- height: 50px;
- line-height: 50px;
- position: relative;
- width: 100%;
- text-align: right;
- padding-right: 20px;
- transition: 600ms ease position;
- background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
-
- .subtitle {
- font-size: 20px;
- color: #fff;
- }
-
- &.draft {
- background: #d0d0d0;
- }
-
- &.deleted {
- background: #d0d0d0;
- }
-}
-
-.link-type,
-.link-type:focus {
- color: #337ab7;
- cursor: pointer;
-
- &:hover {
- color: rgb(32, 160, 255);
- }
-}
-
-//refine vue-multiselect plugin
-.multiselect {
- line-height: 16px;
-}
-
-.multiselect--active {
- z-index: 1000 !important;
-}
diff --git a/qd/src/assets/styles/mixin.scss b/qd/src/assets/styles/mixin.scss
deleted file mode 100644
index 06fa061..0000000
--- a/qd/src/assets/styles/mixin.scss
+++ /dev/null
@@ -1,66 +0,0 @@
-@mixin clearfix {
- &:after {
- content: "";
- display: table;
- clear: both;
- }
-}
-
-@mixin scrollBar {
- &::-webkit-scrollbar-track-piece {
- background: #d3dce6;
- }
-
- &::-webkit-scrollbar {
- width: 6px;
- }
-
- &::-webkit-scrollbar-thumb {
- background: #99a9bf;
- border-radius: 20px;
- }
-}
-
-@mixin relative {
- position: relative;
- width: 100%;
- height: 100%;
-}
-
-@mixin pct($pct) {
- width: #{$pct};
- position: relative;
- margin: 0 auto;
-}
-
-@mixin triangle($width, $height, $color, $direction) {
- $width: $width/2;
- $color-border-style: $height solid $color;
- $transparent-border-style: $width solid transparent;
- height: 0;
- width: 0;
-
- @if $direction==up {
- border-bottom: $color-border-style;
- border-left: $transparent-border-style;
- border-right: $transparent-border-style;
- }
-
- @else if $direction==right {
- border-left: $color-border-style;
- border-top: $transparent-border-style;
- border-bottom: $transparent-border-style;
- }
-
- @else if $direction==down {
- border-top: $color-border-style;
- border-left: $transparent-border-style;
- border-right: $transparent-border-style;
- }
-
- @else if $direction==left {
- border-right: $color-border-style;
- border-top: $transparent-border-style;
- border-bottom: $transparent-border-style;
- }
-}
diff --git a/qd/src/assets/styles/sidebar.scss b/qd/src/assets/styles/sidebar.scss
deleted file mode 100644
index 17381fc..0000000
--- a/qd/src/assets/styles/sidebar.scss
+++ /dev/null
@@ -1,209 +0,0 @@
-#app {
-
- .main-container {
- min-height: 100%;
- transition: margin-left .28s;
- margin-left: $sideBarWidth;
- position: relative;
- }
-
- .sidebar-container {
- transition: width 0.28s;
- width: $sideBarWidth !important;
- background-color: $menuBg;
- height: 100%;
- position: fixed;
- font-size: 0;
- top: 0;
- bottom: 0;
- left: 0;
- z-index: 1001;
- overflow: hidden;
-
- // reset element-ui css
- .horizontal-collapse-transition {
- transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
- }
-
- .scrollbar-wrapper {
- overflow-x: hidden !important;
- }
-
- .el-scrollbar__bar.is-vertical {
- right: 0;
- }
-
- .el-scrollbar {
- height: 100%;
- }
-
- &.has-logo {
- .el-scrollbar {
- height: calc(100% - 50px);
- }
- }
-
- .is-horizontal {
- display: none;
- }
-
- a {
- display: inline-block;
- width: 100%;
- overflow: hidden;
- }
-
- .svg-icon {
- margin-right: 16px;
- }
-
- .el-menu {
- border: none;
- height: 100%;
- width: 100% !important;
- }
-
- // menu hover
- .submenu-title-noDropdown,
- .el-submenu__title {
- &:hover {
- background-color: $menuHover !important;
- }
- }
-
- .is-active>.el-submenu__title {
- color: $subMenuActiveText !important;
- }
-
- & .nest-menu .el-submenu>.el-submenu__title,
- & .el-submenu .el-menu-item {
- min-width: $sideBarWidth !important;
- background-color: $subMenuBg !important;
-
- &:hover {
- background-color: $subMenuHover !important;
- }
- }
- }
-
- .hideSidebar {
- .sidebar-container {
- width: 54px !important;
- }
-
- .main-container {
- margin-left: 54px;
- }
-
- .submenu-title-noDropdown {
- padding: 0 !important;
- position: relative;
-
- .el-tooltip {
- padding: 0 !important;
-
- .svg-icon {
- margin-left: 20px;
- }
- }
- }
-
- .el-submenu {
- overflow: hidden;
-
- &>.el-submenu__title {
- padding: 0 !important;
-
- .svg-icon {
- margin-left: 20px;
- }
-
- .el-submenu__icon-arrow {
- display: none;
- }
- }
- }
-
- .el-menu--collapse {
- .el-submenu {
- &>.el-submenu__title {
- &>span {
- height: 0;
- width: 0;
- overflow: hidden;
- visibility: hidden;
- display: inline-block;
- }
- }
- }
- }
- }
-
- .el-menu--collapse .el-menu .el-submenu {
- min-width: $sideBarWidth !important;
- }
-
- // mobile responsive
- .mobile {
- .main-container {
- margin-left: 0;
- }
-
- .sidebar-container {
- transition: transform .28s;
- width: $sideBarWidth !important;
- }
-
- &.hideSidebar {
- .sidebar-container {
- pointer-events: none;
- transition-duration: 0.3s;
- transform: translate3d(-$sideBarWidth, 0, 0);
- }
- }
- }
-
- .withoutAnimation {
-
- .main-container,
- .sidebar-container {
- transition: none;
- }
- }
-}
-
-// when menu collapsed
-.el-menu--vertical {
- &>.el-menu {
- .svg-icon {
- margin-right: 16px;
- }
- }
-
- .nest-menu .el-submenu>.el-submenu__title,
- .el-menu-item {
- &:hover {
- // you can use $subMenuHover
- background-color: $menuHover !important;
- }
- }
-
- // the scroll bar appears when the subMenu is too long
- >.el-menu--popup {
- max-height: 100vh;
- overflow-y: auto;
-
- &::-webkit-scrollbar-track-piece {
- background: #d3dce6;
- }
-
- &::-webkit-scrollbar {
- width: 6px;
- }
-
- &::-webkit-scrollbar-thumb {
- background: #99a9bf;
- border-radius: 20px;
- }
- }
-}
diff --git a/qd/src/assets/styles/transition.scss b/qd/src/assets/styles/transition.scss
deleted file mode 100644
index 4cb27cc..0000000
--- a/qd/src/assets/styles/transition.scss
+++ /dev/null
@@ -1,48 +0,0 @@
-// global transition css
-
-/* fade */
-.fade-enter-active,
-.fade-leave-active {
- transition: opacity 0.28s;
-}
-
-.fade-enter,
-.fade-leave-active {
- opacity: 0;
-}
-
-/* fade-transform */
-.fade-transform-leave-active,
-.fade-transform-enter-active {
- transition: all .5s;
-}
-
-.fade-transform-enter {
- opacity: 0;
- transform: translateX(-30px);
-}
-
-.fade-transform-leave-to {
- opacity: 0;
- transform: translateX(30px);
-}
-
-/* breadcrumb transition */
-.breadcrumb-enter-active,
-.breadcrumb-leave-active {
- transition: all .5s;
-}
-
-.breadcrumb-enter,
-.breadcrumb-leave-active {
- opacity: 0;
- transform: translateX(20px);
-}
-
-.breadcrumb-move {
- transition: all .5s;
-}
-
-.breadcrumb-leave-active {
- position: absolute;
-}
diff --git a/qd/src/assets/styles/variables.scss b/qd/src/assets/styles/variables.scss
deleted file mode 100644
index 41de79c..0000000
--- a/qd/src/assets/styles/variables.scss
+++ /dev/null
@@ -1,35 +0,0 @@
-// base color
-$blue:#324157;
-$light-blue:#3A71A8;
-$red:#C03639;
-$pink: #E65D6E;
-$green: #30B08F;
-$tiffany: #4AB7BD;
-$yellow:#FEC171;
-$panGreen: #30B08F;
-
-// sidebar
-$menuText:#bfcbd9;
-$menuActiveText:#409EFF;
-$subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951
-
-$menuBg:#304156;
-$menuHover:#263445;
-
-$subMenuBg:#1f2d3d;
-$subMenuHover:#001528;
-
-$sideBarWidth: 205px;
-
-// the :export directive is the magic sauce for webpack
-// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
-:export {
- menuText: $menuText;
- menuActiveText: $menuActiveText;
- subMenuActiveText: $subMenuActiveText;
- menuBg: $menuBg;
- menuHover: $menuHover;
- subMenuBg: $subMenuBg;
- subMenuHover: $subMenuHover;
- sideBarWidth: $sideBarWidth;
-}
diff --git a/qd/src/components/Breadcrumb/index.vue b/qd/src/components/Breadcrumb/index.vue
deleted file mode 100644
index 204ea59..0000000
--- a/qd/src/components/Breadcrumb/index.vue
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
- {{ item.meta.title }}
- {{ item.meta.title }}
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/Crud/CRUD.operation.vue b/qd/src/components/Crud/CRUD.operation.vue
deleted file mode 100644
index 20fd0db..0000000
--- a/qd/src/components/Crud/CRUD.operation.vue
+++ /dev/null
@@ -1,265 +0,0 @@
-
-
-
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
- 全选
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/Crud/Pagination.vue b/qd/src/components/Crud/Pagination.vue
deleted file mode 100644
index d4482fb..0000000
--- a/qd/src/components/Crud/Pagination.vue
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Crud/RR.operation.vue b/qd/src/components/Crud/RR.operation.vue
deleted file mode 100644
index df2c138..0000000
--- a/qd/src/components/Crud/RR.operation.vue
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- 搜索
- 重置
-
-
-
diff --git a/qd/src/components/Crud/UD.operation.vue b/qd/src/components/Crud/UD.operation.vue
deleted file mode 100644
index 55a452a..0000000
--- a/qd/src/components/Crud/UD.operation.vue
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
- {{ msg }}
-
- 取消
- 确定
-
-
-
-
-
-
diff --git a/qd/src/components/Crud/crud.js b/qd/src/components/Crud/crud.js
deleted file mode 100644
index b9cbdc5..0000000
--- a/qd/src/components/Crud/crud.js
+++ /dev/null
@@ -1,867 +0,0 @@
-import { download, initData } from '@/api/data'
-import { downloadFile, parseTime } from '@/utils/index'
-import Vue from 'vue'
-
-/**
- * CRUD配置
- * @author moxun
- * @param {*} options
- * @return crud instance.
- * @example
- * 要使用多crud时,请在关联crud的组件处使用crud-tag进行标记,如:
- */
-function CRUD(options) {
- const defaultOptions = {
- tag: 'default',
- // id字段名
- idField: 'id',
- // 标题
- title: '',
- // 请求数据的url
- url: '',
- // 表格数据
- data: [],
- // 选择项
- selections: [],
- // 待查询的对象
- query: {},
- // 查询数据的参数
- params: {},
- // Form 表单
- form: {},
- // 重置表单
- defaultForm: () => {},
- // 排序规则,默认 id 降序, 支持多字段排序 ['id,desc', 'createTime,asc']
- sort: ['id,desc'],
- // 等待时间
- time: 50,
- // CRUD Method
- crudMethod: {
- add: (form) => {},
- del: (id) => {},
- edit: (form) => {},
- get: (id) => {}
- },
- // 主页操作栏显示哪些按钮
- optShow: {
- add: true,
- edit: true,
- del: true,
- download: true,
- reset: true
- },
- page: {
- // 页码
- page: 0,
- // 每页数据条数
- size: 10,
- // 总数据条数
- total: 0
- },
- // 自定义一些扩展属性
- props: {},
- // 在主页准备
- queryOnPresenterCreated: true,
- // 调试开关
- debug: false
- }
- options = mergeOptions(defaultOptions, options)
- const data = {
- ...options,
- // 记录数据状态
- dataStatus: {},
- status: {
- add: CRUD.STATUS.NORMAL,
- edit: CRUD.STATUS.NORMAL,
- // 添加或编辑状态
- get cu() {
- if (this.add === CRUD.STATUS.NORMAL && this.edit === CRUD.STATUS.NORMAL) {
- return CRUD.STATUS.NORMAL
- } else if (this.add === CRUD.STATUS.PREPARED || this.edit === CRUD.STATUS.PREPARED) {
- return CRUD.STATUS.PREPARED
- } else if (this.add === CRUD.STATUS.PROCESSING || this.edit === CRUD.STATUS.PROCESSING) {
- return CRUD.STATUS.PROCESSING
- }
- throw new Error('wrong crud\'s cu status')
- },
- // 标题
- get title() {
- return this.add > CRUD.STATUS.NORMAL ? `新增${crud.title}` : this.edit > CRUD.STATUS.NORMAL ? `编辑${crud.title}` : crud.title
- }
- },
- msg: {
- submit: '提交成功',
- add: '新增成功',
- edit: '编辑成功',
- del: '删除成功'
- },
-
- // 整体loading
- loading: false,
- // 导出的 Loading
- downloadLoading: false,
- // 导出csv的 Loading
- downloadcsvLoading: false,
- // 删除的 Loading
- delAllLoading: false
- }
- const methods = {
- /**
- * 通用的提示
- */
- submitSuccessNotify() {
- crud.notify(crud.msg.submit, CRUD.NOTIFICATION_TYPE.SUCCESS)
- },
- addSuccessNotify() {
- crud.notify(crud.msg.add, CRUD.NOTIFICATION_TYPE.SUCCESS)
- },
- editSuccessNotify() {
- crud.notify(crud.msg.edit, CRUD.NOTIFICATION_TYPE.SUCCESS)
- },
- delSuccessNotify() {
- crud.notify(crud.msg.del, CRUD.NOTIFICATION_TYPE.SUCCESS)
- },
- // 搜索
- toQuery() {
- crud.page.page = 1
- crud.refresh()
- },
- // 刷新
- refresh() {
- if (!callVmHook(crud, CRUD.HOOK.beforeRefresh)) {
- return
- }
- return new Promise((resolve, reject) => {
- crud.loading = true
- // 请求数据
- initData(crud.url, crud.getQueryParams()).then(data => {
- const table = crud.getTable()
- if (table && table.lazy) { // 懒加载子节点数据,清掉已加载的数据
- table.store.states.treeData = {}
- table.store.states.lazyTreeNodeMap = {}
- }
- crud.page.total = data.totalElements
- crud.data = data.content
- crud.resetDataStatus()
- // time 毫秒后显示表格
- setTimeout(() => {
- crud.loading = false
- callVmHook(crud, CRUD.HOOK.afterRefresh)
- }, crud.time)
- resolve(data)
- }).catch(err => {
- crud.loading = false
- reject(err)
- })
- })
- },
- /**
- * 启动添加
- */
- toAdd() {
- crud.resetForm()
- if (!(callVmHook(crud, CRUD.HOOK.beforeToAdd, crud.form) && callVmHook(crud, CRUD.HOOK.beforeToCU, crud.form))) {
- return
- }
- crud.status.add = CRUD.STATUS.PREPARED
- callVmHook(crud, CRUD.HOOK.afterToAdd, crud.form)
- callVmHook(crud, CRUD.HOOK.afterToCU, crud.form)
- },
- /**
- * 启动编辑
- * @param {*} data 数据项
- */
- toEdit(data) {
- crud.resetForm(JSON.parse(JSON.stringify(data)))
- if (!(callVmHook(crud, CRUD.HOOK.beforeToEdit, crud.form) && callVmHook(crud, CRUD.HOOK.beforeToCU, crud.form))) {
- return
- }
- crud.status.edit = CRUD.STATUS.PREPARED
- crud.getDataStatus(crud.getDataId(data)).edit = CRUD.STATUS.PREPARED
- callVmHook(crud, CRUD.HOOK.afterToEdit, crud.form)
- callVmHook(crud, CRUD.HOOK.afterToCU, crud.form)
- },
- /**
- * 启动删除
- * @param {*} data 数据项
- */
- toDelete(data) {
- crud.getDataStatus(crud.getDataId(data)).delete = CRUD.STATUS.PREPARED
- },
- /**
- * 取消删除
- * @param {*} data 数据项
- */
- cancelDelete(data) {
- if (!callVmHook(crud, CRUD.HOOK.beforeDeleteCancel, data)) {
- return
- }
- crud.getDataStatus(crud.getDataId(data)).delete = CRUD.STATUS.NORMAL
- callVmHook(crud, CRUD.HOOK.afterDeleteCancel, data)
- },
- /**
- * 取消新增/编辑
- */
- cancelCU() {
- const addStatus = crud.status.add
- const editStatus = crud.status.edit
- if (addStatus === CRUD.STATUS.PREPARED) {
- if (!callVmHook(crud, CRUD.HOOK.beforeAddCancel, crud.form)) {
- return
- }
- crud.status.add = CRUD.STATUS.NORMAL
- }
- if (editStatus === CRUD.STATUS.PREPARED) {
- if (!callVmHook(crud, CRUD.HOOK.beforeEditCancel, crud.form)) {
- return
- }
- crud.status.edit = CRUD.STATUS.NORMAL
- crud.getDataStatus(crud.getDataId(crud.form)).edit = CRUD.STATUS.NORMAL
- }
- crud.resetForm()
- if (addStatus === CRUD.STATUS.PREPARED) {
- callVmHook(crud, CRUD.HOOK.afterAddCancel, crud.form)
- }
- if (editStatus === CRUD.STATUS.PREPARED) {
- callVmHook(crud, CRUD.HOOK.afterEditCancel, crud.form)
- }
- // 清除表单验证
- if (crud.findVM('form').$refs['form']) {
- crud.findVM('form').$refs['form'].clearValidate()
- }
- },
- /**
- * 提交新增/编辑
- */
- submitCU() {
- if (!callVmHook(crud, CRUD.HOOK.beforeValidateCU)) {
- return
- }
- crud.findVM('form').$refs['form'].validate(valid => {
- if (!valid) {
- return
- }
- if (!callVmHook(crud, CRUD.HOOK.afterValidateCU)) {
- return
- }
- if (crud.status.add === CRUD.STATUS.PREPARED) {
- crud.doAdd()
- } else if (crud.status.edit === CRUD.STATUS.PREPARED) {
- crud.doEdit()
- }
- })
- },
- /**
- * 执行添加
- */
- doAdd() {
- if (!callVmHook(crud, CRUD.HOOK.beforeSubmit)) {
- return
- }
- crud.status.add = CRUD.STATUS.PROCESSING
- crud.crudMethod.add(crud.form).then(() => {
- crud.status.add = CRUD.STATUS.NORMAL
- crud.resetForm()
- crud.addSuccessNotify()
- callVmHook(crud, CRUD.HOOK.afterSubmit)
- crud.toQuery()
- }).catch(() => {
- crud.status.add = CRUD.STATUS.PREPARED
- callVmHook(crud, CRUD.HOOK.afterAddError)
- })
- },
- /**
- * 执行编辑
- */
- doEdit() {
- if (!callVmHook(crud, CRUD.HOOK.beforeSubmit)) {
- return
- }
- crud.status.edit = CRUD.STATUS.PROCESSING
- crud.crudMethod.edit(crud.form).then(() => {
- crud.status.edit = CRUD.STATUS.NORMAL
- crud.getDataStatus(crud.getDataId(crud.form)).edit = CRUD.STATUS.NORMAL
- crud.editSuccessNotify()
- crud.resetForm()
- callVmHook(crud, CRUD.HOOK.afterSubmit)
- crud.refresh()
- }).catch(() => {
- crud.status.edit = CRUD.STATUS.PREPARED
- callVmHook(crud, CRUD.HOOK.afterEditError)
- })
- },
- /**
- * 执行删除
- * @param {*} data 数据项
- */
- doDelete(data) {
- let delAll = false
- let dataStatus
- const ids = []
- if (data instanceof Array) {
- delAll = true
- data.forEach(val => {
- ids.push(this.getDataId(val))
- })
- } else {
- ids.push(this.getDataId(data))
- dataStatus = crud.getDataStatus(this.getDataId(data))
- }
- if (!callVmHook(crud, CRUD.HOOK.beforeDelete, data)) {
- return
- }
- if (!delAll) {
- dataStatus.delete = CRUD.STATUS.PROCESSING
- }
- return crud.crudMethod.del(ids).then(() => {
- if (delAll) {
- crud.delAllLoading = false
- } else dataStatus.delete = CRUD.STATUS.PREPARED
- crud.dleChangePage(1)
- crud.delSuccessNotify()
- callVmHook(crud, CRUD.HOOK.afterDelete, data)
- crud.refresh()
- }).catch(() => {
- if (delAll) {
- crud.delAllLoading = false
- } else dataStatus.delete = CRUD.STATUS.PREPARED
- })
- },
- /**
- * 通用导出
- */
- doExport() {
- crud.downloadLoading = true
- download(crud.url + '/download', crud.getQueryParams()).then(result => {
- downloadFile(result, crud.title + '数据', 'xlsx')
- crud.downloadLoading = false
- }).catch(() => {
- crud.downloadLoading = false
- })
- },
-
- /**
- * 获取查询参数
- */
- getQueryParams: function() {
- // 清除参数无值的情况
- Object.keys(crud.query).length !== 0 && Object.keys(crud.query).forEach(item => {
- if (crud.query[item] === null || crud.query[item] === '') crud.query[item] = undefined
- })
- Object.keys(crud.params).length !== 0 && Object.keys(crud.params).forEach(item => {
- if (crud.params[item] === null || crud.params[item] === '') crud.params[item] = undefined
- })
- return {
- page: crud.page.page - 1,
- size: crud.page.size,
- sort: crud.sort,
- ...crud.query,
- ...crud.params
- }
- },
- // 当前页改变
- pageChangeHandler(e) {
- crud.page.page = e
- crud.refresh()
- },
- // 每页条数改变
- sizeChangeHandler(e) {
- crud.page.size = e
- crud.page.page = 1
- crud.refresh()
- },
- // 预防删除第二页最后一条数据时,或者多选删除第二页的数据时,页码错误导致请求无数据
- dleChangePage(size) {
- if (crud.data.length === size && crud.page.page !== 1) {
- crud.page.page -= 1
- }
- },
- // 选择改变
- selectionChangeHandler(val) {
- crud.selections = val
- },
- /**
- * 重置查询参数
- * @param {Boolean} toQuery 重置后进行查询操作
- */
- resetQuery(toQuery = true) {
- const defaultQuery = JSON.parse(JSON.stringify(crud.defaultQuery))
- const query = crud.query
- Object.keys(query).forEach(key => {
- query[key] = defaultQuery[key]
- })
- // 重置参数
- this.params = {}
- if (toQuery) {
- crud.toQuery()
- }
- },
- /**
- * 重置表单
- * @param {Array} data 数据
- */
- resetForm(data) {
- const form = data || (typeof crud.defaultForm === 'object' ? JSON.parse(JSON.stringify(crud.defaultForm)) : crud.defaultForm.apply(crud.findVM('form')))
- const crudFrom = crud.form
- for (const key in form) {
- if (crudFrom.hasOwnProperty(key)) {
- crudFrom[key] = form[key]
- } else {
- Vue.set(crudFrom, key, form[key])
- }
- }
- // add by ghl 2020-10-04 页面重复添加信息时,下拉框的校验会存在,需要找工取消
- if (crud.findVM('form').$refs['form']) {
- crud.findVM('form').$refs['form'].clearValidate()
- }
- },
- /**
- * 重置数据状态
- */
- resetDataStatus() {
- const dataStatus = {}
- function resetStatus(datas) {
- datas.forEach(e => {
- dataStatus[crud.getDataId(e)] = {
- delete: 0,
- edit: 0
- }
- if (e.children) {
- resetStatus(e.children)
- }
- })
- }
- resetStatus(crud.data)
- crud.dataStatus = dataStatus
- },
- /**
- * 获取数据状态
- * @param {Number | String} id 数据项id
- */
- getDataStatus(id) {
- return crud.dataStatus[id]
- },
- /**
- * 用于树形表格多选, 选中所有
- * @param selection
- */
- selectAllChange(selection) {
- // 如果选中的数目与请求到的数目相同就选中子节点,否则就清空选中
- if (selection && selection.length === crud.data.length) {
- selection.forEach(val => {
- crud.selectChange(selection, val)
- })
- } else {
- crud.getTable().clearSelection()
- }
- },
- /**
- * 用于树形表格多选,单选的封装
- * @param selection
- * @param row
- */
- selectChange(selection, row) {
- // 如果selection中存在row代表是选中,否则是取消选中
- if (selection.find(val => { return crud.getDataId(val) === crud.getDataId(row) })) {
- if (row.children) {
- row.children.forEach(val => {
- crud.getTable().toggleRowSelection(val, true)
- selection.push(val)
- if (val.children) {
- crud.selectChange(selection, val)
- }
- })
- }
- } else {
- crud.toggleRowSelection(selection, row)
- }
- },
- /**
- * 切换选中状态
- * @param selection
- * @param data
- */
- toggleRowSelection(selection, data) {
- if (data.children) {
- data.children.forEach(val => {
- crud.getTable().toggleRowSelection(val, false)
- if (val.children) {
- crud.toggleRowSelection(selection, val)
- }
- })
- }
- },
- findVM(type) {
- return crud.vms.find(vm => vm && vm.type === type).vm
- },
- notify(title, type = CRUD.NOTIFICATION_TYPE.INFO) {
- crud.vms[0].vm.$notify({
- title,
- type,
- duration: 2500
- })
- },
- updateProp(name, value) {
- Vue.set(crud.props, name, value)
- },
- getDataId(data) {
- return data[this.idField]
- },
- getTable() {
- return this.findVM('presenter').$refs.table
- },
- attchTable() {
- const table = this.getTable()
- this.updateProp('table', table)
- const that = this
- table.$on('expand-change', (row, expanded) => {
- if (!expanded) {
- return
- }
- const lazyTreeNodeMap = table.store.states.lazyTreeNodeMap
- row.children = lazyTreeNodeMap[crud.getDataId(row)]
- if (row.children) {
- row.children.forEach(ele => {
- const id = crud.getDataId(ele)
- if (that.dataStatus[id] === undefined) {
- that.dataStatus[id] = {
- delete: 0,
- edit: 0
- }
- }
- })
- }
- })
- }
- }
- const crud = Object.assign({}, data)
- // 可观测化
- Vue.observable(crud)
- // 附加方法
- Object.assign(crud, methods)
- // 记录初始默认的查询参数,后续重置查询时使用
- Object.assign(crud, {
- defaultQuery: JSON.parse(JSON.stringify(data.query)),
- // 预留4位存储:组件 主页、头部、分页、表单,调试查看也方便找
- vms: Array(4),
- /**
- * 注册组件实例
- * @param {String} type 类型
- * @param {*} vm 组件实例
- * @param {Number} index 该参数内部使用
- */
- registerVM(type, vm, index = -1) {
- const vmObj = {
- type,
- vm: vm
- }
- if (index < 0) {
- this.vms.push(vmObj)
- return
- }
- if (index < 4) { // 内置预留vm数
- this.vms[index] = vmObj
- return
- }
- this.vms.length = Math.max(this.vms.length, index)
- this.vms.splice(index, 1, vmObj)
- },
- /**
- * 取消注册组件实例
- * @param {*} vm 组件实例
- */
- unregisterVM(type, vm) {
- for (let i = this.vms.length - 1; i >= 0; i--) {
- if (this.vms[i] === undefined) {
- continue
- }
- if (this.vms[i].type === type && this.vms[i].vm === vm) {
- if (i < 4) { // 内置预留vm数
- this.vms[i] = undefined
- } else {
- this.vms.splice(i, 1)
- }
- break
- }
- }
- }
- })
- // 冻结处理,需要扩展数据的话,使用crud.updateProp(name, value),以crud.props.name形式访问,这个是响应式的,可以做数据绑定
- Object.freeze(crud)
- return crud
-}
-
-// hook VM
-function callVmHook(crud, hook) {
- if (crud.debug) {
- console.log('callVmHook: ' + hook)
- }
- const tagHook = crud.tag ? hook + '$' + crud.tag : null
- let ret = true
- const nargs = [crud]
- for (let i = 2; i < arguments.length; ++i) {
- nargs.push(arguments[i])
- }
- // 有些组件扮演了多个角色,调用钩子时,需要去重
- const vmSet = new Set()
- crud.vms.forEach(vm => vm && vmSet.add(vm.vm))
- vmSet.forEach(vm => {
- if (vm[hook]) {
- ret = vm[hook].apply(vm, nargs) !== false && ret
- }
- if (tagHook && vm[tagHook]) {
- ret = vm[tagHook].apply(vm, nargs) !== false && ret
- }
- })
- return ret
-}
-
-function mergeOptions(src, opts) {
- const optsRet = {
- ...src
- }
- for (const key in src) {
- if (opts.hasOwnProperty(key)) {
- optsRet[key] = opts[key]
- }
- }
- return optsRet
-}
-
-/**
- * 查找crud
- * @param {*} vm
- * @param {string} tag
- */
-function lookupCrud(vm, tag) {
- tag = tag || vm.$attrs['crud-tag'] || 'default'
- // function lookupCrud(vm, tag) {
- if (vm.$crud) {
- const ret = vm.$crud[tag]
- if (ret) {
- return ret
- }
- }
- return vm.$parent ? lookupCrud(vm.$parent, tag) : undefined
-}
-
-/**
- * crud主页
- */
-function presenter(crud) {
- if (crud) {
- console.warn('[CRUD warn]: ' + 'please use $options.cruds() { return CRUD(...) or [CRUD(...), ...] }')
- }
- return {
- data() {
- // 在data中返回crud,是为了将crud与当前实例关联,组件观测crud相关属性变化
- return {
- crud: this.crud
- }
- },
- beforeCreate() {
- this.$crud = this.$crud || {}
- let cruds = this.$options.cruds instanceof Function ? this.$options.cruds() : crud
- if (!(cruds instanceof Array)) {
- cruds = [cruds]
- }
- cruds.forEach(ele => {
- if (this.$crud[ele.tag]) {
- console.error('[CRUD error]: ' + 'crud with tag [' + ele.tag + ' is already exist')
- }
- this.$crud[ele.tag] = ele
- ele.registerVM('presenter', this, 0)
- })
- this.crud = this.$crud['defalut'] || cruds[0]
- },
- methods: {
- parseTime
- },
- created() {
- for (const k in this.$crud) {
- if (this.$crud[k].queryOnPresenterCreated) {
- this.$crud[k].toQuery()
- }
- }
- },
- destroyed() {
- for (const k in this.$crud) {
- this.$crud[k].unregisterVM('presenter', this)
- }
- },
- mounted() {
- // 如果table未实例化(例如使用了v-if),请稍后在适当时机crud.attchTable刷新table信息
- if (this.$refs.table !== undefined) {
- this.crud.attchTable()
- }
- }
- }
-}
-
-/**
- * 头部
- */
-function header() {
- return {
- data() {
- return {
- crud: this.crud,
- query: this.crud.query
- }
- },
- beforeCreate() {
- this.crud = lookupCrud(this)
- this.crud.registerVM('header', this, 1)
- },
- destroyed() {
- this.crud.unregisterVM('header', this)
- }
- }
-}
-
-/**
- * 分页
- */
-function pagination() {
- return {
- data() {
- return {
- crud: this.crud,
- page: this.crud.page
- }
- },
- beforeCreate() {
- this.crud = lookupCrud(this)
- this.crud.registerVM('pagination', this, 2)
- },
- destroyed() {
- this.crud.unregisterVM('pagination', this)
- }
- }
-}
-
-/**
- * 表单
- */
-function form(defaultForm) {
- return {
- data() {
- return {
- crud: this.crud,
- form: this.crud.form
- }
- },
- beforeCreate() {
- this.crud = lookupCrud(this)
- this.crud.registerVM('form', this, 3)
- },
- created() {
- this.crud.defaultForm = defaultForm
- this.crud.resetForm()
- },
- destroyed() {
- this.crud.unregisterVM('form', this)
- }
- }
-}
-
-/**
- * crud
- */
-function crud(options = {}) {
- const defaultOptions = {
- type: undefined
- }
- options = mergeOptions(defaultOptions, options)
- return {
- data() {
- return {
- crud: this.crud
- }
- },
- beforeCreate() {
- this.crud = lookupCrud(this)
- this.crud.registerVM(options.type, this)
- },
- destroyed() {
- this.crud.unregisterVM(options.type, this)
- }
- }
-}
-
-/**
- * CRUD钩子
- */
-CRUD.HOOK = {
- /** 刷新 - 之前 */
- beforeRefresh: 'beforeCrudRefresh',
- /** 刷新 - 之后 */
- afterRefresh: 'afterCrudRefresh',
- /** 删除 - 之前 */
- beforeDelete: 'beforeCrudDelete',
- /** 删除 - 之后 */
- afterDelete: 'afterCrudDelete',
- /** 删除取消 - 之前 */
- beforeDeleteCancel: 'beforeCrudDeleteCancel',
- /** 删除取消 - 之后 */
- afterDeleteCancel: 'afterCrudDeleteCancel',
- /** 新建 - 之前 */
- beforeToAdd: 'beforeCrudToAdd',
- /** 新建 - 之后 */
- afterToAdd: 'afterCrudToAdd',
- /** 编辑 - 之前 */
- beforeToEdit: 'beforeCrudToEdit',
- /** 编辑 - 之后 */
- afterToEdit: 'afterCrudToEdit',
- /** 开始 "新建/编辑" - 之前 */
- beforeToCU: 'beforeCrudToCU',
- /** 开始 "新建/编辑" - 之后 */
- afterToCU: 'afterCrudToCU',
- /** "新建/编辑" 验证 - 之前 */
- beforeValidateCU: 'beforeCrudValidateCU',
- /** "新建/编辑" 验证 - 之后 */
- afterValidateCU: 'afterCrudValidateCU',
- /** 添加取消 - 之前 */
- beforeAddCancel: 'beforeCrudAddCancel',
- /** 添加取消 - 之后 */
- afterAddCancel: 'afterCrudAddCancel',
- /** 编辑取消 - 之前 */
- beforeEditCancel: 'beforeCrudEditCancel',
- /** 编辑取消 - 之后 */
- afterEditCancel: 'afterCrudEditCancel',
- /** 提交 - 之前 */
- beforeSubmit: 'beforeCrudSubmitCU',
- /** 提交 - 之后 */
- afterSubmit: 'afterCrudSubmitCU',
- afterAddError: 'afterCrudAddError',
- afterEditError: 'afterCrudEditError'
-}
-
-/**
- * CRUD状态
- */
-CRUD.STATUS = {
- NORMAL: 0,
- PREPARED: 1,
- PROCESSING: 2
-}
-
-/**
- * CRUD通知类型
- */
-CRUD.NOTIFICATION_TYPE = {
- SUCCESS: 'success',
- WARNING: 'warning',
- INFO: 'info',
- ERROR: 'error'
-}
-
-export default CRUD
-
-export {
- presenter,
- header,
- form,
- pagination,
- crud
-}
diff --git a/qd/src/components/DateRangePicker/index.vue b/qd/src/components/DateRangePicker/index.vue
deleted file mode 100644
index eef79bd..0000000
--- a/qd/src/components/DateRangePicker/index.vue
+++ /dev/null
@@ -1,45 +0,0 @@
-
diff --git a/qd/src/components/Dict/Dict.js b/qd/src/components/Dict/Dict.js
deleted file mode 100644
index 48554de..0000000
--- a/qd/src/components/Dict/Dict.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import Vue from 'vue'
-import { get as getDictDetail } from '@/api/system/dictDetail'
-
-export default class Dict {
- constructor(dict) {
- this.dict = dict
- }
-
- async init(names, completeCallback) {
- if (names === undefined || name === null) {
- throw new Error('need Dict names')
- }
- const ps = []
- names.forEach(n => {
- Vue.set(this.dict.dict, n, {})
- Vue.set(this.dict.label, n, {})
- Vue.set(this.dict, n, [])
- ps.push(getDictDetail(n).then(data => {
- this.dict[n].splice(0, 0, ...data.content)
- data.content.forEach(d => {
- Vue.set(this.dict.dict[n], d.value, d)
- Vue.set(this.dict.label[n], d.value, d.label)
- })
- }))
- })
- await Promise.all(ps)
- completeCallback()
- }
-}
diff --git a/qd/src/components/Dict/index.js b/qd/src/components/Dict/index.js
deleted file mode 100644
index 0952f43..0000000
--- a/qd/src/components/Dict/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import Dict from './Dict'
-
-const install = function(Vue) {
- Vue.mixin({
- data() {
- if (this.$options.dicts instanceof Array) {
- const dict = {
- dict: {},
- label: {}
- }
- return {
- dict
- }
- }
- return {}
- },
- created() {
- if (this.$options.dicts instanceof Array) {
- new Dict(this.dict).init(this.$options.dicts, () => {
- this.$nextTick(() => {
- this.$emit('dictReady')
- })
- })
- }
- }
- })
-}
-
-export default { install }
diff --git a/qd/src/components/Doc/index.vue b/qd/src/components/Doc/index.vue
deleted file mode 100644
index 92425e8..0000000
--- a/qd/src/components/Doc/index.vue
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/Echarts/BarChart.vue b/qd/src/components/Echarts/BarChart.vue
deleted file mode 100644
index fa265ef..0000000
--- a/qd/src/components/Echarts/BarChart.vue
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/BarChart2.vue b/qd/src/components/Echarts/BarChart2.vue
deleted file mode 100644
index 4c2580c..0000000
--- a/qd/src/components/Echarts/BarChart2.vue
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Category.vue b/qd/src/components/Echarts/Category.vue
deleted file mode 100644
index 5859114..0000000
--- a/qd/src/components/Echarts/Category.vue
+++ /dev/null
@@ -1,438 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Funnel.vue b/qd/src/components/Echarts/Funnel.vue
deleted file mode 100644
index 380b373..0000000
--- a/qd/src/components/Echarts/Funnel.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Gauge.vue b/qd/src/components/Echarts/Gauge.vue
deleted file mode 100644
index 40ce775..0000000
--- a/qd/src/components/Echarts/Gauge.vue
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Graph.vue b/qd/src/components/Echarts/Graph.vue
deleted file mode 100644
index a5a88b3..0000000
--- a/qd/src/components/Echarts/Graph.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/HeatMap.vue b/qd/src/components/Echarts/HeatMap.vue
deleted file mode 100644
index 6606278..0000000
--- a/qd/src/components/Echarts/HeatMap.vue
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Line3D.vue b/qd/src/components/Echarts/Line3D.vue
deleted file mode 100644
index c3f16f6..0000000
--- a/qd/src/components/Echarts/Line3D.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/PieChart.vue b/qd/src/components/Echarts/PieChart.vue
deleted file mode 100644
index ff1bc52..0000000
--- a/qd/src/components/Echarts/PieChart.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Point.vue b/qd/src/components/Echarts/Point.vue
deleted file mode 100644
index 5a6c777..0000000
--- a/qd/src/components/Echarts/Point.vue
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/RadarChart.vue b/qd/src/components/Echarts/RadarChart.vue
deleted file mode 100644
index de70e52..0000000
--- a/qd/src/components/Echarts/RadarChart.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Rich.vue b/qd/src/components/Echarts/Rich.vue
deleted file mode 100644
index 1cf6bf2..0000000
--- a/qd/src/components/Echarts/Rich.vue
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Sankey.vue b/qd/src/components/Echarts/Sankey.vue
deleted file mode 100644
index 49968c4..0000000
--- a/qd/src/components/Echarts/Sankey.vue
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Scatter.vue b/qd/src/components/Echarts/Scatter.vue
deleted file mode 100644
index b776efb..0000000
--- a/qd/src/components/Echarts/Scatter.vue
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/Sunburst.vue b/qd/src/components/Echarts/Sunburst.vue
deleted file mode 100644
index fafc1a8..0000000
--- a/qd/src/components/Echarts/Sunburst.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/ThemeRiver.vue b/qd/src/components/Echarts/ThemeRiver.vue
deleted file mode 100644
index 967fc05..0000000
--- a/qd/src/components/Echarts/ThemeRiver.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/Echarts/WordCloud.vue b/qd/src/components/Echarts/WordCloud.vue
deleted file mode 100644
index 415f2a8..0000000
--- a/qd/src/components/Echarts/WordCloud.vue
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/components/GithubCorner/index.vue b/qd/src/components/GithubCorner/index.vue
deleted file mode 100644
index fd77324..0000000
--- a/qd/src/components/GithubCorner/index.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/Hamburger/index.vue b/qd/src/components/Hamburger/index.vue
deleted file mode 100644
index 368b002..0000000
--- a/qd/src/components/Hamburger/index.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/HeaderSearch/index.vue b/qd/src/components/HeaderSearch/index.vue
deleted file mode 100644
index c713efc..0000000
--- a/qd/src/components/HeaderSearch/index.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/IconSelect/index.vue b/qd/src/components/IconSelect/index.vue
deleted file mode 100644
index b0ec9fa..0000000
--- a/qd/src/components/IconSelect/index.vue
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/IconSelect/requireIcons.js b/qd/src/components/IconSelect/requireIcons.js
deleted file mode 100644
index 99e5c54..0000000
--- a/qd/src/components/IconSelect/requireIcons.js
+++ /dev/null
@@ -1,11 +0,0 @@
-
-const req = require.context('../../assets/icons/svg', false, /\.svg$/)
-const requireAll = requireContext => requireContext.keys()
-
-const re = /\.\/(.*)\.svg/
-
-const icons = requireAll(req).map(i => {
- return i.match(re)[1]
-})
-
-export default icons
diff --git a/qd/src/components/Iframe/index.vue b/qd/src/components/Iframe/index.vue
deleted file mode 100644
index 9f395a3..0000000
--- a/qd/src/components/Iframe/index.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
diff --git a/qd/src/components/JavaEdit/index.vue b/qd/src/components/JavaEdit/index.vue
deleted file mode 100644
index c703829..0000000
--- a/qd/src/components/JavaEdit/index.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/Pagination/index.vue b/qd/src/components/Pagination/index.vue
deleted file mode 100644
index c815e13..0000000
--- a/qd/src/components/Pagination/index.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/PanThumb/index.vue b/qd/src/components/PanThumb/index.vue
deleted file mode 100644
index de6940a..0000000
--- a/qd/src/components/PanThumb/index.vue
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
![]()
-
-
-
-
-
-
diff --git a/qd/src/components/ParentView/index.vue b/qd/src/components/ParentView/index.vue
deleted file mode 100644
index 98240ae..0000000
--- a/qd/src/components/ParentView/index.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/qd/src/components/Permission/index.js b/qd/src/components/Permission/index.js
deleted file mode 100644
index e5dadd3..0000000
--- a/qd/src/components/Permission/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import permission from './permission'
-
-const install = function(Vue) {
- Vue.directive('permission', permission)
-}
-
-if (window.Vue) {
- window['permission'] = permission
- Vue.use(install); // eslint-disable-line
-}
-
-permission.install = install
-export default permission
diff --git a/qd/src/components/Permission/permission.js b/qd/src/components/Permission/permission.js
deleted file mode 100644
index e731ebf..0000000
--- a/qd/src/components/Permission/permission.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import store from '@/store'
-
-export default {
- inserted(el, binding, vnode) {
- const { value } = binding
- const roles = store.getters && store.getters.roles
- if (value && value instanceof Array && value.length > 0) {
- const permissionRoles = value
-
- const hasPermission = roles.some(role => {
- return permissionRoles.includes(role)
- })
-
- if (!hasPermission) {
- el.parentNode && el.parentNode.removeChild(el)
- }
- } else {
- throw new Error(`使用方式: v-permission="['admin','editor']"`)
- }
- }
-}
diff --git a/qd/src/components/RightPanel/index.vue b/qd/src/components/RightPanel/index.vue
deleted file mode 100644
index b65ecec..0000000
--- a/qd/src/components/RightPanel/index.vue
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/Screenfull/index.vue b/qd/src/components/Screenfull/index.vue
deleted file mode 100644
index 260c90d..0000000
--- a/qd/src/components/Screenfull/index.vue
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/SizeSelect/index.vue b/qd/src/components/SizeSelect/index.vue
deleted file mode 100644
index e490dce..0000000
--- a/qd/src/components/SizeSelect/index.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
- {{
- item.label }}
-
-
-
-
-
-
diff --git a/qd/src/components/SvgIcon/index.vue b/qd/src/components/SvgIcon/index.vue
deleted file mode 100644
index 9a3318e..0000000
--- a/qd/src/components/SvgIcon/index.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/ThemePicker/index.vue b/qd/src/components/ThemePicker/index.vue
deleted file mode 100644
index 2fc497b..0000000
--- a/qd/src/components/ThemePicker/index.vue
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/components/UploadExcel/index.vue b/qd/src/components/UploadExcel/index.vue
deleted file mode 100644
index a78f966..0000000
--- a/qd/src/components/UploadExcel/index.vue
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
- 拖拽excel文件到此处 或者
-
- 浏览
-
-
-
-
-
-
-
-
diff --git a/qd/src/components/YamlEdit/index.vue b/qd/src/components/YamlEdit/index.vue
deleted file mode 100644
index 83778f4..0000000
--- a/qd/src/components/YamlEdit/index.vue
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/AppMain.vue b/qd/src/layout/components/AppMain.vue
deleted file mode 100644
index 92229f1..0000000
--- a/qd/src/layout/components/AppMain.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/Navbar.vue b/qd/src/layout/components/Navbar.vue
deleted file mode 100644
index ecd82e3..0000000
--- a/qd/src/layout/components/Navbar.vue
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/Settings/index.vue b/qd/src/layout/components/Settings/index.vue
deleted file mode 100644
index 749de87..0000000
--- a/qd/src/layout/components/Settings/index.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
系统布局设置
-
-
- 主题颜色
-
-
-
-
- 显示标签
-
-
-
-
- 固定头部
-
-
-
-
- 显示LOGO
-
-
-
-
- 菜单UniqueOpened
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/Sidebar/FixiOSBug.js b/qd/src/layout/components/Sidebar/FixiOSBug.js
deleted file mode 100644
index bc14856..0000000
--- a/qd/src/layout/components/Sidebar/FixiOSBug.js
+++ /dev/null
@@ -1,26 +0,0 @@
-export default {
- computed: {
- device() {
- return this.$store.state.app.device
- }
- },
- mounted() {
- // In order to fix the click on menu on the ios device will trigger the mouseleave bug
- // https://github.com/PanJiaChen/vue-element-admin/issues/1135
- this.fixBugIniOS()
- },
- methods: {
- fixBugIniOS() {
- const $subMenu = this.$refs.subMenu
- if ($subMenu) {
- const handleMouseleave = $subMenu.handleMouseleave
- $subMenu.handleMouseleave = (e) => {
- if (this.device === 'mobile') {
- return
- }
- handleMouseleave(e)
- }
- }
- }
- }
-}
diff --git a/qd/src/layout/components/Sidebar/Item.vue b/qd/src/layout/components/Sidebar/Item.vue
deleted file mode 100644
index b515f61..0000000
--- a/qd/src/layout/components/Sidebar/Item.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-
diff --git a/qd/src/layout/components/Sidebar/Link.vue b/qd/src/layout/components/Sidebar/Link.vue
deleted file mode 100644
index eb4dd10..0000000
--- a/qd/src/layout/components/Sidebar/Link.vue
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/Sidebar/Logo.vue b/qd/src/layout/components/Sidebar/Logo.vue
deleted file mode 100644
index 59b5e17..0000000
--- a/qd/src/layout/components/Sidebar/Logo.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/Sidebar/SidebarItem.vue b/qd/src/layout/components/Sidebar/SidebarItem.vue
deleted file mode 100644
index 2d49dd8..0000000
--- a/qd/src/layout/components/Sidebar/SidebarItem.vue
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/layout/components/Sidebar/index.vue b/qd/src/layout/components/Sidebar/index.vue
deleted file mode 100644
index 50a35e9..0000000
--- a/qd/src/layout/components/Sidebar/index.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/TagsView/ScrollPane.vue b/qd/src/layout/components/TagsView/ScrollPane.vue
deleted file mode 100644
index ba4840d..0000000
--- a/qd/src/layout/components/TagsView/ScrollPane.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/TagsView/index.vue b/qd/src/layout/components/TagsView/index.vue
deleted file mode 100644
index 9dd84f9..0000000
--- a/qd/src/layout/components/TagsView/index.vue
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
- {{ tag.title }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/layout/components/index.js b/qd/src/layout/components/index.js
deleted file mode 100644
index 104bd3a..0000000
--- a/qd/src/layout/components/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export { default as AppMain } from './AppMain'
-export { default as Navbar } from './Navbar'
-export { default as Settings } from './Settings'
-export { default as Sidebar } from './Sidebar/index.vue'
-export { default as TagsView } from './TagsView/index.vue'
diff --git a/qd/src/layout/index.vue b/qd/src/layout/index.vue
deleted file mode 100644
index df40e4d..0000000
--- a/qd/src/layout/index.vue
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/layout/mixin/ResizeHandler.js b/qd/src/layout/mixin/ResizeHandler.js
deleted file mode 100644
index e8d0df8..0000000
--- a/qd/src/layout/mixin/ResizeHandler.js
+++ /dev/null
@@ -1,45 +0,0 @@
-import store from '@/store'
-
-const { body } = document
-const WIDTH = 992 // refer to Bootstrap's responsive design
-
-export default {
- watch: {
- $route(route) {
- if (this.device === 'mobile' && this.sidebar.opened) {
- store.dispatch('app/closeSideBar', { withoutAnimation: false })
- }
- }
- },
- beforeMount() {
- window.addEventListener('resize', this.$_resizeHandler)
- },
- beforeDestroy() {
- window.removeEventListener('resize', this.$_resizeHandler)
- },
- mounted() {
- const isMobile = this.$_isMobile()
- if (isMobile) {
- store.dispatch('app/toggleDevice', 'mobile')
- store.dispatch('app/closeSideBar', { withoutAnimation: true })
- }
- },
- methods: {
- // use $_ for mixins properties
- // https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
- $_isMobile() {
- const rect = body.getBoundingClientRect()
- return rect.width - 1 < WIDTH
- },
- $_resizeHandler() {
- if (!document.hidden) {
- const isMobile = this.$_isMobile()
- store.dispatch('app/toggleDevice', isMobile ? 'mobile' : 'desktop')
-
- if (isMobile) {
- store.dispatch('app/closeSideBar', { withoutAnimation: true })
- }
- }
- }
- }
-}
diff --git a/qd/src/main.js b/qd/src/main.js
deleted file mode 100644
index ef22503..0000000
--- a/qd/src/main.js
+++ /dev/null
@@ -1,72 +0,0 @@
-import Vue from 'vue'
-
-import Cookies from 'js-cookie'
-
-import 'normalize.css/normalize.css'
-
-import Element from 'element-ui'
-//列自适应宽度:https://github.com/legendJaden/AFTableColumn
-import AFTableColumn from 'af-table-column'
-
-//可编辑grid插件
-import 'xe-utils'
-import VXETable from 'vxe-table'
-import 'vxe-table/lib/style.css'
-
-import 'font-awesome/css/font-awesome.css'
-
-//
-import mavonEditor from 'mavon-editor'
-import 'mavon-editor/dist/css/index.css'
-
-// 数据字典
-import dict from './components/Dict'
-
-
-import scroll from 'vue-seamless-scroll'
-Vue.use(scroll)
-
-Vue.use(AFTableColumn)
-
-// 权限指令
-import permission from './components/Permission'
-import './assets/styles/element-variables.scss'
-// global css
-import './assets/styles/index.scss'
-
-// 代码高亮
-import VueHighlightJS from 'vue-highlightjs'
-import 'highlight.js/styles/atom-one-dark.css'
-
-import App from './App'
-import store from './store'
-import router from './router/routers'
-
-import './assets/icons' // icon
-import './router/index' // permission control
-import 'echarts-gl'
-
-import 'jquery'
-
-Vue.use(AFTableColumn)
-Vue.use(VXETable)
-Vue.prototype.$XModal = VXETable.modal
-
-
-Vue.use(VueHighlightJS)
-Vue.use(mavonEditor)
-Vue.use(permission)
-Vue.use(dict)
-Vue.use(Element, {
- size: Cookies.get('size') || 'small' // set element-ui default size
-})
-
-Vue.config.productionTip = false
-
-new Vue({
- el: '#app',
- router,
- store,
- render: h => h(App)
-})
-
diff --git a/qd/src/mixins/crud.js b/qd/src/mixins/crud.js
deleted file mode 100644
index 0ccbde2..0000000
--- a/qd/src/mixins/crud.js
+++ /dev/null
@@ -1,337 +0,0 @@
-import {
- initData,
- download
-} from '@/api/data'
-import {
- parseTime,
- downloadFile
-} from '@/utils/index'
-import checkPermission from '@/utils/permission'
-
-export default {
- data() {
- return {
- // 表格数据
- data: [],
- // 排序规则,默认 id 降序, 支持多字段排序 ['id,desc', 'createTime,asc']
- sort: ['id,desc'],
- // 页码
- page: 0,
- // 每页数据条数
- size: 10,
- // 总数据条数
- total: 0,
- // 请求数据的url
- url: '',
- // 查询数据的参数
- params: {},
- // 待查询的对象
- query: {},
- // 等待时间
- time: 50,
- // 是否为新增类型的表单
- isAdd: false,
- // 导出的 Loading
- downloadLoading: false,
- // 表格 Loading 属性
- loading: true,
- // 删除 Loading 属性
- delLoading: false,
- delAllLoading: false,
- // 弹窗属性
- dialog: false,
- // Form 表单
- form: {},
- // 重置表单
- resetForm: {},
- // 标题
- title: ''
- }
- },
- methods: {
- parseTime,
- downloadFile,
- checkPermission,
- async init() {
- if (!await this.beforeInit()) {
- return
- }
- return new Promise((resolve, reject) => {
- this.loading = true
- // 请求数据
- initData(this.url, this.getQueryParame()).then(data => {
- this.total = data.totalElements
- this.data = data.content
- // time 毫秒后显示表格
- setTimeout(() => {
- this.loading = false
- }, this.time)
- resolve(data)
- }).catch(err => {
- this.loading = false
- reject(err)
- })
- })
- },
- beforeInit() {
- return true
- },
- getQueryParame: function() {
- return {
- page: this.page,
- size: this.size,
- sort: this.sort,
- ...this.query,
- ...this.params
- }
- },
- // 改变页码
- pageChange(e) {
- this.page = e - 1
- this.init()
- },
- // 改变每页显示数
- sizeChange(e) {
- this.page = 0
- this.size = e
- this.init()
- },
- // 预防删除第二页最后一条数据时,或者多选删除第二页的数据时,页码错误导致请求无数据
- dleChangePage(size) {
- if (size === undefined) {
- size = 1
- }
- if (this.data.length === size && this.page !== 0) {
- this.page = this.page - 1
- }
- },
- // 查询方法
- toQuery() {
- this.page = 0
- this.init()
- },
- /**
- * 通用的提示封装
- */
- submitSuccessNotify() {
- this.$notify({
- title: '提交成功',
- type: 'success',
- duration: 2500
- })
- },
- addSuccessNotify() {
- this.$notify({
- title: '新增成功',
- type: 'success',
- duration: 2500
- })
- },
- editSuccessNotify() {
- this.$notify({
- title: '编辑成功',
- type: 'success',
- duration: 2500
- })
- },
- delSuccessNotify() {
- this.$notify({
- title: '删除成功',
- type: 'success',
- duration: 2500
- })
- },
- notify(title, type) {
- this.$notify({
- title: title,
- type: type,
- duration: 2500
- })
- },
- /**
- * 删除前可以调用 beforeDelMethod 做一些操作
- */
- beforeDelMethod() {
- return true
- },
- /**
- * 通用的删除
- */
- delMethod(id) {
- if (!this.beforeDelMethod()) {
- return
- }
- this.delLoading = true
- this.crudMethod.del(id).then(() => {
- this.delLoading = false
- this.$refs[id].doClose()
- this.dleChangePage()
- this.delSuccessNotify()
- this.afterDelMethod()
- this.init()
- }).catch(() => {
- this.delLoading = false
- this.$refs[id].doClose()
- })
- },
- afterDelMethod() {},
- /**
- * 多选删除提示
- */
- beforeDelAllMethod() {
- this.$confirm('你确定删除选中的数据吗?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.delAllMethod()
- })
- },
- /**
- * 多选删除
- */
- delAllMethod() {
- this.delAllLoading = true
- const data = this.$refs.table.selection
- const ids = []
- for (let i = 0; i < data.length; i++) {
- ids.push(data[i].id)
- }
- this.crudMethod.delAll(ids).then(() => {
- this.delAllLoading = false
- this.dleChangePage(ids.length)
- this.init()
- this.$notify({
- title: '删除成功',
- type: 'success',
- duration: 2500
- })
- }).catch(() => {
- this.delAllLoading = false
- })
- },
- /**
- * 显示新增弹窗前可以调用该方法
- */
- beforeShowAddForm() {},
- /**
- * 显示新增弹窗
- */
- showAddFormDialog() {
- this.isAdd = true
- this.resetForm = JSON.parse(JSON.stringify(this.form))
- this.beforeShowAddForm()
- this.dialog = true
- },
- /**
- * 显示编辑弹窗前可以调用该方法
- */
- beforeShowEditForm(data) {},
- /**
- * 显示编辑弹窗
- */
- showEditFormDialog(data = '') {
- this.isAdd = false
- if (data) {
- this.resetForm = JSON.parse(JSON.stringify(this.form))
- this.form = JSON.parse(JSON.stringify(data))
- }
- this.beforeShowEditForm(data)
- this.dialog = true
- },
- /**
- * 新增方法
- */
- addMethod() {
- this.crudMethod.add(this.form).then(() => {
- this.addSuccessNotify()
- this.loading = false
- this.afterAddMethod()
- this.cancel()
- this.init()
- }).catch(() => {
- this.loading = false
- this.afterAddErrorMethod()
- })
- },
- /**
- * 新增后可以调用该方法
- */
- afterAddMethod() {},
- /**
- * 新增失败后调用该方法
- */
- afterAddErrorMethod() {},
- /**
- * 通用的编辑方法
- */
- editMethod() {
- this.crudMethod.edit(this.form).then(() => {
- this.editSuccessNotify()
- this.loading = false
- this.afterEditMethod()
- this.cancel()
- this.init()
- }).catch(() => {
- this.loading = false
- })
- },
- /**
- * 编辑后可以调用该方法
- */
- afterEditMethod() {},
- /**
- * 提交前可以调用该方法
- */
- beforeSubmitMethod() {
- return true
- },
- /**
- * 提交
- */
- submitMethod() {
- if (!this.beforeSubmitMethod()) {
- return
- }
- if (this.$refs['form']) {
- this.$refs['form'].validate((valid) => {
- if (valid) {
- this.loading = true
- if (this.isAdd) {
- this.addMethod()
- } else this.editMethod()
- }
- })
- }
- },
- /**
- * 隐藏弹窗
- */
- cancel() {
- this.dialog = false
- if (this.$refs['form']) {
- this.$refs['form'].clearValidate()
- this.form = this.resetForm
- }
- },
- /**
- * 获取弹窗的标题
- */
- getFormTitle() {
- return this.isAdd ? `新增${this.title}` : `编辑${this.title}`
- },
- /**
- * 通用导出
- */
- downloadMethod() {
- this.beforeInit()
- this.downloadLoading = true
- download(this.url + '/download', this.params).then(result => {
- this.downloadFile(result, this.title + '数据', 'xlsx')
- this.downloadLoading = false
- }).catch(() => {
- this.downloadLoading = false
- })
- }
- }
-}
diff --git a/qd/src/router/index.js b/qd/src/router/index.js
deleted file mode 100644
index 14ad425..0000000
--- a/qd/src/router/index.js
+++ /dev/null
@@ -1,73 +0,0 @@
-import router from './routers'
-import store from '@/store'
-import Config from '@/settings'
-import NProgress from 'nprogress' // progress bar
-import 'nprogress/nprogress.css'// progress bar style
-import { getToken } from '@/utils/auth' // getToken from cookie
-import { buildMenus } from '@/api/system/menu'
-import { filterAsyncRouter } from '@/store/modules/permission'
-
-NProgress.configure({ showSpinner: false })// NProgress Configuration
-
-const whiteList = ['/login', '/bigscreen/task', '/bigscreen/request']// no redirect whitelist
-
-router.beforeEach((to, from, next) => {
- if (to.meta.title) {
- //document.title = to.meta.title + ' - ' + Config.title
- document.title = to.meta.title
- }
- NProgress.start()
- if (getToken()) {
- // 已登录且要跳转的页面是登录页
- if (to.path === '/login') {
- next({ path: '/' })
- NProgress.done()
- } else {
- if (store.getters.roles.length === 0) { // 判断当前用户是否已拉取完user_info信息
- store.dispatch('GetInfo').then(() => { // 拉取user_info
- // 动态路由,拉取菜单
- loadMenus(next, to)
- }).catch(() => {
- store.dispatch('LogOut').then(() => {
- location.reload() // 为了重新实例化vue-router对象 避免bug
- })
- })
- // 登录时未拉取 菜单,在此处拉取
- } else if (store.getters.loadMenus) {
- // 修改成false,防止死循环
- store.dispatch('updateLoadMenus')
- loadMenus(next, to)
- } else {
- next()
- }
- }
- } else {
- /* has no token*/
- if (whiteList.indexOf(to.path) !== -1) { // 在免登录白名单,直接进入
- next()
- } else {
- next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
- NProgress.done()
- }
- }
-})
-
-export const loadMenus = (next, to) => {
- buildMenus().then(res => {
- const sdata = JSON.parse(JSON.stringify(res))
- const rdata = JSON.parse(JSON.stringify(res))
- const sidebarRoutes = filterAsyncRouter(sdata)
- const rewriteRoutes = filterAsyncRouter(rdata, false, true)
- rewriteRoutes.push({ path: '*', redirect: '/404', hidden: true })
-
- store.dispatch('GenerateRoutes', rewriteRoutes).then(() => { // 存储路由
- router.addRoutes(rewriteRoutes) // 动态添加可访问路由表
- next({ ...to, replace: true })
- })
- store.dispatch('SetSidebarRouters', sidebarRoutes)
- })
-}
-
-router.afterEach(() => {
- NProgress.done() // finish progress bar
-})
diff --git a/qd/src/router/routers.js b/qd/src/router/routers.js
deleted file mode 100644
index 78bcbe4..0000000
--- a/qd/src/router/routers.js
+++ /dev/null
@@ -1,112 +0,0 @@
-import Vue from 'vue'
-import Router from 'vue-router'
-import Layout from '../layout/index'
-
-Vue.use(Router)
-
-export const constantRouterMap = [
- {
- path: '/login',
- meta: { title: '登录', noCache: true },
- component: (resolve) => require(['@/views/login'], resolve),
- hidden: true
- },
-
- {
- path: '/bigscreen/task',
- component: (resolve) => require(['@/views/bigscreen/task'], resolve),
- hidden: true,
- meta: { title: '呼叫看板' }
- },
- {
- path: '/bigscreen/request',
- component: (resolve) => require(['@/views/bigscreen/request'], resolve),
- hidden: true,
- meta: { title: '叫料看板' }
- },
- {
- path: '/bigscreen/ndxy_two',
- component: (resolve) => require(['@/views/bigscreen/ndxy_two'], resolve),
- hidden: true,
- meta: { title: '纽迪希亚' }
- },
- {
- path: '/bigscreen/hs',
- component: (resolve) => require(['@/views/bigscreen/hs'], resolve),
- hidden: true,
- meta: { title: '凯乐士惠氏' }
- },
- {
- path: '/bigscreen/hstask',
- component: (resolve) => require(['@/views/bigscreen/hstask'], resolve),
- hidden: true,
- meta: { title: '惠氏任务生成' }
- },
- {
- path: '/bigscreen/agvStatus',
- component: (resolve) => require(['@/views/bigscreen/agvStatus'], resolve),
- hidden: true,
- meta: { title: 'agv状态' }
- },
- {
- path: '/acs/order/index',
- component: (resolve) => require(['@/views/acs/order/index'], resolve),
- hidden: true,
- meta: { title: '工单信息' }
- },
- {
- path: '/404',
- component: (resolve) => require(['@/views/features/404'], resolve),
- hidden: true
- },
- {
- path: '/401',
- component: (resolve) => require(['@/views/features/401'], resolve),
- hidden: true
- },
- {
- path: '/redirect',
- component: Layout,
- hidden: true,
- children: [
- {
- path: '/redirect/:path*',
- component: (resolve) => require(['@/views/features/redirect'], resolve)
- }
- ]
- },
- {
- path: '/',
- component: Layout,
- redirect: '/dashboard',
- children: [
- {
- path: 'dashboard',
- component: (resolve) => require(['@/views/home2'], resolve),
- name: 'Dashboard',
- meta: { title: '首页', icon: 'index', affix: true, noCache: false }
- }
- ]
- },
- {
- path: '/user',
- component: Layout,
- hidden: true,
- redirect: 'noredirect',
- children: [
- {
- path: 'center',
- component: (resolve) => require(['@/views/system/user/center'], resolve),
- name: '个人中心',
- meta: { title: '个人中心' }
- }
- ]
- }
-]
-
-export default new Router({
- // mode: 'hash',
- mode: 'history',
- scrollBehavior: () => ({ y: 0 }),
- routes: constantRouterMap
-})
diff --git a/qd/src/router/routers.js.rej b/qd/src/router/routers.js.rej
deleted file mode 100644
index 98ecec3..0000000
--- a/qd/src/router/routers.js.rej
+++ /dev/null
@@ -1,10 +0,0 @@
-diff a/src/router/routers.js b/src/router/routers.js (rejected hunks)
-@@ -52,7 +52,7 @@
- children: [
- {
- path: 'dashboard',
-- component: (resolve) => require(['@/views/acs/monitor/device/index'], resolve),
-+ component: (resolve) => require(['@/views/home2'], resolve),
- name: 'Dashboard',
- meta: { title: '首页', icon: 'index', affix: true, noCache: false }
- }
diff --git a/qd/src/settings.js b/qd/src/settings.js
deleted file mode 100644
index cf42cfc..0000000
--- a/qd/src/settings.js
+++ /dev/null
@@ -1,53 +0,0 @@
-module.exports = {
- /**
- * @description 网站标题
- */
- /*
- title: 'EL-ADMIN',
- */
- title: '',
- /**
- * @description 是否显示 tagsView
- */
- tagsView: true,
- /**
- * @description 固定头部
- */
- fixedHeader: true,
- /**
- * @description 记住密码状态下的token在Cookie中存储的天数,默认1天
- */
- tokenCookieExpires: 1,
- /**
- * @description 记住密码状态下的密码在Cookie中存储的天数,默认1天s
- */
- passCookieExpires: 1,
- /**
- * @description 是否只保持一个子菜单的展开
- */
- uniqueOpened: true,
- /**
- * @description token key
- */
- TokenKey: 'NL-ADMIN-TOEKN',
- /**
- * @description 请求超时时间,毫秒(默认2分钟)
- */
- timeout: 1200000,
- /**
- * @description 是否显示logo
- */
- sidebarLogo: true,
- /**
- * 是否显示设置的底部信息
- */
- showFooter: false,
- /**
- * 底部文字,支持html语法
- */
- footerTxt: '© 2019 Zheng Jie Apache License 2.0',
- /**
- * 备案号
- */
- caseNumber: '浙ICP备18005431号'
-}
diff --git a/qd/src/store/getters.js b/qd/src/store/getters.js
deleted file mode 100644
index 0394a36..0000000
--- a/qd/src/store/getters.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const getters = {
- deployUploadApi: state => state.api.deployUploadApi,
- databaseUploadApi: state => state.api.databaseUploadApi,
- size: state => state.app.size,
- sidebar: state => state.app.sidebar,
- device: state => state.app.device,
- token: state => state.user.token,
- visitedViews: state => state.tagsView.visitedViews,
- cachedViews: state => state.tagsView.cachedViews,
- roles: state => state.user.roles,
- user: state => state.user.user,
- loadMenus: state => state.user.loadMenus,
- permission_routers: state => state.permission.routers,
- addRouters: state => state.permission.addRouters,
- socketApi: state => state.api.socketApi,
- imagesUploadApi: state => state.api.imagesUploadApi,
- baseApi: state => state.api.baseApi,
- fileUploadApi: state => state.api.fileUploadApi,
- updateAvatarApi: state => state.api.updateAvatarApi,
- qiNiuUploadApi: state => state.api.qiNiuUploadApi,
- sqlApi: state => state.api.sqlApi,
- swaggerApi: state => state.api.swaggerApi,
- sidebarRouters: state => state.permission.sidebarRouters
-}
-export default getters
diff --git a/qd/src/store/index.js b/qd/src/store/index.js
deleted file mode 100644
index 0fd8395..0000000
--- a/qd/src/store/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import Vue from 'vue'
-import Vuex from 'vuex'
-import getters from './getters'
-
-Vue.use(Vuex)
-
-// https://webpack.js.org/guides/dependency-management/#requirecontext
-const modulesFiles = require.context('./modules', true, /\.js$/)
-
-// you do not need `import app from './modules/app'`
-// it will auto require all vuex module from modules file
-const modules = modulesFiles.keys().reduce((modules, modulePath) => {
- // set './app.js' => 'app'
- const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1')
- const value = modulesFiles(modulePath)
- modules[moduleName] = value.default
- return modules
-}, {})
-
-const store = new Vuex.Store({
- modules,
- getters
-})
-
-export default store
diff --git a/qd/src/store/modules/api.js b/qd/src/store/modules/api.js
deleted file mode 100644
index f65785e..0000000
--- a/qd/src/store/modules/api.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// 适配 Nginx 反向代理
-const baseUrl = process.env.VUE_APP_BASE_API === '/' ? '' : process.env.VUE_APP_BASE_API
-const api = {
- state: {
- // 部署包上传
- deployUploadApi: baseUrl + '/api/deploy/upload',
- // SQL脚本上传
- databaseUploadApi: baseUrl + '/api/database/upload',
- // 实时控制台
- socketApi: baseUrl + '/websocket?token=kl',
- // 图片上传
- imagesUploadApi: baseUrl + '/api/localStorage/pictures',
- // 修改头像
- updateAvatarApi: baseUrl + '/api/users/updateAvatar',
- // 上传文件到七牛云
- qiNiuUploadApi: baseUrl + '/api/qiNiuContent',
- // Sql 监控
- sqlApi: baseUrl + '/druid/index.html',
- // swagger
- swaggerApi: baseUrl + '/swagger-ui.html',
- // 文件上传
- fileUploadApi: baseUrl + '/api/localStorage',
- // baseUrl,
- baseApi: baseUrl
- }
-}
-
-export default api
diff --git a/qd/src/store/modules/app.js b/qd/src/store/modules/app.js
deleted file mode 100644
index a384479..0000000
--- a/qd/src/store/modules/app.js
+++ /dev/null
@@ -1,56 +0,0 @@
-import Cookies from 'js-cookie'
-
-const state = {
- sidebar: {
- opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
- withoutAnimation: false
- },
- device: 'desktop',
- size: Cookies.get('size') || 'small'
-}
-
-const mutations = {
- TOGGLE_SIDEBAR: state => {
- state.sidebar.opened = !state.sidebar.opened
- state.sidebar.withoutAnimation = false
- if (state.sidebar.opened) {
- Cookies.set('sidebarStatus', 1)
- } else {
- Cookies.set('sidebarStatus', 0)
- }
- },
- CLOSE_SIDEBAR: (state, withoutAnimation) => {
- Cookies.set('sidebarStatus', 0)
- state.sidebar.opened = false
- state.sidebar.withoutAnimation = withoutAnimation
- },
- TOGGLE_DEVICE: (state, device) => {
- state.device = device
- },
- SET_SIZE: (state, size) => {
- state.size = size
- Cookies.set('size', size)
- }
-}
-
-const actions = {
- toggleSideBar({ commit }) {
- commit('TOGGLE_SIDEBAR')
- },
- closeSideBar({ commit }, { withoutAnimation }) {
- commit('CLOSE_SIDEBAR', withoutAnimation)
- },
- toggleDevice({ commit }, device) {
- commit('TOGGLE_DEVICE', device)
- },
- setSize({ commit }, size) {
- commit('SET_SIZE', size)
- }
-}
-
-export default {
- namespaced: true,
- state,
- mutations,
- actions
-}
diff --git a/qd/src/store/modules/permission.js b/qd/src/store/modules/permission.js
deleted file mode 100644
index 513e259..0000000
--- a/qd/src/store/modules/permission.js
+++ /dev/null
@@ -1,83 +0,0 @@
-import { constantRouterMap } from '@/router/routers'
-import Layout from '@/layout/index'
-import ParentView from '@/components/ParentView'
-
-const permission = {
- state: {
- routers: constantRouterMap,
- addRouters: [],
- sidebarRouters: []
- },
- mutations: {
- SET_ROUTERS: (state, routers) => {
- state.addRouters = routers
- state.routers = constantRouterMap.concat(routers)
- },
- SET_SIDEBAR_ROUTERS: (state, routers) => {
- state.sidebarRouters = constantRouterMap.concat(routers)
- }
- },
- actions: {
- GenerateRoutes({ commit }, asyncRouter) {
- commit('SET_ROUTERS', asyncRouter)
- },
- SetSidebarRouters({ commit }, sidebarRouter) {
- commit('SET_SIDEBAR_ROUTERS', sidebarRouter)
- }
- }
-}
-
-export const filterAsyncRouter = (routers, lastRouter = false, type = false) => { // 遍历后台传来的路由字符串,转换为组件对象
- return routers.filter(router => {
- if (type && router.children) {
- router.children = filterChildren(router.children)
- }
- if (router.component) {
- if (router.component === 'Layout') { // Layout组件特殊处理
- router.component = Layout
- } else if (router.component === 'ParentView') {
- router.component = ParentView
- } else {
- const component = router.component
- router.component = loadView(component)
- }
- }
- if (router.children != null && router.children && router.children.length) {
- router.children = filterAsyncRouter(router.children, router, type)
- } else {
- delete router['children']
- delete router['redirect']
- }
- return true
- })
-}
-
-function filterChildren(childrenMap, lastRouter = false) {
- var children = []
- childrenMap.forEach((el, index) => {
- if (el.children && el.children.length) {
- if (el.component === 'ParentView') {
- el.children.forEach(c => {
- c.path = el.path + '/' + c.path
- if (c.children && c.children.length) {
- children = children.concat(filterChildren(c.children, c))
- return
- }
- children.push(c)
- })
- return
- }
- }
- if (lastRouter) {
- el.path = lastRouter.path + '/' + el.path
- }
- children = children.concat(el)
- })
- return children
-}
-
-export const loadView = (view) => {
- return (resolve) => require([`@/views/${view}`], resolve)
-}
-
-export default permission
diff --git a/qd/src/store/modules/settings.js b/qd/src/store/modules/settings.js
deleted file mode 100644
index 521885f..0000000
--- a/qd/src/store/modules/settings.js
+++ /dev/null
@@ -1,37 +0,0 @@
-import variables from '@/assets/styles/element-variables.scss'
-import defaultSettings from '@/settings'
-const { tagsView, fixedHeader, sidebarLogo, uniqueOpened, showFooter, footerTxt, caseNumber } = defaultSettings
-
-const state = {
- theme: variables.theme,
- showSettings: false,
- tagsView: tagsView,
- fixedHeader: fixedHeader,
- sidebarLogo: sidebarLogo,
- uniqueOpened: uniqueOpened,
- showFooter: showFooter,
- footerTxt: footerTxt,
- caseNumber: caseNumber
-}
-
-const mutations = {
- CHANGE_SETTING: (state, { key, value }) => {
- if (state.hasOwnProperty(key)) {
- state[key] = value
- }
- }
-}
-
-const actions = {
- changeSetting({ commit }, data) {
- commit('CHANGE_SETTING', data)
- }
-}
-
-export default {
- namespaced: true,
- state,
- mutations,
- actions
-}
-
diff --git a/qd/src/store/modules/tagsView.js b/qd/src/store/modules/tagsView.js
deleted file mode 100644
index 3e2c170..0000000
--- a/qd/src/store/modules/tagsView.js
+++ /dev/null
@@ -1,165 +0,0 @@
-const state = {
- visitedViews: [],
- cachedViews: []
-}
-
-const mutations = {
- ADD_VISITED_VIEW: (state, view) => {
- if (state.visitedViews.some(v => v.path === view.path)) return
- state.visitedViews.push(
- Object.assign({}, view, {
- title: view.meta.title || 'no-name'
- })
- )
- },
- ADD_CACHED_VIEW: (state, view) => {
- if (state.cachedViews.includes(view.name)) return
- if (!view.meta.noCache) {
- state.cachedViews.push(view.name)
- }
- },
-
- DEL_VISITED_VIEW: (state, view) => {
- for (const [i, v] of state.visitedViews.entries()) {
- if (v.path === view.path) {
- state.visitedViews.splice(i, 1)
- break
- }
- }
- },
- DEL_CACHED_VIEW: (state, view) => {
- for (const i of state.cachedViews) {
- if (i === view.name) {
- const index = state.cachedViews.indexOf(i)
- state.cachedViews.splice(index, 1)
- break
- }
- }
- },
-
- DEL_OTHERS_VISITED_VIEWS: (state, view) => {
- state.visitedViews = state.visitedViews.filter(v => {
- return v.meta.affix || v.path === view.path
- })
- },
- DEL_OTHERS_CACHED_VIEWS: (state, view) => {
- for (const i of state.cachedViews) {
- if (i === view.name) {
- const index = state.cachedViews.indexOf(i)
- state.cachedViews = state.cachedViews.slice(index, index + 1)
- break
- }
- }
- },
-
- DEL_ALL_VISITED_VIEWS: state => {
- // keep affix tags
- const affixTags = state.visitedViews.filter(tag => tag.meta.affix)
- state.visitedViews = affixTags
- },
- DEL_ALL_CACHED_VIEWS: state => {
- state.cachedViews = []
- },
-
- UPDATE_VISITED_VIEW: (state, view) => {
- for (let v of state.visitedViews) {
- if (v.path === view.path) {
- v = Object.assign(v, view)
- break
- }
- }
- }
-}
-
-const actions = {
- addView({ dispatch }, view) {
- dispatch('addVisitedView', view)
- dispatch('addCachedView', view)
- },
- addVisitedView({ commit }, view) {
- commit('ADD_VISITED_VIEW', view)
- },
- addCachedView({ commit }, view) {
- commit('ADD_CACHED_VIEW', view)
- },
-
- delView({ dispatch, state }, view) {
- return new Promise(resolve => {
- dispatch('delVisitedView', view)
- dispatch('delCachedView', view)
- resolve({
- visitedViews: [...state.visitedViews],
- cachedViews: [...state.cachedViews]
- })
- })
- },
- delVisitedView({ commit, state }, view) {
- return new Promise(resolve => {
- commit('DEL_VISITED_VIEW', view)
- resolve([...state.visitedViews])
- })
- },
- delCachedView({ commit, state }, view) {
- return new Promise(resolve => {
- commit('DEL_CACHED_VIEW', view)
- resolve([...state.cachedViews])
- })
- },
-
- delOthersViews({ dispatch, state }, view) {
- return new Promise(resolve => {
- dispatch('delOthersVisitedViews', view)
- dispatch('delOthersCachedViews', view)
- resolve({
- visitedViews: [...state.visitedViews],
- cachedViews: [...state.cachedViews]
- })
- })
- },
- delOthersVisitedViews({ commit, state }, view) {
- return new Promise(resolve => {
- commit('DEL_OTHERS_VISITED_VIEWS', view)
- resolve([...state.visitedViews])
- })
- },
- delOthersCachedViews({ commit, state }, view) {
- return new Promise(resolve => {
- commit('DEL_OTHERS_CACHED_VIEWS', view)
- resolve([...state.cachedViews])
- })
- },
-
- delAllViews({ dispatch, state }, view) {
- return new Promise(resolve => {
- dispatch('delAllVisitedViews', view)
- dispatch('delAllCachedViews', view)
- resolve({
- visitedViews: [...state.visitedViews],
- cachedViews: [...state.cachedViews]
- })
- })
- },
- delAllVisitedViews({ commit, state }) {
- return new Promise(resolve => {
- commit('DEL_ALL_VISITED_VIEWS')
- resolve([...state.visitedViews])
- })
- },
- delAllCachedViews({ commit, state }) {
- return new Promise(resolve => {
- commit('DEL_ALL_CACHED_VIEWS')
- resolve([...state.cachedViews])
- })
- },
-
- updateVisitedView({ commit }, view) {
- commit('UPDATE_VISITED_VIEW', view)
- }
-}
-
-export default {
- namespaced: true,
- state,
- mutations,
- actions
-}
diff --git a/qd/src/store/modules/user.js b/qd/src/store/modules/user.js
deleted file mode 100644
index 3b1c7fb..0000000
--- a/qd/src/store/modules/user.js
+++ /dev/null
@@ -1,94 +0,0 @@
-import { login, getInfo, logout } from '@/api/login'
-import { getToken, setToken, removeToken } from '@/utils/auth'
-
-const user = {
- state: {
- token: getToken(),
- user: {},
- roles: [],
- // 第一次加载菜单时用到
- loadMenus: false
- },
-
- mutations: {
- SET_TOKEN: (state, token) => {
- state.token = token
- },
- SET_USER: (state, user) => {
- state.user = user
- },
- SET_ROLES: (state, roles) => {
- state.roles = roles
- },
- SET_LOAD_MENUS: (state, loadMenus) => {
- state.loadMenus = loadMenus
- }
- },
-
- actions: {
- // 登录
- Login({ commit }, userInfo) {
- const rememberMe = userInfo.rememberMe
- return new Promise((resolve, reject) => {
- login(userInfo.username, userInfo.password, userInfo.code, userInfo.uuid).then(res => {
- setToken(res.token, rememberMe)
- commit('SET_TOKEN', res.token)
- setUserInfo(res.user, commit)
- // 第一次加载菜单时用到, 具体见 src 目录下的 permission.js
- commit('SET_LOAD_MENUS', true)
- resolve()
- }).catch(error => {
- reject(error)
- })
- })
- },
-
- // 获取用户信息
- GetInfo({ commit }) {
- return new Promise((resolve, reject) => {
- getInfo().then(res => {
- setUserInfo(res, commit)
- resolve(res)
- }).catch(error => {
- reject(error)
- })
- })
- },
- // 登出
- LogOut({ commit }) {
- return new Promise((resolve, reject) => {
- logout().then(res => {
- logOut(commit)
- resolve()
- }).catch(error => {
- logOut(commit)
- reject(error)
- })
- })
- },
-
- updateLoadMenus({ commit }) {
- return new Promise((resolve, reject) => {
- commit('SET_LOAD_MENUS', false)
- })
- }
- }
-}
-
-export const logOut = (commit) => {
- commit('SET_TOKEN', '')
- commit('SET_ROLES', [])
- removeToken()
-}
-
-export const setUserInfo = (res, commit) => {
- // 如果没有任何权限,则赋予一个默认的权限,避免请求死循环
- if (res.roles.length === 0) {
- commit('SET_ROLES', ['ROLE_SYSTEM_DEFAULT'])
- } else {
- commit('SET_ROLES', res.roles)
- }
- commit('SET_USER', res.user)
-}
-
-export default user
diff --git a/qd/src/utils/auth.js b/qd/src/utils/auth.js
deleted file mode 100644
index b643e73..0000000
--- a/qd/src/utils/auth.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import Cookies from 'js-cookie'
-import Config from '@/settings'
-
-const TokenKey = Config.TokenKey
-
-export function getToken() {
- return Cookies.get(TokenKey)
-}
-
-export function setToken(token, rememberMe) {
- if (rememberMe) {
- return Cookies.set(TokenKey, token, { expires: Config.tokenCookieExpires })
- } else return Cookies.set(TokenKey, token)
-}
-
-export function removeToken() {
- return Cookies.remove(TokenKey)
-}
diff --git a/qd/src/utils/clipboard.js b/qd/src/utils/clipboard.js
deleted file mode 100644
index e916a44..0000000
--- a/qd/src/utils/clipboard.js
+++ /dev/null
@@ -1,36 +0,0 @@
-import Vue from 'vue'
-import Clipboard from 'clipboard'
-
-function clipboardSuccess() {
- Vue.prototype.$message({
- message: 'Copy successfully',
- type: 'success',
- duration: 1500
- })
-}
-
-function clipboardError() {
- Vue.prototype.$message({
- message: 'Copy failed',
- type: 'error'
- })
-}
-
-export default function handleClipboard(text, event) {
- const clipboard = new Clipboard(event.target, {
- text: () => text
- })
- clipboard.on('success', () => {
- clipboardSuccess()
- clipboard.off('error')
- clipboard.off('success')
- clipboard.destroy()
- })
- clipboard.on('error', () => {
- clipboardError()
- clipboard.off('error')
- clipboard.off('success')
- clipboard.destroy()
- })
- clipboard.onClick(event)
-}
diff --git a/qd/src/utils/datetime.js b/qd/src/utils/datetime.js
deleted file mode 100644
index 67f808a..0000000
--- a/qd/src/utils/datetime.js
+++ /dev/null
@@ -1,216 +0,0 @@
-/* eslint-disable */
-
-/**
- * Date对象的补充函数,包括类似Python中的strftime()
- * 阿债 https://gitee.com/azhai/datetime.js
- */
-
-Date.prototype.toMidnight = function() {
- this.setHours(0)
- this.setMinutes(0)
- this.setSeconds(0)
- this.setMilliseconds(0)
- return this
-}
-
-Date.prototype.daysAgo = function(days, midnight) {
- days = days ? days - 0 : 0
- const date = new Date(this.getTime() - days * 8.64E7)
- return midnight ? date.toMidnight() : date
-}
-
-Date.prototype.monthBegin = function(offset) {
- offset = offset ? offset - 0 : 0
- const days = this.getDate() - 1 - offset
- return this.daysAgo(days, true)
-}
-
-Date.prototype.quarterBegin = function() {
- const month = this.getMonth() - this.getMonth() % 3
- return new Date(this.getFullYear(), month, 1).toMidnight()
-}
-
-Date.prototype.yearBegin = function() {
- return new Date(this.getFullYear(), 0, 1).toMidnight()
-}
-
-Date.prototype.strftime = function(format, local) {
- if (!format) {
- const str = new Date(this.getTime() + 2.88E7).toISOString()
- return str.substr(0, 16).replace('T', ' ')
- }
- local = local && local.startsWith('zh') ? 'zh' : 'en'
- const padZero = function(str, len) {
- const pads = len - str.toString().length
- return (pads && pads > 0 ? '0'.repeat(pads) : '') + str
- }
- format = format.replace('%F', '%Y-%m-%d')
- format = format.replace(/%D|%x/, '%m/%d/%y')
- format = format.replace(/%T|%X/, '%H:%M:%S')
- format = format.replace('%R', '%H:%M')
- format = format.replace('%r', '%H:%M:%S %p')
- format = format.replace('%c', '%a %b %e %H:%M:%S %Y')
- const _this = this
- return format.replace(/%[A-Za-z%]/g, function(f) {
- let ans = f
- switch (f) {
- case '%%':
- ans = '%'
- break
-
- case '%Y':
- case '%G':
- ans = _this.getFullYear()
- break
-
- case '%y':
- ans = _this.getFullYear() % 100
- break
-
- case '%C':
- ans = _this.getFullYear() / 100
- break
-
- case '%m':
- case '%n':
- ans = _this.getMonth() + 1
- break
-
- case '%B':
- local = local.startsWith('en') ? 'english' : local
-
- case '%b':
- const m = _this.getMonth()
- ans = local_labels.monthes[local][m]
- break
-
- case '%d':
- case '%e':
- ans = _this.getDate()
- break
-
- case '%j':
- ans = _this.getDaysOfYear()
- break
-
- case '%U':
- case '%W':
- const ws = _this.getWeeksOfYear(f === '%W')
- ans = padZero(ws, 2)
- break
-
- case '%w':
- ans = _this.getDay()
-
- case '%u':
- ans = ans === 0 ? 7 : ans
- break
-
- case '%A':
- local = local.startsWith('en') ? 'english' : local
-
- case '%a':
- const d = _this.getDay()
- ans = local_labels.weekdays[local][d]
- break
-
- case '%H':
- case '%k':
- ans = _this.getHours()
- break
-
- case '%I':
- case '%l':
- ans = _this.getHours()
- ans = ans % 12
- break
-
- case '%M':
- ans = _this.getMinutes()
- break
-
- case '%S':
- ans = _this.getSeconds()
- break
-
- case '%s':
- ans = parseInt(_this.getTime() / 1E3)
- break
-
- case '%f':
- const ms = _this.getMilliseconds()
- ans = padZero(ms * 1E3, 6)
- break
-
- case '%P':
- local = local.startsWith('en') ? 'english' : local
-
- case '%p':
- const h = _this.getHours()
- ans = local_labels.meridians[local][h < 12 ? 0 : 1]
- break
-
- case '%z':
- let tzo = _this.getTimezoneOffset()
- const sign = tzo < 0 ? '-' : '+'
- tzo = Math.abs(tzo)
- const ho = padZero(tzo / 60, 2)
- const mo = padZero(tzo % 60, 2)
- ans = sign + ho + mo
- break
-
- default:
- break
- }
- if (f === '%C' || f === '%y' || f === '%m' || f === '%d' || f === '%H' || f === '%M' || f === '%S') {
- ans = padZero(ans, 2)
- }
- return ans.toString()
- })
-}
-
-Date.prototype.humanize = function(local) {
- local = local && local.startsWith('zh') ? 'zh' : 'en'
- const result = this.strftime('', local)
- const days = (Date.today() - this.toMidnight().getTime()) / 8.64E7
- if (days <= -10 || days >= 10) {
- return result
- }
- const labels = local_labels.dayagos[local]
- let lbl = ''
- if (days === 0 || days === 1) {
- lbl = labels[days]
- } else if (days === -1) {
- lbl = labels[2]
- } else if (days >= 2) {
- lbl = days + labels[3]
- } else {
- lbl = days + labels[4]
- }
- return lbl + result.substr(10, 6)
-}
-
-const local_labels = {
- monthes: {
- english: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
- en: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
- zh: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
- },
- weekdays: {
- english: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
- en: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
- zh: ['日', '一', '二', '三', '四', '五', '六']
- },
- meridians: {
- english: ['a.m.', 'p.m.'],
- en: ['AM', 'PM'],
- zh: ['上午', '下午']
- },
- dayagos: {
- english: ['Today', 'Yesterday', 'Tomorrow', ' days ago', ' days late'],
- en: ['Today', 'Yesterday', 'Tomorrow', ' days ago', ' days late'],
- zh: ['今天', '昨天', '明天', '天前', '天后']
- }
-}
-
-export default Date
diff --git a/qd/src/utils/index.js b/qd/src/utils/index.js
deleted file mode 100644
index ab7ad30..0000000
--- a/qd/src/utils/index.js
+++ /dev/null
@@ -1,388 +0,0 @@
-/**
- * Created by PanJiaChen on 16/11/18.
- */
-
-/**
- * Parse the time to string
- * @param {(Object|string|number)} time
- * @param {string} cFormat
- * @returns {string}
- */
-export function parseTime(time, cFormat) {
- if (arguments.length === 0) {
- return null
- }
- const format = cFormat || '{y}-{m}-{d} {h}:{i}:{s}'
- let date
- if (typeof time === 'undefined' || time === null || time === 'null') {
- return ''
- } else if (typeof time === 'object') {
- date = time
- } else {
- if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) {
- time = parseInt(time)
- }
- if ((typeof time === 'number') && (time.toString().length === 10)) {
- time = time * 1000
- }
- date = new Date(time)
- }
- const formatObj = {
- y: date.getFullYear(),
- m: date.getMonth() + 1,
- d: date.getDate(),
- h: date.getHours(),
- i: date.getMinutes(),
- s: date.getSeconds(),
- a: date.getDay()
- }
- const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => {
- let value = formatObj[key]
- // Note: getDay() returns 0 on Sunday
- if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value ] }
- if (result.length > 0 && value < 10) {
- value = '0' + value
- }
- return value || 0
- })
- return time_str
-}
-
-/**
- * @param {number} time
- * @param {string} option
- * @returns {string}
- */
-export function formatTime(time, option) {
- if (('' + time).length === 10) {
- time = parseInt(time) * 1000
- } else {
- time = +time
- }
- const d = new Date(time)
- const now = Date.now()
-
- const diff = (now - d) / 1000
-
- if (diff < 30) {
- return '刚刚'
- } else if (diff < 3600) {
- // less 1 hour
- return Math.ceil(diff / 60) + '分钟前'
- } else if (diff < 3600 * 24) {
- return Math.ceil(diff / 3600) + '小时前'
- } else if (diff < 3600 * 24 * 2) {
- return '1天前'
- }
- if (option) {
- return parseTime(time, option)
- } else {
- return (
- d.getMonth() +
- 1 +
- '月' +
- d.getDate() +
- '日' +
- d.getHours() +
- '时' +
- d.getMinutes() +
- '分'
- )
- }
-}
-
-/**
- * @param {string} url
- * @returns {Object}
- */
-export function getQueryObject(url) {
- url = url == null ? window.location.href : url
- const search = url.substring(url.lastIndexOf('?') + 1)
- const obj = {}
- const reg = /([^?&=]+)=([^?&=]*)/g
- search.replace(reg, (rs, $1, $2) => {
- const name = decodeURIComponent($1)
- let val = decodeURIComponent($2)
- val = String(val)
- obj[name] = val
- return rs
- })
- return obj
-}
-
-/**
- * @param {string} input value
- * @returns {number} output value
- */
-export function byteLength(str) {
- // returns the byte length of an utf8 string
- let s = str.length
- for (var i = str.length - 1; i >= 0; i--) {
- const code = str.charCodeAt(i)
- if (code > 0x7f && code <= 0x7ff) s++
- else if (code > 0x7ff && code <= 0xffff) s += 2
- if (code >= 0xDC00 && code <= 0xDFFF) i--
- }
- return s
-}
-
-/**
- * @param {Array} actual
- * @returns {Array}
- */
-export function cleanArray(actual) {
- const newArray = []
- for (let i = 0; i < actual.length; i++) {
- if (actual[i]) {
- newArray.push(actual[i])
- }
- }
- return newArray
-}
-
-/**
- * @param {Object} json
- * @returns {Array}
- */
-export function param(json) {
- if (!json) return ''
- return cleanArray(
- Object.keys(json).map(key => {
- if (json[key] === undefined) return ''
- return encodeURIComponent(key) + '=' + encodeURIComponent(json[key])
- })
- ).join('&')
-}
-
-/**
- * @param {string} url
- * @returns {Object}
- */
-export function param2Obj(url) {
- const search = url.split('?')[1]
- if (!search) {
- return {}
- }
- return JSON.parse(
- '{"' +
- decodeURIComponent(search)
- .replace(/"/g, '\\"')
- .replace(/&/g, '","')
- .replace(/=/g, '":"')
- .replace(/\+/g, ' ') +
- '"}'
- )
-}
-
-/**
- * @param {string} val
- * @returns {string}
- */
-export function html2Text(val) {
- const div = document.createElement('div')
- div.innerHTML = val
- return div.textContent || div.innerText
-}
-
-/**
- * Merges two objects, giving the last one precedence
- * @param {Object} target
- * @param {(Object|Array)} source
- * @returns {Object}
- */
-export function objectMerge(target, source) {
- if (typeof target !== 'object') {
- target = {}
- }
- if (Array.isArray(source)) {
- return source.slice()
- }
- Object.keys(source).forEach(property => {
- const sourceProperty = source[property]
- if (typeof sourceProperty === 'object') {
- target[property] = objectMerge(target[property], sourceProperty)
- } else {
- target[property] = sourceProperty
- }
- })
- return target
-}
-
-/**
- * @param {HTMLElement} element
- * @param {string} className
- */
-export function toggleClass(element, className) {
- if (!element || !className) {
- return
- }
- let classString = element.className
- const nameIndex = classString.indexOf(className)
- if (nameIndex === -1) {
- classString += '' + className
- } else {
- classString =
- classString.substr(0, nameIndex) +
- classString.substr(nameIndex + className.length)
- }
- element.className = classString
-}
-
-/**
- * @param {string} type
- * @returns {Date}
- */
-export function getTime(type) {
- if (type === 'start') {
- return new Date().getTime() - 3600 * 1000 * 24 * 90
- } else {
- return new Date(new Date().toDateString())
- }
-}
-
-/**
- * @param {Function} func
- * @param {number} wait
- * @param {boolean} immediate
- * @return {*}
- */
-export function debounce(func, wait, immediate) {
- let timeout, args, context, timestamp, result
-
- const later = function() {
- // 据上一次触发时间间隔
- const last = +new Date() - timestamp
-
- // 上次被包装函数被调用时间间隔 last 小于设定时间间隔 wait
- if (last < wait && last > 0) {
- timeout = setTimeout(later, wait - last)
- } else {
- timeout = null
- // 如果设定为immediate===true,因为开始边界已经调用过了此处无需调用
- if (!immediate) {
- result = func.apply(context, args)
- if (!timeout) context = args = null
- }
- }
- }
-
- return function(...args) {
- context = this
- timestamp = +new Date()
- const callNow = immediate && !timeout
- // 如果延时不存在,重新设定延时
- if (!timeout) timeout = setTimeout(later, wait)
- if (callNow) {
- result = func.apply(context, args)
- context = args = null
- }
-
- return result
- }
-}
-
-/**
- * This is just a simple version of deep copy
- * Has a lot of edge cases bug
- * If you want to use a perfect deep copy, use lodash's _.cloneDeep
- * @param {Object} source
- * @returns {Object}
- */
-export function deepClone(source) {
- if (!source && typeof source !== 'object') {
- throw new Error('error arguments', 'deepClone')
- }
- const targetObj = source.constructor === Array ? [] : {}
- Object.keys(source).forEach(keys => {
- if (source[keys] && typeof source[keys] === 'object') {
- targetObj[keys] = deepClone(source[keys])
- } else {
- targetObj[keys] = source[keys]
- }
- })
- return targetObj
-}
-
-/**
- * @param {Array} arr
- * @returns {Array}
- */
-export function uniqueArr(arr) {
- return Array.from(new Set(arr))
-}
-
-/**
- * @returns {string}
- */
-export function createUniqueString() {
- const timestamp = +new Date() + ''
- const randomNum = parseInt((1 + Math.random()) * 65536) + ''
- return (+(randomNum + timestamp)).toString(32)
-}
-
-/**
- * Check if an element has a class
- * @param {HTMLElement} elm
- * @param {string} cls
- * @returns {boolean}
- */
-export function hasClass(ele, cls) {
- return !!ele.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)'))
-}
-
-/**
- * Add class to element
- * @param {HTMLElement} elm
- * @param {string} cls
- */
-export function addClass(ele, cls) {
- if (!hasClass(ele, cls)) ele.className += ' ' + cls
-}
-
-/**
- * Remove class from element
- * @param {HTMLElement} elm
- * @param {string} cls
- */
-export function removeClass(ele, cls) {
- if (hasClass(ele, cls)) {
- const reg = new RegExp('(\\s|^)' + cls + '(\\s|$)')
- ele.className = ele.className.replace(reg, ' ')
- }
-}
-
-// 替换邮箱字符
-export function regEmail(email) {
- if (String(email).indexOf('@') > 0) {
- const str = email.split('@')
- let _s = ''
- if (str[0].length > 3) {
- for (var i = 0; i < str[0].length - 3; i++) {
- _s += '*'
- }
- }
- var new_email = str[0].substr(0, 3) + _s + '@' + str[1]
- }
- return new_email
-}
-
-// 替换手机字符
-export function regMobile(mobile) {
- if (mobile.length > 7) {
- var new_mobile = mobile.substr(0, 3) + '****' + mobile.substr(7)
- }
- return new_mobile
-}
-
-// 下载文件
-export function downloadFile(obj, name, suffix) {
- const url = window.URL.createObjectURL(new Blob([obj]))
- const link = document.createElement('a')
- link.style.display = 'none'
- link.href = url
- const fileName = parseTime(new Date()) + '-' + name + '.' + suffix
- link.setAttribute('download', fileName)
- document.body.appendChild(link)
- link.click()
- document.body.removeChild(link)
-}
diff --git a/qd/src/utils/permission.js b/qd/src/utils/permission.js
deleted file mode 100644
index 221d384..0000000
--- a/qd/src/utils/permission.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import store from '@/store'
-
-/**
- * @param {Array} value
- * @returns {Boolean}
- * @example see @/views/permission/directive.vue
- */
-export default function checkPermission(value) {
- if (value && value instanceof Array && value.length > 0) {
- const roles = store.getters && store.getters.roles
- const permissionRoles = value
-
- const hasPermission = roles.some(role => {
- return permissionRoles.includes(role)
- })
-
- if (!hasPermission) {
- return false
- }
- return true
- } else {
- console.error(`need roles! Like v-permission="['admin','editor']"`)
- return false
- }
-}
diff --git a/qd/src/utils/request.js b/qd/src/utils/request.js
deleted file mode 100644
index 4fc388b..0000000
--- a/qd/src/utils/request.js
+++ /dev/null
@@ -1,90 +0,0 @@
-import axios from 'axios'
-import router from '@/router/routers'
-import { Notification } from 'element-ui'
-import store from '../store'
-import { getToken } from '@/utils/auth'
-import Config from '@/settings'
-import Cookies from 'js-cookie'
-
-const baseURLStr = window.g.prod.VUE_APP_BASE_API
-
-// 创建axios实例
-const service = axios.create({
- baseURL: process.env.NODE_ENV === 'production' ? baseURLStr : '/', // api 的 base_url
- timeout: Config.timeout // 请求超时时间
-})
-
-// request拦截器
-service.interceptors.request.use(
- config => {
- if (getToken()) {
- config.headers['Authorization'] = getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
- }
- config.headers['Content-Type'] = 'application/json'
- return config
- },
- error => {
- Promise.reject(error)
- }
-)
-
-// response 拦截器
-service.interceptors.response.use(
- response => {
- return response.data
- },
- error => {
- // 兼容blob下载出错json提示
- if (error.response.data instanceof Blob && error.response.data.type.toLowerCase().indexOf('json') !== -1) {
- const reader = new FileReader()
- reader.readAsText(error.response.data, 'utf-8')
- reader.onload = function(e) {
- const errorMsg = JSON.parse(reader.result).message
- Notification.error({
- title: errorMsg,
- duration: 5000
- })
- }
- } else {
- let code = 0
- try {
- code = error.response.data.status
- } catch (e) {
- if (error.toString().indexOf('Error: timeout') !== -1) {
- Notification.error({
- title: '网络请求超时',
- duration: 5000
- })
- return Promise.reject(error)
- }
- }
- console.log(code)
- if (code) {
- if (code === 401) {
- store.dispatch('LogOut').then(() => {
- // 用户登录界面提示
- Cookies.set('point', 401)
- location.reload()
- })
- } else if (code === 403) {
- router.push({ path: '/401' })
- } else {
- const errorMsg = error.response.data.message
- if (errorMsg !== undefined) {
- Notification.error({
- title: errorMsg,
- duration: 5000
- })
- }
- }
- } else {
- Notification.error({
- title: '接口请求失败',
- duration: 5000
- })
- }
- }
- return Promise.reject(error)
- }
-)
-export default service
diff --git a/qd/src/utils/rsaEncrypt.js b/qd/src/utils/rsaEncrypt.js
deleted file mode 100644
index 83db480..0000000
--- a/qd/src/utils/rsaEncrypt.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import JSEncrypt from 'jsencrypt/bin/jsencrypt'
-
-// 密钥对生成 http://web.chacuo.net/netrsakeypair
-
-const publicKey = 'MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANL378k3RiZHWx5AfJqdH9xRNBmD9wGD\n' +
- '2iRe41HdTNF8RUhNnHit5NpMNtGL0NPTSSpPjjI1kJfVorRvaQerUgkCAwEAAQ=='
-
-const privateKey = 'MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8\n' +
- 'mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9p\n' +
- 'B6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue\n' +
- '/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZ\n' +
- 'UBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6\n' +
- 'vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha\n' +
- '4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3\n' +
- 'tTbklZkD2A=='
-
-// 加密
-export function encrypt(txt) {
- const encryptor = new JSEncrypt()
- encryptor.setPublicKey(publicKey) // 设置公钥
- return encryptor.encrypt(txt) // 对需要加密的数据进行加密
-}
-
-// 解密
-export function decrypt(txt) {
- const encryptor = new JSEncrypt()
- encryptor.setPrivateKey(privateKey)
- return encryptor.decrypt(txt)
-}
-
diff --git a/qd/src/utils/shortcuts.js b/qd/src/utils/shortcuts.js
deleted file mode 100644
index a191590..0000000
--- a/qd/src/utils/shortcuts.js
+++ /dev/null
@@ -1,96 +0,0 @@
-import Date from './datetime.js'
-
-export const calendarBaseShortcuts = [{
- text: '今天',
- onClick(picker) {
- const start = new Date()
- picker.$emit('pick', [start, start])
- }
-}, {
- text: '昨天',
- onClick(picker) {
- const start = new Date().daysAgo(1)
- picker.$emit('pick', [start, start])
- }
-}, {
- text: '最近一周',
- onClick(picker) {
- const start = new Date().daysAgo(7)
- picker.$emit('pick', [start, new Date()])
- }
-}, {
- text: '最近30天',
- onClick(picker) {
- const start = new Date().daysAgo(30)
- picker.$emit('pick', [start, new Date()])
- }
-}, {
- text: '这个月',
- onClick(picker) {
- const start = new Date().monthBegin()
- picker.$emit('pick', [start, new Date()])
- }
-}, {
- text: '本季度',
- onClick(picker) {
- const start = new Date().quarterBegin()
- picker.$emit('pick', [start, new Date()])
- }
-}]
-
-export const calendarMoveShortcuts = [{
- text: '‹ 往前一天 ',
- onClick(picker) {
- if (picker.value.length === 0) {
- picker.value = [new Date(), new Date()]
- }
- const start = picker.value[0].daysAgo(1)
- const end = picker.value[1].daysAgo(1)
- picker.$emit('pick', [start, end])
- }
-}, {
- text: ' 往后一天 ›',
- onClick(picker) {
- let start = new Date()
- let end = new Date()
- if (picker.value.length > 0) {
- if (end - picker.value[1] > 8.64E7) {
- start = picker.value[0].daysAgo(-1)
- end = picker.value[1].daysAgo(-1)
- } else {
- start = picker.value[0]
- }
- }
- picker.$emit('pick', [start, end])
- }
-}, {
- text: '« 往前一周 ',
- onClick(picker) {
- if (picker.value.length === 0) {
- picker.value = [new Date().daysAgo(7), new Date()]
- }
- const start = picker.value[0].daysAgo(7)
- const end = picker.value[1].daysAgo(7)
- picker.$emit('pick', [start, end])
- }
-}, {
- text: ' 往后一周 »',
- onClick(picker) {
- let start = new Date().daysAgo(7)
- let end = new Date()
- if (picker.value.length > 0) {
- if (end - picker.value[1] > 8.64E7) {
- start = picker.value[0].daysAgo(-7)
- end = picker.value[1].daysAgo(-7)
- } else {
- start = picker.value[0]
- }
- }
- picker.$emit('pick', [start, end])
- }
-}]
-
-export const calendarShortcuts = [
- ...calendarBaseShortcuts,
- ...calendarMoveShortcuts
-]
diff --git a/qd/src/utils/upload.js b/qd/src/utils/upload.js
deleted file mode 100644
index 945414b..0000000
--- a/qd/src/utils/upload.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import axios from 'axios'
-import { getToken } from '@/utils/auth'
-
-export function upload(api, file) {
- var data = new FormData()
- data.append('file', file)
- const config = {
- headers: { 'Authorization': getToken() }
- }
- return axios.post(api, data, config)
-}
diff --git a/qd/src/utils/validate.js b/qd/src/utils/validate.js
deleted file mode 100644
index d215791..0000000
--- a/qd/src/utils/validate.js
+++ /dev/null
@@ -1,168 +0,0 @@
-/**
- * Created by PanJiaChen on 16/11/18.
- */
-
-/**
- * @param {string} path
- * @returns {Boolean}
- */
-export function isExternal(path) {
- return /^(https?:|mailto:|tel:)/.test(path)
-}
-
-/**
- * @param {string} str
- * @returns {Boolean}
- */
-export function validUsername(str) {
- const valid_map = ['admin', 'editor']
- return valid_map.indexOf(str.trim()) >= 0
-}
-
-/**
- * @param {string} url
- * @returns {Boolean}
- */
-export function validURL(url) {
- const reg = /^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/
- return reg.test(url)
-}
-
-/**
- * @param {string} str
- * @returns {Boolean}
- */
-export function validLowerCase(str) {
- const reg = /^[a-z]+$/
- return reg.test(str)
-}
-
-/**
- * @param {string} str
- * @returns {Boolean}
- */
-export function validUpperCase(str) {
- const reg = /^[A-Z]+$/
- return reg.test(str)
-}
-
-/**
- * @param {string} str
- * @returns {Boolean}
- */
-export function validAlphabets(str) {
- const reg = /^[A-Za-z]+$/
- return reg.test(str)
-}
-
-/**
- * @param {string} email
- * @returns {Boolean}
- */
-export function validEmail(email) {
- const reg = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
- return reg.test(email)
-}
-
-export function isvalidPhone(phone) {
- const reg = /^1[3|4|5|7|8][0-9]\d{8}$/
- return reg.test(phone)
-}
-
-/**
- * @param {string} str
- * @returns {Boolean}
- */
-export function isString(str) {
- if (typeof str === 'string' || str instanceof String) {
- return true
- }
- return false
-}
-
-/**
- * @param {Array} arg
- * @returns {Boolean}
- */
-export function isArray(arg) {
- if (typeof Array.isArray === 'undefined') {
- return Object.prototype.toString.call(arg) === '[object Array]'
- }
- return Array.isArray(arg)
-}
-
-/**
- * 是否合法IP地址
- * @param rule
- * @param value
- * @param callback
- */
-export function validateIP(rule, value, callback) {
- if (value === '' || value === undefined || value == null) {
- callback()
- } else {
- const reg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/
- if ((!reg.test(value)) && value !== '') {
- callback(new Error('请输入正确的IP地址'))
- } else {
- callback()
- }
- }
-}
-
-/* 是否手机号码或者固话*/
-export function validatePhoneTwo(rule, value, callback) {
- const reg = /^((0\d{2,3}-\d{7,8})|(1[34578]\d{9}))$/
- if (value === '' || value === undefined || value == null) {
- callback()
- } else {
- if ((!reg.test(value)) && value !== '') {
- callback(new Error('请输入正确的电话号码或者固话号码'))
- } else {
- callback()
- }
- }
-}
-
-/* 是否固话*/
-export function validateTelephone(rule, value, callback) {
- const reg = /0\d{2}-\d{7,8}/
- if (value === '' || value === undefined || value == null) {
- callback()
- } else {
- if ((!reg.test(value)) && value !== '') {
- callback(new Error('请输入正确的固话(格式:区号+号码,如010-1234567)'))
- } else {
- callback()
- }
- }
-}
-
-/* 是否手机号码*/
-export function validatePhone(rule, value, callback) {
- const reg = /^[1][3,4,5,7,8][0-9]{9}$/
- if (value === '' || value === undefined || value == null) {
- callback()
- } else {
- if ((!reg.test(value)) && value !== '') {
- callback(new Error('请输入正确的电话号码'))
- } else {
- callback()
- }
- }
-}
-
-/* 是否身份证号码*/
-export function validateIdNo(rule, value, callback) {
- const reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
- if (value === '' || value === undefined || value == null) {
- callback()
- } else {
- if ((!reg.test(value)) && value !== '') {
- callback(new Error('请输入正确的身份证号码'))
- } else {
- callback()
- }
- }
-}
-
diff --git a/qd/src/views/acs/config/assigned/index.vue b/qd/src/views/acs/config/assigned/index.vue
deleted file mode 100644
index 04104a0..0000000
--- a/qd/src/views/acs/config/assigned/index.vue
+++ /dev/null
@@ -1,226 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/config/trafficControl/index.vue b/qd/src/views/acs/config/trafficControl/index.vue
deleted file mode 100644
index 04104a0..0000000
--- a/qd/src/views/acs/config/trafficControl/index.vue
+++ /dev/null
@@ -1,226 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/accuracy_log/index.vue b/qd/src/views/acs/device/accuracy_log/index.vue
deleted file mode 100644
index 7b04a42..0000000
--- a/qd/src/views/acs/device/accuracy_log/index.vue
+++ /dev/null
@@ -1,270 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/acsToERP/index.vue b/qd/src/views/acs/device/acsToERP/index.vue
deleted file mode 100644
index c8b90a0..0000000
--- a/qd/src/views/acs/device/acsToERP/index.vue
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/address/index.vue b/qd/src/views/acs/device/address/index.vue
deleted file mode 100644
index 6bc3fd8..0000000
--- a/qd/src/views/acs/device/address/index.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/config.vue b/qd/src/views/acs/device/config.vue
deleted file mode 100644
index 1c2ceee..0000000
--- a/qd/src/views/acs/device/config.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
- 基本信息:{{ device_code }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/deviceDbitem/index.vue b/qd/src/views/acs/device/deviceDbitem/index.vue
deleted file mode 100644
index 4784b2c..0000000
--- a/qd/src/views/acs/device/deviceDbitem/index.vue
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label.user_status[scope.row.item_code] }}
-
-
-
-
- {{ dict.label.user_status[scope.row.item_name] }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/agv_site.vue b/qd/src/views/acs/device/driver/agv_site.vue
deleted file mode 100644
index ac6f5b0..0000000
--- a/qd/src/views/acs/device/driver/agv_site.vue
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/electric_fence.vue b/qd/src/views/acs/device/driver/electric_fence.vue
deleted file mode 100644
index 9369350..0000000
--- a/qd/src/views/acs/device/driver/electric_fence.vue
+++ /dev/null
@@ -1,352 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/feedback_agv_status_site.vue b/qd/src/views/acs/device/driver/feedback_agv_status_site.vue
deleted file mode 100644
index e7384aa..0000000
--- a/qd/src/views/acs/device/driver/feedback_agv_status_site.vue
+++ /dev/null
@@ -1,331 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/hailiang_labeling.vue b/qd/src/views/acs/device/driver/hailiang_labeling.vue
deleted file mode 100644
index d5d9081..0000000
--- a/qd/src/views/acs/device/driver/hailiang_labeling.vue
+++ /dev/null
@@ -1,458 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/jmagv.vue b/qd/src/views/acs/device/driver/jmagv.vue
deleted file mode 100644
index 799ecdf..0000000
--- a/qd/src/views/acs/device/driver/jmagv.vue
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/lamp_three_color.vue b/qd/src/views/acs/device/driver/lamp_three_color.vue
deleted file mode 100644
index 3a51340..0000000
--- a/qd/src/views/acs/device/driver/lamp_three_color.vue
+++ /dev/null
@@ -1,343 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/machines_site.vue b/qd/src/views/acs/device/driver/machines_site.vue
deleted file mode 100644
index e4d9839..0000000
--- a/qd/src/views/acs/device/driver/machines_site.vue
+++ /dev/null
@@ -1,490 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/magic3.vue b/qd/src/views/acs/device/driver/magic3.vue
deleted file mode 100644
index 95050ca..0000000
--- a/qd/src/views/acs/device/driver/magic3.vue
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue b/qd/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue
deleted file mode 100644
index 014c65e..0000000
--- a/qd/src/views/acs/device/driver/manipulator_inspect_site_NDC.vue
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
- 关联设备:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/ndxy_special.vue b/qd/src/views/acs/device/driver/ndxy_special.vue
deleted file mode 100644
index 7e12052..0000000
--- a/qd/src/views/acs/device/driver/ndxy_special.vue
+++ /dev/null
@@ -1,507 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/ndxy_special_two.vue b/qd/src/views/acs/device/driver/ndxy_special_two.vue
deleted file mode 100644
index 25bccb7..0000000
--- a/qd/src/views/acs/device/driver/ndxy_special_two.vue
+++ /dev/null
@@ -1,487 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/non_line_inspect_site.vue b/qd/src/views/acs/device/driver/non_line_inspect_site.vue
deleted file mode 100644
index b252314..0000000
--- a/qd/src/views/acs/device/driver/non_line_inspect_site.vue
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue b/qd/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue
deleted file mode 100644
index e0df177..0000000
--- a/qd/src/views/acs/device/driver/non_line_manipulator_inspect_site.vue
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/oumulong_plc.vue b/qd/src/views/acs/device/driver/oumulong_plc.vue
deleted file mode 100644
index a72079f..0000000
--- a/qd/src/views/acs/device/driver/oumulong_plc.vue
+++ /dev/null
@@ -1,350 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/special_ordinary_site.vue b/qd/src/views/acs/device/driver/special_ordinary_site.vue
deleted file mode 100644
index 94d3eaa..0000000
--- a/qd/src/views/acs/device/driver/special_ordinary_site.vue
+++ /dev/null
@@ -1,221 +0,0 @@
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/ssj_cache_site.vue b/qd/src/views/acs/device/driver/ssj_cache_site.vue
deleted file mode 100644
index c31f7fa..0000000
--- a/qd/src/views/acs/device/driver/ssj_cache_site.vue
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_autodoor.vue b/qd/src/views/acs/device/driver/standard_autodoor.vue
deleted file mode 100644
index 41e2f46..0000000
--- a/qd/src/views/acs/device/driver/standard_autodoor.vue
+++ /dev/null
@@ -1,352 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_conveyor_control.vue b/qd/src/views/acs/device/driver/standard_conveyor_control.vue
deleted file mode 100644
index 825e925..0000000
--- a/qd/src/views/acs/device/driver/standard_conveyor_control.vue
+++ /dev/null
@@ -1,502 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_conveyor_control_with_plcscanner.vue b/qd/src/views/acs/device/driver/standard_conveyor_control_with_plcscanner.vue
deleted file mode 100644
index c1700c3..0000000
--- a/qd/src/views/acs/device/driver/standard_conveyor_control_with_plcscanner.vue
+++ /dev/null
@@ -1,520 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue b/qd/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue
deleted file mode 100644
index c1700c3..0000000
--- a/qd/src/views/acs/device/driver/standard_conveyor_control_with_scanner.vue
+++ /dev/null
@@ -1,520 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_conveyor_monitor.vue b/qd/src/views/acs/device/driver/standard_conveyor_monitor.vue
deleted file mode 100644
index 02e1231..0000000
--- a/qd/src/views/acs/device/driver/standard_conveyor_monitor.vue
+++ /dev/null
@@ -1,477 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_emptypallet_site.vue b/qd/src/views/acs/device/driver/standard_emptypallet_site.vue
deleted file mode 100644
index f8e82e7..0000000
--- a/qd/src/views/acs/device/driver/standard_emptypallet_site.vue
+++ /dev/null
@@ -1,465 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_inspect_site.vue b/qd/src/views/acs/device/driver/standard_inspect_site.vue
deleted file mode 100644
index b024ca1..0000000
--- a/qd/src/views/acs/device/driver/standard_inspect_site.vue
+++ /dev/null
@@ -1,487 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_manipulator_inspect_site.vue b/qd/src/views/acs/device/driver/standard_manipulator_inspect_site.vue
deleted file mode 100644
index 6cd3fd6..0000000
--- a/qd/src/views/acs/device/driver/standard_manipulator_inspect_site.vue
+++ /dev/null
@@ -1,464 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_manipulator_stacking_site.vue b/qd/src/views/acs/device/driver/standard_manipulator_stacking_site.vue
deleted file mode 100644
index 55fd7c5..0000000
--- a/qd/src/views/acs/device/driver/standard_manipulator_stacking_site.vue
+++ /dev/null
@@ -1,482 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_ordinary_site.vue b/qd/src/views/acs/device/driver/standard_ordinary_site.vue
deleted file mode 100644
index 1dfd00e..0000000
--- a/qd/src/views/acs/device/driver/standard_ordinary_site.vue
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue b/qd/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue
deleted file mode 100644
index 52d1e68..0000000
--- a/qd/src/views/acs/device/driver/standard_photoelectric_inspect_site.vue
+++ /dev/null
@@ -1,498 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_rgv.vue b/qd/src/views/acs/device/driver/standard_rgv.vue
deleted file mode 100644
index 10839ab..0000000
--- a/qd/src/views/acs/device/driver/standard_rgv.vue
+++ /dev/null
@@ -1,538 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_scanner.vue b/qd/src/views/acs/device/driver/standard_scanner.vue
deleted file mode 100644
index 21f4a7f..0000000
--- a/qd/src/views/acs/device/driver/standard_scanner.vue
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_special_inspect_site.vue b/qd/src/views/acs/device/driver/standard_special_inspect_site.vue
deleted file mode 100644
index 557aaf6..0000000
--- a/qd/src/views/acs/device/driver/standard_special_inspect_site.vue
+++ /dev/null
@@ -1,433 +0,0 @@
-
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/standard_storage.vue b/qd/src/views/acs/device/driver/standard_storage.vue
deleted file mode 100644
index 6f89389..0000000
--- a/qd/src/views/acs/device/driver/standard_storage.vue
+++ /dev/null
@@ -1,300 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/traffic_light.vue b/qd/src/views/acs/device/driver/traffic_light.vue
deleted file mode 100644
index d39e6fb..0000000
--- a/qd/src/views/acs/device/driver/traffic_light.vue
+++ /dev/null
@@ -1,341 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/weighing_site.vue b/qd/src/views/acs/device/driver/weighing_site.vue
deleted file mode 100644
index 84762b2..0000000
--- a/qd/src/views/acs/device/driver/weighing_site.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/whxr/whxr_ball_mill.vue b/qd/src/views/acs/device/driver/whxr/whxr_ball_mill.vue
deleted file mode 100644
index 7cc0820..0000000
--- a/qd/src/views/acs/device/driver/whxr/whxr_ball_mill.vue
+++ /dev/null
@@ -1,433 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/whxr/whxr_spary_power.vue b/qd/src/views/acs/device/driver/whxr/whxr_spary_power.vue
deleted file mode 100644
index 9c87417..0000000
--- a/qd/src/views/acs/device/driver/whxr/whxr_spary_power.vue
+++ /dev/null
@@ -1,351 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/whxr/whxr_storage_conveyor.vue b/qd/src/views/acs/device/driver/whxr/whxr_storage_conveyor.vue
deleted file mode 100644
index 4f34037..0000000
--- a/qd/src/views/acs/device/driver/whxr/whxr_storage_conveyor.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/whxr/whxr_weighing.vue b/qd/src/views/acs/device/driver/whxr/whxr_weighing.vue
deleted file mode 100644
index 3880b4a..0000000
--- a/qd/src/views/acs/device/driver/whxr/whxr_weighing.vue
+++ /dev/null
@@ -1,325 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/whxr/whxr_weight.vue b/qd/src/views/acs/device/driver/whxr/whxr_weight.vue
deleted file mode 100644
index 9c87417..0000000
--- a/qd/src/views/acs/device/driver/whxr/whxr_weight.vue
+++ /dev/null
@@ -1,351 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/ykbk_special.vue b/qd/src/views/acs/device/driver/ykbk_special.vue
deleted file mode 100644
index 2380364..0000000
--- a/qd/src/views/acs/device/driver/ykbk_special.vue
+++ /dev/null
@@ -1,507 +0,0 @@
-
-
-
-
-
- 设备协议:
-
-
-
-
- OpcServer:
-
-
-
-
-
- PLC:
-
-
-
-
-
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PLC读取字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试读
-
-
-
-
-
-
-
-
-
-
-
- PLC写入字段:
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试写
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/driver/yzja_special.vue b/qd/src/views/acs/device/driver/yzja_special.vue
deleted file mode 100644
index d4ef6d2..0000000
--- a/qd/src/views/acs/device/driver/yzja_special.vue
+++ /dev/null
@@ -1,226 +0,0 @@
-
-
-
-
-
- 输送系统:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指令相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AGV相关:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/index.vue b/qd/src/views/acs/device/index.vue
deleted file mode 100644
index f8847f1..0000000
--- a/qd/src/views/acs/device/index.vue
+++ /dev/null
@@ -1,256 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 同步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.device_name }}
-
-
-
-
- {{ scope.row.device_type_name }}
-
-
-
-
- {{ scope.row.region_name }}
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
- 驱动配置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/monitor/index.vue b/qd/src/views/acs/device/monitor/index.vue
deleted file mode 100644
index 35bfca3..0000000
--- a/qd/src/views/acs/device/monitor/index.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/opc/index.vue b/qd/src/views/acs/device/opc/index.vue
deleted file mode 100644
index 1afca03..0000000
--- a/qd/src/views/acs/device/opc/index.vue
+++ /dev/null
@@ -1,301 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 详情
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
- 新增PLC
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/protocol/index.vue b/qd/src/views/acs/device/protocol/index.vue
deleted file mode 100644
index ea863eb..0000000
--- a/qd/src/views/acs/device/protocol/index.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 导出CSV
-
-
- 导出欧姆龙CSV
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.driver_code }}
-
-
-
-
- {{ scope.row.extra_code }}
-
-
-
-
-
- {{ scope.row.extra_name }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/device/storageCell/index.vue b/qd/src/views/acs/device/storageCell/index.vue
deleted file mode 100644
index 86c8b86..0000000
--- a/qd/src/views/acs/device/storageCell/index.vue
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/history/instRecord/index.vue b/qd/src/views/acs/history/instRecord/index.vue
deleted file mode 100644
index e5cf3a9..0000000
--- a/qd/src/views/acs/history/instRecord/index.vue
+++ /dev/null
@@ -1,276 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 就绪
- 执行中
- 完成
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/history/taskRecord/index.vue b/qd/src/views/acs/history/taskRecord/index.vue
deleted file mode 100644
index 5f3a42f..0000000
--- a/qd/src/views/acs/history/taskRecord/index.vue
+++ /dev/null
@@ -1,555 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 就绪
- 执行中
- 完成
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/history/taskTreeRecord/index.vue b/qd/src/views/acs/history/taskTreeRecord/index.vue
deleted file mode 100644
index da57075..0000000
--- a/qd/src/views/acs/history/taskTreeRecord/index.vue
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 就绪
- 执行中
- 完成
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/instruction/index.vue b/qd/src/views/acs/instruction/index.vue
deleted file mode 100644
index 2195918..0000000
--- a/qd/src/views/acs/instruction/index.vue
+++ /dev/null
@@ -1,333 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 同步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 就绪
- 执行中
- 完成
-
-
-
-
- 未下发
- 成功
- 失败
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 完成
- 取消
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/monitor/device/index.vue b/qd/src/views/acs/monitor/device/index.vue
deleted file mode 100644
index 2c7edbd..0000000
--- a/qd/src/views/acs/monitor/device/index.vue
+++ /dev/null
@@ -1,553 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无货
- 有托盘
- 有托盘有货
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 全部执行
- 入库
- 出库
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/order/index.vue b/qd/src/views/acs/order/index.vue
deleted file mode 100644
index d38c63d..0000000
--- a/qd/src/views/acs/order/index.vue
+++ /dev/null
@@ -1,314 +0,0 @@
-
-
-
-
-
-
-
- 导入Excel
-
-
-
-
-
-
- 添加文件
- 可上传任意格式文件,且不超过100M
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/route/routeChart/index.vue b/qd/src/views/acs/route/routeChart/index.vue
deleted file mode 100644
index ad0f1a5..0000000
--- a/qd/src/views/acs/route/routeChart/index.vue
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
-
-
-
-
{{ path }}
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/route/routeLine/index.vue b/qd/src/views/acs/route/routeLine/index.vue
deleted file mode 100644
index fa4c052..0000000
--- a/qd/src/views/acs/route/routeLine/index.vue
+++ /dev/null
@@ -1,347 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 同步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.plan_name }}
-
-
-
-
- 输送路由
- agv路由
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/route/routeLoc/index.vue b/qd/src/views/acs/route/routeLoc/index.vue
deleted file mode 100644
index 513a847..0000000
--- a/qd/src/views/acs/route/routeLoc/index.vue
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/route/routePlan/index.vue b/qd/src/views/acs/route/routePlan/index.vue
deleted file mode 100644
index 2f75d7f..0000000
--- a/qd/src/views/acs/route/routePlan/index.vue
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/stage/actor/index.vue b/qd/src/views/acs/stage/actor/index.vue
deleted file mode 100644
index 8189e44..0000000
--- a/qd/src/views/acs/stage/actor/index.vue
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/stage/editor/index.vue b/qd/src/views/acs/stage/editor/index.vue
deleted file mode 100644
index 12d0bb8..0000000
--- a/qd/src/views/acs/stage/editor/index.vue
+++ /dev/null
@@ -1,393 +0,0 @@
-
-
-
-
-
- 舞台:
-
-
-
- 宽度(px):
-
- 单元格数:
-
- 保存
- 清空
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
- 设备编号:{{ item.device_code }}
-
-
-
-
-
![]()
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ∠0°
- ∠90°
- ∠180°
- ∠270°
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ∠0°
- ∠90°
- ∠180°
- ∠270°
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/stage/image/index.vue b/qd/src/views/acs/stage/image/index.vue
deleted file mode 100644
index 5bfa1af..0000000
--- a/qd/src/views/acs/stage/image/index.vue
+++ /dev/null
@@ -1,311 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 点击上传
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/stage/index.vue b/qd/src/views/acs/stage/index.vue
deleted file mode 100644
index 8a0137f..0000000
--- a/qd/src/views/acs/stage/index.vue
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/task/deviceAskTask/index.vue b/qd/src/views/acs/task/deviceAskTask/index.vue
deleted file mode 100644
index fe2e8aa..0000000
--- a/qd/src/views/acs/task/deviceAskTask/index.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/task/index.vue b/qd/src/views/acs/task/index.vue
deleted file mode 100644
index a9eb07a..0000000
--- a/qd/src/views/acs/task/index.vue
+++ /dev/null
@@ -1,639 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 同步
-
-
- 暂停
-
-
- 恢复
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 就绪
- 执行中
- 完成
- 暂停
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 完成
- 取消
- 创建指令
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/task/taskFeedback/index.vue b/qd/src/views/acs/task/taskFeedback/index.vue
deleted file mode 100644
index 07478d2..0000000
--- a/qd/src/views/acs/task/taskFeedback/index.vue
+++ /dev/null
@@ -1,244 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 重置
- 作废
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/acs/test/hailiang/index.vue b/qd/src/views/acs/test/hailiang/index.vue
deleted file mode 100644
index 47cd2a6..0000000
--- a/qd/src/views/acs/test/hailiang/index.vue
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-
-
-
-
-
-
- 初始化
- 触发打印
- 加载模板
-
-
-
-
-
-
- 发送BUFFERDATA缓存指令
- 清空缓存
-
-
-
-
- 发送SETTEXT指令
- 事务发送
-
- 发送打印
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/agvStatus.vue b/qd/src/views/bigscreen/agvStatus.vue
deleted file mode 100644
index a42db4c..0000000
--- a/qd/src/views/bigscreen/agvStatus.vue
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-
-
-
- 综合差异:
-
-
- x坐标:
-
-
- {{ avg_difference_x }}
-
-
- y坐标:
-
-
- {{ avg_difference_y }}
-
-
-
-
-
-
- 请添加更多AGV设备
-
-
-
-
-
-
-
- {{ item.agv_id }}
-
-
-
-
-
- 状态:
-
-
- {{ item.sys_mode }}
-
-
-
-
-
-
- 当前站点:
-
-
- {{ item.curNodeID }}
-
-
-
-
-
-
- 当前坐标:
-
-
- {{ item.car_Global_rx + "," + item.car_Global_ry}}
-
-
-
-
-
-
- x坐标差异:
-
-
- {{ item.difference_x }}
-
-
-
-
-
-
- y坐标差异:
-
-
- {{ item.difference_y }}
-
-
-
-
-
-
-
-
-
-
- 请添加更多AGV设备
-
-
-
-
-
-
-
- {{ item.agv_id }}
-
-
-
-
-
- 状态:
-
-
- {{ item.sys_mode }}
-
-
-
-
-
-
- 当前站点:
-
-
- {{ item.curNodeID }}
-
-
-
-
-
-
- 当前坐标:
-
-
- {{ item.car_Global_rx + "," + item.car_Global_ry}}
-
-
-
-
-
-
- x坐标差异:
-
-
- {{ item.difference_x }}
-
-
-
-
-
-
- y坐标差异:
-
-
- {{ item.difference_y }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/hs.vue b/qd/src/views/bigscreen/hs.vue
deleted file mode 100644
index 343de4b..0000000
--- a/qd/src/views/bigscreen/hs.vue
+++ /dev/null
@@ -1,444 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/hstask.vue b/qd/src/views/bigscreen/hstask.vue
deleted file mode 100644
index 00623ea..0000000
--- a/qd/src/views/bigscreen/hstask.vue
+++ /dev/null
@@ -1,301 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/ndxy_two.vue b/qd/src/views/bigscreen/ndxy_two.vue
deleted file mode 100644
index 92ac97d..0000000
--- a/qd/src/views/bigscreen/ndxy_two.vue
+++ /dev/null
@@ -1,654 +0,0 @@
-
-
-
-
- 常规任务保存
- 特殊任务保存
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/request.vue b/qd/src/views/bigscreen/request.vue
deleted file mode 100644
index 96ccc86..0000000
--- a/qd/src/views/bigscreen/request.vue
+++ /dev/null
@@ -1,269 +0,0 @@
-
-
-
-
- 车间叫料看板
-
-
-
-
-
-
-
-
-
-
{{ getTime }}
-
-
-
-
-
-
-
-
-
-
- {{ '设备:' + item.device_name }}
-
-
- 呼叫
- 响应
- 定点
- 清除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 起点设备: {{ start_device_name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/bigscreen/task.vue b/qd/src/views/bigscreen/task.vue
deleted file mode 100644
index 8651a64..0000000
--- a/qd/src/views/bigscreen/task.vue
+++ /dev/null
@@ -1,257 +0,0 @@
-
-
-
-
- 车间任务看板
-
-
-
-
{{ getTime }}
-
-
-
-
-
-
-
-
-
-
-
- -
- 状态
- 区域
- 站点
- 物料名称
- 数量
- 备注
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
- 状态
- 起点
- 终点
- 物料名称
- 数量
- 备注
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/Echarts.vue b/qd/src/views/components/Echarts.vue
deleted file mode 100644
index d70a8a3..0000000
--- a/qd/src/views/components/Echarts.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/Editor.vue b/qd/src/views/components/Editor.vue
deleted file mode 100644
index b602d70..0000000
--- a/qd/src/views/components/Editor.vue
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- 富文本基于
- wangEditor
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/MarkDown.vue b/qd/src/views/components/MarkDown.vue
deleted file mode 100644
index 4eff05c..0000000
--- a/qd/src/views/components/MarkDown.vue
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
- Markdown 基于
- MavonEditor
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/YamlEdit.vue b/qd/src/views/components/YamlEdit.vue
deleted file mode 100644
index 9455fde..0000000
--- a/qd/src/views/components/YamlEdit.vue
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/excel/upload-excel.vue b/qd/src/views/components/excel/upload-excel.vue
deleted file mode 100644
index 75f7634..0000000
--- a/qd/src/views/components/excel/upload-excel.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/icons/element-icons.js b/qd/src/views/components/icons/element-icons.js
deleted file mode 100644
index df72201..0000000
--- a/qd/src/views/components/icons/element-icons.js
+++ /dev/null
@@ -1,74 +0,0 @@
-const elementIcons = [
- 'info',
- 'error',
- 'success',
- 'warning',
- 'question',
- 'back',
- 'arrow-left',
- 'arrow-down',
- 'arrow-right',
- 'arrow-up',
- 'caret-left',
- 'caret-bottom',
- 'caret-top',
- 'caret-right',
- 'd-arrow-left',
- 'd-arrow-right',
- 'minus',
- 'plus',
- 'remove',
- 'circle-plus',
- 'remove-outline',
- 'circle-plus-outline',
- 'close',
- 'check',
- 'circle-close',
- 'circle-check',
- 'circle-close-outline',
- 'circle-check-outline',
- 'zoom-out',
- 'zoom-in',
- 'd-caret',
- 'sort',
- 'sort-down',
- 'sort-up',
- 'tickets',
- 'document',
- 'goods',
- 'sold-out',
- 'news',
- 'message',
- 'date',
- 'printer',
- 'time',
- 'bell',
- 'mobile-phone',
- 'service',
- 'view',
- 'menu',
- 'more',
- 'more-outline',
- 'star-on',
- 'star-off',
- 'location',
- 'location-outline',
- 'phone',
- 'phone-outline',
- 'picture',
- 'picture-outline',
- 'delete',
- 'search',
- 'edit',
- 'edit-outline',
- 'rank',
- 'refresh',
- 'share',
- 'setting',
- 'upload',
- 'upload2',
- 'download',
- 'loading'
-]
-
-export default elementIcons
diff --git a/qd/src/views/components/icons/index.vue b/qd/src/views/components/icons/index.vue
deleted file mode 100644
index d060173..0000000
--- a/qd/src/views/components/icons/index.vue
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ generateIconCode(item) }}
-
-
-
- {{ item }}
-
-
-
-
-
-
-
-
-
-
- {{ generateElementIconCode(item) }}
-
-
-
- {{ item }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/components/icons/svg-icons.js b/qd/src/views/components/icons/svg-icons.js
deleted file mode 100644
index 724cd8e..0000000
--- a/qd/src/views/components/icons/svg-icons.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const req = require.context('../../../assets/icons/svg', false, /\.svg$/)
-const requireAll = requireContext => requireContext.keys()
-
-const re = /\.\/(.*)\.svg/
-
-const svgIcons = requireAll(req).map(i => {
- return i.match(re)[1]
-})
-
-export default svgIcons
diff --git a/qd/src/views/dashboard/LineChart.vue b/qd/src/views/dashboard/LineChart.vue
deleted file mode 100644
index e654168..0000000
--- a/qd/src/views/dashboard/LineChart.vue
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/views/dashboard/PanelGroup.vue b/qd/src/views/dashboard/PanelGroup.vue
deleted file mode 100644
index 589236e..0000000
--- a/qd/src/views/dashboard/PanelGroup.vue
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/dashboard/mixins/resize.js b/qd/src/views/dashboard/mixins/resize.js
deleted file mode 100644
index 234953b..0000000
--- a/qd/src/views/dashboard/mixins/resize.js
+++ /dev/null
@@ -1,55 +0,0 @@
-import { debounce } from '@/utils'
-
-export default {
- data() {
- return {
- $_sidebarElm: null,
- $_resizeHandler: null
- }
- },
- mounted() {
- this.$_resizeHandler = debounce(() => {
- if (this.chart) {
- this.chart.resize()
- }
- }, 100)
- this.$_initResizeEvent()
- this.$_initSidebarResizeEvent()
- },
- beforeDestroy() {
- this.$_destroyResizeEvent()
- this.$_destroySidebarResizeEvent()
- },
- // to fixed bug when cached by keep-alive
- // https://github.com/PanJiaChen/vue-element-admin/issues/2116
- activated() {
- this.$_initResizeEvent()
- this.$_initSidebarResizeEvent()
- },
- deactivated() {
- this.$_destroyResizeEvent()
- this.$_destroySidebarResizeEvent()
- },
- methods: {
- // use $_ for mixins properties
- // https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
- $_initResizeEvent() {
- window.addEventListener('resize', this.$_resizeHandler)
- },
- $_destroyResizeEvent() {
- window.removeEventListener('resize', this.$_resizeHandler)
- },
- $_sidebarResizeHandler(e) {
- if (e.propertyName === 'width') {
- this.$_resizeHandler()
- }
- },
- $_initSidebarResizeEvent() {
- this.$_sidebarElm = document.getElementsByClassName('sidebar-container')[0]
- this.$_sidebarElm && this.$_sidebarElm.addEventListener('transitionend', this.$_sidebarResizeHandler)
- },
- $_destroySidebarResizeEvent() {
- this.$_sidebarElm && this.$_sidebarElm.removeEventListener('transitionend', this.$_sidebarResizeHandler)
- }
- }
-}
diff --git a/qd/src/views/features/401.vue b/qd/src/views/features/401.vue
deleted file mode 100644
index 8a3b69e..0000000
--- a/qd/src/views/features/401.vue
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
- 返回
-
-
-
-
- Oops!
-
- 你没有权限去该页面
- 如有不满请联系你领导
-
- - 或者你可以去:
- -
-
- 回首页
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/features/404.vue b/qd/src/views/features/404.vue
deleted file mode 100644
index 237d81f..0000000
--- a/qd/src/views/features/404.vue
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
OOPS!
-
{{ message }}
-
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
-
返回首页
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/features/redirect.vue b/qd/src/views/features/redirect.vue
deleted file mode 100644
index db4c1d6..0000000
--- a/qd/src/views/features/redirect.vue
+++ /dev/null
@@ -1,12 +0,0 @@
-
diff --git a/qd/src/views/generator/config.vue b/qd/src/views/generator/config.vue
deleted file mode 100644
index 2690dd5..0000000
--- a/qd/src/views/generator/config.vue
+++ /dev/null
@@ -1,325 +0,0 @@
-
-
-
-
-
-
- 字段配置:{{ tableName }}
- 保存&生成
- 保存
-
- 同步
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 生成配置
- 保存
-
-
-
-
- 类上面的作者名称
-
-
-
- 模块的名称,请选择项目中已存在的模块
-
-
-
- 项目包的名称,生成的代码放到哪个包里面
-
-
-
- 接口的名称,用于控制器与接口文档中
-
-
-
- 输入views文件夹下的目录,不存在即创建
-
-
-
-
-
-
-
- 默认不去除表前缀,可自定义
-
-
-
- 是
- 否
-
- 谨防误操作,请慎重选择
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/generator/index.vue b/qd/src/views/generator/index.vue
deleted file mode 100644
index 93ec6dc..0000000
--- a/qd/src/views/generator/index.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
- 预览
-
-
- 下载
-
-
- 配置
-
-
- 生成
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/generator/preview.vue b/qd/src/views/generator/preview.vue
deleted file mode 100644
index d5b55f8..0000000
--- a/qd/src/views/generator/preview.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/home.vue b/qd/src/views/home.vue
deleted file mode 100644
index c2f031b..0000000
--- a/qd/src/views/home.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/home2.vue b/qd/src/views/home2.vue
deleted file mode 100644
index 77acf96..0000000
--- a/qd/src/views/home2.vue
+++ /dev/null
@@ -1,261 +0,0 @@
-
-
-
-
-
- 请添加更多AGV设备
-
-
-
-
-
-
-
- {{ agvObj.car_no }}
-
-
-
-
-
- 电量:
-
-
-
-
-
-
-
-
-
-
-
- 状态:
-
-
- {{ agvObj.status_name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 任务统计(当天)
-
-
-
-
- 任务总数:
-
-
- {{ task.total_num }}
-
-
-
-
-
-
- 完成任务:
-
-
- {{ task.finish_num }}
-
-
-
-
-
-
- 取消任务:
-
-
- {{ task.cancel_num }}
-
-
-
-
-
-
-
-
-
-
- 指令统计(当天)
-
-
-
-
- 当前指令:
-
-
- {{ inst.total_num }}
-
-
-
-
-
-
- 取消指令:
-
-
- {{ inst.cancel_num }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/login.vue b/qd/src/views/login.vue
deleted file mode 100644
index 97e1575..0000000
--- a/qd/src/views/login.vue
+++ /dev/null
@@ -1,206 +0,0 @@
-
-
-
-
- WCS系统
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
-
- 记住我
-
-
-
- 登 录
- 登 录 中...
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/app/index.vue b/qd/src/views/mnt/app/index.vue
deleted file mode 100644
index f3b8105..0000000
--- a/qd/src/views/mnt/app/index.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/database/execute.vue b/qd/src/views/mnt/database/execute.vue
deleted file mode 100644
index 94622fc..0000000
--- a/qd/src/views/mnt/database/execute.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
- 将文件拖到此处,或
- 点击上传
-
- 上传后,系统会自动执行SQL脚本
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/database/index.vue b/qd/src/views/mnt/database/index.vue
deleted file mode 100644
index 0212ff8..0000000
--- a/qd/src/views/mnt/database/index.vue
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- 执行脚本
-
-
-
-
-
-
-
-
-
-
-
-
- 测试
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/deploy/deploy.vue b/qd/src/views/mnt/deploy/deploy.vue
deleted file mode 100644
index 4a411b4..0000000
--- a/qd/src/views/mnt/deploy/deploy.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
-
- 将文件拖到此处,或
- 点击上传
-
- 多个应用上传文件名称为all.zip,数据库更新脚本扩展名为.sql,上传成功后系统自动部署系统。
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/deploy/index.vue b/qd/src/views/mnt/deploy/index.vue
deleted file mode 100644
index 45c9b88..0000000
--- a/qd/src/views/mnt/deploy/index.vue
+++ /dev/null
@@ -1,233 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 系统还原
-
- 状态查询
-
- 启动
-
- 停止
-
- 一键部署
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/deploy/sysRestore.vue b/qd/src/views/mnt/deploy/sysRestore.vue
deleted file mode 100644
index 2b44b09..0000000
--- a/qd/src/views/mnt/deploy/sysRestore.vue
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
- 搜索
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.deployDate) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/deployHistory/index.vue b/qd/src/views/mnt/deployHistory/index.vue
deleted file mode 100644
index 6f5e681..0000000
--- a/qd/src/views/mnt/deployHistory/index.vue
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.deployDate) }}
-
-
-
-
-
- 确定删除本条数据吗?
-
- 取消
- 确定
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/mnt/server/index.vue b/qd/src/views/mnt/server/index.vue
deleted file mode 100644
index 901eb21..0000000
--- a/qd/src/views/mnt/server/index.vue
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 测试连接
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/log/errorLog.vue b/qd/src/views/monitor/log/errorLog.vue
deleted file mode 100644
index 30a7fb8..0000000
--- a/qd/src/views/monitor/log/errorLog.vue
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
-
-
-
- {{ props.row.method }}
-
-
- {{ props.row.params }}
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/log/index.vue b/qd/src/views/monitor/log/index.vue
deleted file mode 100644
index 15d70fe..0000000
--- a/qd/src/views/monitor/log/index.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
-
-
-
- {{ props.row.method }}
-
-
- {{ props.row.params }}
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.time }}ms
- {{ scope.row.time }}ms
- {{ scope.row.time }}ms
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/log/logQuery.vue b/qd/src/views/monitor/log/logQuery.vue
deleted file mode 100644
index f0334fc..0000000
--- a/qd/src/views/monitor/log/logQuery.vue
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/log/search.vue b/qd/src/views/monitor/log/search.vue
deleted file mode 100644
index ffbcc06..0000000
--- a/qd/src/views/monitor/log/search.vue
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/lucene/index.vue b/qd/src/views/monitor/lucene/index.vue
deleted file mode 100644
index 49b7e27..0000000
--- a/qd/src/views/monitor/lucene/index.vue
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
- 清空
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/lucene/search.vue b/qd/src/views/monitor/lucene/search.vue
deleted file mode 100644
index bfb9c19..0000000
--- a/qd/src/views/monitor/lucene/search.vue
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/lucene/time.vue b/qd/src/views/monitor/lucene/time.vue
deleted file mode 100644
index 36d504a..0000000
--- a/qd/src/views/monitor/lucene/time.vue
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/online/index.vue b/qd/src/views/monitor/online/index.vue
deleted file mode 100644
index b99ac1e..0000000
--- a/qd/src/views/monitor/online/index.vue
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.loginTime) }}
-
-
-
-
-
- 确定强制退出该用户吗?
-
- 取消
- 确定
-
- 强退
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/server/index.vue b/qd/src/views/monitor/server/index.vue
deleted file mode 100644
index 920861e..0000000
--- a/qd/src/views/monitor/server/index.vue
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
-
-
-
-
- 系统:{{ data.sys.os }}
-
-
- IP:{{ data.sys.ip }}
-
-
- 项目已不间断运行:{{ data.sys.day }}
-
-
-
-
-
-
- 状态
-
-
-
- CPU使用率
-
-
-
- {{ data.cpu.name }}
-
-
- {{ data.cpu.package }}
-
-
- {{ data.cpu.core }}
-
-
- {{ data.cpu.logic }}
-
-
-
-
-
-
-
-
-
- 内存使用率
-
-
-
- 总量:{{ data.memory.total }}
-
-
- 已使用:{{ data.memory.used }}
-
-
- 空闲:{{ data.memory.available }}
-
-
-
-
-
-
-
-
-
- 交换区使用率
-
-
-
- 总量:{{ data.swap.total }}
-
-
- 已使用:{{ data.swap.used }}
-
-
- 空闲:{{ data.swap.available }}
-
-
-
-
-
-
-
-
-
- 磁盘使用率
-
-
-
-
- 总量:{{ data.disk.total }}
-
-
- 空闲:{{ data.disk.available }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CPU使用率监控
-
-
-
-
-
-
-
-
-
- 内存使用率监控
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/monitor/sql/index.vue b/qd/src/views/monitor/sql/index.vue
deleted file mode 100644
index 0ed9034..0000000
--- a/qd/src/views/monitor/sql/index.vue
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
diff --git a/qd/src/views/nested/menu1/index.vue b/qd/src/views/nested/menu1/index.vue
deleted file mode 100644
index 98240ae..0000000
--- a/qd/src/views/nested/menu1/index.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/qd/src/views/nested/menu1/menu1-1/index.vue b/qd/src/views/nested/menu1/menu1-1/index.vue
deleted file mode 100644
index 20ff93b..0000000
--- a/qd/src/views/nested/menu1/menu1-1/index.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
diff --git a/qd/src/views/nested/menu1/menu1-2/index.vue b/qd/src/views/nested/menu1/menu1-2/index.vue
deleted file mode 100644
index 8508f4a..0000000
--- a/qd/src/views/nested/menu1/menu1-2/index.vue
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/views/nested/menu2/index.vue b/qd/src/views/nested/menu2/index.vue
deleted file mode 100644
index b8283a2..0000000
--- a/qd/src/views/nested/menu2/index.vue
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/qd/src/views/system/auto/index.vue b/qd/src/views/system/auto/index.vue
deleted file mode 100644
index b8afe7d..0000000
--- a/qd/src/views/system/auto/index.vue
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 启动
-
- 确定停止该线程吗?
-
- 取消
- 确定
-
- 停止
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/auto/log.vue b/qd/src/views/system/auto/log.vue
deleted file mode 100644
index cd08287..0000000
--- a/qd/src/views/system/auto/log.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
-
搜索
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
- 查看详情
-
-
-
-
-
- {{ scope.row.isSuccess ? '成功' : '失败' }}
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/dept/index.vue b/qd/src/views/system/dept/index.vue
deleted file mode 100644
index 3cd9d09..0000000
--- a/qd/src/views/system/dept/index.vue
+++ /dev/null
@@ -1,258 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/devicedriver/index.vue b/qd/src/views/system/devicedriver/index.vue
deleted file mode 100644
index a618020..0000000
--- a/qd/src/views/system/devicedriver/index.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{form.deviceDriverType}}
-
-
- {{city}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/dict/dictDetail.vue b/qd/src/views/system/dict/dictDetail.vue
deleted file mode 100644
index 34945bc..0000000
--- a/qd/src/views/system/dict/dictDetail.vue
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ query.dictName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/dict/index.vue b/qd/src/views/system/dict/index.vue
deleted file mode 100644
index d77aa1b..0000000
--- a/qd/src/views/system/dict/index.vue
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 字典详情
- 新增
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/job/index.vue b/qd/src/views/system/job/index.vue
deleted file mode 100644
index f801686..0000000
--- a/qd/src/views/system/job/index.vue
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.jobSort }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/job/module/form.vue b/qd/src/views/system/job/module/form.vue
deleted file mode 100644
index aa538fb..0000000
--- a/qd/src/views/system/job/module/form.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/job/module/header.vue b/qd/src/views/system/job/module/header.vue
deleted file mode 100644
index 6503317..0000000
--- a/qd/src/views/system/job/module/header.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/menu/index.vue b/qd/src/views/system/menu/index.vue
deleted file mode 100644
index 8496fa3..0000000
--- a/qd/src/views/system/menu/index.vue
+++ /dev/null
@@ -1,256 +0,0 @@
-
-
-
-
-
-
-
-
-
- 目录
- 菜单
- 按钮
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
- 是
- 否
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.menuSort }}
-
-
-
-
-
-
- 是
- 否
-
-
-
-
- 是
- 否
-
-
-
-
- 否
- 是
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/param/index.vue b/qd/src/views/system/param/index.vue
deleted file mode 100644
index 221d345..0000000
--- a/qd/src/views/system/param/index.vue
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 否
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/role/index.vue b/qd/src/views/system/role/index.vue
deleted file mode 100644
index 559c49c..0000000
--- a/qd/src/views/system/role/index.vue
+++ /dev/null
@@ -1,361 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 角色列表
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 菜单分配
-
- 保存
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/timing/index.vue b/qd/src/views/system/timing/index.vue
deleted file mode 100644
index 398c1c1..0000000
--- a/qd/src/views/system/timing/index.vue
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 日志
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
- 启用
- 暂停
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.isPause ? '已暂停' : '运行中' }}
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 编辑
- 执行
-
- {{ scope.row.isPause ? '恢复' : '暂停' }}
-
-
- 确定停止并删除该任务吗?
-
- 取消
- 确定
-
- 删除
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/timing/log.vue b/qd/src/views/system/timing/log.vue
deleted file mode 100644
index cd08287..0000000
--- a/qd/src/views/system/timing/log.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
-
搜索
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
- 查看详情
-
-
-
-
-
- {{ scope.row.isSuccess ? '成功' : '失败' }}
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/user/center.vue b/qd/src/views/system/user/center.vue
deleted file mode 100644
index c71d97a..0000000
--- a/qd/src/views/system/user/center.vue
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-
- 个人信息
-
-
-
-
-
![点击上传头像]()
-
-
-
-
-
- - 用户昵称
{{ user.nickName }}
- - 所属部门
{{ user.dept.name }}
- - 手机号码
{{ user.phone }}
- - 用户邮箱
{{ user.email }}
- -
- 安全设置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 用户昵称不作为登录使用
-
-
-
- 手机号码不能重复
-
-
-
- 男
- 女
-
-
-
- 保存配置
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.time }}ms
- {{ scope.row.time }}ms
- {{ scope.row.time }}ms
-
-
-
-
- 创建日期
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/user/center/updateEmail.vue b/qd/src/views/system/user/center/updateEmail.vue
deleted file mode 100644
index e0e2e1c..0000000
--- a/qd/src/views/system/user/center/updateEmail.vue
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
- {{ buttonName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/user/center/updatePass.vue b/qd/src/views/system/user/center/updatePass.vue
deleted file mode 100644
index 078ed17..0000000
--- a/qd/src/views/system/user/center/updatePass.vue
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/system/user/index.vue b/qd/src/views/system/user/index.vue
deleted file mode 100644
index cc07b74..0000000
--- a/qd/src/views/system/user/index.vue
+++ /dev/null
@@ -1,482 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 男
- 女
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.dept.name }}
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/aliPay/config.vue b/qd/src/views/tools/aliPay/config.vue
deleted file mode 100644
index e7b50d4..0000000
--- a/qd/src/views/tools/aliPay/config.vue
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
- 应用APPID,收款账号既是APPID对应支付宝账号
-
-
-
- 商家账号
-
-
-
- 商户私钥,你的PKCS8格式RSA2私钥
-
-
-
- 支付宝公钥
-
-
-
- 订单完成后返回的地址
-
-
-
- 支付结果异步通知地址
-
-
- 保存配置
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/aliPay/index.vue b/qd/src/views/tools/aliPay/index.vue
deleted file mode 100644
index 5234929..0000000
--- a/qd/src/views/tools/aliPay/index.vue
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
注意
-
-测试所用参数都是沙箱环境,仅供测试使用,申请地址:支付宝开发平台
-如需付款测试,请使用
-账号:uuxesw9745@sandbox.com
-密码与支付密码:111111
-
支付设置
-
-// 支付提供两个接口,
-// PC端与手机端,并且在前端使用代码识别
-if (/(Android)/i.test(navigator.userAgent)){ // 判断是否为Android手机
- url = "/aliPay/toPayAsWeb"
-}else if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)){ // 判断是否为苹果手机
- url = "/aliPay/toPayAsWeb"
-} else {
- url = "/aliPay/toPayAsPC"
-}
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/aliPay/toPay.vue b/qd/src/views/tools/aliPay/toPay.vue
deleted file mode 100644
index 595cf08..0000000
--- a/qd/src/views/tools/aliPay/toPay.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-
- 测试允许区间(0,5000]
-
-
-
-
-
- 去支付
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/codeGen/codeDetail.vue b/qd/src/views/tools/codeGen/codeDetail.vue
deleted file mode 100644
index bf35eb4..0000000
--- a/qd/src/views/tools/codeGen/codeDetail.vue
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ query.dictName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/codeGen/index.vue b/qd/src/views/tools/codeGen/index.vue
deleted file mode 100644
index 59b2426..0000000
--- a/qd/src/views/tools/codeGen/index.vue
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编码详情
- 新增
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/email/config.vue b/qd/src/views/tools/email/config.vue
deleted file mode 100644
index b72b724..0000000
--- a/qd/src/views/tools/email/config.vue
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
- Sender mailbox
-
-
-
- Sender usernamex
-
-
-
- email Password
-
-
-
- SMTP address
-
-
-
- SMTP port
-
-
- 保存配置
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/email/index.vue b/qd/src/views/tools/email/index.vue
deleted file mode 100644
index d0e6387..0000000
--- a/qd/src/views/tools/email/index.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
邮件服务器配置
-
- # 邮件服务器的SMTP地址,可选,默认为smtp
- # 邮件服务器的SMTP端口,可选,默认465或者25
- # 发件人(必须正确,否则发送失败)
- # 用户名,默认为发件人邮箱前缀
- # 密码(注意,某些邮箱需要为SMTP服务单独设置密码,如QQ和163等等)
- # 是否开启ssl,默认开启
-
更多帮助
-
更多帮助请查看文档:hutool工具包
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/email/send.vue b/qd/src/views/tools/email/send.vue
deleted file mode 100644
index afa9630..0000000
--- a/qd/src/views/tools/email/send.vue
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 发送邮件
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/storage/index.vue b/qd/src/views/tools/storage/index.vue
deleted file mode 100644
index 5bb3fc0..0000000
--- a/qd/src/views/tools/storage/index.vue
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/storage/local/index.vue b/qd/src/views/tools/storage/local/index.vue
deleted file mode 100644
index 0aa2596..0000000
--- a/qd/src/views/tools/storage/local/index.vue
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
-
-
-
-
-
-
-
-
- 添加文件
- 可上传任意格式文件,且不超过100M
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/storage/qiniu/form.vue b/qd/src/views/tools/storage/qiniu/form.vue
deleted file mode 100644
index c77904e..0000000
--- a/qd/src/views/tools/storage/qiniu/form.vue
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 公开
- 私有
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/storage/qiniu/index.vue b/qd/src/views/tools/storage/qiniu/index.vue
deleted file mode 100644
index 99f4637..0000000
--- a/qd/src/views/tools/storage/qiniu/index.vue
+++ /dev/null
@@ -1,193 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 上传
-
- 同步
-
- 配置
-
-
-
-
-
- 点击上传
- 请勿上传违法文件,且文件不超过15M
-
-
-
-
-
-
-
-
- {{ scope.row.key }}
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.updateTime) }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/qd/src/views/tools/swagger/index.vue b/qd/src/views/tools/swagger/index.vue
deleted file mode 100644
index 5162cd9..0000000
--- a/qd/src/views/tools/swagger/index.vue
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
diff --git a/qd/vue.config.js b/qd/vue.config.js
deleted file mode 100644
index aa5ee07..0000000
--- a/qd/vue.config.js
+++ /dev/null
@@ -1,137 +0,0 @@
-'use strict'
-const path = require('path')
-const defaultSettings = require('./src/settings.js')
-
-function resolve(dir) {
- return path.join(__dirname, dir)
-}
-
-const name = defaultSettings.title // 网址标题
-const port = 8014 // 端口配置
-
-// All configuration item explanations can be find in https://cli.vuejs.org/config/
-module.exports = {
- // hash 模式下可使用
- // publicPath: process.env.NODE_ENV === 'development' ? '/' : './',
- publicPath: '/',
- outputDir: 'dist',
- assetsDir: 'static',
- lintOnSave: process.env.NODE_ENV === 'development',
- productionSourceMap: false,
- devServer: {
- port: port,
- open: true,
- overlay: {
- warnings: false,
- errors: true
- },
- proxy: {
- '/api': {
- target: process.env.VUE_APP_BASE_API,
- changeOrigin: true,
- pathRewrite: {
- '^/api': 'api'
- }
- },
- '/auth': {
- target: process.env.VUE_APP_BASE_API,
- changeOrigin: true,
- pathRewrite: {
- '^/auth': 'auth'
- }
- }
- }
- },
- configureWebpack: {
- // provide the app's title in webpack's name field, so that
- // it can be accessed in index.html to inject the correct title.
- name: name,
- resolve: {
- alias: {
- '@': resolve('src'),
- '@crud': resolve('src/components/Crud')
- }
- }
- },
- chainWebpack(config) {
- config.plugins.delete('preload') // TODO: need test
- config.plugins.delete('prefetch') // TODO: need test
-
- // set svg-sprite-loader
- config.module
- .rule('svg')
- .exclude.add(resolve('src/assets/icons'))
- .end()
- config.module
- .rule('icons')
- .test(/\.svg$/)
- .include.add(resolve('src/assets/icons'))
- .end()
- .use('svg-sprite-loader')
- .loader('svg-sprite-loader')
- .options({
- symbolId: 'icon-[name]'
- })
- .end()
-
- // set preserveWhitespace
- config.module
- .rule('vue')
- .use('vue-loader')
- .loader('vue-loader')
- .tap(options => {
- options.compilerOptions.preserveWhitespace = true
- return options
- })
- .end()
-
- config
- // https://webpack.js.org/configuration/devtool/#development
- .when(process.env.NODE_ENV === 'development',
- config => config.devtool('cheap-source-map')
- )
-
- config
- .when(process.env.NODE_ENV !== 'development',
- config => {
- config
- .plugin('ScriptExtHtmlWebpackPlugin')
- .after('html')
- .use('script-ext-html-webpack-plugin', [{
- // `runtime` must same as runtimeChunk name. default is `runtime`
- inline: /runtime\..*\.js$/
- }])
- .end()
- config
- .optimization.splitChunks({
- chunks: 'all',
- cacheGroups: {
- libs: {
- name: 'chunk-libs',
- test: /[\\/]node_modules[\\/]/,
- priority: 10,
- chunks: 'initial' // only package third parties that are initially dependent
- },
- elementUI: {
- name: 'chunk-elementUI', // split elementUI into a single package
- priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
- test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
- },
- commons: {
- name: 'chunk-commons',
- test: resolve('src/components'), // can customize your rules
- minChunks: 3, // minimum common number
- priority: 5,
- reuseExistingChunk: true
- }
- }
- })
- config.optimization.runtimeChunk('single')
- }
- )
- },
- transpileDependencies: [
- 'vue-echarts',
- 'resize-detector'
- ]
-}