logistics-company.vue
1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
<div class="companylist-page">
<div class="search-input">
<input class="buriedpoint icon" type="text" placeholder="搜索快递公司">
</div>
<ul class="search-associate"></ul>
</div>
</template>
<script>
module.exports = {
data() {
return {
companyData: {},
};
},
methods: {
submit: function(){
console.log(this.num);
this.$dispatch('changeView', {
view: 'logistics',
company: "aaaf啊啊啊"
});
}
},
activate: function(done) {
$.ajax({
url: '/home/refund/companylist'
}).then(function(res) {
if ($.type(res) !== 'object') {
res = {};
}
if (res.code === 200) {
}
done();
}).fail(function() {
tip('网络错误');
done();
});
}
};
</script>