<template>
	<div>
		<div style="display: inline-block;">
			<!-- <span>是否是人才库：</span>
			<el-select v-model="classify" style="width:150px;margin-left: 10px;" @change="select()">
				<el-option v-for="item in classlyList" :key="item.value" :label="item.label" :value="item.value">
				</el-option>
			</el-select>&nbsp;&nbsp; -->
			<span>是否展示：</span>
			<el-select v-model="isShowT" style="width:150px;margin-left: 10px;" @change="select()">
				<el-option v-for="item in classlyList" :key="item.value" :label="item.label" :value="item.value">
				</el-option>
			</el-select>&nbsp;&nbsp;
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>状态：</span>
				<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="select()">
					<el-option v-for="item in statesnum" :key="item.value" :label="item.label" :value="item.value">
					</el-option>
				</el-select>&nbsp;&nbsp;
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>姓名：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入姓名" v-model="userNameT">
				</el-input>&nbsp;&nbsp;
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>电话：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入电话"
					v-model="resumesPhoneT">
				</el-input>&nbsp;&nbsp;
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>学校：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入学校" v-model="school">
				</el-input>&nbsp;&nbsp;
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>学历：</span>
				<!-- <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入学历" v-model="resumesEducationT">
				</el-input>&nbsp;&nbsp; -->
				<el-select v-model="resumesEducationT" style="width:150px;margin-left: 10px;" @change="select()">
					<el-option v-for="item in xlData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>&nbsp;&nbsp;
			</div>

			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>求职岗位：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入求职岗位"
					v-model="resumesPostT">
				</el-input>&nbsp;&nbsp;
				<!-- <el-select v-model="resumesPostT" style="width:150px;margin-left: 10px;" @change="selectG(resumesPostT)">
					<el-option v-for="item in zwData" :key="item.ruleClassifyId" :label="item.ruleClassifyName" :value="item">
					</el-option>
				</el-select>&nbsp;&nbsp; -->
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>期望行业：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入期望行业"
					v-model="rulePostNameT">
				</el-input>&nbsp;&nbsp;
				<!-- <el-select v-model="rulePostNameT" style="width:150px;margin-left: 10px;" @change="select()" :disabled="isshow">
					<el-option v-for="item in zyData" :key="item.id" :label="item.rulePostName" :value="item.rulePostName">
					</el-option>
				</el-select>&nbsp;&nbsp; -->
			</div>
			<div style="position: relative;display: inline-block;margin: 5px;">
				<span>年龄：</span>
				<el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入年龄"
					v-model="resumesAgeT">
				</el-input>&nbsp;&nbsp;
			</div>
			<!-- <div style="position: relative;display: inline-block;margin: 5px;">
				<span>婚姻状况：</span>
				<el-select v-model="resumesMarriageT" style="width:150px;margin-left: 10px;" @change="select()">
					<el-option v-for="item in hyData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>&nbsp;&nbsp;
			</div> -->
			<!-- <div style="position: relative;display: inline-block;margin: 5px;">
				<span>工作经验：</span>
				<el-select v-model="resumesWorkExperienceT" style="width:150px;margin-left: 10px;" @change="select()">
					<el-option v-for="item in gzjyData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>&nbsp;&nbsp;
			</div> -->
			<!-- <div style="position: relative;display: inline-block;margin: 5px;">
				<span>期望薪资：</span>
				<el-select v-model="resumesCompensationT" style="width:150px;margin-left: 10px;" @change="select()">
					<el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>&nbsp;&nbsp;
			</div> -->
			<div style="margin:5px;display: inline-block;">
				<span>开始时间：</span>
				<el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right" type="date"
					format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
				</el-date-picker>&nbsp;&nbsp;&nbsp;
			</div>
			<div style="margin:5px;display: inline-block;">
				<span>截止时间：</span>
				<el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right" type="date"
					format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
				</el-date-picker>
			</div>
			<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="select">查询
			</el-button>
			<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleans">重置
			</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"
				:disabled="!isAuth('user:daochu')" @click="exportBtn">导出Excel
			</el-button>
			<!-- <el-button style='margin:0 0 20px 20px;' v-if="isAuth('autonym:pass')" size="mini" type="primary"
				icon="document" @click="passClick()" :disabled="checkBoxData.length <= 0">通过</el-button> -->
		</div>
		<div style="color: orange;"> * 导出数据提示：导出数据前请进行时间或者状态等筛选，否则导出单量过多易出现卡顿或系统崩溃</div>
		<el-table v-loading="tableDataLoading" :data="tableData.list">
			<el-table-column prop="resumesId" label="编号" width="80" fixed>
			</el-table-column>
			<el-table-column prop="userName" label="用户昵称" width="100" fixed>
				<template slot-scope="scope">
					<span style="color: #f56c6c;" @click="updates(scope.row)"
						v-if="!isAuth('userList:phone') && scope.row.userName1">{{ scope.row.userName1 ? scope.row.userName1 : '未绑定' }}</span>
					<span style="color: #f56c6c;"  @click="updates(scope.row)" v-else>{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
				</template>
			</el-table-column>
			<el-table-column prop="resumesName" label="姓名" width="100" fixed>
				<template slot-scope="scope">
					<span style="color: #4f9dec;cursor: pointer;"
						@click="updates(scope.row)">{{scope.row.resumesName ? scope.row.resumesName : '未绑定'}}</span>
				</template>
			</el-table-column>
			<el-table-column prop="resumesPhone" label="电话" width="120">
				<template slot-scope="scope">
					<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)"
						v-if="isAuth('userList:phone')">
						{{ scope.row.resumesPhone ? scope.row.resumesPhone : '未绑定' }}
					</span>
					<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)" v-else>
						{{ scope.row.phone1 ? scope.row.phone1 : '-' }}
					</span>
				</template>
			</el-table-column>
			<el-table-column prop="city" label="意向城市">
			</el-table-column>
			<el-table-column prop="school" label="学校">
			</el-table-column>
			<el-table-column prop="resumesEducation" label="学历">
			</el-table-column>
			<el-table-column prop="major" label="所学专业" width="180">
				<template slot-scope="scope">
					<el-popover placement="top-start" title="" trigger="hover">
						<div slot="reference"
							style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
							{{scope.row.major}}
						</div>
						<div style="width: 300px;">{{scope.row.major}}</div>

					</el-popover>
				</template>
			</el-table-column>
			<el-table-column prop="graduationTime" label="毕业时间" width="100">
			</el-table-column>
			<el-table-column prop="resumesSex" label="性别">
				<template slot-scope="scope">
					<span v-if="scope.row.resumesSex==1">男</span>
					<span v-if="scope.row.resumesSex==2">女</span>
				</template>
			</el-table-column>
			<el-table-column prop="resumesAge" label="年龄">
			</el-table-column>
			<!-- <el-table-column prop="resumesMarriage" label="婚姻状态">
			</el-table-column> -->

			<el-table-column prop="resumesWorkExperience" label="工作经验">
			</el-table-column>
			<el-table-column prop="industryName" label="期望行业">
			</el-table-column>
			<el-table-column prop="resumesPost" label="求职岗位" width="150">
				<template slot-scope="scope">
					<!-- 先判空，再替换换行符，空值时显示“-”（可自定义） -->
					<div v-html="scope.row.resumesPost ? scope.row.resumesPost.replace(/\/n/g, '<br/>') : ''"></div>
				</template>
			</el-table-column>
			<!-- <el-table-column prop="resumesImageName" label="资格证书" width="150">
			</el-table-column>
			<el-table-column prop="resumesImage" label="资格证书图片" width="150">
				<template slot-scope="scope">
					<div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
						<div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
							<el-popover placement="top-start" title="" trigger="hover">
								<img style="width: 50px; height: 50px;margin: 3px;" :src="item" alt="" slot="reference">
								<img style="width: 200px; height: 200px" :src="item" alt="">
							</el-popover>
						</div>
					</div>
				</template>
			</el-table-column> -->
			<el-table-column prop="resumesEmail" label="邮箱" width="100">
			</el-table-column>
			<!-- <el-table-column prop="address" label="简历" width="160">
			</el-table-column> -->
			<el-table-column prop="resumesCompensation" label="期望薪资" width="150">
				<template slot-scope="scope">
					<!-- 先判空，再替换换行符，空值时显示“-”（可自定义） -->
					<div v-html="scope.row.resumesCompensation ? scope.row.resumesCompensation.replace(/\/n/g, '<br/>') : ''"></div>
				</template>
			</el-table-column>
			<!-- <el-table-column prop="money" label="核定薪资" width="160">
			</el-table-column> -->
			<el-table-column prop="resumesDetails" label="个人优势" width="200">
				<template slot-scope="scope">
					<el-popover placement="top-start" title="" trigger="hover">
						<div slot="reference"
							style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
							{{scope.row.resumesDetails}}
						</div>
						<div style="width: 300px;">{{scope.row.resumesDetails}}</div>

					</el-popover>
				</template>
			</el-table-column>
			<!-- <el-table-column prop="address" label="家庭住址" width="160">
			</el-table-column> -->
			<el-table-column prop="auditContent" label="审核内容" width="160">
			</el-table-column>
			<el-table-column prop="createTime" label="创建时间" width="160">
			</el-table-column>
			<el-table-column prop="updateTime" label="更新时间" width="160">
			</el-table-column>
			<!-- <el-table-column prop="status" label="是否是人才库" width="100" fixed="right">
				<template slot-scope="scope">
					<el-switch v-model="scope.row.isRecommend" :disabled="!isAuth('carBrandList:update')"
						@change="change3(scope.row.isRecommend,scope.row)" :active-value="openValue"
						:inactive-value="closeValue" active-color="#13ce66" inactive-color="#ff4949">
					</el-switch>
				</template>
			</el-table-column> -->
			<el-table-column fixed='right' prop="resumesStatus" label="入职状态" width="150">
				<template slot-scope="scope">
					<span v-if="scope.row.resumesStatus == 0">离职-正在找工作</span>
					<span v-else-if="scope.row.resumesStatus == 1">在职-月内到岗</span>
					<span v-else-if="scope.row.resumesStatus == 2">在职-考虑机会</span>
					<span v-else>在职-暂不考虑</span>
				</template>
			</el-table-column>
			<el-table-column prop="isShow" label="是否展示" width="100" fixed="right">
				<template slot-scope="scope">
					<el-switch v-model="scope.row.isShow" :disabled="!isAuth('carBrandList:update')"
						@change="change4(scope.row.isShow,scope.row)" :active-value="openValue1"
						:inactive-value="closeValue1" active-color="#13ce66" inactive-color="#ff4949">
					</el-switch>
				</template>
			</el-table-column>
			<el-table-column fixed='right' prop="status" label="状态" width="100">
				<template slot-scope="scope">
					<span v-if="scope.row.status == 1">待审核</span>
					<span v-if="scope.row.status == 2">已通过</span>
					<span v-if="scope.row.status == 3">已拒绝</span>
					<!-- <span v-if="scope.row.status == 4">简历隐藏</span> -->
					<!-- <el-button size="mini" type="warning" @click="upstatus(scope.row)"
						style="background: #fff;border: none;color: #4f9dec;">
						修改
					</el-button> -->
				</template>
			</el-table-column>
			<el-table-column fixed='right' label="操作" width="180">
				<template slot-scope="scope">
					<el-button size="mini" type="warning"
						:disabled="scope.row.status != 1 || !isAuth('carBrandList:jujue')"
						@click="refuseClick(scope.row)" style="margin: 5px;">
						拒绝
					</el-button>
					<el-button size="mini" type="primary"
						:disabled="scope.row.status != 1 || !isAuth('carBrandList:tongguo')"
						@click="passClicks(scope.row)" style="margin: 5px;">
						通过
					</el-button>
					<!-- <el-button size="mini" type="primary" :disabled="!isAuth('carBrandList:update')" @click="updateClicks(scope.row)" style="margin: 5px;">
						修改
					</el-button> -->
					<el-button size="mini" type="primary" @click="delClicks(scope.row)" style="margin: 5px;">
						详情
					</el-button>
					<el-button size="mini" type="primary" @click="phoneClicks(scope.row)" style="margin: 5px;">
						查看电话
					</el-button>
					<el-button size="mini" type="primary" @click="shenheClicks(scope.row)" style="margin: 5px;">
						审核记录
					</el-button>
					<el-button size="mini" type="danger" @click="deleteClick(scope.row)" style="margin: 5px;">
						删除
					</el-button>
				</template>
			</el-table-column>
		</el-table>
		<div style="text-align: center;margin-top: 10px;">
			<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
				:page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
				layout="total,sizes, prev, pager, next,jumper" :total="tableData.totalCount">
			</el-pagination>
		</div>
		<!-- 审核拒绝弹框 -->
		<el-dialog title="审核拒绝" :visible.sync="dialogFormVisible" center>
			<div style="margin-bottom: 10px;">
				<span
					style="width: 200px;display: inline-block;text-align: right;position: relative;top: -70px;">拒绝理由：</span>
				<el-input style="width:50%;" v-model="content" type="textarea" :rows="4" placeholder="请输入拒绝理由">
				</el-input>
			</div>
			<div slot="footer" class="dialog-footer">
				<el-button @click="dialogFormVisible = false">取 消</el-button>
				<el-button type="primary" @click="refuseto()">确 定</el-button>
			</div>
		</el-dialog>
		<!-- 审核记录  -->
		<el-dialog title="审核记录" :visible.sync="dialogFormVisibleSh" center>
			<el-table v-loading="tableDataLoading1" :data="jiluData.list">
				<el-table-column prop="auditResumesId" label="编号" width="80">
				</el-table-column>
				<el-table-column prop="auditContent" label="审核内容">
				</el-table-column>
				<el-table-column prop="createTime" label="更新时间" width="160">
				</el-table-column>
			</el-table>
			<div style="text-align: center;margin-top: 10px;">
				<el-pagination @size-change="handleSizeChangeJl" @current-change="handleCurrentChangeJl"
					:page-sizes="[10, 20, 30, 40]" :page-size="limitJl" :current-page="pageJl"
					layout="total,sizes, prev, pager, next,jumper" :total="jiluData.totalCount">
				</el-pagination>
			</div>
		</el-dialog>
		<!-- 修改状态 -->
		<el-dialog title="修改状态" :visible.sync="dialogFormVisibleSatus" center>
			<div style="margin-bottom: 10px;">
				<span style="width: 100px;display: inline-block;text-align: right;">状态：</span>
				<el-radio-group v-model="radio" style="display: inline-block;">
					<el-radio :label="1">待审核</el-radio>
					<el-radio :label="2">简历展示</el-radio>
					<el-radio :label="3">已拒绝</el-radio>
					<el-radio :label="4">简历隐藏</el-radio>
				</el-radio-group>
			</div>
			<div slot="footer" class="dialog-footer">
				<el-button @click="dialogFormVisibleSatus = false">取 消</el-button>
				<el-button type="primary" @click="refusetoStatus()">确 定</el-button>
			</div>
		</el-dialog>
		<!-- 电话弹框  -->
		<el-dialog title="电话" :visible.sync="dialogFormVisiblePh" center>
			<div>
				<el-row>
					<el-col :span="12" class="cards">
						<div class="box">
							<div class="box_num">
								<div class="box_color">姓名</div>
								<div class="text_color">{{resumesName}}</div>
							</div>
						</div>
					</el-col>
					<el-col :span="12" class="cards">
						<div class="box">
							<div class="box_num">
								<div class="box_color">电话</div>
								<div class="text_color">{{resumesPhone}}</div>
							</div>
						</div>
					</el-col>
				</el-row>
			</div>
		</el-dialog>

		<!-- 新增简历  -->
		<!-- <el-dialog title="新增简历" :visible.sync="dialogFormVisibleAdd" center width="80%">
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">绑定用户：</span>
				<el-input style="width:50%;" v-model="userNameA" @focus="updatesUp()" placeholder="请选择绑定用户">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">姓名：</span>
				<el-input style="width:50%;" v-model="resumesNameA" placeholder="请输入姓名">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">电话：</span>
				<el-input style="width:50%;" v-model="resumesPhoneA" placeholder="请输入电话">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">学历：</span>
				<el-select v-model="resumesEducationA" style="width:50%;">
					<el-option v-for="item in xlData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">学校</span>
				<el-input style="width:50%;" v-model="schoolA" placeholder="请输入学校">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">所学专业</span>
				<el-input style="width:50%;" v-model="majorA" placeholder="请输入所学专业">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">毕业时间</span>
				<el-date-picker v-model="graduationTime" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
					placeholder="选择日期" style="width:50%;">
				</el-date-picker>
			</div>

			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">性别：</span>
				<el-radio-group v-model="resumesSexA">
					<el-radio :label="1">男</el-radio>
					<el-radio :label="2">女</el-radio>
				</el-radio-group>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">年龄：</span>
				<el-input style="width:50%;" v-model="resumesAgeA" placeholder="请输入年龄">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">婚姻状态：</span>
				<el-radio-group v-model="resumesMarriageA">
					<el-radio v-for="item in hyData" :key="item.value" :label="item.value">{{item.value}}</el-radio>
				</el-radio-group>

			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">工作经验：</span>
				<el-select v-model="resumesWorkExperienceA" style="width:50%;">
					<el-option v-for="item in gzjyData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>
			</div>
			<div style="margin-bottom: 10px;position: relative;">
				<div style="width: 200px;display: inline-block;text-align: right;position: absolute;top: 0;">求职岗位：</div>
				<div class="ruleitem" style="display: inline-block;margin-left: 200px;">
					<div>
						<span>一级岗位分类：<el-radio v-for="(item,index) in yijiData" :key="index" v-model="yijiid"
								:label="item.ruleClassifyId"
								@change="yijiBtn(yijiid)">{{item.ruleClassifyName}}</el-radio></span>
					</div>
					<div v-if="yijiid!=''">
						<span>二级级岗位分类：<el-radio v-for="(item,index) in erjiData" :key="index" v-model="erjiId"
								:label="item.ruleClassifyId" @change="erjiBtn(erjiId)">{{item.title}}</el-radio></span>
					</div>
					<div v-if="erjiId!=''">
						<span>岗位名称：<el-radio v-for="(item,index) in sanjiData" :key="index" v-model="sanjiTypr"
								:label="item.ruleClassifyName">{{item.ruleClassifyName}}</el-radio></span>
					</div>
					<el-tag v-for="(item,index) in tagList" :key="index" closable :disable-transitions="false"
						@close="handleClose(index)">
						{{item}}
					</el-tag>
					<el-input class="input-new-tag" v-model="bq" ref="saveTagInput" size="small" style="width:120px;"
						placeholder="请输入岗位名" @keyup.enter.native="handleInputConfirm()">
					</el-input>
					<el-button class="button-new-tag" size="small" @click="handleInputConfirm()">添加
					</el-button>
				</div>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">期望行业：</span>
				<div style="margin-left: 200px;">
					<span v-for="(item,index) in hangyeData" :key="index">{{item.industryName}}:
						<el-checkbox-group v-model="industry">
							<el-checkbox v-for="(item1,index1) in item.childrenList" :label="item1.industryName"
								:key="index1">
								{{item1.industryName}}
							</el-checkbox>
						</el-checkbox-group>
					</span>
				</div>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">邮箱：</span>
				<el-input style="width:50%;" v-model="resumesEmailA" placeholder="请输入邮箱">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">期望薪资：</span>
				<el-select v-model="resumesCompensationA" style="width:50%;">
					<el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>
			</div>

			 <div style="margin-bottom: 10px;">
				<span
					style="width: 200px;display: inline-block;text-align: right;">核定薪资：</span>
				<el-input style="width:50%;" v-model="money" placeholder="请输入核定薪资">
				</el-input>
			</div> 
			 <div style="margin-bottom: 10px;">
				<span
					style="width: 200px;display: inline-block;text-align: right;">意向位置(首选)：</span>
				<el-input style="width:50%;" v-model="resumesIntentionA" placeholder="请输入意向位置(首选)">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">意向城市：</span>
				<el-input style="width:50%;" v-model="cityA" placeholder="请输入意向城市">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">家庭住址：</span>
				<el-input style="width:50%;" v-model="addressA" placeholder="请输入家庭住址">
				</el-input>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">工作经历：</span>
				<div style="width:50%;margin-left: 200px;">
					<div class="bigDiv" v-for="(item,index) in resumesCompanyListA">
						<i class="el-icon-edit xiugai" @click="addUpdate(index,item)"></i>
						<i class="el-icon-delete shanchu" @click="deleteList(index)"></i>
						<div class="titleGz">{{item.resumesTitle}}</div>
						<div class="spanGz"><span>{{item.resumesPost}}</span><span class="spanTime">{{item.resumesTime}}
							</span></div>
						<div class="delGz">{{item.resumesContent}}</div>
					</div>
				</div>
				<span style="margin-left: 200px;">
					<el-button type="primary" plain @click="addUpdate()">添加工作经历</el-button>
				</span>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">项目经验:</span>
				<div style="width:50%;margin-left: 200px;">
					<div class="bigDiv" v-for="(item,index) in resumesWorkListA">
						<i class="el-icon-edit xiugai" @click="addUpdateXu(index,item)"></i>
						<i class="el-icon-delete shanchu" @click="deleteListXm(index)"></i>
						<div class="titleGz">{{item.resumesTitle}}</div>
						<div class="spanGz"><span>{{item.resumesPost}}</span><span
								class="spanTime">{{item.resumesTime.substring(0,10)}}
								~
								{{item.createTime.substring(0,10)}}
							</span></div>
						<div class="delGz">{{item.resumesContent}}</div>
					</div>
				</div>
				<span style="margin-left: 200px;">
					<el-button type="primary" plain @click="addUpdateXu()">添加项目经验</el-button>
				</span>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width: 200px;display: inline-block;text-align: right;">个人优势：</span>
				<el-input style="width:50%;" v-model="resumesDetailsA" placeholder="请输入个人优势">
				</el-input>
			</div>
			<div slot="footer" class="dialog-footer">
				<el-button @click="dialogFormVisibleAdd = false">取 消</el-button>
				<el-button type="primary" @click="refusetoAdd()">确 定</el-button>
			</div>
		</el-dialog> -->
		<!-- 工作经历 -->
		<el-dialog title="工作经历" :visible.sync="dialogFormVisibleGz" center>
			<div class="content_item">
				<span style="width: 120px;text-align: left;display:inline-block;">公司名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入公司名称" v-model="resumesTitle" autosize>
				</el-input>
			</div>
			<div class="content_item">
				<span style="width: 120px;text-align: left;display:inline-block;">职位名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
				</el-input>
			</div>
			<!-- <div class="content_item">
				<span>项目名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesProject" autosize>
				</el-input>
			</div> -->

			<div class="content_item">
				<span style="width: 120px;text-align: left;display:inline-block;">在职时间:</span>
				<!-- <el-date-picker
				      v-model="resumesTimes"
				      type="daterange"
				      range-separator="至"
				      start-placeholder="开始日期"
				      end-placeholder="结束日期"
					  format="yyyy-MM-dd" value-format="yyyy-MM-dd">
				    </el-date-picker> -->
				<el-date-picker v-model="resumesTime1" type="date" placeholder="开始日期" format="yyyy-MM-dd"
					value-format="yyyy-MM-dd">
				</el-date-picker> ~
				<el-date-picker v-model="resumesTime2" type="date" placeholder="结束日期" format="yyyy-MM-dd"
					value-format="yyyy-MM-dd">
				</el-date-picker>
			</div>
			<div class="content_item">
				<span style="width: 120px;text-align: left;display:inline-block;">工作内容:</span>
				<el-input style="width:50%;" type="textarea" :rows="4" class="margin15" placeholder="请输入工作内容"
					v-model="resumesContent"></el-input>
			</div>

			<div slot="footer" class="dialog-footer">
				<el-button @click="dialogFormVisibleGz = false">取 消</el-button>
				<el-button type="primary" @click="cashNoticeTo()">确定</el-button>
			</div>
		</el-dialog>
		<!-- 项目经验 -->
		<el-dialog title="项目经验" :visible.sync="dialogFormVisibleXm" center>
			<div class="content_div">
				<span style="width: 120px;text-align: left;display:inline-block;">项目名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesTitle" autosize>
				</el-input>
			</div>
			<div class="content_div">
				<span style="width: 120px;text-align: left;display:inline-block;">职位名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
				</el-input>
			</div>
			<div class="content_div">
				<span style="width: 120px;text-align: left;display:inline-block;">项目时间:</span>
				<!-- <el-date-picker v-model="resumesTime" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
					placeholder="选择日期">
				</el-date-picker> -->
				<!-- ~ <el-date-picker v-model="resumesTitle" type="date" placeholder="选择日期">
				</el-date-picker> -->
				<el-date-picker v-model="resumesTime1" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
					placeholder="开始日期">
				</el-date-picker>
				~ <el-date-picker v-model="resumesTime2" type="date" placeholder="结束日期" format="yyyy-MM-dd"
					value-format="yyyy-MM-dd">
				</el-date-picker>
			</div>
			<div class="content_div">
				<span style="width: 120px;text-align: left;display:inline-block;">工作内容:</span>
				<el-input style="width:50%;" type="textarea" :rows="4" class="margin15" placeholder="请输入工作内容"
					v-model="resumesContent"></el-input>
			</div>

			<div slot="footer" class="dialog-footer">
				<el-button @click="dialogFormVisibleXm = false">取 消</el-button>
				<el-button type="primary" @click="cashNoticeToXm()">确定</el-button>
			</div>
		</el-dialog>
		<!-- 用户列表 -->
		<el-dialog title="用户列表" :visible.sync="dialogFormVisibleUser" center width="80%">
			<div style="margin:2% 0;display: inline-block;">
				<el-input style="width: 150px;" @keydown.enter.native="selectU" clearable placeholder="请输入手机号"
					v-model="phone"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;
				<el-input style="width: 150px;" @keydown.enter.native="selectU" clearable placeholder="微信名称筛选"
					v-model="nickName"></el-input>
			</div>
			<div style="display: inline-block;">
				<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="selectU">查询
				</el-button>
				<el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleansU">重置
				</el-button>
			</div>
			<el-table v-loading="tableDataLoadingUser" :data="tableDataUser.list">
				<el-table-column fixed prop="userId" label="编号" width="80">
				</el-table-column>
				<el-table-column fixed prop="userName" label="昵称">
					<template slot-scope="scope">
						<span style="color: #f56c6c;">{{scope.row.userName ? scope.row.userName : '未设置'}}</span>
					</template>
				</el-table-column>
				<el-table-column prop="phone" label="手机号">
					<template slot-scope="scope">
						<span style="color: #4f9dec;cursor: pointer;"
							@click="updates(scope.row)">{{scope.row.phone ? scope.row.phone : '未绑定'}}</span>
					</template>
				</el-table-column>

				<el-table-column label="图像">
					<template slot-scope="scope">
						<img v-if="scope.row.avatar==null" src="~@/assets/img/avatar.png" alt="" width="40" height="40">
						<img v-else :src="scope.row.avatar" alt="" width="40" height="40">
					</template>
				</el-table-column>
				<el-table-column prop="createTime" label="创建时间">
				</el-table-column>
				<el-table-column label="操作" fixed='right' width="120">
					<template slot-scope="scope">
						<el-button size="mini" type="primary" @click="updatesBtn(scope.row)">确定
						</el-button>
					</template>
				</el-table-column>
			</el-table>
			<div style="text-align: center;margin-top: 10px;">
				<el-pagination @size-change="handleSizeChangeU" @current-change="handleCurrentChangeU"
					:page-sizes="[5, 10, 15, 20]" :page-size="size1" :current-page="page1"
					layout="total,sizes, prev, pager, next" :total="tableDataUser.totalCount">
				</el-pagination>
			</div>
		</el-dialog>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				openValue: 2,
				closeValue: 1,
				openValue1: 1,
				closeValue1: 0,
				limit: 10,
				page: 1,
				content: '',
				status: '',
				statesnum: [{
						value: '',
						label: '全部'
					},
					{
						value: 1,
						label: '待审核'
					}, {
						value: 2,
						label: '已通过'
					}, {
						value: 3,
						label: '已拒绝'
					},
					//      {
					// 	value: 4,
					// 	label: '简历隐藏'
					// }
				],
				isShowT: '',
				classify: '',
				classlyList: [{
					value: '',
					label: '全部'
				}, {
					value: 0,
					label: '否'
				}, {
					value: 1,
					label: '是'
				}],
				userNameT: '',
				resumesPhoneT: '',
				rulePostNameT: '',
				resumesPostT: '',
				resumesEducationT: '',
				resumesWorkExperienceT: '',
				resumesCompensationT: '',
				resumesAgeT: '',
				resumesMarriageT: '',
				school: '',
				activeName: 'first',
				tableDataLoading: false,
				tableDataLoading1: false,
				dialogFormVisible: false,
				dialogFormVisibleSh: false,

				tableData: {},
				checkBoxData: [], //多选框选择的值
				shopId: '',
				zyData: [],
				zwData: [],
				gzjyData: [],
				xlData: [],
				hyData: [],
				qwxzData: [],
				resumesId: '',
				pageJl: 1,
				limitJl: 10,
				jiluData: {},
				zzzsData: [],
				qtzyData: [],
				dialogFormVisibleSatus: false,
				radio: '',
				dialogFormVisiblePh: false,
				resumesName: '',
				resumesPhone: '',
				isshow: true,
				ruleClassifyId: '',
				ruleMajorA: [],
				// 添加简历字段
				dialogFormVisibleAdd: false,
				logoA: '',
				resumesNameA: '',
				resumesPhoneA: '',
				resumesMajorA: '',
				resumesEducationA: '',
				resumesAgeA: '',
				resumesSexA: 1,
				resumesMarriageA: '',
				resumesWorkExperienceA: '',
				resumesPostA: '',
				resumesEmailA: '',
				resumesCompensationA: '',
				rulePostNameA: '',
				resumesWorkListA: [],
				resumesCompanyListA: [],
				resumesDetailsA: '',
				resumesImageNameA: [],
				imgA: '',
				imgsA: [],
				resumesIntentionA: '',
				cityA: '',
				addressA: '',
				schoolA: '',
				majorA: '',
				graduationTime: '',
				userNameA: '',
				userIdA: '',
				ruleMajor: [],
				dialogFormVisibleGz: false,
				isshow1: true,
				ruleClassifyIdA: '',
				resumesPost: '',
				money: '',
				// 工作经历字段
				indexList: '',
				createTime: '',
				resumesClassify: '',
				resumesContent: '',
				resumesDetailsId: '',
				resumesId: '',
				resumesPostS: '',
				resumesTime: '',
				resumesTitle: '',
				resumesProject: '',
				resumesTimes: [],
				resumesTime1: '',
				resumesTime2: '',
				// 用户列表
				dialogFormVisibleUser: false,
				tableDataLoadingUser: false,
				phone: '',
				nickName: '',
				platform: 'all',
				isRelation: -1,
				size1: 10,
				page1: 1,
				tableDataUser: {},

				hangyeData: [],
				industry: [],
				tagList: [],
				bq: '',
				dialogFormVisibleXm: false,
				resumesWorkList: [],
				yijiid: '',
				erjiId: '',
				yijiData: [],
				erjiData: [],
				sanjiData: [],
				erjiTypr: true,
				sanjiTypr: '',

				info: {
					stockDate: this.getNowTime(), //日期
				},
				info2: {
					stockDate2: this.getNowTime2(), //日期
				},
				startTime: '',
				endTime: '',
			}
		},
		methods: {
			//处理默认选中当前日期
			getNowTime() {
				var now = new Date()
				var year = now.getFullYear() //得到年份
				var month = now.getMonth() //得到月份
				var date = now.getDate() //得到日期
				month = month + 1
				month = month.toString().padStart(2, '0')
				date = date.toString().padStart(2, '0')
				var defaultDate = `${year}-${month}-${date}`
				return defaultDate
				this.$set(this.info, 'stockDate', defaultDate)
			},
			//处理默认选中当前日期
			getNowTime2() {
				var now = new Date()
				var year = now.getFullYear() //得到年份
				var month = now.getMonth() - now.getMonth() //得到月份
				var date = now.getDate() - now.getDate() + 1 //得到日期
				month = month + 1
				month = month.toString().padStart(2, '0')
				date = date.toString().padStart(2, '0')
				var defaultDate = `${year}-${month}-${date}`
				return defaultDate
				this.$set(this.info, 'stockDate', defaultDate)
			},
			// 多选
			changeFun(val) {
				this.checkBoxData = val;
			},
			// 详情跳转
			updates(row) {
				this.$router.push({
					path: '/userDetail',
					query: {
						userId: row.userId
					}
				})
			},
			handleSizeChange(val) {
				this.limit = val;
				this.dataSelect()
			},
			handleCurrentChange(val) {
				this.page = val;
				this.dataSelect()
			},
			handleSizeChangeJl(val) {
				this.limitJl = val;
				this.jlshSelect()
			},
			handleCurrentChangeJl(val) {
				this.pageJl = val;
				this.jlshSelect()
			},
			handleSizeChangeU(val) {
				this.size1 = val
				this.dataSelectUser()
			},
			handleCurrentChangeU(val) {
				this.page1 = val
				this.dataSelectUser()
			},
			//审核通过
			passClick(id) {
				this.status = 1
				this.content = '同意'
				var ids = id ? [id] : this.checkBoxData.map(item => {
					return item.id
				})
				this.$http({
					url: this.$http.adornUrl(
						`student/auditStudentAuthentication/${ids}/${this.status}/${this.content}`),
					method: 'post',
					data: this.$http.adornData({})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.$message({
							message: '操作成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.content = ''
								this.status = ''
								this.dataSelect()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'error',
							duration: 1500,
							onClose: () => {
								this.content = ''
								this.status = ''
								this.dataSelect()
							}
						})
					}
				})
			},
			//单条审核通过
			passClicks(row) {
				this.status = 1
				this.content = '同意'
				this.$http({
					url: this.$http.adornUrl('resumes/auditResumes'),
					method: 'post',
					params: this.$http.adornParams({
						'status': this.status,
						'ids': row.resumesId,
						'content': '通过'
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.$message({
							message: '操作成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.content = ''
								this.status = ''
								this.dataSelect()
								this.dataSelectDsh()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'error',
							duration: 1500,
							onClose: () => {
								this.content = ''
								this.status = ''
								this.dataSelect()
							}
						})
					}

				})
			},
			//审核拒绝
			refuseClick(rows) {
				console.log('rows', rows)
				this.status = 2
				this.shopId = rows.resumesId
				this.helpTakeId = rows.userId
				this.content = ''
				this.dialogFormVisible = true
			},
			refuseto() {
				if (this.content == '') {
					this.$notify({
						title: '提示',
						duration: 1800,
						message: '请输入拒绝理由',
						type: 'warning'
					});
					return
				}
				this.$http({
					url: this.$http.adornUrl('resumes/auditResumes'),
					method: 'post',
					params: this.$http.adornParams({
						'status': this.status,
						'ids': this.shopId,
						'content': this.content
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.dialogFormVisible = false
						this.$message({
							message: '操作成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.content = ''
								this.status = ''
								this.dataSelect()
								this.dataSelectDsh()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'error',
							duration: 1500,
							onClose: () => {}
						})
					}

				})
			},
			// 修改弹框
			upstatus(row) {
				this.radio = ''
				this.shopId = row.resumesId
				this.dialogFormVisibleSatus = true
			},
			refusetoStatus() {
				if (this.radio == '') {
					this.$notify({
						title: '提示',
						duration: 1800,
						message: '请选择状态',
						type: 'warning'
					});
					return
				}
				this.$http({
					url: this.$http.adornUrl('resumes/updateResumesStatus'),
					method: 'post',
					data: this.$http.adornData({
						'status': this.radio,
						'resumesId': this.shopId
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.$message({
							message: '操作成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.dialogFormVisibleSatus = false
								this.content = ''
								this.status = ''
								this.dataSelect()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'error',
							duration: 1500,
							onClose: () => {}
						})
					}

				})
			},
			// 查询
			select() {
				this.page = 1
				this.limit = 10
				this.dataSelect()
			},
			// 岗位筛选
			selectG(e) {
				console.log('````', e)
				this.page = 1

				this.resumesPostT = e.ruleClassifyName
				this.ruleClassifyId = e.ruleClassifyId

				if (this.ruleClassifyId != '') {
					this.isshow = false
					this.zySelect()
				}
				this.dataSelect()
			},
			// 重置
			cleans() {
				this.status = ''
				this.userNameT = ''
				this.resumesPhoneT = ''
				this.rulePostNameT = ''
				this.resumesPostT = ''
				this.resumesWorkExperienceT = ''
				this.resumesEducationT = ''
				this.resumesAgeT = ''
				this.resumesMarriageT = ''
				this.resumesCompensationT = ''
				this.school = ''
				this.classify = ''
				this.isshow = true
				this.ruleClassifyId = ''
				this.startTime = ''
				this.endTime = ''
				this.isShowT = ''
				this.dataSelect()
			},
			// 获取派单数据列表
			dataSelect() {
				if (this.startTime != "" && this.startTime !== null) {
					if (this.endTime == '' || this.endTime == null) {
						this.$notify({
							title: '提示',
							duration: 1800,
							message: '请选择截止时间',
							type: 'warning'
						});
						return
					}
				}
				if (this.endTime != "" && this.endTime !== null) {
					if (this.startTime == '' || this.startTime == null) {
						this.$notify({
							title: '提示',
							duration: 1800,
							message: '请选择开始时间',
							type: 'warning'
						});
						return
					}
				}
				this.tableDataLoading = true
				this.$http({
					url: this.$http.adornUrl('resumes/selectResumesList'),
					method: 'get',
					params: this.$http.adornParams({
						'page': this.page,
						'limit': this.limit,
						'isShow': this.isShowT,
						'status': this.status,
						'resumesName': this.userNameT,
						'resumesPhone': this.resumesPhoneT,
						'school': this.school,
						'resumesEducation': this.resumesEducationT,
						'resumesPost': this.resumesPostT,
						'industryName': this.rulePostNameT,
						'resumesAge': this.resumesAgeT,

						'resumesWorkExperience': this.resumesWorkExperienceT,	//工作经验
						'startTime': this.startTime,
						'endTime': this.endTime,
						// 'resumesCompensation': this.resumesCompensationT,	//薪资范围
						// 'resumesMarriage': this.resumesMarriageT,	//是否结婚
						// 'isRecommend': this.classify,	//是否人才库
					})
				}).then(({
					data
				}) => {
					if (data.data && data.data.list.length > 0) {
						for (var i in data.data.list) {
							var pattern =
								/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
							var phone1 = data.data.list[i].resumesPhone
							var userName1 = data.data.list[i].userName
							if (pattern.test(phone1)) {
								var one = phone1.slice(0, 3)
								var two = phone1.slice(7, 11)
								data.data.list[i].phone1 = one + '****' + two
							}
							if (pattern.test(userName1)) {
								var one = userName1.slice(0, 3)
								var two = userName1.slice(7, 11)
								data.data.list[i].userName1 = one + '****' + two
							}


						}
					}
					this.tableDataLoading = false

					// for (var i in data.data.list) {
					// 	if (data.data.list[i].addressImg) {
					// 		data.data.list[i].addressImg = data.data.list[i].addressImg.split(',')
					// 	}
					// }
					this.tableData = data.data
				})
				// let returnData = data.data;
			},
			// 修改
			updateClicks(row) {

			},
			// 查看详情
			delClicks(row) {
				this.$router.push({
					path: '/resumeDetails',
					query: {
						resumesId: row.resumesId,
						userId: row.userId,
						from: 'jl'
					}
				})
			},
			// 查看电话
			phoneClicks(row) {
				this.resumesPhone = row.resumesPhone
				this.resumesName = row.resumesName
				this.dialogFormVisiblePh = true
			},
			// 审核记录弹框
			shenheClicks(row) {
				this.resumesId = row.resumesId
				this.jlshSelect()
				this.dialogFormVisibleSh = true
			},
			change3(isRecommend, row) {
				this.$http({
					url: this.$http.adornUrl('resumes/updateResumesIsRecommend'),
					method: 'post',
					params: this.$http.adornParams({
						'resumesId': row.resumesId
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.$message({
							message: '修改成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.dataSelect()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'warning',
							duration: 1500,
							onClose: () => {}
						})
					}

				})
			},
			// 专业
			zySelect() {
				// this.$http({
				// 	url: this.$http.adornUrl('sys/dict/selectDictList'),
				// 	method: 'get',
				// 	params: this.$http.adornParams({
				// 		'type': '专业'
				// 	})
				// }).then(({
				// 	data
				// }) => {
				// 	let returnData = data.data
				// 	this.zyData = returnData
				// })
				this.$http({
					url: this.$http.adornUrl('rule/selectRulePostList'),
					method: 'post',
					params: this.$http.adornParams({
						'page': this.page,
						'limit': 50,
						'rulePostName': this.rulePostNameT,
						'ruleClassifyId': this.ruleClassifyId
					})
				}).then(({
					data
				}) => {
					this.tableDataLoading4 = false
					let returnData = data.data.list
					this.zyData = returnData
				})
			},
			// 职位
			zwSelect() {
				this.$http({
					url: this.$http.adornUrl('rule/selectRuleClassifyList'),
					method: 'get',
					params: this.$http.adornParams({
						'ruleClassifyName': '',
						'status': '',
						'page': 1,
						'limit': 1000
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.zwData = returnData.list
				})
			},
			// 工作经验
			gzjySelect() {
				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '工作经验'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.gzjyData = returnData
				})
			},
			// 学历
			xlSelect() {
				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '学历'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.xlData = returnData
				})
			},
			// 婚姻状态
			hySelect() {
				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '婚姻状况'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.hyData = returnData
				})
			},
			// 期望薪资
			qwxzSelect() {
				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '薪资'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.qwxzData = returnData
				})
			},
			//  简历审核记录
			jlshSelect() {
				this.tableDataLoading1 = true
				this.$http({
					url: this.$http.adornUrl('resumes/selectAuditResumesList'),
					method: 'get',
					params: this.$http.adornParams({
						'page': this.pageJl,
						'limit': this.limitJl,
						'resumesId': this.resumesId
					})
				}).then(({
					data
				}) => {
					this.tableDataLoading1 = false
					let returnData = data.data
					this.jiluData = returnData
				})
			},
			// 资质证书名称
			zsmcSelect() {

				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '证书名称'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					this.zzzsData = returnData
				})
			},
			// 其他专业
			qtzySelect() {

				this.$http({
					url: this.$http.adornUrl('sys/dict/selectDictList'),
					method: 'get',
					params: this.$http.adornParams({
						'type': '其他专业'
					})
				}).then(({
					data
				}) => {
					let returnData = data.data
					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)
			// },
			//上传成功
			handleUploadSuccess(file, fileList) {
				this.imgA = file.data
				this.imgsA.push(this.imgA)
				this.$nextTick(() => {
					this.$refs.upload.clearFiles();
				})
			},
			handleChange(file, fileList) {
				// this.hideUpload = fileList.length >= this.limit;
			},
			handleRemove(file, fileList) {
				// this.hideUpload = fileList.length >= this.limit;
			},
			// 删除
			clear(index) {
				this.imgsA.splice(index, 1);
			},
			// 获取分类id
			onChang(e) {
				console.log(e)
				this.ruleMajor = e
			},
			// 用户列表信息
			updatesUp() {
				this.dataSelectUser()
				this.dialogFormVisibleUser = true
			},
			selectU() {
				this.page1 = 1
				this.dataSelectUser()
			},
			cleansU() {
				this.page1 = 1
				this.phone = ''
				this.nickName = ''
				this.dataSelectUser()
			},
			// 获取数据列表
			dataSelectUser() {
				this.tableDataLoadingUser = true
				this.$http({
					url: this.$http.adornUrl('user/selectUserList'),
					method: 'get',
					params: this.$http.adornParams({
						'page': this.page1,
						'limit': this.size1,
						'member': '',
						'phone': this.phone,
						'userName': this.nickName,
						'isAuthentication': 1,
						'userResumesStatus': '',
						'weekMember': '',
						'resumes': ''
					})
				}).then(({
					data
				}) => {
					this.tableDataLoadingUser = false
					let returnData = data.data
					this.tableDataUser = returnData
				})
			},
			// 确定选择用户
			updatesBtn(row) {
				this.userNameA = row.userName
				this.userIdA = row.userId
				this.dialogFormVisibleUser = false

			},
			// 岗位筛选
			selectGa(e) {
				this.resumesPostA = e.ruleClassifyName
				this.resumesPost = e.ruleClassifyName
				this.ruleClassifyId = e.ruleClassifyId
				if (this.ruleClassifyId != '') {
					this.isshow1 = false
					this.zySelect()
				}
			},
			// 删除
			deleteClick(row) {
				this.$confirm(`确定删除此条信息?`, '提示', {
					confirmButtonText: '确定',
					cancelButtonText: '取消',
					type: 'warning'
				}).then(() => {
					this.$http({
						url: this.$http.adornUrl('resumes/deleteResumes'),
						method: 'post',
						params: this.$http.adornParams({
							'resumesId': row.resumesId
						})
					}).then(({
						data
					}) => {
						if (data.code == 0) {
							this.$message({
								message: '删除成功',
								type: 'success',
								duration: 1500,
								onClose: () => {
									this.dataSelect()
								}
							})
						} else {
							this.$notify({
								title: '提示',
								duration: 1800,
								message: data.msg,
								type: 'warning'
							});
						}

					})
				}).catch(() => {})
			},
			dataSelectDsh() {
				this.$http({
					url: this.$http.adornUrl('resumes/selectResumesList'),
					method: 'get',
					params: this.$http.adornParams({
						'page': 1,
						'limit': 10,
						'status': 1,
						'resumesName': '',
						'resumesPhone': '',
						'rulePostName': '',
						'resumesPost': '',
						'resumesWorkExperience': '',
						'resumesCompensation': '',
						// 'resumesMarriage': '',
						'school': '',
						'resumesAge': '',
						'isRecommend': ''
					})
				}).then(({
					data
				}) => {
					console.log('获取简历未读数据````')
					if (data.data) {
						this.$cookie.set('numberJl', data.data.totalCount)
					}

				})
			},
			// 获取一级行业数据
			hangyeSelect() {
				this.$http({
					url: this.$http.adornUrl('admin/industry/getIndustryList'),
					method: 'get',
					params: this.$http.adornParams({
						'isEnable': 1
						// 'page': this.page,
						// 'limit': this.limit,
						// 'industryName':'',

					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.tableDataLoading = false
						let returnData = data.data
						this.hangyeData = returnData
						console.log('this.hangyeData', this.hangyeData)
						// this.erjiTypr = false
						if (this.title == '修改') {
							this.hangyeSelectEr()
						}
					} else {
						this.$notify({
							title: '提示',
							duration: 1800,
							message: data.msg,
							type: 'warning'
						});
					}

				})
			},
			// 添加求职岗位
			handleInputConfirm() {
				this.tagList.push(this.bq)
				this.bq = ''
			},
			// 删除求职岗位
			handleClose(index) {
				this.tagList.splice(index, 1);

			},
			cashNoticeToXm() {
				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.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.resumesTime = this.resumesTime
				dataList.resumesTitle = this.resumesTitle
				if (this.indexList == '') {
					this.resumesWorkListA.push(dataList)
				} else {
					this.resumesWorkListA[this.indexList].createTime = this.createTime
					this.resumesWorkListA[this.indexList].resumesClassify = this.resumesClassify
					this.resumesWorkListA[this.indexList].resumesContent = this.resumesContent
					this.resumesWorkListA[this.indexList].resumesDetailsId = this.resumesDetailsId
					this.resumesWorkListA[this.indexList].resumesId = this.resumesId
					this.resumesWorkListA[this.indexList].resumesPost = this.resumesPostS
					this.resumesWorkListA[this.indexList].resumesTime = this.resumesTime
					this.resumesWorkListA[this.indexList].resumesTitle = this.resumesTitle
				}
				// this.resumesWorkListA.push(dataList)
				this.dialogFormVisibleXm = false
			},

			deleteListXm(index) {
				this.resumesWorkList.splice(index, 1)
			},
			// 获取一级岗位数据
			classSelect() {
				this.$http({
					url: this.$http.adornUrl('admin/rule/adminGetClassifyList'),
					method: 'get',
					params: this.$http.adornParams({

						// 'page': this.page,
						// 'limit': this.limit,
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.tableDataLoading = false
						let returnData = data.data
						this.yijiData = returnData.records
						// this.erjiTypr = false
						if (this.title == '修改') {
							this.classSelectEr()
						}
					} else {
						this.$notify({
							title: '提示',
							duration: 1800,
							message: data.msg,
							type: 'warning'
						});
					}

				})
			},
			// 获取二级岗位数据
			classSelectEr() {
				this.$http({
					url: this.$http.adornUrl('admin/rule/adminGetParentId'),
					method: 'get',
					params: this.$http.adornParams({
						'parentId': this.yijiid,
						'industryName': '',
						// 'page': this.page,
						// 'limit': this.limit,
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.tableDataLoading = false
						let returnData = data.data
						this.erjiData = returnData.records
					} else {
						this.$notify({
							title: '提示',
							duration: 1800,
							message: data.msg,
							type: 'warning'
						});
					}

				})
			},
			// 选择一级岗位分类
			yijiBtn(yijiid) {
				this.erjiId = ''
				this.sanjiTypr = ''
				this.classSelectEr()
			},
			// 选择二级岗位分类
			erjiBtn(erjiId) {
				this.sanjiTypr = ''
				for (var i in this.erjiData) {
					if (this.erjiId == this.erjiData[i].ruleClassifyId) {
						if (this.erjiData[i].childrens) {
							this.sanjiData = this.erjiData[i].childrens
						} else {
							this.sanjiData = []
						}

					}
				}
			},
			// 导出
			exportBtn() {
				var endTime = this.endTime
				if (this.endTime != '') {
					endTime = this.endTime + " 23:59:59"
				}
				this.$http({
					url: this.$http.adornUrl('resumes/exportExcelResumesList'),
					method: 'get',
					responseType: 'blob',
					params: this.$http.adornParams({
						// 'page': page,
						// 'size': this.size,
						'status': this.status,
						'resumesName': this.userNameT,
						'resumesPhone': this.resumesPhoneT,
						'industryName': this.rulePostNameT,
						'resumesPost': this.resumesPostT,
						'resumesWorkExperience': this.resumesWorkExperienceT,
						'resumesCompensation': this.resumesCompensationT,
						'resumesMarriage': this.resumesMarriageT,
						'school': this.school,
						'resumesAge': this.resumesAgeT,
						'isRecommend': this.classify,
						'startTime': this.startTime,
						'endTime': this.endTime,
						'isShow': this.isShowT,
					})
				}).then(({
					data
				}) => {
					let blob = new Blob([data], {
						type: 'application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
					})
					if (window.navigator.msSaveOrOpenBlob) {
						navigator.msSaveBlob(blob)
					} else {
						let url = window.URL.createObjectURL(blob)
						let elink = document.createElement('a')
						elink.download = '简历列表.xlsx'
						elink.style.display = 'none'
						elink.href = url
						document.body.appendChild(elink)
						elink.click()
						document.body.removeChild(elink)
					}
				})
			},
			// 是否展示
			change4(isShow, row) {
				this.$http({
					url: this.$http.adornUrl('resumes/updateShow'),
					method: 'get',
					params: this.$http.adornParams({
						'resumesId': row.resumesId,
						// 'isShow':isShow,
					})
				}).then(({
					data
				}) => {
					if (data.code == 0) {
						this.$message({
							message: '修改成功',
							type: 'success',
							duration: 1500,
							onClose: () => {
								this.dataSelect()
							}
						})
					} else {
						this.$message({
							message: data.msg,
							type: 'warning',
							duration: 1500,
							onClose: () => {}
						})
					}

				})
			},

		},
		mounted() {
			var statusN = this.$route.query.status
			var isRecommendN = this.$route.query.isRecommend
			if (statusN) {
				this.status = Number(statusN)
			} else {
				this.status = ''
			}
			if (isRecommendN) {
				this.classify = 1
			} else {
				this.classify = ''
			}
			this.dataSelect()
			// this.zySelect()
			this.gzjySelect()
			this.xlSelect()
			this.hySelect()
			this.qwxzSelect()
			// this.zwSelect()
			this.zsmcSelect()
			this.qtzySelect()

		}
	};
</script>

<style>
	.box {
		padding: 44px;
		border: 1px solid #eee;
		margin: 15px 10px;
	}

	.box_num {
		font-size: 14px;
		color: #66b1ff;
	}

	.box_num .box_color {
		color: #333;
		font-size: 14px;
		margin-bottom: 15px;
	}

	.box_num div span {
		font-size: 20px;
		margin-left: 5px;
	}

	.text_color {
		color: #4f9dec;
	}

	.text_color span {
		margin-right: 5px;
	}

	/* ```````````````` */
	.content_item {
		margin-bottom: 20px;
	}

	/* .content_item span {
		display: inline-block;
		width: 120px;
		text-align: left;
	} */

	.bigDiv {
		box-shadow: 0px 0px 10px #efefef;
		margin: 10px 0;
		padding: 10px;
		position: relative;
	}

	.xiugai {
		position: absolute;
		right: 40px;
		top: 10px;
	}

	.shanchu {
		position: absolute;
		right: 10px;
		top: 10px;
	}

	.titleGz {
		font-size: 15px;
		font-weight: 600;
		margin: 10px 0;
	}

	.spanGz {
		color: #999;
	}

	.spanGz span {
		margin-right: 20px;
		padding: 5px 0;
	}

	.spanTime {
		display: inline-block;
		width: 50% !important;
	}

	.delGz {
		color: #666;
		margin: 5px 0;
	}
</style>