1
0

resourcepool.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <web-view src="{{weburl}}"></web-view>
  2. <!-- <view wx:if="{{type==0&&resourceobj.respool.length>0}}" class="fontr28 fontfpr color384855 poolmsg">
  3. <view class="lhr48">分配给资源库:</view>
  4. <view class="lhr40 mgt16">
  5. <view wx:for="{{resourceobj.respool}}">
  6. <view>{{item.name}} 资源库 {{item.count}}条</view>
  7. </view>
  8. </view>
  9. </view>
  10. <view wx:if="{{type==0}}" class="bgbox bgF0F4F7"></view>
  11. <view wx:if="{{type==0&&resourceobj.emp.length>0}}" class="fontr28 fontfpr color384855 poolmsg">
  12. <view class="lhr48">分配给员工:</view>
  13. <view class=" mgt16">
  14. <view wx:for="{{resourceobj.emp}}" class="personbox clearfix">
  15. <image class="pull-left headimg" src="{{item.headimgurl?item.headimgurl:'../../../img/default.png'}}"></image>
  16. <view class="pull-left lhr48">{{item.name}} {{item.count}}条</view>
  17. </view>
  18. </view>
  19. </view>
  20. <view wx:if="{{type==1}}" class="resourcelistbox">
  21. <view class="fontr36 fontfpm lhr88 tcenter">{{pooltype==1?"选择客户":'选择员工'}}</view>
  22. <van-checkbox-group wx:if="{{pooltype==1}}" value="{{ result }}" bind:change="onChange">
  23. <van-cell-group>
  24. <van-cell wx:for="{{customerlist}}" wx:key="index" value-class="value-class" title="{{ item.name}}{{resourcetype=='topool'?' 资源库':''}}" clickable data-index="{{ index }}" bind:click="toggle" >
  25. <van-checkbox catch:tap="noop" class="checkboxes-{{ index }} checkbox" name="{{ item.id}}" />
  26. </van-cell>
  27. </van-cell-group>
  28. </van-checkbox-group>
  29. <van-radio-group wx:if="{{pooltype==2}}" value="{{radio}}" bind:change="onChanget">
  30. <van-cell-group>
  31. <van-cell wx:for="{{customerlist}}" wx:key="index" title="{{ item.name}}{{resourcetype=='topool'?' 资源库':''}}" clickable
  32. data-name="{{item.id}}" bind:click="onClick">
  33. <van-radio slot="right-icon" name="{{item.id}}" />
  34. </van-cell>
  35. </van-cell-group>
  36. </van-radio-group>
  37. </view>
  38. <view wx:if="{{type==1}}" class="selectbox clearfix fontfpr fontr28">
  39. <view data-type="1" bindtap="selectap" class="width50_ pull-left tcenter colorfff bg249efb">选择客户</view>
  40. <view data-type="2" bindtap="selectap" class="width50_ pull-left tcenter bgD4E4ED colorfff">选择员工</view>
  41. </view>
  42. <view wx:if="{{type==1&&pooltype==2}}" bindtap="surebatchtap" class="surebatchtbox fontfpr fontr32">确定分配</view> -->