|
@@ -107,8 +107,8 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleans">重置
|
|
<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleans">重置
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="addBtn">添加简历
|
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ <!-- <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="addBtn">添加简历
|
|
|
|
|
+ </el-button> -->
|
|
|
<el-button style='margin-left:15px;' size="mini" type="warning" icon="document"
|
|
<el-button style='margin-left:15px;' size="mini" type="warning" icon="document"
|
|
|
:disabled="!isAuth('user:daochu')" @click="exportBtn">导出Excel
|
|
:disabled="!isAuth('user:daochu')" @click="exportBtn">导出Excel
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -1263,6 +1263,7 @@
|
|
|
path: '/resumeDetails',
|
|
path: '/resumeDetails',
|
|
|
query: {
|
|
query: {
|
|
|
resumesId: row.resumesId,
|
|
resumesId: row.resumesId,
|
|
|
|
|
+ userId: row.userId,
|
|
|
from: 'jl'
|
|
from: 'jl'
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -1469,420 +1470,420 @@
|
|
|
this.qtzyData = returnData
|
|
this.qtzyData = returnData
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- // 新增简历
|
|
|
|
|
- addBtn() {
|
|
|
|
|
- this.resumesNameA = ''
|
|
|
|
|
- this.resumesPhoneA = ''
|
|
|
|
|
- this.resumesMajorA = ''
|
|
|
|
|
- this.resumesEducationA = ''
|
|
|
|
|
- this.resumesAgeA = ''
|
|
|
|
|
- this.resumesSexA = 1
|
|
|
|
|
- this.resumesMarriageA = ''
|
|
|
|
|
- this.resumesWorkExperienceA = ''
|
|
|
|
|
- this.resumesPostA = ''
|
|
|
|
|
- this.resumesEmailA = ''
|
|
|
|
|
- this.resumesCompensationA = ''
|
|
|
|
|
- this.resumesWorkListA = []
|
|
|
|
|
- this.resumesCompanyListA = []
|
|
|
|
|
- this.resumesDetailsA = ''
|
|
|
|
|
- this.imgsA = []
|
|
|
|
|
- this.resumesImageNameA = []
|
|
|
|
|
- this.resumesIntentionA = ''
|
|
|
|
|
- this.cityA = ''
|
|
|
|
|
- this.addressA = ''
|
|
|
|
|
- this.schoolA = ''
|
|
|
|
|
- this.majorA = ''
|
|
|
|
|
- this.graduationTime = ''
|
|
|
|
|
- this.rulePostNameA = ''
|
|
|
|
|
- this.ruleMajorA = []
|
|
|
|
|
- this.userIdA = ''
|
|
|
|
|
- this.userNameA = ''
|
|
|
|
|
- this.resumesPost = ''
|
|
|
|
|
- this.money = ''
|
|
|
|
|
- this.tagList = []
|
|
|
|
|
- this.yijiid = ''
|
|
|
|
|
- this.erjiId = ''
|
|
|
|
|
- this.sanjiTypr = ''
|
|
|
|
|
- this.isshow1 = true
|
|
|
|
|
- this.dialogFormVisibleAdd = true
|
|
|
|
|
- this.classSelect()
|
|
|
|
|
- this.hangyeSelect()
|
|
|
|
|
- },
|
|
|
|
|
- // 确认新增
|
|
|
|
|
- refusetoAdd() {
|
|
|
|
|
- if (this.userIdA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择绑定用户',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesNameA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入姓名',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesPhoneA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入电话',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesEducationA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择学历',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.schoolA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入学校',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.majorA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入所学专业',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if (this.resumesAgeA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入年龄',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesMarriageA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择婚姻状态',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesWorkExperienceA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择工作经验',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- // if (this.resumesPostA == '') {
|
|
|
|
|
- // this.$notify({
|
|
|
|
|
- // title: '提示',
|
|
|
|
|
- // duration: 1800,
|
|
|
|
|
- // message: '请选择岗位',
|
|
|
|
|
- // type: 'warning'
|
|
|
|
|
- // });
|
|
|
|
|
- // return
|
|
|
|
|
- // }
|
|
|
|
|
- if (this.resumesDetailsA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入个人优势',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesEmailA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入邮箱',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesCompensationA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择期望薪资',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.sanjiTypr == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择求职岗位',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.industry.length == 0) {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择期望行业',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.addressA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入家庭住址',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.graduationTime == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请选择毕业时间',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.cityA == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入意向城市',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- this.imgA = this.imgsA.join(',')
|
|
|
|
|
- // let resumesId = this.$route.query.resumesId
|
|
|
|
|
- this.$http({
|
|
|
|
|
- url: this.$http.adornUrl('resumes/insertResumes'),
|
|
|
|
|
- method: 'post',
|
|
|
|
|
- data: this.$http.adornData({
|
|
|
|
|
- 'resumesName': this.resumesNameA,
|
|
|
|
|
- 'resumesPhone': this.resumesPhoneA,
|
|
|
|
|
- 'resumesMajor': this.resumesMajorA,
|
|
|
|
|
- 'resumesEducation': this.resumesEducationA,
|
|
|
|
|
- 'resumesAge': this.resumesAgeA,
|
|
|
|
|
- 'resumesSex': this.resumesSexA,
|
|
|
|
|
- 'resumesMarriage': this.resumesMarriageA,
|
|
|
|
|
- 'resumesWorkExperience': this.resumesWorkExperienceA,
|
|
|
|
|
- 'resumesEmail': this.resumesEmailA,
|
|
|
|
|
- 'resumesCompensation': this.resumesCompensationA,
|
|
|
|
|
- 'resumesWorkList': this.resumesWorkListA,
|
|
|
|
|
- 'resumesCompanyList': this.resumesCompanyListA,
|
|
|
|
|
- 'resumesDetails': this.resumesDetailsA,
|
|
|
|
|
- 'resumesImage': this.imgsA.toString(),
|
|
|
|
|
- 'resumesImageName': this.resumesImageNameA.toString(),
|
|
|
|
|
- 'resumesIntention': this.resumesIntentionA,
|
|
|
|
|
- 'city': this.cityA,
|
|
|
|
|
- 'address': this.addressA,
|
|
|
|
|
- 'school': this.schoolA,
|
|
|
|
|
- 'major': this.majorA,
|
|
|
|
|
- 'rulePostName': this.rulePostNameA,
|
|
|
|
|
- 'ruleMajor': this.ruleMajorA.toString(),
|
|
|
|
|
- 'userId': this.userIdA,
|
|
|
|
|
- 'money': this.money,
|
|
|
|
|
- 'resumesPost': this.sanjiTypr,
|
|
|
|
|
- 'industryName': this.industry.toString(),
|
|
|
|
|
- 'graduationTime': this.graduationTime,
|
|
|
|
|
- })
|
|
|
|
|
- }).then(({
|
|
|
|
|
- data
|
|
|
|
|
- }) => {
|
|
|
|
|
- if (data.code == 0) {
|
|
|
|
|
- this.$message({
|
|
|
|
|
- message: '添加成功',
|
|
|
|
|
- type: 'success',
|
|
|
|
|
- duration: 1500,
|
|
|
|
|
- onClose: () => {
|
|
|
|
|
- this.dataSelect()
|
|
|
|
|
- this.dialogFormVisibleAdd = false
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$message({
|
|
|
|
|
- message: data.msg,
|
|
|
|
|
- type: 'warning',
|
|
|
|
|
- duration: 1500,
|
|
|
|
|
- onClose: () => {}
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- // 添加/修改项目经验/工作经历
|
|
|
|
|
- addUpdate(index, row) {
|
|
|
|
|
- if (row) {
|
|
|
|
|
- this.indexList = index
|
|
|
|
|
- this.createTime = row.createTime
|
|
|
|
|
- this.resumesClassify = row.resumesClassify
|
|
|
|
|
- this.resumesContent = row.resumesContent
|
|
|
|
|
- this.resumesDetailsId = row.resumesDetailsId
|
|
|
|
|
- this.resumesId = row.resumesId
|
|
|
|
|
- this.resumesPostS = row.resumesPost
|
|
|
|
|
- this.resumesProject = row.resumesProject
|
|
|
|
|
- this.resumesTime = row.resumesTime
|
|
|
|
|
- this.resumesTitle = row.resumesTitle
|
|
|
|
|
- this.resumesTimes = row.resumesTime.split(' - ')
|
|
|
|
|
- this.resumesTime1 = this.resumesTimes[0]
|
|
|
|
|
- this.resumesTime2 = this.resumesTimes[1]
|
|
|
|
|
- // console.log('resumesTime',this.resumesTime, typeof this.resumesTime,'``````',this.resumesTimes)
|
|
|
|
|
- } else {
|
|
|
|
|
- this.indexList = ''
|
|
|
|
|
- this.createTime = ''
|
|
|
|
|
- this.resumesClassify = ''
|
|
|
|
|
- this.resumesContent = ''
|
|
|
|
|
- this.resumesDetailsId = ''
|
|
|
|
|
- this.resumesId = ''
|
|
|
|
|
- this.resumesPostS = ''
|
|
|
|
|
- this.resumesProject = ''
|
|
|
|
|
- this.resumesTime = ''
|
|
|
|
|
- this.resumesTitle = ''
|
|
|
|
|
- this.resumesTimes = []
|
|
|
|
|
- this.resumesTime1 = ''
|
|
|
|
|
- this.resumesTime2 = ''
|
|
|
|
|
- }
|
|
|
|
|
- console.log(this.indexList)
|
|
|
|
|
- this.dialogFormVisibleGz = true
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- addUpdateXu(index, row) {
|
|
|
|
|
- if (index) {
|
|
|
|
|
- this.indexList = index
|
|
|
|
|
- }
|
|
|
|
|
- if (row) {
|
|
|
|
|
- this.createTime = row.createTime
|
|
|
|
|
- this.resumesClassify = row.resumesClassify
|
|
|
|
|
- this.resumesContent = row.resumesContent
|
|
|
|
|
- this.resumesDetailsId = row.resumesDetailsId
|
|
|
|
|
- this.resumesId = row.resumesId
|
|
|
|
|
- this.resumesPostS = row.resumesPost
|
|
|
|
|
- this.resumesTime = row.resumesTime
|
|
|
|
|
- this.resumesTitle = row.resumesTitle
|
|
|
|
|
- this.resumesTimes = row.resumesTime.split(' - ')
|
|
|
|
|
- this.resumesTime1 = this.resumesTimes[0]
|
|
|
|
|
- this.resumesTime2 = this.resumesTimes[1]
|
|
|
|
|
- } else {
|
|
|
|
|
- this.indexList = ''
|
|
|
|
|
- this.createTime = ''
|
|
|
|
|
- this.resumesClassify = ''
|
|
|
|
|
- this.resumesContent = ''
|
|
|
|
|
- this.resumesDetailsId = ''
|
|
|
|
|
- this.resumesId = ''
|
|
|
|
|
- this.resumesPostS = ''
|
|
|
|
|
- this.resumesTime = ''
|
|
|
|
|
- this.resumesTitle = ''
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- this.dialogFormVisibleXm = true
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- // 确认添加
|
|
|
|
|
- cashNoticeTo() {
|
|
|
|
|
- var times = this.resumesTime1 + ' - ' + this.resumesTime2
|
|
|
|
|
- this.resumesTime = times
|
|
|
|
|
- if (this.resumesTitle == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入公司名称',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesPostS == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入职位',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- // if (this.resumesProject == '') {
|
|
|
|
|
- // this.$notify({
|
|
|
|
|
- // title: '提示',
|
|
|
|
|
- // duration: 1800,
|
|
|
|
|
- // message: '请输入项目名称',
|
|
|
|
|
- // type: 'warning'
|
|
|
|
|
- // });
|
|
|
|
|
- // return
|
|
|
|
|
- // }
|
|
|
|
|
-
|
|
|
|
|
- if (this.resumesTime == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入在职时间',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- if (this.resumesContent == '') {
|
|
|
|
|
- this.$notify({
|
|
|
|
|
- title: '提示',
|
|
|
|
|
- duration: 1800,
|
|
|
|
|
- message: '请输入工作内容',
|
|
|
|
|
- type: 'warning'
|
|
|
|
|
- });
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
- var dataList = {}
|
|
|
|
|
- dataList.createTime = this.createTime
|
|
|
|
|
- dataList.resumesClassify = this.resumesClassify
|
|
|
|
|
- dataList.resumesContent = this.resumesContent
|
|
|
|
|
- dataList.resumesDetailsId = this.resumesDetailsId
|
|
|
|
|
- dataList.resumesId = this.resumesId
|
|
|
|
|
- dataList.resumesPost = this.resumesPostS
|
|
|
|
|
- dataList.resumesProject = this.resumesProject
|
|
|
|
|
- dataList.resumesTime = this.resumesTime
|
|
|
|
|
- dataList.resumesTitle = this.resumesTitle
|
|
|
|
|
- console.log('this.indexList', this.indexList)
|
|
|
|
|
- if (this.indexList === '') {
|
|
|
|
|
- this.resumesCompanyListA.push(dataList)
|
|
|
|
|
- } else {
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].createTime = this.createTime
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].resumesClassify = this.resumesClassify
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].resumesContent = this.resumesContent
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].resumesDetailsId = this.resumesDetailsId
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].resumesId = this.resumesId
|
|
|
|
|
- this.resumesCompanyListA[this.indexList].resumesPost = this.resumesPostS
|
|
|
|
|
-
|
|
|
|
|
- this.resumesCompanyList[this.indexList].resumesProject = this.resumesProject
|
|
|
|
|
- this.resumesCompanyList[this.indexList].resumesTime = this.resumesTime
|
|
|
|
|
- this.resumesCompanyList[this.indexList].resumesTitle = this.resumesTitle
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- this.dialogFormVisibleGz = false
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- // 删除工作经历
|
|
|
|
|
- deleteList(index) {
|
|
|
|
|
- this.resumesCompanyListA.splice(index, 1)
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // // 新增简历
|
|
|
|
|
+ // addBtn() {
|
|
|
|
|
+ // this.resumesNameA = ''
|
|
|
|
|
+ // this.resumesPhoneA = ''
|
|
|
|
|
+ // this.resumesMajorA = ''
|
|
|
|
|
+ // this.resumesEducationA = ''
|
|
|
|
|
+ // this.resumesAgeA = ''
|
|
|
|
|
+ // this.resumesSexA = 1
|
|
|
|
|
+ // this.resumesMarriageA = ''
|
|
|
|
|
+ // this.resumesWorkExperienceA = ''
|
|
|
|
|
+ // this.resumesPostA = ''
|
|
|
|
|
+ // this.resumesEmailA = ''
|
|
|
|
|
+ // this.resumesCompensationA = ''
|
|
|
|
|
+ // this.resumesWorkListA = []
|
|
|
|
|
+ // this.resumesCompanyListA = []
|
|
|
|
|
+ // this.resumesDetailsA = ''
|
|
|
|
|
+ // this.imgsA = []
|
|
|
|
|
+ // this.resumesImageNameA = []
|
|
|
|
|
+ // this.resumesIntentionA = ''
|
|
|
|
|
+ // this.cityA = ''
|
|
|
|
|
+ // this.addressA = ''
|
|
|
|
|
+ // this.schoolA = ''
|
|
|
|
|
+ // this.majorA = ''
|
|
|
|
|
+ // this.graduationTime = ''
|
|
|
|
|
+ // this.rulePostNameA = ''
|
|
|
|
|
+ // this.ruleMajorA = []
|
|
|
|
|
+ // this.userIdA = ''
|
|
|
|
|
+ // this.userNameA = ''
|
|
|
|
|
+ // this.resumesPost = ''
|
|
|
|
|
+ // this.money = ''
|
|
|
|
|
+ // this.tagList = []
|
|
|
|
|
+ // this.yijiid = ''
|
|
|
|
|
+ // this.erjiId = ''
|
|
|
|
|
+ // this.sanjiTypr = ''
|
|
|
|
|
+ // this.isshow1 = true
|
|
|
|
|
+ // this.dialogFormVisibleAdd = true
|
|
|
|
|
+ // this.classSelect()
|
|
|
|
|
+ // this.hangyeSelect()
|
|
|
|
|
+ // },
|
|
|
|
|
+ // // 确认新增
|
|
|
|
|
+ // refusetoAdd() {
|
|
|
|
|
+ // if (this.userIdA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择绑定用户',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesNameA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入姓名',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesPhoneA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入电话',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesEducationA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择学历',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.schoolA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入学校',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.majorA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入所学专业',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // if (this.resumesAgeA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入年龄',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesMarriageA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择婚姻状态',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesWorkExperienceA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择工作经验',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // // if (this.resumesPostA == '') {
|
|
|
|
|
+ // // this.$notify({
|
|
|
|
|
+ // // title: '提示',
|
|
|
|
|
+ // // duration: 1800,
|
|
|
|
|
+ // // message: '请选择岗位',
|
|
|
|
|
+ // // type: 'warning'
|
|
|
|
|
+ // // });
|
|
|
|
|
+ // // return
|
|
|
|
|
+ // // }
|
|
|
|
|
+ // if (this.resumesDetailsA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入个人优势',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesEmailA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入邮箱',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesCompensationA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择期望薪资',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.sanjiTypr == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择求职岗位',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.industry.length == 0) {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择期望行业',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.addressA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入家庭住址',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.graduationTime == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请选择毕业时间',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.cityA == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入意向城市',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // this.imgA = this.imgsA.join(',')
|
|
|
|
|
+ // // let resumesId = this.$route.query.resumesId
|
|
|
|
|
+ // this.$http({
|
|
|
|
|
+ // url: this.$http.adornUrl('resumes/insertResumes'),
|
|
|
|
|
+ // method: 'post',
|
|
|
|
|
+ // data: this.$http.adornData({
|
|
|
|
|
+ // 'resumesName': this.resumesNameA,
|
|
|
|
|
+ // 'resumesPhone': this.resumesPhoneA,
|
|
|
|
|
+ // 'resumesMajor': this.resumesMajorA,
|
|
|
|
|
+ // 'resumesEducation': this.resumesEducationA,
|
|
|
|
|
+ // 'resumesAge': this.resumesAgeA,
|
|
|
|
|
+ // 'resumesSex': this.resumesSexA,
|
|
|
|
|
+ // 'resumesMarriage': this.resumesMarriageA,
|
|
|
|
|
+ // 'resumesWorkExperience': this.resumesWorkExperienceA,
|
|
|
|
|
+ // 'resumesEmail': this.resumesEmailA,
|
|
|
|
|
+ // 'resumesCompensation': this.resumesCompensationA,
|
|
|
|
|
+ // 'resumesWorkList': this.resumesWorkListA,
|
|
|
|
|
+ // 'resumesCompanyList': this.resumesCompanyListA,
|
|
|
|
|
+ // 'resumesDetails': this.resumesDetailsA,
|
|
|
|
|
+ // 'resumesImage': this.imgsA.toString(),
|
|
|
|
|
+ // 'resumesImageName': this.resumesImageNameA.toString(),
|
|
|
|
|
+ // 'resumesIntention': this.resumesIntentionA,
|
|
|
|
|
+ // 'city': this.cityA,
|
|
|
|
|
+ // 'address': this.addressA,
|
|
|
|
|
+ // 'school': this.schoolA,
|
|
|
|
|
+ // 'major': this.majorA,
|
|
|
|
|
+ // 'rulePostName': this.rulePostNameA,
|
|
|
|
|
+ // 'ruleMajor': this.ruleMajorA.toString(),
|
|
|
|
|
+ // 'userId': this.userIdA,
|
|
|
|
|
+ // 'money': this.money,
|
|
|
|
|
+ // 'resumesPost': this.sanjiTypr,
|
|
|
|
|
+ // 'industryName': this.industry.toString(),
|
|
|
|
|
+ // 'graduationTime': this.graduationTime,
|
|
|
|
|
+ // })
|
|
|
|
|
+ // }).then(({
|
|
|
|
|
+ // data
|
|
|
|
|
+ // }) => {
|
|
|
|
|
+ // if (data.code == 0) {
|
|
|
|
|
+ // this.$message({
|
|
|
|
|
+ // message: '添加成功',
|
|
|
|
|
+ // type: 'success',
|
|
|
|
|
+ // duration: 1500,
|
|
|
|
|
+ // onClose: () => {
|
|
|
|
|
+ // this.dataSelect()
|
|
|
|
|
+ // this.dialogFormVisibleAdd = false
|
|
|
|
|
+ // }
|
|
|
|
|
+ // })
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.$message({
|
|
|
|
|
+ // message: data.msg,
|
|
|
|
|
+ // type: 'warning',
|
|
|
|
|
+ // duration: 1500,
|
|
|
|
|
+ // onClose: () => {}
|
|
|
|
|
+ // })
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // })
|
|
|
|
|
+ // },
|
|
|
|
|
+ // // 添加/修改项目经验/工作经历
|
|
|
|
|
+ // addUpdate(index, row) {
|
|
|
|
|
+ // if (row) {
|
|
|
|
|
+ // this.indexList = index
|
|
|
|
|
+ // this.createTime = row.createTime
|
|
|
|
|
+ // this.resumesClassify = row.resumesClassify
|
|
|
|
|
+ // this.resumesContent = row.resumesContent
|
|
|
|
|
+ // this.resumesDetailsId = row.resumesDetailsId
|
|
|
|
|
+ // this.resumesId = row.resumesId
|
|
|
|
|
+ // this.resumesPostS = row.resumesPost
|
|
|
|
|
+ // this.resumesProject = row.resumesProject
|
|
|
|
|
+ // this.resumesTime = row.resumesTime
|
|
|
|
|
+ // this.resumesTitle = row.resumesTitle
|
|
|
|
|
+ // this.resumesTimes = row.resumesTime.split(' - ')
|
|
|
|
|
+ // this.resumesTime1 = this.resumesTimes[0]
|
|
|
|
|
+ // this.resumesTime2 = this.resumesTimes[1]
|
|
|
|
|
+ // // console.log('resumesTime',this.resumesTime, typeof this.resumesTime,'``````',this.resumesTimes)
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.indexList = ''
|
|
|
|
|
+ // this.createTime = ''
|
|
|
|
|
+ // this.resumesClassify = ''
|
|
|
|
|
+ // this.resumesContent = ''
|
|
|
|
|
+ // this.resumesDetailsId = ''
|
|
|
|
|
+ // this.resumesId = ''
|
|
|
|
|
+ // this.resumesPostS = ''
|
|
|
|
|
+ // this.resumesProject = ''
|
|
|
|
|
+ // this.resumesTime = ''
|
|
|
|
|
+ // this.resumesTitle = ''
|
|
|
|
|
+ // this.resumesTimes = []
|
|
|
|
|
+ // this.resumesTime1 = ''
|
|
|
|
|
+ // this.resumesTime2 = ''
|
|
|
|
|
+ // }
|
|
|
|
|
+ // console.log(this.indexList)
|
|
|
|
|
+ // this.dialogFormVisibleGz = true
|
|
|
|
|
+
|
|
|
|
|
+ // },
|
|
|
|
|
+ // addUpdateXu(index, row) {
|
|
|
|
|
+ // if (index) {
|
|
|
|
|
+ // this.indexList = index
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (row) {
|
|
|
|
|
+ // this.createTime = row.createTime
|
|
|
|
|
+ // this.resumesClassify = row.resumesClassify
|
|
|
|
|
+ // this.resumesContent = row.resumesContent
|
|
|
|
|
+ // this.resumesDetailsId = row.resumesDetailsId
|
|
|
|
|
+ // this.resumesId = row.resumesId
|
|
|
|
|
+ // this.resumesPostS = row.resumesPost
|
|
|
|
|
+ // this.resumesTime = row.resumesTime
|
|
|
|
|
+ // this.resumesTitle = row.resumesTitle
|
|
|
|
|
+ // this.resumesTimes = row.resumesTime.split(' - ')
|
|
|
|
|
+ // this.resumesTime1 = this.resumesTimes[0]
|
|
|
|
|
+ // this.resumesTime2 = this.resumesTimes[1]
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.indexList = ''
|
|
|
|
|
+ // this.createTime = ''
|
|
|
|
|
+ // this.resumesClassify = ''
|
|
|
|
|
+ // this.resumesContent = ''
|
|
|
|
|
+ // this.resumesDetailsId = ''
|
|
|
|
|
+ // this.resumesId = ''
|
|
|
|
|
+ // this.resumesPostS = ''
|
|
|
|
|
+ // this.resumesTime = ''
|
|
|
|
|
+ // this.resumesTitle = ''
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // this.dialogFormVisibleXm = true
|
|
|
|
|
+
|
|
|
|
|
+ // },
|
|
|
|
|
+ // // 确认添加
|
|
|
|
|
+ // cashNoticeTo() {
|
|
|
|
|
+ // var times = this.resumesTime1 + ' - ' + this.resumesTime2
|
|
|
|
|
+ // this.resumesTime = times
|
|
|
|
|
+ // if (this.resumesTitle == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入公司名称',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesPostS == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入职位',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // // if (this.resumesProject == '') {
|
|
|
|
|
+ // // this.$notify({
|
|
|
|
|
+ // // title: '提示',
|
|
|
|
|
+ // // duration: 1800,
|
|
|
|
|
+ // // message: '请输入项目名称',
|
|
|
|
|
+ // // type: 'warning'
|
|
|
|
|
+ // // });
|
|
|
|
|
+ // // return
|
|
|
|
|
+ // // }
|
|
|
|
|
+
|
|
|
|
|
+ // if (this.resumesTime == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入在职时间',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if (this.resumesContent == '') {
|
|
|
|
|
+ // this.$notify({
|
|
|
|
|
+ // title: '提示',
|
|
|
|
|
+ // duration: 1800,
|
|
|
|
|
+ // message: '请输入工作内容',
|
|
|
|
|
+ // type: 'warning'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
|
|
+ // var dataList = {}
|
|
|
|
|
+ // dataList.createTime = this.createTime
|
|
|
|
|
+ // dataList.resumesClassify = this.resumesClassify
|
|
|
|
|
+ // dataList.resumesContent = this.resumesContent
|
|
|
|
|
+ // dataList.resumesDetailsId = this.resumesDetailsId
|
|
|
|
|
+ // dataList.resumesId = this.resumesId
|
|
|
|
|
+ // dataList.resumesPost = this.resumesPostS
|
|
|
|
|
+ // dataList.resumesProject = this.resumesProject
|
|
|
|
|
+ // dataList.resumesTime = this.resumesTime
|
|
|
|
|
+ // dataList.resumesTitle = this.resumesTitle
|
|
|
|
|
+ // console.log('this.indexList', this.indexList)
|
|
|
|
|
+ // if (this.indexList === '') {
|
|
|
|
|
+ // this.resumesCompanyListA.push(dataList)
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].createTime = this.createTime
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].resumesClassify = this.resumesClassify
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].resumesContent = this.resumesContent
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].resumesDetailsId = this.resumesDetailsId
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].resumesId = this.resumesId
|
|
|
|
|
+ // this.resumesCompanyListA[this.indexList].resumesPost = this.resumesPostS
|
|
|
|
|
+
|
|
|
|
|
+ // this.resumesCompanyList[this.indexList].resumesProject = this.resumesProject
|
|
|
|
|
+ // this.resumesCompanyList[this.indexList].resumesTime = this.resumesTime
|
|
|
|
|
+ // this.resumesCompanyList[this.indexList].resumesTitle = this.resumesTitle
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // this.dialogFormVisibleGz = false
|
|
|
|
|
+
|
|
|
|
|
+ // },
|
|
|
|
|
+ // // 删除工作经历
|
|
|
|
|
+ // deleteList(index) {
|
|
|
|
|
+ // this.resumesCompanyListA.splice(index, 1)
|
|
|
|
|
+ // },
|
|
|
//上传成功
|
|
//上传成功
|
|
|
handleUploadSuccess(file, fileList) {
|
|
handleUploadSuccess(file, fileList) {
|
|
|
this.imgA = file.data
|
|
this.imgA = file.data
|