<view class="wrap">
  <view class="bx">
    <view class = "search-bx"> 
     <form catchsubmit="formSubmit" >
      <!-- <input class="search-input" name="inputvalue" placeholder="  请输入客户/单号/拜访人进行搜索" /> -->

      <!-- <view style = "position:relative">
        <l-icon name="research" bindtap="on_search_tap" size="30" class="search-icon"  />
        <input class="search-input" bindinput="change_inputvalue" name="inputvalue" placeholder="请输入姓名进行搜索" />
      </view> -->

      <view>
        <picker  class="search-date"  name="beginDate" mode="date" value="{{table.getdataListParm.parammaps.beginDate}}" start="2015-09-01" bindchange="bindDateChange1">{{table.getdataListParm.parammaps.beginDate}}</picker>
        <view class ="fenge">-</view>
        <picker  class="search-date"  name="endDate" mode="date" value="{{table.getdataListParm.parammaps.endDate}}" start="2015-09-01" bindchange="bindDateChange2">{{table.getdataListParm.parammaps.endDate}}</picker>
      </view>

    


   

      
     </form>
      
    </view>

  

    <block wx:if="{{isShow}}">
      <view class="table">
 
        <block wx:for="{{table.list}}" wx:for-item="item"  wx:key="index">
 
          <view class="table_box"  bindtap="on_see_tap1"  data-id="{{item.id}}" wx:if="{{item.sort == '1'}}" >
                   
            <image class="jiao" mode="aspectFit" src='/images/baifang.png'></image>
            
            <view class="bd">
                      <view class="bd_item">
                        <text class="bd_tt">拜访日期：</text>
                        <text>{{item.field1}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">拜访人：</text>
                        <text>{{item.field2}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item"> 
                        <text class="bd_tt">接待人：</text>
                        <text>{{item.field3}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">接待人电话：</text>
                        <text>{{item.field4}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item2">
                        <text class="bd_tt">情况说明：</text>
                        <text>{{item.field5}}</text>
                      </view>
                    </view>
             
          </view>

          <view class="table_box"  bindtap="on_see_tap2"  data-id="{{item.id}}" wx:if="{{item.sort == '2'}}" >
            <image class="jiao" mode="aspectFit" src='/images/dianhua.png'></image>      
            <view class="bd">
                      <view class="bd_item">
                        <text class="bd_tt">回访日期：</text>
                        <text>{{item.field1}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">回访人：</text>
                        <text>{{item.field2}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item"> 
                        <text class="bd_tt">被回访人：</text>
                        <text>{{item.field3}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">被回访人电话：</text>
                        <text>{{item.field4}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item2">
                        <text class="bd_tt">回访说明：</text>
                        <text>{{item.field5}}</text>
                      </view>
                    </view>
             
          </view>

          <view class="table_box"  bindtap="on_see_tap3"  data-id="{{item.id}}" wx:if="{{item.sort == '3'}}" >
            <image class="jiao" mode="aspectFit" src='/images/yuan.png'></image>     
            <view class="bd">
                      <view class="bd_item">
                        <text class="bd_tt">服务日期：</text>
                        <text>{{item.field1}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">技术人员：</text>
                        <text>{{item.field2}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item"> 
                        <text class="bd_tt">客户对接人：</text>
                        <text>{{item.field3}}</text>
                      </view>
                      
                    </view>
                    <view class="bd">
                      <view class="bd_item2">
                        <text class="bd_tt">服务内容：</text>
                        <text>{{item.field4}}</text>
                      </view>
                    </view>
             
          </view>

          <view class="table_box"  bindtap="on_see_tap4"  data-id="{{item.id}}" wx:if="{{item.sort == '4'}}" >
            <image class="jiao" mode="aspectFit" src='/images/xianchang.png'></image>       
            <view class="bd">
                      <view class="bd_item">
                        <text class="bd_tt">服务日期：</text>
                        <text>{{item.field1}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">服务人员：</text>
                        <text>{{item.field2}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item"> 
                        <text class="bd_tt">服务类型：</text>
                        <text>{{item.field3}}</text>
                      </view>
                      
                    </view>
                    <view class="bd">
                      <view class="bd_item2">
                        <text class="bd_tt">服务描述：</text>
                        <text>{{item.field4}}</text>
                      </view>
                    </view>
             
          </view>

          <view class="table_box"  bindtap="on_see_tap5"  data-id="{{item.id}}" wx:if="{{item.sort == '5'}}" >
            <image class="jiao" mode="aspectFit" src='/images/tousu.png'></image>       
            <view class="bd">
                      <view class="bd_item">
                        <text class="bd_tt">投诉日期：</text>
                        <text>{{item.field1}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">投诉人：</text>
                        <text>{{item.field2}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item"> 
                        <text class="bd_tt">被投诉人：</text>
                        <text>{{item.field3}}</text>
                      </view>
                      <view class="bd_item">
                        <text class="bd_tt">投诉电话：</text>
                        <text>{{item.field4}}</text>
                      </view>
                    </view>
                    <view class="bd">
                      <view class="bd_item2">
                        <text class="bd_tt">投诉内容：</text>
                        <text>{{item.field5}}</text>
                      </view>
                    </view>
             
          </view>
 

        </block>
      </view>
    </block>
    <block wx:else="{{isShow}}">
      <view class="table">
         <image style="width: 400rpx; height: 400rpx;margin:0 auto" mode="aspectFit" src="{{noData}}"></image>
         <text style="margin:0 auto">{{dataListTips}}</text> 
      </view>
    </block>

    

  </view>

 
</view>