zhangwencui
2026-01-20 bd96ac239ba897edc2f8bed5cfb426e0f54ee877
src/pages/managementMeetings/meetApplication/index.vue
@@ -151,7 +151,7 @@
              <u-checkbox v-for="option in employees"
                          :key="option.id"
                          :name="option.id"
                          :label="`${option.staffName} (${option.postJob})`"
                          :label="`${option.staffName} (${option.postName})`"
                          class="checkbox-item"></u-checkbox>
            </view>
          </u-checkbox-group>
@@ -178,7 +178,7 @@
    saveMeetingApplication,
    getRoomEnum,
  } from "@/api/managementMeetings/meeting";
  import { getStaffOnJob } from "@/api/personnelManagement/onboarding";
  import { staffOnJobListPage } from "@/api/personnelManagement/onboarding";
  import dayjs from "dayjs";
  const userStore = useUserStore();
@@ -412,10 +412,12 @@
    initPageData();
    initTimeOptions();
    getMeetingRooms();
    getStaffOnJob().then(res => {
      employees.value = res.data.sort((a, b) =>
        a.postJob.localeCompare(b.postJob)
    staffOnJobListPage().then(res => {
      console.log(res.data.records, "res.data.records");
      employees.value = res.data.records.sort((a, b) =>
        a.postName.localeCompare(b.postName)
      );
      console.log(employees.value, "employees.value");
    });
  });