| 12345678910111213141516171819 |
- <navigator url="#" class="{{prefix ? 'node child' : 'node'}}" hover-class="node-hover" hover-start-time="50" hover-stay-time="100" wx:for="{{nodes}}" key="sa_workorder_nodeid" data-item="{{item}}" catch:tap="toWork">
- <view class="number">
- {{ (prefix ? prefix + '-' : '') + item.rowindex }}.
- </view>
- <view style="flex: 1;">
- <view class="label">
- {{ item.workpresetjson.workname }}
- </view>
- <Nodes wx:if="{{!prefix && item.child.length}}" status='{{status}}' nodes="{{item.child}}" prefix="{{(prefix ? prefix + '-' : '') + item.rowindex}}" />
- <block wx:else>
- <Yl_Files id="Yl_Files" attinfos='{{item.attinfos}}' />
- <view class="stuta">
- <view class="tag" style="background-color:{{sColors['未完成']}};" wx:if="{{item.status == '0'}}">未完成</view>
- <view class="tag" style="background-color:{{sColors['已完成']}};" wx:if="{{item.status == '1'}}">已完成</view>
- <view class="tag" style="background-color:{{sColors['进行中']}};" wx:if="{{item.status == '2'}}">进行中</view>
- </view>
- </block>
- </view>
- </navigator>
|