xiejiebiao 2 年之前
父节点
当前提交
cd2b5b2acd
共有 2 个文件被更改,包括 187 次插入434 次删除
  1. 1 1
      src/components/tableList.vue
  2. 186 433
      src/views/education/classManageMent/studentMenu/index.vue

+ 1 - 1
src/components/tableList.vue

@@ -1569,7 +1569,7 @@
       </af-table-column>
 
       <el-table-column
-        label="官方信息推送状态"
+        label="上报注册中心状态"
         align="center"
         width="180px"
         v-if="navText.gftsStatus"

+ 186 - 433
src/views/education/classManageMent/studentMenu/index.vue

@@ -2,220 +2,102 @@
   <div id="studentMenu">
     <div class="dis__s">
       <div>
-        <el-button
-          :size="size"
-          :type="active === 1 ? 'primary' : ''"
-          @click="changeActive(1)"
-          >班级学员</el-button
-        >
-        <el-button
-          :size="size"
-          :type="active === 2 ? 'primary' : ''"
-          @click="changeActive(2)"
-          >学时管理</el-button
-        >
+        <el-button :size="size" :type="active === 1 ? 'primary' : ''" @click="changeActive(1)">班级学员</el-button>
+        <el-button :size="size" :type="active === 2 ? 'primary' : ''" @click="changeActive(2)">学时管理</el-button>
       </div>
       <div>
-        <el-button size="small" v-if="statusShow.includes(1)" @click="uploadGF"
-          >官方信息推送</el-button
-        >
-        <span
-          style="font-size: 14px; margin: 0px 6px"
-          v-if="statusShow.includes(1)"
-          >已推送:{{ gfNum }}/{{ total }}</span
-        >
-        <el-button
-          type="primary"
-          size="small"
-          v-if="statusShow.includes(3)"
-          @click="moreActive(5)"
-          >【数据同步到官方系统】开通账号</el-button
-        >
-        <el-button
-          size="small"
-          type="warning"
-          v-if="statusShow.includes(3) || statusShow.includes(4)"
-          @click="moreActive(4)"
-          >账号状态标记</el-button
-        >
-        <span
-          style="font-size: 14px; margin: 0px 6px"
-          v-if="statusShow.includes(3) || statusShow.includes(4)"
-          >已开通:{{ zhNum }}/{{ total }}</span
-        >
+        <el-button size="small" v-if="statusShow.includes(1)" @click="uploadGF">上报注册中心</el-button>
+        <span style="font-size: 14px; margin: 0px 6px" v-if="statusShow.includes(1)">已推送:{{ gfNum }}/{{ total }}</span>
+        <el-button type="primary" size="small" v-if="statusShow.includes(3)"
+          @click="moreActive(5)">【数据同步到官方系统】开通账号</el-button>
+        <el-button size="small" type="warning" v-if="statusShow.includes(3) || statusShow.includes(4)"
+          @click="moreActive(4)">账号状态标记</el-button>
+        <span style="font-size: 14px; margin: 0px 6px" v-if="statusShow.includes(3) || statusShow.includes(4)">已开通:{{
+            zhNum
+        }}/{{ total }}</span>
       </div>
     </div>
 
     <div style="margin-bottom: 20px">
       筛选:
-      <el-button :size="size" type="success" @click="moreActive(1)"
-        >学完</el-button
-      >
+      <el-button :size="size" type="success" @click="moreActive(1)">学完</el-button>
       <!-- <el-button :size="size" type="warning" @click="moreActive(3)"
           >移除</el-button
         > -->
-      <el-select
-        v-model="formData.studyCountMore"
-        placeholder="请选择"
-        style="margin: 0px 10px"
-        size="medium"
-      >
-        <el-option
-          v-for="item in options"
-          :key="item.value"
-          :label="item.label"
-          :value="item.value"
-        >
+      <el-select v-model="formData.studyCountMore" placeholder="请选择" style="margin: 0px 10px" size="medium">
+        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
         </el-option>
       </el-select>
