| | |
| | | <template> |
| | | <div> |
| | | <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag" class="app"> |
| | | <div style="display: flex;flex-wrap: wrap; display: inline-block" v-if="this.crudArrayFlag" class="app" > |
| | | <el-button-group> |
| | | <!--新增--> |
| | | <el-button v-if="attrEditVisible == false && attrFlagChiledren==false && editOpenFlag && (!checkStatus || crudLCStatus=='Editing' )" size="small" type="primary" icon="el-icon-plus" plain @click="busineHandle">添加 {{ msg }}</el-button> |
| | |
| | | if(newval){ |
| | | this.editOpenFlag=false |
| | | } |
| | | } |
| | | }, |
| | | crudArrayFlag:{ |
| | | handler(newval,olaval){ |
| | | console.log('crudArrayFlag',newval) |
| | | } |
| | | }, |
| | | crudArray:{ |
| | |
| | | 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({ |