<template>
	<div style="width: 100%;">
		
		<div class="shop_item">
			<!-- v-if="isAuth('storemessage:update')" -->
			<div class="shop_title" style="display: flex;margin: 20px 0;font-size: 20px;">
				<a href="#" @click="prev" style="text-decoration:none;font-size: 14px;">
					<icon-svg name="jiantou" style="width: 1.2em;height: 1.2em;position: relative;top: 0.3em;"></icon-svg>
					返回
				</a>
				<span style="display: inline-block;margin: 0 15px;color: #D9D9D9;">|</span>
				<span style="flex:1;">简历信息</span>
				<!-- <el-button v-if="isbtn" style="margin-bottom: 20px;margin-left: 20px;" size="mini" type="primary" @click="updates">修改
				</el-button>
				<div v-if="!isbtn">
					<el-button style="margin-bottom: 20px;margin-left: 20px;" size="mini" type="info" @click="cancel">取消
					</el-button>
					<el-button style="margin-bottom: 20px;" size="mini" type="primary" @click="saveClick">保存
					</el-button>
				</div> -->
				
				<el-button size="mini" type="primary" v-if="tableData.status==1" @click="passClicks(tableData)" style="margin-bottom: 20px;margin-left: 20px;">
					通过
				</el-button>
				<el-button size="mini" type="warning"
					@click="refuseClick(tableData)" style="margin-bottom: 20px;margin-left: 20px;" v-if="tableData.status==1">
					拒绝
				</el-button>
			</div>
			<!-- <div class="shop_content" style="max-width: 800px;margin: auto;">
				<div class="content_item">
					<div style="display: flex;align-items: center;margin: 2% 0;">
						<span style="display: inline-block;text-align: left;width: 120px;">店铺logo：</span>
						<div
							style="width:148px;height:148px;background-color: #fbfdff; border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;">
							<el-upload class="avatar-uploader" v-model="logo"
								:action="$http.adornUrl('alioss/upload')"
								:show-file-list="false" :on-success="handleAvatarSuccess">
								<img v-if="logo" :src="logo" class="avatar"
									style="width: 148px;height: 148px;border-radius:6px;" />
								<i v-else class="el-icon-plus avatar-uploader-icon"
									style="font-size: 28px;color: #8c939d"></i>
							</el-upload>
						</div>
					</div>
				</div> -->
			<div class="content_div">
				<span class="content_item">入职状态:</span>
				<el-radio-group v-model="resumesStatus" disabled v-if="isshow" >
					<el-radio :label="0">离职-正在找工作</el-radio>
					<el-radio :label="1">在职-月内到岗</el-radio>
					<el-radio :label="2">在职-考虑机会</el-radio>
					<el-radio :label="3">在职-暂不考虑</el-radio>
				</el-radio-group>
				<el-radio-group v-model="resumesStatus" v-if="!isshow">
					<el-radio :label="0">离职-正在找工作</el-radio>
					<el-radio :label="1">在职-月内到岗</el-radio>
					<el-radio :label="2">在职-考虑机会</el-radio>
					<el-radio :label="3">在职-暂不考虑</el-radio>
				</el-radio-group>
			</div>
			<div class="content_div">
				<span class="content_item">姓名:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入姓名"
					v-model="resumesName" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入姓名" v-model="resumesName"
					autosize></el-input>
			</div>
			<div class="content_div">
				<span class="content_item">电话:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入电话"
					v-model="resumesPhone" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入电话" v-model="resumesPhone"
					autosize></el-input>
			</div>
			<div class="content_div">
				<span class="content_item">学历:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入学历"
					v-model="resumesEducation" autosize></el-input>
				<!-- <el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入学历"
					v-model="resumesEducation" autosize></el-input> -->
				<el-select v-model="resumesEducation" style="width:50%;" v-if="!isshow" class="margin15">
					<el-option v-for="item in xlData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>
			</div>
			<div class="content_div">
				<span class="content_item">学校:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入学校"
					v-model="school" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入学校"
					v-model="school" autosize></el-input>
			</div>
			<div class="content_div">
				<span class="content_item">所学专业:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入所学专业"
					v-model="major" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入所学专业"
					v-model="major" autosize></el-input>
			</div>
			<div class="content_div">
				<span class="content_item">毕业时间:</span>
				<el-date-picker v-model="graduationTime" v-if="isshow" disabled type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择日期" style="width:50%;">
				</el-date-picker>
				<el-date-picker v-model="graduationTime" v-if="!isshow" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择日期" style="width:50%;">
				</el-date-picker>
			</div>
			<div class="content_div">
				<span  class="content_item">性别:</span>
				<el-radio-group v-model="resumesSex" v-if="isshow" disabled>
					<el-radio :label="1">男</el-radio>
					<el-radio :label="2">女</el-radio>
				</el-radio-group>
				<el-radio-group v-model="resumesSex" v-if="!isshow">
					<el-radio :label="1">男</el-radio>
					<el-radio :label="2">女</el-radio>
				</el-radio-group>
			</div>
			<div class="content_div">
				<span class="content_item">年龄:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入年龄"
					v-model="resumesAge" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入年龄" v-model="resumesAge"
					autosize></el-input>
			</div>
			<!-- <div class="content_div">
				<span class="content_item">婚姻状态:</span>
				<el-radio-group v-model="resumesMarriage" v-if="isshow" disabled>
					<el-radio v-for="item in hyData" :key="item.value" :label="item.value">{{item.value}}</el-radio>
				</el-radio-group>
				<el-radio-group v-model="resumesMarriage" v-if="!isshow">
					<el-radio v-for="item in hyData" :key="item.value" :label="item.value">{{item.value}}</el-radio>
				</el-radio-group>
			</div> -->
			<div class="content_div">
				<span class="content_item">工作经验:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入工作经验"
					v-model="resumesWorkExperience" autosize></el-input>
				<!-- <el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入工作经验"
					v-model="resumesWorkExperience" autosize></el-input> -->
				<el-select v-model="resumesWorkExperience" style="width:50%;" v-if="!isshow" class="margin15">
					<el-option v-for="item in gzjyData" :key="item.value" :label="item.value" :value="item.value">
					</el-option>
				</el-select>
			</div>
			<div class="content_div" style="position: relative;">
				<span class="content_item" style="position: absolute;top: 0;">求职岗位：</span>
				<div class="ruleitem" style="display: inline-block;margin-left: 120px;">
					<el-tag v-for="(item,index) in tagList" :key="index"  :disable-transitions="false">
						{{item}}
					</el-tag>
					<!-- <div style="display: inline;margin-left: 200px;margin-top: 10px;" v-if="!isshow">
						<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" @change="sanjiBtn(sanjiTypr)">{{item.ruleClassifyName}}</el-radio></span>
						</div>
					</div> -->
					<!-- <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 class="content_div" style="position: relative;">
				<span class="content_item" style="position: absolute;top: 0;">行业：</span>
				<div class="ruleitem" style="display: inline-block;margin-left: 120px;">
					<el-tag v-for="(item,index) in industry" :key="index"  :disable-transitions="false">
						{{item}}
					</el-tag>
				</div>
			</div>
			<!-- <div class="content_div">
				<span class="content_item">行业：</span>
				<div style="margin-left: 120px;">
					<span v-for="(item,index) in hangyeData" :key="index">{{item.industryName}}:
						<el-checkbox-group v-model="industry" v-if="isshow" disabled style="margin: 5px 0;">
							<el-checkbox v-for="(item1,index1) in item.childrenList" :label="item1.industryName"
								:key="index1">
								{{item1.industryName}}
							</el-checkbox>
						</el-checkbox-group>
						<el-checkbox-group v-model="industry" v-if="!isshow" style="margin: 5px 0;">
							<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 class="content_div">
				<span class="content_item">邮箱:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入邮箱"
					v-model="resumesEmail" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入邮箱" v-model="resumesEmail"
					autosize></el-input>
			</div>
			<div class="content_div">
				<span class="content_item">期望薪资:</span>
				<!-- <el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入期望薪资"
					v-model="resumesCompensation" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入期望薪资"
					v-model="resumesCompensation" autosize></el-input> -->
					<el-select v-model="resumesCompensation" style="width:50%;" @change="select()" v-if="isshow" disabled >
						<el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
						</el-option>
					</el-select>
					<el-select v-model="resumesCompensation" style="width:50%;" @change="select()" v-if="!isshow" >
						<el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
						</el-option>
					</el-select>
			</div>
			
			<!-- <div class="content_div">
				<span class="content_item">核定薪资:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入核定薪资"
					v-model="money" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入核定薪资"
					v-model="money" autosize></el-input>
			</div> -->
			<!-- <div class="content_div">
				<span class="content_item">意向位置（首选）:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入意向位置（首选）"
					v-model="resumesIntention" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入意向位置（首选）"
					v-model="resumesIntention" autosize></el-input>
			</div> -->
			<div class="content_div">
				<span class="content_item">意向城市:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入意向城市"
					v-model="city" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入意向城市"
					v-model="city" autosize></el-input>
			</div>
			<!-- <div class="content_div">
				<span class="content_item">家庭住址:</span>
				<el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入家庭住址"
					v-model="address" autosize></el-input>
				<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入家庭住址"
					v-model="address" autosize></el-input>
			</div>
			 -->
			<div class="content_div">
				<span class="content_item">工作经历:</span>
				<span >
					<div v-for="(item2,index2) in workExpList" >
						<div class="titleGz"><span style="width:80%;margin-left: 120px;">所在公司：{{item2.companyName}}</span></div>
						<div v-for="(item,index) in item2.workExpDetailList" style="width:80%;margin-left: 120px;">
							<div><span>所担职务：<span>{{item.position}}</span></span> </div>
							<div><span>职位级别：<span>{{item.positionLevel}}</span></span> </div>
							<div><span>工作时间：<span>{{item.startTime}} - {{item.endTime}}</span></span> </div>
							<div><span>工作内容：<span>{{item.workContent}}</span></span> </div>
							&nbsp;
						</div>
					</div>
				</span>
				<span v-if="!isshow" style="margin-left: 10px;">
					<el-button type="primary" plain @click="addUpdate()">添加工作经历</el-button>
				</span>
				<!-- <el-input style="width:50%;" v-if="isshow" disabled class="margin15" placeholder="请输入期望薪资" v-model="score"
						autosize></el-input>
					<el-input style="width:50%;" v-if="!isshow" class="margin15" placeholder="请输入期望薪资"  v-model="score" autosize></el-input> -->
			</div>
			<!-- <div  class="content_div">
				<span class="content_item">项目经验:</span>
				<span>
					<div v-for="(item,index) in resumesWorkList" style="width:50%;margin-left: 120px;">
						<i class="el-icon-edit xiugai" v-if="!isshow" @click="addUpdateXu(index,item)"></i>
						<i class="el-icon-delete shanchu" v-if="!isshow" @click="deleteListXm(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>
				</span>
				<span v-if="!isshow" style="margin-left: 10px;">
					<el-button type="primary" plain @click="addUpdateXu()">添加项目经验</el-button>
				</span>
			</div> -->
			<div class="content_div">
				<span class="content_item">个人优势:</span>
				<el-input style="width:50%;" v-if="isshow" type="textarea" :rows="4" disabled class="margin15"
					placeholder="请输入个人优势" v-model="adv"></el-input>
				<el-input style="width:50%;" v-if="!isshow" type="textarea" :rows="4" class="margin15"
					placeholder="请输入个人优势" v-model="adv"></el-input>
			</div>
			<!-- <div style="margin-bottom: 10px;">
				<span style="width:120px;display: inline-block;">资格证书:</span>
				<el-checkbox-group v-if="isshow" v-model="resumesImageName" style="width:50%;margin-left: 120px;position: relative;top: -20px;">
					<el-checkbox :disabled="isshow" v-for="(item,index) in zzzsData" :key="item.value" :label="item.value" style="margin: 5px 10px;">
						{{item.value}}</el-checkbox>
				</el-checkbox-group>
				<el-checkbox-group v-model="resumesImageName" @change="onChang" v-if="!isshow" style="width:50%;margin-left: 120px;position: relative;top: -20px;">
					<el-checkbox v-for="(item,index) in zzzsData" :key="item.value" :label="item.value" style="margin: 5px 10px;">
						{{item.value}}</el-checkbox>
				</el-checkbox-group>
			</div>
			<div class="content_item">
				<div style="display: flex;align-items: center;margin: 2% 0;">
					<span style="display: inline-block;text-align: left;width: 120px;">资格证书图片：</span>
					<div style="display: flex;">
						<div v-for="(item,index) of imgs" style="display: inline-block;">
							<div style="position: relative;margin: 5px;">
								<img :src="item" class="avatar" style="width:148px;height: 148px;border-radius: 6px;" />
								<div @click="clear(index)" class="divhove" v-if="imgs">
									<i class="el-icon-delete" style="margin: 0;font-size: 18px;color: #fff;"></i>
								</div>
							</div>
						</div>
						<el-upload ref='upload' :action="$http.adornUrl('alioss/upload')"
							list-type="picture-card" :on-success="handleUploadSuccess" :on-change="handleChange"
							:on-remove="handleRemove">
							<i class="el-icon-plus"></i>
						</el-upload>
					</div>
				</div>
			</div>
			<div style="margin-bottom: 10px;">
				<span style="width:120px;display: inline-block;">快速匹配专业:</span>
				<el-checkbox-group v-if="isshow" v-model="ruleMajor" style="width:50%;margin-left: 120px;position: relative;top: -20px;">
					<el-checkbox :disabled="isshow" v-for="(item,index) in qtzyData" :key="item.value" :label="item.value" style="margin: 5px 10px;">
						{{item.value}}</el-checkbox>
				</el-checkbox-group>
				<el-checkbox-group v-model="ruleMajor" @change="onChang" v-if="!isshow" style="width:50%;margin-left: 120px;position: relative;top: -20px;">
					<el-checkbox v-for="(item,index) in qtzyData" :key="item.value" :label="item.value" style="margin: 5px 10px;">
						{{item.value}}</el-checkbox>
				</el-checkbox-group>
			</div> -->
			<!-- </div> -->
		</div>
		<!-- 工作经历 -->
		<el-dialog title="工作经历" :visible.sync="dialogFormVisible" center >
			<div class="content_div">
				<span class="content_item">公司名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入公司名称" v-model="resumesTitle" autosize>
				</el-input>
			</div>
			<div class="content_div">
				<span class="content_item">职位名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
				</el-input>
			</div>
			<!-- <div class="content_div">
				<span class="content_item">项目名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesProject" autosize>
				</el-input>=
			</div> -->
			
			<div class="content_div">
				<span class="content_item">在职时间:</span>
				<!-- <el-date-picker
				      v-model="resumesTimes"
				      type="datetimerange"
				      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" 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 class="content_item">工作内容:</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="dialogFormVisible = 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 class="content_item">项目名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesTitle" autosize>
				</el-input>
			</div>
			<div class="content_div">
				<span class="content_item">职位名称:</span>
				<el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
				</el-input>
			</div>
			<div class="content_div">
				<span class="content_item">项目时间:</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 class="content_item">工作内容:</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="dialogFormVisibleSh" 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="dialogFormVisibleSh = false">取 消</el-button>
				<el-button type="primary" @click="refuseto()">确 定</el-button>
			</div>
		</el-dialog>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				logo: '',
				resumesName: '',
				resumesPhone: '',
				resumesMajor: '',
				resumesEducation: '',
				resumesAge: '',
				resumesSex:1,
				// resumesMarriage: '',
				resumesWorkExperience: '',
				resumesPost: '',
				resumesEmail: '',
				resumesCompensation: '',
				resumesWorkList: [],
				// resumesCompanyList: [],
				workExpList: [],
				// workExpDetailList: [],
				// resumesDetails: '',
				adv:'',
				resumesImageName:[],
				img: '',
				imgs: [],
				resumesIntention:'',
				// address:'',
				city:'',
				school:'',
				major:'',
				money:'',
				resumesStatus:1,
				
				isshow: true,
				isbtn: true,
				score: '',
				
				dialogFormVisible: false,
				dialogFormVisibleXm: false,
				dialogFormVisibleSh: false,
				tableData: {},
				indexList: '',
				createTime: '',
				resumesClassify: '',
				resumesContent: '',
				resumesDetailsId: '',
				resumesId: '',
				resumesPostS: '',
				resumesTime: '',
				resumesTitle: '',
				resumesProject:'',
				
				content: '',
				status: '',
				shopId:'',
				qwxzData:[],
				zyData:[],
				zwData:[],
				gzjyData:[],
				xlData:[],
				// hyData:[],
				qtzyData:[],
				ruleClassifyId:'',
				isshow1:true,
				rulePostName:'',
				ruleMajor:[],
				resumesTimes:[],
				zzzsData:[],
				resumesTime1:'',
				resumesTime2:'',
				hangyeData: [],
				industry: [],
				tagList: [],
				bq: '',
				graduationTime:'',
				// yijiid: '',
				// erjiId: '',
				// yijiData: [],
				// erjiData: [],
				// sanjiData: [],
				// erjiTypr: true,
				// sanjiTypr: true,

			}
		},
		methods: {
			//上传成功
			handleAvatarSuccess(file, fileList) {
				this.logo = file.data
			},
			//上传成功
			handleUploadSuccess(file, fileList) {
				this.img = file.data
				this.imgs.push(this.img)
				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.imgs.splice(index, 1);
			},
			// 编辑
			updates() {
				// let banStatus = this.$cookie.get('banStatus')
				// if (banStatus == 2) {
				// 	this.$message({
				// 		message: '您的店铺出现违规情况，已被封禁，请联系总后台解封',
				// 		type: 'error',
				// 		duration: 3500,
				// 	});
				// } else {
				this.isshow = false
				this.isbtn = false
				this.isshow1 = false
				// }
			},

			// 添加/修改项目经验/工作经历
			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.dialogFormVisible = 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

			},
			// 获取保证金期限
			cashdead() {
				this.$http({
					url: this.$http.adornUrl('self/margin/marginList'),
					method: 'post',
					data: this.$http.adornData({})
				}).then(({
					data
				}) => {
					let returnData = data.data;
					this.price1 = returnData.price1
					this.price2 = returnData.price2
				})
			},
			// 确认添加
			// 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.resumesTime,dataList)
			// 		if(this.indexList === ''){
			// 			this.resumesCompanyList.push(dataList)
			// 		}else{
			// 			this.resumesCompanyList[this.indexList].createTime = this.createTime
			// 			this.resumesCompanyList[this.indexList].resumesClassify = this.resumesClassify
			// 			this.resumesCompanyList[this.indexList].resumesContent = this.resumesContent
			// 			this.resumesCompanyList[this.indexList].resumesDetailsId = this.resumesDetailsId
			// 			this.resumesCompanyList[this.indexList].resumesId = this.resumesId
			// 			this.resumesCompanyList[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.dialogFormVisible = false
				
			// },
			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.resumesWorkList.push(dataList)
				}else{
					this.resumesWorkList[this.indexList].createTime = this.createTime
					this.resumesWorkList[this.indexList].resumesClassify = this.resumesClassify
					this.resumesWorkList[this.indexList].resumesContent = this.resumesContent
					this.resumesWorkList[this.indexList].resumesDetailsId = this.resumesDetailsId
					this.resumesWorkList[this.indexList].resumesId = this.resumesId
					this.resumesWorkList[this.indexList].resumesPost = this.resumesPostS
					this.resumesWorkList[this.indexList].resumesTime = this.resumesTime
					this.resumesWorkList[this.indexList].resumesTitle = this.resumesTitle
				}
				// this.resumesWorkList.push(dataList)
				this.dialogFormVisibleXm = false
			},
			// 删除
			deleteList(index){
				this.workExpList.splice(index,1)
			},
			deleteListXm(index){
				this.resumesWorkList.splice(index,1)
			},
			// 取消
			cancel() {
				this.isshow = true
				this.isbtn = true
				this.isshow1 = true
				this.dataSelect()
			},
			// 保存
			// saveClick() {
			// 	this.img = this.imgs.join(',')
			// 	let resumesId = this.$route.query.resumesId
			// 	if (this.userId == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请选择绑定用户',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.resumesName == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入姓名',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.resumesPhone == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入电话',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.resumesEducation == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请选择学历',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.school == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入学校',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.major == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入所学专业',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
				
			// 	if (this.resumesAge == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入年龄',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	// if (this.resumesMarriage == '') {
			// 	// 	this.$notify({
			// 	// 		title: '提示',
			// 	// 		duration: 1800,
			// 	// 		message: '请选择婚姻状态',
			// 	// 		type: 'warning'
			// 	// 	});
			// 	// 	return
			// 	// }
			// 	if (this.resumesWorkExperience == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请选择工作经验',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	// if (this.resumesPostA == '') {
			// 	// 	this.$notify({
			// 	// 		title: '提示',
			// 	// 		duration: 1800,
			// 	// 		message: '请选择岗位',
			// 	// 		type: 'warning'
			// 	// 	});
			// 	// 	return
			// 	// }
			// 	if (this.resumesDetails == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入个人优势',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.resumesEmail == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入邮箱',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.resumesCompensation == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请选择期望薪资',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.tagList.length == 0) {
			// 		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.address == '') {
			// 	// 	this.$notify({
			// 	// 		title: '提示',
			// 	// 		duration: 1800,
			// 	// 		message: '请输入家庭住址',
			// 	// 		type: 'warning'
			// 	// 	});
			// 	// 	return
			// 	// }
			// 	if (this.graduationTime == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请选择毕业时间',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	if (this.city == '') {
			// 		this.$notify({
			// 			title: '提示',
			// 			duration: 1800,
			// 			message: '请输入意向城市',
			// 			type: 'warning'
			// 		});
			// 		return
			// 	}
			// 	this.$http({
			// 		url: this.$http.adornUrl('resumes/updateResumesStatus'),
			// 		method: 'post',
			// 		data: this.$http.adornData({
			// 			'resumesName':this.resumesName,
			// 			'resumesPhone':this.resumesPhone,
			// 			'resumesMajor':this.resumesMajor,
			// 			'resumesEducation':this.resumesEducation,
			// 			'resumesAge':this.resumesAge,
			// 			'resumesSex':this.resumesSex,
			// 			// 'resumesMarriage':this.resumesMarriage,
			// 			'resumesWorkExperience':this.resumesWorkExperience,
			// 			// 'resumesPost':this.resumesPost,
			// 			'resumesEmail':this.resumesEmail,
			// 			'resumesCompensation':this.resumesCompensation,
			// 			'resumesWorkList':this.resumesWorkList,
			// 			// 'resumesCompanyList':this.resumesCompanyList,
			// 			'resumesDetails':this.resumesDetails,
			// 			'resumesImage':this.imgs.toString(),
			// 			'resumesImageName':this.resumesImageName.toString(),
			// 			'resumesId':resumesId,
			// 			'resumesIntention':this.resumesIntention,
			// 			'city':this.city,
			// 			// 'address':this.address,
			// 			'school':this.school,
			// 			'major':this.major,
			// 			'money':this.money,
			// 			'rulePostName':this.rulePostName,
			// 			'ruleMajor':this.ruleMajor.toString(),
			// 			'resumesPost': this.tagList.toString(),
			// 			'industryName': this.industry.toString(),
			// 			'graduationTime': this.graduationTime,
			// 			'resumesStatus':this.resumesStatus
			// 		})
			// 	}).then(({
			// 		data
			// 	}) => {
			// 		this.$message({
			// 			message: '修改成功',
			// 			type: 'success',
			// 			duration: 1500,
			// 			onClose: () => {
			// 				this.isshow = true
			// 				this.isbtn = true
			// 				this.isshow1 = true
			// 				this.dataSelect()
			// 			}
			// 		})
			// 	})
			// },
			// 获取简历详情数据
			dataSelect() {
				let resumesId = this.$route.query.resumesId
				this.tableDataLoading = true
				this.$http({
					url: this.$http.adornUrl('resumes/selectResumesByResumesIdForAdmin'),
					method: 'get',
					params: this.$http.adornParams({
						'resumesId': resumesId,
						'userId': this.$route.query.userId
					})
				}).then(({
					data
				}) => {
					this.tableDataLoading = false
					let returnData = data.data;
					this.tableData = returnData
					this.resumesName = returnData.resumesName
					this.resumesPhone = returnData.resumesPhone
					this.resumesMajor = returnData.resumesMajor
					this.resumesEducation = returnData.resumesEducation
					this.resumesAge = returnData.resumesAge
					this.resumesSex = returnData.resumesSex
					// this.resumesMarriage = returnData.resumesMarriage
					this.resumesWorkExperience = returnData.resumesWorkExperience
					this.resumesPost = returnData.resumesPost
					this.resumesEmail = returnData.resumesEmail
					this.resumesCompensation = returnData.resumesCompensation
					this.workExpList = returnData.workExpList
					this.resumesWorkList = returnData.resumesWorkList
					// this.resumesCompanyList = returnData.resumesCompanyList
					// this.resumesDetails = returnData.resumesDetails
					this.adv = returnData.adv
					this.resumesIntention = returnData.resumesIntention
					// this.address = returnData.address
					this.city = returnData.city
					this.school = returnData.school
					this.major = returnData.major
					this.money = returnData.money
					this.rulePostName = returnData.rulePostName
					if (returnData.resumesImageName) {
						let imgs = returnData.resumesImageName.split(',')
						this.resumesImageName = imgs;
					} else {
						 this.resumesImageName = []
					}
					 
					if (returnData.resumesImage) {
						let imgs = returnData.resumesImage.split(',')
						this.imgs = imgs;
					} else {
						this.img = returnData.resumesImage;
					}
					if(returnData.ruleMajor){
						this.ruleMajor = returnData.ruleMajor.split(',')
					}
					if(returnData.resumesPost){
						this.tagList = returnData.resumesPost.split(',')
					}
					if(returnData.industryName){
						this.industry = returnData.industryName.split(',')
					}
					if(returnData.resumesStatus){
						this.resumesStatus = returnData.resumesStatus
					}
					
					this.graduationTime = returnData.graduationTime
					
					console.log('returnData.ruleMajor',returnData.ruleMajor)
					console.log('this.ruleMajor',this.ruleMajor)
					// this.zwSelect()

				})
			},
			// 返回上一级
			prev() {
				var  from =  this.$route.query.from
				if(from){
					this.$router.push({
						path: '/carBrandList'
					})
				}else{
					this.$router.back()
				}
				
			},
			//单条审核通过
			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()
							}
						})
					} 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.dialogFormVisibleSh = 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.dialogFormVisibleSh = false
						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: () => {
							}
						})
					}
					
				})
			},
			// 获取分类id
			onChang(e) {
				console.log(e)
				this.ruleMajor = e
			},
			// 岗位筛选
			selectG(e){
				this.resumesPost = e.ruleClassifyName
				this.ruleClassifyId = e.ruleClassifyId
				if(this.ruleClassifyId!=''){
					this.isshow1 = false
					this.zySelect()
				}
			},
			// 期望薪资
			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
				})
			},
			// 职位
			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
					for(var i in returnData.list){
						if(returnData.list[i].ruleClassifyName==this.resumesPost){
							this.ruleClassifyId = returnData.list[i].ruleClassifyId 
						}
					}
					this.zySelect()
					
				})
			},
			// 工作经验
			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
			// 	})
			// },
			// 专业
			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': 1,
						'limit': 50,
						'rulePostName': '',
						'ruleClassifyId': this.ruleClassifyId
					})
				}).then(({
					data
				}) => {
					this.tableDataLoading4 = false
					let returnData = data.data.list
					this.zyData = 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
				})
			},
			// 资质证书名称
			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
				})
			},
			// 获取一级行业数据
			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);
			
			// },
			// 获取一级岗位数据
			// 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 = []
			// 			}
				
			// 		}
			// 	}
			// },
			// // 选择岗位
			// sanjiBtn(sanjiTypr){
			// 	this.tagList = []
			// 	this.tagList.push(sanjiTypr)
			// }
		},
		mounted() {
			this.dataSelect()
			this.qwxzSelect()
			// this.zwSelect()
			// this.hySelect()
			this.xlSelect()
			this.gzjySelect()
			this.qtzySelect()
			this.zsmcSelect()
			this.hangyeSelect()
			// this.classSelect()
			
		},
		watch: {
		  '$route': 'dataSelect'
		}
	};
