diff --git a/code/web/task_schedule/package-lock.json b/code/web/task_schedule/package-lock.json index 5040e05..f4852c1 100644 --- a/code/web/task_schedule/package-lock.json +++ b/code/web/task_schedule/package-lock.json @@ -20,12 +20,12 @@ }, "devDependencies": { "@babel/eslint-parser": "^7.22.15", - "@rushstack/eslint-patch": "^1.4.0", + "@rushstack/eslint-patch": "^1.5.0", "@typescript-eslint/eslint-plugin": "^6.7.3", "@vitejs/plugin-vue": "^4.3.4", "@vue/cli-plugin-eslint": "^5.0.8", "@vue/eslint-config-typescript": "^12.0.0", - "axios": "^1.5.0", + "axios": "^1.5.1", "babel": "^6.23.0", "eslint-config-recommended": "^4.1.0", "eslint-config-standard-with-typescript": "^39.1.0", @@ -1157,9 +1157,9 @@ "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" }, "node_modules/@rushstack/eslint-patch": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.4.0.tgz", - "integrity": "sha512-cEjvTPU32OM9lUFegJagO0mRnIn+rbqrG89vV8/xLnLFX0DoR0r1oy5IlTga71Q7uT3Qus7qm7wgeiMT/+Irlg==", + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.5.0.tgz", + "integrity": "sha512-EF3948ckf3f5uPgYbQ6GhyA56Dmv8yg0+ir+BroRjwdxyZJsekhZzawOecC2rOTPCz173t7ZcR1HHZu0dZgOCw==", "dev": true }, "node_modules/@sideway/address": { @@ -3248,9 +3248,9 @@ } }, "node_modules/axios": { - "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/axios/-/axios-1.5.0.tgz", - "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==", + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", "dev": true, "dependencies": { "follow-redirects": "^1.15.0", diff --git a/code/web/task_schedule/package.json b/code/web/task_schedule/package.json index 745c704..198baad 100644 --- a/code/web/task_schedule/package.json +++ b/code/web/task_schedule/package.json @@ -21,12 +21,12 @@ }, "devDependencies": { "@babel/eslint-parser": "^7.22.15", - "@rushstack/eslint-patch": "^1.4.0", + "@rushstack/eslint-patch": "^1.5.0", "@typescript-eslint/eslint-plugin": "^6.7.3", "@vitejs/plugin-vue": "^4.3.4", "@vue/cli-plugin-eslint": "^5.0.8", "@vue/eslint-config-typescript": "^12.0.0", - "axios": "^1.5.0", + "axios": "^1.5.1", "babel": "^6.23.0", "eslint-config-recommended": "^4.1.0", "eslint-config-standard-with-typescript": "^39.1.0", diff --git a/code/web/task_schedule/src/layout/components/Main.vue b/code/web/task_schedule/src/layout/components/Main.vue index 6579d91..ebeb092 100644 --- a/code/web/task_schedule/src/layout/components/Main.vue +++ b/code/web/task_schedule/src/layout/components/Main.vue @@ -11,7 +11,7 @@ * @Author: Kane * @Date: 2023-01-04 11:40:03 * @LastEditors: Kane - * @LastEditTime: 2023-03-27 18:19:35 + * @LastEditTime: 2023-09-27 11:19:05 * @FilePath: /it-console/src/layout/components/Main.vue * @Description: * @@ -37,6 +37,6 @@ export default { .el-scrollbar { height: 100%; width: 100%; - background-color: #ecf2f9; + /* background-color: #ecf2f9; */ } diff --git a/code/web/task_schedule/src/router/index.js b/code/web/task_schedule/src/router/index.js index b4bb793..8a73173 100644 --- a/code/web/task_schedule/src/router/index.js +++ b/code/web/task_schedule/src/router/index.js @@ -62,13 +62,13 @@ const routes = [ component: ()=> import( "../layout/Index.vue" ), children:[ { - path:"/staff_data", - name:"StaffDataManagement", + path:"/telsaler_data", + name:"TelsalerManagement", meta: { title:"坐席管理", icon: "user", }, - component: ()=> import( "../views/StaffManagement.vue" ), + component: ()=> import( "../views/telsaler/TelsalerManagementView.vue" ), }, { path: "/data_management", diff --git a/code/web/task_schedule/src/utils/fileUpload.ts b/code/web/task_schedule/src/utils/fileUpload.ts new file mode 100644 index 0000000..e0dbb76 --- /dev/null +++ b/code/web/task_schedule/src/utils/fileUpload.ts @@ -0,0 +1,16 @@ +/* + * @Author: Kane + * @Date: 2023-09-27 14:13:47 + * @LastEditors: Kane + * @FilePath: /task_schedule/src/utils/fileUpload.ts + * @Description: 文件上传相关 + * + * Copyright (c) ${2022} by Kane, All Rights Reserved. + */ + +interface FileUploadResponse +{ + success: boolean; + message: string; + fileList: string[]; +} diff --git a/code/web/task_schedule/src/views/RewardManagement.vue b/code/web/task_schedule/src/views/RewardManagement.vue index eec86d5..b12cbe1 100644 --- a/code/web/task_schedule/src/views/RewardManagement.vue +++ b/code/web/task_schedule/src/views/RewardManagement.vue @@ -260,10 +260,12 @@ export default { } else { - ElMessage({ + ElMessageBox({ message: response.message, type: "error", - }); + }) + .then(() => {}) + .catch(() => {}); } refresh(); diff --git a/code/web/task_schedule/src/views/data/DataManagement.vue b/code/web/task_schedule/src/views/data/DataManagement.vue index 4a8607e..6e42d8a 100644 --- a/code/web/task_schedule/src/views/data/DataManagement.vue +++ b/code/web/task_schedule/src/views/data/DataManagement.vue @@ -26,13 +26,6 @@ 上传 - - 清除 -