孔祥富
2021-03-04 4e79a942f10bce83761fb7cb783f671ad055e717
提交 bug
4个文件已添加
16个文件已修改
2952 ■■■■■ 已修改文件
src/api/data.js 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/request.js 80 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/errorCode.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/ruoyi.js 148 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/HtUser.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/gsUser.vue 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/lzUser.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/onTheJobUser.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/qjUser.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/sbUser.vue 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/tgUser.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/tjUser.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/ygUser.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/ywUser.vue 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/Informationinput.vue 508 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/archivesEdit.vue 963 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/inemployees.vue 450 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/outemployess.vue 117 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/search.vue 349 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/data.js
New file
@@ -0,0 +1,12 @@
import request from './request'
// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
  const newVar = typeof (dictType)
  if (newVar !== 'function') {
    return request({
      url: 'system/dicItem/type/' + dictType,
      method: 'get'
    })
  }
}
src/api/request.js
New file
@@ -0,0 +1,80 @@
import axios from 'axios'
import { Notification, MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
import errorCode from '@/utils/errorCode'
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
const service = axios.create({
  // axios中请求配置有baseURL选项,表示请求URL公共部分
  baseURL: process.env.VUE_APP_BASE_API,
  // 超时
  timeout: 10000
})
// request拦截器
service.interceptors.request.use(config => {
  // 是否需要设置 token
  const isToken = (config.headers || {}).isToken === false
  if (getToken() && !isToken) {
    config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
  }
  return config
}, error => {
  debugger
  console.log(error)
  Promise.reject(error)
})
// 响应拦截器
service.interceptors.response.use(res => {
  // 未设置状态码则默认成功状态
  const code = res.data.code || 200
  // 获取错误信息
  const msg = errorCode[code] || res.data.msg || errorCode['default']
  if (code === 401) {
    MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', {
      confirmButtonText: '重新登录',
      cancelButtonText: '取消',
      type: 'warning'
    }
    ).then(() => {
      store.dispatch('LogOut').then(() => {
        location.href = '/index'
      })
    })
  } else if (code === 500) {
    Message({
      message: msg,
      type: 'error'
    })
    return Promise.reject(new Error(msg))
  } else if (code !== 200) {
    Notification.error({
      title: msg
    })
    return Promise.reject('error')
  } else {
    return res.data
  }
},
error => {
  console.log('err' + error)
  let { message } = error
  if (message === 'Network Error') {
    message = '后端接口连接异常'
  } else if (message.includes('timeout')) {
    message = '系统接口请求超时'
  } else if (message.includes('Request failed with status code')) {
    message = '系统接口' + message.substr(message.length - 3) + '异常'
  }
  Message({
    message: message,
    type: 'error',
    duration: 5 * 1000
  })
  return Promise.reject(error)
}
)
export default service
src/main.js
@@ -21,11 +21,13 @@
import Selectuser from './views/user/selectuser'
import Selectdept from './views/user/selectdept'
import uploadfj from './views/yunpan/uploadfj'
import { selectDictLabel } from './utils/ruoyi'
import { getDicts } from './api/data'
const Plugins = [
  hasPermission,
  hasNoPermission,
  hasAnyPermission
  hasAnyPermission,
  getDicts
]
Plugins.map((plugin) => {
@@ -39,11 +41,12 @@
Vue.component('Selectuser', Selectuser)
Vue.component('Selectdept', Selectdept)
Vue.component('uploadfj', uploadfj)
Vue.prototype.getDicts = getDicts
Vue.prototype.$post = request.post
Vue.prototype.$get = request.get
Vue.prototype.$put = request.put
Vue.prototype.$delete = request.delete
Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.$download = request.download
Vue.prototype.$upload = request.upload
Vue.prototype.$login = request.login
src/utils/errorCode.js
New file
@@ -0,0 +1,6 @@
export default {
  '401': '认证失败,无法访问系统资源',
  '403': '当前操作没有权限',
  '404': '访问资源不存在',
  'default': '系统未知错误,请反馈给管理员'
}
src/utils/ruoyi.js
New file
@@ -0,0 +1,148 @@
/**
 * 通用js方法封装处理
 * Copyright (c) 2019 ruoyi
 */
const baseURL = process.env.VUE_APP_BASE_API
// 日期格式化
export function parseTime(time, pattern) {
  if (arguments.length === 0 || !time) {
    return null
  }
  const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'
  let date
  if (typeof time === 'object') {
    date = time
  } else {
    if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) {
      time = parseInt(time)
    } else if (typeof time === 'string') {
      time = time.replace(new RegExp(/-/gm), '/')
    }
    if ((typeof time === 'number') && (time.toString().length === 10)) {
      time = time * 1000
    }
    date = new Date(time)
  }
  const formatObj = {
    y: date.getFullYear(),
    m: date.getMonth() + 1,
    d: date.getDate(),
    h: date.getHours(),
    i: date.getMinutes(),
    s: date.getSeconds(),
    a: date.getDay()
  }
  const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => {
    let value = formatObj[key]
    // Note: getDay() returns 0 on Sunday
    if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value] }
    if (result.length > 0 && value < 10) {
      value = '0' + value
    }
    return value || 0
  })
  return time_str
}
// 表单重置
export function resetForm(refName) {
  if (this.$refs[refName]) {
    this.$refs[refName].resetFields()
  }
}
// 添加日期范围
export function addDateRange(params, dateRange) {
  var search = params
  search.beginTime = ''
  search.endTime = ''
  if (dateRange != null && dateRange !== '') {
    search.beginTime = this.dateRange[0]
    search.endTime = this.dateRange[1]
  }
  return search
}
// 回显数据字典
export function selectDictLabel(datas, value) {
  var actions = []
  Object.keys(datas).some((key) => {
    if (datas[key].dicItemCode === ('' + value)) {
      actions.push(datas[key].dicItemName)
      return true
    }
  })
  return actions.join('')
}
// 回显数据字典(字符串数组)
export function selectDictLabels(datas, value, separator) {
  var actions = []
  var currentSeparator = undefined === separator ? ',' : separator
  var temp = value.split(currentSeparator)
  Object.keys(value.split(currentSeparator)).some((val) => {
    Object.keys(datas).some((key) => {
      if (datas[key].dictValue === ('' + temp[val])) {
        actions.push(datas[key].dictLabel + currentSeparator)
      }
    })
  })
  return actions.join('').substring(0, actions.join('').length - 1)
}
// 通用下载方法
export function download(fileName) {
  window.location.href = baseURL + '/common/download?fileName=' + encodeURI(fileName) + '&delete=' + true
}
// 字符串格式化(%s )
export function sprintf(str) {
  var args = arguments; var flag = true; var i = 1
  str = str.replace(/%s/g, function() {
    var arg = args[i++]
    if (typeof arg === 'undefined') {
      flag = false
      return ''
    }
    return arg
  })
  return flag ? str : ''
}
// 转换字符串,undefined,null等转化为""
export function praseStrEmpty(str) {
  if (!str || str === 'undefined' || str === 'null') {
    return ''
  }
  return str
}
/**
 * 构造树型结构数据
 * @param {*} data 数据源
 * @param {*} id id字段 默认 'id'
 * @param {*} parentId 父节点字段 默认 'parentId'
 * @param {*} children 孩子节点字段 默认 'children'
 * @param {*} rootId 根Id 默认 0
 */
export function handleTree(data, id, parentId, children, rootId) {
  id = id || 'id'
  parentId = parentId || 'parentId'
  children = children || 'children'
  rootId = rootId || Math.min.apply(Math, data.map(item => { return item[parentId] })) || 0
  // 对源数据深度克隆
  const cloneData = JSON.parse(JSON.stringify(data))
  // 循环所有项
  const treeData = cloneData.filter(father => {
    const branchArr = cloneData.filter(child => {
      // 返回每一项的子级数组
      return father[id] === child[parentId]
    })
    branchArr.length > 0 ? father.children = branchArr : ''
    // 返回第一层
    return father[parentId] === rootId
  })
  return treeData !== '' ? treeData : data
}
src/views/dashboard/HtUser.vue
@@ -90,6 +90,7 @@
        size: 5,
        num: 1
      },
      contractStatusOptions: [],
      list: [], // 给table显示的数据
      defaultProps: {
        children: 'children',
@@ -104,7 +105,15 @@
      }
    }
  },
  mounted() {
    this.getDicts('CONTRACTSTATUS').then(response => {
      this.contractStatusOptions = response.data
    })
  },
  methods: {
    contractStatusFormat(row, column) {
      return this.selectDictLabel(this.contractStatusOptions, row.contractStatus)
    },
    transContractStatus(contractStatus, time) {
      debugger
      var strtime = time.replace('/-/g', '/')// 时间转换
src/views/dashboard/gsUser.vue
@@ -39,17 +39,8 @@
        <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="工伤诊断" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="60">
          <template slot-scope="scope">
            {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
            {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="settleStatus" label="案结状态" width="60">
          <template slot-scope="{row}">
            {{ transArbitrationStatus(row.settleStatus) }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" :formatter="hospitalizatioFlagFormat" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="settleStatus" label="案结状态" width="60" :formatter="settleStatusFormat" />
        <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="reportTime" label="报案时间" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
@@ -109,6 +100,8 @@
        size: 5,
        num: 1
      },
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      list: [], // 给table显示的数据
      defaultProps: {
        children: 'children',
@@ -123,7 +116,21 @@
      }
    }
  },
  mounted() {
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
  },
  methods: {
    hospitalizatioFlagFormat(row, column) {
      return this.selectDictLabel(this.hospitalizatioFlagOptions, row.hospitalizatioFlag)
    },
    settleStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.settleStatus)
    },
    transArbitrationStatus(arbitrationStatus) {
      switch (arbitrationStatus) {
        case 1:
src/views/dashboard/lzUser.vue
@@ -26,31 +26,20 @@
        :header-cell-style="{'height':'5.3vh','background-color':'#e6e6e6'}"
        style="width: 100%;"
      >
        <el-table-column show-overflow-tooltip="true" type="selection" :reserve-selection="false" width="55" />
        <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="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="arbitrationDate" label="仲裁日期" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="arbitrationType" label="仲裁类型" width="100">
          <template slot-scope="scope">
            {{ scope.row.arbitrationType === '01' ? '劳资纠纷': '' }}
            {{ scope.row.arbitrationType === '02' ? '民事纠纷': '' }}
            {{ scope.row.arbitrationType === '03' ? '合同纠纷': '' }}
          </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="80" />
        <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="80">
          <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="100" />
        <el-table-column type="selection" :reserve-selection="false" width="55" />
        <el-table-column prop="empNumb" label="员工编号" width="180" />
        <el-table-column prop="deptName" label="护卫点" width="180" />
        <el-table-column prop="jobName" label="岗位" width="180" />
        <el-table-column prop="empName" label="姓名" width="180" />
        <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
        <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" />
        <el-table-column prop="arbitrationType" label="仲裁类型" :formatter="arbitrationTypeFormat" />
        <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" />
        <el-table-column prop="reporter" label="报备人" width="180" />
        <el-table-column prop="remark" label="备注" width="180" />
        <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" />
        <el-table-column prop="arbitrationStatus" label="状态" :formatter="settleStatusFormat" />
        <el-table-column prop="settleDate" label="案结日期" width="180" />
      </el-table>
      <pagination
        v-show="total>0"
src/views/dashboard/onTheJobUser.vue
@@ -32,11 +32,11 @@
        <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="sexName" label="性别" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="sex" :formatter="sexFormat" label="性别" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="educationName" label="最高学历" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="empTypeName" label="员工类别" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="education" :formatter="educationFormat" label="最高学历" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="empType" :formatter="empTypeFormat" label="员工类别" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="nativePlace" :formatter="nativePlaceFormat" label="籍贯" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" />
        <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" />
        <el-table-column show-overflow-tooltip="true" prop="empStatus" label="员工状态" width="100">
@@ -106,7 +106,12 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      educationOptions: [],
      nativePlaceOptions: [],
      sexOptions: [],
      empTypeOptions: [],
      nationOptions: []
    }
  },
  computed: {
@@ -116,7 +121,39 @@
      }
    }
  },
  mounted() {
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
  },
  methods: {
    educationFormat(row, column) {
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    nativePlaceFormat(row, column) {
      return this.selectDictLabel(this.nativePlaceOptions, row.nativePlace)
    },
    empTypeFormat(row, column) {
      return this.selectDictLabel(this.empTypeOptions, row.empType)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    nationFormat(row, column) {
      return this.selectDictLabel(this.nationOptions, row.nation)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/dashboard/qjUser.vue
@@ -36,13 +36,7 @@
        <el-table-column show-overflow-tooltip="true" prop="beginTime" label="开始时间" width="120" />
        <el-table-column show-overflow-tooltip="true" prop="endTime" label="结束时间" width="120" />
        <el-table-column show-overflow-tooltip="true" prop="leaveDay" label="请假天数" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="leaveType" label="请假类型" width="100">
          <template slot-scope="scope">
            {{ scope.row.leaveType === '1' ? '事假': '' }}
            {{ scope.row.leaveType === '2' ? '病假': '' }}
            {{ scope.row.leaveType === '3' ? '调休假': '' }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="leaveType" label="请假类型" width="100" :formatter="leaveTypeFormat" />
        <el-table-column show-overflow-tooltip="true" prop="returnDate" label="到岗时间" width="120" />
        <el-table-column show-overflow-tooltip="true" prop="reporter" label="报备人" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
@@ -103,7 +97,8 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      leaveTypeOptions: []
    }
  },
  computed: {
@@ -113,7 +108,15 @@
      }
    }
  },
  mounted() {
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
  },
  methods: {
    leaveTypeFormat(row, column) {
      return this.selectDictLabel(this.leaveTypeOptions, row.leaveType)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/dashboard/sbUser.vue
@@ -34,27 +34,9 @@
        <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">
          <template slot-scope="scope">
            {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)': '' }}
            {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)': '' }}
            {{ scope.row.insuranceGaers === '3' ? '非深户(五险二档)': '' }}
            {{ scope.row.insuranceGaers === '4' ? '调休假': '' }}
            {{ scope.row.insuranceGaers === '5' ? '调休假': '' }}
          </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="80">
          <template slot-scope="scope">
            {{ scope.row.applayStatus === 1 ? '未申请': '' }}
            {{ scope.row.applayStatus === 2 ? '已申请': '' }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="insuranceGaers" :formatter="insuranceGaersFormat" label="社保档位" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="reportStatus" :formatter="reportStatusFormat" label="是否已报告" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="applayStatus" :formatter="applayStatusFormat" label="状态" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="auditor" label="审核人" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="remark" label="备注" />
      </el-table>
@@ -114,7 +96,10 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      insuranceGaersOptions: [],
      applayStatusOptions: [],
      reportStatusOptions: []
    }
  },
  computed: {
@@ -124,7 +109,27 @@
      }
    }
  },
  mounted() {
    this.getDicts('insuranceGaers').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
      this.applayStatusOptions = response.data
    })
    this.getDicts('reportStatus').then(response => {
      this.reportStatusOptions = response.data
    })
  },
  methods: {
    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)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/dashboard/tgUser.vue
