From fa8c6a1fb347e4e03a78e2df8ba7a8880f093724 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 18 Oct 2024 17:36:29 +0800 Subject: [PATCH] fix --- package-lock.json | 33 +++ package.json | 1 + src/api/index.js | 7 + src/layouts/header/index.vue | 42 +-- src/layouts/home/index.vue | 21 +- src/libs/clipboard.js | 32 +++ src/pages/account/login/index.vue | 5 +- src/pages/allocationReview/records/index.vue | 10 +- src/pages/expert/list/index.vue | 276 +++++++++---------- src/pages/myReview/theoryReview/index.vue | 21 +- 10 files changed, 243 insertions(+), 205 deletions(-) create mode 100644 src/libs/clipboard.js diff --git a/package-lock.json b/package-lock.json index 93af719..313d325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3215,6 +3215,16 @@ "integrity": "sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==", "dev": true }, + "clipboard": { + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/clipboard/-/clipboard-2.0.11.tgz", + "integrity": "sha512-C+0bbOqkezLIsmWSvlsXS0Q0bmkugu7jcfMIACB+RDEntIzQIkdr148we28AfSloQLRdZlYL/QYyrq05j/3Faw==", + "requires": { + "good-listener": "^1.2.2", + "select": "^1.1.2", + "tiny-emitter": "^2.0.0" + } + }, "clipboardy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.1.0.tgz", @@ -4472,6 +4482,11 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, + "delegate": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/delegate/-/delegate-3.2.0.tgz", + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" + }, "delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", @@ -6871,6 +6886,14 @@ "sparkles": "^1.0.0" } }, + "good-listener": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/good-listener/-/good-listener-1.2.2.tgz", + "integrity": "sha512-goW1b+d9q/HIwbVYZzZ6SsTr4IgE+WA44A0GmPIQstuOrgsFcT7VEJ48nmr9GaRtNu0XTKacFLGnBPAM6Afouw==", + "requires": { + "delegate": "^3.1.2" + } + }, "got": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", @@ -13027,6 +13050,11 @@ "commander": "^2.8.1" } }, + "select": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/select/-/select-1.1.2.tgz", + "integrity": "sha512-OwpTSOfy6xSs1+pwcNrv0RBMOzI39Lp3qQKUTPVVPRjCdNa5JH/oPRiqsesIskK8TVgmRiHwO4KXlV2Li9dANA==" + }, "select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -14150,6 +14178,11 @@ "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=", "dev": true }, + "tiny-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz", + "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" + }, "to-arraybuffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", diff --git a/package.json b/package.json index 87564ed..cf6c7a3 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "ali-oss": "^6.20.0", "axios": "^0.18.0", "babel-polyfill": "^6.26.0", + "clipboard": "^2.0.11", "crypto-js": "^4.2.0", "dayjs": "^1.11.12", "decimal.js": "^10.4.3", diff --git a/src/api/index.js b/src/api/index.js index 2e432b5..079c819 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -37,4 +37,11 @@ export default { getTheLabReportIdUpAndDown: `/nakadai/evaluation/getTheLabReportIdUpAndDown`, deleteComments: `/nakadai/evaluation/deleteComments`, assignedPersonnelList: `/nakadai/evaluationAssignments/assignedPersonnelList`, + addNewExperts: `/nakadai/nakadai/backstageStaff/addNewExperts`, + expertDetail: `/nakadai/nakadai/backstageStaff/expertDetail`, + modifyExpert: `/nakadai/nakadai/backstageStaff/modifyExpert`, + expertList: `/nakadai/nakadai/backstageStaff/expertList`, + delStaff: `/nakadai/nakadai/backstageStaff/delStaff`, + expertResetPassword: `/nakadai/nakadai/backstageStaff/expertResetPassword`, + updateAccountEnable: `/nakadai/nakadai/backstageStaff/updateAccountEnable`, } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 1667ecf..3964f38 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -1,8 +1,6 @@