美文网首页
3.tab跳转

3.tab跳转

作者: 盗生一 | 来源:发表于2020-11-14 15:25 被阅读0次
    image.png
     <div class="faren">
                        <hj-tab
                                style="margin-bottom: 2vh"
                                :tabList="tabList"
                                :value.sync="active"
                                @change="changeTab"
                        />
                        <!--法人代表-->
                        <div class="content_info" v-show="active == 1">
                            法人代表
                            <img
                                    :src="managerPerson.picture"
                                    alt=""
                            />
                            <div class="info_item">
                                <span>姓名:</span>
                                <span>{{managerPerson.name}}</span>
                            </div>
                            <div class="info_item">
                                <span>性别:</span>
                                <span>{{managerPerson.sex}}</span>
                            </div>
                            <div class="info_item">
                                <span>身份证:</span>
                                <span>{{managerPerson.idCard}}</span>
                            </div>
                            <div class="info_item special">
                                <span>户籍地址:</span>
                                <span>{{managerPerson.cardAddress}}</span>
                            </div>
                            <div class="info_item special">
                                <span>现住地址:</span>
                                <span>{{managerPerson.nowAddress}}</span>
                            </div>
                            <div class="info_item special">
                                <span>手机号码:</span>
                                <span>{{managerPerson.phone}}</span>
                            </div>
    
                        </div>
                        <!--实际经营人-->
                        <div class="content_info" v-show="active == 2">
                           实际经营人
                            <img
                                    :src="managerPerson.picture"
                                    alt=""
                            />
                            <div class="info_item">
                                <span>姓名:</span>
                                <span>{{managerPerson.name}}</span>
                            </div>
                            <div class="info_item">
                                <span>性别:</span>
                                <span>{{managerPerson.sex}}</span>
                            </div>
                            <div class="info_item">
                                <span>身份证:</span>
                                <span>{{managerPerson.idCard}}</span>
                            </div>
                            <div class="info_item special">
                                <span>户籍地址:</span>
                                <span>{{managerPerson.cardAddress}}</span>
                            </div>
                            <div class="info_item special">
                                <span>现住地址:</span>
                                <span>{{managerPerson.nowAddress}}</span>
                            </div>
                            <div class="info_item special">
                                <span>手机号码:</span>
                                <span>{{managerPerson.phone}}</span>
                            </div>
    
                        </div>
                    </div>
    
    • 1.value是跳转后的值
                changeTab(value) {
                    // 1 法人
                    if (value == 1) {
                        this.getCompanyManager(this.companyInfo.fddbrrkbm);
                    } else {
                        this.getCompanyManager(this.companyInfo.sjjyrrkbm);
                    }
                },
    

    相关文章

      网友评论

          本文标题:3.tab跳转

          本文链接:https://www.haomeiwen.com/subject/qkkwbktx.html