运维小程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.wxml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!--pages/scheduling/index.wxml-->
  2. <view class="scheduling">
  3. <t-calendar
  4. value="{{value}}"
  5. switch-mode="year-month"
  6. use-popup="{{false}}"
  7. type="single"
  8. title="日历标题"
  9. minDate="{{minDate}}"
  10. maxDate="{{maxDate}}"
  11. show-lunar="{{true}}"
  12. format="{{format}}"
  13. bind:select="handleSelect"
  14. bind:confirm="handleConfirm"
  15. bind:panel-change="handlePanelChange"
  16. />
  17. <view class="content">
  18. <view class="content_fonst">
  19. <view>{{valuename}} 值班</view>
  20. <view class="Scancode_lefticon" wx:if="{{partnerPosition!=1}}">
  21. <t-icon bind:tap="ondutyadd" name="add" size="60rpx" data-name="add"/>
  22. </view>
  23. </view>
  24. <view class="Scancode_content" wx:for="{{selectschedudata[0].partner}}">{{item.partnerName}}
  25. <!-- 1: '值班员', 2: '值长', 3: '站长', 4: '董事长' -->
  26. <text class="Scancode_content11" wx:if="{{item.partnerPosition==1}}">值班员</text>
  27. <text class="Scancode_content11" wx:if="{{item.partnerPosition==2}}">值长</text>
  28. <text class="Scancode_content11" wx:if="{{item.partnerPosition==3}}">站长</text>
  29. <text class="Scancode_content11" wx:if="{{item.partnerPosition==4}}">董事长</text>
  30. </view>
  31. </view>
  32. </view>
  33. <t-popup
  34. visible="{{visible}}"
  35. usingCustomNavbar
  36. bind:visible-change="onVisibleChange"
  37. placement="bottom"
  38. >
  39. <view class="popupbox">
  40. <view class="popupboxname">选择值班员</view>
  41. <t-checkbox-group value="{{current}}" bind:change="handleGroupChange" options="{{options}}" />
  42. <view class="workorder_box">
  43. <view class="workorder" bind:tap="onworkorder">提交</view>
  44. </view>
  45. </view>
  46. </t-popup>