-      <el-button
-        v-if="formData.studyCountMore === 2"
-        :size="size"
-        type="primary"
-        @click="moreActive(2)"
-        >选班</el-button
-      >
-      <el-input
-        clearable
-        style="width: 230px"
-        v-model="formData.companyName"
-        placeholder="所在公司"
-        ></el-input>
-      <el-select
-        clearable
-        v-model="formData.hasBindWx"
-        placeholder="是否绑定微信"
-        style="margin: 5px 10px"
-        size="medium"
-      >
+      <el-button v-if="formData.studyCountMore === 2" :size="size" type="primary" @click="moreActive(2)">选班</el-button>
+      <el-input clearable style="width: 230px" v-model="formData.companyName" placeholder="所在公司"></el-input>
+      <el-select clearable v-model="formData.hasBindWx" placeholder="是否绑定微信" style="margin: 5px 10px" size="medium">
         <el-option label="是" :value="1"> </el-option>
         <el-option label="否" :value="0"> </el-option>
       </el-select>
-      <el-select
-        clearable
-        v-model="formData.hasFollowWx"
-        placeholder="是否关注公众号"
-        style="margin: 5px 10px"
-        size="medium"
-      >
+      <el-select clearable v-model="formData.hasFollowWx" placeholder="是否关注公众号" style="margin: 5px 10px" size="medium">
         <el-option label="是" :value="1"> </el-option>
         <el-option label="否" :value="0"> </el-option>
       </el-select>
-      <el-input
-        clearable
-        style="width: 230px;margin: 5px 10px"
-        v-model.trim="formData.realname"
-        placeholder="学员名称"
-      ></el-input>
-      <el-input
-        clearable
-        style="width: 230px;margin: 5px 10px"
-        v-model.trim="formData.idCard"
-        placeholder="学员身份证"
-      ></el-input>
-      <el-input
-        clearable
-        style="width: 230px;margin: 5px 10px"
-        v-model.trim="formData.telphone"
-        placeholder="学员手机号码"
-      ></el-input>
+      <el-input clearable style="width: 230px;margin: 5px 10px" v-model.trim="formData.realname"
+        placeholder="学员名称"></el-input>
+      <el-input clearable style="width: 230px;margin: 5px 10px" v-model.trim="formData.idCard"
+        placeholder="学员身份证"></el-input>
+      <el-input clearable style="width: 230px;margin: 5px 10px" v-model.trim="formData.telphone"
+        placeholder="学员手机号码"></el-input>
       <el-button type="primary" @click="search(3)">搜索</el-button>
     </div>
-    <table-list
-      ref="tableList"
-      :tableSets="tableSet"
-      :tableData="tableData"
-      :navText="navText"
-      :studentTable="true"
-      @addClick="addClick"
-      :loading="loading"
-      @editInfo="editInfo"
-    >
+    <table-list ref="tableList" :tableSets="ctableSet" :tableData="tableData" :navText="navText" :studentTable="true"
+      @addClick="addClick" :loading="loading" @editInfo="editInfo">
       <template slot="customize">
-        <el-button size="medium" @click="exportGrade" :loading="exportLoading"
-          >导出学员数据</el-button
-        >
+        <el-button size="medium" @click="exportGrade" :loading="exportLoading">导出学员数据</el-button>
       </template>
       <template slot="btn" slot-scope="props">
-        <el-button type="text" @click="addClick(props.scope.row, 2)"
-          >学员详情</el-button
-        >
-        <el-button
-          v-if="
-            props.scope.row.stuAllNum == 0 && props.scope.row.recordNum == 0
-          "
-          type="text"
-          style="color: red"
-          @click="changeClass(props.scope.row)"
-          >更换班级</el-button
-        >
+        <el-button type="text" @click="addClick(props.scope.row, 2)">学员详情</el-button>
+        <el-button v-if="
+          props.scope.row.stuAllNum == 0 && props.scope.row.recordNum == 0
+        " type="text" style="color: red" @click="changeClass(props.scope.row)">更换班级</el-button>
         <!-- <el-button type="text" @click="del(props.scope.row)">移除</el-button> -->
       </template>
     </table-list>
