yubo
2026-04-11 40f5cf2a8c324bf08fd5f0aec2e9da00e5f59f76
src/views/user/archivesChange.vue
@@ -4,26 +4,32 @@
      :title="title"
      width="100%"
      height="100vh"
      center
      fullscreen="true"
      :close-on-click-modal="false"
      :visible.sync="isVisible"
    >
      <div class="conDetails">
        <div class="menu dadetails">
          <div style="height: 22vh;">
            <el-upload
              class="avatar-uploader"
              action="#"
              :show-file-list="false"
              :on-change="handlePictureCardPreview"
              :auto-upload="false"
            >
              <img v-if="empBaseInfoImageUrl" :src="empBaseInfoImageUrl" class="avatar">
              <i v-else class="el-icon-plus avatar-uploader-icon" />
            </el-upload>
            <!-- 头像显示区域 -->
            <div class="avatar-wrapper">
              <img
                v-if="empBaseInfoImageUrl"
                :src="empBaseInfoImageUrl"
                class="avatar"
                @click="openUploadChoice"
              >
              <div v-else class="avatar-uploader-placeholder" @click="openUploadChoice">
                <i class="el-icon-plus avatar-uploader-icon" />
                <div class="upload-tip">点击上传照片</div>
              </div>
            </div>
            <!-- <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1333074204,3035391839&fm=26&gp=0.jpg" class="jbxxImg">-->
            <div class="title-da">
              {{ empBaseInfoForm.empNumb }}
              档案号:{{ empBaseInfoForm.archivesNumb }}
            </div>
          </div>
          <ul class="jbxx-ul" style="height: 68vh;overflow: auto">
@@ -149,7 +155,7 @@
              <div class="item-node" />
              <div>
                <a href="javascript:void(0)" :class="item=='lzaj'?'light':''" @click="goAnchor('lzaj')">
                  劳资案件
                  仲裁案件
                </a>
              </div>
            </li>
@@ -176,16 +182,7 @@
              <div class="item-node" />
              <div>
                <a href="javascript:void(0)" :class="item=='jljt'?'light':''" @click="goAnchor('jljt')">
                  记录截图
                </a>
              </div>
            </li>
            <li>
              <div />
              <div class="item-node" />
              <div>
                <a href="javascript:void(0)" :class="item=='xgfj'?'light':''" @click="goAnchor('xgfj')">
                  相关附件
                  记录截图及相关附件
                </a>
              </div>
            </li>
@@ -195,34 +192,66 @@
          <div ref="jbxx" class="jbxx">
            <div class="jbxxTitle">
              基本信息
              <el-button
                style="position:absolute;right: 20px"
                class="filter-item"
                type="primary"
                @click="ExportSavePdf"
              >
                导出档案
              </el-button>
            </div>
            <div class="jbxxCon" style="padding: 20px 40px 0 20px">
              <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" class="formjbxx" label-position="right" label-width="140px">
                <el-row>
              <el-form ref="empBaseInfoForm" :model="empBaseInfoForm" class="formjbxx" label-width="150px">
                <el-row style="width: 100%;">
                  <el-col :span="8">
                    <el-form-item label="档案号" prop="archivesNumb">
                      <el-input v-model="empBaseInfoForm.archivesNumb" />
                    <el-form-item label="编号" prop="empNumb">
                      <el-input
                        v-model="empBaseInfoForm.empNumb"
                        style="width: 100%;"
                        :disabled="readon ? false : true"
                      />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="姓名" prop="empName">
                      <el-input v-model="empBaseInfoForm.empName" />
                      <el-input v-model="empBaseInfoForm.empName" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="性别" prop="sex">
                      <el-select v-model="empBaseInfoForm.sex" placeholder="请选择性别">
                        <el-option label="男" value="1" />
                        <el-option label="女" value="2" />
                      </el-select>
                    <el-form-item label="身份证号码" prop="certificateNumb">
                      <el-input
                        v-model="empBaseInfoForm.certificateNumb"
                        :disabled="readon ? false : true"
                        @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
                      />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="性别" prop="sex">
                      <el-select
                        v-model="empBaseInfoForm.sex"
                        placeholder="请选择性别"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in sexOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="部门(护卫点)" prop="deptId">
                      <treeselect
                        v-model="empBaseInfoForm.deptId"
                        :disabled="readon ? false : true"
                        :multiple="false"
                        :options="depts"
                        :clear-value-text="$t('common.clear')"
@@ -235,6 +264,7 @@
                    <el-form-item label="岗位" prop="jobName">
                      <el-autocomplete
                        v-model="empBaseInfoForm.jobName"
                        :disabled="readon ? false : true"
                        class="inline-input"
                        :fetch-suggestions="querySearchJob"
                        placeholder="请输入岗位"
@@ -242,47 +272,71 @@
                      />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="员工类别" prop="empType">
                      <el-select v-model="empBaseInfoForm.empType" placeholder="请选择员工类型">
                        <el-option label="正式工" value="1" />
                        <el-option label="临时工" value="2" />
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="身份证号码" prop="certificateNumb">
                      <el-input
                        v-model="empBaseInfoForm.certificateNumb"
                        @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
                      />
                    <el-form-item label="员工类别" prop="empType">
                      <el-select
                        v-model="empBaseInfoForm.empType"
                        placeholder="请选择员工类型"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in empTypeOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="民族" prop="nation">
                      <el-select
                        v-model="empBaseInfoForm.nation"
                        filterable
                        placeholder="请选择民族"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in nationOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="年龄" prop="age">
                      <el-input v-model="empBaseInfoForm.age" />
                      <el-input v-model="empBaseInfoForm.age" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="婚姻状态" prop="marriage">
                      <el-select v-model="empBaseInfoForm.marriage" placeholder="请选择婚姻状态">
                        <el-option label="未婚" value="1" />
                        <el-option label="已婚" value="2" />
                        <el-option label="丧偶" value="3" />
                        <el-option label="离婚" value="4" />
                        <el-option label="再婚" value="5" />
                        <el-option label="其它" value="9" />
                      <el-select
                        v-model="empBaseInfoForm.marriage"
                        placeholder="请选择婚姻状态"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in marriageOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="身份证有效期" prop="certificateValidity">
                      <el-date-picker
                        v-model="empBaseInfoForm.certificateValidity"
                        :disabled="readon ? false : true"
                        type="date"
                        value-format="yyyy-MM-dd"
                        placeholder="选择日期"
@@ -291,34 +345,33 @@
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="身高(cm)" prop="stature">
                      <el-input v-model="empBaseInfoForm.stature" />
                      <el-input v-model="empBaseInfoForm.stature" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="政治面貌" prop="politics">
                      <el-select v-model="empBaseInfoForm.politics" placeholder="请选择政治面貌">
                        <el-option label="中共党员" value="01" />
                        <el-option label="预备党员" value="02" />
                        <el-option label="共青团员" value="03" />
                        <el-option label="民革会员" value="04" />
                        <el-option label="民盟盟员" value="05" />
                        <el-option label="民建会员" value="06" />
                        <el-option label="民进会员" value="07" />
                        <el-option label="农工党员" value="08" />
                        <el-option label="致公党员" value="09" />
                        <el-option label="九三社员" value="10" />
                        <el-option label="台盟盟员" value="11" />
                        <el-option label="民主人士" value="12" />
                        <el-option label="群众" value="13" />
                      <el-select
                        v-model="empBaseInfoForm.politics"
                        placeholder="请选择政治面貌"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in statusOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="出生日期" prop="birthdate">
                      <el-date-picker
                        v-model="empBaseInfoForm.birthdate"
                        :disabled="readon ? false : true"
                        type="date"
                        value-format="yyyy-MM-dd"
                        placeholder="选择日期"
@@ -327,84 +380,104 @@
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="最高学历" prop="education">
                      <el-select v-model="empBaseInfoForm.education" placeholder="请选择最高学历">
                        <el-option label="博士" value="10" />
                        <el-option label="硕士" value="11" />
                        <el-option label="大学本科" value="21" />
                        <el-option label="大学专科" value="31" />
                        <el-option label="中专" value="41" />
                        <el-option label="中技" value="42" />
                        <el-option label="高中" value="61" />
                        <el-option label="初中" value="71" />
                        <el-option label="小学" value="81" />
                        <el-option label="无学历" value="91" />
                      <el-select
                        v-model="empBaseInfoForm.education"
                        placeholder="请选择最高学历"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in educationOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="籍贯" prop="nativePlaceName">
                      <el-select
                        v-model="empBaseInfoForm.nativePlace"
                        placeholder="请选择籍贯"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in nativePlaceOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="籍贯" prop="nativePlaceName">
                      <el-autocomplete
                        v-model="empBaseInfoForm.nativePlaceName"
                        class="inline-input"
                        :fetch-suggestions="querySearch"
                        placeholder="请输入籍贯"
                        @select="placeNameSelect"
                      />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="户籍地址" prop="censusAddress">
                      <el-input v-model="empBaseInfoForm.censusAddress" />
                      <el-input v-model="empBaseInfoForm.censusAddress" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="现住址" prop="currentAddress">
                      <el-input v-model="empBaseInfoForm.currentAddress" />
                      <el-input v-model="empBaseInfoForm.currentAddress" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="保安员回执" prop="returnReceipt">
                      <el-input v-model="empBaseInfoForm.returnReceipt" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="保安员回执" prop="returnReceipt">
                      <el-input v-model="empBaseInfoForm.returnReceipt" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="保安员证号" prop="guardNumb">
                      <el-input v-model="empBaseInfoForm.guardNumb" />
                      <el-input v-model="empBaseInfoForm.guardNumb" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="档案情况" prop="archivesStatus">
                      <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况">
                        <el-option label="未移交" value="0" />
                        <el-option label="已移交" value="1" />
                      <el-select
                        v-model="empBaseInfoForm.archivesStatus"
                        placeholder="请选择档案情况"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in archivesStatusOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="银行名称" prop="bankName">
                      <el-input v-model="empBaseInfoForm.bankName" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="银行名称" prop="bankName">
                      <el-input v-model="empBaseInfoForm.bankName" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="银行账号" prop="bankNumb">
                      <el-input v-model="empBaseInfoForm.bankNumb" />
                      <el-input v-model="empBaseInfoForm.bankNumb" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="电话号码" prop="telePhone">
                      <el-input v-model="empBaseInfoForm.telePhone" />
                      <el-input v-model="empBaseInfoForm.telePhone" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="入职日期" prop="entryDate">
                      <el-date-picker
                        v-model="empBaseInfoForm.entryDate"
                        :disabled="readon ? false : true"
                        type="date"
                        value-format="yyyy-MM-dd"
                        placeholder="选择日期"
@@ -412,71 +485,93 @@
                      />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="保险类型" prop="insuranceType">
                      <el-select v-model="empBaseInfoForm.insuranceType" placeholder="请选择保险类型">
                        <el-option label="(深户)五险一档" value="1" />
                        <el-option label="(非深户)五险一档" value="2" />
                        <el-option label="(非深户)五险二档" value="3" />
                        <el-option label="(非深户)五险三档" value="4" />
                        <el-option label="(非深户)四险一档" value="5" />
                    <el-form-item label="社保档位" prop="insuranceType">
                      <el-select
                        v-model="empBaseInfoForm.insuranceType"
                        placeholder="请选择社保档位"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in insuranceTypeOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="社保电脑号" prop="socialNumb">
                      <el-input v-model="empBaseInfoForm.socialNumb" />
                      <el-input v-model="empBaseInfoForm.socialNumb" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="招聘介绍人" prop="introducer">
                      <el-input v-model="empBaseInfoForm.introducer" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="招聘介绍人" prop="introducer">
                      <el-input v-model="empBaseInfoForm.introducer" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="入司工龄" prop="seniority">
                      <el-input v-model="empBaseInfoForm.seniority" />
                      <el-input v-model="empBaseInfoForm.seniority" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="工作证" prop="empCardStatus">
                      <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证">
                        <el-option label="未发" value="0" />
                        <el-option label="已发" value="1" />
                      <el-select
                        v-model="empBaseInfoForm.empCardStatus"
                        placeholder="请选择工作证"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in empCardStatusOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="家庭成员及关系" prop="family">
                      <el-input v-model="empBaseInfoForm.family" />
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row>
                  <el-col :span="8">
                    <el-form-item label="紧急联系电话" prop="urgencyPhone">
                      <el-input v-model="empBaseInfoForm.urgencyPhone" />
                    <el-form-item label="家庭成员及关系1" prop="family">
                      <el-input v-model="empBaseInfoForm.family" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="家庭成员及关系2" prop="urgencyPhone">
                      <el-input v-model="empBaseInfoForm.urgencyPhone" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="员工手册" prop="handbookStatus">
                      <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册">
                        <el-option label="未发" value="0" />
                        <el-option label="已发" value="1" />
                      <el-select
                        v-model="empBaseInfoForm.handbookStatus"
                        placeholder="请选择员工手册"
                        :disabled="readon ? false : true"
                      >
                        <el-option
                          v-for="dict in handbookStatusOptions"
                          :key="dict.dicItemCode"
                          :label="dict.dicItemName"
                          :value="dict.dicItemCode"
                        />
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="相关证件" prop="certificateList">
                      <el-select v-model="empBaseInfoForm.certificateList" placeholder="请选择相关证件">
                        <el-option label="高中毕业证" value="1" />
                        <el-option label="专科毕业证" value="2" />
                        <el-option label="本科毕业证" value="3" />
                      </el-select>
                    <el-form-item label="相关证件" prop="certificateListName">
                      <el-input v-model="empBaseInfoForm.certificateListName" :disabled="readon ? false : true" />
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="年假天数" prop="annualLeave">
                      <el-input v-model="empBaseInfoForm.annualLeave" disabled />
                    </el-form-item>
                  </el-col>
                </el-row>
@@ -487,29 +582,36 @@
            <div class="jbxxTitle">
              工作经历
            </div>
            <div class="jbxxCon">
              <el-table
                ref="workExperienceTable"
                :key="tableKey"
                :data="workExperienceData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                :highlight-current-row="true"
                @selection-change="onworkExperienceDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="workExperienceDataselection" align="center" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="workExperienceId" label="工作单位" />
                <el-table-column show-overflow-tooltip="true" prop="workUnit" label="工作单位" />
                <el-table-column show-overflow-tooltip="true" prop="workUnit" label="工作单位" />
                <el-table-column show-overflow-tooltip="true" prop="beginDate" label="开始日期" />
                <el-table-column show-overflow-tooltip="true" prop="endDate" label="结束日期" />
                <el-table-column show-overflow-tooltip="true" prop="jobContent" label="主要工作内容" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="workExperienceId" label="工作单位" />
                <el-table-column show-overflow-tooltip prop="beginDate" label="开始日期" />
                <el-table-column show-overflow-tooltip prop="endDate" label="结束日期" />
                <el-table-column show-overflow-tooltip prop="workUnit" label="工作单位" />
                <el-table-column show-overflow-tooltip prop="jobContent" label="主要工作内容" />
              </el-table>
              <pagination
                v-show="workExperienceDatatotal>0"
                :total="workExperienceDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initList"
              />
            </div>
          </div>
