This commit is contained in:
2020-11-02 19:40:51 +00:00
parent e1b297cf35
commit d3d81103cd

View File

@@ -49,7 +49,7 @@
lg="4" lg="4"
xl="3" xl="3"
> >
<gz-dash <!-- <gz-dash
:title="item.title" :title="item.title"
:id="item.id" :id="item.id"
:showCount="true" :showCount="true"
@@ -62,7 +62,18 @@
v-on:dash-move-back="dashMoveBack" v-on:dash-move-back="dashMoveBack"
v-on:dash-move-forward="dashMoveForward" v-on:dash-move-forward="dashMoveForward"
v-on:dash-move-end="dashMoveEnd" v-on:dash-move-end="dashMoveEnd"
/> /> -->
<component
:is="item.type"
v-bind="item"
v-on:dash-remove="dashRemove"
v-on:dash-move-start="dashMoveStart"
v-on:dash-move-back="dashMoveBack"
v-on:dash-move-forward="dashMoveForward"
v-on:dash-move-end="dashMoveEnd"
>
</component>
</v-col> </v-col>
</v-row> </v-row>
</template> </template>
@@ -70,13 +81,14 @@
<script> <script>
const FORM_KEY = "home-dashboard"; const FORM_KEY = "home-dashboard";
import DashRegistry from "../api/dash-registry"; import DashRegistry from "../api/dash-registry";
import GzDash from "../components/dash-base.vue"; import GzDashBase from "../components/dash-base.vue";
//---------- DASH ITEMS ---------- //---------- DASH ITEMS ----------
import GzDashTestWidgetsPriciest from "../components/dash-test-widgets-priciest.vue"; import GzDashTestWidgetsPriciest from "../components/dash-test-widgets-priciest.vue";
export default { export default {
components: { components: {
GzDash GzDashBase,
GzDashTestWidgetsPriciest
}, },
beforeCreate() { beforeCreate() {
window.$gz.eventBus.$emit("menu-change", { window.$gz.eventBus.$emit("menu-change", {