-    <pagination
-      :total="total"
-      :pageSize="formData.pageSize"
-      :currentPage="formData.pageNum"
-      @handleSizeChange="handleSizeChange"
-      @handleCurrentChange="handleCurrentChange"
-    />
-    <el-dialog
-      :visible.sync="dialogVisible"
-      width="460px"
-      :show-close="false"
-      :close-on-click-modal="false"
-    >
+    <pagination :total="total" :pageSize="formData.pageSize" :currentPage="formData.pageNum"
+      @handleSizeChange="handleSizeChange" @handleCurrentChange="handleCurrentChange" />
+    <el-dialog :visible.sync="dialogVisible" width="460px" :show-close="false" :close-on-click-modal="false">
       <div slot="title" class="hearders">
         <div class="leftTitle">
           {{
-            stice == 1
-              ? "批准结业"
-              : stice == 4
-              ? "学习账号开通状态标记"
-              : stice == 3
-              ? "移除学员"
-              : ""
+              stice == 1
+                ? "批准结业"
+                : stice == 4
+                  ? "学习账号开通状态标记"
+                  : stice == 3
+                    ? "移除学员"
+                    : ""
           }}
         </div>
         <div class="rightBoxs">
-          <img
-            src="@/assets/images/Close@2x.png"
-            alt=""
-            @click="dialogVisible = false"
-          />
+          <img src="@/assets/images/Close@2x.png" alt="" @click="dialogVisible = false" />
         </div>
       </div>
       <div>
         <ul>
-          <li
-            v-for="(item, index) in allCheckList"
-            :key="index"
-            class="btnLists"
-          >
+          <li v-for="(item, index) in allCheckList" :key="index" class="btnLists">
             {{ item.realname }}
-            <i
-              class="el-icon-close btnIcon"
-              v-if="allCheckList.length > 1"
-              @click="clearStudent(index)"
-            ></i>
+            <i class="el-icon-close btnIcon" v-if="allCheckList.length > 1" @click="clearStudent(index)"></i>
           </li>
           <div style="clear: both"></div>
           <p>
             {{
-              stice == 1
-                ? "所选学员,批转结业吗?"
-                : stice == 3
-                ? "是否移除所选中的学员?"
-                : stice == 4
-                ? "确定以上所选学员标记为【已开通账号】吗?"
-                : ""
+                stice == 1
+                  ? "所选学员,批转结业吗?"
+                  : stice == 3
+                    ? "是否移除所选中的学员?"
+                    : stice == 4
+                      ? "确定以上所选学员标记为【已开通账号】吗?"
+                      : ""
             }}
           </p>
           <div style="text-align: center">
-            <el-radio-group
-              v-model="finishStatusOS"
-              v-if="stice == 1 || stice == 4"
-            >
+            <el-radio-group v-model="finishStatusOS" v-if="stice == 1 || stice == 4">
               <el-radio :label="1">是</el-radio>
               <el-radio :label="0">否</el-radio>
             </el-radio-group>
@@ -227,20 +109,11 @@
         <el-button type="primary" @click="submit">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      :visible.sync="dialogVisibleTable"
-      width="1080px"
-      :show-close="false"
-      :close-on-click-modal="false"
-    >
+    <el-dialog :visible.sync="dialogVisibleTable" width="1080px" :show-close="false" :close-on-click-modal="false">
       <div slot="title" class="hearders">
         <div class="leftTitle">选择班级</div>
         <div class="rightBoxs">
-          <img
-            src="@/assets/images/Close@2x.png"
-            alt=""
-            @click="dialogVisibleTable = false"
-          />
+          <img src="@/assets/images/Close@2x.png" alt="" @click="dialogVisibleTable = false" />
         </div>
       </div>
       <div>
@@ -249,96 +122,72 @@
           <el-col :span="21">
             <el-descriptions :labelStyle="{ width: '110px' }" border>
               <el-descriptions-item label="商品编码">{{
-                obtainGoods.code
+                  obtainGoods.code
               }}</el-descriptions-item>
