|
|
@ -11,7 +11,7 @@ |
|
|
|
</v-alert> |
|
|
|
</v-alert> |
|
|
|
|
|
|
|
|
|
|
|
<template v-else> |
|
|
|
<template v-else> |
|
|
|
<div v-if="viewName" class="model-name text-capitalize"> |
|
|
|
<div v-if="viewName" class="model-name"> |
|
|
|
<span class="font-weight-bold"> {{ viewName }}</span> <span class="font-weight-regular ml-1" /> |
|
|
|
<span class="font-weight-bold"> {{ viewName }}</span> <span class="font-weight-regular ml-1" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -118,7 +118,6 @@ |
|
|
|
</v-list> |
|
|
|
</v-list> |
|
|
|
</v-menu>--> |
|
|
|
</v-menu>--> |
|
|
|
</v-toolbar> |
|
|
|
</v-toolbar> |
|
|
|
|
|
|
|
|
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="meta" |
|
|
|
v-if="meta" |
|
|
|
class="nc-grid-wrapper d-flex" |
|
|
|
class="nc-grid-wrapper d-flex" |
|
|
@ -466,9 +465,9 @@ export default { |
|
|
|
view_name, |
|
|
|
view_name, |
|
|
|
view_type, |
|
|
|
view_type, |
|
|
|
client, |
|
|
|
client, |
|
|
|
query_params: qp, |
|
|
|
query_params: qp = {}, |
|
|
|
db_alias: dbAlias, |
|
|
|
db_alias: dbAlias = '_noco', |
|
|
|
relatedTableMetas |
|
|
|
relatedTableMetas = {} |
|
|
|
} = await this.$store.dispatch('sqlMgr/ActSqlOp', [null, 'sharedViewGet', { |
|
|
|
} = await this.$store.dispatch('sqlMgr/ActSqlOp', [null, 'sharedViewGet', { |
|
|
|
view_id: this.$route.params.id, |
|
|
|
view_id: this.$route.params.id, |
|
|
|
password: this.password |
|
|
|
password: this.password |
|
|
@ -485,6 +484,7 @@ export default { |
|
|
|
this.query_params = qp |
|
|
|
this.query_params = qp |
|
|
|
this.dbAlias = dbAlias |
|
|
|
this.dbAlias = dbAlias |
|
|
|
this.metas = relatedTableMetas |
|
|
|
this.metas = relatedTableMetas |
|
|
|
|
|
|
|
this.sortList = qp.sortList || [] |
|
|
|
|
|
|
|
|
|
|
|
this.showFields = this.query_params.showFields || {} |
|
|
|
this.showFields = this.query_params.showFields || {} |
|
|
|
|
|
|
|
|
|
|
|