| | |
| | | </el-table-column> |
| | | <!-- 生命周期--> |
| | | <el-table-column v-for="(item,index) in lcstatusArray" |
| | | v-if=" lcstatusArray.length !== 0 && !item.hidden" |
| | | v-if=" lcstatusArray.length >= 0 && !item.hidden" |
| | | key="index" :show-overflow-tooltip="true" :sortable="item.sortable" |
| | | :width="item.width" align="center" label="生命周期值" |
| | | prop="lcstatus"> |
| | |
| | | } |
| | | }) |
| | | this.tableHeadFindDatas = newval; |
| | | if (!this.isCodeArrayPushed) { |
| | | if (newval) { |
| | | this.CodeArray = []; |
| | | if (newval.find(item => item.prop === 'id')) { |
| | | this.CodeArray.push(newval.find(item => item.prop === 'id')); |
| | | } else { |
| | | // this.CodeArray.push([]); |
| | | this.CodeArray = []; |
| | | } |
| | | this.isCodeArrayPushed = true; |
| | | |
| | | } |
| | | if (!this.islcstatusPushed) { |
| | | if (newval) { |
| | | this.lcstatusArray = []; |
| | | if (newval.find(item => item.prop === 'lcstatus')) { |
| | | this.lcstatusArray.push(newval.find(item => item.prop === 'lcstatus')); |
| | | } else { |
| | | this.lcstatusArray.push([]); |
| | | this.lcstatusArray = []; |
| | | } |
| | | // console.log('lcstatusArray', this.lcstatusArray); |
| | | this.islcstatusPushed = true; |
| | | } |
| | | if (!this.isReferPushed) { |
| | | if (newval) { |
| | | this.referArray = []; |
| | | if (newval.find(item => Object.keys(item.referConfig).length > 0)) { |
| | | this.referArray.push(newval.find(item => Object.keys(item.referConfig).length > 0)); |
| | | } else { |
| | | this.referArray.push([]) |
| | | this.referArray = []; |
| | | } |
| | | } |
| | | this.isReferPushed = true; |
| | | this.WupinFindValue = '' |
| | | }, |
| | | }, |