correcting error export zip text file (#250)
							parent
							
								
									b950610136
								
							
						
					
					
						commit
						c602ed1d3e
					
				|  | @ -57,7 +57,6 @@ export const menuTableMixin = { | ||||||
|   }, |   }, | ||||||
|   computed: { |   computed: { | ||||||
|     isProcessTable() { |     isProcessTable() { | ||||||
|       console.log(this.$route) |  | ||||||
|       if (this.isProcessMenu) { |       if (this.isProcessMenu) { | ||||||
|         return true |         return true | ||||||
|       } |       } | ||||||
|  | @ -86,6 +85,9 @@ export const menuTableMixin = { | ||||||
|     getDataSelection() { |     getDataSelection() { | ||||||
|       return this.getterDataRecordsAndSelection.selection |       return this.getterDataRecordsAndSelection.selection | ||||||
|     }, |     }, | ||||||
|  |     getDataAllRecord() { | ||||||
|  |       return this.getterDataRecordsAndSelection.record | ||||||
|  |     }, | ||||||
|     fieldList() { |     fieldList() { | ||||||
|       if (this.isPanel && this.isPanel.fieldList) { |       if (this.isPanel && this.isPanel.fieldList) { | ||||||
|         return this.sortFields( |         return this.sortFields( | ||||||
|  | @ -297,12 +299,11 @@ export const menuTableMixin = { | ||||||
|       const Header = this.getterFieldListHeader |       const Header = this.getterFieldListHeader | ||||||
|       const filterVal = this.getterFieldListValue |       const filterVal = this.getterFieldListValue | ||||||
|       var list |       var list | ||||||
|       if (!this.isOption) { |       if (this.getDataSelection.length <= 0) { | ||||||
|         list = this.getDataSelection |         list = this.getDataAllRecord | ||||||
|       } else { |       } else { | ||||||
|         list = this.gettersRecordContextMenu |         list = this.getDataSelection | ||||||
|       } |       } | ||||||
| 
 |  | ||||||
|       const data = this.formatJson(filterVal, list) |       const data = this.formatJson(filterVal, list) | ||||||
|       exportFileZip({ |       exportFileZip({ | ||||||
|         header: Header, |         header: Header, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 elsiosanchez
						elsiosanchez