WXL
3 天以前 96dd34f77d81db58f54e3d0ad4a8cc8082189a61
src/views/OfficeRelated/checkingIn/checkingInInfo.vue
@@ -50,10 +50,7 @@
        </el-tab-pane>
        <el-tab-pane label="出差记录" name="businessTripList">
          <personal-business-trip-table
            :data="businessTripData"
            :loading="loading"
          />
          <person-business :data="businessTripData" :loading="loading" />
        </el-tab-pane>
        <el-tab-pane label="日历视图" name="calendar">
          <attendance-calendar
@@ -145,14 +142,14 @@
    generatePersonalAttendanceData() {
      const data = [];
      const currentMonth = 12; // 12月
      const currentMonth = 4; // 12月
      for (let day = 1; day <= 31; day++) {
        if (Math.random() > 0.2) {
          // 80%的出勤率
          data.push({
            id: day,
            date: `2024-${currentMonth
            date: `2026-${currentMonth
              .toString()
              .padStart(2, "0")}-${day.toString().padStart(2, "0")}`,
            checkIn: `08:${String(Math.floor(Math.random() * 30)).padStart(
@@ -175,22 +172,22 @@
      return [
        {
          id: 1,
          tripNumber: "BT202412001",
          tripNumber: "BT202612001",
          startCity: "北京",
          endCity: "上海",
          startDate: "2024-12-05",
          endDate: "2024-12-08",
          startDate: "2026-04-05",
          endDate: "2026-04-08",
          distance: 1200,
          purpose: "客户会议",
          status: "已完成"
        },
        {
          id: 2,
          tripNumber: "BT202412002",
          tripNumber: "BT202612002",
          startCity: "北京",
          endCity: "广州",
          startDate: "2024-12-15",
          endDate: "2024-12-18",
          startDate: "2026-04-012",
          endDate: "2026-04-16",
          distance: 1900,
          purpose: "项目调研",
          status: "已完成"