<view class="all-date">
  <view class="data-tier" catchTap="onClose"></view>
  <view class="date-header {{isShow?'showPop':''}}">
    <view>
      <view class="flex-box flex-v-ce shu" a:if="{{terr.length>1}}">
        <view a:for="{{terr}}" class="flex-box flex-v-ce flex-d-wrap" data-index="{{index}}" catchTap="activeItem" data-item="{{item}}">
          <image mode="scaleToFill" src="../../../image/right.png" style="width:20rpx;height:20rpx;margin:0 6rpx;" a:if="{{index!=0}}" />
          {{item.name}}
        </view>
      </view>
      <scroll-view class="ul" scroll-y="{{true}}">
        <view class="flex-box flex-v-ce li2" a:for="{{rule_tree}}" a:key="{{index}}">
          <view class="{{item.dept_id==activeId? 'active':''}} flex-box flex-v-ce flex-1" data-item="{{item}}" catchTap="radioChange">
            <view class="radio_"></view>
            <image class="images" src="../../../image/BM.png" />
            <view class="font-flex-word">{{item.name}}</view>
          </view>
          <view class="xia" data-item="{{item}}" catchTap="openDown" a:if="{{item._child.length>0}}">| 下级</view>
        </view>
      </scroll-view>
    </view>
    <view class="flex-box date-btn">
      <view class="flex-1" catchTap="onClose">取消</view>
      <view class="flex-1" catchTap="onConfirm">确定</view>
    </view>
  </view>
  <view class="meng" catchTap="onClose"></view>
</view>