| | |
| | | }, |
| | | crudArray:{ |
| | | handler(newval,oldval){ |
| | | console.log('crudArray',newval) |
| | | if(newval != undefined){ |
| | | if(newval.length>=1){ |
| | | this.crudArrayFlag=true |
| | |
| | | this.addVisible = true; |
| | | this.busineSelectList = [] |
| | | this.busineAddList = []; |
| | | this.BuineAttrByBtm() |
| | | this.BuineAttrByBtm(); |
| | | this.$nextTick(() => { |
| | | this.$refs.AddOriginPlace.doLayout(); |
| | | }) |
| | | }, |
| | | //业务类型数据 |
| | | BuineAttrByBtm(masterParameter){ |
| | |
| | | if(item.componentRule){ |
| | | //组合规则 |
| | | num++ |
| | | console.log('componentRule',num) |
| | | } |
| | | if(item.enumString || item.enumId){ |
| | | //枚举 |
| | | num++ |
| | | console.log('enumString',num) |
| | | } |
| | | if(item.referConfig || item.referBtmId){ |
| | | //参照 |
| | | num++ |
| | | console.log('referConfig',num) |
| | | } |
| | | if(item.codeDateFormat){ |
| | | //时间格式 |
| | | num++ |
| | | console.log('codeDateFormat',num) |
| | | } |
| | | if(item.classifyInvokeLevel){ |
| | | //如果空后台返回none |
| | | if(item.classifyInvokeLevel && item.classifyInvokeLevel != 'none'){ |
| | | //分类注入 |
| | | num++ |
| | | console.log('classifyInvokeLevel',num) |
| | | console.log(item.classifyInvokeLevel) |
| | | } |
| | | if(num>1 && ischeck){ |
| | | this.$message({ |