cuijian
2023-10-24 7f98d8bf975e89b8ced554916d3a46739f5275d3
src/views/eam/modules/inspectionProject/InspectionProjectRight.vue
@@ -56,6 +56,9 @@
        icon="plus"
        :hidden="disabled"
      >新增</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"
        icon="download"
@@ -328,7 +331,11 @@
    }
  },
  computed: {
      importExcelUrl: function(){
        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
      }
    },
  methods: {
    handleAdd: function () {
      this.$refs.modalForm.add({ inspectionProjectCategoryNumName: this.inspectionProjectCategoryNumName });