From 5eff53bf42bcc76c5e6cfe40063ccd518c9d992b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Wed, 11 Dec 2024 15:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A8=E5=A4=B4=E6=8B=96?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E5=AF=86=E7=A0=81=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/user.js | 7 ++ src/components/scImport/index.vue | 1 - src/components/scTable/index.vue | 9 ++- src/views/cost/feeRecords/index.vue | 2 +- src/views/docsManager/document.vue | 2 +- src/views/docsManager/share.vue | 5 +- src/views/earlyManager/index.vue | 2 +- src/views/login/resetPassword.vue | 80 ++++++++++--------- src/views/order/inventoryList/index.vue | 2 +- src/views/order/inventoryStatistics/index.vue | 2 +- src/views/order/order-edit.vue | 7 +- src/views/order/orderList/index.vue | 10 ++- src/views/order/orderPlan/index.vue | 2 +- src/views/order/repairList/index.vue | 2 +- src/views/order/submit-order.vue | 11 +-- src/views/reports/keepRepairReports/index.vue | 2 +- src/views/reports/shipmentReports/index.vue | 2 +- src/views/service/faq.vue | 2 +- src/views/service/queryRecord.vue | 2 +- src/views/setting/bom/index.vue | 2 +- src/views/setting/company/index.vue | 2 +- src/views/setting/log/components/ability.vue | 2 +- src/views/setting/log/components/command.vue | 2 +- .../setting/partsMag/components/info.vue | 2 +- .../setting/partsMag/components/library.vue | 2 +- src/views/setting/user/index.vue | 2 +- .../shipment/shipmentDataConfirm/index.vue | 2 +- src/views/shipment/shipmentList/index.vue | 2 +- .../shipment/shipmentStatistics/index.vue | 2 +- src/views/userCenter/user/logs.vue | 2 +- 30 files changed, 98 insertions(+), 76 deletions(-) diff --git a/src/api/model/user.js b/src/api/model/user.js index 2cbb531..5ffb547 100644 --- a/src/api/model/user.js +++ b/src/api/model/user.js @@ -51,6 +51,13 @@ export default { return await http.post(this.url, params); }, }, + resetPassword:{ + url: `${config.API_URL}/user.find.password`, + name: "修改个人密码", + post: async function (params) { + return await http.post(this.url, params); + }, + }, register:{ url: `${config.API_URL}/user.register`, name: "邮箱注册用户", diff --git a/src/components/scImport/index.vue b/src/components/scImport/index.vue index 856c55f..de6331e 100644 --- a/src/components/scImport/index.vue +++ b/src/components/scImport/index.vue @@ -1,6 +1,5 @@