| | |
| | | icon='plus' |
| | | v-has="'dailyInspectionStandard:add'" |
| | | >新增</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导入</a-button> |
| | | </a-upload> |
| | | <a-button |
| | | type="primary" |
| | | @click="searchQuery" |
| | |
| | | delete: '/eam/inspectionStandard/delete', |
| | | deleteBatch: '/eam/inspectionStandard/deleteBatch', |
| | | versionTakeEffect: "/eam/inspectionStandard/versionTakeEffect", |
| | | importExcelUrl: "/eam/inspectionStandard/importExcel", |
| | | }, |
| | | version: '1.0', |
| | | dictOptions: {}, |
| | |
| | | inspectionStandardId: '-1' |
| | | } |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | } |
| | | }, |
| | | methods: { |
| | | clickThenSelect(record) { |
| | | return { |