|
|
|
@ -28,10 +28,10 @@ |
|
|
|
|
<el-table-column label="证书编号" align="center" prop="certificateNo" /> |
|
|
|
|
<el-table-column label="学校" align="center" prop="university" /> |
|
|
|
|
<el-table-column label="二级学院" align="center" prop="college" /> |
|
|
|
|
<el-table-column label="年级" align="center" prop="college" /> |
|
|
|
|
<el-table-column label="专业" align="center" prop="college" /> |
|
|
|
|
<el-table-column label="水平" align="center" prop="college" /> |
|
|
|
|
<el-table-column label="是否雇用" align="center" prop="college" /> |
|
|
|
|
<el-table-column label="年级" align="center" prop="grade" /> |
|
|
|
|
<el-table-column label="专业" align="center" prop="major" /> |
|
|
|
|
<el-table-column label="水平" align="center" prop="level" /> |
|
|
|
|
<el-table-column label="是否雇用" align="center" prop="hire" /> |
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" /> |
|
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -72,17 +72,26 @@ |
|
|
|
|
<el-form-item label="二级学院:" prop="college"> |
|
|
|
|
<el-input v-model="form.college" placeholder="请输入二级学院"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="年级:" prop="college"> |
|
|
|
|
<el-input v-model="form.college" placeholder="请输入年级"></el-input> |
|
|
|
|
<el-form-item label="年级:" prop="grade"> |
|
|
|
|
<!-- <el-input v-model="form.grade" placeholder="请输入年级"></el-input> --> |
|
|
|
|
<el-date-picker value-format="yyyy" v-model="form.grade" type="year" placeholder="请输入年级"> |
|
|
|
|
</el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="专业:" prop="college"> |
|
|
|
|
<el-input v-model="form.college" placeholder="请输入专业"></el-input> |
|
|
|
|
<el-form-item label="专业:" prop="major"> |
|
|
|
|
<el-input v-model="form.major" placeholder="请输入专业"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="水平:" prop="college"> |
|
|
|
|
<el-input v-model="form.college" placeholder="请输入水平"></el-input> |
|
|
|
|
<el-form-item label="水平:" prop="level"> |
|
|
|
|
<el-select v-model="form.level" placeholder="请输入水平"> |
|
|
|
|
<el-option label="优" :value="'优'"></el-option> |
|
|
|
|
<el-option label="良" :value="'良'"></el-option> |
|
|
|
|
<el-option label="差" :value="'差'"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="是否雇用:" prop="college"> |
|
|
|
|
<el-input v-model="form.college" placeholder="请输入是否雇用"></el-input> |
|
|
|
|
<el-form-item label="是否雇用:" prop="hire"> |
|
|
|
|
<el-select v-model="form.hire" placeholder="请输入是否雇用"> |
|
|
|
|
<el-option label="是" :value="'是'"></el-option> |
|
|
|
|
<el-option label="否" :value="'否'"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<br /> |
|
|
|
|
<el-form-item label="备注:" prop="remark"> |
|
|
|
@ -128,7 +137,14 @@ |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { listTalent, addTalent, updateTalent, deleteTalent, importTemplate } from '@/api/trainService/index.js' |
|
|
|
|
import { |
|
|
|
|
listTalent, |
|
|
|
|
addTalent, |
|
|
|
|
updateTalent, |
|
|
|
|
deleteTalent, |
|
|
|
|
importTemplate, |
|
|
|
|
detailTalent, |
|
|
|
|
} from '@/api/trainService/index.js' |
|
|
|
|
import ImageUpload from '@/components/ImgUpload/index.vue' |
|
|
|
|
import { getToken } from '@/utils/auth' |
|
|
|
|
|
|
|
|
@ -157,11 +173,7 @@ export default { |
|
|
|
|
certificateNo: [{ required: true, message: '请输入证书编号', trigger: 'blur' }], |
|
|
|
|
university: [{ required: true, message: '请输入学校', trigger: 'blur' }], |
|
|
|
|
college: [{ required: true, message: '请输入二级学院', trigger: 'blur' }], |
|
|
|
|
|
|
|
|
|
name: [{ required: true, message: '请输入年级', trigger: 'blur' }], |
|
|
|
|
name: [{ required: true, message: '请输入专业', trigger: 'blur' }], |
|
|
|
|
name: [{ required: true, message: '请输入水平', trigger: 'blur' }], |
|
|
|
|
name: [{ required: true, message: '请输入是否雇用', trigger: 'blur' }], |
|
|
|
|
hire: [{ required: true, message: '请输入是否雇用', trigger: 'change' }], |
|
|
|
|
}, |
|
|
|
|
upload: { |
|
|
|
|
// 是否显示弹出层(用户导入) |
|
|
|
@ -195,9 +207,11 @@ export default { |
|
|
|
|
}, |
|
|
|
|
//修改资讯的弹窗 |
|
|
|
|
async modify(row) { |
|
|
|
|
this.title = '修改人才' |
|
|
|
|
this.visibleopen = true |
|
|
|
|
this.form = row |
|
|
|
|
detailTalent(row.talentId).then((res) => { |
|
|
|
|
this.form = res |
|
|
|
|
this.title = '修改人才' |
|
|
|
|
this.visibleopen = true |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
async delrow(row) { |
|
|
|
|
this.$confirm('是否确认删除人才', '警告', { |
|
|
|
|