| | |
| | | <el-table-column prop="managementNumber" label="统一编号" min-width="150"></el-table-column> |
| | | <el-table-column prop="faultSituation" label="故障情况" min-width="130"></el-table-column> |
| | | <el-table-column prop="submitPerson" label="提交人" min-width="130"></el-table-column> |
| | | <el-table-column prop="createTime" label="提交日期" min-width="150"></el-table-column> |
| | | <el-table-column prop="createTime" label="提交日期" min-width="150" |
| | | :formatter="formatDateCell"></el-table-column> |
| | | <el-table-column prop="currentState" label="当前状态" min-width="130"></el-table-column> |
| | | <el-table-column prop="currentResponsible" label="当前责任人" width="180"></el-table-column> |
| | | <!-- 操作按钮 --> |
| | |
| | | <script> |
| | | import { dateFormat } from '@/utils/date' |
| | | import { mapGetters } from "@/utils/store-compat"; |
| | | import { formatListDate } from './dateFormat' |
| | | export default { |
| | | props: { |
| | | clickNodeVal: { |
| | |
| | | this.getTableList(this.clickNodeVal.value) |
| | | }, |
| | | methods: { |
| | | formatDateCell(row, column, cellValue) { |
| | | return formatListDate(cellValue) |
| | | }, |
| | | //要求修复日期:禁用在故障日期前的日期 |
| | | disabledDate(time) { |
| | | let selectDate = this.form.faultDate |