From f85eff800481bc79d99621132c15080b55dfbdb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Wed, 28 Feb 2024 09:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=BC=E7=8F=AD=E4=BA=BA=E5=91=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=9B=9E=E6=98=BE,=E6=9B=B4=E6=8D=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ModifyDutyInformationTable.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue index 34b3e118..ee7b93cb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue @@ -163,19 +163,25 @@ export default { const closeMessage = loadingMessage({ message: "人员获取中..." }); request({ - url: `/business/employees/list`, - method: "GET", - params: { - organizationId: id + // url: `/business/employees/list`, + // method: "GET", + // params: { + // organizationId: id + // } + url: `/business/shifts/byStation`, + method: "POST", + data: { + station: this.data.station, + date: this.data.date, } }) .then((result) => { if (result.code != 200) return Message.error("人员获取失败"); - if (!result.rows?.length) return Message.warning("该驻点下暂无人员"); + if (!result.data?.length) return Message.warning("该驻点下暂无人员"); Message.success("人员获取成功") - this.peopleList = result.rows; + this.peopleList = result.data; }) .catch((err) => { Message.error("人员获取失败")