-              <el-descriptions-item label="商品业务层级"
-                >{{ obtainGoods.educationName }}-{{
+              <el-descriptions-item label="商品业务层级">{{ obtainGoods.educationName }}-{{
                   obtainGoods.projectName
-                }}-{{ obtainGoods.businessName }}</el-descriptions-item
-              >
+              }}-{{ obtainGoods.businessName }}</el-descriptions-item>
               <el-descriptions-item label="学时">{{
-                obtainGoods.classHours
+                  obtainGoods.classHours
               }}</el-descriptions-item>
               <el-descriptions-item label="年份">{{
-                obtainGoods.year
+                  obtainGoods.year
               }}</el-descriptions-item>
               <el-descriptions-item label="商品名称">{{
-                obtainGoods.goodsName
+                  obtainGoods.goodsName
               }}</el-descriptions-item>
-              <el-descriptions-item label="学习有效期"
-                >{{
+              <el-descriptions-item label="学习有效期">{{
                   $methodsTools.onlyForma(obtainGoods.studyStartTime, false)
-                }}-{{
-                  $methodsTools.onlyForma(obtainGoods.studyEndTime, false)
-                }}</el-descriptions-item
-              >
+              }}-{{
+    $methodsTools.onlyForma(obtainGoods.studyEndTime, false)
+}}</el-descriptions-item>
             </el-descriptions>
           </el-col>
         </el-row>
         <p style="color: red">注:打勾,即代表选中;仅单选</p>
-        <el-table
-          ref="multipleTable"
-          :data="tableDataClass"
-          border
-          :row-key="getRowKeys"
-          :header-cell-style="{
-            'background-color': '#eee',
-            padding: '8px',
-            color: '#333',
-          }"
-        >
+        <el-table ref="multipleTable" :data="tableDataClass" border :row-key="getRowKeys" :header-cell-style="{
+          'background-color': '#eee',
+          padding: '8px',
+          color: '#333',
+        }">
           <el-table-column label="" width="45" align="center">
             <template scope="scope">
-              <el-radio
-                class="radioTables"
-                :label="scope.row.gradeId"
-                v-model="templateRadio"
-                :reserve-selection="true"
-                @change.native="getTemplateRow(scope.$index, scope.row)"
-                :disabled="
+              <el-radio class="radioTables" :label="scope.row.gradeId" v-model="templateRadio" :reserve-selection="true"
+                @change.native="getTemplateRow(scope.$index, scope.row)" :disabled="
                   parseInt(scope.row.studentUpper) -
                     parseInt(scope.row.studentNum) <
-                  $refs.tableList.allCheckData.length
+                    $refs.tableList.allCheckData.length
                     ? true
                     : false
-                "
-                >{{ "" }}</el-radio
-              >
+                ">{{ "" }}</el-radio>
             </template>
           </el-table-column>
           <template v-for="(item, index) in tableListClass">
-            <el-table-column
-              v-if="item.scope !== 'inputs'"
-              :width="item.width"
-              :key="index"
-              :label="item.label"
-              align="center"
-              :show-overflow-tooltip="true"
-              header-align="center"
-            >
+            <el-table-column v-if="item.scope !== 'inputs'" :width="item.width" :key="index" :label="item.label"
+              align="center" :show-overflow-tooltip="true" header-align="center">
               <template slot-scope="scope">
                 <span v-if="item.scope === 'status'">
                   {{
-                    scope.row[item.prop] === 1
-                      ? "有效"
-                      : scope.row[item.prop] === 0
-                      ? "无效"
-                      : "未知"
+                      scope.row[item.prop] === 1
+                        ? "有效"
+                        : scope.row[item.prop] === 0
+                          ? "无效"
+                          : "未知"
                   }}
                 </span>
                 <span v-else-if="item.scope === 'openStatus'">
                   {{ scope.row[item.prop] === 0 ? "未开班" : "已开班" }}
                   {{
-                    scope.row[item.prop] === 1 ? scope.row["officialName"] : ""
+                      scope.row[item.prop] === 1 ? scope.row["officialName"] : ""
                   }}
                 </span>
                 <span v-else-if="item.scope === 'moreList'">
                   {{
-                    scope.row[item.prop1] +
-                    "-" +
-                    scope.row[item.prop2] +
-                    "-" +
-                    scope.row[item.prop3]
+                      scope.row[item.prop1] +
+                      "-" +
+                      scope.row[item.prop2] +
+                      "-" +
+                      scope.row[item.prop3]
                   }}
                 </span>
                 <span v-else-if="item.scope === 'classNums'">
