| | |
| | | <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/> |
| | | </template> |
| | | |
| | | <!--使用部门--> |
| | | <template slot="factoryOrgCode" slot-scope="text,record"> |
| | | {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | |
| | |
| | | <a>作废</a> |
| | | </a-popconfirm> |
| | | </span> |
| | | |
| | | <!--字符串超长截取省略号显示--> |
| | | <span slot="faultDescription" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="8"/> |
| | | </span> |
| | | <!--字符串超长截取省略号显示--> |
| | | <span slot="accidentPhenomenon" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="8"/> |
| | | </span> |
| | | <!--字符串超长截取省略号显示--> |
| | | <span slot="measure" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="8"/> |
| | | </span> |
| | | <!--字符串超长截取省略号显示--> |
| | | <span slot="causingResults" slot-scope="text"> |
| | | <j-ellipsis :value="text" :length="8"/> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | <!-- table区域-end --> |
| | |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '使用部门', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'factoryOrgCode' }, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '报修状态', |
| | | align: 'center', |
| | | dataIndex: 'reportStatus_dictText', |
| | |
| | | { |
| | | title: '故障现象', |
| | | align: 'center', |
| | | dataIndex: 'faultDescription' |
| | | dataIndex: 'faultDescription', |
| | | scopedSlots: { customRender: 'faultDescription' } |
| | | }, |
| | | { |
| | | title: '是否停机', |
| | |
| | | { |
| | | title: '事故现象', |
| | | align: 'center', |
| | | dataIndex: 'accidentPhenomenon' |
| | | dataIndex: 'accidentPhenomenon', |
| | | scopedSlots: { customRender: 'accidentPhenomenon' } |
| | | }, |
| | | { |
| | | title: '采取措施', |
| | | align: 'center', |
| | | dataIndex: 'measure' |
| | | dataIndex: 'measure', |
| | | scopedSlots: { customRender: 'measure' } |
| | | }, |
| | | { |
| | | title: '造成结果', |
| | | align: 'center', |
| | | dataIndex: 'causingResults' |
| | | dataIndex: 'causingResults', |
| | | scopedSlots: { customRender: 'causingResults' } |
| | | } |
| | | ], |
| | | faultTimeRange: [], |