| | |
| | | <el-table-column label="年份" min-width="80" prop="planYear"></el-table-column> |
| | | <el-table-column label="文件名称" min-width="120" prop="compiler"></el-table-column> |
| | | <el-table-column label="编制人" min-width="150" prop="compiler"></el-table-column> |
| | | <el-table-column label="编制时间" min-width="160" prop="datePreparation"></el-table-column> |
| | | <el-table-column label="编制时间" min-width="160" prop="datePreparation" |
| | | :formatter="formatDateCell"></el-table-column> |
| | | <el-table-column label="批准人" min-width="180" prop="audit"></el-table-column> |
| | | <el-table-column label="批准状态" min-width="180" prop="status"> |
| | | <template #default="scope"> |
| | |
| | | <el-tag v-if="scope.row.status === 0" type="danger">不批准</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="批准时间" min-width="180" prop="auditDate"></el-table-column> |
| | | <el-table-column label="批准时间" min-width="180" prop="auditDate" |
| | | :formatter="formatDateCell"></el-table-column> |
| | | <!-- 操作按钮 --> |
| | | <el-table-column align="center" fixed="right" label="操作" min-width="270"> |
| | | <template #default="scope"> |
| | |
| | | } from '@/api/cnas/resourceDemand/device.js' |
| | | import { selectUserCondition } from "@/api/business/inspectionTask"; |
| | | import { mapGetters } from "@/utils/store-compat"; |
| | | import { formatListDate } from './dateFormat' |
| | | export default { |
| | | name: "quantity-value-traceability-plan", |
| | | // import 引入的组件需要注入到对象中才能使用 |
| | |
| | | }, |
| | | // 方法集合 |
| | | methods: { |
| | | formatDateCell(row, column, cellValue) { |
| | | return formatListDate(cellValue) |
| | | }, |
| | | // 查询 |
| | | getYearTableDetailData() { |
| | | this.yearTableDetailDataLoading = true |