@@ -346,41 +195,25 @@
                 </span>
                 <span v-else-if="item.scope === 'timeTwo'">
                   {{ $methodsTools.onlyForma(scope.row[item.prop1], false) }}-{{
-                    $methodsTools.onlyForma(scope.row[item.prop2], false)
+                      $methodsTools.onlyForma(scope.row[item.prop2], false)
                   }}
                 </span>
-                <span v-else>{{ scope.row[item.prop] }}</span></template
-              >
-            </el-table-column></template
-          >
+                <span v-else>{{ scope.row[item.prop] }}</span></template>
+            </el-table-column></template>
         </el-table>
-        <pagination
-          :total="totalClass"
-          :pageSize="formDataClass.pageSize"
-          :currentPage="formDataClass.pageNum"
-          @handleSizeChange="handleSizeChangeClass"
-          @handleCurrentChange="handleCurrentChangeClass"
-        />
+        <pagination :total="totalClass" :pageSize="formDataClass.pageSize" :currentPage="formDataClass.pageNum"
+          @handleSizeChange="handleSizeChangeClass" @handleCurrentChange="handleCurrentChangeClass" />
       </div>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisibleTable = false">取 消</el-button>
         <el-button type="primary" @click="submitTable">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      :visible.sync="dialogVisibleStudent"
-      width="1060px"
-      :show-close="false"
-      :close-on-click-modal="false"
-    >
+    <el-dialog :visible.sync="dialogVisibleStudent" width="1060px" :show-close="false" :close-on-click-modal="false">
       <div slot="title" class="hearders">
         <div class="leftTitle">学员详情</div>
         <div class="rightBoxs">
-          <img
-            src="@/assets/images/Close@2x.png"
-            alt=""
-            @click="dialogVisibleStudent = false"
-          />
+          <img src="@/assets/images/Close@2x.png" alt="" @click="dialogVisibleStudent = false" />
         </div>
       </div>
       <div>
@@ -389,56 +222,32 @@
             <el-col :span="6">
               <div class="dis_fs">
                 <div class="photoSty1">
-                  <img
-                    style="width: 100%; height: 100%"
-                    v-if="!listData.oneInchPhotos"
-                    src="@/assets/404_images/wuyuxaog.png"
-                    alt=""
-                  />
-                  <el-image
-                    v-else
-                    style="width: 100%; height: 100%"
-                    :src="$methodsTools.splitImgHost(listData.oneInchPhotos)"
-                    :preview-src-list="[
+                  <img style="width: 100%; height: 100%" v-if="!listData.oneInchPhotos"
+                    src="@/assets/404_images/wuyuxaog.png" alt="" />
+                  <el-image v-else style="width: 100%; height: 100%"
+                    :src="$methodsTools.splitImgHost(listData.oneInchPhotos)" :preview-src-list="[
                       $methodsTools.splitImgHost(listData.oneInchPhotos),
-                    ]"
-                  >
+                    ]">
                   </el-image>
                   <div class="pos_bottom">一寸头像图</div>
                 </div>
                 <div class="photoSty2">
-                  <img
-                    style="width: 100%; height: 100%"
-                    v-if="!listData.idCardImg1"
-                    src="@/assets/404_images/wuyuxaog.png"
-                    alt=""
-                  />
-                  <el-image
-                    v-else
-                    style="width: 100%; height: 100%"
-                    :src="$methodsTools.splitImgHost(listData.idCardImg1)"
-                    :preview-src-list="[
+                  <img style="width: 100%; height: 100%" v-if="!listData.idCardImg1"
+                    src="@/assets/404_images/wuyuxaog.png" alt="" />
+                  <el-image v-else style="width: 100%; height: 100%"
+                    :src="$methodsTools.splitImgHost(listData.idCardImg1)" :preview-src-list="[
                       $methodsTools.splitImgHost(listData.idCardImg1),
-                    ]"
-                  >
+                    ]">
                   </el-image>
                   <div class="pos_bottom">身份证头像照</div>
                 </div>
                 <div class="photoSty2" style="margin-right: 0px">
