|
@@ -205,53 +205,45 @@
|
|
|
<el-table-column type="selection" width="40" />
|
|
<el-table-column type="selection" width="40" />
|
|
|
<el-table-column label="下次内检时间" align="center" prop="nextInCheckDate" min-width="140" sortable>
|
|
<el-table-column label="下次内检时间" align="center" prop="nextInCheckDate" min-width="140" sortable>
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
- <div v-if="row.nextInCheckDate"
|
|
|
|
|
- class="cursor-pointer"
|
|
|
|
|
- @click.stop="handleSingleSchedule(row, 'in')"
|
|
|
|
|
- >
|
|
|
|
|
- <div class="flex items-center justify-center gap-1 schedule-link">
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div
|
|
|
|
|
+ @click.stop="handleSingleSchedule(row, 'in')" v-if="row.nextInCheckDate" class="cursor-pointer flex items-center justify-center gap-1 schedule-link">
|
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'100')">{{ dayjs(row.nextInCheckDate).format('YYYY-MM-DD') }}</span>
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'100')">{{ dayjs(row.nextInCheckDate).format('YYYY-MM-DD') }}</span>
|
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <span v-else>-</span>
|
|
|
<div v-if="row.planInCheckDate" class="text-xs text-gray-500 mt-1">
|
|
<div v-if="row.planInCheckDate" class="text-xs text-gray-500 mt-1">
|
|
|
(最近排期时间:{{ row.planInCheckDate }})
|
|
(最近排期时间:{{ row.planInCheckDate }})
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <span v-else>-</span>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="下次外检时间" align="center" prop="nextOutCheckDate" min-width="140" sortable="custom">
|
|
<el-table-column label="下次外检时间" align="center" prop="nextOutCheckDate" min-width="140" sortable="custom">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
- <div v-if="row.nextOutCheckDate"
|
|
|
|
|
- class="cursor-pointer"
|
|
|
|
|
- @click.stop="handleSingleSchedule(row, 'out')"
|
|
|
|
|
- >
|
|
|
|
|
- <div class="flex items-center justify-center gap-1 schedule-link">
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div @click.stop="handleSingleSchedule(row, 'out')" v-if="row.nextOutCheckDate" class="cursor-pointer flex items-center justify-center gap-1 schedule-link">
|
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'200')">{{ dayjs(row.nextOutCheckDate).format('YYYY-MM-DD') }}</span>
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'200')">{{ dayjs(row.nextOutCheckDate).format('YYYY-MM-DD') }}</span>
|
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <span v-else>-</span>
|
|
|
<div v-if="row.planOutCheckDate" class="text-xs text-gray-500 mt-1">
|
|
<div v-if="row.planOutCheckDate" class="text-xs text-gray-500 mt-1">
|
|
|
(最近排期时间:{{ row.planOutCheckDate }})
|
|
(最近排期时间:{{ row.planOutCheckDate }})
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <span v-else>-</span>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="下次耐压检验时间" align="center" prop="nextPressureCheckDate" min-width="150" sortable="custom">
|
|
<el-table-column label="下次耐压检验时间" align="center" prop="nextPressureCheckDate" min-width="150" sortable="custom">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
- <div v-if="row.nextPressureCheckDate"
|
|
|
|
|
- class="cursor-pointer"
|
|
|
|
|
- @click.stop="handleSingleSchedule(row, 'pre')"
|
|
|
|
|
- >
|
|
|
|
|
- <div class="flex items-center justify-center gap-1 schedule-link">
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div @click.stop="handleSingleSchedule(row, 'pre')" v-if="row.nextPressureCheckDate" class="cursor-pointer flex items-center justify-center gap-1 schedule-link">
|
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'300')">{{ dayjs(row.nextPressureCheckDate).format('YYYY-MM-DD') }}</span>
|
|
<span class="schedule-date-link" @click.stop="handleSchedule(row,'300')">{{ dayjs(row.nextPressureCheckDate).format('YYYY-MM-DD') }}</span>
|
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
<Icon icon="ep:calendar" class="text-xs" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <span v-else>-</span>
|
|
|
<div v-if="row.planPreCheckDate" class="text-xs text-gray-500 mt-1">
|
|
<div v-if="row.planPreCheckDate" class="text-xs text-gray-500 mt-1">
|
|
|
(最近排期时间:{{ row.planPreCheckDate }})
|
|
(最近排期时间:{{ row.planPreCheckDate }})
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <span v-else>-</span>
|
|
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<!-- 区域 -->
|
|
<!-- 区域 -->
|