@@ -517,37 +619,52 @@
            <div class="jbxxTitle">
              体检信息
            </div>
            <div class="jbxxCon">
              <el-table
                ref="physicalExamTable"
                :data="physicalExamData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onphysicalExamDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="physicalExamDataselection" width="55" />
                <el-table-column v-if="fsnumShow" prop="physicalExamId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="hospital" label="体检医院" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="physicalExamDate" label="体检日期" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="physicalExamTypeName" label="体检类型" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="bloodPressure" label="血压" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="transaminase" label="转氨酶" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="ecgName" label="心电图" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="conclusion" label="体检结论" />
                <el-table-column show-overflow-tooltip="true" prop="reviewRecord" label="复查记录" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="physicalExamId" label="" />
                <el-table-column show-overflow-tooltip prop="hospital" label="体检医院" width="150" />
                <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="140" />
                <el-table-column
                  show-overflow-tooltip
                  prop="physicalExamType"
                  label="体检类型"
                  width="140"
                  :formatter="typeFormat"
                />
                <el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="140" />
                <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="140" />
                <el-table-column
                  show-overflow-tooltip
                  prop="ecg"
                  label="心电图"
                  width="140"
                  :formatter="ecgNameFormat"
                />
                <el-table-column show-overflow-tooltip prop="conclusion" label="体检结论" />
                <el-table-column show-overflow-tooltip prop="reviewRecord" label="复查记录" width="140" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="physicalExamDatatotal>0"
                :total="physicalExamDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initphysicalExamData"
              />
            </div>
          </div>
@@ -561,28 +678,36 @@
                ref="contractInfoTable"
                :data="contractInfoData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="oncontractInfoDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="contractInfoDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="contractId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="signingDate" label="合同签订日期" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="endDate" label="合同结束日期" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="contractPeriod" label="合同期限(年)" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="contractStatusName" label="合同状态" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="transactor" label="合同办理人" width="100" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="contractId" label="" />
                <el-table-column show-overflow-tooltip prop="signingDate" label="合同签订日期" />
                <el-table-column show-overflow-tooltip prop="endDate" label="合同结束日期" />
                <el-table-column show-overflow-tooltip prop="contractPeriod" label="合同期限(年)" />
                <el-table-column
                  show-overflow-tooltip
                  prop="contractStatus"
                  label="合同状态"
                  :formatter="contractStatusFormat"
                />
                <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="contractInfoDatatotal>0"
                :total="contractInfoDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initcontractInfoData"
              />
            </div>
          </div>