-                  <img
-                    style="width: 100%; height: 100%"
-                    v-if="!listData.idCardImg2"
-                    src="@/assets/404_images/wuyuxaog.png"
-                    alt=""
-                  />
-                  <el-image
-                    v-else
-                    style="width: 100%; height: 100%"
-                    :src="$methodsTools.splitImgHost(listData.idCardImg2)"
-                    :preview-src-list="[
+                  <img style="width: 100%; height: 100%" v-if="!listData.idCardImg2"
+                    src="@/assets/404_images/wuyuxaog.png" alt="" />
+                  <el-image v-else style="width: 100%; height: 100%"
+                    :src="$methodsTools.splitImgHost(listData.idCardImg2)" :preview-src-list="[
                       $methodsTools.splitImgHost(listData.idCardImg2),
-                    ]"
-                  >
+                    ]">
                   </el-image>
                   <div class="pos_bottom">身份证国徽照</div>
                 </div>
@@ -446,25 +255,13 @@
             </el-col>
             <el-col :span="9">
               <el-form-item label="学员编码">
-                <el-input
-                  disabled
-                  v-model="listData.studentCode"
-                  placeholder="请填写学员编码"
-                ></el-input>
+                <el-input disabled v-model="listData.studentCode" placeholder="请填写学员编码"></el-input>
               </el-form-item>
               <el-form-item label="姓名">
-                <el-input
-                  disabled
-                  v-model="listData.realname"
-                  placeholder="请填写姓名"
-                ></el-input>
+                <el-input disabled v-model="listData.realname" placeholder="请填写姓名"></el-input>
               </el-form-item>
               <el-form-item label="身份证号码">
-                <el-input
-                  disabled
-                  v-model="listData.idCard"
-                  placeholder="请填写身份证号码"
-                ></el-input>
+                <el-input disabled v-model="listData.idCard" placeholder="请填写身份证号码"></el-input>
               </el-form-item>
               <el-form-item label="性别">
                 <el-radio-group v-model="listData.sex" disabled>
@@ -473,46 +270,22 @@
                 </el-radio-group>
               </el-form-item>
               <el-form-item label="出生日期">
-                <el-input
-                  disabled
-                  v-model="listData.userBirth"
-                  placeholder="请填写出生日期"
-                ></el-input>
+                <el-input disabled v-model="listData.userBirth" placeholder="请填写出生日期"></el-input>
               </el-form-item>
               <el-form-item label="手机号码">
-                <el-input
-                  disabled
-                  v-model="listData.telphone"
-                  placeholder="请填写手机号码"
-                ></el-input>
+                <el-input disabled v-model="listData.telphone" placeholder="请填写手机号码"></el-input>
               </el-form-item>
               <el-form-item label="微信">
-                <el-input
-                  disabled
-                  v-model="listData.telphone"
-                  placeholder="请填写微信"
-                ></el-input>
+                <el-input disabled v-model="listData.telphone" placeholder="请填写微信"></el-input>
               </el-form-item>
               <el-form-item label="邮箱">
-                <el-input
-                  disabled
-                  v-model="listData.email"
-                  placeholder="请填写邮箱"
-                ></el-input>
+                <el-input disabled v-model="listData.email" placeholder="请填写邮箱"></el-input>
               </el-form-item>
               <el-form-item label="学历">
-                <el-input
-                  disabled
-                  v-model="listData.eduLevel"
-                  placeholder="请填写学历"
-                ></el-input>
+                <el-input disabled v-model="listData.eduLevel" placeholder="请填写学历"></el-input>
               </el-form-item>
               <el-form-item label="工作年限">
-                <el-input
-                  disabled
-                  v-model="listData.workYear"
-                  placeholder="请填写工作年限"
-                ></el-input>
+                <el-input disabled v-model="listData.workYear" placeholder="请填写工作年限"></el-input>
               </el-form-item>
               <el-form-item label="在职状况">
                 <el-radio-group v-model="listData.jobStatus" disabled>
@@ -521,41 +294,21 @@
                 </el-radio-group>
               </el-form-item>
               <el-form-item label="所在公司">
