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