</script>

<style scoped="scoped">
	.content_div {
		margin-bottom: 20px;
	}

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

	.divhove {
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		opacity: 0;
		cursor: default;
		text-align: center;
		padding-top: 50%;
		border-radius: 6px;
		background-color: rgba(0, 0, 0, .5);
		-webkit-transition: opacity .3s;
		transition: opacity .3s;
	}

	.el-tag--medium {
		margin-right: 10px;
	}

	.divhove:hover {
		opacity: 0.8;
	}

	.ruleitem {
		/* padding-left: 10px; */
		/* margin-top: 15px; */
	}

	.ruleitem .ruleicon {
		position: relative;
		top: 3px;
		left: 2px;
		width: 1.2em;
		height: 1.2em;
	}

	.el-tag+.el-tag {
		margin-left: 10px;
	}

	.button-new-tag {
		height: 32px;
		line-height: 31px;
		padding-top: 0;
		padding-bottom: 0;
		border-radius: 4px;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		background-color: #f5f7fa;
		position: relative;
		left: -5px;
		border-color: #dcdfe6;
		border: 1px solid #dcdfe6;
	}

	.input-new-tag {
		width: 90px;
		margin-left: 10px;
		vertical-align: bottom;
	}

	.el-input--small .el-input__inner {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.el-table--enable-row-transition .el-table__body td {
		text-align: center;
	}

	.imgWrap .avatar-uploader .el-upload {
		width: 60px;
	}

	.el-table .cell {
		text-align: center !important;
	}

	.el-tag--medium {
		margin-right: 10px;
	}

	/* ```````````````` */
	/* .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>
