|
@@ -6,7 +6,7 @@
|
|
:disabled="status === 'audit' || status === 'taskFormDetail' || method === 'view'" label-width="100px"
|
|
:disabled="status === 'audit' || status === 'taskFormDetail' || method === 'view'" label-width="100px"
|
|
@submit.native.prevent>
|
|
@submit.native.prevent>
|
|
|
|
|
|
- <el-divider content-position="left"><i class="el-icon-document"></i> <span
|
|
|
|
|
|
+ <!-- <el-divider content-position="left"><i class="el-icon-document"></i> <span
|
|
style="font-weight: 900; font-size: 16px; color: #606266;">账号信息</span></el-divider>
|
|
style="font-weight: 900; font-size: 16px; color: #606266;">账号信息</span></el-divider>
|
|
<el-row :gutter="26">
|
|
<el-row :gutter="26">
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
@@ -34,7 +34,7 @@
|
|
show-password></el-input>
|
|
show-password></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- </el-row>
|
|
|
|
|
|
+ </el-row> -->
|
|
<el-divider content-position="left"><i class="el-icon-document"></i> <span
|
|
<el-divider content-position="left"><i class="el-icon-document"></i> <span
|
|
style="font-weight: 900; font-size: 16px; color: #606266;">基础信息</span></el-divider>
|
|
style="font-weight: 900; font-size: 16px; color: #606266;">基础信息</span></el-divider>
|
|
<el-row :gutter="26">
|
|
<el-row :gutter="26">
|
|
@@ -81,7 +81,7 @@
|
|
<!-- <el-input v-model="inputForm.politicalOutlook"></el-input>-->
|
|
<!-- <el-input v-model="inputForm.politicalOutlook"></el-input>-->
|
|
<el-select v-model="inputForm.politicalOutlook" placeholder="请选择政治面貌" style="width:100%;" clearable>
|
|
<el-select v-model="inputForm.politicalOutlook" placeholder="请选择政治面貌" style="width:100%;" clearable>
|
|
<el-option v-for="item in $dictUtils.getDictList('political_outlook')" :key="item.value"
|
|
<el-option v-for="item in $dictUtils.getDictList('political_outlook')" :key="item.value"
|
|
- :label="item.label" :value="item.value" >
|
|
|
|
|
|
+ :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -255,6 +255,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="岗位" prop="postIdList" :rules="[]">
|
|
<el-form-item label="岗位" prop="postIdList" :rules="[]">
|
|
<el-select v-model="inputForm.postIdList" style="width: 100%" multiple
|
|
<el-select v-model="inputForm.postIdList" style="width: 100%" multiple
|
|
@@ -325,14 +326,35 @@
|
|
<el-form-item label="员工类型" prop="onJobStatus" :rules="[
|
|
<el-form-item label="员工类型" prop="onJobStatus" :rules="[
|
|
]">
|
|
]">
|
|
<!-- <el-input v-model="inputForm.politicalOutlook"></el-input>-->
|
|
<!-- <el-input v-model="inputForm.politicalOutlook"></el-input>-->
|
|
- <el-select v-model="inputForm.onJobStatus" placeholder="请选择员工类型"
|
|
|
|
- style="width:100%;">
|
|
|
|
|
|
+ <el-select @change="handleChangeJobStatus" v-model="inputForm.onJobStatus"
|
|
|
|
+ placeholder="请选择员工类型" style="width:100%;">
|
|
<el-option v-for="item in $dictUtils.getDictList('on_job_status')"
|
|
<el-option v-for="item in $dictUtils.getDictList('on_job_status')"
|
|
:key="item.value" :label="item.label" :value="item.value">
|
|
:key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="12" v-if="trialFlag">
|
|
|
|
+ <el-form-item label="试用期时长(月)" prop="trialDuration" :rules="[
|
|
|
|
+ // { required: true, message: '请输入试用期时长(月)', trigger: 'blur' },
|
|
|
|
+ { pattern: /^\d+(\.\d{1,2})?$/, message: '请输入数字', trigger: 'blur' }
|
|
|
|
+ ]">
|
|
|
|
+ <el-input :disabled="!isAdmin" v-model="inputForm.trialDuration"
|
|
|
|
+ oninput="this.value = this.value.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{0,2}).*$/, '$1').replace(/\.{2,}/g, '.').replace(/^0+(\d)/, '$1')"
|
|
|
|
+ placeholder="请输入试用期时长(月)"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12" v-if="trialFlag">
|
|
|
|
+ <el-form-item label="试用期结束日期" prop="trialEndDate" :rules="[
|
|
|
|
+ // { required: true, message: '请选择试用期结束日期', trigger: 'blur' }
|
|
|
|
+ ]">
|
|
|
|
+ <el-date-picker :disabled="!isAdmin" style="width: 100%"
|
|
|
|
+ v-model="inputForm.trialEndDate" value-format="YYYY-MM-DD"
|
|
|
|
+ placeholder="选择试用期结束日期">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="岗位" prop="postIdList" :rules="[]">
|
|
<el-form-item label="岗位" prop="postIdList" :rules="[]">
|
|
<el-select v-model="inputForm.postIdList" style="width: 100%" multiple
|
|
<el-select v-model="inputForm.postIdList" style="width: 100%" multiple
|
|
@@ -493,7 +515,8 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="社保卡照片正面" prop="socialSecurityPictureFront" :rules="[]">
|
|
<el-form-item label="社保卡照片正面" prop="socialSecurityPictureFront" :rules="[]">
|
|
- <el-upload :action="`${$http.BASE_URL}/public-modules-server/oss/file/webUpload/upload`"
|
|
|
|
|
|
+ <el-upload class="uploadCom"
|
|
|
|
+ :action="`${$http.BASE_URL}/public-modules-server/oss/file/webUpload/upload`"
|
|
:limit="limitNum" :disabled="hideUploadEdit" list-type="picture-card"
|
|
:limit="limitNum" :disabled="hideUploadEdit" list-type="picture-card"
|
|
:auto-upload="true" :on-success="handleUploadSuccess" v-model:file-list="fileList">
|
|
:auto-upload="true" :on-success="handleUploadSuccess" v-model:file-list="fileList">
|
|
<el-icon>
|
|
<el-icon>
|
|
@@ -783,7 +806,9 @@
|
|
<el-collapse-item>
|
|
<el-collapse-item>
|
|
<template #title="{ isActive }">
|
|
<template #title="{ isActive }">
|
|
<div class="collapseTitle">
|
|
<div class="collapseTitle">
|
|
- <span style="font-size: 16px;"> {{ item.education + ' - ' +
|
|
|
|
|
|
+ <span style="font-size: 16px;"> {{
|
|
|
|
+ $dictUtils.getDictLabel("education",
|
|
|
|
+ item.education, '-') + ' - ' +
|
|
item.graduatedFrom +
|
|
item.graduatedFrom +
|
|
' - ' + item.cultureMethod }}</span>
|
|
' - ' + item.cultureMethod }}</span>
|
|
<span style="color: #b0b0b0;font-size: 12px;"> | </span>
|
|
<span style="color: #b0b0b0;font-size: 12px;"> | </span>
|
|
@@ -803,7 +828,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <el-descriptions title="" border>
|
|
|
|
|
|
+ <el-descriptions title="" border :column="2">
|
|
<el-descriptions-item label="开始日期:">{{
|
|
<el-descriptions-item label="开始日期:">{{
|
|
handleDateFormatter(item.startDate)
|
|
handleDateFormatter(item.startDate)
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
@@ -836,17 +861,25 @@
|
|
<el-descriptions-item label="毕业类型:">{{
|
|
<el-descriptions-item label="毕业类型:">{{
|
|
$dictUtils.getDictLabel("graduation_type", item.graduationType, '-')
|
|
$dictUtils.getDictLabel("graduation_type", item.graduationType, '-')
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
- <el-descriptions-item label="培养方式:">{{ item.cultureMethod
|
|
|
|
- }}</el-descriptions-item>
|
|
|
|
|
|
+ <!-- <el-descriptions-item label="培养方式:">{{ item.cultureMethod
|
|
|
|
+ }}</el-descriptions-item> -->
|
|
<el-descriptions-item label="专业描述:">{{ item.specialityDesc
|
|
<el-descriptions-item label="专业描述:">{{ item.specialityDesc
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
|
|
+ <el-descriptions-item label="学历证明:">
|
|
|
|
+ <AttachmentView :fileList="item.educationFile">
|
|
|
|
+ </AttachmentView>
|
|
|
|
+ </el-descriptions-item>
|
|
|
|
+ <el-descriptions-item label="学位证明:">
|
|
|
|
+ <AttachmentView :fileList="item.degreeFile">
|
|
|
|
+ </AttachmentView>
|
|
|
|
+ </el-descriptions-item>
|
|
|
|
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无教育经历"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无教育经历"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -910,8 +943,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无工作经历"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无工作经历"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -959,8 +992,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无培训经历"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无培训经历"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1021,8 +1054,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无资质证书"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无资质证书"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1072,8 +1105,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无专业技能"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无专业技能"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1127,8 +1160,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无语言能力信息"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无语言能力信息"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1185,8 +1218,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无家庭成员信息"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无家庭成员信息"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1236,8 +1269,8 @@
|
|
</el-collapse-item>
|
|
</el-collapse-item>
|
|
</div>
|
|
</div>
|
|
</el-collapse>
|
|
</el-collapse>
|
|
- <el-empty image-size="100px" style="margin-top: 0 !important;" v-else
|
|
|
|
- description="暂无表彰与奖励"></el-empty>
|
|
|
|
|
|
+ <el-empty image-size="80px" style="margin-top: 0 !important;padding: 0 !important;"
|
|
|
|
+ v-else description="暂无表彰与奖励"></el-empty>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-collapse-transition>
|
|
</el-collapse-transition>
|
|
@@ -1290,7 +1323,9 @@ import SkillInfo from "./components/SkillInfo";
|
|
import LanguageInfo from "./components/LanguageInfo";
|
|
import LanguageInfo from "./components/LanguageInfo";
|
|
import FamilyInfo from "./components/FamilyInfo";
|
|
import FamilyInfo from "./components/FamilyInfo";
|
|
import RewardInfo from "./components/RewardInfo";
|
|
import RewardInfo from "./components/RewardInfo";
|
|
|
|
+import AttachmentView from './components/AttachmentView'
|
|
|
|
|
|
|
|
+import userService from "@/api/sys/userService";
|
|
import postService from "@/api/sys/postService";
|
|
import postService from "@/api/sys/postService";
|
|
import roleService from "@/api/sys/roleService";
|
|
import roleService from "@/api/sys/roleService";
|
|
export default {
|
|
export default {
|
|
@@ -1310,6 +1345,8 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ isAdmin: false,
|
|
|
|
+ trialFlag: false,
|
|
bankHideUploadEdit: false, //控制上传点击
|
|
bankHideUploadEdit: false, //控制上传点击
|
|
bankHideUploadEdit2: false, //控制上传点击
|
|
bankHideUploadEdit2: false, //控制上传点击
|
|
bankFileList: [],
|
|
bankFileList: [],
|
|
@@ -1382,6 +1419,8 @@ export default {
|
|
remarks: '',
|
|
remarks: '',
|
|
type: '',
|
|
type: '',
|
|
onJobStatus: '',
|
|
onJobStatus: '',
|
|
|
|
+ trialDuration: "",
|
|
|
|
+ trialEndDate: "",
|
|
socialSecurityNumber: '',
|
|
socialSecurityNumber: '',
|
|
socialSecurityBankNumber: '',
|
|
socialSecurityBankNumber: '',
|
|
socialSecurityPictureFront: '',
|
|
socialSecurityPictureFront: '',
|
|
@@ -1507,6 +1546,7 @@ export default {
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.ossService = new OSSSerivce()
|
|
this.ossService = new OSSSerivce()
|
|
|
|
+ this.checkIsAdmin()
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
SelectTree,
|
|
SelectTree,
|
|
@@ -1517,7 +1557,8 @@ export default {
|
|
SkillInfo,
|
|
SkillInfo,
|
|
LanguageInfo,
|
|
LanguageInfo,
|
|
FamilyInfo,
|
|
FamilyInfo,
|
|
- RewardInfo
|
|
|
|
|
|
+ RewardInfo,
|
|
|
|
+ AttachmentView
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
bus: {
|
|
bus: {
|
|
@@ -1664,6 +1705,8 @@ export default {
|
|
remarks: '',
|
|
remarks: '',
|
|
type: '',
|
|
type: '',
|
|
onJobStatus: '',
|
|
onJobStatus: '',
|
|
|
|
+ trialDuration: "",
|
|
|
|
+ trialEndDate: "",
|
|
socialSecurityNumber: '',
|
|
socialSecurityNumber: '',
|
|
socialSecurityBankNumber: '',
|
|
socialSecurityBankNumber: '',
|
|
socialSecurityPictureFront: '',
|
|
socialSecurityPictureFront: '',
|
|
@@ -1702,8 +1745,14 @@ export default {
|
|
method = 'view'
|
|
method = 'view'
|
|
}
|
|
}
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
- console.log('this.inputForm', this.inputForm)
|
|
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
|
|
+
|
|
|
|
+ if (this.inputForm.onJobStatus == 1) {
|
|
|
|
+ this.trialFlag = true
|
|
|
|
+ } else {
|
|
|
|
+ this.trialFlag = false
|
|
|
|
+ }
|
|
|
|
+
|
|
if (this.commonJS.isEmpty(this.inputForm.roleIdList)) {
|
|
if (this.commonJS.isEmpty(this.inputForm.roleIdList)) {
|
|
this.inputForm.roleIdList = []
|
|
this.inputForm.roleIdList = []
|
|
}
|
|
}
|
|
@@ -1803,6 +1852,7 @@ export default {
|
|
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|
|
|
|
|
|
@@ -1985,6 +2035,14 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ handleChangeJobStatus(val) {
|
|
|
|
+ if (val == 1) {
|
|
|
|
+ this.trialFlag = true
|
|
|
|
+ } else {
|
|
|
|
+ this.trialFlag = false
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ },
|
|
//身份证号码唯一性判断
|
|
//身份证号码唯一性判断
|
|
idCardOnly(idCard, id) {
|
|
idCardOnly(idCard, id) {
|
|
if (this.commonJS.isNotEmpty(idCard)) {
|
|
if (this.commonJS.isNotEmpty(idCard)) {
|
|
@@ -2229,12 +2287,10 @@ export default {
|
|
},
|
|
},
|
|
// 教育经历
|
|
// 教育经历
|
|
addEdu() {
|
|
addEdu() {
|
|
- this.$refs.EducationInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.EducationInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.EducationInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editEdu(id) {
|
|
editEdu(id) {
|
|
- this.$refs.EducationInfo.init("edit", id)
|
|
|
|
- this.$refs.EducationInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.EducationInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delEdu(id) {
|
|
delEdu(id) {
|
|
this.$confirm('确定删除此条教育经历信息吗?', '提示', {
|
|
this.$confirm('确定删除此条教育经历信息吗?', '提示', {
|
|
@@ -2258,19 +2314,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetEduInfo() {
|
|
handleGetEduInfo() {
|
|
enrollmentRegistrationService.findEduInfo({
|
|
enrollmentRegistrationService.findEduInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.eduInfoList = res
|
|
this.inputForm.eduInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 工作经历处理
|
|
// 工作经历处理
|
|
addWork() {
|
|
addWork() {
|
|
- this.$refs.WorkInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.WorkInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.WorkInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editWork(id) {
|
|
editWork(id) {
|
|
- this.$refs.WorkInfo.init("edit", id)
|
|
|
|
- this.$refs.WorkInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.WorkInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delWork(id) {
|
|
delWork(id) {
|
|
this.$confirm('确定删除此条工作经历信息吗?', '提示', {
|
|
this.$confirm('确定删除此条工作经历信息吗?', '提示', {
|
|
@@ -2294,19 +2348,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetWorkInfo() {
|
|
handleGetWorkInfo() {
|
|
enrollmentRegistrationService.findWorkInfo({
|
|
enrollmentRegistrationService.findWorkInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.workInfoList = res
|
|
this.inputForm.workInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//培训经历处理
|
|
//培训经历处理
|
|
addTraining() {
|
|
addTraining() {
|
|
- this.$refs.TrainingInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.TrainingInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.TrainingInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editTraining(id) {
|
|
editTraining(id) {
|
|
- this.$refs.TrainingInfo.init("edit", id)
|
|
|
|
- this.$refs.TrainingInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.TrainingInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delTraining(id) {
|
|
delTraining(id) {
|
|
this.$confirm('确定删除此条培训经历信息吗?', '提示', {
|
|
this.$confirm('确定删除此条培训经历信息吗?', '提示', {
|
|
@@ -2330,19 +2382,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetTrainingInfo() {
|
|
handleGetTrainingInfo() {
|
|
enrollmentRegistrationService.findTrainingInfo({
|
|
enrollmentRegistrationService.findTrainingInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.trainingInfoList = res
|
|
this.inputForm.trainingInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//资质证书处理
|
|
//资质证书处理
|
|
addCertificate() {
|
|
addCertificate() {
|
|
- this.$refs.certificateInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.certificateInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.certificateInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editCertificate(id) {
|
|
editCertificate(id) {
|
|
- this.$refs.certificateInfo.init("edit", id)
|
|
|
|
- this.$refs.certificateInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.certificateInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delCertificate(id) {
|
|
delCertificate(id) {
|
|
this.$confirm('确定删除此条资质证书信息吗?', '提示', {
|
|
this.$confirm('确定删除此条资质证书信息吗?', '提示', {
|
|
@@ -2366,19 +2416,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetCertificateInfo() {
|
|
handleGetCertificateInfo() {
|
|
enrollmentRegistrationService.findCertificateInfo({
|
|
enrollmentRegistrationService.findCertificateInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.certificateInfoList = res
|
|
this.inputForm.certificateInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//专业技能处理
|
|
//专业技能处理
|
|
addSkill() {
|
|
addSkill() {
|
|
- this.$refs.skillInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.skillInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.skillInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editSkill(id) {
|
|
editSkill(id) {
|
|
- this.$refs.skillInfo.init("edit", id)
|
|
|
|
- this.$refs.skillInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.skillInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delSkill(id) {
|
|
delSkill(id) {
|
|
this.$confirm('确定删除此条专业技能信息吗?', '提示', {
|
|
this.$confirm('确定删除此条专业技能信息吗?', '提示', {
|
|
@@ -2402,19 +2450,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetSkillInfo() {
|
|
handleGetSkillInfo() {
|
|
enrollmentRegistrationService.findSkillInfo({
|
|
enrollmentRegistrationService.findSkillInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.skillInfoList = res
|
|
this.inputForm.skillInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//语言能力处理
|
|
//语言能力处理
|
|
addLanguage() {
|
|
addLanguage() {
|
|
- this.$refs.languageInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.languageInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.languageInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editLanguage(id) {
|
|
editLanguage(id) {
|
|
- this.$refs.languageInfo.init("edit", id)
|
|
|
|
- this.$refs.languageInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.languageInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delLanguage(id) {
|
|
delLanguage(id) {
|
|
this.$confirm('确定删除此条语言能力信息吗?', '提示', {
|
|
this.$confirm('确定删除此条语言能力信息吗?', '提示', {
|
|
@@ -2438,19 +2484,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetLanguageInfo() {
|
|
handleGetLanguageInfo() {
|
|
enrollmentRegistrationService.findLanguageInfo({
|
|
enrollmentRegistrationService.findLanguageInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.languageInfoList = res
|
|
this.inputForm.languageInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//家庭成员处理
|
|
//家庭成员处理
|
|
addFamily() {
|
|
addFamily() {
|
|
- this.$refs.familyInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.familyInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.familyInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editFamily(id) {
|
|
editFamily(id) {
|
|
- this.$refs.familyInfo.init("edit", id)
|
|
|
|
- this.$refs.familyInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.familyInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delFamily(id) {
|
|
delFamily(id) {
|
|
this.$confirm('确定删除此条家庭成员信息吗?', '提示', {
|
|
this.$confirm('确定删除此条家庭成员信息吗?', '提示', {
|
|
@@ -2474,19 +2518,17 @@ export default {
|
|
},
|
|
},
|
|
handleGetFamilyInfo() {
|
|
handleGetFamilyInfo() {
|
|
enrollmentRegistrationService.findFamilyInfo({
|
|
enrollmentRegistrationService.findFamilyInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.familyInfoList = res
|
|
this.inputForm.familyInfoList = res
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//表彰与奖励处理
|
|
//表彰与奖励处理
|
|
addReward() {
|
|
addReward() {
|
|
- this.$refs.rewardInfo.init("add", null, this.inputForm.id)
|
|
|
|
- this.$refs.rewardInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.rewardInfo.init("add", null, this.inputForm.userId)
|
|
},
|
|
},
|
|
editReward(id) {
|
|
editReward(id) {
|
|
- this.$refs.rewardInfo.init("edit", id)
|
|
|
|
- this.$refs.rewardInfo.currentUserId = this.inputForm.userId
|
|
|
|
|
|
+ this.$refs.rewardInfo.init("edit", id, this.inputForm.userId)
|
|
},
|
|
},
|
|
delReward(id) {
|
|
delReward(id) {
|
|
this.$confirm('确定删除此条奖项信息吗?', '提示', {
|
|
this.$confirm('确定删除此条奖项信息吗?', '提示', {
|
|
@@ -2510,7 +2552,7 @@ export default {
|
|
},
|
|
},
|
|
handleGetRewardInfo() {
|
|
handleGetRewardInfo() {
|
|
enrollmentRegistrationService.findRewardInfo({
|
|
enrollmentRegistrationService.findRewardInfo({
|
|
- enrollmentRegistrationId: this.inputForm.id
|
|
|
|
|
|
+ userId: this.inputForm.userId
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.inputForm.rewardInfoList = res
|
|
this.inputForm.rewardInfoList = res
|
|
})
|
|
})
|
|
@@ -2522,7 +2564,13 @@ export default {
|
|
},
|
|
},
|
|
changeInfoList(index) {
|
|
changeInfoList(index) {
|
|
this.changeFlag[index] = !this.changeFlag[index]
|
|
this.changeFlag[index] = !this.changeFlag[index]
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ // 查询当前用户是否是管理员用户
|
|
|
|
+ checkIsAdmin() {
|
|
|
|
+ userService.is().then((data) => {
|
|
|
|
+ this.isAdmin = data
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -2543,4 +2591,19 @@ export default {
|
|
.card-info {
|
|
.card-info {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/deep/ .el-upload-list {
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ .el-upload {
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 80px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-upload-list__item {
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 80px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|
|
</style>
|
|
</style>
|