<view class="detail">
    <view class="head">
        <view class="left">
            <text class="iconfont icon-yewuyuan" />
        </view>
        <view class="right">
            <view class="title">{{detail.name||'--'}}</view>
        </view>
    </view>
    <view class="line">
        {{language['编号']||'编号'}}：{{language[detail.hrcode]||detail.hrcode||'--'}}
    </view>
    <view class="line">{{language['手机号']||'手机号'}}：{{detail.phonenumber||'--'}}</view>
    <view class="line">
        {{language['部门']||'部门'}}：{{language[detail.depname]||detail.depname||'--'}}
    </view>
    <view class="line">
        {{language['职位']||'职位'}}：{{language[detail.position]||detail.position||'--'}}
    </view>
    <view class="line">
        {{language['营销区域']||'营销区域'}}：{{language[detail.areafullname]||detail.areafullname||'--'}}
    </view>
    <view class="line">{{language['邮箱']||'邮箱'}}：{{detail.email||'--'}}</view>
    <view class="line">
        {{language['最低授权折扣(%)']||'最低授权折扣(%)'}}：
        <view style='color:#3874F6;font-weight: 700;'>{{detail.discountrate*100}}%</view>
    </view>
    <view class="line">
        {{language['状态']||'状态'}}：
        <view style="color:{{sColors[detail.status==1?'离职':'在职']||'999999'}}">
            {{language[detail.status==1?'离职':'在职']||item.status==1?'离职':'在职'}}
        </view>
    </view>
</view>
<Yl_FunTabs list='{{tabsList}}' mode='buts' active='{{tabsActive}}' bind:onChenge="tabsChange">
    <OrderForm slot='订单' id='OrderForm' />
    <Clue slot='销售线索' id='Clue' />
    <Client slot='客户' id='Client' />
    <Contract slot='合同' id='Contract' mode='业务员' />
    <ClientFollow slot='客户跟进明细' id='ClientFollow' />
    <salesFollow slot='销售线索跟进明细' id='SalesFollow' />
    <Project slot='项目' id='Project' />
    <ProjectFollow slot='项目跟进明细' id='ProjectFollow' />
    <ClueFollow slot='销售线索跟进明细' id='ClueFollow' />
    <performance slot='业绩' id='Performance'></performance>
    <PriceSheet id='PriceSheet' slot='报价单' mode='业务员' />
</Yl_FunTabs>