| | |
| | | return this.currentTypeObj[this.type]["action"]; |
| | | }, |
| | | upParams() { |
| | | if (this.type === "historyImport" || this.type === "batchApplyCode") { |
| | | if (this.type === "historyImport" || this.type === "batchApplyCode" ) { |
| | | return { |
| | | codeClassifyOid: this.codeClassifyOid, |
| | | classifyAttr: this.classifyAttr, |
| | |
| | | ...this.codeApplyForm, |
| | | }; |
| | | } else if (this.type === "bulkEdit") { |
| | | return { |
| | | codeClassifyOid: this.codeClassifyOid, |
| | | }; |
| | | }else if(this.type === 'groupCode'){ |
| | | return { |
| | | codeClassifyOid: this.codeClassifyOid, |
| | | }; |
| | |
| | | "2.每次仅能最多导入5000条数据(可通过nacos进行配置,推荐5000/次导入),如果出错会返回错误的数据和原因,但是正确数据可以继续保存", |
| | | "3.Excel第一行和第二行依次为企业编码和集团编码(必填)" |
| | | ], |
| | | action: "/api/ubcs-code/mdmEngineController/importGroupCode" |
| | | action: "/api/ubcs-code/mdmEngineController/importGroupCode", |
| | | downloadTemplateFun: null, |
| | | upParams: "classifyAttr", |
| | | } |
| | | }, |
| | | secDTOList: [], |
| | |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | isLoading:{ |
| | | type: Boolean, |
| | | default:false |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | CloneTreeAvueform: {}, |
| | | loading: false, |
| | | Treedata: [], |
| | | isLoading: false, |
| | | nodeClickList: "", |
| | | Treeoption: { |
| | | addBtn: false, |
| | |
| | | <template> |
| | | <el-container> |
| | | <el-container v-loading="isLoading"> |
| | | <el-aside style="width:250px"> |
| | | <basic-container> |
| | | <!-- 树组件--> |
| | |
| | | @tableHeadFindData="tableHeadFindDatas" |
| | | @nodeClickList="nodeClickLists" |
| | | @total="totals" |
| | | :isLoading="isLoading" |
| | | > |
| | | </master-tree> |
| | | </basic-container> |