Commit 9f207dbf by taowenzhong

公开招聘字段修改

parent 3a019f06
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
<el-button type="danger" plain icon="el-icon-back" size="mini" v-if="status == '1'" @click="handleBack" <el-button type="danger" plain icon="el-icon-back" size="mini" v-if="status == '1'" @click="handleBack"
:disabled="multiple">退回修改 :disabled="multiple">退回修改
</el-button> </el-button>
<el-button type="danger" icon="el-icon-s-release" size="mini" v-if="status == '1'" @click="handleReject" <!-- <el-button type="danger" icon="el-icon-s-release" size="mini" v-if="status == '1'" @click="handleReject"
:disabled="multiple">驳回 :disabled="multiple">驳回
</el-button> </el-button>-->
<el-button type="info" icon="el-icon-finished" size="mini" v-if="status == '1'" @click="handleFinished">结束 <el-button type="info" icon="el-icon-finished" size="mini" v-if="status == '1'" @click="handleFinished">结束
</el-button> </el-button>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -76,14 +76,13 @@ ...@@ -76,14 +76,13 @@
<ListImage :image-url="isEmptyAvatar(scope.row.photo, scope.row.sex)"></ListImage> <ListImage :image-url="isEmptyAvatar(scope.row.photo, scope.row.sex)"></ListImage>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="身份证号码" align="center" min-width="180" prop="infoIdCard"/>
<el-table-column label="匹配状态" min-width="110" align="center" prop="matchStatus"> <el-table-column label="匹配状态" min-width="110" align="center" prop="matchStatus">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag v-if="scope.row.matchStatus == '1'" style="color:#47bb02; font-weight: bold" <dict-tag
:class="scope.row.matchStatus === '1' ? '_status_success' : '_status_error'"
:options="dict.type.match_status" :options="dict.type.match_status"
:value="scope.row.matchStatus"/> :value="scope.row.matchStatus"
<dict-tag v-else style="color:red; font-weight: bold" :options="dict.type.match_status" />
:value="scope.row.matchStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="审核状态" align="center" min-width="80" max-width="100" prop="auditStatus"> <el-table-column label="审核状态" align="center" min-width="80" max-width="100" prop="auditStatus">
...@@ -91,46 +90,60 @@ ...@@ -91,46 +90,60 @@
<dict-tag :options="dict.type.audit_status" :value="scope.row.auditStatus"/> <dict-tag :options="dict.type.audit_status" :value="scope.row.auditStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="姓名" align="center" prop="studentName"/> <el-table-column label="姓名" align="center" width="100" prop="studentName"/>
<el-table-column label="学籍号" align="center" prop="studentNumber"/> <el-table-column label="身份证号码" align="center" min-width="180" prop="infoIdCard"/>
<el-table-column label="初中学校" align="center" prop="schoolName"/> <!-- 教育局信息 -->
<el-table-column label="测试项目" align="center" prop="project" min-width="100" max-width="120"/> <el-table-column label="姓名" align="center" width="100" prop="eduStudentName"/>
<el-table-column label="身份证号码" align="center" min-width="180" prop="eduIdCard"/>
<el-table-column label="性别" align="center" prop="sex"> <el-table-column label="性别" align="center" prop="sex">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex"/> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex"/>
</template> </template>
</el-table-column> </el-table-column>
<!-- 教育局信息 --> <el-table-column label="测试项目" align="center" prop="project" min-width="100" max-width="120"/>
<el-table-column label="姓名" align="center" width="120px" prop="eduStudentName"/> <el-table-column label="联系方式1" prop="eduSchoolName" width="120" align="center"/>
<el-table-column label="学籍号" align="center" prop="eduStudentNumber"/> <el-table-column label="联系方式2" prop="eduProject" align="center" width="120"/>
<el-table-column label="初中学校" width="100" align="center" prop="eduSchoolName"/> <el-table-column label="民族" prop="eduProject" width="100"/>
<el-table-column label="测试项目" align="type" prop="eduProject" width="100"/> <el-table-column label="政治面貌" prop="eduProject" width="100"/>
<!-- <el-table-column label="身份证号" align="type" prop="eduIdCard" width="80" v-if="0" /> --> <el-table-column label="出生日期" prop="eduProject" width="100"/>
<el-table-column label="性别" align="center" prop="eduSex"> <el-table-column label="婚姻状况" prop="eduProject" width="100"/>
<template slot-scope="scope"> <el-table-column label="户籍所在地" prop="eduProject" width="100"/>
<dict-tag :options="dict.type.sys_user_sex" :value="scope.row.eduSex"/> <el-table-column label="生源地" prop="eduProject" width="100"/>
</template> <el-table-column label="考生身份" prop="eduProject" width="100"/>
</el-table-column> <el-table-column label="参加工作时间" prop="eduProject" width="100"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="230" <el-table-column label="现工作单位职务" prop="eduProject" width="120"/>
max-width="300"> <el-table-column label="报考学历是否全日制" prop="eduProject" width="140"/>
<el-table-column label="学历" prop="eduProject" width="100"/>
<el-table-column label="学位" prop="eduProject" width="100"/>
<el-table-column label="毕业院校" prop="eduProject" width="100"/>
<el-table-column label="所学专业" prop="eduProject" width="100"/>
<el-table-column label="最后毕业时间" prop="eduProject" width="100"/>
<el-table-column label="个人简历" prop="eduProject" width="100"/>
<el-table-column label="家庭成员情况" prop="eduProject" width="100"/>
<el-table-column label="资料" prop="eduProject" width="100"/>
<el-table-column
label="操作" align="center"
class-name="small-padding fixed-width"
min-width="230" max-width="300"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" <el-button size="mini" type="text" icon="el-icon-edit"
v-if="scope.row.auditStatus == '3' && status == '1' &&scope.row.matchStatus != '2' " v-if="scope.row.auditStatus == '3' && status == '1' &&scope.row.matchStatus != '2' "
@click="handleUpdate(scope.row)" v-hasPermi="['system:relation:edit']">修改 @click="handleUpdate(scope.row)" v-hasPermi="['system:relation:edit']">修改
</el-button> </el-button>
<el-button size="mini" type="text" icon="el-icon-success" <el-button size="mini" type="text" icon="el-icon-success"
v-if="scope.row.auditStatus == '3'&&scope.row.matchStatus != '0'&&scope.row.matchStatus != '2' && status == '1'" v-if="scope.row.auditStatus == '3'&&scope.row.matchStatus != '0' && scope.row.matchStatus != '2' && status == '1'"
@click="handlePassOne(scope.row)" v-hasPermi="['system:relation:remove']">通过 @click="handlePassOne(scope.row)" v-hasPermi="['system:relation:remove']">通过
</el-button> </el-button>
<el-button size="mini" type="text" icon="el-icon-back" v-if="scope.row.auditStatus == '3' && status == '1'" <el-button size="mini" type="text" icon="el-icon-back" v-if="scope.row.auditStatus == '3' && status == '1'"
@click="handleBackOne(scope.row)" v-hasPermi="['system:relation:edit']">退回修改 @click="handleBackOne(scope.row)" v-hasPermi="['system:relation:edit']">退回修改
</el-button> </el-button>
<el-button size="mini" type="text" icon="el-icon-s-release" <!-- <el-button size="mini" type="text" icon="el-icon-s-release"
v-if="scope.row.auditStatus == '3' && status == '1'" v-if="scope.row.auditStatus == '3' && status == '1'"
@click="handleRejectOne(scope.row)" v-hasPermi="['system:relation:remove']">驳回 @click="handleRejectOne(scope.row)" v-hasPermi="['system:relation:remove']">驳回
</el-button> </el-button>-->
<el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)" <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)"
v-if="scope.row.auditStatus != '3' && scope.row.auditStatus != null" v-if="scope.row.auditStatus === '3' && scope.row.auditStatus != null"
v-hasPermi="['system:relation:edit']">查看 v-hasPermi="['system:relation:edit']">查看
</el-button> </el-button>
</template> </template>
...@@ -155,20 +168,6 @@ ...@@ -155,20 +168,6 @@
<el-form-item label="身份证号" prop="idCard"> <el-form-item label="身份证号" prop="idCard">
<el-input v-model="form.idCard" placeholder="请输入身份证号" @change="searchInfo" readOnly/> <el-input v-model="form.idCard" placeholder="请输入身份证号" @change="searchInfo" readOnly/>
</el-form-item> </el-form-item>
<el-form-item label="学籍号" prop="studentNumber">
<el-input v-model="form.studentNumber" placeholder="请输入学籍号" :readOnly="isHandle"/>
</el-form-item>
<el-form-item label="初中学校" prop="schoolName" v-show="!isHandle">
<el-input v-model="form.schoolName" placeholder="请输入初中学校"
@click.native="selectSchool(a = false)"/>
</el-form-item>
<el-form-item label="测试项目" prop="project" v-show="!isHandle">
<el-input v-model="form.project" placeholder="请选择测试项目" readonly
@click.native="selectProjectList(a = false)"/>
</el-form-item>
<el-form-item label="初中学校" prop="schoolName" v-show="isHandle">
<el-input v-model="form.schoolName" placeholder="请输入初中学校" readOnly/>
</el-form-item>
<el-form-item label="测试项目" prop="project" v-show="isHandle"> <el-form-item label="测试项目" prop="project" v-show="isHandle">
<el-input v-model="form.project" placeholder="请选择测试项目" readOnly/> <el-input v-model="form.project" placeholder="请选择测试项目" readOnly/>
</el-form-item> </el-form-item>
...@@ -200,12 +199,6 @@ ...@@ -200,12 +199,6 @@
style="width: 178px; height: 178px; border-radius: 50%" alt=""> style="width: 178px; height: 178px; border-radius: 50%" alt="">
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="身高" prop="height">
<el-input v-model="form.height" placeholder="请输入身高" :readOnly="isHandle"/>
</el-form-item>
<el-form-item label="体重" prop="weight">
<el-input v-model="form.weight" placeholder="请输入体重" :readOnly="isHandle"/>
</el-form-item>
<el-form-item label="联系方式2" prop="telephone2"> <el-form-item label="联系方式2" prop="telephone2">
<el-input v-model="form.telephone2" placeholder="请输入联系方式" :readOnly="isHandle"/> <el-input v-model="form.telephone2" placeholder="请输入联系方式" :readOnly="isHandle"/>
</el-form-item> </el-form-item>
...@@ -231,20 +224,6 @@ ...@@ -231,20 +224,6 @@
<el-form-item label="身份证号" prop="eduIdCard"> <el-form-item label="身份证号" prop="eduIdCard">
<el-input v-model="form.eduIdCard" readOnly placeholder="请输入身份证号"/> <el-input v-model="form.eduIdCard" readOnly placeholder="请输入身份证号"/>
</el-form-item> </el-form-item>
<el-form-item label="学籍号" prop="eduStudentNumber">
<el-input v-model="form.eduStudentNumber" placeholder="请输入学籍号"/>
</el-form-item>
<el-form-item label="初中学校" prop="eduSchoolName" v-show="!isHandle">
<el-input v-model="form.eduSchoolName" placeholder="请输入初中学校"
@click.native="selectSchool(a = true)"/>
</el-form-item>
<el-form-item label="测试项目" prop="eduProject" v-show="!isHandle">
<el-input v-model="form.eduProject" placeholder="请选择测试项目" readonly
@click.native="selectProjectList(a = true)"/>
</el-form-item>
<el-form-item label="初中学校" prop="eduSchoolName" v-show="isHandle">
<el-input v-model="form.eduSchoolName" placeholder="请输入初中学校" readOnly/>
</el-form-item>
<el-form-item label="测试项目" prop="eduProject" v-show="isHandle"> <el-form-item label="测试项目" prop="eduProject" v-show="isHandle">
<el-input v-model="form.eduProject" placeholder="请选择测试项目" readOnly/> <el-input v-model="form.eduProject" placeholder="请选择测试项目" readOnly/>
</el-form-item> </el-form-item>
...@@ -904,67 +883,22 @@ export default { ...@@ -904,67 +883,22 @@ export default {
}, },
// 设置单元格样式 // 设置单元格样式
setRowStyle(row, column, rowIndex, columnIndex) { setRowStyle(row, column, rowIndex, columnIndex) {
if (row.columnIndex == "6") { if (row.columnIndex == "5") {
if (row.row.studentName != row.row.eduStudentName) { if (row.row.studentName != row.row.eduStudentName) {
return 'color: red;background-color: #D9EDF7' return 'color: red;background-color: #D9EDF7'
} }
} }
if (row.columnIndex == "7") { if (row.columnIndex == "6") {
if (row.row.studentNumber != row.row.eduStudentNumber) { if (row.row.infoIdCard != row.row.eduIdCard) {
return 'color: red;background-color: #D9EDF7'
}
}
if (row.columnIndex == "8") {
if (row.row.schoolName != row.row.eduSchoolName) {
return 'color: red;background-color: #D9EDF7'
}
}
if (row.columnIndex == "9") {
if (row.row.project != row.row.eduProject) {
return 'color: red;background-color: #D9EDF7'
}
}
if (row.columnIndex == "10") {
if (row.row.sex != row.row.eduSex) {
return 'color: red;background-color: #D9EDF7' return 'color: red;background-color: #D9EDF7'
} }
} }
if (row.columnIndex == "11") { if (row.columnIndex == "5" || row.columnIndex == "6") {
if (row.row.studentName != row.row.eduStudentName) {
return 'color: red;background-color: #F4CE98'
}
}
if (row.columnIndex == "12") {
if (row.row.studentNumber != row.row.eduStudentNumber) {
return 'color: red;background-color: #F4CE98'
}
}
if (row.columnIndex == "13") {
if (row.row.schoolName != row.row.eduSchoolName) {
return 'color: red;background-color: #F4CE98'
}
}
if (row.columnIndex == "14") {
if (row.row.project != row.row.eduProject) {
return 'color: red;background-color: #F4CE98'
}
}
if (row.columnIndex == "15") {
if (row.row.sex != row.row.eduSex) {
return 'color: red;background-color: #F4CE98'
}
}
if (row.columnIndex == "6" || row.columnIndex == "7" || row.columnIndex == "8" || row.columnIndex == "9" || row.columnIndex == "10") {
return 'background-color: #D9EDF7' return 'background-color: #D9EDF7'
} }
if (row.columnIndex == "11" || row.columnIndex == "12" || row.columnIndex == "13" || row.columnIndex == "14" || row.columnIndex == "15") { if (row.columnIndex == "7" || row.columnIndex == "8") {
return 'background-color: #F4CE98' return 'background-color: #F4CE98'
} }
// } else {
// return 'color: red'
// }
}, },
// 关闭弹窗 // 关闭弹窗
close() { close() {
...@@ -1087,6 +1021,17 @@ export default { ...@@ -1087,6 +1021,17 @@ export default {
</script> </script>
<style scoped> <style scoped>
._status_success{
color: #47bb02;
font-weight: bold;
}
._status_error{
color: red;
font-weight: bold;
}
.fullbg { .fullbg {
background-color: rgb(201, 201, 201); background-color: rgb(201, 201, 201);
left: 0; left: 0;
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<el-table-column label="姓名" align="center" min-width="88" prop="studentName"/> <el-table-column label="姓名" align="center" min-width="88" prop="studentName"/>
<el-table-column label="学籍号" align="center" min-width="180" prop="studentNumber"/> <el-table-column label="学籍号" align="center" min-width="180" prop="studentNumber"/>
<el-table-column label="初中学校" key="juniorSchool" min-width="130" align="center" prop="schoolName"/> <el-table-column label="初中学校" key="juniorSchool" min-width="130" align="center" prop="schoolName"/>
<el-table-column label="测试项目" align="type" prop="project" min-width="100"> <el-table-column label="测试项目" prop="project" min-width="100">
</el-table-column> </el-table-column>
<el-table-column label="性别" align="center" prop="sex" min-width="80"> <el-table-column label="性别" align="center" prop="sex" min-width="80">
<template slot-scope="scope"> <template slot-scope="scope">
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<el-table-column label="姓名" align="center" prop="studentName" min-width="80" max-width="120"/> <el-table-column label="姓名" align="center" prop="studentName" min-width="80" max-width="120"/>
<el-table-column label="学籍号" align="center" prop="studentNumber" width="100"/> <el-table-column label="学籍号" align="center" prop="studentNumber" width="100"/>
<el-table-column key="juniorSchool" width="130" align="center" prop="schoolName" label="初中学校"/> <el-table-column key="juniorSchool" width="130" align="center" prop="schoolName" label="初中学校"/>
<el-table-column label="测试项目" align="type" prop="project" width="80"> <el-table-column label="测试项目" prop="project" width="80">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<dict-tag :options="dict.type.professional_category" :value="scope.row.sex" /> <dict-tag :options="dict.type.professional_category" :value="scope.row.sex" />
</template> --> </template> -->
......
...@@ -48,7 +48,7 @@ module.exports = { ...@@ -48,7 +48,7 @@ module.exports = {
//学校内网 //学校内网
// target: `http://10.20.100.201:57321`, // target: `http://10.20.100.201:57321`,
// target: `http://47.105.176.202:5115`, // target: `http://47.105.176.202:5115`,
target: `http://192.168.1.110:8848`, target: `http://172.16.100.96:5131`,
// target: `http://172.18.6.157:8848`, // target: `http://172.18.6.157:8848`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment