<template>
  <div>
    <p style="line-height:33pt; margin:0pt; orphans:0; text-align:center; widows:0">
      <span v-if="localFormData.listAllYear.length > 0" style="font-family:方正小标宋简体; font-size:20pt">{{ localFormData.listAllYear[0].stuYearName }}</span>
      <span style="font-family:方正小标宋简体; font-size:20pt">国家</span><span
        style="font-family:方正小标宋简体; font-size:20pt"
      >励志</span><span
        style="font-family:方正小标宋简体; font-size:20pt"
      >奖学金申请审批表</span>
    </p>
    <div style="text-align:center">
      <table cellspacing="0" cellpadding="0" style="border-collapse:collapse; margin:0 auto; width:469.55pt">
        <tr style="height:25.75pt">
          <td rowspan="6"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:25.5pt"
          >
            <p style="line-height:12pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >本人情况</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:57.25pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >姓名</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:58.95pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.stuName }}</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:30.55pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >性别</span></p>
          </td>
          <td colspan="3"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:33.95pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.gender }}</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:64.15pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >出生年月</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.birthMonth }}</span></p>
          </td>
          <td colspan="2" rowspan="5"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:77.35pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0">
              <img style="width: 125px;height: 175px;" :src="baseurl + localFormData.pic">
            </p>
          </td>
        </tr>
        <tr style="height:25.95pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:57.25pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >民族</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:58.95pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.mz }} </span>
            </p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:30.55pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >政治面貌</span></p>
          </td>
          <td colspan="3"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:33.95pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.zzmm }} </span>
            </p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:64.15pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >入学时间</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >
              <input v-model="localFormData.inTime" style="width: 80px;" type="text"
                     class="underline-input" placeholder="请输入入学年月"
              >
            </span></p>
          </td>
        </tr>
        <tr style="height:16.95pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:57.25pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >学号</span></p>
          </td>
          <td colspan="7"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:134.85pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.stuNo }} </span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:64.15pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >所在年级</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.gradeName }} </span></p>
          </td>
        </tr>
        <tr style="height:25.95pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:57.25pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >身份证</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >号码</span></p>
          </td>
          <td colspan="7"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:134.85pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.idCard }} </span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:64.15pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >联系电话</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.stuPhone }} </span></p>
          </td>
        </tr>
        <tr style="height:16.95pt">
          <td colspan="10"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:348.85pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >广西水利电力职业技术学院</span><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.deptName }}
              {{ localFormData.majorName }}专业 {{ localFormData.className }}</span>
            </p>
          </td>
        </tr>
        <tr style="height:29.95pt">
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:71.9pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >曾获何种</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >奖励</span></p>
          </td>
          <td colspan="10"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:354.3pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0">
              <span style="font-family:仿宋; font-size:12pt">
                <el-input v-model="localFormData.helpHis" type="textarea" placeholder="请输入奖励" />
              </span>
            </p>
          </td>
        </tr>
        <tr style="height:25.95pt">
          <td rowspan="3"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:25.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >家庭经济情况</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:71.9pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >家庭人口</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >总数</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:53.2pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.rkzs }}</span>
            </p>
          </td>
          <td colspan="4"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:61.3pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >家庭月</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >总收入</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:64.15pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.jtysr }}</span>
            </p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:76.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >人均月收入</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:76.45pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.rjysr }}</span>
            </p>
          </td>
        </tr>
        <tr style="height:26.35pt">
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:71.9pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >困难</span><span
              style="font-family:仿宋; font-size:12pt"
            >类型</span></p>
          </td>
          <td colspan="7"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:190.05pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0">

              <span v-if="localFormData.hardType == '特别困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☑</span>
              <span v-if="localFormData.hardType != '特别困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☐</span>
              <span
                style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >特别困难</span>

              <span v-if="localFormData.hardType == '比较困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☑</span>
              <span v-if="localFormData.hardType != '比较困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☐</span>
              <span
                style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >比较困难</span>


              <span v-if="localFormData.hardType == '一般困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☑</span>
              <span v-if="localFormData.hardType != '一般困难'"
                    style="font-family:'Wingdings 2'; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >☐</span>
              <span
                style="font-family:宋体; font-size:12pt; font-style:normal; font-weight:normal; text-transform:none"
              >一般困难</span>


            </p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >收入来源</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:77.35pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            ><el-input v-model="localFormData.moneySrc" /></span>
            </p>
          </td>
        </tr>
        <tr style="height:16.95pt">
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:71.9pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >家庭住址</span></p>
          </td>
          <td colspan="7"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:190.05pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.homeAddr }}</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:75.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >邮政编码</span></p>
          </td>
          <td colspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:77.35pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >{{ localFormData.postCode }}</span></p>
          </td>
        </tr>
        <tr style="height:16.95pt">
          <td rowspan="2"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:25.5pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >学习成绩</span></p>
          </td>
          <td colspan="8"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:197.8pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
                                                                                               style="font-family:仿宋; font-size:12pt"
                                                                                             >成绩排名</span><span
                                                                                               style="font-family:仿宋; font-size:12pt"
                                                                                             >(</span><span
                style="font-family:仿宋; font-size:12pt"
              >专业</span><span
                style="font-family:仿宋; font-size:12pt"
              >)</span><span
                style="font-family:仿宋; font-size:12pt"
              >:</span><span
                style="font-family:仿宋; font-size:12pt; "
              >
                <input v-model="localFormData.majorRank" style="width: 60px;" type="text"
                       class="underline-input" placeholder="请输入名次"
                >
                /
                <input v-model="localFormData.majorNum" style="width: 80px;" type="text"
                       class="underline-input" placeholder="请输入总人数"
                >
              </span>
              <span style="font-family:仿宋; font-size:12pt">(名次/总人数)</span>
            </p>
          </td>
          <td colspan="4"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:228.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >实行综合考评排名:
              <el-radio-group v-model="localFormData.isCph">
                <el-radio :label="'是'">是</el-radio>
                <el-radio :label="'否'">否</el-radio>
              </el-radio-group>
            </span>
            </p>
          </td>
        </tr>
        <tr style="height:16.95pt">
          <td colspan="8"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:197.8pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >必修课
              <input v-model="localFormData.bxk" style="width: 100px;" type="text" class="underline-input"
                     placeholder="请输入必修课门数"
              >
              门，其中及格以上<input v-model="localFormData.jg" style="width: 110px;" type="text"
                             class="underline-input" placeholder="请输入及格以上门数"
              >
              门</span></p>
          </td>
          <td colspan="4"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding:1.02pt 2.48pt; vertical-align:middle; width:228.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >如是,排名</span><span
              style="font-family:仿宋; font-size:12pt"
            >(</span><span
              style="font-family:仿宋; font-size:12pt"
            >班级</span><span
              style="font-family:仿宋; font-size:12pt"
            >)</span><span
              style="font-family:仿宋; font-size:12pt"
            >:</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span
              style="font-family:仿宋; font-size:12pt;"
            >
              <input v-model="localFormData.classRank" style="width: 60px;" type="text"
                     class="underline-input" placeholder="请输入名次"
              >
              /
              <input v-model="localFormData.classNum" style="width: 80px;" type="text"
                     class="underline-input" placeholder="请输入总人数"
              >
            </span><span style="font-family:仿宋; font-size:12pt">(名次/总人数)</span></p>
          </td>
        </tr>
        <tr style="height:109.55pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:20.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >申请理由</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >(100-150)</span></p>
          </td>
          <td colspan="12"
              style="position: relative; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:426.8pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >
              <el-input v-model="localFormData.applyReason" type="textarea" :rows="5" 
                        style="margin-top: 10px;" 
                        :input-style="{textIndent: '2em', paddingTop: '8px', fontFamily: '仿宋', fontSize: '12pt'}"
              />
            </span></p>
            <p
              style="position: absolute;bottom: 0;right:0; line-height:15pt; margin:0pt; text-align:right; widows:0"
            >
              <span style="font-family:仿宋; font-size:12pt">申请人签名：
                <el-upload style="display: inline;" :before-upload="boolImg"
                           accept="image/jpg,image/jpeg,image/png,image/bmp" :limit="1" class="avatar-uploader"
                           :action="upload.url" :headers="upload.headers" :show-file-list="false"
                           :file-list="upload.fileList" :on-success="handleAvatarSuccess"
                >
                  <img v-if="localFormData.applySign" :src="baseurl + localFormData.applySign" width="200px"
                       height="50px" class="avatar"
                  >
                  <span v-else> 点击上传</span>
                </el-upload>
                {{ dayjs().format("YYYY年M月D日") }}
              </span>
            </p>
          </td>
        </tr>
        <tr style="height:68.65pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:20.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >班级评议意见</span></p>
          </td>
          <td colspan="6"
              style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:250pt"
          >
            <!-- <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
                                style="font-family:仿宋; font-size:12pt">&#xa0;</span></p>
                        <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
                                style="font-family:仿宋; font-size:12pt">&#xa0;</span></p>
                        <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
                                style="font-family:仿宋; font-size:12pt">&#xa0;</span></p>
                        <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
                                style="font-family:仿宋; font-size:12pt">&#xa0;</span></p> -->
            <p style="line-height:15pt; margin:10pt 0pt 0pt; orphans:0; text-align:left; text-indent:2em; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >该同学符合申请条件，同意推荐该同学申请国家励志奖学金。</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >辅导员（签名):</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >年</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >月</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >日</span></p>
          </td>
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:24.65pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >院系审核意见</span></p>
          </td>
          <td colspan="5"
              style="position: relative; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:top; width:180pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >&#xa0;</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >&#xa0;</span></p>
            <p style="line-height:15pt; margin:10pt 0pt 0pt; orphans:0; text-align:left; text-indent:2em; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >同意推荐</span><span
              style="font-family:仿宋; font-size:12pt"
            >该同学</span><span
              style="font-family:仿宋; font-size:12pt"
            >申请</span><span
              style="font-family:仿宋; font-size:12pt"
            >国家</span><span
              style="font-family:仿宋; font-size:12pt"
            >励志</span><span
              style="font-family:仿宋; font-size:12pt"
            >奖学金。</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >&#xa0;</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >&#xa0;</span></p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >(公章) </span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >年</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >月</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >日</span></p>
          </td>
        </tr>
        <tr style="height:94.9pt">
          <td
            style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:20.4pt"
          >
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            >学校审核意见</span></p>
          </td>
          <td colspan="12"
              style="position: relative; border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:426.8pt"
          >
            <p
              style="line-height:25pt; margin:16.2pt 0pt 8.1pt; orphans:0; text-align:justify; text-indent:21pt; widows:0"
            >
              <span style="font-family:仿宋; font-size:12pt">经评议</span><span
                style="font-family:仿宋; font-size:12pt; text-decoration:underline"
              >并在校内公示</span><span
                style="font-family:仿宋; font-size:12pt;"
              >5</span><span
                style="font-family:仿宋; font-size:12pt"
              >个工作日，无异议，现报请批准该同学获得国家</span><span
                style="font-family:仿宋; font-size:12pt"
              >励志</span><span
                style="font-family:仿宋; font-size:12pt"
              >奖学金。</span>
            </p>
            <p style="line-height:15pt; margin:0pt; orphans:0; text-align:center; widows:0"><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >(公章)</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >年</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >月</span><span
              style="font-family:仿宋; font-size:12pt"
            /><span
              style="font-family:仿宋; font-size:12pt"
            >日</span></p>
          </td>
        </tr>
        <tr style="height:0pt">
          <td style="width:31.2pt; border:none" />
          <td style="width:62.95pt; border:none" />
          <td style="width:14.65pt; border:none" />
          <td style="width:50pt; border:none" />
          <td style="width:8.9pt; border:none" />
          <td style="width:27.35pt; border:none" />
          <td style="width:4.1pt; border:none" />
          <td style="width:35.45pt; border:none" />
          <td style="width:0.1pt; border:none" />
          <td style="width:69.85pt; border:none" />
          <td style="width:81.2pt; border:none" />
          <td style="width:0.9pt; border:none" />
          <td style="width:82.15pt; border:none" />
        </tr>
      </table>
    </div>
    <div style="margin: 0 auto;width: fit-content;">
      证明材料(1、个人上学年成绩单；2、辅导员签字的综测排名截图)
      <FileUpload v-model="localFormData.hardFile" />
      <el-button style="display: block;margin: 0 auto;width: fit-content;" type="success" plain
                 @click="saveForm"
      >{{ isEdit ? '保存修改' : '提交申请' }}</el-button>
    </div>
  </div>
