|
|
@ -555,6 +555,16 @@ export default { |
|
|
|
loading: false |
|
|
|
loading: false |
|
|
|
}), |
|
|
|
}), |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
|
|
|
|
newViewParams() { |
|
|
|
|
|
|
|
if (!this.showFields) { |
|
|
|
|
|
|
|
return {} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const showFields = { ...this.showFields } |
|
|
|
|
|
|
|
Object.keys(showFields).forEach((k) => { |
|
|
|
|
|
|
|
showFields[k] = true |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
return { showFields } |
|
|
|
|
|
|
|
}, |
|
|
|
selectedViewIdLocal: { |
|
|
|
selectedViewIdLocal: { |
|
|
|
set(val) { |
|
|
|
set(val) { |
|
|
|
const view = (this.viewsList || []).find(v => v.id === val) |
|
|
|
const view = (this.viewsList || []).find(v => v.id === val) |
|
|
@ -629,6 +639,7 @@ export default { |
|
|
|
try { |
|
|
|
try { |
|
|
|
this.copyViewRef = this.copyViewRef || { |
|
|
|
this.copyViewRef = this.copyViewRef || { |
|
|
|
query_params: JSON.stringify({ |
|
|
|
query_params: JSON.stringify({ |
|
|
|
|
|
|
|
...this.newViewParams, |
|
|
|
fieldsOrder: JSON.parse(mainView.query_params).fieldsOrder |
|
|
|
fieldsOrder: JSON.parse(mainView.query_params).fieldsOrder |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|