| | |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item |
| | | label="ABC标识" |
| | | > |
| | | <a-form-item label="ABC标识"> |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择ABC标识" |
| | | :triggerChange="true" |
| | | dictCode="ABC-standard-result" |
| | | v-model="queryParam.equipmentImportanceId" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :xl="6" |
| | | :lg="7" |
| | | :md="8" |
| | | :sm="24" |
| | | > |
| | | <a-form-item label="故障原因"> |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择故障原因" |
| | | :triggerChange="true" |
| | | dictCode="repair_order_fault_cause" |
| | | v-model="queryParam.faultCause" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | </a-dropdown> |
| | | </span> |
| | | |
| | | <template |
| | | slot="equipmentNum" |
| | | slot-scope="text, record" |
| | | > |
| | | <a-popover title="故障原因统计"> |
| | | <template slot="content"> |
| | | <p |
| | | v-for="(faultCauseMap, index) in record.equipmentFaultCause" |
| | | :key="index" |
| | | > |
| | | <span class="fontweight">{{ faultCauseMap.faultCause }}:{{ faultCauseMap.total }}</span> |
| | | </p> |
| | | </template> |
| | | <span> |
| | | {{ record.equipmentNum }} |
| | | </span> |
| | | </a-popover> |
| | | </template> |
| | | |
| | | <template |
| | | slot="faultCauseCount" |
| | | slot-scope="text, record" |
| | | > |
| | | <a-popover title="故障原因统计"> |
| | | <template slot="content"> |
| | | <p |
| | | v-for="(faultCauseMap, index) in record.allFaultCause" |
| | | :key="index" |
| | | > |
| | | <span class="fontweight">{{ faultCauseMap.faultCause }}:{{ faultCauseMap.total }}</span> |
| | | </p> |
| | | </template> |
| | | <span> |
| | | {{ record.faultCauseCount }} |
| | | </span> |
| | | </a-popover> |
| | | </template> |
| | | |
| | | </a-table> |
| | | </div> |
| | | |
| | |
| | | { |
| | | title: '统一编码', |
| | | align: "center", |
| | | dataIndex: 'equipmentNum' |
| | | dataIndex: 'equipmentNum', |
| | | scopedSlots: { customRender: 'equipmentNum' } |
| | | }, |
| | | { |
| | | title: '设备名称', |
| | |
| | | align: "center", |
| | | dataIndex: 'faultTime' |
| | | }, |
| | | { |
| | | title: '报修人', |
| | | align: "center", |
| | | dataIndex: 'errUda2' |
| | | }, |
| | | // { |
| | | // title: '报修人', |
| | | // align: "center", |
| | | // dataIndex: 'errUda2', |
| | | // }, |
| | | { |
| | | title: '故障描述', |
| | | align: "center", |
| | |
| | | customRender: 'jell' |
| | | } |
| | | }, |
| | | // { |
| | | // title: '故障原因', |
| | | // align: "center", |
| | | // dataIndex: 'faultReason' |
| | | // }, |
| | | { |
| | | title: '故障原因', |
| | | align: "center", |
| | | dataIndex: 'faultCauseCount', |
| | | scopedSlots: { customRender: 'faultCauseCount' } |
| | | }, |
| | | // { |
| | | // title: '故障现象', |
| | | // align: "center", |