This commit is contained in:
22
ayanova/src/views/ay-open.vue
Normal file
22
ayanova/src/views/ay-open.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div>Opening...</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
created() {
|
||||
//Capture open object type and id if present
|
||||
// path: "/open/:ayatype/:recordid",
|
||||
//vm.$route.params.ayatype
|
||||
//vm.$route.params.recordid
|
||||
//{ type: [AYATYPE], id: [RECORDID] }
|
||||
window.$gz.eventBus.$emit("openobject", {
|
||||
type: Number(this.$route.params.ayatype),
|
||||
id: Number(this.$route.params.recordid)
|
||||
});
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user