|
@@ -37,12 +37,45 @@
|
|
|
<view class="search-item">
|
|
|
<text>手机号:</text>
|
|
|
<input
|
|
|
- class="input m-r"
|
|
|
- value="{{searchForm.data.phone}}"
|
|
|
- onInput="getVal"
|
|
|
- data-key="phone"
|
|
|
- placeholder="手机号"
|
|
|
- placeholder-class="time-placeholder"
|
|
|
+ class="input m-r"
|
|
|
+ value="{{searchForm.data.phone}}"
|
|
|
+ onInput="getVal"
|
|
|
+ data-key="phone"
|
|
|
+ placeholder="手机号"
|
|
|
+ placeholder-class="time-placeholder"
|
|
|
+ />
|
|
|
+ </view>
|
|
|
+ <view class="search-item">
|
|
|
+ <text>来访单位:</text>
|
|
|
+ <input
|
|
|
+ class="input m-r"
|
|
|
+ value="{{searchForm.data.company}}"
|
|
|
+ onInput="getVal"
|
|
|
+ data-key="company"
|
|
|
+ placeholder="来访单位"
|
|
|
+ placeholder-class="time-placeholder"
|
|
|
+ />
|
|
|
+ </view>
|
|
|
+ <view class="search-item">
|
|
|
+ <text>来访人:</text>
|
|
|
+ <input
|
|
|
+ class="input m-r"
|
|
|
+ value="{{searchForm.data.visiteeXm}}"
|
|
|
+ onInput="getVal"
|
|
|
+ data-key="visiteeXm"
|
|
|
+ placeholder="来访人"
|
|
|
+ placeholder-class="time-placeholder"
|
|
|
+ />
|
|
|
+ </view>
|
|
|
+ <view class="search-item">
|
|
|
+ <text>来访人部门:</text>
|
|
|
+ <input
|
|
|
+ class="input m-r"
|
|
|
+ value="{{searchForm.data.visiteeBm}}"
|
|
|
+ onInput="getVal"
|
|
|
+ data-key="visiteeBm"
|
|
|
+ placeholder="来访人部门"
|
|
|
+ placeholder-class="time-placeholder"
|
|
|
/>
|
|
|
</view>
|
|
|
<view style="display: inline-block;">
|
|
@@ -64,9 +97,9 @@
|
|
|
<view class="search-item wid1 flex">
|
|
|
<text>来访时间:</text>
|
|
|
<view
|
|
|
- class="{{searchForm.data.startTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
- onTap="datePicker"
|
|
|
- data-key="startTime"
|
|
|
+ class="{{searchForm.data.startTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
+ onTap="datePicker"
|
|
|
+ data-key="startTime"
|
|
|
>
|
|
|
{{searchForm.data.startTime ? searchForm.data.startTime : '起始时间'}}
|
|
|
</view>
|
|
@@ -74,13 +107,50 @@
|
|
|
至
|
|
|
</view>
|
|
|
<view
|
|
|
- class="{{searchForm.data.endTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
- onTap="datePicker"
|
|
|
- data-key="endTime"
|
|
|
+ class="{{searchForm.data.endTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
+ onTap="datePicker"
|
|
|
+ data-key="endTime"
|
|
|
>
|
|
|
{{searchForm.data.endTime ? searchForm.data.endTime : '结束时间'}}
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="search-item wid1 flex">
|
|
|
+ <text>签离时间:</text>
|
|
|
+ <view
|
|
|
+ class="{{searchForm.data.signOutStartTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
+ onTap="datePicker"
|
|
|
+ data-key="signOutStartTime"
|
|
|
+ >
|
|
|
+ {{searchForm.data.signOutStartTime ? searchForm.data.signOutStartTime : '起始时间'}}
|
|
|
+ </view>
|
|
|
+ <view class="pad">
|
|
|
+ 至
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ class="{{searchForm.data.signOutEndTime?'input wid-time':'input wid-time time-placeholder'}}"
|
|
|
+ onTap="datePicker"
|
|
|
+ data-key="signOutEndTime"
|
|
|
+ >
|
|
|
+ {{searchForm.data.signOutEndTime ? searchForm.data.signOutEndTime : '结束时间'}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view style="display: inline-block;">
|
|
|
+ <picker
|
|
|
+ value="{{searchForm.data.reason}}"
|
|
|
+ range="{{causeMatterList}}"
|
|
|
+ range-key="name"
|
|
|
+ onChange='getVal'
|
|
|
+ data-key="reason"
|
|
|
+ >
|
|
|
+ <view class="search-item flex">
|
|
|
+ <text>事由:</text>
|
|
|
+ <view class="{{searchForm.data.reason?'input m-r ':'input m-r time-placeholder'}}">
|
|
|
+ {{searchForm.data.reason?searchForm.data.reason:'请选择事由'}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
|