qushaowei
2023-12-13 8ce3c069b4f308052f3458b8a9ad465435bf00f5
src/views/eam/DailyMaintenanceStandardList.vue
@@ -102,8 +102,18 @@
        icon='reload'
        style='margin-left: 8px'
      >重置</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
        name="file"
        :showUploadList="false"
        :multiple="false"
        :headers="tokenHeader"
        :action="importExcelUrl"
        @change="handleImportExcel"
      >
        <a-button
          type="primary"
          icon="import"
        >导入</a-button>
      </a-upload>
    </div>
@@ -315,6 +325,11 @@
          dataIndex: 'num',
        },
        {
          title: '标准类型',
          align: 'center',
          dataIndex: 'maintenanceTypeName',
        },
        {
          title: '签审状态',
          align: 'center',
          dataIndex: 'approvalStatusName',
@@ -339,11 +354,7 @@
          align: 'center',
          dataIndex: 'useDepartName',
        },
        {
          title: '派工方式',
          align: 'center',
          dataIndex: 'assignModeName',
        },
        {
          title: '责任班组',
          align: 'center',
@@ -461,9 +472,9 @@
    }
  },
  computed: {
      importExcelUrl: function(){
        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
      }
    importExcelUrl: function () {
      return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
    }
  },
  watch: {
    selectionRows() {