start-work.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!--pages/progress/start-work.wxml-->
  2. <o2-navi title="{{navTitle}}" ></o2-navi>
  3. <block>
  4. <view class="application-list">
  5. <view class="application-item {{currentAppId == item.id ? 'application-item-active': ''}}" wx:for="{{applicationList}}" wx:key="index" bindtap="bindTapApplication" data-index="{{index}}" >
  6. <image class="application-icon" src="{{item.icon ? 'data:image/png;base64,'+item.icon : '../../assets/img/icon_main_index_logo.png'}}" mode="scaleToFill" />
  7. <text class="application-name">{{item.name}}</text>
  8. </view>
  9. </view>
  10. <view class="process-list">
  11. <view class="process-item" wx:for="{{processList}}" wx:key="index" bindtap="bindTapProcess" data-index="{{index}}" >
  12. <text class="process-name">{{item.name}}</text>
  13. </view>
  14. </view>
  15. </block>
  16. <mp-dialog title="请选择启动流程的身份" show="{{showChooseIdentityDialog}}" bindbuttontap="tapDialogButton" buttons="{{[{text: '取消'}, {text: '确认'}]}}">
  17. <view class="page-section">
  18. <view class="weui-cells weui-cells_after-title">
  19. <view class="weui-cell weui-cell_input">
  20. <radio-group bindchange="identityRadioChange">
  21. <label class="weui-cell weui-check__label" wx:for="{{identityList}}" wx:key="{{item.id}}">
  22. <view class="weui-cell__hd">
  23. <radio value="{{item.distinguishedName}}"/>
  24. </view>
  25. <view class="weui-cell__bd">{{item.name}}({{item.unitName}})</view>
  26. </label>
  27. </radio-group>
  28. </view>
  29. </view>
  30. </view>
  31. </mp-dialog>