163 lines
5.3 KiB
Plaintext
163 lines
5.3 KiB
Plaintext
<view class="masterDesc">
|
|
<view class="masterItem">
|
|
<view class="masterItem_avaBox">
|
|
<view class="masterItem_ava" bind:tap="lookAva">
|
|
<image src="{{ Info.avatar}}" mode="aspectFill" />
|
|
</view>
|
|
</view>
|
|
<view class="masterItem_right">
|
|
<view class="masterItem_right_name">
|
|
{{name}}
|
|
</view>
|
|
<view class="masterItem_right_phone">
|
|
手机:<view>{{phone}}</view>
|
|
</view>
|
|
<view class="masterItem_right_sex">
|
|
性别:
|
|
<view>
|
|
{{sex == 1?'男':sex == 2?'女':'未知'}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="Info">
|
|
<view class="Info_tit">师傅信息</view>
|
|
|
|
<!-- <view class="stick">
|
|
粘贴自动识别联系方式
|
|
</view> -->
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
<view>*</view>
|
|
师傅姓名
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
<input type="text" placeholder="请输入师傅姓名" value="{{Info.name}}" bindinput="ipt1" />
|
|
</view>
|
|
</view>
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
<view>*</view>
|
|
师傅手机
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
<input type="text" placeholder="请输入师傅手机" value="{{Info.phone}}" bindinput="ipt2" />
|
|
</view>
|
|
</view>
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
<view>*</view>
|
|
所在区域
|
|
</view>
|
|
<view class="masterItem_msg_con" bind:tap="changeArea">
|
|
<input type="text" disabled placeholder="请选择所在区域" value="{{Info.region}}" />
|
|
</view>
|
|
</view>
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
<view>*</view>
|
|
详细地址
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
<input type="text" placeholder="请输入详细地址" value="{{Info.address}}" bindinput="ipt3" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit textGray">
|
|
性别
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
<view class="sex" bind:tap="changeSex" data-sex="1">
|
|
<view class="cir {{Info.sex == 1?'activeCir':''}}"></view>
|
|
男
|
|
</view>
|
|
<view class="sex" bind:tap="changeSex" data-sex="2">
|
|
<view class="cir {{Info.sex == 2?'activeCir':''}}"></view>
|
|
女
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit textGray">
|
|
头像
|
|
</view>
|
|
|
|
<view class="masterItem_msg_con">
|
|
<van-uploader
|
|
file-list="{{ fileList }}"
|
|
max-count="1"
|
|
bind:delete="deleteImg"
|
|
before-read="beforeRead"
|
|
bind:after-read="beforeRead"
|
|
upload-icon="plus" />
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="gray"></view>
|
|
|
|
<view class="Info2">
|
|
<view class="Info_tit">工作量</view>
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
维修单
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
{{Info.todo_order_repair_cnt}} / {{Info.total_order_repair_cnt}}
|
|
<view class="look">查看</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
新装单
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
{{Info.todo_order_install_cnt}} / {{Info.total_order_install_cnt}}
|
|
<view class="look">查看</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
更换单
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
{{Info.todo_order_replace_cnt}} / {{Info.total_order_replace_cnt}}
|
|
<view class="look">查看</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="masterItem_msg">
|
|
<view class="masterItem_msg_tit">
|
|
拆机单
|
|
</view>
|
|
<view class="masterItem_msg_con">
|
|
{{Info.todo_order_uninstall_cnt}} / {{Info.total_order_uninstall_cnt}}
|
|
<view class="look">查看</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="btn" bind:tap="editMaster">
|
|
保存
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
<van-popup show="{{ show }}" safe-area-inset-bottom lock-scroll bind:close="onClose" round close-on-click-overlay position="bottom" bind:>
|
|
<view style="width: 100%;">
|
|
<van-area area-list="{{ areaList }}" bind:confirm="AreaConfirm" bind:cancel="cancel" value="110101" />
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
<Footer></Footer>
|