| | |
| | | }, |
| | | isShow: { |
| | | handler(newval) { |
| | | debugger; |
| | | if (newval && this.$el.clientHeight > 50) { |
| | | this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5; |
| | | } |
| | |
| | | }, |
| | | 'sourceData':{ |
| | | handler(newval) { |
| | | if(newval) { |
| | | if(newval && Object.keys(newval).length>0) { |
| | | this.sourceDataMapParams=this.sourceDataMap(); |
| | | this.getParams(); |
| | | // this.handleRefresh(); |
| | | this.handleRefresh(); |
| | | } |
| | | }, |
| | | deep: true, |
| | |
| | | this.$refs.dataTable.rowView(row,index) |
| | | }, |
| | | rowClickChange(row){ |
| | | this.$refs.dataTable.toggleRowSelection(row); |
| | | this.$refs.dataTable.toggleRowSelection(row,true); |
| | | }, |
| | | selectChange(row) { |
| | | this.selectList = row; |