| | |
| | | 预览 |
| | | </a> |
| | | </span> --> |
| | | <template slot="imgSlot" slot-scope="text,record"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> |
| | | <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
| | | <template |
| | | slot="imgSlot" |
| | | slot-scope="text,record" |
| | | > |
| | | <span |
| | | v-if="!text" |
| | | style="font-size: 12px;font-style: italic;" |
| | | >无图片</span> |
| | | <img |
| | | v-else |
| | | :src="getImgView(text)" |
| | | :preview="record.id" |
| | | height="25px" |
| | | alt="" |
| | | style="max-width:80px;font-size: 12px;font-style: italic;" |
| | | /> |
| | | </template> |
| | | </a-table> |
| | | </div> |
| | |
| | | dataIndex: 'standard', |
| | | |
| | | }, |
| | | { |
| | | title: '方法', |
| | | align: "center", |
| | | dataIndex: 'maintenanceMethodName', |
| | | // { |
| | | // title: '方法', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceMethodName', |
| | | |
| | | }, |
| | | { |
| | | title: '工具', |
| | | align: "center", |
| | | dataIndex: 'maintenanceTool', |
| | | }, |
| | | // }, |
| | | // { |
| | | // title: '工具', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceTool', |
| | | // }, |
| | | { |
| | | title: '安全要求', |
| | | align: "center", |
| | |
| | | align: "center", |
| | | dataIndex: 'maintenanceCycleName', |
| | | }, |
| | | { |
| | | title: '维保专业', |
| | | align: "center", |
| | | dataIndex: 'maintenanceSpecialtyName', |
| | | }, |
| | | // { |
| | | // title: '维保专业', |
| | | // align: "center", |
| | | // dataIndex: 'maintenanceSpecialtyName', |
| | | // }, |
| | | { |
| | | title: '维保方式', |
| | | align: "center", |
| | |
| | | created() { |
| | | }, |
| | | computed: { |
| | | importExcelUrl(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importUrl}/${this.mainId}`; |
| | | } |
| | | }, |
| | | importExcelUrl() { |
| | | return `${window._CONFIG['domianURL']}/${this.url.importUrl}/${this.mainId}`; |
| | | } |
| | | }, |
| | | methods: { |
| | | clearList() { |
| | | this.dataSource = [] |