</template>
<script>
import { getOwnSign } from '@/api/workstudy/post'
import { getOwnInfo, getOwnExtraInfo, getOwnKnrd } from '@/api/comprehensive/knzzTufaApply'
import { doApply } from '@/api/comprehensive/knzzGlApply'
import { boolImg, CheckImgExists, isEmpty, fullLoading } from '@/api/helpFunc'
import { getTokenKeySessionStorage as getToken } from '@/utils/auth'
import dayjs from 'dayjs'
import { listAllYear,getYearByTag } from '@/api/stuCQS/basedata/year'

export default {
    name: 'GlApply',
    props: {
        formData: {
            type: Object,
            default: () => ({})
        },
        isEdit: {
            type: Boolean,
            default: false
        }
    },
    data() {
        return {
            dayjs,
            boolImg,
            localFormData: {
                stuNo: null,
                stuName: null,
                gender: null,
                birthMonth: null,
                mz: null,
                zzmm: null,
                inTime: null,
                gradeName: null,
                idCard: null,
                stuPhone: null,
                deptName: null,
                majorName: null,
                className: null,
                pic: null,
                helpHis: null,
                hardType: null,
                moneySrc: null,
                homeAddr: null,
                postCode: null,
                majorRank: null,
                majorNum: null,
                isCph: null,
                bxk: null,
                jg: null,
                classRank: null,
                classNum: null,
                applyReason: null,
                applySign: null,
                applyDate: null,
                rkzs:null,
                jtnsr:null,
                jtysr:null,
                rjysr:null,
                familyNum:null,
                monthMoney:null,
                perMoney:null,
                listAllYear:[],
            },
            upload: {
                headers: { Authorization: 'Bearer ' + getToken() },
                url: process.env.VUE_APP_BASE_API + '/common/upload',
                fileList: []
            },
            baseurl: process.env.VUE_APP_BASE_API + '',

        }
    },
    created() {
        if (this.isEdit && this.formData) {
            // 编辑模式，使用传入的数据
            this.localFormData = { ...this.formData }
        } else {
            // 新建模式，获取用户信息
            this.getOwnSign()
            this.getOwnKnrd()
            this.getOwnInfo()
            this.getOwnExtraInfo()
        }
    },
    methods: {
        async doApply() {
            let sdata = { ...this.localFormData }
            console.log(sdata)
            if (isEmpty(sdata.inTime)) {
                this.$message.info('请填写入学时间')
                return
            }
            if (isEmpty(sdata.helpHis)) {
                this.$message.info('请填写曾获奖项，没有写无')
                return
            }
            if (isEmpty(sdata.moneySrc)) {
                this.$message.info('请填写收入来源')
                return
            }
            if (isEmpty(sdata.majorRank)) {
                this.$message.info('请填写专业排名')
                return
            }
            if (isEmpty(sdata.majorNum)) {
                this.$message.info('请填写专业人数')
                return
            }
            if (isEmpty(sdata.bxk)) {
                this.$message.info('请填写必修课门数')
                return
            }
            if (isEmpty(sdata.jg)) {
                this.$message.info('请填写及格门数')
                return
            }

            if (isEmpty(sdata.applyReason)) {
                this.$message.info('请填写申请理由')
                return
            }

            if (sdata.applyReason.length < 100 || sdata.applyReason.length > 150) {
                this.$message.info('申请理由字数需在100-150字之间')
                return
            }


            if (isEmpty(sdata.hardFile)) {
                this.$message.info('请上传证明材料')
                return
            }

            let loading = fullLoading(this)
            let res = await doApply(sdata)
            loading.close()
            if (res.code == 200) {
                this.$message.success('提交成功,请关闭页面查看')
            }
        },
        handleAvatarSuccess(response, file, fileList) {
            this.localFormData.applySign = response.fileName
            this.upload.fileList = []
            this.$forceUpdate()
        },
        async getOwnSign() {
            let res = await getOwnSign()
            if (res.code == 200) {
                let data = { ...res.data }
                if (isEmpty(data.signature)) {
                    this.$confirm('您的签名尚未上传', '提示', {
                        confirmButtonText: '点我前往',
                        cancelButtonText: '取消',
                        type: 'warning'
                    }).then(() => {
                        this.$router.push('/user/profile')
                    }).catch(() => {

                    })
                } else {
                    this.localFormData.applySign = data.signature
                }
            }
        },
        async getOwnKnrd() {
            let res = await getOwnKnrd()
            /* const response = await listAllYear() */

            /* 此处使用硬编码，请根据实际情况修改。
        当前页面的功能是获取'国家励志奖学金---NLZJ'标签对应的学年信息。
        涉及到学年标签字典module_tag，需要在字典管理中查询对应的信息。
        如果在字典管理更改了 学年标签 的信息，此处也要进行相应修改。
        尽量避免学年标签字典的更改!!!! */

            const response = await getYearByTag('NLZJ')
            if (res.code == 200) {
                let data = { ...res.data }
                let knrd = data.xsqmyj
                this.localFormData.listAllYear = response.data
                this.localFormData.rkzs = data.rkzs
                this.localFormData.familyNum = data.rkzs
                this.localFormData.jtysr = parseFloat((data.jtnsr / 12).toFixed(2))
                this.localFormData.monthMoney = parseFloat((data.jtnsr / 12).toFixed(2))
                this.localFormData.rjysr = parseFloat((this.localFormData.jtysr / Number(this.localFormData.rkzs)).toFixed(2))
                this.localFormData.perMoney = parseFloat((this.localFormData.jtysr / Number(this.localFormData.rkzs)).toFixed(2))
                switch (knrd) {
                    case '1':
                        this.localFormData.hardType = '特别困难'
                        break
                    case '2':
                        this.localFormData.hardType = '比较困难'
                        break
                    case '3':
                        this.localFormData.hardType = '一般困难'
                        break
                }
            } else {
                this.$confirm('您还没有通过困难认定', '提示', {
                    confirmButtonText: '点我前往',
                    cancelButtonText: '好的',
                    type: 'warning'
                }).then(() => {
                    this.$router.push('/hard/pks/stu')
                }).catch(() => {
                    this.$router.push('/hard/pks/stu')
                })
            }
            
        },
        async getOwnExtraInfo() {
            let loading = fullLoading(this)
            let res = await getOwnExtraInfo()
            loading.close()
            if (res.code == 200) {
                let data = { ...res.data }
                console.log(574, data)

                this.localFormData.pic = data.whitePhoto
                this.localFormData.zzmm = data.zzmm
                this.localFormData.mz = data.mz
                this.localFormData.jthk = data.hkxz
                this.localFormData.homeAddr = data.xjtdz
                this.localFormData.postCode = data.jtyzbm
            }
        },
        async getOwnInfo() {
            let loading = fullLoading(this)
            let res = await getOwnInfo()
            loading.close()
            if (res.code == 200) {
                let data = { ...res.data }
                console.log(588, data)
                this.localFormData.gradeName = data.gradeName
                this.localFormData.deptName = data.dept.deptName
                this.localFormData.majorName = data.srsMajors.majorName
                this.localFormData.className = data.srsClass.className


                this.localFormData.birthMonth = dayjs(data.birthday).format('YYYY年MM月')

                this.localFormData.stuName = data.name
                this.localFormData.gender = data.gender
                this.localFormData.stuPhone = data.phone
                this.localFormData.stuNo = data.stuNo
                this.localFormData.className = data.srsClass.className
                this.localFormData.idCard = data.idCard
                this.localFormData.bankCard = data.xhk
            }
        },
        saveForm() {
            if (this.isEdit) {
                // 编辑模式，发射保存事件
                this.$emit('save', this.localFormData)
            } else {
                // 新建模式，调用原有的申请方法
                this.doApply()
            }
        }
    }


}


</script>
<style scoped>
.underline-input {
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    padding: 8px 0;
    font-size: 12px;
    background: transparent;
    width: 200px;
    transition: border-color 0.2s;
}

.underline-input:focus {
    border-bottom-color: #007bff;
}

/* 可以禁用自动填充背景色*/
.underline-inputt:-webkit-autofill,
.underline-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    box-shadow: 0 0 0 1000px white inset !important;
}
/* 取消 textarea 的边框*/
::v-deep .el-textarea__inner {
        border: none;
}
/* 取消 el-input 的边框*/
::v-deep .el-input__inner {
        border: none;
}
</style>