@@ -1,9 +1,6 @@
<wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
<loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
-<van-sticky scroll-top="0">
- <van-search model:value="{{ searchText }}" bind:search="doSearch" placeholder="请输入员工编码/员工名称" />
-</van-sticky>
<van-empty wx:if="{{list.length<=0}}" description="暂无数据" />
@@ -136,7 +136,8 @@ const home = {
// 基础数据
const basicData = {
-
+ name:'名称',
+ code:'编码',
staffCode: '员工编码',
staffPhone: '员工电话',
staffName: '员工姓名',
@@ -1 +1,8 @@
+<wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
+
+<van-sticky scroll-top="0">
+ <!-- 查询条件 -->
+ <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['name','code'])}}">
+ </dk-dropdown-menu>
+</van-sticky>
<dk-multi-owner list="{{tableData}}" content="{{contentList}}" bind:toMulti="toMulti" nameKey="orgName" idKey="orgId" typeKey="staff"></dk-multi-owner>
@@ -1,2 +1,9 @@
<dk-multi-owner list="{{tableData}}" content="{{contentList}}" bind:toMulti="toMulti" nameKey="staffName" idKey="staffId" typeKey="staff"></dk-multi-owner>