<wrapper>
    <view class="department-modal">
        <popup show="{{ isShowModal }}" position="{{ position }}" onClose="onPopupClose">
            <view class="department-modal-container">
                <view class="modal-container-title">
                    <view>{{ title }}</view>
                    <view  onTap="onPopupClose">
                        <am-icon type="close" size="16" color="#D8D8D8"/>
                    </view>
                </view>
                <view class="department-list">
                    <view class="department-list-item" a:for="{{ departmentList }}">
                        <view class="department-name">{{ item.name }}</view>
                        <view class="department-btn-container">
                            <view class="department-btn" data-item="{{ item }}" onTap="chooseBtn">选择</view>
                        </view>
                    </view>
                </view>
            </view>
        </popup>
    </view>
</wrapper>