logistics-company.vue 1.11 KB
<template>
    <div class="companylist-page">
        <div class="search-input">
            <input class="buriedpoint icon" type="text" placeholder="&#xe608;搜索快递公司">
        </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>