| | |
| | | </el-container> |
| | | </el-dialog> |
| | | <!-- 全屏编辑--> |
| | | <el-dialog :visible.sync="attrEditVisible" append-to-body fullscreen="true"> |
| | | <attrCrud :ProData="this.ProData" :attrFlagChiledren="this.attrFlag" :editOpenFlag="editOpenFlag" :crudArrayFlag="this.crudArrayFlag"></attrCrud> |
| | | <el-dialog :visible.sync="attrEditVisible" append-to-body fullscreen="true" :before-close="escEdit" > |
| | | <attrCrud :ProData="this.ProData" :attrFlagChiledren="this.attrFlag" :editStyleFlag="editStyleFlag" :editOpenFlag="editOpenFlag" :crudArrayFlag="this.crudArrayFlag"></attrCrud> |
| | | </el-dialog> |
| | | <!-- 组合规则--> |
| | | <formula-editor :systemVariableTableData="systemVariableTableData" |
| | |
| | | </div> |
| | | <el-table :data="ProData" |
| | | style="width: 100%" |
| | | :height="!this.editStyleFlag ? 450 : 900" |
| | | :height="this.editStyleFlag? 800 : 343" |
| | | @cell-click="handleCellClicks" |
| | | @select="selectHandle" |
| | | @selection-change="selectionChange" |
| | |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | //控制是否开启编辑 |
| | | editOpenFlag:{ |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | editStyleFlag:{ |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | |
| | | crudArrayFlag:{ |
| | | type: Boolean, |
| | | default: false |
| | | } |
| | | }, |
| | | }, |
| | | watch:{ |
| | | crudOid:{ |
| | | handler(newval,oldval){ |
| | | if(newval){ |
| | | this.editOpenFlag=false |
| | | } |
| | | } |
| | | }, |
| | | crudArray:{ |
| | | handler(newval,oldval){ |
| | | if(newval != undefined){ |
| | |
| | | }, |
| | | editOpenFlag:{ |
| | | handler(newval,oldval){ |
| | | console.log(newval) |
| | | console.log('editOpenFlag',newval) |
| | | }, |
| | | deep:true, |
| | | immediate:true |
| | |
| | | this.rowOid = row.oid; |
| | | this.CurrentCell=row; |
| | | if(column.property == 'referConfig' ){ |
| | | console.log( this.CurrentCell.referConfig) |
| | | this.referConfigVisble= true; |
| | | this.referConfigOption = { |
| | | referConfig: this.CurrentCell.referConfig || '', |
| | |
| | | this.$message.warning('请选择一个模板') |
| | | } else { |
| | | this.editStyleFlag=true; |
| | | // this.editOpenFlag=true; |
| | | this.attrEditVisible = true; |
| | | this.attrFlag = true; |
| | | } |