@@ -595,27 +720,36 @@
                ref="jobChangeTable"
                :data="jobChangeData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
              >
                <el-table-column show-overflow-tooltip="true" prop="newDeptName" label="现部门" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="newJobName" label="现岗位" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="oldDeptName" label="原部门" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="oldJobName" label="原岗位" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="changeDate" label="调岗日期" />
                <el-table-column show-overflow-tooltip="true" prop="changeType" label="调岗类型">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.changeType === '2' ? '升职': '' }}
                    {{ scope.row.changeType === '3' ? '调动': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip prop="allDeptName" label="现部门" />
                <el-table-column show-overflow-tooltip prop="newJobName" label="现岗位" />
                <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="180" />
                <el-table-column show-overflow-tooltip prop="oldDeptName" label="原部门" />
                <el-table-column show-overflow-tooltip prop="oldJobName" label="原岗位" />
                <el-table-column show-overflow-tooltip prop="changeDate" label="调岗日期" />
                <el-table-column
                  show-overflow-tooltip
                  prop="changeType"
                  label="调岗类型"
                  :formatter="changeTypeFormat"
                />
                <el-table-column show-overflow-tooltip prop="changeReason" label="调岗理由" />
              </el-table>
              <pagination
                v-show="jobChangeDatatotal>0"
                :total="jobChangeDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initjobChangeData"
              />
            </div>
          </div>
@@ -623,41 +757,38 @@
            <div class="jbxxTitle">
              请假记录
            </div>
            <div class="jbxxCon">
              <el-table
                ref="leaveInfoTable"
                :data="leaveInfoData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onleaveInfoDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="leaveInfoDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="leaveId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="证件号码" />
                <el-table-column show-overflow-tooltip="true" prop="beginTime" label="开始时间" />
                <el-table-column show-overflow-tooltip="true" prop="endTime" label="结束时间" />
                <el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假天数" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="leaveType" label="请假类型" width="100">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.leaveType === '1' ? '事假': '' }}
                    {{ scope.row.leaveType === '2' ? '病假': '' }}
                    {{ scope.row.leaveType === '3' ? '调休假': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="returnDate" label="到岗时间" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="leaveId" label="" />
                <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="180" />
                <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="180" />
                <el-table-column show-overflow-tooltip prop="leaveDay" label="请假天数" width="100" />
                <el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" :formatter="leaveTypeFormat" />
                <el-table-column show-overflow-tooltip prop="returnDate" label="到岗时间" width="180" />
                <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="100" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="leaveInfoDatatotal>0"
                :total="leaveInfoDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initleaveInfoData"
              />
            </div>
          </div>
@@ -665,70 +796,75 @@
            <div class="jbxxTitle">
              辞职申请
            </div>
            <div class="jbxxCon">
              <el-table
                ref="resignTable"
                :data="resignData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onresignDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="resignDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="resignId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="证件号码" />
                <el-table-column show-overflow-tooltip="true" prop="applayDate" label="辞职申请日期" />
                <el-table-column show-overflow-tooltip="true" prop="reason" label="辞职事由" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="resignId" label="" />
                <el-table-column show-overflow-tooltip prop="applayDate" label="辞职申请日期" />
                <el-table-column show-overflow-tooltip prop="reason" label="辞职事由" />
                <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="resignDatatotal>0"
                :total="resignDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initresignData"
              />
            </div>
          </div>
          <div ref="lzdykq" class="lzdykq">
            <div class="jbxxTitle">
              考勤情况
              离职当月考勤
            </div>
            <div class="jbxxCon">
              <el-table
                ref="dimissionAttendTable"
                :data="dimissionAttendData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="ondimissionAttendDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="dimissionAttendDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="dimissionAttendId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="员工姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="attendMonth" label="离职考勤月份" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="attendDays" label="出勤天数" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="overtimeDay" label="加班(天)" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="overtimeHour" label="加班(小时)" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deduct" label="有无代扣款项" width="180" />
                <el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假(天)" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="absenteeism" label="旷工(天)" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="dimissionAttendId" label="" />
                <el-table-column show-overflow-tooltip prop="attendMonth" label="离职考勤月份" />
                <el-table-column show-overflow-tooltip prop="attendDays" label="出勤天数" width="150" />
                <el-table-column show-overflow-tooltip prop="overtimeDay" label="加班(天)" width="150" />
                <el-table-column show-overflow-tooltip prop="overtimeHour" label="加班(小时)" />
                <el-table-column show-overflow-tooltip prop="deduct" label="有无代扣款项" width="180" />
                <el-table-column show-overflow-tooltip prop="leaveDay" label="请假(天)" />
                <el-table-column show-overflow-tooltip prop="absenteeism" label="旷工(天)" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="dimissionAttendDatatotal>0"
                :total="dimissionAttendDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initdimissionAttendData"
              />
            </div>
          </div>
@@ -741,20 +877,36 @@
                ref="dimissionLogTable"
                :data="dimissionLogData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
              >
                <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" />
                <el-table-column show-overflow-tooltip="true" prop="dimissionDate" label="离职日期" />
                <el-table-column show-overflow-tooltip="true" prop="selfLeaveDay" label="自离天数" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                  EmpLeaveInfo
                </el-table-column>
                <el-table-column show-overflow-tooltip prop="deptName" label="部门/护卫点" />
                <el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" />
                <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" />
                <el-table-column
                  show-overflow-tooltip
                  prop="dimissionType"
                  label="离职类型"
                  :formatter="dimissionTypeFormat"
                />
                <el-table-column show-overflow-tooltip prop="selfLeaveDay" label="自离天数" />
                <el-table-column show-overflow-tooltip prop="reporter" label="报备人" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="dimissionLogDatatotal>0"
                :total="dimissionLogDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initdimissionLogData"
              />
            </div>
          </div>
@@ -762,34 +914,36 @@
            <div class="jbxxTitle">
              失业金领取
            </div>
            <div class="jbxxCon">
              <el-table
                ref="unemploymentTable"
                :data="unemploymentData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onunemploymentDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="unemploymentDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="unemploymentId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="180" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="applayDate" label="失业金申请日期" />
                <el-table-column show-overflow-tooltip="true" prop="applayReason" label="申报事由" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="unemploymentId" label="" />
                <el-table-column show-overflow-tooltip prop="applayDate" label="失业金申请日期" width="180" />
                <el-table-column show-overflow-tooltip prop="applayReason" label="申报事由" />
                <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="180" />
                <el-table-column show-overflow-tooltip prop="auditor" label="审核人" width="180" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="unemploymentDatatotal>0"
                :total="unemploymentDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initunemploymentData"
              />
            </div>
          </div>
@@ -797,54 +951,53 @@
            <div class="jbxxTitle">
              社保申请
            </div>
            <div class="jbxxCon">
              <el-table
                ref="insuranceTable"
                :data="insuranceData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="oninsuranceDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="insuranceDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="insuranceId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="180" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="applayDate" label="社保申请日期" />
                <el-table-column show-overflow-tooltip="true" prop="proposer" label="申请人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="insuranceGaers" label="社保档位" width="100">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)': '' }}
                    {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)': '' }}
                    {{ scope.row.insuranceGaers === '3' ? '非深户(五险二档)': '' }}
                    {{ scope.row.insuranceGaers === '4' ? '调休假': '' }}
                    {{ scope.row.insuranceGaers === '5' ? '调休假': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="reportStatus" label="是否已报告" width="100">
                  <template slot-scope="scope">
                    {{ scope.row.reportStatus === 1 ? '未报告': '' }}
                    {{ scope.row.reportStatus === 2 ? '已报告': '' }}
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="applayStatus" label="状态" width="100">
                  <template slot-scope="scope">
                    {{ scope.row.applayStatus === 1 ? '未申请': '' }}
                    {{ scope.row.applayStatus === 2 ? '已申请': '' }}
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="insuranceId" label="" />
                <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" width="180" />
                <el-table-column show-overflow-tooltip prop="proposer" label="申请人" width="180" />
                <el-table-column
                  show-overflow-tooltip
                  prop="insuranceGaers"
                  label="社保档位"
                  :formatter="insuranceGaersFormat"
                />
                <el-table-column
                  show-overflow-tooltip
                  prop="reportStatus"
                  label="是否已报告"
                  :formatter="reportStatusFormat"
                />
                <el-table-column
                  show-overflow-tooltip
                  prop="applayStatus"
                  label="状态"
                  :formatter="applayStatusFormat"
                />
                <el-table-column show-overflow-tooltip prop="auditor" label="审核人" width="180" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="insuranceDatatotal>0"
                :total="insuranceDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initinsuranceData"
              />
            </div>
          </div>
@@ -852,48 +1005,64 @@
            <div class="jbxxTitle">
              意外险案件
            </div>
            <div class="jbxxCon">
              <el-table
                ref="accidentCasesTable"
                :data="accidentCasesData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onaccidentCasesDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="accidentCasesDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="accidentId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位名称" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" />
                <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" />
                <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
                <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="意外险诊断" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="80">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
                    {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="reprotTime" label="报案时间" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="sbumitBy" label="递交人" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="expensesFee" label="医疗总费用" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="innsureFee" label="保险赔付费用" width="80" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="accidentId" label="" />
                <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="110">
                  <template slot-scope="scope">
                    <span class="table-button" @click="editAccidentCases(scope.row,9)">{{
                      scope.row.injuredTime
                    }}</span>
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="200" />
                <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="80" />
                <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="300" />
                <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" width="150" />
                <!--                <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="100" />-->
                <!--                <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" />-->
                <el-table-column
                  show-overflow-tooltip
                  prop="hospitalizatioFlag"
                  label="是否住院"
                  width="80"
                  :formatter="hospitalizatioFlagFormat"
                />
                <!--                <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="60" />-->
                <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="100" />
                <!--                <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />-->
                <!--                <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="100" />-->
                <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
                <el-table-column show-overflow-tooltip prop="innsureFee" label="保险赔付费用" width="120" />
                <el-table-column
                  show-overflow-tooltip
                  prop="settleStatus"
                  label="是否结案"
                  width="120"
                  :formatter="settleStatusFormat"
                />
              </el-table>
              <pagination
                v-show="accidentCasesDatatotal>0"
                :total="accidentCasesDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initaccidentCasesData"
              />
            </div>
          </div>
@@ -901,98 +1070,113 @@
            <div class="jbxxTitle">
              工伤案件
            </div>
            <div class="jbxxCon">
              <el-table
                ref="occupationalTable"
                :data="occupationalData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onoccupationalDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="occupationalDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="occupationalId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="injuredTime" label="受伤日期" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="injuredAddress" label="受伤地点" />
                <el-table-column show-overflow-tooltip="true" prop="injuredPart" label="受伤部位" />
                <el-table-column show-overflow-tooltip="true" prop="injuredDescribe" label="受伤经过描述" />
                <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="工伤诊断" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="80">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
                    {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="reportTime" label="报案时间" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="sbumitBy" label="递交人" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="expensesFee" label="医疗总费用" width="80" />
                <el-table-column show-overflow-tooltip="true" prop="compensated" label="已赔付医药费用" width="80" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="occupationalId" label="" />
                <el-table-column show-overflow-tooltip prop="injuredTime" label="受伤日期" width="110">
                  <template slot-scope="scope">
                    <span class="table-button" @click="editOccupational(scope.row)">{{ scope.row.injuredTime }}</span>
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip prop="injuredAddress" label="受伤地点" width="100" />
                <el-table-column show-overflow-tooltip prop="injuredPart" label="受伤部位" width="100" />
                <el-table-column show-overflow-tooltip prop="injuredDescribe" label="受伤经过描述" width="140" />
                <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" width="80" />
                <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" width="120" />
                <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" width="100" />
                <el-table-column
                  show-overflow-tooltip
                  prop="hospitalizatioFlag"
                  label="是否住院"
                  width="80"
                  :formatter="hospitalizatioFlagFormat"
                />
                <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="80" />
                <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="100" />
                <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" width="120" />
                <el-table-column show-overflow-tooltip prop="sbumitBy" label="递交人" width="80" />
                <el-table-column show-overflow-tooltip prop="expensesFee" label="医疗总费用" width="100" />
                <el-table-column show-overflow-tooltip prop="compensated" label="已赔付医药费用" width="120" />
                <el-table-column
                  show-overflow-tooltip
                  prop="settleStatus"
                  label="是否结案"
                  width="120"
                  :formatter="settleStatusFormat"
                />
              </el-table>
              <pagination
                v-show="occupationalDatatotal>0"
                :total="occupationalDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initoccupationalData"
              />
            </div>
          </div>
          <div ref="lzaj" class="lzaj">
            <div class="jbxxTitle">
              劳资案件
              仲裁案件
            </div>
            <div class="jbxxCon">
              <el-table
                ref="laborTroubleTable"
                :data="laborTroubleData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onlaborTroubleDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="laborTroubleDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="arbitrationId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="arbitrationDate" label="仲裁日期" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="arbitrationDate" label="仲裁日期" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="arbitrationType" label="仲裁类型">
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    {{ scope.row.arbitrationType === '01' ? '劳资纠纷': '' }}
                    {{ scope.row.arbitrationType === '02' ? '民事纠纷': '' }}
                    {{ scope.row.arbitrationType === '03' ? '合同纠纷': '' }}
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="arbitrationReason" label="仲裁事由" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip="true" prop="arbitrationPay" label="仲裁赔付(元)" width="120" />
                <el-table-column show-overflow-tooltip="true" prop="arbitrationStatus" label="状态" width="100">
                  <template slot-scope="scope">
                    {{ scope.row.arbitrationStatus === 0 ? '未结案': '' }}
                    {{ scope.row.arbitrationStatus === 1 ? '已结案': '' }}
                  </template>
                </el-table-column>
                <el-table-column show-overflow-tooltip="true" prop="settleDate" label="案结日期" width="180" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="arbitrationId" label="" />
                <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
                <el-table-column
                  show-overflow-tooltip
                  prop="arbitrationType"
                  label="仲裁类型"
                  :formatter="arbitrationTypeFormat"
                />
                <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" />
                <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="100" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="180" />
                <el-table-column
                  show-overflow-tooltip
                  prop="arbitrationStatus"
                  label="是否结案"
                  width="100"
                  :formatter="arbitrationStatusFormat"
                />
                <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="100" />
              </el-table>
              <pagination
                v-show="laborTroubleDatatotal>0"
                :total="laborTroubleDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initlaborTroubleData"
              />
            </div>
          </div>
@@ -1000,33 +1184,35 @@
            <div class="jbxxTitle">
              不良记录
            </div>
            <div class="jbxxCon">
              <el-table
                ref="badRecordTable"
                :data="badRecordData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onbadRecordDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="onbadRecordDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="badId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="badDate" label="不良记录日期" />
                <el-table-column show-overflow-tooltip="true" prop="badContent" label="不良记录描述" />
                <el-table-column show-overflow-tooltip="true" prop="reporter" label="汇报人" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="badId" label="" />
                <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="180" />
                <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" />
                <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="180" />
                <el-table-column show-overflow-tooltip prop="remark" label="备注" />
              </el-table>
              <pagination
                v-show="badRecordDatatotal>0"
                :total="badRecordDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initbadRecordData"
              />
            </div>
          </div>
@@ -1034,69 +1220,252 @@
            <div class="jbxxTitle">
              备注
            </div>
            <div class="jbxxCon">
              <el-table
                ref="remarkInfoTable"
                :data="remarkInfoData"
                stripe
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
                border
                :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6','text-align':'center'}"
                :cell-style="{padding:'7px 0','text-align':'center'}"
                style="width: 100%;"
                @selection-change="onremarkInfoDataselection"
              >
                <el-table-column show-overflow-tooltip="true" type="onremarkInfoDataselection" width="55" />
                <el-table-column v-if="fsnumShow" show-overflow-tooltip="true" prop="remarkId" label="" />
                <el-table-column show-overflow-tooltip="true" prop="empNumb" label="员工编号" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="deptName" label="护卫点" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" />
                <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
                <el-table-column show-overflow-tooltip="true" prop="remarkDate" label="备注日期" />
                <el-table-column show-overflow-tooltip="true" prop="remarkContent" label="备注信息" />
                <el-table-column show-overflow-tooltip type="index" label="序号" align="center" width="55">
                  <template slot-scope="scope">
                    <span v-text="getIndex(scope.$index)" />
                  </template>
                </el-table-column>
                <el-table-column v-if="fsnumShow" show-overflow-tooltip prop="remarkId" label="" />
                <el-table-column show-overflow-tooltip prop="remarkDate" label="备注日期" width="180" />
                <el-table-column show-overflow-tooltip prop="remarkContent" label="备注信息" />
              </el-table>
              <pagination
                v-show="remarkInfoDatatotal>0"
                :total="remarkInfoDatatotal"
                :page.sync="pagination.num"
                :limit.sync="pagination.size"
                @pagination="initremarkInfoData"
              />
            </div>
          </div>
          <div ref="jljt" class="jljt">
            <div class="jbxxTitle">
              记录截图
            <div class="jbxxTitle2">
              <el-col :span="18">
                上传附件
              </el-col>
              <el-col :span="6" class="search">
                <el-input
                  v-model="fileName"
                  maxlength="20"
                  minlength="1"
                  clearable
                  placeholder="请输入文件名"
                  show-word-limit
                  style="width:290px;margin-right: 10px;"
                />
                <el-button type="primary" @click="findFileByFileName()">查询</el-button>
              </el-col>
            </div>
            <el-button
              class="filter-item"
              type="primary"
              @click.native.prevent="dialogShow"
            >
              查看并上传
            </el-button>
            <div class="jbxxCon" />
          </div>
            <div class="jbxxCon">
              <div class="zs-main">
                <!--                <el-row class="search-title">-->
                <!--                  <el-col :span="18" class="title">-->
                <!--                    &lt;!&ndash;                  <div class="zs-title">上传附件</div>&ndash;&gt;-->
                <!--                    <p />-->
                <!--                  </el-col>-->
          <div ref="xgfj" class="xgfj">
            <div class="jbxxTitle">
              相关附件
                <!--                </el-row>-->
                <el-container style="background-color: #fff;">
                  <el-aside width="210px" style="background-color: #fff;text-align: center;padding-top: 0">
                    <h4 style="margin-top: 0">{{ empBaseInfoForm.empName }}:{{ empBaseInfoForm.deptName }}</h4>
                    <el-timeline>
                      <el-timeline-item
                        v-for="(activity, index) in activities"
                        :key="index"
                        :icon="activity.icon"
                        :type="activity.type"
                        :color="activity.color"
                        :size="activity.size"
                        placement="bottom"
                      >
                        <span
                          style="position: relative; top: -5px;"
                          @click="clickTimeline(index, activity.id)"
                        >
                          {{ activity.timestamp }}</span>
                      </el-timeline-item>
                    </el-timeline>
                  </el-aside>
                  <el-container>
                    <el-header class="text-header">
                      <el-row>
                        <el-col :span="24">
                          <i
                            class="el-icon-bell"
                            style=" color: #a32c30; margin-right: 10px;"
                          />提示:文件不要超过10个,单个文件大小不超过50M,单击或者拖动文件到下面区域,支持单个或批量文件的上传。
                        </el-col>
                      </el-row>
                      <el-row style="background-color: rgba(0,0,0,0.2);">
                        <el-col :span="16">
                          <el-checkbox
                            v-model="checkAll"
                            class="myRedCheckBox"
                            style="color: #000; margin-left: 20px;"
                            @change="checkAllMethods()"
                          >全选
                          </el-checkbox>
                        </el-col>
                        <el-col :span="8">
                          <el-button
                            type="primary"
                            icon="el-icon-download"
                            size="mini"
                            @click="download()"
                          >下载
                          </el-button>
                          <el-button
                            class="pri-del-btn"
                            type="primary"
                            icon="el-icon-search"
                            size="mini"
                            @click="delFile()"
                          >删除
                          </el-button>
                          <el-popconfirm title="是否移动附件?" @onConfirm="mvdialogFormVisible = true">
                            <el-button slot="reference" type="danger">转存</el-button>
                          </el-popconfirm>
                        </el-col>
                      </el-row>
                    </el-header>
                    <el-dialog
                      title="移动文件"
                      :visible.sync="mvdialogFormVisible"
                      width="25%"
                      class="add-label"
                      append-to-body
                    >
                      <el-form ref="mvlabelfrom" :model="labelfrom" :rules="mvrules">
                        <el-form-item
                          label="目录名称:"
                          :label-width="formLabelWidth"
                          prop="labelid"
                        >
                          <el-select v-model="labelfrom.labelid" placeholder="请选择移动的标签">
                            <el-option
                              v-for="items in activities"
                              :key="items.id"
                              :value="items.id"
                              :label="items.timestamp"
                            />
                          </el-select>
                        </el-form-item>
                      </el-form>
                      <div slot="footer" class="dialog-footer">
                        <el-button @click="mvdialogFormVisible = false">取 消</el-button>
                        <el-button
                          type="primary"
                          @click="mvlabel('mvlabelfrom')"
                        >确 定
                        </el-button>
                      </div>
                    </el-dialog>
                    <el-main style="background-color: #fff;margin-top: 5%;">
                      <el-row v-for="(data, index) in filesUploadData" :key="index">
                        <template v-for="(node, nodeIndex) in data.node">
                          <el-col v-if="node.isUpload === false" :key="node.accessoryid" :span="3">
                            <el-card
                              shadow="never"
                              @click.native="clickCard(index * 8 + nodeIndex)"
                            >
                              <el-image
                                v-if="'tif,bmp,jpg,png,gif'.indexOf(node.filesformat) == -1"
                                :src="showFileImg(node.filesformat)"
                                class="uploading-image"
                                :preview-src-list="srcList"
                                @click="clickImg(node)"
                              />
                              <el-tooltip
                                v-if="'tif,bmp,jpg,png,gif'.indexOf(node.filesformat) == -1"
                                class="item"
                                effect="dark"
                                :content="node.filesname"
                                placement="bottom"
                              >
                                <div style="padding-top: 14px;text-align: center">
                                  <el-checkbox
                                    v-model="checkedArr[index * 8 + nodeIndex].isChecked"
                                    class="myRedCheckBox"
                                  >{{ node.filesname }}
                                  </el-checkbox>
                                </div>
                              </el-tooltip>
                              <el-tooltip
                                v-if="'tif,bmp,jpg,png,gif'.indexOf(node.filesformat) != -1"
                                class="item"
                                effect="dark"
                                :content="node.filesname"
                                placement="bottom"
                              >
                                <div style="padding-top: 14px;">
                                  <el-image
                                    style="width: 100px; height: 80px;margin-top: -10px;"
                                    :src="getImg+node.accessoryid"
                                    :preview-src-list="srcList"
                                    @click="clickImg(node)"
                                  />
                                  <el-checkbox
                                    v-model="checkedArr[index * 8 + nodeIndex].isChecked"
                                    class="myRedCheckBox"
                                  >
                                    {{ node.filesid }}
                                    {{ node.filesname }}
                                  </el-checkbox>
                                </div>
                              </el-tooltip>
                            </el-card>
                          </el-col>
                          <el-col v-if="node.isUpload" :key="node.filesid" :span="3">
                            <el-card shadow="never">
                              <el-upload
                                class="avatar-uploader"
                                :action="uploadSinglePath"
                                :show-file-list="false"
                                :before-upload="beforeAvatarUpload"
                                :headers="headers()"
                                :data="fileDate"
                                :on-success="handleAvatarSuccess"
                                :on-error="handleAvatarError"
                                :multiple="true"
                                :limit="10"
                                drag
                              >
                                <i class="el-icon-upload" />
                              </el-upload>
                            </el-card>
                          </el-col>
                        </template>
                      </el-row>
                    </el-main>
                  </el-container>
                </el-container>
              </div>
            </div>
            <el-button
              class="filter-item"
              type="primary"
              @click.native.prevent="dialogShow"
            >
              查看并上传
            </el-button>
            <div class="jbxxCon" />
          </div>
        </div>
      </div>
      <el-dialog title="附件管理" append-to-body="true" :visible.sync="dialogShowUploadfj" width="80%" class="fjgl-class" top="10px" @close="closeDialog()">
        <uploadfj v-if="dialogShowUploadfj" :rowitem="rowitem" />
      </el-dialog>
      <el-dialog title="工作经历" append-to-body="true" :visible.sync="dialogshowArr[1].show" width="50%">
        <el-form ref="workExperienceForm" :model="workExperienceForm" :rules="workExperienceRules" label-position="right" label-width="120px">
      <el-dialog title="工作经历" append-to-body :visible.sync="dialogshowArr[1].show" width="50%">
        <el-form
          ref="workExperienceForm"
          :model="workExperienceForm"
          :rules="workExperienceRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1109,8 +1478,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="workExperienceForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
@@ -1118,8 +1491,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="workExperienceForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="workExperienceForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="workExperienceForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="workExperienceForm.jobName" />
@@ -1165,11 +1538,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putWorkExperience('workExperienceForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="体检信息" append-to-body="true" :visible.sync="dialogshowArr[2].show" width="50%">
        <el-form ref="physicalExamForm" :model="physicalExamForm" :rules="physicalExamRules" label-position="right" label-width="120px">
      <el-dialog title="体检信息" append-to-body :visible.sync="dialogshowArr[2].show" width="50%">
        <el-form
          ref="physicalExamForm"
          :model="physicalExamForm"
          :rules="physicalExamRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1182,8 +1561,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="physicalExamForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="体检医院" prop="hospital">
@@ -1194,8 +1577,12 @@
                  v-model="physicalExamForm.physicalExamType"
                  placeholder="请选择体检类型"
                >
                  <el-option label="普通体检" value="1" />
                  <el-option label="员工体检" value="2" />
                  <el-option
                    v-for="dict in physicalExamTypeOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="转氨酶" prop="transaminase">
@@ -1206,8 +1593,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="physicalExamForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="physicalExamForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="physicalExamForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="physicalExamForm.jobName" />
@@ -1225,8 +1612,12 @@
              </el-form-item>
              <el-form-item label="心电图" prop="ecg">
                <el-select v-model="physicalExamForm.ecg" placeholder="ecg">
                  <el-option label="正常" value="1" />
                  <el-option label="异常" value="0" />
                  <el-option
                    v-for="dict in ecgOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
@@ -1251,11 +1642,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putPhysicalExam('physicalExamForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="合同信息" append-to-body="true" :visible.sync="dialogshowArr[3].show" width="50%">
        <el-form ref="contractInfoForm" :model="contractInfoForm" :rules="contractInfoRules" label-position="right" label-width="120px">
      <el-dialog title="合同信息" append-to-body :visible.sync="dialogshowArr[3].show" width="50%">
        <el-form
          ref="contractInfoForm"
          :model="contractInfoForm"
          :rules="contractInfoRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1268,8 +1665,12 @@
              </el-form-item>
              <el-form-item label="性别" this-emp-base-info-form="sex">
                <el-select v-model="contractInfoForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="合同签订日期" prop="signingDate">
@@ -1285,8 +1686,12 @@
                  v-model="contractInfoForm.contractStatus"
                  placeholder="请选择合同状态"
                >
                  <el-option label="新签" value="1" />
                  <el-option label="续签" value="2" />
                  <el-option
                    v-for="dict in contractStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="合同办理人" prop="transactor">
@@ -1297,8 +1702,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="contractInfoForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="contractInfoForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="contractInfoForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="contractInfoForm.jobName" />
@@ -1326,11 +1731,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putContractInfo('contractInfoForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="离职当月考勤" append-to-body="true" :visible.sync="dialogshowArr[4].show" width="50%">
        <el-form ref="dimissionAttendForm" :model="dimissionAttendForm" :rules="dimissionAttendRules" label-position="right" label-width="120px">
      <el-dialog title="离职当月考勤" append-to-body :visible.sync="dialogshowArr[4].show" width="50%">
        <el-form
          ref="dimissionAttendForm"
          :model="dimissionAttendForm"
          :rules="dimissionAttendRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1343,8 +1754,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="dimissionAttendForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="离职考勤月份" prop="attendMonth">
@@ -1369,8 +1784,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="dimissionAttendForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="dimissionAttendForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="dimissionAttendForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="dimissionAttendForm.jobName" />
@@ -1398,11 +1813,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putDimissionAttend('dimissionAttendForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="请假记录" append-to-body="true" :visible.sync="dialogshowArr[5].show" width="50%">
        <el-form ref="leaveInfoForm" :model="leaveInfoForm" :rules="leaveInfoRules" label-position="right" label-width="120px">
      <el-dialog title="请假记录" append-to-body :visible.sync="dialogshowArr[5].show" width="50%">
        <el-form
          ref="leaveInfoForm"
          :model="leaveInfoForm"
          :rules="leaveInfoRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1415,8 +1836,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="leaveInfoForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="请假开始时间" prop="beginTime">
@@ -1431,8 +1856,12 @@
              <el-form-item label="请假类型" prop="leaveType">
                <el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型">
                  <el-option label="事假" value="1" />
                  <el-option label="病假" value="2" />
                  <el-option
                    v-for="dict in leaveTypeOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
@@ -1444,8 +1873,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="leaveInfoForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="leaveInfoForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="leaveInfoForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="leaveInfoForm.jobName" />
@@ -1485,10 +1914,10 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putLeaveInfo('leaveInfoForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="辞职申请" append-to-body="true" :visible.sync="dialogshowArr[6].show" width="50%">
      <el-dialog title="辞职申请" append-to-body :visible.sync="dialogshowArr[6].show" width="50%">
        <el-form ref="resignForm" :model="resignForm" :rules="resignRules" label-position="right" label-width="120px">
          <el-row>
            <el-col :span="12">
@@ -1502,8 +1931,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="resignForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="辞职申请日期" prop="applayDate">
@@ -1519,8 +1952,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="resignForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="resignForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="resignForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="resignForm.jobName" />
@@ -1547,11 +1980,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putResign('resignForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="失业金领取" append-to-body="true" :visible.sync="dialogshowArr[7].show" width="50%">
        <el-form ref="unemploymentForm" :model="unemploymentForm" :rules="unemploymentRules" label-position="right" label-width="120px">
      <el-dialog title="失业金领取" append-to-body :visible.sync="dialogshowArr[7].show" width="50%">
        <el-form
          ref="unemploymentForm"
          :model="unemploymentForm"
          :rules="unemploymentRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1564,8 +2003,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="unemploymentForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="失业金申请日期" prop="applayDate" label-width="130px">
@@ -1584,8 +2027,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="unemploymentForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="unemploymentForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="unemploymentForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="unemploymentForm.jobName" />
@@ -1609,11 +2052,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putUnemployment('unemploymentForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="社保申请" append-to-body="true" :visible.sync="dialogshowArr[8].show" width="50%">
        <el-form ref="insuranceForm" :model="insuranceForm" :rules="insuranceRules" label-position="right" label-width="120px">
      <el-dialog title="社保申请" append-to-body :visible.sync="dialogshowArr[8].show" width="50%">
        <el-form
          ref="insuranceForm"
          :model="insuranceForm"
          :rules="insuranceRules"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1626,8 +2075,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="insuranceForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="社保申请日期" prop="applayDate">
@@ -1640,17 +2093,22 @@
              </el-form-item>
              <el-form-item label="社保档位" prop="insuranceGaers">
                <el-select v-model="insuranceForm.insuranceGaers" placeholder="请选择社保档位">
                  <el-option label="(深户)五险一档" value="1" />
                  <el-option label="(非深户)五险一档" value="2" />
                  <el-option label="(非深户)五险二档" value="3" />
                  <el-option label="(非深户)五险三档" value="4" />
                  <el-option label="(非深户)四险一档" value="5" />
                  <el-option
                    v-for="dict in insuranceGaersOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="状态" prop="applayStatus">
                <el-select v-model="insuranceForm.applayStatus" placeholder="请选择状态">
                  <el-option label="未申请" value="1" />
                  <el-option label="已申请" value="2" />
                  <el-option
                    v-for="dict in applayStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
@@ -1658,8 +2116,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="insuranceForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="insuranceForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="insuranceForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="insuranceForm.jobName" />
@@ -1669,8 +2127,12 @@
              </el-form-item>
              <el-form-item label="是否已经报告">
                <el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告">
                  <el-option label="未报告" value="1" />
                  <el-option label="已报告" value="2" />
                  <el-option
                    v-for="dict in reportStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="审批人">
@@ -1688,11 +2150,16 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putInsurance('insuranceForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="意外险案件" append-to-body="true" :visible.sync="dialogshowArr[9].show" width="50%">
        <el-form ref="accidentCasesForm" :model="accidentCasesForm" :rules="accidentCasesRules" label-position="right" label-width="120px">
      <el-dialog title="意外险案件" append-to-body :visible.sync="dialogshowArr[9].show" width="50%">
        <el-form
          ref="accidentCasesForm"
          :model="accidentCasesForm"
          label-position="right"
          label-width="120px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1705,8 +2172,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="accidentCasesForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="受伤时间" prop="injuredTime">
@@ -1725,8 +2196,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="accidentCasesForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="accidentCasesForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="accidentCasesForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="accidentCasesForm.jobName" />
@@ -1754,8 +2225,12 @@
              </el-form-item>
              <el-form-item label="是否住院" prop="hospitalizatioFlag">
                <el-select v-model="accidentCasesForm.hospitalizatioFlag" placeholder="是否住院">
                  <el-option label="未住院" value="0" />
                  <el-option label="已住院" value="1" />
                  <el-option
                    v-for="dict in hospitalizatioFlagOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="报案时间">
@@ -1813,20 +2288,32 @@
              </el-form-item>
              <el-form-item label="状态" prop="settleStatus">
                <el-select v-model="accidentCasesForm.settleStatus" placeholder="">
                  <el-option label="已结案" value="1" />
                  <el-option label="未结案" value="0" />
                  <el-option
                    v-for="dict in settleStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="备注">
                <el-input v-model="accidentCasesForm.remark" />
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putAccidentCases('accidentCasesForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
          <el-button v-if="dialogshowArr[9].read" type="primary" @click="putAccidentCases('accidentCasesForm')">保 存
          </el-button>
        </div>
      </el-dialog>
      <el-dialog title="工伤案件" append-to-body="true" :visible.sync="dialogshowArr[10].show" width="50%">
        <el-form ref="occupationalForm" :model="occupationalForm" :rules="occupationalRules" label-position="right" label-width="140px">
      <el-dialog title="工伤案件" append-to-body :visible.sync="dialogshowArr[10].show" width="50%">
        <el-form
          ref="occupationalForm"
          :model="occupationalForm"
          label-position="right"
          label-width="140px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -1839,8 +2326,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="occupationalForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="受伤时间" prop="injuredTime">
@@ -1859,8 +2350,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="occupationalForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="occupationalForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="occupationalForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="occupationalForm.jobName" />
@@ -1888,8 +2379,12 @@
              </el-form-item>
              <el-form-item label="是否住院" prop="hospitalizatioFlag">
                <el-select v-model="occupationalForm.hospitalizatioFlag" placeholder="是否住院">
                  <el-option label="未住院" value="0" />
                  <el-option label="已住院" value="1" />
                  <el-option
                    v-for="dict in hospitalizatioFlagOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="报案时间" prop="'reportTime">
@@ -1984,8 +2479,12 @@
              </el-form-item>
              <el-form-item label="是否结案" prop="settleStatus">
                <el-select v-model="occupationalForm.settleStatus" placeholder="">
                  <el-option label="已结案" value="1" />
                  <el-option label="未结案" value="0" />
                  <el-option
                    v-for="dict in settleStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
@@ -2000,12 +2499,19 @@
          </el-row>
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putOccupational('occupationalForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
          <el-button v-if="dialogshowArr[10].read" type="primary" @click="putOccupational('occupationalForm')">保 存
          </el-button>
        </div>
      </el-dialog>
      <el-dialog title="劳资案件" append-to-body="true" :visible.sync="dialogshowArr[11].show" width="50%">
        <el-form ref="laborTroubleForm" :model="laborTroubleForm" :rules="laborTroubleRules" label-position="right" label-width="140px">
      <el-dialog title="仲裁案件" append-to-body :visible.sync="dialogshowArr[11].show" width="50%">
        <el-form
          ref="laborTroubleForm"
          :model="laborTroubleForm"
          :rules="laborTroubleRules"
          label-position="right"
          label-width="140px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -2018,8 +2524,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="laborTroubleForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="仲裁日期" prop="arbitrationDate">
@@ -2033,10 +2543,14 @@
              <el-form-item label="汇报人" prop="reporter">
                <el-input v-model="laborTroubleForm.reporter" />
              </el-form-item>
              <el-form-item label="状态" prop="arbitrationStatus">
              <el-form-item label="是否结案" prop="arbitrationStatus">
                <el-select v-model="laborTroubleForm.arbitrationStatus" placeholder="">
                  <el-option label="已结案" value="1" />
                  <el-option label="未结案" value="0" />
                  <el-option
                    v-for="dict in settleStatusOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
@@ -2044,21 +2558,28 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="laborTroubleForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="laborTroubleForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="laborTroubleForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="laborTroubleForm.jobName" />
              </el-form-item>
              <el-form-item label="仲裁类型" prop="arbitrationType">
                <el-select v-model="laborTroubleForm.arbitrationType" placeholder="请选择仲裁类型">
                  <el-option label="劳资纠纷" value="01" />
                  <el-option label="民事纠纷" value="02" />
                  <el-option label="合同纠纷" value="03" />
                  <el-option
                    v-for="dict in arbitrationTypeOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="仲裁赔付(元)" prop="'arbitrationPay">
                <el-input v-model="laborTroubleForm.arbitrationPay" oninput="value=value.replace(/^\.+|[^\d.]/g,'')" @blur="arbitrationPayChange" />
                <el-input
                  v-model="laborTroubleForm.arbitrationPay"
                  oninput="value=value.replace(/^\.+|[^\d.]/g,'')"
                  @blur="arbitrationPayChange"
                />
              </el-form-item>
              <el-form-item label="案结日期" prop="settleDate">
                <el-date-picker
@@ -2087,11 +2608,17 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putLaborTrouble('laborTroubleForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="不良记录" append-to-body="true" :visible.sync="dialogshowArr[12].show" width="50%">
        <el-form ref="badRecordForm" :model="badRecordForm" :rules="badRecordRules" label-position="right" label-width="140px">
      <el-dialog title="不良记录" append-to-body :visible.sync="dialogshowArr[12].show" width="50%">
        <el-form
          ref="badRecordForm"
          :model="badRecordForm"
          :rules="badRecordRules"
          label-position="right"
          label-width="140px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名" prop="empName">
@@ -2104,8 +2631,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="badRecordForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="不良记录日期" prop="badDate">
@@ -2121,8 +2652,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="badRecordForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="badRecordForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="badRecordForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="badRecordForm.jobName" />
@@ -2149,10 +2680,10 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putBadRecord('badRecordForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
      <el-dialog title="备注信息" append-to-body="true" :visible.sync="dialogshowArr[13].show" width="50%">
      <el-dialog title="备注信息" append-to-body :visible.sync="dialogshowArr[13].show" width="50%">
        <el-form
          ref="remarkInfoForm"
          :model="remarkInfoForm"
@@ -2172,8 +2703,12 @@
              </el-form-item>
              <el-form-item label="性别" prop="sex">
                <el-select v-model="remarkInfoForm.sex" placeholder="请选择性别">
                  <el-option label="男" value="1" />
                  <el-option label="女" value="2" />
                  <el-option
                    v-for="dict in sexOptions"
                    :key="dict.dicItemCode"
                    :label="dict.dicItemName"
                    :value="dict.dicItemCode"
                  />
                </el-select>
              </el-form-item>
              <el-form-item label="备注日期" prop="remarkDate">
@@ -2189,8 +2724,8 @@
              <el-form-item label="员工编号" prop="empNumb">
                <el-input v-model="remarkInfoForm.empNumb" />
              </el-form-item>
              <el-form-item label="部门(护卫点)" prop="deptName">
                <el-input v-model="remarkInfoForm.deptName" />
              <el-form-item label="部门(护卫点)" prop="allDeptName">
                <el-input v-model="remarkInfoForm.allDeptName" />
              </el-form-item>
              <el-form-item label="岗位" prop="jobName">
                <el-input v-model="remarkInfoForm.jobName" />
@@ -2207,9 +2742,81 @@
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="putRemarkInfo('remarkInfoForm')">保 存</el-button>
          <el-button @click="dialogIsShow()">取 消</el-button>
        </div>
      </el-dialog>
    </el-dialog>
    <!-- 上传方式选择弹窗 -->
    <el-dialog
      title="选择上传方式"
      :visible.sync="uploadChoiceDialogVisible"
      width="400px"
      :close-on-click-modal="false"
    >
      <div class="upload-choice-container">
        <div class="upload-choice-item" @click="choiceCamera">
          <i class="el-icon-camera" />
          <span>拍照上传</span>
        </div>
        <div class="upload-choice-item" @click="choiceFile">
          <i class="el-icon-folder-opened" />
          <span>文件上传</span>
        </div>
      </div>
    </el-dialog>
    <!-- 摄像头拍照弹窗 -->
    <el-dialog
      title="拍照上传"
      :visible.sync="cameraDialogVisible"
      width="640px"
      :close-on-click-modal="false"
      @close="closeCamera"
    >
      <div class="camera-container">
        <!-- 视频预览 -->
        <video
          v-show="!capturedImage"
          ref="video"
          class="camera-video"
          autoplay
          playsinline
        />
        <!-- 画布(用于拍照) -->
        <canvas ref="canvas" style="display: none;" />
        <!-- 拍照结果预览 -->
        <img
          v-if="capturedImage"
          :src="capturedImage"
          class="captured-image"
        >
      </div>
      <div slot="footer" class="dialog-footer">
        <el-button @click="closeCamera">取消</el-button>
        <el-button
          v-if="!capturedImage"
          type="primary"
          @click="takePhoto"
        >
          拍照
        </el-button>
        <el-button
          v-if="capturedImage"
          @click="retakePhoto"
        >
          重拍
        </el-button>
        <el-button
          v-if="capturedImage"
          type="primary"
          @click="confirmPhoto"
        >
          确认使用
        </el-button>
      </div>
    </el-dialog>
  </div>
</template>
@@ -2218,9 +2825,14 @@
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import Pagination from '@/components/Pagination'
import { getToken } from '@/utils/auth'
import { pages } from '@/settings'
import dictMixin from '../../utils/dictMixin'
export default {
  name: 'ArchivesChange',
  name: 'ArchivesEdit',
  components: { Treeselect, Pagination },
  mixins: [dictMixin],
  props: {
    dialogVisible: {
      type: Boolean,
@@ -2237,14 +2849,37 @@
  },
  data() {
    return {
      rowitem: {},
      htmlTitle: 'xx',
      nowTime: '',
      mvrules: {
        labelid: [{ required: true, message: '请选择标签', trigger: 'change' }]
      },
      mvdialogFormVisible: false,
      uploadSinglePath: pages.uploadSinglePath,
      labelfrom: {
        labelid: '',
        empId: ''
      },
      fileDate: {
        labelid: 0,
        empId: ''
      },
      formLabelWidth: '100px',
      beforeIndex: 0,
      fileName: '',
      checkedArr: [],
      checkAll: false,
      activities: [],
      filesUploadData: [],
      updateNum: 0,
      dialogShowUploadfj: false,
      queryParams: {}, // 查询参数
      sort: {}, // 排序
      pagination: { // 分页参数
        size: 20,
        size: 5,
        num: 1
      },
      readon: false,
      workExperienceModal: true,
      dialogshowArr: [
        {
@@ -2275,10 +2910,12 @@
          show: false
        },
        {
          show: false
          show: false,
          read: false
        },
        {
          show: false
          show: false,
          read: false
        },
        {
          show: false
@@ -2291,13 +2928,19 @@
        }
      ],
      empBaseInfoImageUrl: '',
      // 上传方式选择弹窗
      uploadChoiceDialogVisible: false,
      // 摄像头相关
      cameraDialogVisible: false,
      capturedImage: '',
      stream: null,
      rules: {
        archivesNumb: [{ required: true, message: '请输入档案号', trigger: 'blur' }, {
          max: 20,
          message: this.$t('rules.noMoreThan20'),
          trigger: 'blur'
        }],
        empName: [{ required: true, message: '请输入员工姓名', trigger: 'blur' },
        empName: [{ required: true, message: '请输入姓名', trigger: 'blur' },
          { min: 2, max: 50, message: this.$t('rules.noMoreThan50'), trigger: 'blur' }],
        empNumb: [{ required: true, message: '请输入员工编号', trigger: 'blur' },
          { min: 2, max: 20, message: this.$t('rules.noMoreThan20'), trigger: 'blur' }],
@@ -2307,12 +2950,20 @@
        certificateNumb: [{ required: true, message: '请输入身份证号', trigger: 'blur' }],
        jobName: [{ required: true, message: '请选择岗位', trigger: 'change' }],
        nativePlaceName: [{ required: true, message: '请选择籍贯', trigger: 'change' }],
        bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, { max: 36, message: '长度不超过36个字符', trigger: 'blur' }],
        insuranceType: [{ required: true, message: '请选择保险类型', trigger: 'change' }],
        bankName: [{ required: true, message: '请输入银行名称', trigger: 'blur' }, {
          max: 36,
          message: '长度不超过36个字符',
          trigger: 'blur'
        }],
        insuranceType: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
        entryDate: [{ required: true, message: '请选择入职日期', trigger: 'change' }],
        seniority: [{ required: true, message: '请输入入司工龄', trigger: 'blur' }],
        archivesStatus: [{ required: true, message: '请选择档案情况', trigger: 'change' }],
        bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, { max: 32, message: '长度不超过32个字符', trigger: 'blur' }],
        bankNumb: [{ required: true, message: '请输入银行账号', trigger: 'blur' }, {
          max: 32,
          message: '长度不超过32个字符',
          trigger: 'blur'
        }],
        empType: [{ required: true, message: '请选择员工类型', trigger: 'change' }],
        censusAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        currentAddress: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
@@ -2326,64 +2977,107 @@
        urgencyPhone: [{ max: 30, message: '长度不超过30个字符', trigger: 'blur' }]
      },
      workExperienceRules: {
        workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        beginDate: [{ required: true, validator: this.startDate }],
        endDate: [{ required: true, validator: this.endDate }],
        workUnit: [{ required: true, message: '请输入工作单位', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        beginDate: [{ required: true, message: '请选择开始时间', trigger: 'change' }],
        endDate: [{ required: true, message: '请选择结束时间', trigger: 'change' }],
        jobContent: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      physicalExamRules: {
        physicalExamDate: [{ required: true, message: '请选择体检日期', trigger: 'change' }],
        hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }],
        hospital: [{ required: true, message: '请输入体检医院', trigger: 'blur' }, {
          max: 64,
          message: '长度不超过64个字符',
          trigger: 'blur'
        }],
        physicalExamType: [{ required: true, message: '请选择体检类型', trigger: 'change' }],
        bloodPressure: [{ required: true, message: '请输入血压', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        transaminase: [{ required: true, message: '请输入转氨酶', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        ecg: [{ required: true, message: '请选择心电图', trigger: 'change' }, { max: 16, message: '长度不超过16个字符', trigger: 'blur' }],
        conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        bloodPressure: [{ required: true, message: '请输入血压', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        transaminase: [{ required: true, message: '请输入转氨酶', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        ecg: [{ required: true, message: '请选择心电图', trigger: 'change' }, {
          max: 16,
          message: '长度不超过16个字符',
          trigger: 'blur'
        }],
        conclusion: [{ required: true, message: '请输入体检结论', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        reviewRecord: [{ max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      contractInfoRules: {
        signingDate: [{ required: true, validator: this.startDate }],
        signingDate: [{ required: true, message: '请选择合同签订时间', trigger: 'change' }],
        contractStatus: [{ required: true, message: '请选择合同状态', trigger: 'change' }],
        transactor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        beginDate: [{ required: true, message: '请选择合同开始日期', trigger: 'change' }],
        endDate: [{ required: true, validator: this.endDate }],
        endDate: [{ required: true, message: '请选择合同结束时间', trigger: 'change' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      dimissionAttendRules: {
        attendMonth: [{ required: true, message: '请选择出勤月份', trigger: 'change' }],
        deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, { max: 100, message: '长度不超过100个字符', trigger: 'blur' }],
        attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, { pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '出勤天数精确到1位小数' }],
        overtimeDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }],
        overtimeHour: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }],
        leaveDay: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }],
        absenteeism: [{ pattern: /^\d{1,2}(\.\d{1,1})?$/, message: '旷工(天)精确到1位小数' }],
        deduct: [{ required: true, message: '请输入代扣填款项', trigger: 'blur' }, {
          max: 100,
          message: '长度不超过100个字符',
          trigger: 'blur'
        }],
        attendDays: [{ required: true, message: '请输入出勤天数', trigger: 'blur' }, {
          pattern: /^\d{1,2}(\.\d{1,1})?$/,
          message: '出勤天数精确到1位小数'
        }],
        overtimeDay: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '加班(天)精确到1位小数' }],
        overtimeHour: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '加班(小时)精确到1位小数' }],
        leaveDay: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '请假(天)精确到1位小数' }],
        absenteeism: [{ pattern: /^\d{1,3}(\.\d{1,1})?$/, message: '旷工(天)精确到1位小数' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      leaveInfoRules: {
        beginTime: [{ required: true, validator: this.startDate }],
        beginTime: [{ required: true, message: '请选择开始时间', trigger: 'change' }],
        leaveType: [{ required: true, message: '请选择请假类型', trigger: 'change' }],
        endTime: [{ required: true, validator: this.endDate }],
        endTime: [{ required: true, message: '请选择结束时间', trigger: 'change' }],
        returnDate: [{ required: true, message: '请选择到岗时间', trigger: 'change' }],
        reporter: [{ required: true, message: '请输入报备人', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      resignRules: {
        applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
        reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, { max: 256, message: '长度不超过256个字符', trigger: 'blur' }],
        reason: [{ required: true, message: '请输入事由', trigger: 'blur' }, {
          max: 256,
          message: '长度不超过256个字符',
          trigger: 'blur'
        }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }]
      },
      unemploymentRules: {
        applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
        applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, { max: 128, message: '长度不超过128个字符', trigger: 'blur' }],
        applayReason: [{ required: true, message: '请输入申报事由', trigger: 'blur' }, {
          max: 128,
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      insuranceRules: {
        applayDate: [{ required: true, message: '请选择申请日期', trigger: 'change' }],
        proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        proposer: [{ required: true, message: '请输入申请人', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        insuranceGaers: [{ required: true, message: '请选择社保档位', trigger: 'change' }],
        auditor: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
@@ -2391,10 +3085,26 @@
      },
      accidentCasesRules: {
        injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }],
        injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, { max: 64, message: '长度不超过64个字符', trigger: 'blur' }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        injuredAddress: [{ required: true, message: '请输入受伤地点', trigger: 'blur' }, {
          max: 64,
          message: '长度不超过64个字符',
          trigger: 'blur'
        }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, {
          max: 512,
          message: '长度不超过512个字符',
          trigger: 'blur'
        }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
        innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
        expensesFee: [{ required: true, message: '请输入医疗总费用', trigger: 'blur' }],
@@ -2406,9 +3116,21 @@
      },
      occupationalRules: {
        injuredTime: [{ required: true, message: '请选择受伤时间', trigger: 'blur' }],
        injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, { max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, { max: 40, message: '长度不超过40个字符', trigger: 'blur' }],
        injuredPart: [{ required: true, message: '请输入受伤部位', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        injuredDescribe: [{ required: true, message: '请输入受伤经过描述', trigger: 'blur' }, {
          max: 512,
          message: '长度不超过512个字符',
          trigger: 'blur'
        }],
        hospitalName: [{ required: true, message: '请输入就诊医院', trigger: 'blur' }, {
          max: 40,
          message: '长度不超过40个字符',
          trigger: 'blur'
        }],
        hospitalizatioFlag: [{ required: true, message: '请选择是否住院', trigger: 'blur' }],
        innsureFee: [{ required: true, message: '请输入保险赔付费用', trigger: 'blur' }],
        settleDate: [{ required: true, message: '请选择案结时间', trigger: 'change' }],
@@ -2421,7 +3143,11 @@
      laborTroubleRules: {
        arbitrationType: [{ required: true, message: '请选择仲裁类型', trigger: 'change' }],
        arbitrationDate: [{ required: true, message: '请选择仲裁日期', trigger: 'change' }],
        arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, { max: 1024, message: '长度不超过1024个字符', trigger: 'blur' }],
        arbitrationReason: [{ required: true, message: '请输入仲裁事由', trigger: 'blur' }, {
          max: 1024,
          message: '长度不超过1024个字符',
          trigger: 'blur'
        }],
        arbitrationStatus: [{ required: true, message: '请选择结案状态', trigger: 'change' }],
        remark: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }],
        reporter: [{ max: 40, message: '长度不超过40个字符', trigger: 'blur' }]
@@ -2574,7 +3300,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
@@ -2600,7 +3326,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2647,7 +3373,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2686,7 +3412,6 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
@@ -2711,7 +3436,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2736,10 +3461,12 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
      srcList: [],
      getImg: pages.getAccessoryImage,
      resignForm: {
        resignId: '',
        empId: '',
@@ -2758,7 +3485,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2784,7 +3511,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2811,7 +3538,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
@@ -2837,7 +3564,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2866,7 +3593,6 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
@@ -2889,7 +3615,6 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
      },
@@ -2940,9 +3665,9 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        empStatus: 0,
        version: ''
        version: '',
        annualLeave: ''
      },
      fsnumShow: false,
      badRecordForm: {
@@ -2963,7 +3688,7 @@
        creator: '',
        modifyTime: '',
        modifier: '',
        delFlag: '',
        version: '',
        empStatus: 0,
        remark: ''
@@ -2974,7 +3699,7 @@
      depts: [],
      sysConfig: this.initSysConfig(),
      listType: ['jbxx', 'gzjl', 'tjxx', 'htxx', 'tgjl', 'qjjl', 'czsq', 'lzdykq', 'rlzjl', 'syjlq', 'sbsq', 'ywxaj', 'gsaj', 'lzaj',
        'bz', 'jljt', 'xgfj', 'bljl', 'jljt', 'xgfj'],
        'bljl', 'bz', 'jljt'],
      form: {},
      isAdd: false,
      thisShowIndex: '',
@@ -2989,6 +3714,79 @@
    }
  },
  computed: {
    // 字典选项计算属性
    statusOptions() {
      return this.getDictOptions('PLITICAL')
    },
    empTypeOptions() {
      return this.getDictOptions('EMPTYPE')
    },
    nationOptions() {
      return this.getDictOptions('NATION')
    },
    marriageOptions() {
      return this.getDictOptions('MARRIAGE')
    },
    educationOptions() {
      return this.getDictOptions('EDUCATION')
    },
    nativePlaceOptions() {
      return this.getDictOptions('NATIVEPLACE')
    },
    archivesStatusOptions() {
      return this.getDictOptions('archivesStatus')
    },
    insuranceTypeOptions() {
      return this.getDictOptions('INSURANCETYPE')
    },
    empCardStatusOptions() {
      return this.getDictOptions('empCardStatus')
    },
    handbookStatusOptions() {
      return this.getDictOptions('handbookStatus')
    },
    certificateListOptions() {
      return this.getDictOptions('certificateList')
    },
    physicalExamTypeOptions() {
      return this.getDictOptions('PHYSICALEXAMTYPE')
    },
    ecgOptions() {
      return this.getDictOptions('ECG')
    },
    contractStatusOptions() {
      return this.getDictOptions('CONTRACTSTATUS')
    },
    leaveTypeOptions() {
      return this.getDictOptions('LEAVETYPE')
    },
    insuranceGaersOptions() {
      return this.getDictOptions('INSURANCETYPE')
    },
    applayStatusOptions() {
      return this.getDictOptions('applayStatus')
    },
    reportStatusOptions() {
      return this.getDictOptions('reportStatus')
    },
    hospitalizatioFlagOptions() {
      return this.getDictOptions('hospitalizatioFlag')
    },
    settleStatusOptions() {
      return this.getDictOptions('settleStatus')
    },
    arbitrationTypeOptions() {
      return this.getDictOptions('ZCTYPE')
    },
    changeTypeOptions() {
      return this.getDictOptions('changeType')
    },
    dimissionTypeOptions() {
      return this.getDictOptions('LZTYPE')
    },
    sexOptions() {
      return this.getDictOptions('sex')
    },
    isVisible: {
      get() {
        return this.dialogVisible
@@ -3001,8 +3799,313 @@
  },
  mounted() {
    this.initDept()
    // 字典数据已在登录时预加载,直接从 Vuex 获取
    this.initDictTypes(['PLITICAL', 'sex', 'EMPTYPE', 'NATION', 'MARRIAGE', 'EDUCATION', 'NATIVEPLACE', 'archivesStatus', 'INSURANCETYPE', 'empCardStatus', 'handbookStatus', 'certificateList', 'PHYSICALEXAMTYPE', 'ECG', 'CONTRACTSTATUS', 'LEAVETYPE', 'applayStatus', 'reportStatus', 'hospitalizatioFlag', 'settleStatus', 'ZCTYPE', 'changeType', 'LZTYPE'])
  },
  methods: {
    typeFormat(row, column) {
      return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
    },
    ecgNameFormat(row, column) {
      return this.selectDictLabel(this.ecgOptions, row.ecg)
    },
    contractStatusFormat(row, column) {
      return this.selectDictLabel(this.contractStatusOptions, row.contractStatus)
    },
    changeTypeFormat(row, column) {
      return this.selectDictLabel(this.changeTypeOptions, row.changeType)
    },
    leaveTypeFormat(row, column) {
      return this.selectDictLabel(this.leaveTypeOptions, row.leaveType)
    },
    dimissionTypeFormat(row, column) {
      return this.selectDictLabel(this.dimissionTypeOptions, row.dimissionType)
    },
    insuranceGaersFormat(row, column) {
      return this.selectDictLabel(this.insuranceGaersOptions, row.insuranceGaers)
    },
    reportStatusFormat(row, column) {
      return this.selectDictLabel(this.reportStatusOptions, row.reportStatus)
    },
    applayStatusFormat(row, column) {
      return this.selectDictLabel(this.applayStatusOptions, row.applayStatus)
    },
    hospitalizatioFlagFormat(row, column) {
      return this.selectDictLabel(this.hospitalizatioFlagOptions, row.hospitalizatioFlag)
    },
    arbitrationTypeFormat(row, column) {
      return this.selectDictLabel(this.arbitrationTypeOptions, row.arbitrationType)
    },
    arbitrationStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus)
    },
    settleStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.settleStatus)
    },
    beforeAvatarUpload(file) {
      this.fileDate.labelid = this.activities[this.beforeIndex].id
      const isLt50M = file.size / 1024 / 1024 < 50
      if (!isLt50M) {
        this.$message.error('上传文件不能超过 50MB!')
      }
      return isLt50M
    },
    headers() {
      const token = getToken()
      if (token) {
        return {
          Authorization: 'bearer ' + token
        }
      } else {
        return null
      }
    },
    handleAvatarSuccess(response, file, fileList) {
      this.$notify({
        title: '成功',
        message: '上传成功!',
        type: 'success'
      })
      this.updateNum++
      if (this.updateNum === fileList.length) {
        this.updateNum = 0
        // 生成查询文件的条件
        var params = {
          labelid: this.activities[this.beforeIndex].id,
          filesname: this.fileName,
          empid: this.empBaseInfoForm.empId
        }
        this.initFile(params)
      }
    },
    handleAvatarError() {
      this.updateNum = 0
      this.$notify.error({
        title: '失败',
        message: '上传失败,请联系管理员!'
      })
    },
    showFileImg(type) {
      switch (type) {
        case 'xls':
          return require('../../assets/uploading/xls.png')
        case 'xlsx':
          return require('../../assets/uploading/xls.png')
        case 'txt':
          return require('../../assets/uploading/txt.png')
        case 'apk':
          return require('../../assets/uploading/apk.png')
        case 'csv':
          return require('../../assets/uploading/csv.png')
        case 'excel':
          return require('../../assets/uploading/excel.png')
        case 'exe':
          return require('../../assets/uploading/exe.png')
        case 'folder':
          return require('../../assets/uploading/folder.png')
        case 'gif':
          return require('../../assets/uploading/gif.png')
        case 'html':
          return require('../../assets/uploading/html.png')
        case 'json':
          return require('../../assets/uploading/json.png')
        case 'mp3':
          return require('../../assets/uploading/mp3.png')
        case 'mp4':
          return require('../../assets/uploading/mp4.png')
        case 'pdf':
          return require('../../assets/uploading/pdf.png')
        case 'pic':
          return require('../../assets/uploading/pic.png')
        case 'ppt':
          return require('../../assets/uploading/ppt.png')
        case 'rar':
          return require('../../assets/uploading/rar.png')
        case 'svg':
          return require('../../assets/uploading/svg.png')
        case 'webpage':
          return require('../../assets/uploading/webpage.png')
        case 'word':
          return require('../../assets/uploading/word.png')
        case 'zip':
          return require('../../assets/uploading/zip.png')
        case 'jpg':
          return require('../../assets/uploading/jpg.png')
        case 'png':
          return require('../../assets/uploading/png.png')
        default:
          return require('../../assets/uploading/unknown.png')
      }
    },
    clickCard(index) {
      if (this.checkedArr[index].isChecked) {
        this.$set(this.checkedArr[index], 'isChecked', false)
      } else {
        this.$set(this.checkedArr[index], 'isChecked', true)
      }
    },
    transDimissionType(dimissionType) {
      switch (dimissionType) {
        case '1':
          return '正常离职'
        case '2':
          return '自动离职'
        case '3':
          return '公司劝退'
        case '4':
          return '公司辞退'
        case '5':
          return '试用期内'
      }
    },
    mvlabel(formName) {
      if (this.labelfrom.labelid === this.activities[this.beforeIndex].id) {
        this.$message({
          message: '文件在同一目录!',
          type: 'warning'
        })
        return
      }
      var checke = []
      this.checkedArr.forEach((v, i) => {
        if (v.isChecked) {
          checke.push(v.accessoryid)
        }
      })
      if (checke.length <= 0) {
        this.$message({
          message: '请选择需要移动的文件!',
          type: 'warning'
        })
      } else {
        this.$refs[formName].validate(valid => {
          if (valid) {
            // 生成查询文件的条件
            var params = {
              accessoryids: checke.join(','),
              labelid: this.labelfrom.labelid,
              empId: this.labelfrom.empId
            }
            this.$post('hr/empAccessory/mvFiles', { ...params }).then(() => {
              this.$message({
                message: '移动成功!',
                type: 'success'
              })
              this.mvdialogFormVisible = false
              // 生成查询文件的条件
              var initFileParams = {
                labelid: this.activities[this.beforeIndex].id,
                filesname: this.fileName,
                empid: this.empBaseInfoForm.empId
              }
              this.initFile(initFileParams)
            })
          }
        })
      }
    },
    clickImg(node) {
      this.srcList = []
      if ('tif,bmp,jpg,png,gif'.indexOf(node.filesformat) >= 0) {
        this.srcList.push(this.getImg + node.accessoryid)
      }
    },
    delFile() {
      var checke = []
      this.checkedArr.forEach((v, i) => {
        if (v.isChecked) {
          checke.push(v.accessoryid)
        }
      })
      if (checke.length <= 0) {
        this.$message({
          message: '请选择需要删除的文件!',
          type: 'warning'
        })
      } else {
        // 生成查询文件的条件
        var params = { accessoryids: checke.join(',') }
        this.$delete('hr/empAccessory', { ...params }).then(() => {
          this.$message({
            message: '删除成功!',
            type: 'success'
          })
          // 生成查询文件的条件
          var initFileParams = {
            labelid: this.activities[this.beforeIndex].id,
            filesname: this.fileName,
            empid: this.empBaseInfoForm.empId
          }
          this.initFile(initFileParams)
        })
      }
    },
    download() {
      var checke = []
      this.checkedArr.forEach((v, i) => {
        if (v.isChecked) {
          checke.push(v.accessoryid)
        }
      })
      if (checke.length <= 0) {
        this.$message({
          message: '请选择需要下载的文件!',
          type: 'warning'
        })
      } else {
        // 生成查询文件的条件
        var params = { accessoryids: checke.join(',') }
        this.$download('hr/empAccessory/download', { ...params }, this.activities[this.beforeIndex].timestamp + '.zip').then(() => {
          this.$message({
            message: '下载成功!',
            type: 'success'
          })
        })
      }
    },
    checkAllMethods() {
      if (this.checkAll) {
        this.checkedArr.forEach((v, i) => {
          this.$set(v, 'isChecked', true)
        })
      } else {
        this.checkedArr.forEach((v, i) => {
          this.$set(v, 'isChecked', false)
        })
      }
    },
    clickTimeline(index, id) {
      // 不这样操作的不会响应式更新
      // 赋值到新的列表
      var list = this.activities
      // 将之前的数组置为空
      this.activities = []
      // 删除之前下标的颜色
      delete list[this.beforeIndex].color
      // 将新下标存储起来
      this.beforeIndex = index
      // 将新下标修改颜色
      list[index]['color'] = '#a32c30'
      // 将修改好的数组放回去
      this.activities = list
      this.checkAll = false
      // 生成查询文件的条件
      var params = {
        labelid: this.activities[this.beforeIndex].id,
        filesname: this.fileName,
        empid: this.empBaseInfoForm.empId
      }
      this.initFile(params)
    },
    findFileByFileName() {
      // 生成查询文件的条件
      var params = {
        filesname: this.fileName,
        empid: this.empBaseInfoForm.empId
      }
      this.initFile(params)
    },
    onremarkInfoDataselection(selection) {
      this.remarkInfoDataselection = selection
    },
@@ -3042,8 +4145,95 @@
    oncontractInfoDataselection(selection) {
      this.contractInfoDataselection = selection
    },
    async initlabel() {
      await this.$get('hr/label').then(r => {
        this.activities = []
        this.beforeIndex = 0
        r.data.data.forEach((v, i) => {
          if (i === 0) {
            this.activities.push({
              timestamp: v.labelname,
              id: v.labelid,
              color: '#a32c30'
            })
          } else {
            this.activities.push({ timestamp: v.labelname, id: v.labelid })
          }
        })
      })
      var params = {
        labelid: this.activities[this.beforeIndex].id,
        filesname: this.fileName,
        empid: this.empBaseInfoForm.empId
      }
      this.initFile(params)
    },
    initFile(params) {
      var node = { node: [] }
      // 文件列表置为空
      this.filesUploadData = []
      this.checkedArr = []
      this.$get('hr/empAccessory', { ...params }).then(r => {
        r.data.data.forEach((v, i) => {
          this.checkedArr.push({ isChecked: false, accessoryid: v.accessoryid })
          // 一行8个 等于8就换行
          if (i % 8 === 0 && i !== 0) {
            this.filesUploadData.push(node)
            node = { node: [] }
          }
          // 添加一个新的元素判断是否是上传用的
          this.$set(v, 'isUpload', false)
          // 添加
          node.node.push(v)
          // 如果是最后一个元素,需要手动丢到列表里面去
          if (i === r.data.data.length - 1) {
            this.filesUploadData.push(node)
          }
        })
        // 如果列表为空,增加一个上传的
        if (this.filesUploadData.length === 0) {
          this.filesUploadData.push({ node: [{ isUpload: true }] })
        } else {
          // 如果不为空,但是这一行刚好满8个了,就将数组,新增一个对象
          if (this.filesUploadData[this.filesUploadData.length - 1].node.length === 8) {
            this.filesUploadData.push({ node: [{ isUpload: true }] })
          } else {
            // 新增一个上传
            this.filesUploadData[this.filesUploadData.length - 1].node.push({
              isUpload: true
            })
          }
        }
      })
    },
    setArchives(val) {
      let certificateList = []
      if (val.certificateList && typeof val.certificateList === 'string') {
        certificateList = val.certificateList.split(',')
        val.certificateList = certificateList
      }
      // 清空所有模块数据,确保切换员工后点击标签会重新加载
      this.workExperienceData = []
      this.physicalExamData = []
      this.contractInfoData = []
      this.jobChangeData = []
      this.leaveInfoData = []
      this.resignData = []
      this.dimissionAttendData = []
      this.dimissionLogData = []
      this.unemploymentData = []
      this.insuranceData = []
      this.accidentCasesData = []
      this.occupationalData = []
      this.laborTroubleData = []
      this.badRecordData = []
      this.remarkInfoData = []
      this.empBaseInfoForm = { ...val }
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + this.empBaseInfoForm.empId
      this.fileDate.empId = this.empBaseInfoForm.empId
      this.labelfrom.empId = this.empBaseInfoForm.empId
      this.remarkInfoForm = { ...val }
      this.laborTroubleForm = { ...val }
      this.occupationalForm = { ...val }
@@ -3057,27 +4247,13 @@
      this.physicalExamForm = { ...val }
      this.workExperienceForm = { ...val }
      this.badRecordForm = { ...val }
      this.initphysicalExamData()
      this.initList() // 工作经历
      this.initjobChangeData() // 调岗记录
      this.initdimissionLogData() // 入离职记录
      this.initcontractInfoData() // 合同信息
      this.initleaveInfoData() // 请假记录
      this.initresignData() // 辞职申请
      this.initunemploymentData() // 失业金领取
      this.initinsuranceData() // 社保申请
      this.initremarkInfoData() // 备注
      this.initlaborTroubleData() // 劳资案件
      this.initoccupationalData() // 工伤案件
      this.initbadRecordData() // 不良记录
      this.initaccidentCasesData() // 意外险案件
      this.initdimissionAttendData() // 考勤情况
      // 只加载附件数据(基本信息已在val中),其他模块懒加载
      this.initlabel()
    },
    initphysicalExamData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empPhysicalExam/list', {
        ...params
@@ -3090,7 +4266,8 @@
    initjobChangeData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = 1
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empJobChange/list', {
        ...params
@@ -3103,8 +4280,12 @@
    initdimissionLogData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = this.empBaseInfoForm.empStatus
      params.empId = this.empBaseInfoForm.empId
      params.dimissionType = ''
      params.delFlag = '0'
      params.field = 'entryDate'
      params.order = 'ascending'
      this.$get('hr/empDimissionlog/list', {
        ...params
      }).then((r) => {
@@ -3116,7 +4297,7 @@
    initcontractInfoData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empContractInfo/list', {
        ...params
@@ -3127,6 +4308,13 @@
      })
    },
    gzupdate() {
      this.readon = true
    },
    gzupdate1() {
      const empBaseInfoForm = this.empBaseInfoForm
      if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) {
        this.empBaseInfoForm.imagePath = ''
      }
      this.$put('hr/empBaseInfo', { ...this.empBaseInfoForm }).then(() => {
        this.$message({
          message: this.$t('tips.updateSuccess'),
@@ -3134,10 +4322,29 @@
        })
      })
    },
    ExportSavePdf(params = {}) {
      this.$confirm('是否确定要导出档案,请耐心等待?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        params.pageSize = this.pagination.size
        params.pageNum = this.pagination.num
        params.certificateNumb = this.empBaseInfoForm.certificateNumb
        this.$download('hr/pdf/contract', {
          ...params
        }, `${this.empBaseInfoForm.empName}.pdf`)
      }).catch(() => {
        this.$message({
          type: 'info',
          message: '已取消'
        })
      })
    },
    initleaveInfoData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empLeaveInfo/list', {
        ...params
@@ -3150,7 +4357,8 @@
    initresignData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = this.empBaseInfoForm.empStatus
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empResign/list', {
        ...params
@@ -3163,7 +4371,8 @@
    initunemploymentData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = this.empBaseInfoForm.empStatus
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empUnemployment/list', {
        ...params
@@ -3176,7 +4385,7 @@
    initinsuranceData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empInsurance/list', {
        ...params
@@ -3189,7 +4398,8 @@
    initremarkInfoData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = this.empBaseInfoForm.empStatus
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empRemarkInfo/list', {
        ...params
@@ -3202,7 +4412,7 @@
    initlaborTroubleData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empLaborTrouble/list', {
        ...params
@@ -3215,7 +4425,7 @@
    initoccupationalData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empOccupational/list', {
        ...params
@@ -3228,7 +4438,8 @@
    initbadRecordData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.empStatus = this.empBaseInfoForm.empStatus
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empBadRecord/list', {
        ...params
@@ -3239,13 +4450,12 @@
      })
    },
    dialogShow() {
      this.rowitem = this.empBaseInfoForm
      this.dialogShowUploadfj = true
    },
    initaccidentCasesData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empAccidentCases/list', {
        ...params
@@ -3258,7 +4468,7 @@
    initdimissionAttendData(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empDimissionAttend/list', {
        ...params
@@ -3271,7 +4481,7 @@
    initList(params = {}) {
      params.pageSize = this.pagination.size
      params.pageNum = this.pagination.num
      params.empNumb = this.empBaseInfoForm.empNumb
      params.certificateNumb = this.empBaseInfoForm.certificateNumb
      params.delFlag = '0'
      this.$get('hr/empWorkExperience/list', {
        ...params
@@ -3353,15 +4563,6 @@
    },
    cleanContractInfo() {
      this.contractInfoForm.contractId = ''
      this.contractInfoForm.empId = ''
      this.contractInfoForm.empNumb = ''
      this.contractInfoForm.empName = ''
      this.contractInfoForm.certificateNumb = ''
      this.contractInfoForm.sex = ''
      this.contractInfoForm.deptId = ''
      this.contractInfoForm.deptName = ''
      this.contractInfoForm.JobId = ''
      this.contractInfoForm.jobName = ''
      this.contractInfoForm.beginDate = ''
      this.contractInfoForm.endDate = ''
      this.contractInfoForm.contractStatus = ''
@@ -3373,7 +4574,6 @@
      this.contractInfoForm.creator = ''
      this.contractInfoForm.modifyTime = ''
      this.contractInfoForm.modifier = ''
      this.contractInfoForm.delFlag = ''
      this.contractInfoForm.version = ''
    },
    putDimissionAttend(formName) {
@@ -3406,15 +4606,6 @@
    },
    cleanDimissionAttend() {
      this.dimissionAttendForm.dimissionAttendId = ''
      this.dimissionAttendForm.empId = ''
      this.dimissionAttendForm.empNumb = ''
      this.dimissionAttendForm.empName = ''
      this.dimissionAttendForm.sex = ''
      this.dimissionAttendForm.certificateNumb = ''
      this.dimissionAttendForm.deptId = ''
      this.dimissionAttendForm.deptName = ''
      this.dimissionAttendForm.JobId = ''
      this.dimissionAttendForm.jobName = ''
      this.dimissionAttendForm.attendMonth = ''
      this.dimissionAttendForm.overtimeHour = ''
      this.dimissionAttendForm.overtimeDay = ''
@@ -3425,7 +4616,6 @@
      this.dimissionAttendForm.creator = ''
      this.dimissionAttendForm.modifyTime = ''
      this.dimissionAttendForm.modifier = ''
      this.dimissionAttendForm.delFlag = ''
      this.dimissionAttendForm.version = ''
      this.dimissionAttendForm.remark = ''
    },
@@ -3459,15 +4649,6 @@
    },
    cleanLeaveInfo() {
      this.leaveInfoForm.leaveId = ''
      this.leaveInfoForm.empId = ''
      this.leaveInfoForm.empNumb = ''
      this.leaveInfoForm.empName = ''
      this.leaveInfoForm.sex = ''
      this.leaveInfoForm.certificateNumb = ''
      this.leaveInfoForm.deptId = ''
      this.leaveInfoForm.deptName = ''
      this.leaveInfoForm.JobId = ''
      this.leaveInfoForm.jobName = ''
      this.leaveInfoForm.beginTime = ''
      this.leaveInfoForm.endTime = ''
      this.leaveInfoForm.leaveType = ''
@@ -3478,7 +4659,6 @@
      this.leaveInfoForm.creator = ''
      this.leaveInfoForm.modifyTime = ''
      this.leaveInfoForm.modifier = ''
      this.leaveInfoForm.delFlag = ''
      this.leaveInfoForm.version = ''
      this.leaveInfoForm.remark = ''
    },
@@ -3512,15 +4692,6 @@
    },
    cleanResign() {
      this.resignForm.resignId = ''
      this.resignForm.empId = ''
      this.resignForm.empNumb = ''
      this.resignForm.empName = ''
      this.resignForm.sex = ''
      this.resignForm.certificateNumb = ''
      this.resignForm.deptId = ''
      this.resignForm.deptName = ''
      this.resignForm.JobId = ''
      this.resignForm.jobName = ''
      this.resignForm.applayDate = ''
      this.resignForm.reporter = ''
      this.resignForm.reason = ''
@@ -3528,7 +4699,6 @@
      this.resignForm.creator = ''
      this.resignForm.modifyTime = ''
      this.resignForm.modifier = ''
      this.resignForm.delFlag = ''
      this.resignForm.version = ''
      this.resignForm.remark = ''
    },
@@ -3562,15 +4732,6 @@
    },
    cleanUnemployment() {
      this.unemploymentForm.unemploymentId = ''
      this.unemploymentForm.empId = ''
      this.unemploymentForm.empNumb = ''
      this.unemploymentForm.empName = ''
      this.unemploymentForm.sex = ''
      this.unemploymentForm.certificateNumb = ''
      this.unemploymentForm.deptId = ''
      this.unemploymentForm.deptName = ''
      this.unemploymentForm.JobId = ''
      this.unemploymentForm.jobName = ''
      this.unemploymentForm.applayDate = ''
      this.unemploymentForm.applayReason = ''
      this.unemploymentForm.reporter = ''
@@ -3580,7 +4741,6 @@
      this.unemploymentForm.creator = ''
      this.unemploymentForm.modifyTime = ''
      this.unemploymentForm.modifier = ''
      this.unemploymentForm.delFlag = ''
      this.unemploymentForm.version = ''
    },
    handlePictureCardPreview(file) {
@@ -3656,15 +4816,6 @@
    },
    cleanInsurance() {
      this.insuranceForm.insuranceId = ''
      this.insuranceForm.empId = ''
      this.insuranceForm.empNumb = ''
      this.insuranceForm.empName = ''
      this.insuranceForm.sex = ''
      this.insuranceForm.certificateNumb = ''
      this.insuranceForm.deptId = ''
      this.insuranceForm.deptName = ''
      this.insuranceForm.JobId = ''
      this.insuranceForm.jobName = ''
      this.insuranceForm.applayDate = ''
      this.insuranceForm.proposer = ''
      this.insuranceForm.insuranceGaers = ''
@@ -3675,7 +4826,6 @@
      this.insuranceForm.creator = ''
      this.insuranceForm.modifyTime = ''
      this.insuranceForm.modifier = ''
      this.insuranceForm.delFlag = ''
      this.insuranceForm.version = ''
      this.insuranceForm.remark = ''
    },
@@ -3709,15 +4859,6 @@
    },
    cleanAccidentCases() {
      this.accidentCasesForm.accidentId = ''
      this.accidentCasesForm.empId = ''
      this.accidentCasesForm.empNumb = ''
      this.accidentCasesForm.empName = ''
      this.accidentCasesForm.sex = ''
      this.accidentCasesForm.certificateNumb = ''
      this.accidentCasesForm.deptId = ''
      this.accidentCasesForm.deptName = ''
      this.accidentCasesForm.JobId = ''
      this.accidentCasesForm.jobName = ''
      this.accidentCasesForm.injuredTime = ''
      this.accidentCasesForm.injuredAddress = ''
      this.accidentCasesForm.injuredPart = ''
@@ -3741,7 +4882,6 @@
      this.accidentCasesForm.creator = ''
      this.accidentCasesForm.modifyTime = ''
      this.accidentCasesForm.modifier = ''
      this.accidentCasesForm.delFlag = ''
      this.accidentCasesForm.version = ''
    },
    putOccupational(formName) {
@@ -3772,17 +4912,154 @@
        }
      })
    },
    getIndex($index) {
      return (this.pagination.num - 1) * this.pagination.size + $index + 1
    },
    // 打开上传方式选择弹窗
    openUploadChoice() {
      this.uploadChoiceDialogVisible = true
    },
    // 选择拍照上传
    choiceCamera() {
      this.uploadChoiceDialogVisible = false
      this.cameraDialogVisible = true
      this.$nextTick(() => {
        this.initCamera()
      })
    },
    // 选择文件上传
    choiceFile() {
      this.uploadChoiceDialogVisible = false
      // 创建隐藏的文件输入框
      const input = document.createElement('input')
      input.type = 'file'
      input.accept = 'image/*'
      input.onchange = (e) => {
        const file = e.target.files[0]
        if (file) {
          this.handleFileUpload(file)
        }
      }
      input.click()
    },
    // 处理文件上传
    handleFileUpload(file) {
      // 验证文件类型
      const isImage = file.type.startsWith('image/')
      if (!isImage) {
        this.$message.error('请上传图片文件')
        return
      }
      // 验证文件大小(限制10MB)
      const isLt10M = file.size / 1024 / 1024 < 10
      if (!isLt10M) {
        this.$message.error('图片大小不能超过10MB')
        return
      }
      // 生成预览URL
      const imageUrl = URL.createObjectURL(file)
      this.empBaseInfoImageUrl = imageUrl
      // 读取文件为Base64
      const reader = new FileReader()
      reader.onload = (e) => {
        this.empBaseInfoForm.imagePath = e.target.result
        this.$message.success('照片上传成功')
      }
      reader.readAsDataURL(file)
    },
    // 打开摄像头
    openCamera() {
      this.cameraDialogVisible = true
      this.$nextTick(() => {
        this.initCamera()
      })
    },
    // 初始化摄像头
    async initCamera() {
      try {
        // 请求摄像头权限
        this.stream = await navigator.mediaDevices.getUserMedia({
          video: {
            width: { ideal: 640 },
            height: { ideal: 480 },
            facingMode: 'user' // 前置摄像头
          },
          audio: false
        })
        // 将视频流绑定到 video 元素
        const video = this.$refs.video
        if (video) {
          video.srcObject = this.stream
        }
      } catch (error) {
        this.$message.error('无法访问摄像头,请检查摄像头权限设置')
        console.error('摄像头初始化失败:', error)
      }
    },
    // 拍照
    takePhoto() {
      const video = this.$refs.video
      const canvas = this.$refs.canvas
      if (!video || !canvas) return
      // 设置画布尺寸
      canvas.width = video.videoWidth || 640
      canvas.height = video.videoHeight || 480
      // 绘制视频帧到画布
      const ctx = canvas.getContext('2d')
      ctx.drawImage(video, 0, 0, canvas.width, canvas.height)
      // 转换为图片数据
      this.capturedImage = canvas.toDataURL('image/jpeg', 0.9)
      // 停止摄像头
      this.stopCamera()
    },
    // 重拍
    retakePhoto() {
      this.capturedImage = ''
      this.initCamera()
    },
    // 确认使用照片
    confirmPhoto() {
      if (this.capturedImage) {
        // 设置图片预览
        this.empBaseInfoImageUrl = this.capturedImage
        // 设置表单数据(Base64格式)
        this.empBaseInfoForm.imagePath = this.capturedImage
        // 关闭弹窗
        this.closeCamera()
        this.$message.success('照片已保存')
      }
    },
    // 关闭摄像头
    closeCamera() {
      this.stopCamera()
      this.cameraDialogVisible = false
      this.capturedImage = ''
    },
    // 停止摄像头流
    stopCamera() {
      if (this.stream) {
        this.stream.getTracks().forEach(track => {
          track.stop()
        })
        this.stream = null
      }
      const video = this.$refs.video
      if (video) {
        video.srcObject = null
      }
    },
    cleanOccupational() {
      this.occupationalForm.occupationalId = ''
      this.occupationalForm.empId = ''
      this.occupationalForm.empNumb = ''
      this.occupationalForm.empName = ''
      this.occupationalForm.sex = ''
      this.occupationalForm.certificateNumb = ''
      this.occupationalForm.deptId = ''
      this.occupationalForm.deptName = ''
      this.occupationalForm.JobId = ''
      this.occupationalForm.jobName = ''
      this.occupationalForm.injuredTime = ''
      this.occupationalForm.injuredAddress = ''
      this.occupationalForm.injuredPart = ''
@@ -3814,7 +5091,6 @@
      this.occupationalForm.creator = ''
      this.occupationalForm.modifyTime = ''
      this.occupationalForm.modifier = ''
      this.occupationalForm.delFlag = ''
      this.occupationalForm.version = ''
      this.occupationalForm.remark = ''
    },
@@ -3855,7 +5131,6 @@
      this.workExperienceForm.creator = ''
      this.workExperienceForm.modifyTime = ''
      this.workExperienceForm.modifier = ''
      this.workExperienceForm.delFlag = ''
      this.workExperienceForm.version = ''
    },
    putLaborTrouble(formName) {
@@ -3888,15 +5163,6 @@
    },
    cleanLaborTrouble() {
      this.laborTroubleForm.arbitrationId = ''
      this.laborTroubleForm.empId = ''
      this.laborTroubleForm.empNumb = ''
      this.laborTroubleForm.empName = ''
      this.laborTroubleForm.sex = ''
      this.laborTroubleForm.certificateNumb = ''
      this.laborTroubleForm.deptId = ''
      this.laborTroubleForm.deptName = ''
      this.laborTroubleForm.JobId = ''
      this.laborTroubleForm.jobName = ''
      this.laborTroubleForm.arbitrationDate = ''
      this.laborTroubleForm.arbitrationType = ''
      this.laborTroubleForm.arbitrationReason = ''
@@ -3908,7 +5174,6 @@
      this.laborTroubleForm.creator = ''
      this.laborTroubleForm.modifyTime = ''
      this.laborTroubleForm.modifier = ''
      this.laborTroubleForm.delFlag = ''
      this.laborTroubleForm.version = ''
      this.laborTroubleForm.remark = ''
    },
@@ -3942,15 +5207,6 @@
    },
    cleanBadRecord() {
      this.badRecordForm.badId = ''
      this.badRecordForm.empId = ''
      this.badRecordForm.empName = ''
      this.badRecordForm.empNumb = ''
      this.badRecordForm.sex = ''
      this.badRecordForm.certificateNumb = ''
      this.badRecordForm.deptId = ''
      this.badRecordForm.deptName = ''
      this.badRecordForm.JobId = ''
      this.badRecordForm.jobName = ''
      this.badRecordForm.badDate = ''
      this.badRecordForm.reporter = ''
      this.badRecordForm.badContent = ''
@@ -3958,7 +5214,6 @@
      this.badRecordForm.creator = ''
      this.badRecordForm.modifyTime = ''
      this.badRecordForm.modifier = ''
      this.badRecordForm.delFlag = ''
      this.badRecordForm.version = ''
      this.badRecordForm.remark = ''
    },
@@ -3992,22 +5247,12 @@
    },
    cleanRemarkInfo() {
      this.remarkInfoForm.remarkId = ''
      this.remarkInfoForm.empId = ''
      this.remarkInfoForm.empNumb = ''
      this.remarkInfoForm.empName = ''
      this.remarkInfoForm.sex = ''
      this.remarkInfoForm.certificateNumb = ''
      this.remarkInfoForm.JobId = ''
      this.remarkInfoForm.deptId = ''
      this.remarkInfoForm.deptName = ''
      this.remarkInfoForm.jobName = ''
      this.remarkInfoForm.remarkContent = ''
      this.remarkInfoForm.remarkDate = ''
      this.remarkInfoForm.createTime = ''
      this.remarkInfoForm.creator = ''
      this.remarkInfoForm.modifyTime = ''
      this.remarkInfoForm.modifier = ''
      this.remarkInfoForm.delFlag = ''
      this.remarkInfoForm.version = ''
    },
    dialogIsShow() {
@@ -4088,6 +5333,7 @@
      this.workExperienceForm.modifier = row.modifier
      this.workExperienceForm.delFlag = row.delFlag
      this.workExperienceForm.version = row.version
      this.thisShowIndex = 1
      this.dialogshowArr[1].show = true
    },
    editPhysicalExam(row) {
@@ -4117,7 +5363,7 @@
      this.physicalExamForm.modifier = row.modifier
      this.physicalExamForm.delFlag = row.delFlag
      this.physicalExamForm.version = row.version
      this.thisShowIndex = 2
      this.dialogshowArr[2].show = true
    },
    editContractInfo(row) {
@@ -4146,7 +5392,7 @@
      this.contractInfoForm.modifier = row.modifier
      this.contractInfoForm.delFlag = row.delFlag
      this.contractInfoForm.version = row.version
      this.thisShowIndex = 3
      this.dialogshowArr[3].show = true
    },
    editDimissionAttend(row) {
@@ -4174,6 +5420,7 @@
      this.dimissionAttendForm.delFlag = row.delFlag
      this.dimissionAttendForm.version = row.version
      this.dimissionAttendForm.remark = row.remark
      this.thisShowIndex = 4
      this.dialogshowArr[4].show = true
    },
    editLeaveInfo(row) {
@@ -4202,7 +5449,7 @@
      this.leaveInfoForm.delFlag = row.delFlag
      this.leaveInfoForm.version = row.version
      this.leaveInfoForm.remark = row.remark
      this.thisShowIndex = 5
      this.dialogshowArr[5].show = true
    },
    editResign(row) {
@@ -4228,7 +5475,7 @@
      this.resignForm.delFlag = row.delFlag
      this.resignForm.version = row.version
      this.resignForm.remark = row.remark
      this.thisShowIndex = 6
      this.dialogshowArr[6].show = true
    },
    editUnemployment(row) {
@@ -4255,12 +5502,11 @@
      this.unemploymentForm.modifier = row.modifier
      this.unemploymentForm.delFlag = row.delFlag
      this.unemploymentForm.version = row.version
      this.thisShowIndex = 7
      this.dialogshowArr[7].show = true
    },
    editInsurance(row) {
      this.isAdd = false
      this.insuranceForm.insuranceId = row.insuranceId
      this.insuranceForm.empId = row.empId
      this.insuranceForm.empNumb = row.empNumb
@@ -4284,7 +5530,7 @@
      this.insuranceForm.delFlag = row.delFlag
      this.insuranceForm.version = row.version
      this.insuranceForm.remark = row.remark
      this.thisShowIndex = 8
      this.dialogshowArr[8].show = true
    },
    editAccidentCases(row) {
@@ -4325,8 +5571,9 @@
      this.accidentCasesForm.modifier = row.modifier
      this.accidentCasesForm.delFlag = row.delFlag
      this.accidentCasesForm.version = row.version
      this.thisShowIndex = 9
      this.dialogshowArr[9].show = true
      this.dialogshowArr[9].read = false
    },
    editOccupational(row) {
      this.isAdd = false
@@ -4375,8 +5622,9 @@
      this.occupationalForm.delFlag = row.delFlag
      this.occupationalForm.version = row.version
      this.occupationalForm.remark = row.remark
      this.thisShowIndex = 10
      this.dialogshowArr[10].show = true
      this.dialogshowArr[10].read = false
    },
    editLaborTrouble(row) {
      this.isAdd = false
@@ -4405,7 +5653,7 @@
      this.laborTroubleForm.delFlag = row.delFlag
      this.laborTroubleForm.version = row.version
      this.laborTroubleForm.remark = row.remark
      this.thisShowIndex = 11
      this.dialogshowArr[11].show = true
    },
    editBadRecord(row) {
@@ -4430,6 +5678,7 @@
      this.badRecordForm.delFlag = row.delFlag
      this.badRecordForm.version = row.version
      this.badRecordForm.remark = row.remark
      this.thisShowIndex = 12
      this.dialogshowArr[12].show = true
    },
    editRemarkInfo(row) {
@@ -4452,7 +5701,7 @@
      this.remarkInfoForm.modifier = row.modifier
      this.remarkInfoForm.delFlag = row.delFlag
      this.remarkInfoForm.version = row.version
      this.thisShowIndex = 13
      this.dialogshowArr[13].show = true
    },
    gzadd(index) {
@@ -4461,7 +5710,6 @@
      this.dialogshowArr[index].show = true
    },
    gzdelete(tables, selection, Id) {
      debugger
      if (!selection.length) {
        this.$message({
          message: this.$t('tips.noDataSelected'),
@@ -4614,68 +5862,120 @@
    goAnchor: function(type) {
      let item = 1
      this.item = type
      // 根据点击的菜单懒加载对应数据
      switch (type) {
        case 'jbxx':
          item = 0
          // 基本信息 - 已加载
          break
        case 'gzjl':
          item = 1
          // 工作经历 - 懒加载
          if (!this.workExperienceData || this.workExperienceData.length === 0) {
            this.initList()
          }
          break
        case 'tjxx':
          item = 2
          // 体检信息 - 懒加载
          if (!this.physicalExamData || this.physicalExamData.length === 0) {
            this.initphysicalExamData()
          }
          break
        case 'htxx':
          item = 3
          // 合同信息 - 懒加载
          if (!this.contractInfoData || this.contractInfoData.length === 0) {
            this.initcontractInfoData()
          }
          break
        case 'tgjl':
          item = 4
          // 调岗记录 - 懒加载
          if (!this.jobChangeData || this.jobChangeData.length === 0) {
            this.initjobChangeData()
          }
          break
        case 'qjjl':
          item = 5
          // 请假记录 - 懒加载
          if (!this.leaveInfoData || this.leaveInfoData.length === 0) {
            this.initleaveInfoData()
          }
          break
        case 'czsq':
          item = 6
          // 辞职申请 - 懒加载
          if (!this.resignData || this.resignData.length === 0) {
            this.initresignData()
          }
          break
        case 'lzdykq':
          item = 7
          // 离职当月考勤 - 懒加载
          if (!this.dimissionAttendData || this.dimissionAttendData.length === 0) {
            this.initdimissionAttendData()
          }
          break
        case 'rlzjl':
          item = 8
          // 入离职记录 - 懒加载
          if (!this.dimissionLogData || this.dimissionLogData.length === 0) {
            this.initdimissionLogData()
          }
          break
        case 'syjlq':
          item = 9
          // 失业金领取 - 懒加载
          if (!this.unemploymentData || this.unemploymentData.length === 0) {
            this.initunemploymentData()
          }
          break
        case 'sbsq':
          item = 10
          // 社保申请 - 懒加载
          if (!this.insuranceData || this.insuranceData.length === 0) {
            this.initinsuranceData()
          }
          break
        case 'ywxaj':
          item = 11
          // 意外险案件 - 懒加载
          if (!this.accidentCasesData || this.accidentCasesData.length === 0) {
            this.initaccidentCasesData()
          }
          break
        case 'gsaj':
          item = 12
          // 工伤案件 - 懒加载
          if (!this.occupationalData || this.occupationalData.length === 0) {
            this.initoccupationalData()
          }
          break
        case 'lzaj':
          item = 13
          break
        case 'bz':
          item = 14
          break
        case 'jljt':
          item = 15
          break
        case 'xgfj':
          item = 16
          // 仲裁案件 - 懒加载
          if (!this.laborTroubleData || this.laborTroubleData.length === 0) {
            this.initlaborTroubleData()
          }
          break
        case 'bljl':
          item = 17
          item = 14
          // 不良记录 - 懒加载
          if (!this.badRecordData || this.badRecordData.length === 0) {
            this.initbadRecordData()
          }
          break
        // eslint-disable-next-line no-duplicate-case
        case 'bz':
          item = 15
          // 备注 - 懒加载
          if (!this.remarkInfoData || this.remarkInfoData.length === 0) {
            this.initremarkInfoData()
          }
          break
        case 'jljt':
          item = 18
          break
        // eslint-disable-next-line no-duplicate-case
        case 'xgfj':
          item = 19
          item = 16
          // 记录截图及相关附件 - 已在initlabel中加载
          break
      }
      this.$nextTick(() => {
@@ -4754,7 +6054,6 @@
          } else {
            // update
            this.$put('system/sysConfig', { ...this.sysConfig }).then(() => {
              debugger
              this.buttonLoading = false
              this.isVisible = false
              this.$message({
@@ -4781,108 +6080,63 @@
}
</script>
<style lang="scss" scoped>
.conDetails{
.conDetails {
  display: flex;
  justify-content: space-between;
  .dadetails{
  .dadetails {
    width: 220px;
    padding: 10px ;
    padding: 10px;
    box-sizing: border-box;
    .jbxxImg{
    .jbxxImg {
      width: 100px;
      height: 80px;
    }
    .title-da{
      margin-left: -102px;
      text-align: center;
      padding: 10px;
      padding-bottom: 7px;
      margin-bottom: 19px;
    }
    .jbxx-ul {
      margin: 0;
      font-size: 14px;
      list-style: none;
      padding-left: 10px !important;
      >li:last-of-type {
        > div:first-of-type {
          position: absolute;
          left: 4px;
          height: 100%;
          border-left: 0;
        }
      }
      li {
        padding-bottom: 5px;
        position: relative;
        height: 35px;
        box-sizing: border-box;
        > div:first-of-type {
          position: absolute;
          left: 4px;
          height: 100%;
          border-left: 2px solid #dfe4ed;
        }
        > div:last-of-type {
          color: #333;
          cursor: pointer;
          position: relative;
          height: 35px;
          box-sizing: border-box;
          padding-left: 28px !important;
          &:hover {
            color: #a00515;
            cursor: pointer;
          }
          .light {
            color: #a00515;
          }
        }
        .item-node {
          left: -1px;
          width: 12px;
          height: 12px;
          position: absolute;
          background-color: #dfe4ed;
          border-radius: 50%;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: center;
          -ms-flex-pack: center;
          justify-content: center;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
        }
      }
    .title-da {
      padding-top: 8px;
      font-weight: 700;
      color: #333;
      height: 30px;
      line-height: 30px;
    }
  }
  .boxDetails{
  .boxDetails {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    height: 90vh;
    overflow-y: scroll;
    .jbxxTitle{
    .jbxxTitle, .jbxxTitle2 {
      height: 30px;
      line-height: 30px;
      padding-left: 15px;
      border-left: 4px solid #a00515;
      margin: 40px 0 20px;
      //border-left: 4px solid #a00515;
      margin: 30px 0 20px;
      color: #000;
      font-weight: 700;
      position: relative;
    }
    .jbxx .jbxxTitle {
      margin: 20px 0;
    }
    .jbxxTitle::before,
    .jbxxTitle2::before {
      content: '';
      position: absolute;
      left: -10px;
      top: 50%;
      transform: translateY(-50%);
      background-color: #a00515;
      border-radius: 50%;
      display: inline-block;
      height: 15px;
      width: 15px;
    }
    .jbxxTitle::after {
@@ -4896,9 +6150,11 @@
      height: 1px;
      border: 1px dashed #ccc;
    }
    .el-table__header{
    .el-table__header {
      width: 100%;
    }
    //.jbxx{
    //  /deep/.el-form-item{
    //    display: flex;
@@ -4908,7 +6164,8 @@
    //    width: 100px!important;
    //  }
    //  /deep/.el-form-item__content{
    //    margin-left: 0px!important;
    //    margin-left: 10px!important;
    //    width: 80%!important;
    //  }
    //  .formjbxx{
    //    display: flex;
@@ -4917,6 +6174,143 @@
    //}
  }
}
.el-select {
  width: 100%;
}
.el-autocomplete {
  width: 100%;
}
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}
.el-main {
  margin-top: 2%;
}
.app-main {
  background-color: #ffffff;
}
.el-button,
.el-button--primary {
  background: #a32c30;
  border-color: #a32c30;
  color: #fff;
  outline: none;
}
.zs-main .text-header {
  line-height: 40px;
}
.el-card {
  border: none;
}
.el-input-number {
  width: 100%;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
}
.clearfix:after {
  clear: both;
}
.add-folder {
  text-align: initial;
}
.zs-main {
  .search-title {
    height: 50px;
    .search {
      position: relative;
      top: 50%;
      transform: translateY(-50%);
    }
    .title {
      position: relative;
      top: 40%;
      transform: translateY(-50%);
    }
    .zs-title {
      border-left: 4px solid #a32c30;
      padding-left: 10px;
      font-size: 16px;
    }
  }
  .add-folder-but {
    background: #fff !important;
    color: #a32c30 !important;
    margin-bottom: 20px;
  }
  padding: 0 15px 0 15px;
  .text-header {
    line-height: 60px;
  }
  .uploading-image {
    width: 70%;
    height: 70%;
    display: block;
    margin: 0 auto;
  }
}
.el-timeline-item__timestamp {
  font-size: 15px;
  color: #000;
}
/* 设置带边框的checkbox,选中后边框的颜色 */
.myRedCheckBox.is-bordered.is-checked {
  border-color: #a32c30;
}
/* 设置选中后的文字颜色 */
.myRedCheckBox .el-checkbox__input.is-checked + .el-checkbox__label {
  color: #a32c30;
}
/* 设置选中后对勾框的边框和背景颜色 */
.myRedCheckBox .el-checkbox__input.is-checked .el-checkbox__inner,
.myRedCheckBox .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  border-color: #a32c30;
  background-color: #a32c30;
}
/* 设置checkbox获得焦点后,对勾框的边框颜色 */
.myRedCheckBox .el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: #a32c30;
}
/* 设置鼠标经过对勾框,对勾框边框的颜色 */
.myRedCheckBox .el-checkbox__inner:hover {
  border-color: #a32c30;
}
.myRedCheckBox .el-checkbox__label {
  width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-uploader .el-upload {
@@ -4955,40 +6349,251 @@
  width: 100px;
  height: 100px;
}
.el-select {
  width: 100%;
// 头像包装器
.avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  .avatar {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
    border: 1px dashed #d9d9d9;
    &:hover {
      border-color: #409eff;
    }
  }
  .avatar-uploader-placeholder {
    width: 150px;
    height: 150px;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #fafafa;
    &:hover {
      border-color: #409eff;
      background-color: #f0f9ff;
    }
    .avatar-uploader-icon {
      font-size: 28px;
      color: #8c939d;
      line-height: 1;
      margin-bottom: 8px;
    }
    .upload-tip {
      font-size: 12px;
      color: #8c939d;
    }
  }
}
.el-autocomplete {
  width: 100%;
}
.el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}
.el-input-number {
  width: 100%;
// 上传方式选择容器
.upload-choice-container {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  .upload-choice-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    &:hover {
      border-color: #409eff;
      background-color: #f5f7fa;
    }
    i {
      font-size: 40px;
      color: #409eff;
      margin-bottom: 10px;
    }
    span {
      font-size: 14px;
      color: #606266;
    }
  }
}
.el-main {
  margin-top: 2%;
// 摄像头容器
.camera-container {
  text-align: center;
  .camera-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px;
    background: #000;
  }
  .captured-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px;
  }
}
.app-main {
  background-color: #ffffff;
.table-button {
  color: #a00515;
  display: inline-block;
  width: 45%;
  cursor: pointer;
}
.filter-item {
  margin-bottom: 10px;
  position: absolute;
  right: 20px;
}
.jbxx-ul {
  margin-top: 10px;
  font-size: 14px;
  list-style: none;
  padding-left: 10px !important;
  > li:last-of-type {
    > div:first-of-type {
      position: absolute;
      left: 4px;
      height: 100%;
      border-left: 0;
    }
  }
  li {
    padding-bottom: 5px;
    position: relative;
    height: 35px;
    box-sizing: border-box;
    > div:first-of-type {
      position: absolute;
      left: 4px;
      height: 100%;
      border-left: 2px solid #dfe4ed;
    }
    > div:last-of-type {
      color: #333;
      cursor: pointer;
      position: relative;
      height: 35px;
      box-sizing: border-box;
      padding-left: 28px !important;
      &:hover {
        color: #a00515;
        cursor: pointer;
      }
      .light {
        color: #a00515;
      }
    }
    .item-node {
      left: -1px;
      width: 12px;
      height: 12px;
      position: absolute;
      background-color: #dfe4ed;
      border-radius: 50%;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
    }
  }
}
</style>
<style lang="scss">
.da-dialog {
.el-dialog__title {
  font-weight: 700;
  button.el-dialog__headerbtn {
    height: 30px;
    width: 30px;
    background-color: #a00515;
    opacity: 0.8;
    line-height: 30px;
    border-radius: 50%;
    i {
      color: #fff !important;
    }
    &:hover {
      opacity: 0.5;
    }
  }
  .el-pagination {
    width: 98%;
    text-align: right;
  }
  .el-aside {
    height: 750px;
    overflow: hidden;
  }
  li.el-timeline-item {
    padding-bottom: 1px;
    height: 35px;
  }
  .el-dialog__title {
    font-weight: 700;
  }
  .el-dialog__body {
    padding: 10px 20px;
  }
}
.el-dialog__body {
  padding: 10px 20px;
.el-dialog.is-fullscreen {
  overflow: hidden;
}
.formjbxx {
  .el-input.is-disabled .el-input__inner {
    background-color: #fff !important;
    color: #333 !important;
  }
}
.pri-del-btn {
  background-color: rgb(64, 158, 255);
  border-color: rgb(64, 158, 255);
}
</style>