|
@@ -32,8 +32,8 @@
|
|
|
onButtonClick="onModalClose"
|
|
|
buttons="{{buttonFooter}}"
|
|
|
>
|
|
|
- <view slot="header">编辑客户姓名</view>
|
|
|
- <input class="input" maxlength="10" placeholder="请输入客户姓名" onInput="bindKeyInput" />
|
|
|
+ <view slot="header">编辑雇主信息</view>
|
|
|
+ <input class="input" maxlength="10" placeholder="请输入雇主称呼" onInput="bindKeyInput" value="{{customerName}}"/>
|
|
|
|
|
|
</modal>
|
|
|
|
|
@@ -47,9 +47,37 @@
|
|
|
<view class="no-add">您还未关联客户</view>
|
|
|
<view class="no-add-tips">关联客户,沟通更轻松</view>
|
|
|
<view class="mini-button-wrapper">
|
|
|
-<button type="primary" class="common-button" hover-class="active-button" size="mini">现在关联</button>
|
|
|
+<button type="primary" class="common-button" hover-class="active-button" size="mini" onTap="bindNow">现在关联</button>
|
|
|
</view>
|
|
|
- <view class="switch-role">角色选择错啦,去切换 >> </view>
|
|
|
+ <view class="switch-role" onTap="switchRole">角色选择错啦,去切换 >> </view>
|
|
|
+<modal
|
|
|
+ show="{{unSetModal}}"
|
|
|
+ showClose="{{false}}"
|
|
|
+ onButtonClick="onSetButtonClick"
|
|
|
+ buttonsLayout="vertical"
|
|
|
+ buttons="{{unSetBtn}}"
|
|
|
+ >
|
|
|
+ <view slot="header">您尚未关联雇主</view>
|
|
|
+ 请先向雇主索要关联码哦
|
|
|
+ </modal>
|
|
|
+
|
|
|
+<!-- 关联雇主 -->
|
|
|
+ <modal
|
|
|
+ show="{{bindModalShow}}"
|
|
|
+ showClose="{{false}}"
|
|
|
+ onButtonClick="onBindModalClose"
|
|
|
+ buttons="{{buttonFooter}}"
|
|
|
+ >
|
|
|
+ <view slot="header">关联雇主</view>
|
|
|
+ <view class="bind-input-wrapper">
|
|
|
+ <input class="input" maxlength="9" placeholder="请输入关联码" onInput="bindCodeInput" value="{{bindCode}}" type="number"/>
|
|
|
+ <input class="input" maxlength="10" placeholder="请输入雇主称呼" onInput="bindNameInput" value="{{bindName}}" />
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </modal>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
</view>
|