|
|
|
|
@ -6,20 +6,30 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- 录单弹出框 -->
|
|
|
|
|
<a-modal
|
|
|
|
|
title="录单"
|
|
|
|
|
<a-drawer
|
|
|
|
|
title="报名"
|
|
|
|
|
placement="right"
|
|
|
|
|
:closable="true"
|
|
|
|
|
:visible="visible"
|
|
|
|
|
class="modal"
|
|
|
|
|
:confirm-loading="confirmLoading"
|
|
|
|
|
@ok="handleOk"
|
|
|
|
|
@cancel="handleCancel"
|
|
|
|
|
:maskClosable="false"
|
|
|
|
|
okText="提交"
|
|
|
|
|
cancelText="取消"
|
|
|
|
|
:destroyOnClose="true"
|
|
|
|
|
labelAlign="right"
|
|
|
|
|
width="588"
|
|
|
|
|
:after-visible-change="afterVisibleChange"
|
|
|
|
|
@close="onClose"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model ref="ruleForm" :model="form" :rules="rules" :colon="false">
|
|
|
|
|
<a-form-model-item ref="name" label="老乡姓名" prop="name">
|
|
|
|
|
<a-form-model
|
|
|
|
|
ref="ruleForm"
|
|
|
|
|
:model="form"
|
|
|
|
|
:rules="rules"
|
|
|
|
|
:colon="false"
|
|
|
|
|
:wrapperCol="{ span: 21 }"
|
|
|
|
|
:labelCol="{ span: 3 }"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="username" label="代理" prop="username">
|
|
|
|
|
<a-select v-model="form.proxy" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="name" label="姓名" prop="name">
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.name"
|
|
|
|
|
placeholder="请输入老乡姓名"
|
|
|
|
|
@ -30,29 +40,79 @@
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="tel" label="老乡电话" prop="tel">
|
|
|
|
|
<a-form-model-item ref="gender" label="性别" prop="gender">
|
|
|
|
|
<a-select v-model="form.gender" placeholder="请选择性别">
|
|
|
|
|
<a-select-option value="man">男</a-select-option>
|
|
|
|
|
<a-select-option value="woman">女</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="tel" label="年龄" prop="tel">
|
|
|
|
|
<a-input
|
|
|
|
|
v-model="form.tel"
|
|
|
|
|
placeholder="请输入老乡电话"
|
|
|
|
|
v-model="form.age"
|
|
|
|
|
placeholder="请输入年龄"
|
|
|
|
|
@blur="
|
|
|
|
|
() => {
|
|
|
|
|
$refs.tel.onFieldBlur();
|
|
|
|
|
$refs.tel.onFieldBlur(123);
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item
|
|
|
|
|
ref="peoplecard"
|
|
|
|
|
label="老乡身份证号"
|
|
|
|
|
prop="peoplecard"
|
|
|
|
|
>
|
|
|
|
|
<a-form-model-item ref="peoplecard" label="民族" prop="peoplecard">
|
|
|
|
|
<a-select v-model="form.nation" placeholder="请选择民族">
|
|
|
|
|
<a-select-option
|
|
|
|
|
v-for="item in nationlist"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
>{{ item.name }}</a-select-option
|
|
|
|
|
>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="peoplecard" label="身份证号" prop="peoplecard">
|
|
|
|
|
<a-input v-model="form.peoplecard" placeholder="请输入老乡身份证号" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="报名人" prop="username">
|
|
|
|
|
<a-input v-model="form.username" placeholder="请输入报名人" />
|
|
|
|
|
<a-form-model-item ref="peoplecard" label="家庭住址" prop="peoplecard">
|
|
|
|
|
<a-input v-model="form.location" placeholder="请输入家庭住址" />
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="面试时间" prop="username">
|
|
|
|
|
<a-select v-model="form.facedate" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="报名企业" prop="username">
|
|
|
|
|
<a-select v-model="form.firm" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="岗位" prop="username">
|
|
|
|
|
<a-select v-model="form.post" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="模式" prop="username">
|
|
|
|
|
<a-select v-model="form.pattern" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item ref="username" label="政策" prop="username">
|
|
|
|
|
<a-select v-model="form.policy" placeholder="请选择民族">
|
|
|
|
|
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</a-modal>
|
|
|
|
|
</a-drawer>
|
|
|
|
|
<!-- <a-modal
|
|
|
|
|
title="报名"
|
|
|
|
|
:visible="visible"
|
|
|
|
|
class="modal"
|
|
|
|
|
:confirm-loading="confirmLoading"
|
|
|
|
|
@ok="handleOk"
|
|
|
|
|
@cancel="handleCancel"
|
|
|
|
|
:maskClosable="false"
|
|
|
|
|
okText="提交"
|
|
|
|
|
cancelText="取消"
|
|
|
|
|
:destroyOnClose="true"
|
|
|
|
|
>
|
|
|
|
|
</a-modal> -->
|
|
|
|
|
<!-- 筛选导航 -->
|
|
|
|
|
<div class="navigation" id="navigation">
|
|
|
|
|
<div class="w">
|
|
|
|
|
@ -276,7 +336,7 @@
|
|
|
|
|
>
|
|
|
|
|
<button>更多</button>
|
|
|
|
|
</router-link>
|
|
|
|
|
<button @click="showmodal(item.id)">录单</button>
|
|
|
|
|
<button @click="showmodal(item.id)">报名</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -380,6 +440,242 @@ export default {
|
|
|
|
|
confirmLoading: false, // 录单提交的loading效果
|
|
|
|
|
cityoption: [], // 城市列表
|
|
|
|
|
newFormValue: [],
|
|
|
|
|
applyid: "", // 报名企业id
|
|
|
|
|
nationlist: [
|
|
|
|
|
{
|
|
|
|
|
id: "01",
|
|
|
|
|
name: "汉族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "02",
|
|
|
|
|
name: "蒙古族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "03",
|
|
|
|
|
name: "回族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "04",
|
|
|
|
|
name: "藏族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "05",
|
|
|
|
|
name: "维吾尔族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "06",
|
|
|
|
|
name: "苗族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "07",
|
|
|
|
|
name: "彝族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "08",
|
|
|
|
|
name: "壮族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "09",
|
|
|
|
|
name: "布依族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "10",
|
|
|
|
|
name: "朝鲜族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "11",
|
|
|
|
|
name: "满族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "12",
|
|
|
|
|
name: "侗族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "13",
|
|
|
|
|
name: "瑶族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "14",
|
|
|
|
|
name: "白族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "15",
|
|
|
|
|
name: "土家族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "16",
|
|
|
|
|
name: "哈尼族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "17",
|
|
|
|
|
name: "哈萨克族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "18",
|
|
|
|
|
name: "傣族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "19",
|
|
|
|
|
name: "黎族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "20",
|
|
|
|
|
name: "傈僳族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "21",
|
|
|
|
|
name: "佤族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "22",
|
|
|
|
|
name: "畲族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "23",
|
|
|
|
|
name: "高山族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "24",
|
|
|
|
|
name: "拉祜族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "25",
|
|
|
|
|
name: "水族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "26",
|
|
|
|
|
name: "东乡族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "27",
|
|
|
|
|
name: "纳西族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "28",
|
|
|
|
|
name: "景颇族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "29",
|
|
|
|
|
name: "柯尔克孜族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "30",
|
|
|
|
|
name: "土族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "31",
|
|
|
|
|
name: "达斡尔族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "32",
|
|
|
|
|
name: "仫佬族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "33",
|
|
|
|
|
name: "羌族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "34",
|
|
|
|
|
name: "布朗族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "35",
|
|
|
|
|
name: "撒拉族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "36",
|
|
|
|
|
name: "毛难族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "37",
|
|
|
|
|
name: "仡佬族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "38",
|
|
|
|
|
name: "锡伯族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "39",
|
|
|
|
|
name: "阿昌族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "40",
|
|
|
|
|
name: "普米族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "41",
|
|
|
|
|
name: "塔吉克族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "42",
|
|
|
|
|
name: "怒族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "43",
|
|
|
|
|
name: "乌孜别克族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "44",
|
|
|
|
|
name: "俄罗斯族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "45",
|
|
|
|
|
name: "鄂温克族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "46",
|
|
|
|
|
name: "崩龙族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "47",
|
|
|
|
|
name: "保安族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "48",
|
|
|
|
|
name: "裕固族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "49",
|
|
|
|
|
name: "京族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "50",
|
|
|
|
|
name: "塔塔尔族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "51",
|
|
|
|
|
name: "独龙族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "52",
|
|
|
|
|
name: "鄂伦春族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "53",
|
|
|
|
|
name: "赫哲族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "54",
|
|
|
|
|
name: "门巴族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "55",
|
|
|
|
|
name: "珞巴族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "56",
|
|
|
|
|
name: "基诺族",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "57",
|
|
|
|
|
name: "其他",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "58",
|
|
|
|
|
name: "外国血统中国人士",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
dateinfo: {
|
|
|
|
|
day: "",
|
|
|
|
|
week: "",
|
|
|
|
|
@ -388,14 +684,21 @@ export default {
|
|
|
|
|
form: {
|
|
|
|
|
// 录单数据
|
|
|
|
|
name: "",
|
|
|
|
|
tel: "",
|
|
|
|
|
peoplecard: "",
|
|
|
|
|
username: "",
|
|
|
|
|
gender: "",
|
|
|
|
|
nation: "",
|
|
|
|
|
location: "",
|
|
|
|
|
firm: "",
|
|
|
|
|
post: "",
|
|
|
|
|
pattern: "",
|
|
|
|
|
policy: "",
|
|
|
|
|
proxy: "",
|
|
|
|
|
facedate: "",
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
// 录单校验规则
|
|
|
|
|
name: [{ required: true, message: "请输入姓名", trigger: "submit" }],
|
|
|
|
|
tel: [{ required: true, message: "请输入手机号", trigger: "submit" }],
|
|
|
|
|
// tel: [{ required: true, message: "请输入手机号", trigger: "submit" }],
|
|
|
|
|
},
|
|
|
|
|
options: {
|
|
|
|
|
//
|
|
|
|
|
@ -733,9 +1036,16 @@ export default {
|
|
|
|
|
this.form = {
|
|
|
|
|
// 录单数据
|
|
|
|
|
name: "",
|
|
|
|
|
tel: "",
|
|
|
|
|
peoplecard: "",
|
|
|
|
|
username: "",
|
|
|
|
|
gender: "",
|
|
|
|
|
nation: "",
|
|
|
|
|
location: "",
|
|
|
|
|
firm: "",
|
|
|
|
|
post: "",
|
|
|
|
|
pattern: "",
|
|
|
|
|
policy: "",
|
|
|
|
|
proxy: "",
|
|
|
|
|
facedate: "",
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
// 录单提交按钮的回调
|
|
|
|
|
@ -765,6 +1075,7 @@ export default {
|
|
|
|
|
// 弹出录单模态框
|
|
|
|
|
showmodal(id) {
|
|
|
|
|
this.visible = true;
|
|
|
|
|
this.applyid = id;
|
|
|
|
|
console.log(id);
|
|
|
|
|
},
|
|
|
|
|
// 获取日期信息
|
|
|
|
|
@ -837,50 +1148,55 @@ export default {
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// 录单模态框样式
|
|
|
|
|
.modal {
|
|
|
|
|
.ant-form-item {
|
|
|
|
|
// margin-bottom: 0;
|
|
|
|
|
margin-top: -8px;
|
|
|
|
|
.ant-input {
|
|
|
|
|
// width: 430px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
// border: none;
|
|
|
|
|
border: 1px solid #dddddd;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
// background-color: #f6f6f6;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal {
|
|
|
|
|
top: 30px !important;
|
|
|
|
|
}
|
|
|
|
|
.ant-form-item {
|
|
|
|
|
// margin-bottom: 0;
|
|
|
|
|
margin-top: -8px;
|
|
|
|
|
// /deep/ .ant-form-item-label {
|
|
|
|
|
// line-height: 22px;
|
|
|
|
|
// }
|
|
|
|
|
.ant-input {
|
|
|
|
|
// width: 430px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
// border: none;
|
|
|
|
|
border: 1px solid #dddddd;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
// background-color: #f6f6f6;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal-footer {
|
|
|
|
|
padding: 10px 24px;
|
|
|
|
|
.ant-btn {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
&:hover {
|
|
|
|
|
color: #ff6a00;
|
|
|
|
|
border-color: #ff6a00;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.ant-btn.ant-btn-primary {
|
|
|
|
|
background-color: #ff6a00 !important;
|
|
|
|
|
border: none;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: #ff8025 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal-footer {
|
|
|
|
|
padding: 10px 24px;
|
|
|
|
|
.ant-btn {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
&:hover {
|
|
|
|
|
color: #ff6a00;
|
|
|
|
|
border-color: #ff6a00;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal-header {
|
|
|
|
|
.ant-modal-title {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
// font-weight: normal;
|
|
|
|
|
.ant-btn.ant-btn-primary {
|
|
|
|
|
background-color: #ff6a00 !important;
|
|
|
|
|
border: none;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: #ff8025 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal-body {
|
|
|
|
|
padding: 24px 24px 8px 24px;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-modal-header {
|
|
|
|
|
.ant-modal-title {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
// font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-drawer-body {
|
|
|
|
|
padding: 20px 16px 8px 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/ .navigation {
|
|
|
|
|
// margin-top: -1px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
|