fjl
fujunling
2023-06-27 358f12562a20fb4f8cb50a6ff7de1dc4f72ee4fe
Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -138,6 +138,8 @@
      } else if(this.type === 'batchImportApply') {
        return {
          codeClassifyOid: this.codeClassifyOid,
          secDTOList: this.secDTOList,
          ...this.codeApplyForm
        }
      }
    }
@@ -145,7 +147,6 @@
  data() {
    return {
      classifyAttr: "id",
      uploadParams: {},
      downloadLoading: false,
      showVisible: false,
      leftTree: [],
@@ -180,28 +181,6 @@
    };
  },
  methods: {
    // getDataByType() {
    //   if (this.type === "historyImport") {
    //   } else if (this.type === "codeApply_leaf") {
    //     this.title = "批量编码申请";
    //     this.tipList = [
    //       "1.标题带五角星的表示关键属性,带星号表示必输项",
    //       "2.分类的路径需要用#分隔。从当前选择分类节点的下级开始填写,直到最末尾节点,如 产品#主机产品#主机产品",
    //     ];
    //     this.action =
    //       "/api/ubcs-code/mdmEngineController/batchImportHistoryData";
    //   } else {
    //     this.title = "历史数据导入";
    //     this.tipList = [
    //       "1.标题带五角星的表示关键属性,带星号表示必输项",
    //       "2.企业编码,集团码和状态都需要导入",
    //       "3.每次仅能最多导入10000条数据,如果出错会返回错误的数据和原因,但是正确的数据会保存",
    //       "4.分类的路径需要用#分隔。仅填写当前选的分类树上的下级分类的路径,如果当前分类已经是叶子节点,则不填写",
    //     ];
    //     this.action =
    //       "/api/ubcs-code/mdmEngineController/batchImportHistoryData";
    //   }
    // },
    async beforeUpload(file) {
      console.log(223344);
      const fileType = file.name.split(".").pop();