| | |
| | | </a-menu> |
| | | </a-dropdown> |
| | | </span> |
| | | <span slot="faultDescription" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="10" /> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | |
| | | import MalfunctionRepairModal from './modules/malfunctionRepair/MalfunctionRepaireModal' |
| | | import FaultDescriptionList from './modules/malfunctionRepair/FaultDescriptionList' |
| | | import ApprovelModal from './modules/malfunctionRepair/ApprovelModal' |
| | | import JEllipsis from '@/components/jeecg/JEllipsis' |
| | | |
| | | export default { |
| | | name: 'MalfunctionRepairList', |
| | |
| | | components: { |
| | | MalfunctionRepairModal, |
| | | FaultDescriptionList, |
| | | ApprovelModal |
| | | ApprovelModal, |
| | | JEllipsis |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | align: "center", |
| | | dataIndex: 'departName', |
| | | }, |
| | | { |
| | | title: '紧急程度', |
| | | align: "center", |
| | | dataIndex: 'urgencyName', |
| | | }, |
| | | // { |
| | | // title: '紧急程度', |
| | | // align: "center", |
| | | // dataIndex: 'urgencyName', |
| | | // }, |
| | | { |
| | | title: '故障描述', |
| | | align: "center", |
| | | dataIndex: 'faultDescription' |
| | | dataIndex: 'faultDescription', |
| | | scopedSlots: { |
| | | customRender: 'faultDescription' |
| | | } |
| | | |
| | | }, |
| | | // { |
| | | // title: '故障拍照', |
| | |
| | | // dataIndex: 'photo', |
| | | // scopedSlots: { customRender: 'imgSlot' } |
| | | // }, |
| | | { |
| | | title: '故障原因', |
| | | align: "center", |
| | | dataIndex: 'faultReason' |
| | | }, |
| | | // { |
| | | // title: '故障原因', |
| | | // align: "center", |
| | | // dataIndex: 'faultReason' |
| | | // }, |
| | | { |
| | | title: '故障时间', |
| | | align: "center", |
| | |
| | | align: "center", |
| | | dataIndex: 'remark' |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'action', |
| | | align: "center", |
| | | fixed: "right", |
| | | width: 200, |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | // { |
| | | // title: '操作', |
| | | // dataIndex: 'action', |
| | | // align: "center", |
| | | // fixed: "right", |
| | | // width: 200, |
| | | // scopedSlots: { customRender: 'action' } |
| | | // } |
| | | ], |
| | | url: { |
| | | list: "/eam/equipmentReportRepair/getReportRepairList", |