-                <el-input
-                  disabled
-                  v-model="listData.companyName"
-                  placeholder="请填写所在公司"
-                ></el-input>
+                <el-input disabled v-model="listData.companyName" placeholder="请填写所在公司"></el-input>
               </el-form-item>
             </el-col>
             <el-col :span="9">
               <el-form-item label="民族">
-                <el-input
-                  disabled
-                  v-model="listData.nation"
-                  placeholder="请填写民族"
-                ></el-input>
+                <el-input disabled v-model="listData.nation" placeholder="请填写民族"></el-input>
               </el-form-item>
               <el-form-item label="籍贯">
-                <el-input
-                  disabled
-                  v-model="listData.nativePlace"
-                  placeholder="请填写籍贯"
-                ></el-input>
+                <el-input disabled v-model="listData.nativePlace" placeholder="请填写籍贯"></el-input>
               </el-form-item>
               <el-form-item label="政治面貌">
-                <el-input
-                  disabled
-                  v-model="listData.politic"
-                  placeholder="请填写政治面貌"
-                ></el-input>
+                <el-input disabled v-model="listData.politic" placeholder="请填写政治面貌"></el-input>
               </el-form-item>
               <el-form-item label="婚姻状况">
-                <el-input
-                  disabled
-                  v-model="listData.marry"
-                  placeholder="请填写婚姻状况"
-                ></el-input>
+                <el-input disabled v-model="listData.marry" placeholder="请填写婚姻状况"></el-input>
               </el-form-item>
               <el-form-item label="户口性质">
                 <el-radio-group v-model="listData.census" disabled>
@@ -564,38 +317,21 @@
                 </el-radio-group>
               </el-form-item>
               <el-form-item label="户口所在地">
-                <el-input
-                  disabled
-                  :value="
-                    listData.houseProvince +
-                    listData.houseCity +
-                    listData.houseDistrict +
-                    listData.houseAddress
-                  "
-                  placeholder="请填写户口所在地"
-                ></el-input>
+                <el-input disabled :value="
+                  listData.houseProvince +
+                  listData.houseCity +
+                  listData.houseDistrict +
+                  listData.houseAddress
+                " placeholder="请填写户口所在地"></el-input>
               </el-form-item>
               <el-form-item label="联系地址">
-                <el-input
-                  disabled
-                  v-model="listData.contactAddress"
-                  placeholder="请填写联系地址"
-                ></el-input>
+                <el-input disabled v-model="listData.contactAddress" placeholder="请填写联系地址"></el-input>
               </el-form-item>
               <el-form-item label="收件地址">
-                <el-input
-                  disabled
-                  v-model="listData.consigneeAddress"
-                  placeholder="请填写收件地址"
-                ></el-input>
+                <el-input disabled v-model="listData.consigneeAddress" placeholder="请填写收件地址"></el-input>
               </el-form-item>
               <el-form-item label="备注">
-                <el-input
-                  disabled
-                  type="textarea"
-                  :rows="5"
-                  v-model="listData.remark"
-                ></el-input>
+                <el-input disabled type="textarea" :rows="5" v-model="listData.remark"></el-input>
               </el-form-item>
             </el-col>
           </el-form>
@@ -607,11 +343,8 @@
     </el-dialog>
     <account-tag ref="accountTag" @successFuncBack="successFuncBack" />
     <quick-login ref="quickLogin" @backData="backData" />
-    <tab-class-dialog
-      :visible.sync="dialogVisibleClass"
-      :studentInfo="tabClassStudentInfo"
-      @search="search"
-    ></tab-class-dialog>
+    <tab-class-dialog :visible.sync="dialogVisibleClass" :studentInfo="tabClassStudentInfo"
+      @search="search"></tab-class-dialog>
   </div>
 </template>
 
@@ -826,38 +559,6 @@ export default {
           prop: "idCard",
           hidden: true,
         },
