1Vue.component('modal-service-component', { 2 template: '#modal-service-template', 3 props: [], 4 data: function data() { 5 return { 6 defaultWidth: "800px", 7 modals: { 8 component: { 9 show: false, 10 model: null, 11 component: null, 12 title: null, 13 width: "800px", 14 } 15 } 16 }; 17 }, 18 computed: {}, 19 watch: {}, 20 mounted: function () { 21 }, methods: { 22 openItem: function (e, title) { 23 console.log('object-view-open-item', e); 24 this.modals.component.title = title; 25 this.modals.component.model = e; 26 this.modals.component.width = e.width || this.defaultWidth; 27 this.modals.component.show = true; 28 }, 29 modalCancel: function () { 30 this.modals.component.show = false; 31 }, 32 modalComplete: function (e) { 33 this.modals.component.show = false; 34 if (this.modals.component.model.onComplete) { 35 this.modals.component.model.onComplete(e); 36 } 37 }, 38 modalCustom1: function (e) { 39 this.modals.component.show = false; 40 if (this.modals.component.model.onCustom1) { 41 this.modals.component.model.onCustom1(e); 42 } 43 } 44 } 45});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.