From 524690b2b4a9aa2710d013ea9d69e26375538783 Mon Sep 17 00:00:00 2001 From: donqi Date: Tue, 28 Jun 2022 17:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=88=E5=82=85=E9=80=9A=E8=BF=87=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E9=93=BE=E6=8E=A5=E9=82=80=E8=AF=B7=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E5=B8=88=E5=82=85=E5=8A=A0=E5=85=A5=E5=9B=A2=E9=98=9F=EF=BC=8C?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=B8=A6=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/request.js | 2 +- components/modal/confirm-modal.vue | 19 +- pages/area-proxy/modal/invite-master.vue | 33 ++- pages/area-proxy/my-team.vue | 306 +++++++++++++---------- pages/index/index-home.vue | 11 +- 5 files changed, 212 insertions(+), 159 deletions(-) diff --git a/common/js/request.js b/common/js/request.js index 0a56fae..0e5345c 100644 --- a/common/js/request.js +++ b/common/js/request.js @@ -23,7 +23,7 @@ export default { if (args.data instanceof Object) { args.data.deptId = globalData.deptId; args.data.from = globalData.from; - if (!args.data.workerId) { + if (!args.data.workerId && userInfo && userInfo.workerId) { args.data.workerId = userInfo.workerId; } } diff --git a/components/modal/confirm-modal.vue b/components/modal/confirm-modal.vue index e55e077..1903867 100644 --- a/components/modal/confirm-modal.vue +++ b/components/modal/confirm-modal.vue @@ -7,9 +7,8 @@ {{content}} - {{cancelMsg}} - {{confirmMsg}} + {{cancelMsg}} + {{confirmMsg}} @@ -19,6 +18,7 @@