Browse Source

值班人员更换接口

wangqin
刘朋 8 months ago
parent
commit
5f2f9f8473
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue

6
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue

@ -189,7 +189,7 @@ export default {
const closeMessage = loadingMessage({ message: "人员获取中..." }); const closeMessage = loadingMessage({ message: "人员获取中..." });
request({ request({
url: `/business/employees/list`, url: `/business/employees/listAll`,
method: "GET", method: "GET",
params: { params: {
organizationId: stationId, organizationId: stationId,
@ -197,11 +197,11 @@ export default {
}) })
.then((result) => { .then((result) => {
if (result.code != 200) return Message.error("人员获取失败"); if (result.code != 200) return Message.error("人员获取失败");
if (!result.rows?.length) return Message.warning("该驻点下暂无人员"); if (!result.data?.length) return Message.warning("该驻点下暂无人员");
// Message.success("") // Message.success("")
this.peopleList = result.rows; this.peopleList = result.data;
}) })
.catch((err) => { .catch((err) => {
Message.error("人员获取失败"); Message.error("人员获取失败");

Loading…
Cancel
Save