-        {
-          label: "上报注册中心",
-          prop: "userBindWx",
-          hidden: true,
-          scope: "isOptions",
-          options: [
-            {
-              label: "已上报",
-              value: 1,
-            },
-            {
-              label: "未上报",
-              value: 0,
-            },
-          ],
-        },
-        {
-          label: "学时申报",
-          prop: "userBindWx",
-          hidden: true,
-          scope: "isOptions",
-          options: [
-            {
-              label: "已上报",
-              value: 1,
-            },
-            {
-              label: "未上报",
-              value: 0,
-            },
-          ],
-        },
       ],
       listData: {},
       finishStatusOS: "",
@@ -1331,6 +1032,34 @@ export default {
       this.getNewClass();
     },
   },
+  computed: {
+    ctableSet() {
+      let data = this.tableSet
+      if (!this.statusShow.includes(2)) {
+        data.push({
+          label: "学时申报",
+          prop: "periodPlush",
+          hidden: true,
+          scope: "isOptions",
+          options: [
+            {
+              label: "已上报",
+              value: 1,
+            },
+            {
+              label: "未上报",
+              value: 0,
+            },
+            {
+              label: "未上报",
+              value: null,
+            },
+          ],
+        },)
+      }
+      return data
+    }
+  }
 };
 </script>
 
@@ -1341,6 +1070,7 @@ export default {
   align-items: center;
   justify-content: space-between;
 }
+
 .btnLists {
   float: left;
   border: 1px solid #333;
@@ -1350,21 +1080,27 @@ export default {
   border-radius: 4px;
   height: 30px;
   line-height: 30px;
+
   .btnIcon {
     cursor: pointer;
     transition: all 0.2s;
+
     &:hover {
       color: blue;
     }
   }
 }
+
 /deep/.el-button {
   border-radius: 8px;
 }
+
 /deep/.el-dialog {
   border-radius: 8px;
+
   .el-dialog__header {
     padding: 0;
+
     .hearders {
       height: 40px;
       display: flex;
@@ -1372,14 +1108,17 @@ export default {
       justify-content: space-between;
       padding: 0px 18px 0px 20px;
       border-bottom: 1px solid #e2e2e2;
+
       .leftTitle {
         font-size: 14px;
         font-weight: bold;
         color: #2f4378;
       }
+
       .rightBoxs {
         display: flex;
         align-items: center;
+
         img {
           width: 14px;
           height: 14px;
@@ -1389,8 +1128,10 @@ export default {
       }
     }
   }
+
   .el-dialog__footer {
     padding: 0;
+
     .dialog-footer {
       padding: 0px 40px;
       height: 70px;
@@ -1401,6 +1142,7 @@ export default {
     }
   }
 }
+
 .imgBox {
   width: 100%;
   // height: 210px;
@@ -1410,6 +1152,7 @@ export default {
   display: flex;
   flex-direction: column;
   align-items: center;
+
   .imgLabel {
     flex: 1;
     width: 100%;
@@ -1418,17 +1161,20 @@ export default {
     font-size: 14px;
     cursor: pointer;
     border-radius: 8px;
+
     .msPhoto {
       display: flex;
       justify-content: center;
       align-items: center;
       max-width: 100%;
       max-height: 270px;
+
       img {
         max-width: 100%;
         max-height: 270px;
       }
     }
+
     .imgbbx {
       display: flex;
       flex-direction: column;
@@ -1436,6 +1182,7 @@ export default {
       justify-content: center;
       width: 100%;
       height: 100%;
+
       i {
         font-weight: bold;
         margin: 14px 0;
@@ -1443,18 +1190,22 @@ export default {
       }
     }
   }
+
   p {
     margin: 5px 0px;
   }
 }
-/deep/.radioTables > .el-radio__label {
+
+/deep/.radioTables>.el-radio__label {
   display: none;
 }
+
 .dis_fs {
   display: flex;
   flex-direction: column;
   align-items: center;
 }
+
 .photoSty1 {
   flex-shrink: 0;
   width: 150px;
@@ -1463,6 +1214,7 @@ export default {
   position: relative;
   margin-bottom: 30px;
 }
+
 .photoSty2 {
   position: relative;
   flex-shrink: 0;
@@ -1471,6 +1223,7 @@ export default {
   background-color: #fff;
   margin-bottom: 30px;
 }
+
 .pos_bottom {
   position: absolute;
   height: 20px;