<!--pages/information/information.wxml-->
<wxs src="../../utils/tools.wxs" module="tools" />
<view class="information-page">
  <navBar bg="{{headeBg}}" filled="{{false}}">
    <view slot="left" class="persion-icon-box">
      <image src="/assets/images/navbar/avatar{{isMember ? '2' : ''}}.png" class="nav-right" bindtap="goPersonal" />
      <image src="/assets/images/navbar/scan.png" class="nav-right" bind:tap="scanCode" />
    </view>
    <image src="/assets/images/navbar/logo.png" class="logo" />
  </navBar>
  <view class="bg-box">
    <image class="bg" src="/assets/images/information/bg.png" />
    <view class="header">
      <view class="top">个人服务</view>
      <view class="bottom">Personal service</view>
      <view class="line"></view>
    </view>
  </view>
  <view class="white-box">
    <view class="tipBox" wx:if="{{!isCer}}">
      <view class="title">实名认证</view>
      <view class="description">{{userInfo.idCard?'因手机号码可通过过户、注销等情况变更用户信息，为确保手机号实名认证信息匹配，三个月内未登录的手机号码再次登陆时需重新完成实名认证。':'您的账户尚未进行实名认证，完成实名认证后您可以查看数据档案详情、补充自填信息、申请勘误、生成个人信息报告。'}}</view>
      <btn bgColor="#FE633A" fontSize="24rpx" width="223rpx" height="43rpx" padding="26rpx" bindtap="handleCertification" data-idcard="{{userInfo.idCard||''}}">立即实名认证
        <image class="icon_arrow_right" src="/assets/images/information/icon_arrow_right.png"></image>
      </btn>
    </view>


    <view class="fun-item">
      <view class="panel" bindtap="handleToggle" data-toggled="{{toggles['基础信息']}}" data-label="{{index}}" data-show="{{isCer}}" data-key="基础信息">
        <view class="left">
          <image class="icon" src="/assets/images/information/icon1.png" />
          <text>基础信息</text>
        </view>
        <view class="right">
          <text wx:if="{{!isCer}}">认证可见</text>
          <image class="{{toggles['基础信息']?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
        </view>
      </view>

      <view class="infoList" wx:if="{{toggles['基础信息']}}">
        <view class="infoItem">
          <view class="infoItem_top">
            <view class="key">姓名</view>
            <view class="value">{{list['基础信息']['姓名'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['姓名'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['姓名'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['姓名'].dataId}}" redDotMark="{{list['基础信息']['姓名'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">性别</view>
            <view class="value">{{list['基础信息']['性别'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['性别'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['性别'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['性别'].dataId}}" redDotMark="{{list['基础信息']['性别'].redDotMark}}" />
            </view>
          </view>
        </view>

        <!-- <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">性别</view>
            <view class="value">{{list['基础信息']['性别'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['性别'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <view class="operation">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view>
            </view>
          </view>
        </view> -->

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">身份证号</view>
            <view class="value">{{list['基础信息']['身份证号'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['身份证号'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['身份证号'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['身份证号'].dataId}}" redDotMark="{{list['基础信息']['身份证号'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">出生日期</view>
            <view class="value">{{list['基础信息']['出生日期'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['出生日期'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['出生日期'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['出生日期'].dataId}}" redDotMark="{{list['基础信息']['出生日期'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">民族</view>
            <view wx:if="{{list['基础信息']['民族']}}" class="value">{{list['基础信息']['民族'].dataValue}}</view>
            <image wx:else class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="民族" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
          </view>
          <view class="infoItem_bottom">
            <view class="date" wx:if="{{list['基础信息']['民族']}}">
              <filter type="parseTime" value="{{list['基础信息']['民族'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由{{list['基础信息']['民族'].dataSourceType==='CONSUMER'? list['基础信息']['民族'].dataSourceName +'自填'
              : list['基础信息']['民族'].dataSourceName +'添加'}}
            </view>
            <view class="operations" wx:if="{{list['基础信息']['民族']}}">
              <view class="operation" bindtap="handleEdit" data-value="{{list['基础信息']['民族']}}" data-name="民族">
                <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>修改
              </view>
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['民族'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['民族'].dataId}}" redDotMark="{{list['基础信息']['民族'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">身份证注册地</view>
            <view class="value">{{list['基础信息']['身份证注册地'].dataValue}}</view>
          </view>
          <view class="infoItem_bottom">
            <view class="date">
              <filter type="parseTime" value="{{list['基础信息']['身份证注册地'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
              由本人实名认证
            </view>
            <view class="operations">
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['身份证注册地'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['身份证注册地'].dataId}}" redDotMark="{{list['基础信息']['身份证注册地'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">手机号码</view>
            <view class="value">
              <image class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="手机号码" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
            </view>
          </view>

          <view class="valueList" wx:if="{{list['基础信息']['手机号码']}}">
            <view class="phoneTip">
              <image src="/assets/images/information/icon_warning.png"></image>三个月内未登录的手机号，需重新进行实名认证
            </view>
            <!-- {{list['基础信息']['手机号码'][index]['值'].deleteTag?'deleteTag':''}} -->
            <view class="valueItem" wx:for="{{list['基础信息']['手机号码']}}" wx:key="index">
              <view class="value">{{item['值'].dataValue}}<text class="outDate" wx:if="{{list['基础信息']['手机号码'].phoneExpireTag}}">已过期</text></view>
              <view class="date">
                <filter type="parseTime" value="{{item['值'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                实名认证
              </view>
              <view class="operations">
                <!-- <view class="operation" wx:if="{{list['基础信息']['手机号码'][index]['值'].modifiable}}" bindtap="handleEdit" data-value="{{list['基础信息']['手机号码'][index]['值']}}" data-name="手机号码">
                  <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
                </view>
                <view class="operation" wx:if="{{list['基础信息']['手机号码'][index]['值'].modifiable}}" bindtap="handleDelete" data-id="{{list['基础信息']['手机号码'][index]['值'].dataId}}">
                  <image src="/assets/images/information/icon_delete.png" class="operationIcon"></image>删除
                </view> -->
                <view class="operation" wx:if="{{list['基础信息']['手机号码'][index]['值'].phoneExpireTag}}" bindtap="handleAdd" data-value="{{list['基础信息']['手机号码'][index]['值'].dataValue}}" data-keyid="{{list['基础信息']['上级Id']}}" data-name="手机号码" data-key="基础信息">
                  <image src="/assets/images/information/icon_sfrz.png" class="operationIcon"></image>重新认证
                </view>
                <!-- <view class="operation" bindtap="handleRecords" data-id="{{item['值'].dataId}}">
                  <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
                </view> -->
              </view>
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">座机号码</view>
            <view class="value">
              <image class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="座机号码" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
            </view>
          </view>

          <view class="valueList" wx:if="{{list['基础信息']['座机号码']}}">
            <view wx:if="{{item['值'].deleteTag?isShowInvalid?true:false:true}}" class="valueItem {{list['基础信息']['座机号码'][index]['值'].deleteTag?'deleteTag':''}}" wx:for="{{list['基础信息']['座机号码']}}" wx:key="index">
              <view class="value">{{item['值'].dataValue}}</view>
              <view class="date">
                <filter type="parseTime" value="{{item['值'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['值'].dataSourceType==='CONSUMER'? item['值'].dataSourceName +'自填'
                : item['值'].dataSourceName +'添加'}}
              </view>
              <view class="operations">
                <view class="operation" wx:if="{{list['基础信息']['座机号码'][index]['值'].modifiable}}" bindtap="handleEdit" data-value="{{list['基础信息']['座机号码'][index]['值']}}" data-name="座机号码">
                  <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
                </view>
                <view class="operation" wx:if="{{list['基础信息']['座机号码'][index]['值'].modifiable}}" bindtap="handleDelete" data-id="{{list['基础信息']['座机号码'][index]['值'].dataId}}">
                  <image src="/assets/images/information/icon_delete.png" class="operationIcon"></image>删除
                </view>
                <!-- <view class="operation" bindtap="handleRecords" data-id="{{item['值'].dataId}}">
                  <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
                </view> -->
                <dataSource dataId="{{item['值'].dataId}}" redDotMark="{{item['值'].redDotMark}}" />
              </view>
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">通信地址</view>
            <view class="value">
              <image class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="通信地址" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
            </view>
          </view>

          <view class="valueList" wx:if="{{list['基础信息']['通信地址']}}">
            <view wx:if="{{item['值'].deleteTag?isShowInvalid?true:false:true}}" class="valueItem {{list['基础信息']['通信地址'][index]['值'].deleteTag?'deleteTag':''}}" wx:for="{{list['基础信息']['通信地址']}}" wx:key="index">
              <view class="value">{{item['值'].dataValue}}</view>
              <view class="date">
                <filter type="parseTime" value="{{item['值'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['值'].dataSourceType==='CONSUMER'? item['值'].dataSourceName +'自填'
                : item['值'].dataSourceName +'添加'}}
              </view>
              <view class="operations">
                <view class="operation" wx:if="{{list['基础信息']['通信地址'][index]['值'].modifiable}}" bindtap="handleEdit" data-value="{{list['基础信息']['通信地址'][index]['值']}}" data-name="通信地址">
                  <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
                </view>
                <view class="operation" wx:if="{{list['基础信息']['通信地址'][index]['值'].modifiable}}" bindtap="handleDelete" data-id="{{list['基础信息']['通信地址'][index]['值'].dataId}}">
                  <image src="/assets/images/information/icon_delete.png" class="operationIcon"></image>删除
                </view>
                <!-- <view class="operation" bindtap="handleRecords" data-id="{{item['值'].dataId}}">
                  <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
                </view> -->
                <dataSource dataId="{{item['值'].dataId}}" redDotMark="{{item['值'].redDotMark}}" />
              </view>
            </view>
          </view>
        </view>

        <view class="infoItem" wx:if="{{toggles['基础信息']}}">
          <view class="infoItem_top">
            <view class="key">电子邮箱</view>
            <view class="value">
              <image class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="电子邮箱" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
            </view>
          </view>

          <view class="valueList" wx:if="{{list['基础信息']['电子邮箱']}}">
            <view wx:if="{{item['值'].deleteTag?isShowInvalid?true:false:true}}" class="valueItem {{list['基础信息']['电子邮箱'][index]['值'].deleteTag?'deleteTag':''}}" wx:for="{{list['基础信息']['电子邮箱']}}" wx:key="index">
              <view class="value">{{item['值'].dataValue}}</view>
              <view class="date">
                <filter type="parseTime" value="{{item['值'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['值'].dataSourceType==='CONSUMER'? item['值'].dataSourceName +'自填'
                : item['值'].dataSourceName +'添加'}}
              </view>
              <view class="operations">
                <view class="operation" wx:if="{{list['基础信息']['电子邮箱'][index]['值'].modifiable}}" bindtap="handleEdit" data-value="{{list['基础信息']['电子邮箱'][index]['值']}}" data-name="电子邮箱">
                  <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
                </view>
                <view class="operation" wx:if="{{list['基础信息']['电子邮箱'][index]['值'].modifiable}}" bindtap="handleDelete" data-id="{{list['基础信息']['电子邮箱'][index]['值'].dataId}}">
                  <image src="/assets/images/information/icon_delete.png" class="operationIcon"></image>删除
                </view>
                <!-- <view class="operation" bindtap="handleRecords" data-id="{{item['值'].dataId}}">
                  <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
                </view> -->
                <dataSource dataId="{{item['值'].dataId}}" redDotMark="{{item['值'].redDotMark}}" />
              </view>
            </view>
          </view>
        </view>

        <view class="infoItem">
          <view class="infoItem_top">
            <view class="key">政治面貌</view>
            <view class="value" wx:if="{{list['基础信息']['政治面貌'].dataValue}}">{{list['基础信息']['政治面貌'].dataValue}}</view>
            <image wx:else class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="政治面貌" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
          </view>
          <view class="infoItem_bottom" wx:if="{{list['基础信息']['政治面貌']}}">
            <view class="date" wx:if="{{list['基础信息']['政治面貌']}}">
              <filter type="parseTime" value="{{list['基础信息']['政治面貌'].createDate}}" params="{{['{y}-{m}-{d} {h}:{i}']}}" />
              由{{list['基础信息']['政治面貌'].dataSourceType==='CONSUMER'? list['基础信息']['政治面貌'].dataSourceName +'自填'
              : list['基础信息']['政治面貌'].dataSourceName +'添加'}}
            </view>
            <view class="operations" wx:if="{{list['基础信息']['政治面貌']}}">
              <view class="operation" bindtap="handleEdit" wx:if="{{list['基础信息']['政治面貌'].modifiable}}" data-value="{{list['基础信息']['政治面貌']}}" data-name="政治面貌">
                <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
              </view>
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['政治面貌'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['政治面貌'].dataId}}" redDotMark="{{list['基础信息']['政治面貌'].redDotMark}}" />
            </view>
          </view>
        </view>

        <view class="infoItem">
          <view class="infoItem_top">
            <view class="key">婚姻状况</view>
            <view class="value" wx:if="{{list['基础信息']['婚姻状况'].dataValue}}">{{list['基础信息']['婚姻状况'].dataValue}}</view>
            <image wx:else class="icon_add" bindtap="handleAdd" data-keyid="{{list['基础信息']['上级Id']}}" data-name="婚姻状况" data-key="基础信息" src="/assets/images/information/icon_add.png"></image>
          </view>
          <view class="infoItem_bottom" wx:if="{{list['基础信息']['婚姻状况']}}">
            <view class="date" wx:if="{{list['基础信息']['婚姻状况']}}">
              <filter type="parseTime" value="{{list['基础信息']['婚姻状况'].createDate}}" params="{{['{y}-{m}-{d} {h}:{i}']}}" />
              由{{list['基础信息']['婚姻状况'].dataSourceType==='CONSUMER'? list['基础信息']['婚姻状况'].dataSourceName +'自填'
              : list['基础信息']['婚姻状况'].dataSourceName +'添加'}}
            </view>
            <view class="operations" wx:if="{{list['基础信息']['婚姻状况']}}">
              <view class="operation" bindtap="handleEdit" wx:if="{{list['基础信息']['婚姻状况'].modifiable}}" data-value="{{list['基础信息']['婚姻状况']}}" data-name="婚姻状况">
                <image src="/assets/images/information/icon_edit.png" class="operationIcon"></image>编辑
              </view>
              <!-- <view class="operation" bindtap="handleRecords" data-id="{{list['基础信息']['婚姻状况'].dataId}}">
                <image src="/assets/images/information/icon_data.png" class="operationIcon"></image>数据记录
              </view> -->
              <dataSource dataId="{{list['基础信息']['婚姻状况'].dataId}}" redDotMark="{{list['基础信息']['婚姻状况'].redDotMark}}" />
            </view>
          </view>
        </view>
      </view>
    </view>

    <view class="fun-item">
      <view class="panel" bindtap="handleToggle" data-toggled="{{toggles['学历教育']}}" data-label="{{index}}" data-key="学历教育" data-show="{{isCer}}">
        <view class="left">
          <image class="icon" src="/assets/images/information/icon2.png" />
          <text>学历教育</text>
        </view>
        <view class="right">
          <text wx:if="{{!isCer}}">认证可见</text>
          <image class="{{toggles['学历教育']?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
        </view>
      </view>

      <view class="infoList" wx:if="{{toggles['学历教育']}}">
        <view class="eduList">
          <view wx:if="{{item['时间'].deleteTag?isShowInvalid?true:false:true}}" class="eduItem" wx:for="{{list['学历教育']}}" wx:key="index">
            <view class="eduItemRoute" wx:if="{{item['教育机构'].deleteTag}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
              </view>
              <view style="display:flex;align-items: center;">
                <view class="eduName deleteTag">{{item['教育机构'].dataValue}}</view><text class="deleteTagText">已删除</text>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['教育机构'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['教育机构'].dataSourceType==='CONSUMER'? item['教育机构'].dataSourceName +'自填'
                : item['教育机构'].dataSourceName +'添加'}}
              </view>
            </view>

            <view class="eduItemRoute" wx:else bindtap="handleDetail" data-key="学历教育" data-index="{{index}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" /><text>详情></text>
              </view>
              <view class="eduName">{{item['教育机构'].dataValue}}
                <redDot redDotMark="{{tools.indexOf(redDotMakStr,item['上级Id'])}}" />
                <image wx:if="{{superiorIdAttachInfoResponseVoMap[item['上级Id']].businessNameAuthenticationTag}}" src="/assets/images/information/icon_zheng.png"></image>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['教育机构'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['教育机构'].dataSourceType==='CONSUMER'? item['教育机构'].dataSourceName +'自填'
                : item['教育机构'].dataSourceName +'添加'}}
              </view>
            </view>
          </view>
          <view class="addBar1" bindtap="handleCreate" data-key="学历教育" data-index="{{index}}">
            <view class="btn_add"><text>+</text>添加学历教育</view>
          </view>
        </view>
      </view>
    </view>

    <view class="fun-item">
      <view class="panel" bindtap="handleToggle" data-toggled="{{toggles['非学历教育']}}" data-label="{{index}}" data-key="非学历教育" data-show="{{isCer}}">
        <view class="left">
          <image class="icon" src="/assets/images/information/icon3.png" />
          <text>非学历教育</text>
        </view>
        <view class="right">
          <text wx:if="{{!isCer}}">认证可见</text>
          <image class="{{toggles['非学历教育']?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
        </view>
      </view>

      <view class="infoList" wx:if="{{toggles['非学历教育']}}">
        <view class="eduList">
          <view wx:if="{{item['时间'].deleteTag?isShowInvalid?true:false:true}}" class="eduItem" wx:for="{{list['非学历教育']}}" wx:key="index">
            <view class="eduItemRoute" wx:if="{{item['教育机构'].deleteTag}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
              </view>
              <view style="display:flex;align-items: center;">
                <view class="eduName deleteTag">{{item['教育机构'].dataValue}}</view><text class="deleteTagText">已删除</text>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['教育机构'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['教育机构'].dataSourceType==='CONSUMER'? item['教育机构'].dataSourceName +'自填'
                : item['教育机构'].dataSourceName +'添加'}}
              </view>
            </view>

            <view class="eduItemRoute" wx:else bindtap="handleDetail" data-key="非学历教育" data-index="{{index}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" /><text>详情></text>
              </view>
              <view class="eduName">{{item['教育机构'].dataValue}}
                <redDot redDotMark="{{tools.indexOf(redDotMakStr,item['上级Id'])}}" />
                <image wx:if="{{superiorIdAttachInfoResponseVoMap[item['上级Id']].businessNameAuthenticationTag}}" src="/assets/images/information/icon_zheng.png"></image>
              </view>

              <view class="date">
                <filter type="parseTime" value="{{item['教育机构'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['教育机构'].dataSourceType==='CONSUMER'? item['教育机构'].dataSourceName +'自填'
                : item['教育机构'].dataSourceName +'添加'}}
              </view>
            </view>
          </view>
          <view class="addBar1" bindtap="handleCreate" data-key="非学历教育" data-index="{{index}}">
            <view class="btn_add"><text>+</text>添加非学历教育</view>
          </view>
        </view>
      </view>
    </view>

    <view class="fun-item">
      <view class="panel" bindtap="handleToggle" data-toggled="{{toggles['职业经历']}}" data-label="{{index}}" data-key="职业经历" data-show="{{isCer}}">
        <view class="left">
          <image class="icon" src="/assets/images/information/icon4.png" />
          <text>职业经历</text>
        </view>
        <view class="right">
          <text wx:if="{{!isCer}}">认证可见</text>
          <image class="{{toggles['职业经历']?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
        </view>
      </view>

      <view class="infoList" wx:if="{{toggles['职业经历']}}">
        <view class="eduList">
          <view wx:if="{{item['时间'].deleteTag?isShowInvalid?true:false:true}}" class="eduItem" wx:for="{{list['职业经历']}}" wx:key="index">
            <view class="eduItemRoute" wx:if="{{item['单位名称'].deleteTag}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
              </view>
              <view style="display:flex;align-items: center;">
                <view class="eduName deleteTag">{{item['单位名称'].dataValue}}</view><text class="deleteTagText">已删除</text>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['单位名称'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['单位名称'].dataSourceType==='CONSUMER'? item['单位名称'].dataSourceName +'自填'
                : item['单位名称'].dataSourceName +'添加'}}
              </view>
            </view>

            <view class="eduItemRoute" wx:else bindtap="handleDetail" data-key="职业经历" data-index="{{index}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" /><text>详情></text>
              </view>
              <view class="eduName">{{item['单位名称'].dataValue}}
                <redDot redDotMark="{{tools.indexOf(redDotMakStr,item['上级Id'])}}" />
                <image wx:if="{{superiorIdAttachInfoResponseVoMap[item['上级Id']].businessNameAuthenticationTag}}" src="/assets/images/information/icon_zheng.png"></image>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['单位名称'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['单位名称'].dataSourceType==='CONSUMER'? item['单位名称'].dataSourceName +'自填'
                : item['单位名称'].dataSourceName +'添加'}}
              </view>
            </view>
          </view>
          <view class="addBar1" bindtap="handleCreate" data-key="职业经历" data-index="{{index}}">
            <view class="btn_add"><text>+</text>添加职业经历</view>
          </view>
        </view>
      </view>
    </view>

    <view class="fun-item">
      <view class="panel" bindtap="handleToggle" data-toggled="{{toggles['社会活动经历']}}" data-label="{{index}}" data-key="社会活动经历" data-show="{{isCer}}">
        <view class="left">
          <image class="icon" src="/assets/images/information/icon5.png" />
          <text>社会活动经历</text>
        </view>
        <view class="right">
          <text wx:if="{{!isCer}}">认证可见</text>
          <image class="{{toggles['社会活动经历']?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
        </view>
      </view>

      <view class="infoList" wx:if="{{toggles['社会活动经历']}}">
        <view class="eduList">
          <view wx:if="{{item['时间'].deleteTag?isShowInvalid?true:false:true}}" class="eduItem" wx:for="{{list['社会活动经历'][0]['事件/活动记录']}}" wx:key="index">
            <!-- <view class="eduItemTimeLine">
              <image class="icon_time" src="/assets/images/information/icon_time.png"></image>
              <filter type="splitDates" value="{{item['时间'].dataValue}}" />
            </view> -->
            <!-- <view class="eduItemRoute" bindtap="handleDetail" data-key="社会活动经历" data-index="{{index}}">
              <view>
                <view class="eduName">{{item['内容'].dataValue}}</view>
                <view class="date">
                  <filter type="parseTime" value="{{item['内容'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                  由{{item['内容'].dataSourceType==='CONSUMER'? item['内容'].dataSourceName +'自填'
                  : item['内容'].dataSourceName +'添加'}}
                </view>
              </view>
              <image class="arrow_right" src="/assets/images/inspected/arrows.png"></image>
            </view> -->

            <!-- <view class="eduItemRoute" wx:if="{{item['内容'].deleteTag}}">
              <view>
                <view style="display:flex;">
                  <view class="eduName deleteTag">{{item['内容'].dataValue}}</view><text class="deleteTagText">已删除</text>
                </view>
                <view class="date">
                  <filter type="parseTime" value="{{item['内容'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                  由{{item['内容'].dataSourceType==='CONSUMER'? item['内容'].dataSourceName +'自填'
                  : item['内容'].dataSourceName +'添加'}}
                </view>
              </view>
            </view> -->
            <view class="eduItemRoute" wx:if="{{item['内容'].deleteTag}}">
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
              </view>
              <view style="display:flex;align-items: center;">
                <view class="eduName deleteTag">{{item['内容'].dataValue}}</view><text class="deleteTagText">已删除</text>
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['内容'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['内容'].dataSourceType==='CONSUMER'? item['内容'].dataSourceName +'自填'
                : item['内容'].dataSourceName +'添加'}}
              </view>
            </view>

            <view class="eduItemRoute" wx:else bindtap="handleDetail" data-key="社会活动经历" data-index="{{index}}">
              <!-- <view> -->
              <view class="eduItemDate">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" /><text>详情></text>
              </view>
              <view class="eduName">{{item['内容'].dataValue}}
                <!-- <redDot method="value" redDotMakStr="{{redDotMakStr}}" redDotMark="{{item['上级Id']}}" /> -->
                <redDot redDotMark="{{tools.indexOf(redDotMakStr,item['上级Id'])}}" />
              </view>
              <view class="date">
                <filter type="parseTime" value="{{item['内容'].createDate}}" params="{{['{y}-{m}-{d}']}}" />
                由{{item['内容'].dataSourceType==='CONSUMER'? item['内容'].dataSourceName +'自填'
                : item['内容'].dataSourceName +'添加'}}
              </view>
            </view>
            <!-- <image class="arrow_right" src="/assets/images/inspected/arrows.png"></image> -->
            <!-- </view> -->

          </view>
          <view class="addBar1" bindtap="handleCreate" data-key="社会活动经历" data-index="{{index}}">
            <view class="btn_add"><text>+</text>添加社会活动经历</view>
          </view>
        </view>
      </view>
    </view>

    <view class="fixed">
      <view class="isShowInvalid" bindtap="handleInvalid">
        <image wx:if="{{isShowInvalid}}" class="icon_invalid" src="/assets/images/information/icon_hide.png"></image>
        <image wx:else class="icon_invalid" src="/assets/images/information/icon_show.png"></image>
        <text>失效数据</text>
      </view>
      <view class="toggleAll" bindtap="toggleAll">全部收起</view>
      <view class="goTop" bindtap="goTop">
        <image class="icon_top" src="/assets/images/information/icon_top.png"></image>
        <text>顶部</text>
      </view>
    </view>
  </view>

  <view class="report-btn" wx:if="{{isCer}}">
    <!-- <btn width="342rpx" height="80rpx" fontSize="28rpx" bindtap="handleGenerateReport">生成个人信息报告</btn> -->
    <view class="reportTip">您可以在<text bindtap="goReport">【信息报告管理】</text>中针对您的个人数据档案勾选全部或部分数据生成不同版本的信息报告，用于个人增信展示或者提供给他人查验。</view>
  </view>
  <guide></guide>
  <!-- dialogStage -->
  <view wx:if="{{dialogStage}}" class="stages-cmp">
    <shadow>
      <view class="stages-box">
        <!-- <image src="/assets/images/message/cancel.png" class="cancel-icon" bind:tap="close" /> -->
        <!-- <image wx:if="{{iconShow}}" src="/assets/images/message/success.png" class="type-icon" />
        <view class="title">{{title}}</view>
        <view class="message">{{message}}</view>
        <view wx:if="{{confirmShow}}" class="confim-btn" bind:tap="confirm">{{confirmText}}</view> -->
        <view class="stages">
          <view class="item" wx:for="{{stages}}" bindtap="handleAddEdu" data-stage="{{item.value}}">{{item.name}}</view>
        </view>
        <view class="cancel-btn" bind:tap="stageCencel">取消</view>
      </view>
    </shadow>
  </view>
</view>