| | |
| | | <el-button type="text" icon="el-icon-view" @click="handleViewDetail(row)">详情</el-button> |
| | | </template> |
| | | |
| | | <template v-if="row.status === 4 && activeTab === 'completed'"> |
| | | <template v-if="row.status === 4 "> |
| | | <el-button type="text" icon="el-icon-download" @click="exportTheTick(row)">导出</el-button> |
| | | </template> |
| | | |
| | |
| | | } |
| | | // 详情 |
| | | async function handleViewDetail(row) { |
| | | console.log('row',row); |
| | | |
| | | currentIndex.value = tableData.value.findIndex(item => item.id === row.id) |
| | | workType.value = row.work_type !== undefined ? Number(row.work_type) : 0 |
| | | const detailData = { |