| | |
| | | return parseInt(index) + 1; |
| | | } |
| | | }, |
| | | { |
| | | title: '部位', |
| | | align: "center", |
| | | dataIndex: 'location', |
| | | }, |
| | | { |
| | | title: '示意图', |
| | | align: "center", |
| | | dataIndex: 'photo', |
| | | scopedSlots: { customRender: 'photo' }, |
| | | }, |
| | | |
| | | // { |
| | | // title: '示意图', |
| | | // align: "center", |
| | | // dataIndex: 'photo', |
| | | // scopedSlots: { customRender: 'photo' }, |
| | | // }, |
| | | { |
| | | title: '保养项目', |
| | | align: "center", |
| | |
| | | dataIndex: 'standard', |
| | | |
| | | }, |
| | | { |
| | | title: '部位', |
| | | align: "center", |
| | | dataIndex: 'location', |
| | | }, |
| | | // { |
| | | // title: '方法', |
| | | // align: "center", |
| | |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceTool', |
| | | // }, |
| | | { |
| | | title: '安全要求', |
| | | align: "center", |
| | | dataIndex: 'maintenanceRequire', |
| | | }, |
| | | { |
| | | title: '工时定额', |
| | | align: "center", |
| | | dataIndex: 'workingHourQuota', |
| | | }, |
| | | // { |
| | | // title: '安全要求', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceRequire', |
| | | // }, |
| | | // { |
| | | // title: '工时定额', |
| | | // align: "center", |
| | | // dataIndex: 'workingHourQuota', |
| | | // }, |
| | | { |
| | | title: '保养周期', |
| | | align: "center", |
| | |
| | | getAction(this.url.list, params).then((res) => { |
| | | if (res.success) { |
| | | this.dataSource = res.result.records || res.result; |
| | | for (let i = 0; i < this.dataSource.length; i++) { |
| | | let r = this.dataSource[i].upload; |
| | | r.src = this.getSrc(this.dataSource[i].upload); |
| | | } |
| | | // for (let i = 0; i < this.dataSource.length; i++) { |
| | | // let r = this.dataSource[i].upload; |
| | | // r.src = this.getSrc(this.dataSource[i].upload); |
| | | // } |
| | | if (res.result.total) { |
| | | this.ipagination.total = res.result.total; |
| | | } else { |