<!--pages/generateReport/generateReport.wxml-->

<view class="generateReport-page">
  <view class="stepList">
    <view class="stepItem" bindtap="handleTabChange" data-index="{{0}}">
      <image class="stepIcon" src="{{'/assets/images/generateReport/baseInfo_active.png'}}">
      </image>
      <text>基础信息</text>
      <!-- <image class="stepIcon" wx:else src="{{'/assets/images/generateReport/baseInfo.png'}}"></image> -->

    </view>
    <view class="stepItem" bindtap="handleTabChange" data-index="{{1}}">
      <image class="stepArrow" src="/assets/images/generateReport/stepArrow.png"></image>
      <image class="stepIcon" wx:if="{{current>=1}}" src="/assets/images/generateReport/eduInfo_active.png"></image>
      <image class="stepIcon" wx:else src="/assets/images/generateReport/eduInfo.png"></image>
      <text>学历教育</text>
    </view>
    <view class="stepItem" bindtap="handleTabChange" data-index="{{2}}">
      <image class="stepArrow" src="/assets/images/generateReport/stepArrow.png"></image>
      <image class="stepIcon" wx:if="{{current>=2}}" src="/assets/images/generateReport/noEduInfo_active.png"></image>
      <image class="stepIcon" wx:else src="/assets/images/generateReport/noEduInfo.png"></image>
      <text>非学历教育</text>
    </view>
    <view class="stepItem" bindtap="handleTabChange" data-index="{{3}}">
      <image class="stepArrow" src="/assets/images/generateReport/stepArrow.png"></image>
      <image class="stepIcon" wx:if="{{current>=3}}" src="/assets/images/generateReport/proInfo_active.png"></image>
      <image class="stepIcon" wx:else src="/assets/images/generateReport/proInfo.png"></image>
      <text>职业经历</text>
    </view>
    <view class="stepItem" bindtap="handleTabChange" data-index="{{4}}">
      <image class="stepArrow" src="/assets/images/generateReport/stepArrow.png"></image>
      <image class="stepIcon" wx:if="{{current===4}}" src="/assets/images/generateReport/socialInfo_active.png">
      </image>
      <image class="stepIcon" wx:else src="/assets/images/generateReport/socialInfo.png"></image>
      <text>社会活动经历</text>
    </view>
  </view>

  <view class="white-box">
    <!-- <checkbox-group bindchange="checkboxChange"> -->
    <view class="stepContent" style="display: {{current===0?'block':'none'}};">

      <view class="valueItem">
        <!-- <checkbox value="{{list['基础信息']['姓名'].dataId}}"
            checked="{{checkList['基础信息']['姓名'][list['基础信息']['姓名'].dataId]}}" bindchange="handleChecked"
            data-checked="{{checkList['基础信息']['姓名'][list['基础信息']['姓名'].dataId]}}" /> -->
        <view class="checkbox {{checkList['基础信息']['姓名'][list['基础信息']['姓名'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['姓名'].dataId}}" data-key1="基础信息" data-key2="姓名">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            姓名
          </view>
          <view class="value">{{list['基础信息']['姓名'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItem">
        <view class="checkbox {{checkList['基础信息']['性别'][list['基础信息']['性别'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['性别'].dataId}}" data-key1="基础信息" data-key2="性别">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            性别
          </view>
          <view class="value">{{list['基础信息']['性别'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItem">
        <view class="checkbox {{checkList['基础信息']['身份证号'][list['基础信息']['身份证号'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['身份证号'].dataId}}" data-key1="基础信息" data-key2="身份证号">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            身份证号
          </view>
          <view class="value">{{list['基础信息']['身份证号'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItem">
        <view class="checkbox {{checkList['基础信息']['出生日期'][list['基础信息']['出生日期'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['出生日期'].dataId}}" data-key1="基础信息" data-key2="出生日期">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            出生日期
          </view>
          <view class="value">{{list['基础信息']['出生日期'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItem" wx:if="{{checkList['基础信息']['民族']}}">
        <view class="checkbox {{checkList['基础信息']['民族'][list['基础信息']['民族'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['民族'].dataId}}" data-key1="基础信息" data-key2="民族">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            民族
          </view>
          <view class="value">{{list['基础信息']['民族'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItem">
        <view class="checkbox {{checkList['基础信息']['身份证注册地'][list['基础信息']['身份证注册地'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['身份证注册地'].dataId}}" data-key1="基础信息" data-key2="身份证注册地">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            身份证注册地
          </view>
          <view class="value">{{list['基础信息']['身份证注册地'].dataValue}}</view>
        </view>
      </view>

      <view class="valueItemList" wx:if="{{checkList['基础信息']['手机号码'].value.length>0}}">
        <view class="valueLabel">
          <view class="checkbox {{checkList['基础信息']['手机号码'].indeterminate?'half':checkList['基础信息']['手机号码'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="基础信息" data-key2="手机号码">
          </view>手机号码
        </view>
        <view class="valueBox">
          <view class="value" wx:for="{{list['基础信息']['手机号码']}}" wx:key="index" wx:if="{{!item['值'].deleteTag}}">
            <view class="checkbox {{checkList['基础信息']['手机号码'].value[index][item['值'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{item['值'].dataId}}" data-key1="基础信息" data-key2="手机号码" data-index="{{index}}">
            </view>
            {{item['值'].dataValue}}
          </view>
        </view>
      </view>

      <view class="valueItemList" wx:if="{{checkList['基础信息']['座机号码'].value.length>0}}">
        <view class="valueLabel">
          <view class="checkbox {{checkList['基础信息']['座机号码'].indeterminate?'half':checkList['基础信息']['座机号码'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="基础信息" data-key2="座机号码">
          </view>座机号码
        </view>
        <view class="valueBox">
          <view class="value" wx:for="{{list['基础信息']['座机号码']}}" wx:key="index" wx:if="{{!item['值'].deleteTag}}">
            <view class="checkbox {{checkList['基础信息']['座机号码'].value[index][item['值'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{item['值'].dataId}}" data-key1="基础信息" data-key2="座机号码" data-index="{{index}}">
            </view>
            {{item['值'].dataValue}}
          </view>
        </view>
      </view>

      <view class="valueItemList" wx:if="{{checkList['基础信息']['通信地址'].value.length>0}}">
        <view class="valueLabel">
          <view class="checkbox {{checkList['基础信息']['通信地址'].indeterminate?'half':checkList['基础信息']['通信地址'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="基础信息" data-key2="通信地址">
          </view>通信地址
        </view>
        <view class="valueBox">
          <view class="value" wx:for="{{list['基础信息']['通信地址']}}" wx:key="index" wx:if="{{!item['值'].deleteTag}}">
            <view class="checkbox {{checkList['基础信息']['通信地址'].value[index][item['值'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{item['值'].dataId}}" data-key1="基础信息" data-key2="通信地址" data-index="{{index}}">
            </view>
            {{item['值'].dataValue}}
          </view>
        </view>
      </view>

      <view class="valueItemList" wx:if="{{checkList['基础信息']['电子邮箱']}}">
        <view class="valueLabel">
          <view class="checkbox {{checkList['基础信息']['电子邮箱'].indeterminate?'half':checkList['基础信息']['电子邮箱'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="基础信息" data-key2="电子邮箱">
          </view>电子邮箱
        </view>
        <view class="valueBox">
          <view class="value" wx:for="{{list['基础信息']['电子邮箱']}}" wx:key="index" wx:if="{{!item['值'].deleteTag}}">
            <view class="checkbox {{checkList['基础信息']['电子邮箱'].value[index][item['值'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{item['值'].dataId}}" data-key1="基础信息" data-key2="电子邮箱" data-index="{{index}}">
            </view>
            {{item['值'].dataValue}}
          </view>
        </view>
      </view>

      <view class="valueItem" wx:if="{{checkList['基础信息']['政治面貌']}}">
        <view class="checkbox {{checkList['基础信息']['政治面貌'][list['基础信息']['政治面貌'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['政治面貌'].dataId}}" data-key1="基础信息" data-key2="政治面貌">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            政治面貌
          </view>
          <view class="value">{{list['基础信息']['政治面貌'].dataValue}}</view>
        </view>
      </view>
      <view class="valueItem" wx:if="{{checkList['基础信息']['婚姻状况']}}">
        <view class="checkbox {{checkList['基础信息']['婚姻状况'][list['基础信息']['婚姻状况'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['基础信息']['婚姻状况'].dataId}}" data-key1="基础信息" data-key2="婚姻状况">
        </view>
        <view class="valueBox">
          <view class="valueLabel">
            婚姻状况
          </view>
          <view class="value">{{list['基础信息']['婚姻状况'].dataValue}}</view>
        </view>
      </view>

    </view>

    <view class="stepContent" style="display: {{current===1?'block':'none'}};">
      <view class="eduList" wx:if="{{checkList['学历教育']}}">
        <view class="eduItem" wx:for="{{list['学历教育']}}" wx:key="index">
          <view class="itemPanel">
            <view class="checkbox {{checkList['学历教育'].value[index].indeterminate?'half':checkList['学历教育'].value[index].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="学历教育" data-ischecked="{{checkList['学历教育'].value[index].checkAll}}" data-index="{{index}}">
            </view>
            <view class="panel">
              <view class="panel_top">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                <view class="arrow" bindtap="handleToggle" data-key="学历教育" data-index="{{index}}">
                  <image bindtap="handleToggle" data-key="学历教育" data-index="{{index}}" class="{{toggles['学历教育'][index]?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
                </view>
                <!-- <image bindtap="handleToggle" data-key="学历教育" data-index="{{index}}"
                  class="{{toggles['学历教育'][index]?'unfold':'fold'}}" src="/assets/images/information/unfold.png" /> -->
              </view>
              <view class="panel_bottom">{{item['教育机构'].dataValue}}</view>
            </view>
          </view>
          <view class="contents" wx:if="{{toggles['学历教育'][index]}}">
            <view class="content">
              <view class="checkbox {{checkList['学历教育'].value[index]['教育机构'][list['学历教育'][index]['教育机构'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['教育机构'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="教育机构">
              </view>
              <view class="valueBox">
                <view class="valueLabel">教育机构</view>
                <view class="value">
                  {{item['教育机构'].dataValue}}
                </view>
              </view>
            </view>
            <view class="content" wx:if="{{item['时间']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['时间'][list['学历教育'][index]['时间'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['时间'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="时间">
              </view>
              <view class="valueBox">
                <view class="valueLabel">时间</view>
                <view class="value">
                  <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['专业名称']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['专业名称'][list['学历教育'][index]['专业名称'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['专业名称'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="专业名称">
              </view>
              <view class="valueBox">
                <view class="valueLabel">专业名称</view>
                <view class="value">
                  {{item['专业名称'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['专业描述']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['专业描述'][list['学历教育'][index]['专业描述'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['专业描述'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="专业描述">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">专业描述</view>
                <view class="valueTextarea">
                  {{item['专业描述'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['专业层次']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['专业层次'][list['学历教育'][index]['专业层次'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['专业层次'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="专业层次">
              </view>
              <view class="valueBox">
                <view class="valueLabel">专业层次</view>
                <view class="value">
                  {{item['专业层次'].dataValue}}
                </view>
              </view>
            </view>

            <!-- <view class="content" wx:if="{{item['专业名称']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['专业编号'][list['学历教育'][index]['专业编号'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['专业编号'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="专业编号">
              </view>
              <view class="valueBox">
                <view class="valueLabel">专业编号</view>
                <view class="value">
                  {{item['专业编号'].dataValue}}
                </view>
              </view>
            </view> -->

            <view class="content" wx:if="{{item['学制']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['学制'][list['学历教育'][index]['学制'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['学制'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="学制">
              </view>
              <view class="valueBox">
                <view class="valueLabel">学制</view>
                <view class="value">
                  {{item['学制'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['是否全日制']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['是否全日制'][list['学历教育'][index]['是否全日制'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['是否全日制'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="是否全日制">
              </view>
              <view class="valueBox">
                <view class="valueLabel">是否全日制</view>
                <view class="value">
                  {{item['是否全日制'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['班期']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['班期'][list['学历教育'][index]['班期'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['班期'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="班期">
              </view>
              <view class="valueBox">
                <view class="valueLabel">班期</view>
                <view class="value">
                  {{item['班期'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['教育结果']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['教育结果'][list['学历教育'][index]['教育结果'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['教育结果'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="教育结果">
              </view>
              <view class="valueBox">
                <view class="valueLabel">教育结果</view>
                <view class="value">
                  {{item['教育结果'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['附件']}}">
              <view class="checkbox {{checkList['学历教育'].value[index]['附件'][list['学历教育'][index]['附件'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['学历教育'][index]['附件'].dataId}}" data-key1="学历教育" data-index="{{index}}" data-key2="附件">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">附件</view>
                <view class="fileList">
                  <view class="fileItem" wx:for="{{item['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" bindtap="previewImg" data-url="{{item.url}}">
                    <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                    {{item.name}}
                  </view>
                </view>
              </view>
            </view>

            <view class="eventList" wx:if="{{item['事件/活动记录']}}">
              <view class="eventTitle">
                <view class="checkbox {{checkList['学历教育'].value[index]['事件/活动记录'].indeterminate?'half':checkList['学历教育'].value[index]['事件/活动记录'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-index="{{index}}" data-key1="学历教育" data-key2="事件/活动记录">
                </view>事件/活动记录
              </view>
              <view class="eventItem" wx:for="{{list['学历教育'][index]['事件/活动记录']}}" wx:key="eIndex" wx:for-index="eIndex" wx:for-item="eItem">
                <view class="checkbox {{checkList['学历教育'].value[index]['事件/活动记录'].value[eIndex][checkList['学历教育'].value[index]['事件/活动记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="学历教育" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{(eItem['附件']?eItem['附件'].dataId+(eItem['时间']?','+eItem['时间'].dataId+(eItem['内容']?','+eItem['内容'].dataId:''):''):'')}}" data-key2="事件/活动记录"></view>
                <view class="eventBox">
                  <view class="eventDate">
                    <filter type="splitDates" value="{{eItem['时间'].dataValue}}" />
                  </view>
                  <view class="eventContent">{{eItem['内容'].dataValue}}</view>
                  <view class="fileList">
                    <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{eItem['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                      <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                      {{fItem.name}}
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="noData" wx:else>
        <image src="/assets/images/generateReport/noData.png"></image>
        <text>暂无相关信息...</text>
      </view>
    </view>

    <view class="stepContent" style="display: {{current===2?'block':'none'}};">
      <view class="eduList" wx:if="{{checkList['非学历教育']}}">
        <view class="eduItem" wx:for="{{list['非学历教育']}}" wx:key="index">
          <view class="itemPanel">
            <view class="checkbox {{checkList['非学历教育'].value[index].indeterminate?'half':checkList['非学历教育'].value[index].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="非学历教育" data-ischecked="{{checkList['非学历教育'].value[index].checkAll}}" data-index="{{index}}">
            </view>
            <view class="panel">
              <view class="panel_top">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                <view class="arrow" bindtap="handleToggle" data-key="非学历教育" data-index="{{index}}">
                  <image bindtap="handleToggle" data-key="非学历教育" data-index="{{index}}" class="{{toggles['非学历教育'][index]?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
                </view>
              </view>
              <view class="panel_bottom">{{item['教育机构'].dataValue}}</view>
            </view>
          </view>
          <view class="contents" wx:if="{{toggles['非学历教育'][index]}}">
            <view class="content" wx:if="{{item['教育机构']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['教育机构'][list['非学历教育'][index]['教育机构'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['教育机构'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="教育机构">
              </view>
              <view class="valueBox">
                <view class="valueLabel">教育机构</view>
                <view class="value">
                  {{item['教育机构'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['机构描述']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['机构描述'][list['非学历教育'][index]['机构描述'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['机构描述'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="机构描述">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">机构描述</view>
                <view class="valueTextarea">
                  {{item['机构描述'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['时间']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['时间'][list['非学历教育'][index]['时间'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['时间'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="时间">
              </view>
              <view class="valueBox">
                <view class="valueLabel">时间</view>
                <view class="value">
                  <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['教育产品']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['教育产品'][list['非学历教育'][index]['教育产品'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['教育产品'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="教育产品">
              </view>
              <view class="valueBox">
                <view class="valueLabel">教育产品</view>
                <view class="value">
                  {{item['教育产品'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['产品描述']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['产品描述'][list['非学历教育'][index]['产品描述'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['产品描述'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="产品描述">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">产品描述</view>
                <view class="valueTextarea">
                  {{item['产品描述'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['班期']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['班期'][list['非学历教育'][index]['班期'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['班期'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="班期">
              </view>
              <view class="valueBox">
                <view class="valueLabel">班期</view>
                <view class="value">
                  {{item['班期'].dataValue}}
                </view>
              </view>
            </view>

            <!-- <view class="content">
              <view class="checkbox {{checkList['非学历教育'].value[index]['产品编号'][list['非学历教育'][index]['产品编号'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['产品编号'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="产品编号">
              </view>
              <view class="valueBox">
                <view class="valueLabel">产品编号</view>
                <view class="value">
                  {{item['产品编号'].dataValue}}
                </view>
              </view>
            </view> -->

            <view class="content" wx:if="{{item['教育结果']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['教育结果'][list['非学历教育'][index]['教育结果'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['教育结果'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="教育结果">
              </view>
              <view class="valueBox">
                <view class="valueLabel">教育结果</view>
                <view class="value">
                  {{item['教育结果'].dataValue}}
                </view>
              </view>
            </view>
            
            <view class="content" wx:if="{{item['附件']}}">
              <view class="checkbox {{checkList['非学历教育'].value[index]['附件'][list['非学历教育'][index]['附件'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['非学历教育'][index]['附件'].dataId}}" data-key1="非学历教育" data-index="{{index}}" data-key2="附件">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">附件</view>
                <view class="fileList">
                  <view class="fileItem" bindtap="previewImg" data-url="{{item.url}}" wx:for="{{item['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex">
                    <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                    {{item.name}}
                  </view>
                </view>
              </view>
            </view>

            <view class="eventList" wx:if="{{item['事件/活动记录']}}">
              <view class="eventTitle">
                <view class="checkbox {{checkList['非学历教育'].value[index]['事件/活动记录'].indeterminate?'half':checkList['非学历教育'].value[index]['事件/活动记录'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-index="{{index}}" data-key1="非学历教育" data-key2="事件/活动记录">
                </view>事件/活动记录
              </view>
              <view class="eventItem" wx:for="{{list['非学历教育'][index]['事件/活动记录']}}" wx:key="eIndex" wx:for-index="eIndex" wx:for-item="eItem">
                <view class="checkbox {{checkList['非学历教育'].value[index]['事件/活动记录'].value[eIndex][checkList['非学历教育'].value[index]['事件/活动记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="非学历教育" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{(eItem['附件']?eItem['附件'].dataId+(eItem['时间']?','+eItem['时间'].dataId+(eItem['内容']?','+eItem['内容'].dataId:''):''):'')}}" data-key2="事件/活动记录"></view>
                <view class="eventBox">
                  <view class="eventDate">
                    <filter type="splitDates" value="{{eItem['时间'].dataValue}}" />
                  </view>
                  <view class="eventContent">{{eItem['内容'].dataValue}}</view>
                  <view class="fileList">
                    <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{eItem['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                      <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                      {{fItem.name}}
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="noData" wx:else>
        <image src="/assets/images/generateReport/noData.png"></image>
        <text>暂无相关信息...</text>
      </view>

    </view>

    <view class="stepContent" style="display: {{current===3?'block':'none'}};">
      <view class="eduList" wx:if="{{checkList['职业经历']}}">
        <view class="eduItem" wx:for="{{list['职业经历']}}" wx:key="index">
          <view class="itemPanel">
            <view class="checkbox {{checkList['职业经历'].value[index].indeterminate?'half':checkList['职业经历'].value[index].checkAll&&'checked'}}" bindtap="handleCheckAll" data-key1="职业经历" data-ischecked="{{checkList['职业经历'].value[index].checkAll}}" data-index="{{index}}">
            </view>
            <view class="panel">
              <view class="panel_top">
                <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                <view class="arrow" bindtap="handleToggle" data-key="职业经历" data-index="{{index}}">
                  <image bindtap="handleToggle" data-key="职业经历" data-index="{{index}}" class="{{toggles['职业经历'][index]?'unfold':'fold'}}" src="/assets/images/information/unfold.png" />
                </view>
                <!-- <image bindtap="handleToggle" data-key="职业经历" data-index="{{index}}"
                  class="{{toggles['职业经历'][index]?'unfold':'fold'}}" src="/assets/images/information/unfold.png" /> -->
              </view>
              <view class="panel_bottom">{{item['单位名称'].dataValue}}</view>
            </view>
          </view>
          <view class="contents" wx:if="{{toggles['职业经历'][index]}}">
            <view class="content" wx:if="{{item['时间']}}">
              <view class="checkbox {{checkList['职业经历'].value[index]['时间'][list['职业经历'][index]['时间'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['职业经历'][index]['时间'].dataId}}" data-key1="职业经历" data-index="{{index}}" data-key2="时间">
              </view>
              <view class="valueBox">
                <view class="valueLabel">时间</view>
                <view class="value">
                  <filter type="splitDates" value="{{item['时间'].dataValue}}" />
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['单位名称']}}">
              <view class="checkbox {{checkList['职业经历'].value[index]['单位名称'][list['职业经历'][index]['单位名称'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['职业经历'][index]['单位名称'].dataId}}" data-key1="职业经历" data-index="{{index}}" data-key2="单位名称">
              </view>
              <view class="valueBox">
                <view class="valueLabel">单位名称</view>
                <view class="value">
                  {{item['单位名称'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['单位介绍']}}">
              <view class="checkbox {{checkList['职业经历'].value[index]['单位介绍'][list['职业经历'][index]['单位介绍'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['职业经历'][index]['单位介绍'].dataId}}" data-key1="职业经历" data-index="{{index}}" data-key2="单位介绍">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">单位介绍</view>
                <view class="valueTextarea">
                  {{item['单位介绍'].dataValue}}
                </view>
              </view>
            </view>

            <view class="content" wx:if="{{item['附件']}}">
              <view class="checkbox {{checkList['职业经历'].value[index]['附件'][list['职业经历'][index]['附件'].dataId]&&'checked'}}" bindtap="handleChecked" data-dataid="{{list['职业经历'][index]['附件'].dataId}}" data-key1="职业经历" data-index="{{index}}" data-key2="附件">
              </view>
              <view class="valueBox column">
                <view class="valueLabel">附件</view>
                <view class="fileList">
                  <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{item['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                    <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                    {{fItem.name}}
                  </view>
                </view>
              </view>
            </view>

            <view class="eventList" wx:if="{{item['岗位记录']}}">
              <view class="eventTitle">
                <view class="checkbox {{checkList['职业经历'].value[index]['岗位记录'].indeterminate?'half':checkList['职业经历'].value[index]['岗位记录'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-index="{{index}}" data-key1="职业经历" data-key2="岗位记录">
                </view>岗位记录
              </view>
              <view class="eventItem" wx:for="{{list['职业经历'][index]['岗位记录']}}" wx:key="eIndex" wx:for-index="eIndex" wx:for-item="eItem">
                <!-- <view class="checkbox {{checkList['职业经历'].value[index]['岗位记录'].indeterminate?'half':checkList['职业经历'].value[index]['岗位记录'].value[eIndex][checkList['职业经历'].value[index]['岗位记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="职业经历" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{(eItem['附件']?eItem['附件'].dataId+(eItem['时间']?','+eItem['时间'].dataId+(eItem['内容']?','+eItem['内容'].dataId:''):''):'')}}" data-key2="岗位记录"></view> -->
                <view class="checkbox {{checkList['职业经历'].value[index]['岗位记录'].value[eIndex][checkList['职业经历'].value[index]['岗位记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="职业经历" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{checkList['职业经历'].value[index]['岗位记录'].keys[eIndex]}}" data-key2="岗位记录"></view>
                <view class="eventBox">
                  <view class="eventDate">
                    <filter type="splitDates" value="{{eItem['时间'].dataValue}}" />
                  </view>
                  <view class="eventContent">{{eItem['内容'].dataValue}}</view>
                  <view class="eventContent">{{eItem['岗位名称'].dataValue}}</view>
                  <view class="fileList">
                    <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{eItem['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                      <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                      {{fItem.name}}
                    </view>
                  </view>
                </view>
              </view>
            </view>

            <view class="eventList" wx:if="{{item['事件/活动记录']}}">
              <view class="eventTitle">
                <view class="checkbox {{checkList['职业经历'].value[index]['事件/活动记录'].indeterminate?'half':checkList['职业经历'].value[index]['事件/活动记录'].checkAll&&'checked'}}" bindtap="handleCheckAll" data-index="{{index}}" data-key1="职业经历" data-key2="事件/活动记录">
                </view>事件/活动记录
              </view>
              <view class="eventItem" wx:for="{{list['职业经历'][index]['事件/活动记录']}}" wx:key="eIndex" wx:for-index="eIndex" wx:for-item="eItem">
                <!-- <view class="checkbox {{checkList['职业经历'].value[index]['事件/活动记录'].value[eIndex][checkList['职业经历'].value[index]['事件/活动记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="职业经历" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{(eItem['附件']?eItem['附件'].dataId+(eItem['时间']?','+eItem['时间'].dataId+(eItem['内容']?','+eItem['内容'].dataId:''):''):'')}}" data-key2="事件/活动记录"></view> -->
                <view class="checkbox {{checkList['职业经历'].value[index]['事件/活动记录'].value[eIndex][checkList['职业经历'].value[index]['事件/活动记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="职业经历" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{checkList['职业经历'].value[index]['事件/活动记录'].keys[eIndex]}}" data-key2="事件/活动记录"></view>
                <view class="eventBox">
                  <view class="eventDate">
                    <filter type="splitDates" value="{{eItem['时间'].dataValue}}" />
                  </view>
                  <view class="eventContent">{{eItem['内容'].dataValue}}</view>
                  <view class="fileList">
                    <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{eItem['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                      <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                      {{fItem.name}}
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="noData" wx:else>
        <image src="/assets/images/generateReport/noData.png"></image>
        <text>暂无相关信息...</text>
      </view>
    </view>

    <view class="stepContent" style="display: {{current===4?'block':'none'}};">
      <view class="eduList" wx:if="{{checkList['社会活动经历']}}">
        <view class="eduItem" wx:for="{{list['社会活动经历']}}" wx:key="index">
          <view class="contents">
            <view class="eventList" wx:if="{{item['事件/活动记录']}}">
              <view class="eventItem" wx:for="{{list['社会活动经历'][index]['事件/活动记录']}}" wx:key="eIndex" wx:for-index="eIndex" wx:for-item="eItem">
                <view class="checkbox {{checkList['社会活动经历'].value[index]['事件/活动记录'].value[eIndex][checkList['社会活动经历'].value[index]['事件/活动记录'].keys[eIndex]]&&'checked'}}" bindtap="handleChecked" data-key1="社会活动经历" data-index="{{index}}" data-eindex="{{eIndex}}" data-dataid="{{(eItem['附件']?eItem['附件'].dataId+(eItem['时间']?','+eItem['时间'].dataId+(eItem['内容']?','+eItem['内容'].dataId:''):''):'')}}" data-key2="事件/活动记录"></view>
                <view class="eventBox">
                  <view class="eventDate" wx:if="{{eItem['时间']}}">
                    <filter type="splitDates" value="{{eItem['时间'].dataValue}}" />
                  </view>
                  <view class="eventContent" wx:if="{{eItem['内容']}}">{{eItem['内容'].dataValue}}</view>
                  <view class="fileList" wx:if="{{eItem['附件']}}">
                    <view class="fileItem" bindtap="previewImg" data-url="{{fItem.url}}" wx:for="{{eItem['附件'].dataValue}}" wx:key="fIndex" wx:for-index="fIndex" wx:for-item="fItem">
                      <image class="icon_img" src="/assets/images/information/icon_img.png"></image>
                      {{fItem.name}}
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="noData" wx:else>
        <image src="/assets/images/generateReport/noData.png"></image>
        <text>暂无相关信息...</text>
      </view>
    </view>
    <!-- </checkbox-group> -->
  </view>
  <view class="btn_next">
    <!-- <view> -->
    <view class="selectAllBox">
      <view class="checkbox {{checkList[pageMap[current]].checkAll&&'checked'}}" bindtap="handleCurrentPageCheckAll" data-key1="{{pageMap[current]}}">
      </view><text>本页全选</text>
    </view>
    <!-- <text class="curAllCheck">本页全选</text> -->
    <!-- </view> -->


    <btn wx:if="{{current<4}}" width="310rpx" height="82rpx" bindtap="nextStep">下一步选择{{pageMap[current+1]}}</btn>
    <view wx:else class="complate">
      <text class="preview" bindtap="preview" bindtap="previewReport">预览</text>
      <btn width="310rpx" height="82rpx" bindtap="complate">勾选完毕，生成报告</btn>
    </view>
  </view>
</view>