|
|
const Vue = require('vue');
|
|
|
const Logistics = require('home/refund/logistics.vue');
|
|
|
const LogisticsCompany = require('home/refund/logistics-company.vue');
|
|
|
const bus = require('plugin/vue-bus');
|
|
|
|
|
|
new Vue({
|
|
|
el: '#logistics',
|
...
|
...
|
@@ -13,11 +14,11 @@ new Vue({ |
|
|
logistics: Logistics,
|
|
|
logisticsCompany: LogisticsCompany
|
|
|
},
|
|
|
events: {
|
|
|
changeView: function(obj) {
|
|
|
created() {
|
|
|
bus.$on('changeView', function(obj) {
|
|
|
this.currentView = obj.view;
|
|
|
this.company_id = obj.company_id;
|
|
|
this.company_name = obj.company_name;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}); |
...
|
...
|
|