| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402 |
- <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> -->
- <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>
- <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>
- </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>
- </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>
- </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>
- </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> -->
- <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>
- </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>
- <!-- <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> -->
- </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>
- <!-- <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> -->
- </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>
- </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>
- </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>
- </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>
- </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>
- </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>
- <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) {
- localStorage.setItem('resumeListPage', this.page);
- 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>
|