孔祥富
2021-03-18 2402f7902663a20fe1b66f4305abb5ba05d7016f
Merge remote-tracking branch 'origin/master'
22个文件已修改
519 ■■■■■ 已修改文件
src/api/request.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/HtUser.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/ygUser.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dictItem/Index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dictItem/dicEdit.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/febs/system/dict/Index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/febs/system/job/Index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/febs/system/job/PositionEdit.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/febs/system/role/Index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/febs/system/user/Edit.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/Informationinput.vue 130 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/archivesChange.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/archivesEdit.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/inemployees.vue 86 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/outemployess.vue 62 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/search.vue 92 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/yunpan/fujian.vue 69 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/yunpan/uploadfj.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/yunpan/zhishou.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/request.js
@@ -21,7 +21,6 @@
  }
  return config
}, error => {
  debugger
  console.log(error)
  Promise.reject(error)
})
src/layout/components/Navbar.vue
@@ -104,7 +104,9 @@
      }).then(() => {
        db.remove('USER_ROUTER')
        db.remove('PERMISSIONS')
        location.reload()
        this.$get('system/dic/deleteCache').then((r) => {
          location.reload()
        })
      }).catch(() => {
        // do nothing
      })
src/router/index.js
@@ -115,6 +115,7 @@
        if (!userRouter) {
          request.get(`system/menu/${user.username}`).then((res) => {
            const permissions = res.data.data.permissions
            save('PERMISSIONS', permissions)
            store.commit('account/setPermissions', permissions)
            asyncRouter = res.data.data.routes
            store.commit('account/setRoutes', asyncRouter)
src/views/dashboard/HtUser.vue
@@ -118,7 +118,6 @@
      return this.selectDictLabel(this.contractStatusOptions, row.contractStatus)
    },
    transContractStatus(contractStatus, time) {
      debugger
      var strtime = time.replace('/-/g', '/')// 时间转换
      // 时间
      var date1 = new Date(strtime)
src/views/dashboard/ygUser.vue
@@ -186,7 +186,6 @@
      this.$get('hr/statistics/empBaseInfoList', {
        ...params
      }).then((r) => {
        debugger
        const data = r.data.data
        that.total = data.total
        that.list = data.rows
src/views/dictItem/Index.vue
@@ -115,7 +115,6 @@
      this.selection = selection
    },
    add() {
      debugger
      this.$refs.edit.setaddDicItem(this.queryParams.dicId)
      this.dialog.title = this.$t('common.add')
      this.dialog.isVisible = true
@@ -140,7 +139,6 @@
        cancelButtonText: this.$t('common.cancel'),
        type: 'warning'
      }).then(() => {
        debugger
        const dicItemId = []
        this.selection.forEach((c) => {
          dicItemId.push(c.dicItemId)
src/views/dictItem/dicEdit.vue
@@ -108,7 +108,6 @@
      }
    },
    setaddDicItem(val) {
      debugger
      this.dicItem.dicId = val
    },
    setdicItem(val) {
@@ -132,7 +131,6 @@
          } else {
            // update
            this.$put('system/dicItem', { ...this.dicItem }).then(() => {
              debugger
              this.buttonLoading = false
              this.isVisible = false
              this.$message({
src/views/febs/system/dict/Index.vue
@@ -142,7 +142,6 @@
        cancelButtonText: this.$t('common.cancel'),
        type: 'warning'
      }).then(() => {
        debugger
        const dicId = []
        this.selection.forEach((c) => {
          dicId.push(c.dicId)
@@ -153,7 +152,6 @@
      })
    },
    singleDelete(row) {
      debugger
      this.$refs.table.toggleRowSelection(row, true)
      this.delete(row.dicId)
    },
src/views/febs/system/job/Index.vue
@@ -140,7 +140,6 @@
        cancelButtonText: this.$t('common.cancel'),
        type: 'warning'
      }).then(() => {
        debugger
        const positionId = []
        this.selection.forEach((c) => {
          positionId.push(c.positionId)
@@ -151,7 +150,6 @@
      })
    },
    singleDelete(row) {
      debugger
      this.$refs.table.toggleRowSelection(row, true)
      this.delete(row.positionId)
    },
src/views/febs/system/job/PositionEdit.vue
@@ -129,7 +129,6 @@
          } else {
            // update
            this.$put('system/position', { ...this.position }).then(() => {
              debugger
              this.buttonLoading = false
              this.isVisible = false
              this.$message({
src/views/febs/system/role/Index.vue
@@ -222,7 +222,7 @@
        if (valid) {
          this.buttonLoading = true
          if (this.role.roleId) {
            this.role.menuIds = this.$refs.permsTree.getCheckedKeys().join(',')
            this.role.menuIds = this.$refs.permsTree.getCheckedKeys().concat(this.$refs.permsTree.getHalfCheckedKeys()).join(',')
            this.role.createTime = this.role.modifyTime = null
            this.$put('system/role', { ...this.role }).then(() => {
              this.buttonLoading = false
@@ -233,7 +233,7 @@
              this.reset()
            })
          } else {
            this.role.menuIds = this.$refs.permsTree.getCheckedKeys().join(',')
            this.role.menuIds = this.$refs.permsTree.getCheckedKeys().concat(this.$refs.permsTree.getHalfCheckedKeys()).join(',')
            this.$post('system/role', { ...this.role }).then(() => {
              this.buttonLoading = false
              this.$message({
src/views/febs/system/user/Edit.vue
@@ -66,7 +66,6 @@
        <el-tree
          ref="deptTree"
          :data="deptTree"
          :check-strictly="false"
          :default-checked-keys="user.deptIdsArr"
          show-checkbox
          accordion
@@ -250,8 +249,23 @@
      })
    },
    setUser(val) {
      setTimeout(() => {
        this.filterDate(val)
      }, 1000)
    },
    filterDate(val) {
      var this_ = this
      this.user = { ...val }
      this.user.deptIds && (this.user.deptIdsArr = this.user.deptIds.split(','))
      var deptIdArrStr = []
      this.user.deptIds.split(',').forEach(element => {
        const thisNode = this_.$refs.deptTree.getNode(element) // 获取当前节点
        if (thisNode.childNodes.length === 0) {
          deptIdArrStr.push(thisNode.data.id)
          return
        }
      })
      this.user.deptIds && (this.user.deptIdsArr = deptIdArrStr)
    },
    close() {
      this.$emit('close')
@@ -290,7 +304,7 @@
        if (valid) {
          this.buttonLoading = true
          this.user.roleId = this.user.roleId.join(',')
          this.user.deptIds = this.$refs.deptTree.getCheckedKeys()
          this.user.deptIds = this.$refs.deptTree.getCheckedKeys().concat(this.$refs.deptTree.getHalfCheckedKeys())
          if (!this.user.userId) {
            // create
            this.$post('system/user', { ...this.user }).then(() => {
src/views/user/Informationinput.vue
@@ -3,53 +3,53 @@
    <el-container>
      <el-aside width="175px">
        <el-timeline style="padding-left: 15px">
          <el-timeline-item @click.native="isShow(showArr[0].show, 0)">
          <el-timeline-item v-show="timelineShow('empBaseinfo:list')" @click.native="isShow(showArr[0].show, 0)">
            <span :class="thisShowIndex===0?'selectedTimeline':''">基本信息</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[1].show, 1)">
          <el-timeline-item v-show="timelineShow('empWorkexperience:list')" @click.native="isShow(showArr[1].show, 1)">
            <span :class="thisShowIndex===1?'selectedTimeline':''">工作经历</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[2].show, 2)">
          <el-timeline-item v-show="timelineShow('empPhysicalexam:list')" @click.native="isShow(showArr[2].show, 2)">
            <span :class="thisShowIndex===2?'selectedTimeline':''">体检信息</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[3].show, 3)">
          <el-timeline-item v-show="timelineShow('empContractinfo:list')" @click.native="isShow(showArr[3].show, 3)">
            <span :class="thisShowIndex===3?'selectedTimeline':''">合同信息</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[4].show, 4)">
          <el-timeline-item v-show="timelineShow('empDimissionattend:list')" @click.native="isShow(showArr[4].show, 4)">
            <span :class="thisShowIndex===4?'selectedTimeline':''">离职当月考勤</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[5].show, 5)">
          <el-timeline-item v-show="timelineShow('empLeaveinfo:list')" @click.native="isShow(showArr[5].show, 5)">
            <span :class="thisShowIndex===5?'selectedTimeline':''">请假记录</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[6].show, 6)">
          <el-timeline-item v-show="timelineShow('empResign:list')" @click.native="isShow(showArr[6].show, 6)">
            <span :class="thisShowIndex===6?'selectedTimeline':''">辞职申请</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[7].show, 7)">
          <el-timeline-item v-show="timelineShow('empUnemployment:list')" @click.native="isShow(showArr[7].show, 7)">
            <span :class="thisShowIndex===7?'selectedTimeline':''">失业金领取</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[8].show, 8)">
          <el-timeline-item v-show="timelineShow('empInsurance:list')" @click.native="isShow(showArr[8].show, 8)">
            <span :class="thisShowIndex===8?'selectedTimeline':''">社保申请</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[9].show, 9)">
          <el-timeline-item v-show="timelineShow('empAccidentcases:list')" @click.native="isShow(showArr[9].show, 9)">
            <span :class="thisShowIndex===9?'selectedTimeline':''">意外险案件</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[10].show, 10)">
          <el-timeline-item v-show="timelineShow('empOccupational:list')" @click.native="isShow(showArr[10].show, 10)">
            <span :class="thisShowIndex===10?'selectedTimeline':''">工伤案件</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[11].show, 11)">
          <el-timeline-item v-show="timelineShow('empLabortrouble:list')" @click.native="isShow(showArr[11].show, 11)">
            <span :class="thisShowIndex===11?'selectedTimeline':''">劳资案件</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[12].show, 12)">
          <el-timeline-item v-show="timelineShow('empBadrecord:list')" @click.native="isShow(showArr[12].show, 12)">
            <span :class="thisShowIndex===12?'selectedTimeline':''">不良记录</span>
          </el-timeline-item>
          <el-timeline-item @click.native="isShow(showArr[13].show, 13)">
          <el-timeline-item v-show="timelineShow('empRemarkinfo:list')" @click.native="isShow(showArr[13].show, 13)">
            <span :class="thisShowIndex===13?'selectedTimeline':''">备注信息</span>
          </el-timeline-item>
        </el-timeline>
      </el-aside>
      <el-main>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-button class="commonBtn" @click.native="dialogIsShow('0')">新增</el-button>
            <el-button class="commonBtn" style="background-color: #409EFF" @click.native="butDelete()">删除</el-button>
            <el-button class="commonBtn" style="float: right" @click.native="showDryg(0)">导入员工信息</el-button>
@@ -409,7 +409,7 @@
          <el-table-column prop="reportStatus " label="是否已报告" width="100" :formatter="reportStatusFormat" />
          <el-table-column prop="applayStatus" label="状态" width="80" :formatter="applayStatusFormat" />
          <el-table-column prop="auditor" label="审核人" width="80" />
          <el-table-column prop="remark" label="备注" />
          <el-table-column prop="remark" label="备注" width="300" />
        </el-table>
        <el-table
          v-show="showArr[9].show"
@@ -625,7 +625,7 @@
          :limit.sync="pagination.size"
          @pagination="search"
        />
        <el-col :span="24">
        <el-col>
          <div style="width: 250px;margin: 20px auto 0;">
            <el-button class="nomalBtn" @click="deleteFrom()">取消</el-button>
            <el-button class="commonBtn" @click="submitTo()">提交</el-button>
@@ -650,7 +650,6 @@
                :headers="headers()"
                :on-success="importHandleAvatarSuccess"
                :on-error="importHandleAvatarError"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
@@ -907,7 +906,7 @@
                  </el-select>
                </el-form-item>
              </el-col>
              <el-col :span="24">
              <el-col>
                <el-form-item label="相关证件" prop="certificateList">
                  <el-select v-model="empBaseInfoForm.certificateList" multiple placeholder="请选择相关证件">
                    <el-option
@@ -965,7 +964,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="工作单位" prop="workUnit">
              <el-input v-model="workExperienceForm.workUnit" />
            </el-form-item>
@@ -994,7 +993,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="主要工作内容" prop="jobContent">
              <el-input v-model="workExperienceForm.jobContent" type="textarea" />
            </el-form-item>
@@ -1087,7 +1086,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="体检结论" prop="conclusion">
              <el-input v-model="physicalExamForm.conclusion" />
            </el-form-item>
@@ -1102,7 +1101,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注" prop="remark">
              <el-input v-model="physicalExamForm.remark" type="textarea" />
            </el-form-item>
@@ -1190,7 +1189,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注" prop="remark">
              <el-input v-model="contractInfoForm.remark" type="textarea" />
            </el-form-item>
@@ -1271,7 +1270,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注" prop="remark">
              <el-input v-model="dimissionAttendForm.remark" type="textarea" />
            </el-form-item>
@@ -1367,7 +1366,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="leaveInfoForm.remark" type="textarea" />
            </el-form-item>
@@ -1420,14 +1419,14 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="辞职事由" prop="reason">
              <el-input v-model="resignForm.reason" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="resignForm.remark" type="textarea" />
            </el-form-item>
@@ -1493,7 +1492,7 @@
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="unemploymentForm.remark" type="textarea" />
            </el-form-item>
@@ -1585,7 +1584,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="insuranceForm.remark" type="textarea" />
            </el-form-item>
@@ -1651,7 +1650,7 @@
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="受伤经过描述" prop="injuredDescribe">
              <el-input v-model="accidentCasesForm.injuredDescribe" type="textarea" />
            </el-form-item>
@@ -1798,7 +1797,7 @@
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="受伤经过描述" prop="injuredDescribe">
              <el-input v-model="occupationalForm.injuredDescribe" type="textarea" />
            </el-form-item>
@@ -1923,7 +1922,7 @@
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="occupationalForm.remark" type="textarea" />
            </el-form-item>
@@ -2017,14 +2016,14 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="仲裁事由" prop="arbitrationReason">
              <el-input v-model="laborTroubleForm.arbitrationReason" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注" prop="remark">
              <el-input v-model="laborTroubleForm.remark" type="textarea" />
            </el-form-item>
@@ -2083,14 +2082,14 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="不良记录描述" prop="badContent">
              <el-input v-model="badRecordForm.badContent" />
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注">
              <el-input v-model="badRecordForm.remark" type="textarea" />
            </el-form-item>
@@ -2146,7 +2145,7 @@
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
          <el-col>
            <el-form-item label="备注" prop="remarkContent">
              <el-input v-model="remarkInfoForm.remarkContent" type="textarea" />
            </el-form-item>
@@ -3068,10 +3067,12 @@
      arbitrationTypeOptions: [],
      changeTypeOptions: [],
      dimissionTypeOptions: [],
      sexOptions: []
      sexOptions: [],
      permissions: {}
    }
  },
  mounted() {
    this.permissions = JSON.parse(localStorage.getItem('PERMISSIONS'))
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
@@ -3150,6 +3151,14 @@
    this.initJob()
  },
  methods: {
    timelineShow(name) {
      for (const v of this.permissions) {
        if (v === name) {
          return true
        }
      }
      return false
    },
    importHandleAvatarError() {
      this.$notify.error({
        title: '错误',
@@ -4339,6 +4348,7 @@
      this.empBaseInfoForm.version = row.version
      this.dialogshowArr[0].show = true
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId
      this.empBaseInfoForm.insuranceType = row.insuranceType
    },
    putEmpBase(formName) {
      this.$refs[formName].validate((valid) => {
@@ -4384,6 +4394,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    selectWorkExperience() {
      this.tableUrl = 'hr/empWorkExperience/list'
@@ -4437,6 +4450,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanWorkExperience() {
      this.workExperienceForm.empId = ''
@@ -4536,6 +4552,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanPhysicalExam() {
      this.physicalExamForm.empId = ''
@@ -4640,6 +4659,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanContractInfo() {
      this.contractInfoForm.empId = ''
@@ -4748,6 +4770,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanDimissionAttend() {
      this.dimissionAttendForm.empId = ''
@@ -4854,6 +4879,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanLeaveInfo() {
      this.leaveInfoForm.empId = ''
@@ -4962,6 +4990,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanResign() {
      this.resignForm.empId = ''
@@ -5064,6 +5095,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanUnemployment() {
      this.unemploymentForm.empId = ''
@@ -5168,6 +5202,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanInsurance() {
      this.insuranceForm.empId = ''
@@ -5275,6 +5312,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanAccidentCases() {
      this.accidentCasesForm.empId = ''
@@ -5407,6 +5447,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanOccupational() {
      this.occupationalForm.empId = ''
@@ -5559,6 +5602,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanLaborTrouble() {
      this.laborTroubleForm.empId = ''
@@ -5692,6 +5738,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    editBadRecord(row) {
      this.isAdd = false
@@ -5768,6 +5817,9 @@
          }
        }
      })
      setTimeout(() => {
        this.$refs[formName].clearValidate()
      }, 1500)
    },
    cleanRemarkInfo() {
      this.remarkInfoForm.empId = ''
src/views/user/archivesChange.vue
@@ -3955,7 +3955,6 @@
      this.checkedArr = []
      this.$get('hr/empAccessory', { ...params }).then(r => {
        r.data.data.forEach((v, i) => {
          debugger
          this.checkedArr.push({ isChecked: false, accessoryid: v.accessoryid })
          // 一行8个 等于8就换行
          if (i % 8 === 0 && i !== 0) {
@@ -4888,7 +4887,6 @@
      this.remarkInfoForm.version = ''
    },
    dialogIsShow() {
      debugger
      this.workExperienceModal = false
      this.isAdd = true
      this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex]
src/views/user/archivesEdit.vue
@@ -4218,10 +4218,10 @@
      this.readon = true
    },
    gzupdate1() {
      const empBaseInfoForm = this.empBaseInfoForm
      if (empBaseInfoForm.imagePath.indexOf('data:image/jpeg') === -1) {
        this.empBaseInfoForm.imagePath = ''
      }
      // 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'),
@@ -5016,7 +5016,6 @@
      this.remarkInfoForm.version = ''
    },
    dialogIsShow() {
      debugger
      this.workExperienceModal = false
      this.isAdd = true
      this.dialogshowArr[this.thisShowIndex].show = !this.dialogshowArr[this.thisShowIndex]
@@ -6179,4 +6178,3 @@
  border-color: rgb(64, 158, 255) !important;
}
</style>
src/views/user/inemployees.vue
@@ -188,9 +188,9 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.entryType" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllEntryType">全部</el-checkbox>
                      <el-checkbox :label="4">新入职</el-checkbox>
                      <el-checkbox :label="5">最新入职</el-checkbox>
                      <el-checkbox :label="6">返聘入职</el-checkbox>
                      <el-checkbox :label="20">新入职</el-checkbox>
                      <el-checkbox :label="21">重新新入职</el-checkbox>
                      <el-checkbox :label="22">返聘入职</el-checkbox>
                      <!--                      <el-checkbox-->
                      <!--                        v-for="data in dimissionTypeOptions"-->
                      <!--                        :key="data.dicItemName"-->
@@ -254,8 +254,8 @@
          <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" width="160" />
          <el-table-column show-overflow-tooltip="true" prop="sex" label="性别" width="60" :formatter="sexFormat" />
          <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="60" />
          <el-table-column show-overflow-tooltip="true" prop="education" label="学历" width="60" :formatter="educationFormat" />
          <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="education" label="学历" width="80" :formatter="educationFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="nativePlace" label="籍贯" width="70" :formatter="nativePlaceFormat" />
          <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" width="110" />
          <el-table-column show-overflow-tooltip="true" prop="empTypeName" label="员工类型" width="80" />
@@ -265,7 +265,11 @@
              {{ transEmpStatus(row.empStatus) }}
            </template>
          </el-table-column>
          <el-table-column prop="entryTypeName" label="入职类型" width="80" />
          <el-table-column prop="entryType" label="入职类型" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
            <template slot-scope="{row}">
              {{ transEntryType(row.entryType) }}
            </template>
          </el-table-column>
        </el-table>
        <pagination
          v-show="total>0"
@@ -630,21 +634,21 @@
          <el-col span="24">
            <el-form-item label="离职类型" prop="dimissionType">
              <el-radio-group v-model="gbdaForm.dimissionType" @change="changeDimissionType">
                <el-radio :label="1">正常离职</el-radio>
                <el-radio :label="2">自动离职</el-radio>
                <el-radio :label="1">合同期满</el-radio>
                <el-radio :label="2">公司劝退</el-radio>
                <el-radio :label="3">公司辞退</el-radio>
                <el-radio :label="7">合同期满</el-radio>
                <el-radio :label="8">公司劝退</el-radio>
                <el-radio :label="9">试用期内</el-radio>
                <el-radio :label="4">自动离职</el-radio>
                <el-radio :label="5">试用期内</el-radio>
                <el-radio :label="6">正常离职</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
          <el-col v-if="selectDimissionType === 2" span="12">
          <el-col v-if="selectDimissionType === 4" span="12">
            <el-form-item label="自离天数" prop="selfLeaveDay">
              <el-input v-model="gbdaForm.selfLeaveDay" onkeyup="value=value.replace(/[^0-9.]/g,'')" />
            </el-form-item>
          </el-col>
          <el-col v-if="selectDimissionType === 2" span="12">
          <el-col v-if="selectDimissionType === 4" span="12">
            <el-form-item label="报告人" prop="reporter">
              <el-input v-model="gbdaForm.reporter" />
            </el-form-item>
@@ -855,6 +859,20 @@
              <el-checkbox label="handbookStatusName"><span /></el-checkbox>
            </td>
          </tr>
          <tr>
            <td>入职类型</td>
            <td>
              <el-checkbox label="entryTypeName"><span /></el-checkbox>
            </td>
            <td>离职类型</td>
            <td>
              <el-checkbox label="dimissionTypeName"><span /></el-checkbox>
            </td>
            <td>编号</td>
            <td>
              <el-checkbox label="empNumb"><span /></el-checkbox>
            </td>
          </tr>
          <!--          <tr>-->
          <!--            <td>家庭成员及关系</td>-->
          <!--            <td>-->
@@ -891,8 +909,8 @@
          <el-col span="24">
            <el-form-item label="打开类型" prop="region">
              <el-radio-group v-model="openArchivesForm.openType">
                <el-radio :label="5">重新入职</el-radio>
                <el-radio :label="6">返聘</el-radio>
                <el-radio :label="20">重新入职</el-radio>
                <el-radio :label="21">返聘</el-radio>
              </el-radio-group>
              (主要对已退休员工返聘)
            </el-form-item>
@@ -1013,7 +1031,8 @@
        modifier: '',
        delFlag: '0',
        empStatus: 0,
        version: ''
        version: '',
        entryType: '20'
      },
      ygdgForm: {
        empIds: [],
@@ -1167,7 +1186,7 @@
      exportUrl: '',
      checkAll: false,
      isIndeterminate: false,
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'insuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate'],
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'insuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate', 'entryTypeName', 'dimissionTypeName', 'empNumb'],
      checkedCities: [],
      tableData: [],
      selectDimissionType: 1,
@@ -1197,7 +1216,7 @@
      dimissionTypeOptions: [],
      ageStrOptions: [],
      sexOptions: [],
      openArchivesForm: {}
      openArchivesForm: { }
    }
  },
  mounted() {
@@ -1360,6 +1379,16 @@
          return '离职'
        case '2':
          return '退休'
      }
    },
    transEntryType(entryType) {
      switch (entryType) {
        case '20':
          return '新入职'
        case '21':
          return '重新入职'
        case '22':
          return '返聘入职'
      }
    },
    typeFormat(row, column) {
@@ -1597,7 +1626,8 @@
      this.empBaseInfoForm.modifier = row.modifier
      this.empBaseInfoForm.delFlag = row.delFlag
      this.empBaseInfoForm.version = row.version
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId
      // this.empBaseInfoImageUrl = ''
      this.empBaseInfoImageUrl = pages.getEmpBaseInfoImage + row.empId + '?t=' + parseInt(100 * Math.random())
      this.showXzyg(1)
    },
    putEmpBase(formName) {
@@ -1816,7 +1846,6 @@
    },
    changeDimissionType(value) {
      this.selectDimissionType = value
      console.log('值:' + value)
    },
    validSelfLeaveDay(rule, value, callback) {
      const type = this.gbdaForm.dimissionType
@@ -2004,7 +2033,7 @@
    },
    selectAllEntryType(val) {
      if (val) {
        this.queryParams.entryType = [4, 5, 6]
        this.queryParams.entryType = [20, 21, 22]
      } else {
        this.queryParams.entryType = []
      }
@@ -2038,13 +2067,22 @@
              let tempName
              switch (r.data.data.dimissionType) {
                case '1':
                  tempName = '正常离职'
                  tempName = '合同期满'
                  break
                case '2':
                  tempName = '自动离职'
                  tempName = '公司劝退'
                  break
                case '3':
                  tempName = '公司辞退'
                  break
                case '4':
                  tempName = '自动离职'
                  break
                case '5':
                  tempName = '试用期内'
                  break
                case '6':
                  tempName = '正常离职'
                  break
              }
              var msg = '该员工已存在,' + tempName + '状态!\n\r'
@@ -2059,7 +2097,7 @@
                  empId: r.data.data.empId,
                  empName: r.data.data.empName,
                  certificateNumb: r.data.data.certificateNumb,
                  openType: 2,
                  openType: 20,
                  openDate: this.getDateString(),
                  remark: ''
                }
src/views/user/outemployess.vue
@@ -177,12 +177,12 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.dimissionType" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllDimissionType">全部</el-checkbox>
                        <el-checkbox :label="1">正常离职</el-checkbox>
                        <el-checkbox :label="2">自动离职</el-checkbox>
                        <el-checkbox :label="6">正常离职</el-checkbox>
                        <el-checkbox :label="4">自动离职</el-checkbox>
                        <el-checkbox :label="2">公司劝退</el-checkbox>
                        <el-checkbox :label="1">合同期满</el-checkbox>
                        <el-checkbox :label="3">公司辞退</el-checkbox>
                        <el-checkbox :label="7">合同期满</el-checkbox>
                        <el-checkbox :label="8">公司劝退</el-checkbox>
                        <el-checkbox :label="9">试用期内</el-checkbox>
                        <el-checkbox :label="5">试用期内</el-checkbox>
                        <!--                        <el-checkbox-->
                        <!--                          v-for="data in dimissionTypeOptions"-->
                        <!--                          :key="data.dicItemName"-->
@@ -257,15 +257,17 @@
          <el-table-column show-overflow-tooltip="true" prop="allDeptName" label="部门(护卫点)" width="280" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="80" />
          <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" width="160" />
          <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column show-overflow-tooltip="true" prop="sex" label="性别" width="50" :formatter="sexFormat" />
          <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="50" />
          <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
          <el-table-column
            show-overflow-tooltip="true"
            prop="education"
            label="学历"
            width="60"
            :formatter="educationFormat"
            ortable="custom"
            :sort-orders="['ascending', 'descending']"
          />
          <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" width="70" />
          <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" width="110" />
@@ -283,7 +285,11 @@
              {{ transEmpStatus(row.empStatus) }}
            </template>
          </el-table-column>
          <el-table-column prop="dimissionTypeName" label="离职类型" width="80" />
          <el-table-column prop="dimissionType" label="离职类型" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
            <template slot-scope="{row}">
              {{ transEntryType(row.dimissionType) }}
            </template>
          </el-table-column>
        </el-table>
        <pagination
          v-show="total>0"
@@ -985,8 +991,8 @@
          <el-col span="24">
            <el-form-item label="打开类型" prop="region">
              <el-radio-group v-model="baseicInformationForm.openType">
                <el-radio :label="5">重新入职</el-radio>
                <el-radio :label="6">返聘</el-radio>
                <el-radio :label="21">重新入职</el-radio>
                <el-radio :label="22">返聘</el-radio>
              </el-radio-group>
              (主要对已退休员工返聘)
            </el-form-item>
@@ -1193,6 +1199,20 @@
              <el-checkbox label="handbookStatusName"><span /></el-checkbox>
            </td>
          </tr>
          <tr>
            <td>入职类型</td>
            <td>
              <el-checkbox label="entryTypeName"><span /></el-checkbox>
            </td>
            <td>离职类型</td>
            <td>
              <el-checkbox label="dimissionTypeName"><span /></el-checkbox>
            </td>
            <td>编号</td>
            <td>
              <el-checkbox label="empNumb"><span /></el-checkbox>
            </td>
          </tr>
        </el-checkbox-group>
      </table>
      <div slot="footer" class="dialog-footer">
@@ -1268,7 +1288,7 @@
      archivesStatusOptions: [],
      sexOptions: [],
      empTypeOptions: [],
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'insuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate'],
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'insuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate', 'entryTypeName', 'dimissionTypeName', 'empNumb'],
      checkedCities: []
    }
  },
@@ -1396,6 +1416,22 @@
          return '退休'
      }
    },
    transEntryType(entryType) {
      switch (entryType) {
        case '1':
          return '合同期满'
        case '2':
          return '公司劝退'
        case '3':
          return '公司辞退'
        case '4':
          return '自动离职'
        case '5':
          return '试用期内'
        case '6':
          return '正常离职'
      }
    },
    transDimissionType(dimissionType) {
      switch (dimissionType) {
        case '1':
@@ -1471,7 +1507,7 @@
              empId: id,
              empName: name,
              certificateNumb: number,
              openType: 2,
              openType: 5,
              openDate: year + '-' + month + '-' + day,
              remark: ''
            }
@@ -1595,7 +1631,7 @@
    },
    selectAllDimissionType(val) {
      if (val) {
        this.queryParams.dimissionType = [1, 2, 3]
        this.queryParams.dimissionType = [1, 2, 3, 4, 5, 6]
      } else {
        this.queryParams.dimissionType = []
      }
src/views/user/search.vue
@@ -275,22 +275,25 @@
            <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
            <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
            <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="sex" label="性别" width="60" :formatter="sexFormat" />
            <el-table-column show-overflow-tooltip prop="age" label="年龄" width="60" />
            <el-table-column show-overflow-tooltip prop="education" label="学历" width="80" :formatter="educationFormat" />
            <el-table-column show-overflow-tooltip prop="age" label="年龄" width="80" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="education" label="学历" width="100" :formatter="educationFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="nativePlace" label="籍贯" width="80" :formatter="nativePlaceFormat" />
            <el-table-column show-overflow-tooltip prop="empType" label="员工类型" width="100" :formatter="empTypeFormat" />
            <el-table-column show-overflow-tooltip prop="telePhone" label="电话" width="120" />
            <el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="100">
            <el-table-column show-overflow-tooltip prop="empStatus" label="员工状态" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
              <template slot-scope="{row}">
                {{ transEmpStatus(row.empStatus) }}
              </template>
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="dimissionTypeName" label="离职类型" width="100" />
            <el-table-column show-overflow-tooltip prop="entryTypeName" label="入职日期" width="120" />
            <el-table-column show-overflow-tooltip prop="dimissionType" label="入离职类型" width="120" :formatter="dimissionTypFormat" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="entryDate" label="入职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="dimissionDate" label="离职日期" width="120" sortable="custom" :sort-orders="['ascending', 'descending']">
              <template slot-scope="{row}">
                {{ transDimissionDate(row.dimissionDate) }}
              </template>
            </el-table-column>
          </el-table>
          <el-dialog title="导出员工" :visible.sync="dialogShowDcyg" width="40%" style="font-weight: 700;">
            <div style="font-size: 16px;font-weight: 400;height: 35px;margin-top: -30px;color: #409EFF;">请勾选需要导出的字段</div>
@@ -468,6 +471,20 @@
                  <td>员工手册</td>
                  <td>
                    <el-checkbox label="handbookStatusName"><span /></el-checkbox>
                  </td>
                </tr>
                <tr>
                  <td>入职类型</td>
                  <td>
                    <el-checkbox label="entryTypeName"><span /></el-checkbox>
                  </td>
                  <td>离职类型</td>
                  <td>
                    <el-checkbox label="dimissionTypeName"><span /></el-checkbox>
                  </td>
                  <td>编号</td>
                  <td>
                    <el-checkbox label="empNumb"><span /></el-checkbox>
                  </td>
                </tr>
              </el-checkbox-group>
@@ -946,7 +963,7 @@
            @sort-change="changeSort"
          >
            <el-table-column type="index" label="序号" width="50" align="center" />
            <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
            <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="100" />
            <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
@@ -1467,7 +1484,6 @@
            <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="innsureFee" label="保险赔付费用" width="120" />
            <el-table-column show-overflow-tooltip prop="hrDoDate" label="人事处理时间" width="120" />
            <el-table-column show-overflow-tooltip prop="settleStatus" label="状态" width="80" :formatter="settleStatusFormat" />
            <el-table-column show-overflow-tooltip prop="settleDate" label="结案时间" width="100" />
@@ -1650,12 +1666,12 @@
            @sort-change="changeSort"
          >
            <el-table-column type="index" label="序号" width="50" align="center" />
            <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="100" />
            <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" />
            <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="140" />
            <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="180" />
            <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="140" />
            <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" />
            <el-table-column show-overflow-tooltip prop="empNumb" label="编号" width="120" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="allDeptName" label="(部门)护卫点" width="300" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" width="200" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="badDate" label="不良记录日期" width="160" sortable="custom" :sort-orders="['ascending', 'descending']" />
            <el-table-column show-overflow-tooltip prop="badContent" label="不良记录描述" width="300" />
            <el-table-column show-overflow-tooltip prop="reporter" label="汇报人" width="100" />
            <el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -1955,7 +1971,7 @@
  },
  data() {
    return {
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate'],
      cityOptions: ['archivesNumb', 'allDeptName', 'jobName', 'empName', 'certificateNumb', 'certificateValidity', 'sexName', 'nationName', 'age', 'marriageName', 'stature', 'birthdate', 'politicsName', 'empTypeName', 'educationName', 'nativePlaceName', 'censusAddress', 'currentAddress', 'guardNumb', 'returnReceipt', 'archivesStatusName', 'bankName', 'bankNumb', 'telePhone', 'entryDate', 'InsuranceTypeName', 'socialNumb', 'introducer', 'seniority', 'empCardStatusName', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family', 'empStatusName', 'dimissionDate', 'entryTypeName', 'dimissionTypeName', 'empNumb'],
      dialogShowDcyg: false,
      isIndeterminate: false,
      checkedCities: [],
@@ -2421,6 +2437,14 @@
    arbitrationStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus)
    },
    dimissionTypFormat(row, column) {
      switch (row.empStatus) {
        case '0':
          return row.entryTypeName
        case '1':
          return row.dimissionTypeName
      }
    },
    handleCheckedCitiesChange(value) {
      const checkedCount = value.length
      this.checkAll = checkedCount === this.cityOptions.length
@@ -2453,7 +2477,6 @@
    resetSearch() {
      this.queryParams = {
        delFlag: 0,
        vague: '',
        sex: [],
        education: [],
        politics: [],
@@ -2461,11 +2484,13 @@
        archivesStatus: [],
        insuranceType: [],
        empStatus: [],
        empType: [],
        baseKey: '',
        empNumb: '',
        empName: '',
        certificateNumb: '',
        jobContent: ''
        jobContent: '',
        inOutType: []
      }
      this.search()
    },
@@ -2616,53 +2641,62 @@
          break
      }
    },
    // dic列表转为数组
    dicListToArr(dicList) {
      var arr = []
      for (var i = 0; i < dicList.length; i++) {
        var dic = dicList[i]
        arr.push(dic.dicItemCode)
      }
      return arr
    },
    selectAllSex(val) {
      if (val) {
        this.queryParams.sex = ['1', '2']
        this.queryParams.sex = this.dicListToArr(this.sexOptions)
      } else {
        this.queryParams.sex = []
      }
    },
    selectAllEducation(val) {
      if (val) {
        this.queryParams.education = ['91', '81', '71', '61', '42', '41', '31', '21', '11', '10']
        this.queryParams.education = this.dicListToArr(this.educationOptions)
      } else {
        this.queryParams.education = []
      }
    },
    selectAllPolitics(val) {
      if (val) {
        this.queryParams.politics = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13']
        this.queryParams.politics = this.dicListToArr(this.statusOptions)
      } else {
        this.queryParams.politics = []
      }
    },
    selectAllAgeStr(val) {
      if (val) {
        this.queryParams.ageStr = ['18-29', '30-39', '40-49', '50-59', '60-69', '69-999']
        this.queryParams.ageStr = this.dicListToArr(this.ageStrOptions)
      } else {
        this.queryParams.ageStr = []
      }
    },
    selectAllArchivesStatus(val) {
      if (val) {
        this.queryParams.archivesStatus = ['0', '1']
        this.queryParams.archivesStatus = this.dicListToArr(this.archivesStatusOptions)
      } else {
        this.queryParams.archivesStatus = []
      }
    },
    selectAllInsuranceType(val) {
      if (val) {
        this.queryParams.insuranceType = ['1', '2', '3', '4', '5']
        this.queryParams.insuranceType = this.dicListToArr(this.insuranceTypeOptions)
      } else {
        this.queryParams.insuranceType = []
      }
    },
    selectAllEmpType(val) {
      if (val) {
        this.queryParams.insuranceType = ['1', '2']
        this.queryParams.empType = this.dicListToArr(this.empTypeOptions)
      } else {
        this.queryParams.insuranceType = []
        this.queryParams.empType = []
      }
    },
    selectAllEmpStatus(val) {
@@ -2674,7 +2708,7 @@
    },
    selectAllDimissionType(val) {
      if (val) {
        this.queryParams.inOutType = ['1', '2', '3', '4', '5', '6']
        this.queryParams.inOutType = this.dicListToArr(this.dimissionTypeOptions)
      } else {
        this.queryParams.inOutType = []
      }
@@ -2809,6 +2843,10 @@
          return '调休假'
      }
    },
    transDimissionDate(val) {
      var dimissDate = new Date(val)
      return dimissDate.getFullYear() === 1900 ? '' : val
    },
    transPhysicalExamType(physicalExamType) {
      switch (physicalExamType) {
        case '1':
src/views/yunpan/fujian.vue
@@ -702,84 +702,81 @@
        this.advancedQueryShow = true
      }
    },
    showEmpInfo() {
      this.dialogTableVisible = true
    },
    selectAllSex(val) {
      if (val) {
        this.queryParams.sex = this.dicListToArr(this.sexOptions)
        this.queryform.sex = this.dicListToArr(this.sexOptions)
      } else {
        this.queryParams.sex = []
        this.queryform.sex = []
      }
    },
    selectAllEducation(val) {
      if (val) {
        this.queryParams.education = this.dicListToArr(this.educationOptions)
        this.queryform.education = this.dicListToArr(this.educationOptions)
      } else {
        this.queryParams.education = []
        this.queryform.education = []
      }
    },
    selectAllPolitics(val) {
      if (val) {
        this.queryParams.politics = this.dicListToArr(this.statusOptions)
        this.queryform.politics = this.dicListToArr(this.statusOptions)
      } else {
        this.queryParams.politics = []
        this.queryform.politics = []
      }
    },
    selectAllAgeStr(val) {
      if (val) {
        this.queryParams.ageStr = this.dicListToArr(this.ageStrOptions)
        this.queryform.ageStr = this.dicListToArr(this.ageStrOptions)
      } else {
        this.queryParams.ageStr = []
        this.queryform.ageStr = []
      }
    },
    selectAllArchivesStatus(val) {
      if (val) {
        this.queryParams.archivesStatus = this.dicListToArr(this.archivesStatusOptions)
        this.queryform.archivesStatus = this.dicListToArr(this.archivesStatusOptions)
      } else {
        this.queryParams.archivesStatus = []
        this.queryform.archivesStatus = []
      }
    },
    selectAllInsuranceType(val) {
      if (val) {
        this.queryParams.insuranceType = this.dicListToArr(this.insuranceTypeOptions)
        this.queryform.insuranceType = this.dicListToArr(this.insuranceTypeOptions)
      } else {
        this.queryParams.insuranceType = []
      }
    },
    selectAllEmpCardStatus(val) {
      if (val) {
        this.queryParams.empCardStatus = this.dicListToArr(this.empCardStatusOptions)
      } else {
        this.queryParams.empCardStatus = []
      }
    },
    selectAllHandbookStatus(val) {
      if (val) {
        this.queryParams.handbookStatus = this.dicListToArr(this.handbookStatusOptions)
      } else {
        this.queryParams.handbookStatus = []
        this.queryform.insuranceType = []
      }
    },
    selectAllEmpType(val) {
      if (val) {
        this.queryParams.empType = this.dicListToArr(this.empTypeOptions)
        this.queryform.empType = this.dicListToArr(this.empTypeOptions)
      } else {
        this.queryParams.empType = []
        this.queryform.empType = []
      }
    },
    selectAllEntryType(val) {
    selectAllHandbookStatus(val) {
      if (val) {
        this.queryParams.entryType = [4, 5, 6]
        this.queryform.handbookStatus = this.dicListToArr(this.handbookStatusOptions)
      } else {
        this.queryParams.entryType = []
        this.queryform.handbookStatus = []
      }
    },
    selectAllEmpStatus(val) {
      if (val) {
        this.queryParams.empStatus = ['0', '1', '2', '3']
        this.queryform.empStatus = ['0', '1', '2', '3']
      } else {
        this.queryParams.empStatus = []
        this.queryform.empStatus = []
      }
    },
    selectAllEmpCardStatus(val) {
      if (val) {
        this.queryform.empCardStatus = this.dicListToArr(this.empCardStatusOptions)
      } else {
        this.queryform.empCardStatus = []
      }
    },
    selectAllDimissionType(val) {
      if (val) {
        this.queryform.inOutType = this.dicListToArr(this.dimissionTypeOptions)
      } else {
        this.queryform.inOutType = []
      }
    },
    // dic列表转为数组
src/views/yunpan/uploadfj.vue
@@ -248,7 +248,6 @@
      this.$refs[formName].validate(valid => {
        if (valid) {
          var checke = ''
          debugger
          this.checkedArr.forEach((v, i) => {
            if (v.isChecked) {
              checke = v.accessoryid
@@ -392,7 +391,6 @@
      }
    },
    showFileImg(type) {
      debugger
      switch (type) {
        case 'xls':
          return require('../../assets/uploading/xls.png')
@@ -727,6 +725,11 @@
    width: 100px;
    height: 100px;
}
.el-image .el-image-viewer__mask {
  background-color: #fff !important;
  opacity: 1;
}
</style>
<style lang="scss" scoped>
.el-main {
@@ -755,4 +758,5 @@
  background-color: rgb(64, 158, 255);
  border-color: rgb(64, 158, 255);
}
</style>
src/views/yunpan/zhishou.vue
@@ -589,9 +589,9 @@
        this.fileDate.folderid = this.folderform.folderid
      }
      const isLt50M = file.size / 1024 / 1024 < 50
      const isLt50M = file.size / 1024 / 1024 < 200
      if (!isLt50M) {
        this.$message.error('上传文件不能超过 50MB!')
        this.$message.error('上传文件不能超过 200MB!')
      }
      return isLt50M
    },
@@ -879,6 +879,19 @@
    width: 100px;
    height: 100px;
}
.zs-main  {
  .el-tree .el-tree-node__content{
    font-size:16px;
    color: #333;
    height: 35px;
    line-height: 35px;
  }
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: #e8f2fd;
    border-radius: 4px;
  }
}
</style>
<style lang="scss" scoped>
.el-main {
vue.config.js
@@ -36,7 +36,7 @@
      // change xxx-api/login => mock/login
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: 'http://120.24.23.155:7301/',
        // target: 'http://120.24.23.155:8301/',
        target: 'http://127.0.0.1:8301/',
        changeOrigin: true,
        pathRewrite: {