@@ -36,12 +36,7 @@
        <el-table-column show-overflow-tooltip="true" prop="newDeptName" label="新护卫点" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="newJobName" label="新岗位名称" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="证件号码" />
        <el-table-column show-overflow-tooltip="true" prop="changeType" label="调岗类型" width="100">
          <template slot-scope="scope">
            {{ scope.row.changeType === '2' ? '升职': '' }}
            {{ scope.row.changeType === '3' ? '调动': '' }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="changeType" :formatter="changeTypeFormat" label="调岗类型" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="changeDate" label="调岗位日期" width="150" />
        <el-table-column show-overflow-tooltip="true" prop="changeReason" label="调岗原因" />
      </el-table>
@@ -101,7 +96,8 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      changeTypeOptions: []
    }
  },
  computed: {
@@ -111,7 +107,15 @@
      }
    }
  },
  mounted() {
    this.getDicts('changeType').then(response => {
      this.changeTypeOptions = response.data
    })
  },
  methods: {
    changeTypeFormat(row, column) {
      return this.selectDictLabel(this.changeTypeOptions, row.changeType)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/dashboard/tjUser.vue
@@ -34,11 +34,7 @@
        <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="hospital" label="体检医院" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="physicalExamDate" label="体检日期" width="100" />
        <el-table-column show-overflow-tooltip="true" prop="physicalExamType" label="体检类型">
          <template slot-scope="{row}">
            {{ transPhysicalExamType(row.physicalExamType) }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="physicalExamType" :formatter="typeFormat" label="体检类型" />
        <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="ecg" label="心电图" width="80" />
@@ -102,7 +98,9 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      ecgOptions: [],
      physicalExamTypeOptions: []
    }
  },
  computed: {
@@ -112,7 +110,21 @@
      }
    }
  },
  mounted() {
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
  },
  methods: {
    typeFormat(row, column) {
      return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
    },
    ecgNameFormat(row, column) {
      return this.selectDictLabel(this.ecgOptions, row.ecg)
    },
    transPhysicalExamType(physicalExamType) {
      switch (physicalExamType) {
        case '1':
src/views/dashboard/ygUser.vue
@@ -32,11 +32,11 @@
        <el-table-column show-overflow-tooltip="true" prop="jobName" label="岗位" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="empName" label="姓名" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="certificateNumb" label="身份证号码" />
        <el-table-column show-overflow-tooltip="true" prop="sexName" label="性别" width="50" />
        <el-table-column show-overflow-tooltip="true" prop="sex" :formatter="sexFormat" label="性别" width="50" />
        <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="50" />
        <el-table-column show-overflow-tooltip="true" prop="educationName" label="最高学历" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="empTypeName" label="员工类别" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="education" :formatter="educationFormat" label="最高学历" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="empType" :formatter="empTypeFormat" label="员工类别" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="nativePlace" :formatter="nativePlaceFormat" label="籍贯" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="empStatus" label="员工状态" width="50">
@@ -111,7 +111,12 @@
      defaultProps: {
        children: 'children',
        label: 'label'
      }
      },
      educationOptions: [],
      nativePlaceOptions: [],
      sexOptions: [],
      empTypeOptions: [],
      nationOptions: []
    }
  },
  computed: {
@@ -121,7 +126,39 @@
      }
    }
  },
  mounted() {
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
  },
  methods: {
    educationFormat(row, column) {
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    nativePlaceFormat(row, column) {
      return this.selectDictLabel(this.nativePlaceOptions, row.nativePlace)
    },
    empTypeFormat(row, column) {
      return this.selectDictLabel(this.empTypeOptions, row.empType)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    nationFormat(row, column) {
      return this.selectDictLabel(this.nationOptions, row.nation)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/dashboard/ywUser.vue
@@ -39,17 +39,8 @@
        <el-table-column show-overflow-tooltip="true" prop="injuredDiacrisis" label="意外险诊断" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="hospitalName" label="就诊医院" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="treatmentName" label="就诊科室" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="50">
          <template slot-scope="scope">
            {{ scope.row.hospitalizatioFlag === 1 ? '是': '' }}
            {{ scope.row.hospitalizatioFlag === 2 ? '否': '' }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="settleStatus" label="案结状态" width="60">
          <template slot-scope="{row}">
            {{ transArbitrationStatus(row.settleStatus) }}
          </template>
        </el-table-column>
        <el-table-column show-overflow-tooltip="true" prop="hospitalizatioFlag" label="是否住院" width="50" :formatter="hospitalizatioFlagFormat" />
        <el-table-column prop="settleStatus" label="案结状态" width="180" :formatter="hospitalizatioFlagFormat" />
        <el-table-column show-overflow-tooltip="true" prop="bedNumb" label="床号" width="60" />
        <el-table-column show-overflow-tooltip="true" prop="reprotTime" label="报案时间" width="80" />
        <el-table-column show-overflow-tooltip="true" prop="submitTime" label="递交资料时间" width="80" />
@@ -109,6 +100,8 @@
        size: 5,
        num: 1
      },
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      list: [], // 给table显示的数据
      defaultProps: {
        children: 'children',
@@ -123,7 +116,21 @@
      }
    }
  },
  mounted() {
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
  },
  methods: {
    hospitalizatioFlagFormat(row, column) {
      return this.selectDictLabel(this.hospitalizatioFlagOptions, row.hospitalizatioFlag)
    },
    settleStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.settleStatus)
    },
    beforeClose(done) {
      this.$emit('cancleChooseUser')
    },
src/views/user/Informationinput.vue
@@ -83,15 +83,15 @@
          <el-table-column show-overflow-tooltip prop="empName" label="姓名" width="60" />
          <el-table-column show-overflow-tooltip prop="deptName" label="护卫点" width="80" />
          <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="50" />
          <el-table-column show-overflow-tooltip prop="empTypeName" label="员工类别" width="80" />
          <el-table-column show-overflow-tooltip prop="sexName" label="性别" width="50" />
          <el-table-column show-overflow-tooltip prop="nationName" label="民族" width="50" />
          <el-table-column show-overflow-tooltip prop="empType" label="员工类别" width="80" :formatter="empTypeFormat" />
          <el-table-column show-overflow-tooltip prop="sex" label="性别" width="50" :formatter="sexFormat" />
          <el-table-column show-overflow-tooltip prop="nation" label="民族" width="50" :formatter="nationFormat" />
          <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
          <el-table-column show-overflow-tooltip prop="marriageName" label="婚姻状况" width="80" />
          <el-table-column show-overflow-tooltip prop="politicsName" label="政治面貌" width="80" />
          <el-table-column show-overflow-tooltip prop="educationName" label="最高学历" width="80" />
          <el-table-column show-overflow-tooltip prop="marriage" label="婚姻状况" width="80" :formatter="marriageFormat" />
          <el-table-column show-overflow-tooltip prop="politics" label="政治面貌" width="80" :formatter="politicsFormat" />
          <el-table-column show-overflow-tooltip prop="education" label="最高学历" width="80" :formatter="educationFormat" />
          <el-table-column prop="entryDate" show-overflow-tooltip label="入职日期" width="80" />
          <el-table-column prop="insuranceType" show-overflow-tooltip label="保险类型" width="80" />
          <el-table-column prop="insuranceType" show-overflow-tooltip label="保险类型" width="80" :formatter="insuranceTypeFormat" />
          <el-table-column prop="socialNumb" show-overflow-tooltip label="社保电脑号" />
          <el-table-column prop="guardNumb" show-overflow-tooltip label="保安员证号" />
          <el-table-column prop="archivesNumb" show-overflow-tooltip label="档案编号" />
@@ -159,10 +159,10 @@
          <el-table-column show-overflow-tooltip prop="jobName" label="岗位" width="80" />
          <el-table-column prop="hospital" show-overflow-tooltip label="体检医院" />
          <el-table-column show-overflow-tooltip prop="physicalExamDate" label="体检日期" width="100" />
          <el-table-column show-overflow-tooltip prop="physicalExamTypeName" label="体检类型" width="80" />
          <el-table-column show-overflow-tooltip prop="physicalExamType" label="体检类型" width="80" :formatter="typeFormat" />
          <el-table-column show-overflow-tooltip prop="bloodPressure" label="血压" width="60" />
          <el-table-column show-overflow-tooltip prop="transaminase" label="转氨酶" width="80" />
          <el-table-column prop="ecgName" show-overflow-tooltip label="心电图" width="80" />
          <el-table-column prop="ecg" show-overflow-tooltip label="心电图" width="80" :formatter="ecgNameFormat" />
          <el-table-column prop="conclusion" show-overflow-tooltip label="体检结论" />
          <el-table-column prop="reviewRecord" show-overflow-tooltip label="复查记录" />
          <el-table-column prop="remark" show-overflow-tooltip label="备注" />
@@ -199,7 +199,7 @@
          <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="contractStatusName" label="合同状态" />
          <el-table-column show-overflow-tooltip prop="contractStatus" label="合同状态" :formatter="contractStatusFormat" />
          <el-table-column show-overflow-tooltip prop="transactor" label="合同办理人" />
        </el-table>
        <el-table
@@ -261,7 +261,7 @@
          <el-table-column show-overflow-tooltip prop="beginTime" label="开始时间" width="150" />
          <el-table-column show-overflow-tooltip prop="endTime" label="结束时间" width="150" />
          <el-table-column show-overflow-tooltip prop="leaveDay" label="请假天数" width="80" />
          <el-table-column show-overflow-tooltip prop="leaveTypeName" label="请假类型" width="80" />
          <el-table-column show-overflow-tooltip prop="leaveType" label="请假类型" width="80" :formatter="leaveTypeFormat" />
          <el-table-column show-overflow-tooltip prop="returnDate" label="到岗时间" width="120" />
          <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" />
          <el-table-column show-overflow-tooltip prop="remark" label="备注" />
@@ -348,21 +348,9 @@
          <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
          <el-table-column show-overflow-tooltip prop="applayDate" label="社保申请日期" />
          <el-table-column show-overflow-tooltip prop="proposer" label="申请人" width="80" />
          <el-table-column show-overflow-tooltip prop="insuranceGaers" label="社保档位">
            <template slot-scope="{row}">
              {{ transinsuranceGaers(row.insuranceGaers) }}
            </template>
          </el-table-column>
          <el-table-column prop="reportStatus " label="是否已报告" width="100">
            <template slot-scope="{row}">
              {{ row.reportStatus === 0?'未报告':'已报告' }}
            </template>
          </el-table-column>
          <el-table-column prop="applayStatus" label="状态" width="100">
            <template slot-scope="{row}">
              {{ row.applayStatus === 0?'未申请':'已申请' }}
            </template>
          </el-table-column>
          <el-table-column show-overflow-tooltip prop="insuranceGaers" label="社保档位" :formatter="insuranceGaersFormat" />
          <el-table-column prop="reportStatus " label="是否已报告" width="100" :formatter="reportStatusFormat" />
          <el-table-column prop="applayStatus" label="状态" width="100" :formatter="applayStatusFormat" />
          <el-table-column prop="auditor" label="审核人" width="100" />
          <el-table-column prop="remark" label="备注" />
        </el-table>
@@ -396,11 +384,7 @@
          <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="意外险诊断" />
          <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
          <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="60">
            <template slot-scope="scope">
              {{ scope.row.hospitalizatioFlag ===1?'已住院':'未住院' }}
            </template>
          </el-table-column>
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="60" :formatter="hospitalizatioFlagFormat" />
          <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
          <el-table-column show-overflow-tooltip prop="reprotTime" label="报案时间" width="60" />
          <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
@@ -438,11 +422,7 @@
          <el-table-column show-overflow-tooltip prop="injuredDiacrisis" label="工伤诊断" />
          <el-table-column show-overflow-tooltip prop="hospitalName" label="就诊医院" />
          <el-table-column show-overflow-tooltip prop="treatmentName" label="就诊科室" />
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="50">
            <template slot-scope="scope">
              {{ scope.row.hospitalizatioFlag ===1?'已住院':'未住院' }}
            </template>
          </el-table-column>
          <el-table-column show-overflow-tooltip prop="hospitalizatioFlag" label="是否住院" width="50" :formatter="hospitalizatioFlagFormat" />
          <el-table-column show-overflow-tooltip prop="bedNumb" label="床号" width="40" />
          <el-table-column show-overflow-tooltip prop="reportTime" label="报案时间" width="60" />
          <el-table-column show-overflow-tooltip prop="submitTime" label="递交资料时间" />
@@ -475,12 +455,12 @@
          <el-table-column show-overflow-tooltip prop="certificateNumb" label="身份证号码" />
          <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationDate" label="仲裁日期" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationTypeName" label="仲裁类型" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationType" label="仲裁类型" width="100" :formatter="arbitrationTypeFormat" />
          <el-table-column show-overflow-tooltip prop="arbitrationReason" label="仲裁事由" />
          <el-table-column show-overflow-tooltip prop="reporter" label="报备人" width="80" />
          <el-table-column show-overflow-tooltip prop="remark" label="备注" />
          <el-table-column show-overflow-tooltip prop="arbitrationPay" label="仲裁赔付(元)" width="100" />
          <el-table-column show-overflow-tooltip prop="arbitrationStatus" label="状态" width="80" />
          <el-table-column show-overflow-tooltip prop="arbitrationStatus" label="状态" width="80" :formatter="arbitrationStatusFormat" />
          <el-table-column show-overflow-tooltip prop="settleDate" label="案结日期" width="120" />
        </el-table>
        <el-table
@@ -619,85 +599,32 @@
                </el-form-item>
                <el-form-item label="员工类别" prop="empType">
                  <el-select v-model="empBaseInfoForm.empType" 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
                      v-for="dict in empTypeOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="民族" prop="nation">
                  <el-select v-model="empBaseInfoForm.nation" 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-option label="白族" value="14" />
                    <el-option label="土家族" value="15" />
                    <el-option label="哈尼族" value="16" />
                    <el-option label="哈萨克族" value="17" />
                    <el-option label="傣族" value="18" />
                    <el-option label="黎族" value="19" />
                    <el-option label="傈傈族" value="20" />
                    <el-option label="瓦族" value="21" />
                    <el-option label="畲族" value="22" />
                    <el-option label="高山族" value="23" />
                    <el-option label="拉祜族" value="24" />
                    <el-option label="水族" value="25" />
                    <el-option label="东乡族" value="26" />
                    <el-option label="纳西族" value="27" />
                    <el-option label="景颇族" value="28" />
                    <el-option label="柯尔克孜族" value="29" />
                    <el-option label="土族" value="30" />
                    <el-option label="达斡尔族" value="31" />
                    <el-option label="仫佬族" value="32" />
                    <el-option label="羌族" value="33" />
                    <el-option label="布朗族" value="34" />
                    <el-option label="撒拉族" value="35" />
                    <el-option label="毛难族" value="36" />
                    <el-option label="仡佬族" value="37" />
                    <el-option label="锡伯族" value="38" />
                    <el-option label="阿昌族" value="39" />
                    <el-option label="普米族" value="40" />
                    <el-option label="塔吉克族" value="41" />
                    <el-option label="怒族" value="42" />
                    <el-option label="乌孜别克族" value="43" />
                    <el-option label="俄罗斯族" value="44" />
                    <el-option label="鄂温克族" value="45" />
                    <el-option label="崩龙族" value="46" />
                    <el-option label="保安族" value="47" />
                    <el-option label="裕固族" value="48" />
                    <el-option label="京族" value="49" />
                    <el-option label="塔塔尔族" value="50" />
                    <el-option label="独龙族" value="51" />
                    <el-option label="鄂伦春" value="52" />
                    <el-option label="郝哲族" value="53" />
                    <el-option label="门巴族" value="54" />
                    <el-option label="珞巴族" value="55" />
                    <el-option label="基诺族" value="56" />
                    <el-option label="其他族" value="91" />
                    <el-option label="外国民族" value="98" />
                    <el-option
                      v-for="dict in nationOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <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-option
                      v-for="dict in marriageOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="身高(cm)" prop="stature">
@@ -705,33 +632,22 @@
                </el-form-item>
                <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-option
                      v-for="dict in statusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <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-option
                      v-for="dict in educationOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="籍贯" prop="nativePlaceName">
@@ -757,11 +673,12 @@
                </el-form-item>
                <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-option
                      v-for="dict in insuranceTypeOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="家庭成员及关系" prop="family">
@@ -799,8 +716,12 @@
                </el-form-item>
                <el-form-item label="性别" prop="sex">
                  <el-select v-model="empBaseInfoForm.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="certificateValidity">
@@ -845,8 +766,12 @@
                </el-form-item>
                <el-form-item label="档案情况" prop="archivesStatus">
                  <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况">
                    <el-option label="未移交" value="0" />
                    <el-option label="已移交" value="1" />
                    <el-option
                      v-for="dict in archivesStatusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="银行账号" prop="bankNumb">
@@ -857,23 +782,34 @@
                </el-form-item>
                <el-form-item label="员工手册" prop="handbookStatus">
                  <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册">
                    <el-option label="未发" value="0" />
                    <el-option label="已发" value="1" />
                    <el-option
                      v-for="dict in handbookStatusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="工作证" prop="empCardStatus">
                  <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证">
                    <el-option label="未发" value="0" />
                    <el-option label="已发" value="1" />
                    <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="24">
                <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-option
                      v-for="dict in certificateListOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
              </el-col>
@@ -986,9 +922,12 @@
                v-model="physicalExamForm.physicalExamType"
                placeholder="请选择体检类型"
              >
                <el-option label="普通体检" value="1" />
                <el-option label="员工体检" value="2" />
                <el-option label="入职体检" value="03" />
                <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">
@@ -1018,8 +957,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>
@@ -1080,8 +1023,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">
@@ -1226,20 +1173,12 @@
            <el-form-item label="请假类型" prop="leaveType">
              <el-select v-model="leaveInfoForm.leaveType" placeholder="请选择请假类型">
                <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-option label="丧假" value="14" />
                <el-option label="工伤假" value="15" />
                <el-option label="节育假" value="16" />
                <el-option label="年休假" value="17" />
                <el-option label="其它假" value="18" />
                <el-option
                  v-for="dict in leaveTypeOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-form-item>
@@ -1441,17 +1380,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="0" />
                <el-option label="已申请" value="1" />
                <el-option
                  v-for="dict in applayStatusOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-form-item>
          </el-col>
@@ -1470,8 +1414,12 @@
            </el-form-item>
            <el-form-item label="是否已经报告">
              <el-select v-model="insuranceForm.reportStatus" placeholder="是否已经报告">
                <el-option label="未报告" value="0" />
                <el-option label="已报告" value="1" />
                <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="审批人">
@@ -1553,8 +1501,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="报案时间">
@@ -1612,8 +1564,12 @@
            </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-col>
@@ -1685,8 +1641,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">
@@ -1781,8 +1741,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>
@@ -1830,8 +1794,12 @@
            </el-form-item>
            <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>
@@ -1847,9 +1815,12 @@
            </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">
@@ -2781,10 +2752,106 @@
        version: '',
        empStatus: 0,
        remark: ''
      }
      },
      statusOptions: [],
      empTypeOptions: [],
      nationOptions: [],
      marriageOptions: [],
      educationOptions: [],
      nativePlaceOptions: [],
      archivesStatusOptions: [],
      insuranceTypeOptions: [],
      empCardStatusOptions: [],
      handbookStatusOptions: [],
      ecgOptions: [],
      certificateListOptions: [],
      physicalExamTypeOptions: [],
      contractStatusOptions: [],
      leaveTypeOptions: [],
      insuranceGaersOptions: [],
      applayStatusOptions: [],
      reportStatusOptions: [],
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      arbitrationTypeOptions: [],
      changeTypeOptions: [],
      dimissionTypeOptions: [],
      sexOptions: []
    }
  },
  mounted() {
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
    this.getDicts('MARRIAGE').then(response => {
      this.marriageOptions = response.data
    })
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('archivesStatus').then(response => {
      this.archivesStatusOptions = response.data
    })
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceTypeOptions = response.data
    })
    this.getDicts('empCardStatus').then(response => {
      this.empCardStatusOptions = response.data
    })
    this.getDicts('handbookStatus').then(response => {
      this.handbookStatusOptions = response.data
    })
    this.getDicts('certificateList').then(response => {
      this.certificateListOptions = response.data
    })
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
    this.getDicts('CONTRACTSTATUS').then(response => {
      this.contractStatusOptions = response.data
    })
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
    this.getDicts('insuranceGaers').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
      this.applayStatusOptions = response.data
    })
    this.getDicts('reportStatus').then(response => {
      this.reportStatusOptions = response.data
    })
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
    this.getDicts('ZCTYPE').then(response => {
      this.arbitrationTypeOptions = response.data
    })
    this.getDicts('changeType').then(response => {
      this.changeTypeOptions = response.data
    })
    this.getDicts('LZTYPE').then(response => {
      this.dimissionTypeOptions = response.data
    })
    this.initDept()
    this.thisShowIndex = 1
    this.isShow(false, 0)
