注册修改为绑定

This commit is contained in:
2025-10-21 21:51:51 +08:00
parent 5ee4e077fb
commit be2323074b
28 changed files with 729 additions and 211 deletions

View File

@@ -57,7 +57,7 @@
<view class="search-input-wrapper">
<input
class="search-input"
placeholder="搜索员工姓名、手机号或角色"
placeholder="搜索员工姓名、号或角色"
bindinput="onSearchInput"
value="{{searchKeyword}}"
/>
@@ -80,7 +80,7 @@
{{getRoleText(item.role)}}
</text>
</view>
<text class="employee-phone">{{item.phone}}</text>
<text class="employee-phone">工号: {{item.phone}}</text>
<text class="employee-id">ID: {{item.id}}</text>
</view>
</view>
@@ -122,10 +122,10 @@
</view>
<view class="form-item">
<text class="form-label">手机号码</text>
<text class="form-label">员工工号</text>
<input
class="form-input"
placeholder="请输入手机号码"
placeholder="请输入员工工号"
type="number"
value="{{addForm.phone}}"
bindinput="onFormInput"
@@ -152,7 +152,7 @@
<view class="form-hint">
<text class="hint-text">
提示:添加员工后,用户可以使用该员工的姓名和手机号进行注册
提示:添加员工后,用户可以使用该员工的姓名和号进行绑定
</text>
</view>