| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="locationName" |
| | | label="地点名称" /> |
| | | label="地点名称"> |
| | | <template #default="scope"> |
| | | {{ scope.row.locationName || "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="longitude" |
| | | label="经度" /> |
| | | label="经度"> |
| | | <template #default="scope"> |
| | | {{ scope.row.longitude ?? "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="latitude" |
| | | label="纬度" /> |
| | | label="纬度"> |
| | | <template #default="scope"> |
| | | {{ scope.row.latitude ?? "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="radius" |
| | | label="打卡范围(m)" /> |
| | | label="打卡范围(m)"> |
| | | <template #default="scope"> |
| | | {{ scope.row.radius ?? "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="startAt" |
| | | label="上班时间"> |
| | | <template #default="scope"> |
| | | {{ scope.row.startAt }} |
| | | {{ scope.row.startAt || "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="endAt" |
| | | label="下班时间"> |
| | | <template #default="scope"> |
| | | {{ scope.row.endAt }} |
| | | {{ scope.row.endAt || "-" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" |
| | |
| | | tableLoading.value = true; |
| | | getAttendanceRules({ ...page, ...searchForm }) |
| | | .then(res => { |
| | | tableData.value = res.data.records; |
| | | const records = Array.isArray(res?.data?.records) ? res.data.records : []; |
| | | tableData.value = records.filter(r => String(r?.id) !== "999"); |
| | | page.total = res.data.total; |
| | | }) |
| | | .finally(() => { |