@@ -3289,6 +3356,63 @@
          break
      }
    },
    typeFormat(row, column) {
      return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
    },
    empTypeFormat(row, column) {
      return this.selectDictLabel(this.empTypeOptions, row.empType)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    nationFormat(row, column) {
      return this.selectDictLabel(this.nationOptions, row.nation)
    },
    marriageFormat(row, column) {
      return this.selectDictLabel(this.marriageOptions, row.marriage)
    },
    politicsFormat(row, column) {
      return this.selectDictLabel(this.statusOptions, row.politics)
    },
    educationFormat(row, column) {
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    insuranceTypeFormat(row, column) {
      return this.selectDictLabel(this.insuranceTypeOptions, row.insuranceType)
    },
    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)
    },
    startDate(rule, value, callback) {
      if (!value) {
        callback(new Error('开始日期不能为空!'))
src/views/user/archivesEdit.vue
@@ -177,16 +177,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>
@@ -214,7 +205,6 @@
                    <el-input v-model="empBaseInfoForm.archivesNumb" style="width: 100%;" />
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="姓名" prop="empName">
                    <el-input v-model="empBaseInfoForm.empName" />
@@ -223,8 +213,12 @@
                <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-option
                        v-for="dict in sexOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -256,24 +250,27 @@
                <el-col :span="8">
                  <el-form-item label="员工类别" prop="empType">
                    <el-select v-model="empBaseInfoForm.empType" 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
                        v-for="dict in empTypeOptions"
                        :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="certificateNumb">
                    <el-input
                      v-model="empBaseInfoForm.certificateNumb"
                      @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
                    />
                  <el-form-item label="民族" prop="nation">
                    <el-select v-model="empBaseInfoForm.nation" placeholder="请选择民族">
                      <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">
@@ -284,12 +281,12 @@
                <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-option
                        v-for="dict in marriageOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -313,19 +310,12 @@
                <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-option
                        v-for="dict in statusOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -344,28 +334,25 @@
                <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-option
                        v-for="dict in educationOptions"
                        :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-select v-model="empBaseInfoForm.nativePlace" placeholder="请选择最高学历">
                      <el-option
                        v-for="dict in nativePlaceOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>
@@ -395,8 +382,12 @@
                <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-option
                        v-for="dict in archivesStatusOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -433,11 +424,12 @@
                <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-option
                        v-for="dict in insuranceTypeOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -461,8 +453,12 @@
                <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-option
                        v-for="dict in empCardStatusOptions"
                        :key="dict.dicItemCode"
                        :label="dict.dicItemName"
                        :value="dict.dicItemCode"
                      />
                    </el-select>
                  </el-form-item>
                </el-col>
@@ -481,82 +477,33 @@
                <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-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-option
                        v-for="dict in certificateListOptions"
                        :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" 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-option label="白族" value="14" />
                      <el-option label="土家族" value="15" />
                      <el-option label="哈尼族" value="16" />
                      <el-option label="哈萨克族" value="17" />
                      <el-option label="傣族" value="18" />
                      <el-option label="黎族" value="19" />
                      <el-option label="傈傈族" value="20" />
                      <el-option label="瓦族" value="21" />
                      <el-option label="畲族" value="22" />
                      <el-option label="高山族" value="23" />
                      <el-option label="拉祜族" value="24" />
                      <el-option label="水族" value="25" />
                      <el-option label="东乡族" value="26" />
                      <el-option label="纳西族" value="27" />
                      <el-option label="景颇族" value="28" />
                      <el-option label="柯尔克孜族" value="29" />
                      <el-option label="土族" value="30" />
                      <el-option label="达斡尔族" value="31" />
                      <el-option label="仫佬族" value="32" />
                      <el-option label="羌族" value="33" />
                      <el-option label="布朗族" value="34" />
                      <el-option label="撒拉族" value="35" />
                      <el-option label="毛难族" value="36" />
                      <el-option label="仡佬族" value="37" />
                      <el-option label="锡伯族" value="38" />
                      <el-option label="阿昌族" value="39" />
                      <el-option label="普米族" value="40" />
                      <el-option label="塔吉克族" value="41" />
                      <el-option label="怒族" value="42" />
                      <el-option label="乌孜别克族" value="43" />
                      <el-option label="俄罗斯族" value="44" />
                      <el-option label="鄂温克族" value="45" />
                      <el-option label="崩龙族" value="46" />
                      <el-option label="保安族" value="47" />
                      <el-option label="裕固族" value="48" />
                      <el-option label="京族" value="49" />
                      <el-option label="塔塔尔族" value="50" />
                      <el-option label="独龙族" value="51" />
                      <el-option label="鄂伦春" value="52" />
                      <el-option label="郝哲族" value="53" />
                      <el-option label="门巴族" value="54" />
                      <el-option label="珞巴族" value="55" />
                      <el-option label="基诺族" value="56" />
                      <el-option label="其他族" value="91" />
                      <el-option label="外国民族" value="98" />
                    </el-select>
                  <el-form-item label="身份证号码" prop="certificateNumb">
                    <el-input
                      v-model="empBaseInfoForm.certificateNumb"
                      @input="generateUserInfo(0,empBaseInfoForm.certificateNumb)"
                    />
                  </el-form-item>
                </el-col>
              </el-row>
@@ -591,18 +538,6 @@
              <el-table-column prop="jobContent" label="主要工作内容" />
              <el-table-column fixed="right" label="操作" width="120">
                <template slot-scope="scope">
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="editWorkExperience(scope.row)"-->
                  <!--                  >编辑-->
                  <!--                  </el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'workExperienceDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editWorkExperience(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'workExperienceDataselection')">删除</span>
                </template>
@@ -613,6 +548,7 @@
              :total="workExperienceDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initList"
            />
          </div>
        </div>
@@ -638,18 +574,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="120">
                <template slot-scope="scope">
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="editPhysicalExam(scope.row)"-->
                  <!--                  >编辑-->
                  <!--                  </el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'physicalExamDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editPhysicalExam(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'physicalExamDataselection')">删除</span>
                </template>
@@ -657,10 +581,10 @@
              <el-table-column v-if="fsnumShow" prop="physicalExamId" label="" />
              <el-table-column prop="hospital" label="体检医院" width="120" />
              <el-table-column prop="physicalExamDate" label="体检日期" width="100" />
              <el-table-column prop="physicalExamTypeName" label="体检类型" width="100" />
              <el-table-column prop="physicalExamType" label="体检类型" width="100" :formatter="typeFormat" />
              <el-table-column prop="bloodPressure" label="血压" width="100" />
              <el-table-column prop="transaminase" label="转氨酶" width="100" />
              <el-table-column prop="ecgName" label="心电图" width="100" />
              <el-table-column prop="ecg" label="心电图" width="100" :formatter="ecgNameFormat" />
              <el-table-column prop="conclusion" label="体检结论" />
              <el-table-column prop="reviewRecord" label="复查记录" width="100" />
              <el-table-column prop="remark" label="备注" />
@@ -670,6 +594,7 @@
              :total="physicalExamDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initphysicalExamData"
            />
          </div>
        </div>
@@ -695,18 +620,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="120">
                <template slot-scope="scope">
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="editContractInfo(scope.row)"-->
                  <!--                  >编辑-->
                  <!--                  </el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'contractInfoDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editContractInfo(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'contractInfoDataselection')">删除</span>
                </template>
@@ -715,7 +628,7 @@
              <el-table-column prop="signingDate" label="合同签订日期" width="120" />
              <el-table-column prop="endDate" label="合同结束日期" width="120" />
              <el-table-column prop="contractPeriod" label="合同期限(年)" width="120" />
              <el-table-column prop="contractStatusName" label="合同状态" width="100" />
              <el-table-column prop="contractStatus" label="合同状态" width="100" :formatter="contractStatusFormat" />
              <el-table-column prop="transactor" label="合同办理人" />
            </el-table>
            <pagination
@@ -723,6 +636,7 @@
              :total="contractInfoDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initcontractInfoData"
            />
          </div>
        </div>
@@ -747,18 +661,14 @@
              <el-table-column prop="oldDeptName" label="原部门" />
              <el-table-column prop="oldJobName" label="原岗位" />
              <el-table-column prop="changeDate" label="调岗日期" />
              <el-table-column prop="changeType" label="调岗类型">
                <template slot-scope="scope">
                  {{ scope.row.changeType === '2' ? '升职' : '' }}
                  {{ scope.row.changeType === '3' ? '调动' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="changeType" label="调岗类型" :formatter="changeTypeFormat" />
            </el-table>
            <pagination
              v-show="jobChangeDatatotal>0"
              :total="jobChangeDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initjobChangeData"
            />
          </div>
        </div>
@@ -784,13 +694,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'onleaveInfoDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editLeaveInfo(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'onleaveInfoDataselection')">删除</span>
                </template>
@@ -799,13 +702,7 @@
              <el-table-column prop="beginTime" label="开始时间" width="100" />
              <el-table-column prop="endTime" label="结束时间" width="100" />
              <el-table-column prop="leaveDay" label="请假天数" width="100" />
              <el-table-column prop="leaveType" label="请假类型">
                <template slot-scope="scope">
                  {{ scope.row.leaveType === '1' ? '事假' : '' }}
                  {{ scope.row.leaveType === '2' ? '病假' : '' }}
                  {{ scope.row.leaveType === '3' ? '调休假' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="leaveType" label="请假类型" :formatter="leaveTypeFormat" />
              <el-table-column prop="returnDate" label="到岗时间" width="180" />
              <el-table-column prop="reporter" label="报备人" width="100" />
              <el-table-column prop="remark" label="备注" />
@@ -815,6 +712,7 @@
              :total="leaveInfoDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initleaveInfoData"
            />
          </div>
        </div>
@@ -840,13 +738,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editResign(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'onresignDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editResign(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'onresignDataselection')">删除</span>
                </template>
@@ -862,6 +753,7 @@
              :total="resignDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initresignData"
            />
          </div>
        </div>
@@ -887,13 +779,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'dimissionAttendDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editDimissionAttend(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'dimissionAttendDataselection')">删除</span>
                </template>
@@ -913,6 +798,7 @@
              :total="dimissionAttendDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initdimissionAttendData"
            />
          </div>
        </div>
@@ -933,11 +819,7 @@
              </el-table-column>
              <el-table-column prop="entryDate" label="入职日期" />
              <el-table-column prop="dimissionDate" label="离职日期" />
              <el-table-column prop="dimissionType" label="离职类型">
                <template slot-scope="{row}">
                  {{ transDimissionType(row.dimissionType) }}
                </template>
              </el-table-column>
              <el-table-column prop="dimissionType" label="离职类型" :formatter="dimissionTypeFormat" />
              <el-table-column prop="selfLeaveDay" label="自离天数" />
              <el-table-column prop="reporter" label="报备人" />
              <el-table-column prop="remark" label="备注" />
@@ -947,6 +829,7 @@
              :total="dimissionLogDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initdimissionLogData"
            />
          </div>
        </div>
@@ -972,13 +855,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editUnemployment(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'unemploymentDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editUnemployment(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'unemploymentDataselection')">删除</span>
                </template>
@@ -995,6 +871,7 @@
              :total="unemploymentDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initunemploymentData"
            />
          </div>
        </div>
@@ -1020,13 +897,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editInsurance(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'oninsuranceDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editInsurance(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'oninsuranceDataselection')">删除</span>
                </template>
@@ -1034,27 +904,9 @@
              <el-table-column v-if="fsnumShow" prop="insuranceId" label="" />
              <el-table-column prop="applayDate" label="社保申请日期" width="180" />
              <el-table-column prop="proposer" label="申请人" width="180" />
              <el-table-column prop="insuranceGaers" label="社保档位">
                <template slot-scope="scope">
                  {{ scope.row.insuranceGaers === '1' ? '深户(五险一档)' : '' }}
                  {{ scope.row.insuranceGaers === '2' ? '非深户(五险一档)' : '' }}
                  {{ scope.row.insuranceGaers === '3' ? '非深户(五险二档)' : '' }}
                  {{ scope.row.insuranceGaers === '4' ? '调休假' : '' }}
                  {{ scope.row.insuranceGaers === '5' ? '调休假' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="reportStatus" label="是否已报告">
                <template slot-scope="scope">
                  {{ scope.row.reportStatus === 1 ? '未报告' : '' }}
                  {{ scope.row.reportStatus === 2 ? '已报告' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="applayStatus" label="状态">
                <template slot-scope="scope">
                  {{ scope.row.applayStatus === 1 ? '未申请' : '' }}
                  {{ scope.row.applayStatus === 2 ? '已申请' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="insuranceGaers" label="社保档位" :formatter="insuranceGaersFormat" />
              <el-table-column prop="reportStatus" label="是否已报告" :formatter="reportStatusFormat" />
              <el-table-column prop="applayStatus" label="状态" :formatter="applayStatusFormat" />
              <el-table-column prop="auditor" label="审核人" width="180" />
              <el-table-column prop="remark" label="备注" />
            </el-table>
@@ -1063,6 +915,7 @@
              :total="insuranceDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initinsuranceData"
            />
          </div>
        </div>
@@ -1088,13 +941,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editAccidentCases(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'accidentCasesDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editAccidentCases(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'accidentCasesDataselection')">删除</span>
                </template>
@@ -1107,12 +953,7 @@
              <el-table-column prop="injuredDiacrisis" label="意外险诊断" width="100" />
              <el-table-column prop="hospitalName" label="就诊医院" width="100" />
              <el-table-column prop="treatmentName" label="就诊科室" width="100" />
              <el-table-column prop="hospitalizatioFlag" label="是否住院" width="60">
                <template slot-scope="scope">
                  {{ scope.row.hospitalizatioFlag === 1 ? '是' : '' }}
                  {{ scope.row.hospitalizatioFlag === 2 ? '否' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="hospitalizatioFlag" label="是否住院" width="60" :formatter="hospitalizatioFlagFormat" />
              <el-table-column prop="bedNumb" label="床号" width="60" />
              <el-table-column prop="reprotTime" label="报案时间" width="100" />
              <el-table-column prop="submitTime" label="递交资料时间" width="100" />
@@ -1125,6 +966,7 @@
              :total="accidentCasesDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initaccidentCasesData"
            />
          </div>
        </div>
@@ -1150,13 +992,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editOccupational(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'occupationalDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editOccupational(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'occupationalDataselection')">删除</span>
                </template>
@@ -1169,12 +1004,7 @@
              <el-table-column prop="injuredDiacrisis" label="工伤诊断" width="80" />
              <el-table-column prop="hospitalName" label="就诊医院" />
              <el-table-column prop="treatmentName" label="就诊科室" />
              <el-table-column prop="hospitalizatioFlag" label="是否住院" width="80">
                <template slot-scope="scope">
                  {{ scope.row.hospitalizatioFlag === 1 ? '是' : '' }}
                  {{ scope.row.hospitalizatioFlag === 2 ? '否' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="hospitalizatioFlag" label="是否住院" width="80" :formatter="hospitalizatioFlagFormat" />
              <el-table-column prop="bedNumb" label="床号" width="60" />
              <el-table-column prop="reportTime" label="报案时间" width="100" />
              <el-table-column prop="submitTime" label="递交资料时间" width="100" />
@@ -1187,6 +1017,7 @@
              :total="occupationalDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initoccupationalData"
            />
          </div>
        </div>
@@ -1212,13 +1043,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button type="text" size="small" @click="editLaborTrouble(scope.row)">编辑</el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'laborTroubleDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editLaborTrouble(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'laborTroubleDataselection')">删除</span>
                </template>
@@ -1226,23 +1050,12 @@
              <el-table-column v-if="fsnumShow" prop="arbitrationId" label="" />
              <el-table-column prop="arbitrationDate" label="仲裁日期" width="100" />
              <el-table-column prop="arbitrationDate" label="仲裁日期" width="100" />
              <el-table-column prop="arbitrationType" label="仲裁类型">
                <template slot-scope="scope">
                  {{ scope.row.arbitrationType === '01' ? '劳资纠纷' : '' }}
                  {{ scope.row.arbitrationType === '02' ? '民事纠纷' : '' }}
                  {{ scope.row.arbitrationType === '03' ? '合同纠纷' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="arbitrationType" label="仲裁类型" :formatter="arbitrationTypeFormat" />
              <el-table-column prop="arbitrationReason" label="仲裁事由" />
              <el-table-column prop="reporter" label="报备人" width="100" />
              <el-table-column prop="remark" label="备注" />
              <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" />
              <el-table-column prop="arbitrationStatus" label="状态" width="100">
                <template slot-scope="scope">
                  {{ scope.row.arbitrationStatus === 0 ? '未结案' : '' }}
                  {{ scope.row.arbitrationStatus === 1 ? '已结案' : '' }}
                </template>
              </el-table-column>
              <el-table-column prop="arbitrationStatus" label="状态" width="100" :formatter="arbitrationStatusFormat" />
              <el-table-column prop="settleDate" label="案结日期" width="100" />
            </el-table>
            <pagination
@@ -1250,6 +1063,7 @@
              :total="laborTroubleDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initlaborTroubleData"
            />
          </div>
        </div>
@@ -1275,18 +1089,6 @@
              </el-table-column>
              <el-table-column fixed="right" label="操作" width="100">
                <template slot-scope="scope">
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="editBadRecord(scope.row)"-->
                  <!--                  >编辑-->
                  <!--                  </el-button>-->
                  <!--                  <el-button-->
                  <!--                    type="text"-->
                  <!--                    size="small"-->
                  <!--                    @click="singleDelete(scope.row, 'onbadRecordDataselection')"-->
                  <!--                  >删除-->
                  <!--                  </el-button>-->
                  <span class="table-button" @click="editBadRecord(scope.row)">编辑</span>
                  <span class="table-button" @click="singleDelete(scope.row, 'onbadRecordDataselection')">删除</span>
                </template>
@@ -1302,6 +1104,7 @@
              :total="badRecordDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initbadRecordData"
            />
          </div>
        </div>
@@ -1347,6 +1150,7 @@
              :total="remarkInfoDatatotal"
              :page.sync="pagination.num"
              :limit.sync="pagination.size"
              @pagination="initremarkInfoData"
            />
          </div>
        </div>
@@ -1519,175 +1323,6 @@
            </div>
          </div>
        </div>
        <div ref="xgfj" class="xgfj">
          <div class="jbxxTitle">
            相关附件
          </div>
          <div class="jbxxCon">
            <div class="zs-main">
              <el-row class="search-title">
                <el-col :span="18" class="title">
                  <div class="zs-title">上传附件</div>
                </el-col>
                <el-col :span="6" class="search">
                  <el-input
                    v-model="fileName"
                    maxlength="20"
                    minlength="1"
                    clearable
                    placeholder="请输入文件名"
                    show-word-limit
                    style="width:200px"
                  />
                  <el-button type="primary" @click="findFileByFileName()">查询</el-button>
                </el-col>
              </el-row>
              <el-container style="background-color: #fff;">
                <el-aside style="background-color: #fff;text-align: center;">
                  <h4>{{ 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
                          type="primary"
                          icon="el-icon-search"
                          size="mini"
                          @click="delFile()"
                        >删除
                        </el-button>
                        <el-popconfirm title="是否移动附件?" @onConfirm="mvdialogFormVisible = true">
                          <el-button slot="reference" class="hr-but" 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.filesid" :span="3">
                          <el-card
                            shadow="never"
                            @click.native="clickCard(index * 8 + nodeIndex)"
                          >
                            <img
                              :src="showFileImg(node.filesformat)"
                              class="uploading-image"
                            >
                            <el-tooltip class="item" effect="dark" :content="node.filesname" placement="bottom">
                              <div style="padding-top: 14px;">
                                <el-checkbox
                                  v-model="checkedArr[index * 8 + nodeIndex].isChecked"
                                  class="myRedCheckBox"
                                >{{ 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>
        </div>
      </div>
    </div>
    <el-dialog title="工作经历" append-to-body :visible.sync="dialogshowArr[1].show" width="50%">
@@ -1710,8 +1345,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>
@@ -1789,8 +1428,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">
@@ -1801,8 +1444,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">
@@ -1832,8 +1479,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>
@@ -1881,8 +1532,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">
@@ -1898,8 +1553,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">
@@ -1962,8 +1621,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">
@@ -2040,8 +1703,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">
@@ -2056,8 +1723,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>
@@ -2127,8 +1798,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">
@@ -2195,8 +1870,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">
@@ -2263,8 +1942,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">
@@ -2277,17 +1960,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>
@@ -2306,8 +1994,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="审批人">
@@ -2348,8 +2040,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">
@@ -2397,8 +2093,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="报案时间">
@@ -2456,8 +2156,12 @@
            </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-col>
@@ -2488,8 +2192,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">
@@ -2537,8 +2245,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">
@@ -2633,8 +2345,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>
@@ -2673,8 +2389,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">
@@ -2690,8 +2410,12 @@
            </el-form-item>
            <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>
@@ -2707,9 +2431,12 @@
            </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">
@@ -2769,8 +2496,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">
@@ -2837,8 +2568,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">
@@ -3026,8 +2761,8 @@
          message: '长度不超过128个字符',
          trigger: 'blur'
        }],
        beginDate: [{ required: true, validator: this.startDate }],
        endDate: [{ required: true, validator: this.endDate }],
        beginDate: [{ required: true, message: '请选择开始时间', trigger: 'change' }],
        endDate: [{ required: true, message: '请选择结束时间', trigger: 'change' }],
        jobContent: [{ max: 512, message: '长度不超过512个字符', trigger: 'blur' }]
      },
      physicalExamRules: {
@@ -3062,11 +2797,11 @@
        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: {
@@ -3087,9 +2822,9 @@
        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' }]
@@ -3752,7 +3487,31 @@
        { type: 'dic_credentials' },
        { type: 'password' },
        { type: 'implicit' }
      ]
      ],
      statusOptions: [],
      empTypeOptions: [],
      nationOptions: [],
      marriageOptions: [],
      educationOptions: [],
      nativePlaceOptions: [],
      archivesStatusOptions: [],
      insuranceTypeOptions: [],
      empCardStatusOptions: [],
      handbookStatusOptions: [],
      ecgOptions: [],
      certificateListOptions: [],
      physicalExamTypeOptions: [],
      contractStatusOptions: [],
      leaveTypeOptions: [],
      insuranceGaersOptions: [],
      applayStatusOptions: [],
      reportStatusOptions: [],
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      arbitrationTypeOptions: [],
      changeTypeOptions: [],
      dimissionTypeOptions: [],
      sexOptions: []
    }
  },
  computed: {
@@ -3768,8 +3527,117 @@
  },
  mounted() {
    this.initDept()
    /* 政治面貌*/
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
    this.getDicts('MARRIAGE').then(response => {
      this.marriageOptions = response.data
    })
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('archivesStatus').then(response => {
      this.archivesStatusOptions = response.data
    })
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceTypeOptions = response.data
    })
    this.getDicts('empCardStatus').then(response => {
      this.empCardStatusOptions = response.data
    })
    this.getDicts('handbookStatus').then(response => {
      this.handbookStatusOptions = response.data
    })
    this.getDicts('certificateList').then(response => {
      this.certificateListOptions = response.data
    })
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
    this.getDicts('CONTRACTSTATUS').then(response => {
      this.contractStatusOptions = response.data
    })
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
    this.getDicts('insuranceGaers').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
      this.applayStatusOptions = response.data
    })
    this.getDicts('reportStatus').then(response => {
      this.reportStatusOptions = response.data
    })
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
    this.getDicts('ZCTYPE').then(response => {
      this.arbitrationTypeOptions = response.data
    })
    this.getDicts('changeType').then(response => {
      this.changeTypeOptions = response.data
    })
    this.getDicts('LZTYPE').then(response => {
      this.dimissionTypeOptions = response.data
    })
  },
  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)
    },
    beforeAvatarUpload(file) {
      this.fileDate.labelid = this.activities[this.beforeIndex].id
      const isLt50M = file.size / 1024 / 1024 < 50
@@ -5631,25 +5499,14 @@
        case 'lzaj':
          item = 13
          break
        case 'bz':
        case 'bljl':
          item = 14
          break
        case 'jljt':
        case 'bz':
          item = 15
          break
        case 'xgfj':
          item = 16
          break
        case 'bljl':
          item = 17
          break
        // eslint-disable-next-line no-duplicate-case
        case 'jljt':
          item = 18
          break
        // eslint-disable-next-line no-duplicate-case
        case 'xgfj':
          item = 19
          item = 16
          break
      }
      this.$nextTick(() => {
src/views/user/inemployees.vue
@@ -53,8 +53,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.sex" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllSex">全部</el-checkbox>
                      <el-checkbox label="1">男性</el-checkbox>
                      <el-checkbox label="2">女性</el-checkbox>
                      <el-checkbox
                        v-for="data in sexOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -63,16 +68,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.education" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllEducation">全部</el-checkbox>
                      <el-checkbox label="91">无学历</el-checkbox>
                      <el-checkbox label="81">小学</el-checkbox>
                      <el-checkbox label="71">初中</el-checkbox>
                      <el-checkbox label="61">高中</el-checkbox>
                      <el-checkbox label="42">中技</el-checkbox>
                      <el-checkbox label="41">中专</el-checkbox>
                      <el-checkbox label="31">大学专科</el-checkbox>
                      <el-checkbox label="21">大学本科</el-checkbox>
                      <el-checkbox label="11">硕士</el-checkbox>
                      <el-checkbox label="10">博士</el-checkbox>
                      <el-checkbox
                        v-for="data in educationOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -81,19 +83,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.politics" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllPolitics">全部</el-checkbox>
                      <el-checkbox label="01">党员</el-checkbox>
                      <el-checkbox label="02">预备</el-checkbox>
                      <el-checkbox label="03">共青</el-checkbox>
                      <el-checkbox label="04">民革</el-checkbox>
                      <el-checkbox label="05">民盟</el-checkbox>
                      <el-checkbox label="06">民建</el-checkbox>
                      <el-checkbox label="07">民进</el-checkbox>
                      <el-checkbox label="08">农工</el-checkbox>
                      <el-checkbox label="09">致公</el-checkbox>
                      <el-checkbox label="10">九三</el-checkbox>
                      <el-checkbox label="11">台盟</el-checkbox>
                      <el-checkbox label="12">民主</el-checkbox>
                      <el-checkbox label="13">群众</el-checkbox>
                      <el-checkbox
                        v-for="data in statusOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -102,12 +98,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.ageStr" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllAgeStr">全部</el-checkbox>
                      <el-checkbox label="18-29">18-29</el-checkbox>
                      <el-checkbox label="30-39">30-39</el-checkbox>
                      <el-checkbox label="40-49">40-49</el-checkbox>
                      <el-checkbox label="50-59">50-59</el-checkbox>
                      <el-checkbox label="60-69">60-69</el-checkbox>
                      <el-checkbox label="69-999">69及以上</el-checkbox>
                      <el-checkbox
                        v-for="data in ageStrOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -116,8 +113,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.archivesStatus" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllArchivesStatus">全部</el-checkbox>
                      <el-checkbox label="0">已移交</el-checkbox>
                      <el-checkbox label="1">未移交</el-checkbox>
                      <el-checkbox
                        v-for="data in archivesStatusOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -126,11 +128,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.insuranceType" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllInsuranceType">全部</el-checkbox>
                      <el-checkbox label="1">深户(五险一档)</el-checkbox>
                      <el-checkbox label="2">非深户(五险一档)</el-checkbox>
                      <el-checkbox label="3">非深户(五险二档)</el-checkbox>
                      <el-checkbox label="4">非深户(五险三档)</el-checkbox>
                      <el-checkbox label="5">非深户(四险三档)</el-checkbox>
                      <el-checkbox
                        v-for="data in insuranceTypeOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -139,8 +143,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.empCardStatus" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllEmpCardStatus">全部</el-checkbox>
                      <el-checkbox label="0">未发</el-checkbox>
                      <el-checkbox label="1">已发</el-checkbox>
                      <el-checkbox
                        v-for="data in empCardStatusOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -149,8 +158,13 @@
                  <td class="td-group">
                    <el-checkbox-group v-model="queryParams.handbookStatus" class="fj-checkbox">
                      <el-checkbox label="" @change="selectAllHandbookStatus">全部</el-checkbox>
                      <el-checkbox label="0">未发</el-checkbox>
                      <el-checkbox label="1">已发</el-checkbox>
                      <el-checkbox
                        v-for="data in handbookStatusOptions"
                        :key="data.dicItemName"
                        :label="data.dicItemCode"
                      >
                        {{ data.dicItemName }}
                      </el-checkbox>
                    </el-checkbox-group>
                  </td>
                </tr>
@@ -204,10 +218,10 @@
          <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="sexName" label="性别" width="80" />
          <el-table-column show-overflow-tooltip="true" prop="sex" label="性别" width="80" :formatter="sexFormat" />
          <el-table-column show-overflow-tooltip="true" prop="age" label="年龄" width="80" />
          <el-table-column show-overflow-tooltip="true" prop="educationName" label="最高学历" width="100" />
          <el-table-column show-overflow-tooltip="true" prop="nativePlaceName" label="籍贯" />
          <el-table-column show-overflow-tooltip="true" prop="education" label="最高学历" width="100" :formatter="educationFormat" />
          <el-table-column show-overflow-tooltip="true" prop="nativePlace" label="籍贯" :formatter="nativePlaceFormat" />
          <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" />
          <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" />
          <el-table-column show-overflow-tooltip="true" prop="empStatus" label="员工状态" width="100">
@@ -264,85 +278,32 @@
                </el-form-item>
                <el-form-item label="员工类别" prop="empType">
                  <el-select v-model="empBaseInfoForm.empType" 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
                      v-for="dict in empTypeOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="民族" prop="nation">
                  <el-select v-model="empBaseInfoForm.nation" 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-option label="白族" value="14" />
                    <el-option label="土家族" value="15" />
                    <el-option label="哈尼族" value="16" />
                    <el-option label="哈萨克族" value="17" />
                    <el-option label="傣族" value="18" />
                    <el-option label="黎族" value="19" />
                    <el-option label="傈傈族" value="20" />
                    <el-option label="瓦族" value="21" />
                    <el-option label="畲族" value="22" />
                    <el-option label="高山族" value="23" />
                    <el-option label="拉祜族" value="24" />
                    <el-option label="水族" value="25" />
                    <el-option label="东乡族" value="26" />
                    <el-option label="纳西族" value="27" />
                    <el-option label="景颇族" value="28" />
                    <el-option label="柯尔克孜族" value="29" />
                    <el-option label="土族" value="30" />
                    <el-option label="达斡尔族" value="31" />
                    <el-option label="仫佬族" value="32" />
                    <el-option label="羌族" value="33" />
                    <el-option label="布朗族" value="34" />
                    <el-option label="撒拉族" value="35" />
                    <el-option label="毛难族" value="36" />
                    <el-option label="仡佬族" value="37" />
                    <el-option label="锡伯族" value="38" />
                    <el-option label="阿昌族" value="39" />
                    <el-option label="普米族" value="40" />
                    <el-option label="塔吉克族" value="41" />
                    <el-option label="怒族" value="42" />
                    <el-option label="乌孜别克族" value="43" />
                    <el-option label="俄罗斯族" value="44" />
                    <el-option label="鄂温克族" value="45" />
                    <el-option label="崩龙族" value="46" />
                    <el-option label="保安族" value="47" />
                    <el-option label="裕固族" value="48" />
                    <el-option label="京族" value="49" />
                    <el-option label="塔塔尔族" value="50" />
                    <el-option label="独龙族" value="51" />
                    <el-option label="鄂伦春" value="52" />
                    <el-option label="郝哲族" value="53" />
                    <el-option label="门巴族" value="54" />
                    <el-option label="珞巴族" value="55" />
                    <el-option label="基诺族" value="56" />
                    <el-option label="其他族" value="91" />
                    <el-option label="外国民族" value="98" />
                    <el-option
                      v-for="dict in nationOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <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-option
                      v-for="dict in marriageOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="身高(cm)" prop="stature">
@@ -350,33 +311,22 @@
                </el-form-item>
                <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-option
                      v-for="dict in statusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <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-option
                      v-for="dict in educationOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="籍贯" prop="nativePlaceName">
@@ -402,11 +352,12 @@
                </el-form-item>
                <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-option
                      v-for="dict in insuranceTypeOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="家庭成员及关系" prop="family">
@@ -441,8 +392,12 @@
                </el-form-item>
                <el-form-item label="性别" prop="sex">
                  <el-select v-model="empBaseInfoForm.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="certificateValidity">
@@ -487,8 +442,12 @@
                </el-form-item>
                <el-form-item label="档案情况" prop="archivesStatus">
                  <el-select v-model="empBaseInfoForm.archivesStatus" placeholder="请选择档案情况">
                    <el-option label="未移交" value="0" />
                    <el-option label="已移交" value="1" />
                    <el-option
                      v-for="dict in archivesStatusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="银行账号" prop="bankNumb">
@@ -499,23 +458,34 @@
                </el-form-item>
                <el-form-item label="员工手册" prop="handbookStatus">
                  <el-select v-model="empBaseInfoForm.handbookStatus" placeholder="请选择员工手册">
                    <el-option label="未发" value="0" />
                    <el-option label="已发" value="1" />
                    <el-option
                      v-for="dict in handbookStatusOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
                <el-form-item label="工作证" prop="empCardStatus">
                  <el-select v-model="empBaseInfoForm.empCardStatus" placeholder="请选择工作证">
                    <el-option label="未发" value="0" />
                    <el-option label="已发" value="1" />
                    <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="24">
                <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-option
                      v-for="dict in certificateListOptions"
                      :key="dict.dicItemCode"
                      :label="dict.dicItemName"
                      :value="dict.dicItemCode"
                    />
                  </el-select>
                </el-form-item>
              </el-col>
@@ -559,8 +529,12 @@
            </el-form-item>
            <el-form-item label="调岗类型" prop="changeType">
              <el-select v-model="ygdgForm.changeType" placeholder="请选择">
                <el-option label="升职" value="2" />
                <el-option label="调动" value="3" />
                <el-option
                  v-for="dict in changeTypeOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-form-item>
            <el-form-item label="调岗日期" prop="changeDate">
@@ -1087,12 +1061,112 @@
      cityOptions: ['archivesNumb', 'deptName', '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', 'empCardStatus', 'certificateList', 'urgencyPhone', 'handbookStatusName', 'family'],
      checkedCities: [],
      tableData: [],
      selectDimissionType: 1
      selectDimissionType: 1,
      statusOptions: [],
      empTypeOptions: [],
      nationOptions: [],
      marriageOptions: [],
      educationOptions: [],
      nativePlaceOptions: [],
      archivesStatusOptions: [],
      insuranceTypeOptions: [],
      empCardStatusOptions: [],
      handbookStatusOptions: [],
      ecgOptions: [],
      certificateListOptions: [],
      physicalExamTypeOptions: [],
      contractStatusOptions: [],
      leaveTypeOptions: [],
      insuranceGaersOptions: [],
      applayStatusOptions: [],
      reportStatusOptions: [],
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      arbitrationTypeOptions: [],
      changeTypeOptions: [],
      dimissionTypeOptions: [],
      ageStrOptions: [],
      sexOptions: []
    }
  },
  mounted() {
    this.fetch()
    this.initDept()
    this.getDicts('ageStr').then(response => {
      this.ageStrOptions = response.data
    })
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
    this.getDicts('MARRIAGE').then(response => {
      this.marriageOptions = response.data
    })
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('archivesStatus').then(response => {
      this.archivesStatusOptions = response.data
    })
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceTypeOptions = response.data
    })
    this.getDicts('empCardStatus').then(response => {
      this.empCardStatusOptions = response.data
    })
    this.getDicts('handbookStatus').then(response => {
      this.handbookStatusOptions = response.data
    })
    this.getDicts('certificateList').then(response => {
      this.certificateListOptions = response.data
    })
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
    this.getDicts('CONTRACTSTATUS').then(response => {
      this.contractStatusOptions = response.data
    })
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
    this.getDicts('insuranceGaers').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
      this.applayStatusOptions = response.data
    })
    this.getDicts('reportStatus').then(response => {
      this.reportStatusOptions = response.data
    })
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
    this.getDicts('ZCTYPE').then(response => {
      this.arbitrationTypeOptions = response.data
    })
    this.getDicts('changeType').then(response => {
      this.changeTypeOptions = response.data
    })
    this.getDicts('LZTYPE').then(response => {
      this.dimissionTypeOptions = response.data
    })
  },
  methods: {
    editArchives(row) {
@@ -1158,6 +1232,66 @@
          return '退休'
      }
    },
    typeFormat(row, column) {
      return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
    },
    empTypeFormat(row, column) {
      return this.selectDictLabel(this.empTypeOptions, row.empType)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    nationFormat(row, column) {
      return this.selectDictLabel(this.nationOptions, row.nation)
    },
    marriageFormat(row, column) {
      return this.selectDictLabel(this.marriageOptions, row.marriage)
    },
    politicsFormat(row, column) {
      return this.selectDictLabel(this.statusOptions, row.politics)
    },
    educationFormat(row, column) {
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    nativePlaceFormat(row, column) {
      return this.selectDictLabel(this.nativePlaceOptions, row.nativePlace)
    },
    insuranceTypeFormat(row, column) {
      return this.selectDictLabel(this.insuranceTypeOptions, row.insuranceType)
    },
    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)
    },
    initDept() {
      this.$get('system/dept').then((r) => {
        this.depts = r.data.data.rows
src/views/user/outemployess.vue
@@ -72,8 +72,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.sex" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllSex">全部</el-checkbox>
                        <el-checkbox label="1">男性</el-checkbox>
                        <el-checkbox label="2">女性</el-checkbox>
                        <el-checkbox
                          v-for="data in sexOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -82,16 +87,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.education" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllEducation">全部</el-checkbox>
                        <el-checkbox label="91">无学历</el-checkbox>
                        <el-checkbox label="81">小学</el-checkbox>
                        <el-checkbox label="71">初中</el-checkbox>
                        <el-checkbox label="61">高中</el-checkbox>
                        <el-checkbox label="42">中技</el-checkbox>
                        <el-checkbox label="41">中专</el-checkbox>
                        <el-checkbox label="31">大学专科</el-checkbox>
                        <el-checkbox label="21">大学本科</el-checkbox>
                        <el-checkbox label="11">硕士</el-checkbox>
                        <el-checkbox label="10">博士</el-checkbox>
                        <el-checkbox
                          v-for="data in educationOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -100,19 +102,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.politics" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllPolitics">全部</el-checkbox>
                        <el-checkbox label="01">党员</el-checkbox>
                        <el-checkbox label="02">预备</el-checkbox>
                        <el-checkbox label="03">共青</el-checkbox>
                        <el-checkbox label="04">民革</el-checkbox>
                        <el-checkbox label="05">民盟</el-checkbox>
                        <el-checkbox label="06">民建</el-checkbox>
                        <el-checkbox label="07">民进</el-checkbox>
                        <el-checkbox label="08">农工</el-checkbox>
                        <el-checkbox label="09">致公</el-checkbox>
                        <el-checkbox label="10">九三</el-checkbox>
                        <el-checkbox label="11">台盟</el-checkbox>
                        <el-checkbox label="12">民主</el-checkbox>
                        <el-checkbox label="13">群众</el-checkbox>
                        <el-checkbox
                          v-for="data in statusOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -121,12 +117,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.ageStr" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllAgeStr">全部</el-checkbox>
                        <el-checkbox label="18-29">18-29</el-checkbox>
                        <el-checkbox label="30-39">30-39</el-checkbox>
                        <el-checkbox label="40-49">40-49</el-checkbox>
                        <el-checkbox label="50-59">50-59</el-checkbox>
                        <el-checkbox label="60-69">60-69</el-checkbox>
                        <el-checkbox label="69-999">69及以上</el-checkbox>
                        <el-checkbox
                          v-for="data in ageStrOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -135,8 +132,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.archivesStatus" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllArchivesStatus">全部</el-checkbox>
                        <el-checkbox label="0">已移交</el-checkbox>
                        <el-checkbox label="1">未移交</el-checkbox>
                        <el-checkbox
                          v-for="data in archivesStatusOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -145,11 +147,13 @@
                    <td class="td-group">
                      <el-checkbox-group v-model="queryParams.insuranceType" class="fj-checkbox">
                        <el-checkbox label="" @change="selectAllInsuranceType">全部</el-checkbox>
                        <el-checkbox label="1">深户(五险一档)</el-checkbox>
                        <el-checkbox label="2">非深户(五险一档)</el-checkbox>
                        <el-checkbox label="3">非深户(五险二档)</el-checkbox>
                        <el-checkbox label="4">非深户(五险三档)</el-checkbox>
                        <el-checkbox label="5">非深户(四险三档)</el-checkbox>
                        <el-checkbox
                          v-for="data in insuranceTypeOptions"
                          :key="data.dicItemName"
                          :label="data.dicItemCode"
                        >
                          {{ data.dicItemName }}
                        </el-checkbox>
                      </el-checkbox-group>
                    </td>
                  </tr>
@@ -206,9 +210,9 @@
          <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="sexName" label="性别" width="60" />
          <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="educationName" label="最高学历" width="100" />
          <el-table-column show-overflow-tooltip="true" prop="education" label="最高学历" width="100" :formatter="educationFormat" />
          <el-table-column show-overflow-tooltip="true" prop="censusAddress" label="籍贯" />
          <el-table-column show-overflow-tooltip="true" prop="telePhone" label="联系电话" />
          <el-table-column show-overflow-tooltip="true" prop="entryDate" label="入职日期" />
@@ -1009,13 +1013,44 @@
      tableData: [],
      baseicInformationForm: {
        openDate: new Date()
      }
      },
      educationOptions: [],
      statusOptions: [],
      ageStrOptions: [],
      insuranceTypeOptions: [],
      archivesStatusOptions: [],
      sexOptions: []
    }
  },
  mounted() {
    this.fetch()
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceTypeOptions = response.data
    })
    this.getDicts('archivesStatus').then(response => {
      this.archivesStatusOptions = response.data
    })
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
    this.getDicts('ageStr').then(response => {
      this.ageStrOptions = response.data
    })
  },
  methods: {
    educationFormat(row, column) {
      debugger
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    editClose() {
      this.dialog.isVisible = false
    },
src/views/user/search.vue
@@ -220,7 +220,7 @@
              已为您搜索出<span style="color:red">{{ total }}</span>条符合条件的记录
            </el-col>
            <el-col :span="3">
              <el-button size="mini" class="hr-but" type="success" @click.native="showDcyg(0)">
              <el-button size="mini" class="hr-but" type="success" @click.native="exportExcel">
                {{ $t('table.export') }}
              </el-button>
            </el-col>
@@ -232,10 +232,10 @@
            <el-table-column prop="jobName" label="岗位" />
            <el-table-column prop="empName" label="姓名" />
            <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
            <el-table-column prop="sexName" label="性别" width="50" />
            <el-table-column prop="sex" label="性别" width="50" :formatter="sexFormat" />
            <el-table-column prop="age" label="年龄" width="50" />
            <el-table-column prop="educationName" label="学历" />
            <el-table-column prop="nativePlaceName" label="籍贯" />
            <el-table-column prop="education" label="学历" :formatter="educationFormat" />
            <el-table-column prop="nativePlace" label="籍贯" :formatter="nativePlaceFormat" />
            <el-table-column prop="telePhone" label="电话" />
            <el-table-column prop="empStatus" label="员工状态">
              <template slot-scope="{row}">
@@ -461,7 +461,7 @@
            <el-table-column prop="empNumb" label="员工编号" width="100" />
            <el-table-column prop="empName" label="员工姓名" width="100" />
            <el-table-column prop="certificateNumb" label="身份证号码" width="170" />
            <el-table-column prop="sex" label="性别" width="50" />
            <el-table-column prop="sex" label="性别" width="50" :formatter="sexFormat" />
            <el-table-column prop="workUnit" label="工作单位" width="220" />
            <el-table-column prop="beginDate" label="开始日期" width="100" />
            <el-table-column prop="endDate" label="结束日期" width="100" />
@@ -506,8 +506,12 @@
            </el-col>
            <el-col :span="4">心电图:
              <el-select v-model="queryParams.ecg" style="width:100px">
                <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-col>
            <el-col :span="3">体检结论:
@@ -534,21 +538,13 @@
            <el-table-column prop="empNumb" label="员工编号" />
            <el-table-column prop="empName" label="员工姓名" />
            <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
            <el-table-column prop="sex" label="性别" width="50" />
            <el-table-column prop="sex" label="性别" width="50" :formatter="sexFormat" />
            <el-table-column prop="hospital" label="体检医院" />
            <el-table-column prop="physicalExamDate" label="体检日期" />
            <el-table-column prop="physicalExamType" label="体检类型">
              <template slot-scope="{row}">
                {{ transPhysicalExamType(row.physicalExamType) }}
              </template>
            </el-table-column>
            <el-table-column prop="physicalExamType" label="体检类型" :formatter="typeFormat" />
            <el-table-column prop="bloodPressure" label="血压" />
            <el-table-column prop="transaminase" label="转氨酶" />
            <el-table-column prop="ecg" label="心电图">
              <template slot-scope="{row}">
                {{ transEcg(row.ecg) }}
              </template>
            </el-table-column>
            <el-table-column prop="ecg" label="心电图" :formatter="ecgNameFormat" />
            <el-table-column prop="conclusion" label="体检结论" />
            <el-table-column prop="reviewRecord" label="复查记录" />
            <el-table-column prop="remark" label="备注" />
@@ -635,11 +631,7 @@
            <el-table-column prop="signingDate" label="合同签订日期" width="180" />
            <el-table-column prop="endDate" label="合同结束日期" width="180" />
            <el-table-column prop="contractPeriod" label="合同期限(年)" width="180" />
            <el-table-column prop="contractStatus" label="合同状态" width="180">
              <template slot-scope="{row}">
                {{ transContractStatus(row.contractStatus,row.endDate) }}
              </template>
            </el-table-column>
            <el-table-column prop="contractStatus" label="合同状态" width="180" :formatter="contractStatusFormat" />
            <el-table-column prop="transactor" label="合同办理人" width="180" />
          </el-table>
        </div>
@@ -660,10 +652,12 @@
            </el-col>
            <el-col :span="2.5">考勤年月
              <el-select v-model="queryParams.attendYear" style="width:100px">
                <el-option label="2021" value="2021" />
                <el-option label="2020" value="2020" />
                <el-option label="2019" value="2019" />
                <el-option label="2018" value="2018" />
                <el-option
                  v-for="dict in attendYearOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
              <el-select v-model="queryParams.attendMonth" style="width:100px">
                <el-option label="12" value="12" />
@@ -790,11 +784,7 @@
            <el-table-column prop="beginTime" label="开始时间" width="180" />
            <el-table-column prop="endTime" label="结束时间" width="180" />
            <el-table-column prop="leaveDay" label="请假天数" width="180" />
            <el-table-column prop="leaveType" label="请假类型" width="180">
              <template slot-scope="{row}">
                {{ transLeaveType(row.leaveType) }}
              </template>
            </el-table-column>
            <el-table-column prop="leaveType" label="请假类型" width="180" :formatter="leaveTypeFormat" />
            <el-table-column prop="returnDate" label="到岗时间" width="180" />
            <el-table-column prop="reporter" label="报备人" width="180" />
            <el-table-column prop="remark" label="备注" width="180" />
@@ -986,21 +976,9 @@
            <el-table-column prop="deptName" label="护卫点" width="180" />
            <el-table-column prop="applayDate" label="社保申请日期" width="180" />
            <el-table-column prop="proposer" label="申请人" width="180" />
            <el-table-column prop="insuranceGaers" label="社保档位" width="180">
              <template slot-scope="{row}">
                {{ transInsuranceGaers(row.insuranceGaers) }}
              </template>
            </el-table-column>
            <el-table-column prop="reportStatus" label="是否已报告" width="180">
              <template slot-scope="{row}">
                {{ transReportStatus(row.reportStatus) }}
              </template>
            </el-table-column>
            <el-table-column prop="applayStatus" label="状态" width="180">
              <template slot-scope="{row}">
                {{ transApplayStatus(row.applayStatus) }}
              </template>
            </el-table-column>
            <el-table-column prop="insuranceGaers" label="社保档位" width="180" :formatter="insuranceGaersFormat" />
            <el-table-column prop="reportStatus" label="是否已报告" width="180" :formatter="reportStatusFormat" />
            <el-table-column prop="applayStatus" label="状态" width="180" :formatter="applayStatusFormat" />
            <el-table-column prop="auditor" label="审核人" width="180" />
            <el-table-column prop="remark" label="备注" width="280" />
          </el-table>
@@ -1052,9 +1030,12 @@
            </el-col>
            <el-col :span="4">是否住院:
              <el-select v-model="queryParams.hospitalizatioFlag" style="width:100px">
                <el-option value="" label="全部" />
                <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-col>
            <el-col :span="4">案结状态:
@@ -1093,21 +1074,13 @@
            <el-table-column prop="injuredDiacrisis" label="意外险诊断" width="180" />
            <el-table-column prop="hospitalName" label="就诊医院" width="180" />
            <el-table-column prop="treatmentName" label="就诊科室" width="180" />
            <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180">
              <template slot-scope="{row}">
                {{ transHospitalizatioFlag(row.hospitalizatioFlag) }}
              </template>
            </el-table-column>
            <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" :formatter="hospitalizatioFlagFormat" />
            <el-table-column prop="bedNumb" label="床号" width="180" />
            <el-table-column prop="reprotTime" label="报案时间" width="180" />
            <el-table-column prop="submitTime" label="递交资料时间" width="180" />
            <el-table-column prop="sbumitBy" label="递交人" width="180" />
            <el-table-column prop="expensesFee" label="医疗总费用" width="180" />
            <el-table-column prop="settleStatus" label="案结状态" width="180">
              <template slot-scope="{row}">
                {{ transArbitrationStatus(row.settleStatus) }}
              </template>
            </el-table-column>
            <el-table-column prop="settleStatus" label="案结状态" width="180" :formatter="settleStatusFormat" />
            <el-table-column prop="innsureFee" label="保险赔付费用" width="180" />
          </el-table>
        </div>
@@ -1158,16 +1131,22 @@
            </el-col>
            <el-col :span="4">是否住院:
              <el-select v-model="queryParams.hospitalizatioFlag" style="width:100px">
                <el-option value="" label="全部" />
                <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-col>
            <el-col :span="4">案结状态:
              <el-select v-model="queryParams.settleStatus" style="width:100px">
                <el-option value="" label="全部" />
                <el-option value="1" label="已结案" />
                <el-option value="0" label="未结案" />
                <el-option
                  v-for="dict in settleStatusOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-col>
            <el-col :span="4">
@@ -1199,22 +1178,14 @@
            <el-table-column prop="injuredDiacrisis" label="工伤诊断" width="180" />
            <el-table-column prop="hospitalName" label="就诊医院" width="180" />
            <el-table-column prop="treatmentName" label="就诊科室" width="180" />
            <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180">
              <template slot-scope="{row}">
                {{ transHospitalizatioFlag(row.hospitalizatioFlag) }}
              </template>
            </el-table-column>
            <el-table-column prop="hospitalizatioFlag" label="是否住院" width="180" :formatter="hospitalizatioFlagFormat" />
            <el-table-column prop="bedNumb" label="床号" width="180" />
            <el-table-column prop="reportTime" label="报案时间" width="180" />
            <el-table-column prop="submitTime" label="递交资料时间" width="180" />
            <el-table-column prop="sbumitBy" label="递交人" width="180" />
            <el-table-column prop="expensesFee" label="医疗总费用" width="180" />
            <el-table-column prop="compensated" label="已赔付医药费用" width="180" />
            <el-table-column prop="settleStatus" label="状态" width="180">
              <template slot-scope="{row}">
                {{ transArbitrationStatus(row.settleStatus) }}
              </template>
            </el-table-column>
            <el-table-column prop="settleStatus" label="状态" width="180" :formatter="settleStatusFormat" />
          </el-table>
        </div>
@@ -1249,10 +1220,12 @@
            </el-col>
            <el-col :span="4">仲裁类型:
              <el-select v-model="queryParams.arbitrationType" style="width:100px">
                <el-option value="" label="全部" />
                <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-col>
            <el-col :span="4">仲裁事由:
@@ -1260,9 +1233,12 @@
            </el-col>
            <el-col :span="4">案结状态:
              <el-select v-model="queryParams.arbitrationStatus" style="width:100px">
                <el-option value="" label="全部" />
                <el-option value="1" label="已结案" />
                <el-option value="0" label="未结案" />
                <el-option
                  v-for="dict in settleStatusOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-col>
            <el-col :span="4">
@@ -1287,20 +1263,12 @@
            <el-table-column prop="empName" label="姓名" width="180" />
            <el-table-column prop="certificateNumb" label="身份证号码" width="180" />
            <el-table-column prop="arbitrationDate" label="仲裁日期" width="180" />
            <el-table-column prop="arbitrationType" label="仲裁类型" width="180">
              <template slot-scope="{row}">
                {{ transArbitrationType(row.arbitrationType) }}
              </template>
            </el-table-column>
            <el-table-column prop="arbitrationType" label="仲裁类型" width="180" :formatter="arbitrationTypeFormat" />
            <el-table-column prop="arbitrationReason" label="仲裁事由" width="180" />
            <el-table-column prop="reporter" label="汇报人" width="180" />
            <el-table-column prop="remark" label="备注" width="180" />
            <el-table-column prop="arbitrationPay" label="仲裁赔付(元)" width="180" />
            <el-table-column prop="arbitrationStatus" label="状态" width="180">
              <template slot-scope="{row}">
                {{ transArbitrationStatus(row.arbitrationStatus) }}
              </template>
            </el-table-column>
            <el-table-column prop="arbitrationStatus" label="状态" width="180" :formatter="arbitrationStatusFormat" />
            <el-table-column prop="settleDate" label="案结日期" width="180" />
          </el-table>
        </div>
@@ -1454,8 +1422,12 @@
            </el-col>
            <el-col :span="6">调岗类型:
              <el-select v-model="queryParams.changeType" size="small" style="width:200px">
                <el-option label="升职" value="2" />
                <el-option label="调动" value="3" />
                <el-option
                  v-for="dict in changeTypeOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-col>
            <el-col :span="6">
@@ -1483,11 +1455,7 @@
            <el-table-column prop="oldDeptName" label="原部门" />
            <el-table-column prop="oldJobName" label="原岗位" />
            <el-table-column prop="changeDate" label="调岗日期" />
            <el-table-column prop="changeType" label="调岗类型">
              <template slot-scope="{row}">
                {{ transChangeType(row.changeType) }}
              </template>
            </el-table-column>
            <el-table-column prop="changeType" label="调岗类型" :formatter="changeTypeFormat" />
          </el-table>
        </div>
        <div v-show="showArr[15].show">
@@ -1536,12 +1504,12 @@
            </el-col>
            <el-col :span="3">离职类型:
              <el-select v-model="queryParams.dimissionType" style="width:100px">
                <el-option label="全部" value="" />
                <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 dimissionTypeOptions"
                  :key="dict.dicItemCode"
                  :label="dict.dicItemName"
                  :value="dict.dicItemCode"
                />
              </el-select>
            </el-col>
            <el-col :span="3.5">
@@ -1876,14 +1844,181 @@
            }
          }
        ]
      }
      },
      statusOptions: [],
      empTypeOptions: [],
      nationOptions: [],
      marriageOptions: [],
      educationOptions: [],
      nativePlaceOptions: [],
      archivesStatusOptions: [],
      insuranceTypeOptions: [],
      empCardStatusOptions: [],
      handbookStatusOptions: [],
      ecgOptions: [],
      certificateListOptions: [],
      physicalExamTypeOptions: [],
      contractStatusOptions: [],
      leaveTypeOptions: [],
      insuranceGaersOptions: [],
      applayStatusOptions: [],
      reportStatusOptions: [],
      hospitalizatioFlagOptions: [],
      settleStatusOptions: [],
      arbitrationTypeOptions: [],
      changeTypeOptions: [],
      dimissionTypeOptions: [],
      ageStrOptions: [],
      attendYearOptions: [],
      sexOptions: []
    }
  },
  mounted() {
    this.thisShowIndex = 1
    this.isShow(false, 0)
    this.getDicts('ageStr').then(response => {
      this.ageStrOptions = response.data
    })
    this.getDicts('PLITICAL').then(response => {
      this.statusOptions = response.data
    })
    this.getDicts('attendYear').then(response => {
      this.attendYearOptions = response.data
    })
    this.getDicts('sex').then(response => {
      this.sexOptions = response.data
    })
    this.getDicts('empType').then(response => {
      this.empTypeOptions = response.data
    })
    this.getDicts('NATION').then(response => {
      this.nationOptions = response.data
    })
    this.getDicts('MARRIAGE').then(response => {
      this.marriageOptions = response.data
    })
    this.getDicts('EDUCATION').then(response => {
      this.educationOptions = response.data
    })
    this.getDicts('NATIVEPLACE').then(response => {
      this.nativePlaceOptions = response.data
    })
    this.getDicts('archivesStatus').then(response => {
      this.archivesStatusOptions = response.data
    })
    this.getDicts('INSURANCETYPE').then(response => {
      this.insuranceTypeOptions = response.data
    })
    this.getDicts('empCardStatus').then(response => {
      this.empCardStatusOptions = response.data
    })
    this.getDicts('handbookStatus').then(response => {
      this.handbookStatusOptions = response.data
    })
    this.getDicts('certificateList').then(response => {
      this.certificateListOptions = response.data
    })
    this.getDicts('PHYSICALEXAMTYPE').then(response => {
      this.physicalExamTypeOptions = response.data
    })
    this.getDicts('ECG').then(response => {
      this.ecgOptions = response.data
    })
    this.getDicts('CONTRACTSTATUS').then(response => {
      this.contractStatusOptions = response.data
    })
    this.getDicts('LEAVETYPE').then(response => {
      this.leaveTypeOptions = response.data
    })
    this.getDicts('insuranceGaers').then(response => {
      this.insuranceGaersOptions = response.data
    })
    this.getDicts('applayStatus').then(response => {
      this.applayStatusOptions = response.data
    })
    this.getDicts('reportStatus').then(response => {
      this.reportStatusOptions = response.data
    })
    this.getDicts('hospitalizatioFlag').then(response => {
      this.hospitalizatioFlagOptions = response.data
    })
    this.getDicts('settleStatus').then(response => {
      this.settleStatusOptions = response.data
    })
    this.getDicts('ZCTYPE').then(response => {
      this.arbitrationTypeOptions = response.data
    })
    this.getDicts('changeType').then(response => {
      this.changeTypeOptions = response.data
    })
    this.getDicts('LZTYPE').then(response => {
      this.dimissionTypeOptions = response.data
    })
  },
  methods: {
    typeFormat(row, column) {
      return this.selectDictLabel(this.physicalExamTypeOptions, row.physicalExamType)
    },
    empTypeFormat(row, column) {
      return this.selectDictLabel(this.empTypeOptions, row.empType)
    },
    sexFormat(row, column) {
      return this.selectDictLabel(this.sexOptions, row.sex)
    },
    nationFormat(row, column) {
      return this.selectDictLabel(this.nationOptions, row.nation)
    },
    marriageFormat(row, column) {
      return this.selectDictLabel(this.marriageOptions, row.marriage)
    },
    politicsFormat(row, column) {
      return this.selectDictLabel(this.statusOptions, row.politics)
    },
    nativePlaceFormat(row, column) {
      return this.selectDictLabel(this.nativePlaceOptions, row.nativePlace)
    },
    educationFormat(row, column) {
      return this.selectDictLabel(this.educationOptions, row.education)
    },
    insuranceTypeFormat(row, column) {
      return this.selectDictLabel(this.insuranceTypeOptions, row.insuranceType)
    },
    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)
    },
    settleStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.settleStatus)
    },
    arbitrationTypeFormat(row, column) {
      return this.selectDictLabel(this.arbitrationTypeOptions, row.arbitrationType)
    },
    arbitrationStatusFormat(row, column) {
      return this.selectDictLabel(this.settleStatusOptions, row.arbitrationStatus)
    },
    handleCheckedCitiesChange(value) {
      const checkedCount = value.length
      this.checkAll = checkedCount === this.cityOptions.length