carBrandList.vue 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402
  1. <template>
  2. <div>
  3. <div style="display: inline-block;">
  4. <!-- <span>是否是人才库:</span>
  5. <el-select v-model="classify" style="width:150px;margin-left: 10px;" @change="select()">
  6. <el-option v-for="item in classlyList" :key="item.value" :label="item.label" :value="item.value">
  7. </el-option>
  8. </el-select>&nbsp;&nbsp; -->
  9. <span>是否展示:</span>
  10. <el-select v-model="isShowT" style="width:150px;margin-left: 10px;" @change="select()">
  11. <el-option v-for="item in classlyList" :key="item.value" :label="item.label" :value="item.value">
  12. </el-option>
  13. </el-select>&nbsp;&nbsp;
  14. <div style="position: relative;display: inline-block;margin: 5px;">
  15. <span>状态:</span>
  16. <el-select v-model="status" style="width:150px;margin-left: 10px;" @change="select()">
  17. <el-option v-for="item in statesnum" :key="item.value" :label="item.label" :value="item.value">
  18. </el-option>
  19. </el-select>&nbsp;&nbsp;
  20. </div>
  21. <div style="position: relative;display: inline-block;margin: 5px;">
  22. <span>姓名:</span>
  23. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入姓名" v-model="userNameT">
  24. </el-input>&nbsp;&nbsp;
  25. </div>
  26. <div style="position: relative;display: inline-block;margin: 5px;">
  27. <span>电话:</span>
  28. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入电话"
  29. v-model="resumesPhoneT">
  30. </el-input>&nbsp;&nbsp;
  31. </div>
  32. <div style="position: relative;display: inline-block;margin: 5px;">
  33. <span>学校:</span>
  34. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入学校" v-model="school">
  35. </el-input>&nbsp;&nbsp;
  36. </div>
  37. <div style="position: relative;display: inline-block;margin: 5px;">
  38. <span>学历:</span>
  39. <!-- <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入学历" v-model="resumesEducationT">
  40. </el-input>&nbsp;&nbsp; -->
  41. <el-select v-model="resumesEducationT" style="width:150px;margin-left: 10px;" @change="select()">
  42. <el-option v-for="item in xlData" :key="item.value" :label="item.value" :value="item.value">
  43. </el-option>
  44. </el-select>&nbsp;&nbsp;
  45. </div>
  46. <div style="position: relative;display: inline-block;margin: 5px;">
  47. <span>求职岗位:</span>
  48. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入求职岗位"
  49. v-model="resumesPostT">
  50. </el-input>&nbsp;&nbsp;
  51. <!-- <el-select v-model="resumesPostT" style="width:150px;margin-left: 10px;" @change="selectG(resumesPostT)">
  52. <el-option v-for="item in zwData" :key="item.ruleClassifyId" :label="item.ruleClassifyName" :value="item">
  53. </el-option>
  54. </el-select>&nbsp;&nbsp; -->
  55. </div>
  56. <div style="position: relative;display: inline-block;margin: 5px;">
  57. <span>期望行业:</span>
  58. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入期望行业"
  59. v-model="rulePostNameT">
  60. </el-input>&nbsp;&nbsp;
  61. <!-- <el-select v-model="rulePostNameT" style="width:150px;margin-left: 10px;" @change="select()" :disabled="isshow">
  62. <el-option v-for="item in zyData" :key="item.id" :label="item.rulePostName" :value="item.rulePostName">
  63. </el-option>
  64. </el-select>&nbsp;&nbsp; -->
  65. </div>
  66. <div style="position: relative;display: inline-block;margin: 5px;">
  67. <span>年龄:</span>
  68. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入年龄"
  69. v-model="resumesAgeT">
  70. </el-input>&nbsp;&nbsp;
  71. </div>
  72. <!-- <div style="position: relative;display: inline-block;margin: 5px;">
  73. <span>婚姻状况:</span>
  74. <el-select v-model="resumesMarriageT" style="width:150px;margin-left: 10px;" @change="select()">
  75. <el-option v-for="item in hyData" :key="item.value" :label="item.value" :value="item.value">
  76. </el-option>
  77. </el-select>&nbsp;&nbsp;
  78. </div> -->
  79. <!-- <div style="position: relative;display: inline-block;margin: 5px;">
  80. <span>工作经验:</span>
  81. <el-select v-model="resumesWorkExperienceT" style="width:150px;margin-left: 10px;" @change="select()">
  82. <el-option v-for="item in gzjyData" :key="item.value" :label="item.value" :value="item.value">
  83. </el-option>
  84. </el-select>&nbsp;&nbsp;
  85. </div> -->
  86. <!-- <div style="position: relative;display: inline-block;margin: 5px;">
  87. <span>期望薪资:</span>
  88. <el-select v-model="resumesCompensationT" style="width:150px;margin-left: 10px;" @change="select()">
  89. <el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
  90. </el-option>
  91. </el-select>&nbsp;&nbsp;
  92. </div> -->
  93. <div style="margin:5px;display: inline-block;">
  94. <span>开始时间:</span>
  95. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right" type="date"
  96. format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
  97. </el-date-picker>&nbsp;&nbsp;&nbsp;
  98. </div>
  99. <div style="margin:5px;display: inline-block;">
  100. <span>截止时间:</span>
  101. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right" type="date"
  102. format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
  103. </el-date-picker>
  104. </div>
  105. <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="select">查询
  106. </el-button>
  107. <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleans">重置
  108. </el-button>
  109. <!-- <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="addBtn">添加简历
  110. </el-button> -->
  111. <el-button style='margin-left:15px;' size="mini" type="warning" icon="document"
  112. :disabled="!isAuth('user:daochu')" @click="exportBtn">导出Excel
  113. </el-button>
  114. <!-- <el-button style='margin:0 0 20px 20px;' v-if="isAuth('autonym:pass')" size="mini" type="primary"
  115. icon="document" @click="passClick()" :disabled="checkBoxData.length <= 0">通过</el-button> -->
  116. </div>
  117. <div style="color: orange;"> * 导出数据提示:导出数据前请进行时间或者状态等筛选,否则导出单量过多易出现卡顿或系统崩溃</div>
  118. <el-table v-loading="tableDataLoading" :data="tableData.list">
  119. <el-table-column prop="resumesId" label="编号" width="80" fixed>
  120. </el-table-column>
  121. <el-table-column prop="userName" label="用户昵称" width="100" fixed>
  122. <template slot-scope="scope">
  123. <span style="color: #f56c6c;" @click="updates(scope.row)"
  124. v-if="!isAuth('userList:phone') && scope.row.userName1">{{ scope.row.userName1 ? scope.row.userName1 : '未绑定' }}</span>
  125. <span style="color: #f56c6c;" @click="updates(scope.row)" v-else>{{ scope.row.userName ? scope.row.userName : '未绑定' }}</span>
  126. </template>
  127. </el-table-column>
  128. <el-table-column prop="resumesName" label="姓名" width="100" fixed>
  129. <template slot-scope="scope">
  130. <span style="color: #4f9dec;cursor: pointer;"
  131. @click="updates(scope.row)">{{scope.row.resumesName ? scope.row.resumesName : '未绑定'}}</span>
  132. </template>
  133. </el-table-column>
  134. <el-table-column prop="resumesPhone" label="电话" width="120">
  135. <template slot-scope="scope">
  136. <span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)"
  137. v-if="isAuth('userList:phone')">
  138. {{ scope.row.resumesPhone ? scope.row.resumesPhone : '未绑定' }}
  139. </span>
  140. <span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)" v-else>
  141. {{ scope.row.phone1 ? scope.row.phone1 : '-' }}
  142. </span>
  143. </template>
  144. </el-table-column>
  145. <el-table-column prop="city" label="意向城市">
  146. </el-table-column>
  147. <el-table-column prop="school" label="学校">
  148. </el-table-column>
  149. <el-table-column prop="resumesEducation" label="学历">
  150. </el-table-column>
  151. <el-table-column prop="major" label="所学专业" width="180">
  152. <template slot-scope="scope">
  153. <el-popover placement="top-start" title="" trigger="hover">
  154. <div slot="reference"
  155. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  156. {{scope.row.major}}
  157. </div>
  158. <div style="width: 300px;">{{scope.row.major}}</div>
  159. </el-popover>
  160. </template>
  161. </el-table-column>
  162. <el-table-column prop="graduationTime" label="毕业时间" width="100">
  163. </el-table-column>
  164. <el-table-column prop="resumesSex" label="性别">
  165. <template slot-scope="scope">
  166. <span v-if="scope.row.resumesSex==1">男</span>
  167. <span v-if="scope.row.resumesSex==2">女</span>
  168. </template>
  169. </el-table-column>
  170. <el-table-column prop="resumesAge" label="年龄">
  171. </el-table-column>
  172. <!-- <el-table-column prop="resumesMarriage" label="婚姻状态">
  173. </el-table-column> -->
  174. <el-table-column prop="resumesWorkExperience" label="工作经验">
  175. </el-table-column>
  176. <el-table-column prop="industryName" label="期望行业">
  177. </el-table-column>
  178. <el-table-column prop="resumesPost" label="求职岗位" width="150">
  179. <template slot-scope="scope">
  180. <!-- 先判空,再替换换行符,空值时显示“-”(可自定义) -->
  181. <div v-html="scope.row.resumesPost ? scope.row.resumesPost.replace(/\/n/g, '<br/>') : ''"></div>
  182. </template>
  183. </el-table-column>
  184. <!-- <el-table-column prop="resumesImageName" label="资格证书" width="150">
  185. </el-table-column>
  186. <el-table-column prop="resumesImage" label="资格证书图片" width="150">
  187. <template slot-scope="scope">
  188. <div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
  189. <div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
  190. <el-popover placement="top-start" title="" trigger="hover">
  191. <img style="width: 50px; height: 50px;margin: 3px;" :src="item" alt="" slot="reference">
  192. <img style="width: 200px; height: 200px" :src="item" alt="">
  193. </el-popover>
  194. </div>
  195. </div>
  196. </template>
  197. </el-table-column> -->
  198. <el-table-column prop="resumesEmail" label="邮箱" width="100">
  199. </el-table-column>
  200. <!-- <el-table-column prop="address" label="简历" width="160">
  201. </el-table-column> -->
  202. <el-table-column prop="resumesCompensation" label="期望薪资" width="150">
  203. <template slot-scope="scope">
  204. <!-- 先判空,再替换换行符,空值时显示“-”(可自定义) -->
  205. <div v-html="scope.row.resumesCompensation ? scope.row.resumesCompensation.replace(/\/n/g, '<br/>') : ''"></div>
  206. </template>
  207. </el-table-column>
  208. <!-- <el-table-column prop="money" label="核定薪资" width="160">
  209. </el-table-column> -->
  210. <el-table-column prop="resumesDetails" label="个人优势" width="200">
  211. <template slot-scope="scope">
  212. <el-popover placement="top-start" title="" trigger="hover">
  213. <div slot="reference"
  214. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  215. {{scope.row.resumesDetails}}
  216. </div>
  217. <div style="width: 300px;">{{scope.row.resumesDetails}}</div>
  218. </el-popover>
  219. </template>
  220. </el-table-column>
  221. <!-- <el-table-column prop="address" label="家庭住址" width="160">
  222. </el-table-column> -->
  223. <!-- <el-table-column prop="auditContent" label="审核内容" width="160">
  224. </el-table-column> -->
  225. <el-table-column prop="createTime" label="创建时间" width="160">
  226. </el-table-column>
  227. <el-table-column prop="updateTime" label="更新时间" width="160">
  228. </el-table-column>
  229. <!-- <el-table-column prop="status" label="是否是人才库" width="100" fixed="right">
  230. <template slot-scope="scope">
  231. <el-switch v-model="scope.row.isRecommend" :disabled="!isAuth('carBrandList:update')"
  232. @change="change3(scope.row.isRecommend,scope.row)" :active-value="openValue"
  233. :inactive-value="closeValue" active-color="#13ce66" inactive-color="#ff4949">
  234. </el-switch>
  235. </template>
  236. </el-table-column> -->
  237. <el-table-column fixed='right' prop="resumesStatus" label="入职状态" width="150">
  238. <template slot-scope="scope">
  239. <span v-if="scope.row.resumesStatus == 0">离职-正在找工作</span>
  240. <span v-else-if="scope.row.resumesStatus == 1">在职-月内到岗</span>
  241. <span v-else-if="scope.row.resumesStatus == 2">在职-考虑机会</span>
  242. <span v-else>在职-暂不考虑</span>
  243. </template>
  244. </el-table-column>
  245. <el-table-column prop="isShow" label="是否展示" width="100" fixed="right">
  246. <template slot-scope="scope">
  247. <el-switch v-model="scope.row.isShow" :disabled="!isAuth('carBrandList:update')"
  248. @change="change4(scope.row.isShow,scope.row)" :active-value="openValue1"
  249. :inactive-value="closeValue1" active-color="#13ce66" inactive-color="#ff4949">
  250. </el-switch>
  251. </template>
  252. </el-table-column>
  253. <el-table-column fixed='right' prop="status" label="状态" width="100">
  254. <template slot-scope="scope">
  255. <span v-if="scope.row.status == 1">待审核</span>
  256. <span v-if="scope.row.status == 2">已通过</span>
  257. <span v-if="scope.row.status == 3">已拒绝</span>
  258. <!-- <span v-if="scope.row.status == 4">简历隐藏</span> -->
  259. <!-- <el-button size="mini" type="warning" @click="upstatus(scope.row)"
  260. style="background: #fff;border: none;color: #4f9dec;">
  261. 修改
  262. </el-button> -->
  263. </template>
  264. </el-table-column>
  265. <el-table-column fixed='right' label="操作" width="180">
  266. <template slot-scope="scope">
  267. <!-- <el-button size="mini" type="warning"
  268. :disabled="scope.row.status != 1 || !isAuth('carBrandList:jujue')"
  269. @click="refuseClick(scope.row)" style="margin: 5px;">
  270. 拒绝
  271. </el-button>
  272. <el-button size="mini" type="primary"
  273. :disabled="scope.row.status != 1 || !isAuth('carBrandList:tongguo')"
  274. @click="passClicks(scope.row)" style="margin: 5px;">
  275. 通过
  276. </el-button> -->
  277. <!-- <el-button size="mini" type="primary" :disabled="!isAuth('carBrandList:update')" @click="updateClicks(scope.row)" style="margin: 5px;">
  278. 修改
  279. </el-button> -->
  280. <el-button size="mini" type="primary" @click="delClicks(scope.row)" style="margin: 5px;">
  281. 详情
  282. </el-button>
  283. <el-button size="mini" type="primary" @click="phoneClicks(scope.row)" style="margin: 5px;">
  284. 查看电话
  285. </el-button>
  286. <el-button size="mini" type="primary" @click="shenheClicks(scope.row)" style="margin: 5px;">
  287. 审核记录
  288. </el-button>
  289. <el-button size="mini" type="danger" @click="deleteClick(scope.row)" style="margin: 5px;">
  290. 删除
  291. </el-button>
  292. </template>
  293. </el-table-column>
  294. </el-table>
  295. <div style="text-align: center;margin-top: 10px;">
  296. <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
  297. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  298. layout="total,sizes, prev, pager, next,jumper" :total="tableData.totalCount">
  299. </el-pagination>
  300. </div>
  301. <!-- 审核拒绝弹框 -->
  302. <el-dialog title="审核拒绝" :visible.sync="dialogFormVisible" center>
  303. <div style="margin-bottom: 10px;">
  304. <span
  305. style="width: 200px;display: inline-block;text-align: right;position: relative;top: -70px;">拒绝理由:</span>
  306. <el-input style="width:50%;" v-model="content" type="textarea" :rows="4" placeholder="请输入拒绝理由">
  307. </el-input>
  308. </div>
  309. <div slot="footer" class="dialog-footer">
  310. <el-button @click="dialogFormVisible = false">取 消</el-button>
  311. <el-button type="primary" @click="refuseto()">确 定</el-button>
  312. </div>
  313. </el-dialog>
  314. <!-- 审核记录 -->
  315. <el-dialog title="审核记录" :visible.sync="dialogFormVisibleSh" center>
  316. <el-table v-loading="tableDataLoading1" :data="jiluData.list">
  317. <el-table-column prop="auditResumesId" label="编号" width="80">
  318. </el-table-column>
  319. <el-table-column prop="auditContent" label="审核内容">
  320. </el-table-column>
  321. <el-table-column prop="createTime" label="更新时间" width="160">
  322. </el-table-column>
  323. </el-table>
  324. <div style="text-align: center;margin-top: 10px;">
  325. <el-pagination @size-change="handleSizeChangeJl" @current-change="handleCurrentChangeJl"
  326. :page-sizes="[10, 20, 30, 40]" :page-size="limitJl" :current-page="pageJl"
  327. layout="total,sizes, prev, pager, next,jumper" :total="jiluData.totalCount">
  328. </el-pagination>
  329. </div>
  330. </el-dialog>
  331. <!-- 修改状态 -->
  332. <el-dialog title="修改状态" :visible.sync="dialogFormVisibleSatus" center>
  333. <div style="margin-bottom: 10px;">
  334. <span style="width: 100px;display: inline-block;text-align: right;">状态:</span>
  335. <el-radio-group v-model="radio" style="display: inline-block;">
  336. <el-radio :label="1">待审核</el-radio>
  337. <el-radio :label="2">简历展示</el-radio>
  338. <el-radio :label="3">已拒绝</el-radio>
  339. <el-radio :label="4">简历隐藏</el-radio>
  340. </el-radio-group>
  341. </div>
  342. <div slot="footer" class="dialog-footer">
  343. <el-button @click="dialogFormVisibleSatus = false">取 消</el-button>
  344. <el-button type="primary" @click="refusetoStatus()">确 定</el-button>
  345. </div>
  346. </el-dialog>
  347. <!-- 电话弹框 -->
  348. <el-dialog title="电话" :visible.sync="dialogFormVisiblePh" center>
  349. <div>
  350. <el-row>
  351. <el-col :span="12" class="cards">
  352. <div class="box">
  353. <div class="box_num">
  354. <div class="box_color">姓名</div>
  355. <div class="text_color">{{resumesName}}</div>
  356. </div>
  357. </div>
  358. </el-col>
  359. <el-col :span="12" class="cards">
  360. <div class="box">
  361. <div class="box_num">
  362. <div class="box_color">电话</div>
  363. <div class="text_color">{{resumesPhone}}</div>
  364. </div>
  365. </div>
  366. </el-col>
  367. </el-row>
  368. </div>
  369. </el-dialog>
  370. <!-- 新增简历 -->
  371. <!-- <el-dialog title="新增简历" :visible.sync="dialogFormVisibleAdd" center width="80%">
  372. <div style="margin-bottom: 10px;">
  373. <span style="width: 200px;display: inline-block;text-align: right;">绑定用户:</span>
  374. <el-input style="width:50%;" v-model="userNameA" @focus="updatesUp()" placeholder="请选择绑定用户">
  375. </el-input>
  376. </div>
  377. <div style="margin-bottom: 10px;">
  378. <span style="width: 200px;display: inline-block;text-align: right;">姓名:</span>
  379. <el-input style="width:50%;" v-model="resumesNameA" placeholder="请输入姓名">
  380. </el-input>
  381. </div>
  382. <div style="margin-bottom: 10px;">
  383. <span style="width: 200px;display: inline-block;text-align: right;">电话:</span>
  384. <el-input style="width:50%;" v-model="resumesPhoneA" placeholder="请输入电话">
  385. </el-input>
  386. </div>
  387. <div style="margin-bottom: 10px;">
  388. <span style="width: 200px;display: inline-block;text-align: right;">学历:</span>
  389. <el-select v-model="resumesEducationA" style="width:50%;">
  390. <el-option v-for="item in xlData" :key="item.value" :label="item.value" :value="item.value">
  391. </el-option>
  392. </el-select>
  393. </div>
  394. <div style="margin-bottom: 10px;">
  395. <span style="width: 200px;display: inline-block;text-align: right;">学校</span>
  396. <el-input style="width:50%;" v-model="schoolA" placeholder="请输入学校">
  397. </el-input>
  398. </div>
  399. <div style="margin-bottom: 10px;">
  400. <span style="width: 200px;display: inline-block;text-align: right;">所学专业</span>
  401. <el-input style="width:50%;" v-model="majorA" placeholder="请输入所学专业">
  402. </el-input>
  403. </div>
  404. <div style="margin-bottom: 10px;">
  405. <span style="width: 200px;display: inline-block;text-align: right;">毕业时间</span>
  406. <el-date-picker v-model="graduationTime" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
  407. placeholder="选择日期" style="width:50%;">
  408. </el-date-picker>
  409. </div>
  410. <div style="margin-bottom: 10px;">
  411. <span style="width: 200px;display: inline-block;text-align: right;">性别:</span>
  412. <el-radio-group v-model="resumesSexA">
  413. <el-radio :label="1">男</el-radio>
  414. <el-radio :label="2">女</el-radio>
  415. </el-radio-group>
  416. </div>
  417. <div style="margin-bottom: 10px;">
  418. <span style="width: 200px;display: inline-block;text-align: right;">年龄:</span>
  419. <el-input style="width:50%;" v-model="resumesAgeA" placeholder="请输入年龄">
  420. </el-input>
  421. </div>
  422. <div style="margin-bottom: 10px;">
  423. <span style="width: 200px;display: inline-block;text-align: right;">婚姻状态:</span>
  424. <el-radio-group v-model="resumesMarriageA">
  425. <el-radio v-for="item in hyData" :key="item.value" :label="item.value">{{item.value}}</el-radio>
  426. </el-radio-group>
  427. </div>
  428. <div style="margin-bottom: 10px;">
  429. <span style="width: 200px;display: inline-block;text-align: right;">工作经验:</span>
  430. <el-select v-model="resumesWorkExperienceA" style="width:50%;">
  431. <el-option v-for="item in gzjyData" :key="item.value" :label="item.value" :value="item.value">
  432. </el-option>
  433. </el-select>
  434. </div>
  435. <div style="margin-bottom: 10px;position: relative;">
  436. <div style="width: 200px;display: inline-block;text-align: right;position: absolute;top: 0;">求职岗位:</div>
  437. <div class="ruleitem" style="display: inline-block;margin-left: 200px;">
  438. <div>
  439. <span>一级岗位分类:<el-radio v-for="(item,index) in yijiData" :key="index" v-model="yijiid"
  440. :label="item.ruleClassifyId"
  441. @change="yijiBtn(yijiid)">{{item.ruleClassifyName}}</el-radio></span>
  442. </div>
  443. <div v-if="yijiid!=''">
  444. <span>二级级岗位分类:<el-radio v-for="(item,index) in erjiData" :key="index" v-model="erjiId"
  445. :label="item.ruleClassifyId" @change="erjiBtn(erjiId)">{{item.title}}</el-radio></span>
  446. </div>
  447. <div v-if="erjiId!=''">
  448. <span>岗位名称:<el-radio v-for="(item,index) in sanjiData" :key="index" v-model="sanjiTypr"
  449. :label="item.ruleClassifyName">{{item.ruleClassifyName}}</el-radio></span>
  450. </div>
  451. <el-tag v-for="(item,index) in tagList" :key="index" closable :disable-transitions="false"
  452. @close="handleClose(index)">
  453. {{item}}
  454. </el-tag>
  455. <el-input class="input-new-tag" v-model="bq" ref="saveTagInput" size="small" style="width:120px;"
  456. placeholder="请输入岗位名" @keyup.enter.native="handleInputConfirm()">
  457. </el-input>
  458. <el-button class="button-new-tag" size="small" @click="handleInputConfirm()">添加
  459. </el-button>
  460. </div>
  461. </div>
  462. <div style="margin-bottom: 10px;">
  463. <span style="width: 200px;display: inline-block;text-align: right;">期望行业:</span>
  464. <div style="margin-left: 200px;">
  465. <span v-for="(item,index) in hangyeData" :key="index">{{item.industryName}}:
  466. <el-checkbox-group v-model="industry">
  467. <el-checkbox v-for="(item1,index1) in item.childrenList" :label="item1.industryName"
  468. :key="index1">
  469. {{item1.industryName}}
  470. </el-checkbox>
  471. </el-checkbox-group>
  472. </span>
  473. </div>
  474. </div>
  475. <div style="margin-bottom: 10px;">
  476. <span style="width: 200px;display: inline-block;text-align: right;">邮箱:</span>
  477. <el-input style="width:50%;" v-model="resumesEmailA" placeholder="请输入邮箱">
  478. </el-input>
  479. </div>
  480. <div style="margin-bottom: 10px;">
  481. <span style="width: 200px;display: inline-block;text-align: right;">期望薪资:</span>
  482. <el-select v-model="resumesCompensationA" style="width:50%;">
  483. <el-option v-for="item in qwxzData" :key="item.value" :label="item.value" :value="item.value">
  484. </el-option>
  485. </el-select>
  486. </div>
  487. <div style="margin-bottom: 10px;">
  488. <span
  489. style="width: 200px;display: inline-block;text-align: right;">核定薪资:</span>
  490. <el-input style="width:50%;" v-model="money" placeholder="请输入核定薪资">
  491. </el-input>
  492. </div>
  493. <div style="margin-bottom: 10px;">
  494. <span
  495. style="width: 200px;display: inline-block;text-align: right;">意向位置(首选):</span>
  496. <el-input style="width:50%;" v-model="resumesIntentionA" placeholder="请输入意向位置(首选)">
  497. </el-input>
  498. </div>
  499. <div style="margin-bottom: 10px;">
  500. <span style="width: 200px;display: inline-block;text-align: right;">意向城市:</span>
  501. <el-input style="width:50%;" v-model="cityA" placeholder="请输入意向城市">
  502. </el-input>
  503. </div>
  504. <div style="margin-bottom: 10px;">
  505. <span style="width: 200px;display: inline-block;text-align: right;">家庭住址:</span>
  506. <el-input style="width:50%;" v-model="addressA" placeholder="请输入家庭住址">
  507. </el-input>
  508. </div>
  509. <div style="margin-bottom: 10px;">
  510. <span style="width: 200px;display: inline-block;text-align: right;">工作经历:</span>
  511. <div style="width:50%;margin-left: 200px;">
  512. <div class="bigDiv" v-for="(item,index) in resumesCompanyListA">
  513. <i class="el-icon-edit xiugai" @click="addUpdate(index,item)"></i>
  514. <i class="el-icon-delete shanchu" @click="deleteList(index)"></i>
  515. <div class="titleGz">{{item.resumesTitle}}</div>
  516. <div class="spanGz"><span>{{item.resumesPost}}</span><span class="spanTime">{{item.resumesTime}}
  517. </span></div>
  518. <div class="delGz">{{item.resumesContent}}</div>
  519. </div>
  520. </div>
  521. <span style="margin-left: 200px;">
  522. <el-button type="primary" plain @click="addUpdate()">添加工作经历</el-button>
  523. </span>
  524. </div>
  525. <div style="margin-bottom: 10px;">
  526. <span style="width: 200px;display: inline-block;text-align: right;">项目经验:</span>
  527. <div style="width:50%;margin-left: 200px;">
  528. <div class="bigDiv" v-for="(item,index) in resumesWorkListA">
  529. <i class="el-icon-edit xiugai" @click="addUpdateXu(index,item)"></i>
  530. <i class="el-icon-delete shanchu" @click="deleteListXm(index)"></i>
  531. <div class="titleGz">{{item.resumesTitle}}</div>
  532. <div class="spanGz"><span>{{item.resumesPost}}</span><span
  533. class="spanTime">{{item.resumesTime.substring(0,10)}}
  534. ~
  535. {{item.createTime.substring(0,10)}}
  536. </span></div>
  537. <div class="delGz">{{item.resumesContent}}</div>
  538. </div>
  539. </div>
  540. <span style="margin-left: 200px;">
  541. <el-button type="primary" plain @click="addUpdateXu()">添加项目经验</el-button>
  542. </span>
  543. </div>
  544. <div style="margin-bottom: 10px;">
  545. <span style="width: 200px;display: inline-block;text-align: right;">个人优势:</span>
  546. <el-input style="width:50%;" v-model="resumesDetailsA" placeholder="请输入个人优势">
  547. </el-input>
  548. </div>
  549. <div slot="footer" class="dialog-footer">
  550. <el-button @click="dialogFormVisibleAdd = false">取 消</el-button>
  551. <el-button type="primary" @click="refusetoAdd()">确 定</el-button>
  552. </div>
  553. </el-dialog> -->
  554. <!-- 工作经历 -->
  555. <el-dialog title="工作经历" :visible.sync="dialogFormVisibleGz" center>
  556. <div class="content_item">
  557. <span style="width: 120px;text-align: left;display:inline-block;">公司名称:</span>
  558. <el-input style="width:50%;" class="margin15" placeholder="请输入公司名称" v-model="resumesTitle" autosize>
  559. </el-input>
  560. </div>
  561. <div class="content_item">
  562. <span style="width: 120px;text-align: left;display:inline-block;">职位名称:</span>
  563. <el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
  564. </el-input>
  565. </div>
  566. <!-- <div class="content_item">
  567. <span>项目名称:</span>
  568. <el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesProject" autosize>
  569. </el-input>
  570. </div> -->
  571. <div class="content_item">
  572. <span style="width: 120px;text-align: left;display:inline-block;">在职时间:</span>
  573. <!-- <el-date-picker
  574. v-model="resumesTimes"
  575. type="daterange"
  576. range-separator="至"
  577. start-placeholder="开始日期"
  578. end-placeholder="结束日期"
  579. format="yyyy-MM-dd" value-format="yyyy-MM-dd">
  580. </el-date-picker> -->
  581. <el-date-picker v-model="resumesTime1" type="date" placeholder="开始日期" format="yyyy-MM-dd"
  582. value-format="yyyy-MM-dd">
  583. </el-date-picker> ~
  584. <el-date-picker v-model="resumesTime2" type="date" placeholder="结束日期" format="yyyy-MM-dd"
  585. value-format="yyyy-MM-dd">
  586. </el-date-picker>
  587. </div>
  588. <div class="content_item">
  589. <span style="width: 120px;text-align: left;display:inline-block;">工作内容:</span>
  590. <el-input style="width:50%;" type="textarea" :rows="4" class="margin15" placeholder="请输入工作内容"
  591. v-model="resumesContent"></el-input>
  592. </div>
  593. <div slot="footer" class="dialog-footer">
  594. <el-button @click="dialogFormVisibleGz = false">取 消</el-button>
  595. <el-button type="primary" @click="cashNoticeTo()">确定</el-button>
  596. </div>
  597. </el-dialog>
  598. <!-- 项目经验 -->
  599. <el-dialog title="项目经验" :visible.sync="dialogFormVisibleXm" center>
  600. <div class="content_div">
  601. <span style="width: 120px;text-align: left;display:inline-block;">项目名称:</span>
  602. <el-input style="width:50%;" class="margin15" placeholder="请输入项目名称" v-model="resumesTitle" autosize>
  603. </el-input>
  604. </div>
  605. <div class="content_div">
  606. <span style="width: 120px;text-align: left;display:inline-block;">职位名称:</span>
  607. <el-input style="width:50%;" class="margin15" placeholder="请输入职位名称" v-model="resumesPostS" autosize>
  608. </el-input>
  609. </div>
  610. <div class="content_div">
  611. <span style="width: 120px;text-align: left;display:inline-block;">项目时间:</span>
  612. <!-- <el-date-picker v-model="resumesTime" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
  613. placeholder="选择日期">
  614. </el-date-picker> -->
  615. <!-- ~ <el-date-picker v-model="resumesTitle" type="date" placeholder="选择日期">
  616. </el-date-picker> -->
  617. <el-date-picker v-model="resumesTime1" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
  618. placeholder="开始日期">
  619. </el-date-picker>
  620. ~ <el-date-picker v-model="resumesTime2" type="date" placeholder="结束日期" format="yyyy-MM-dd"
  621. value-format="yyyy-MM-dd">
  622. </el-date-picker>
  623. </div>
  624. <div class="content_div">
  625. <span style="width: 120px;text-align: left;display:inline-block;">工作内容:</span>
  626. <el-input style="width:50%;" type="textarea" :rows="4" class="margin15" placeholder="请输入工作内容"
  627. v-model="resumesContent"></el-input>
  628. </div>
  629. <div slot="footer" class="dialog-footer">
  630. <el-button @click="dialogFormVisibleXm = false">取 消</el-button>
  631. <el-button type="primary" @click="cashNoticeToXm()">确定</el-button>
  632. </div>
  633. </el-dialog>
  634. <!-- 用户列表 -->
  635. <el-dialog title="用户列表" :visible.sync="dialogFormVisibleUser" center width="80%">
  636. <div style="margin:2% 0;display: inline-block;">
  637. <el-input style="width: 150px;" @keydown.enter.native="selectU" clearable placeholder="请输入手机号"
  638. v-model="phone"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;
  639. <el-input style="width: 150px;" @keydown.enter.native="selectU" clearable placeholder="微信名称筛选"
  640. v-model="nickName"></el-input>
  641. </div>
  642. <div style="display: inline-block;">
  643. <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="selectU">查询
  644. </el-button>
  645. <el-button style='margin-left:15px;' size="mini" type="primary" icon="document" @click="cleansU">重置
  646. </el-button>
  647. </div>
  648. <el-table v-loading="tableDataLoadingUser" :data="tableDataUser.list">
  649. <el-table-column fixed prop="userId" label="编号" width="80">
  650. </el-table-column>
  651. <el-table-column fixed prop="userName" label="昵称">
  652. <template slot-scope="scope">
  653. <span style="color: #f56c6c;">{{scope.row.userName ? scope.row.userName : '未设置'}}</span>
  654. </template>
  655. </el-table-column>
  656. <el-table-column prop="phone" label="手机号">
  657. <template slot-scope="scope">
  658. <span style="color: #4f9dec;cursor: pointer;"
  659. @click="updates(scope.row)">{{scope.row.phone ? scope.row.phone : '未绑定'}}</span>
  660. </template>
  661. </el-table-column>
  662. <el-table-column label="图像">
  663. <template slot-scope="scope">
  664. <img v-if="scope.row.avatar==null" src="~@/assets/img/avatar.png" alt="" width="40" height="40">
  665. <img v-else :src="scope.row.avatar" alt="" width="40" height="40">
  666. </template>
  667. </el-table-column>
  668. <el-table-column prop="createTime" label="创建时间">
  669. </el-table-column>
  670. <el-table-column label="操作" fixed='right' width="120">
  671. <template slot-scope="scope">
  672. <el-button size="mini" type="primary" @click="updatesBtn(scope.row)">确定
  673. </el-button>
  674. </template>
  675. </el-table-column>
  676. </el-table>
  677. <div style="text-align: center;margin-top: 10px;">
  678. <el-pagination @size-change="handleSizeChangeU" @current-change="handleCurrentChangeU"
  679. :page-sizes="[5, 10, 15, 20]" :page-size="size1" :current-page="page1"
  680. layout="total,sizes, prev, pager, next" :total="tableDataUser.totalCount">
  681. </el-pagination>
  682. </div>
  683. </el-dialog>
  684. </div>
  685. </template>
  686. <script>
  687. export default {
  688. data() {
  689. return {
  690. openValue: 2,
  691. closeValue: 1,
  692. openValue1: 1,
  693. closeValue1: 0,
  694. limit: 10,
  695. page: 1,
  696. content: '',
  697. status: '',
  698. statesnum: [{
  699. value: '',
  700. label: '全部'
  701. },
  702. {
  703. value: 1,
  704. label: '待审核'
  705. }, {
  706. value: 2,
  707. label: '已通过'
  708. }, {
  709. value: 3,
  710. label: '已拒绝'
  711. },
  712. // {
  713. // value: 4,
  714. // label: '简历隐藏'
  715. // }
  716. ],
  717. isShowT: '',
  718. classify: '',
  719. classlyList: [{
  720. value: '',
  721. label: '全部'
  722. }, {
  723. value: 0,
  724. label: '否'
  725. }, {
  726. value: 1,
  727. label: '是'
  728. }],
  729. userNameT: '',
  730. resumesPhoneT: '',
  731. rulePostNameT: '',
  732. resumesPostT: '',
  733. resumesEducationT: '',
  734. resumesWorkExperienceT: '',
  735. resumesCompensationT: '',
  736. resumesAgeT: '',
  737. resumesMarriageT: '',
  738. school: '',
  739. activeName: 'first',
  740. tableDataLoading: false,
  741. tableDataLoading1: false,
  742. dialogFormVisible: false,
  743. dialogFormVisibleSh: false,
  744. tableData: {},
  745. checkBoxData: [], //多选框选择的值
  746. shopId: '',
  747. zyData: [],
  748. zwData: [],
  749. gzjyData: [],
  750. xlData: [],
  751. hyData: [],
  752. qwxzData: [],
  753. resumesId: '',
  754. pageJl: 1,
  755. limitJl: 10,
  756. jiluData: {},
  757. zzzsData: [],
  758. qtzyData: [],
  759. dialogFormVisibleSatus: false,
  760. radio: '',
  761. dialogFormVisiblePh: false,
  762. resumesName: '',
  763. resumesPhone: '',
  764. isshow: true,
  765. ruleClassifyId: '',
  766. ruleMajorA: [],
  767. // 添加简历字段
  768. dialogFormVisibleAdd: false,
  769. logoA: '',
  770. resumesNameA: '',
  771. resumesPhoneA: '',
  772. resumesMajorA: '',
  773. resumesEducationA: '',
  774. resumesAgeA: '',
  775. resumesSexA: 1,
  776. resumesMarriageA: '',
  777. resumesWorkExperienceA: '',
  778. resumesPostA: '',
  779. resumesEmailA: '',
  780. resumesCompensationA: '',
  781. rulePostNameA: '',
  782. resumesWorkListA: [],
  783. resumesCompanyListA: [],
  784. resumesDetailsA: '',
  785. resumesImageNameA: [],
  786. imgA: '',
  787. imgsA: [],
  788. resumesIntentionA: '',
  789. cityA: '',
  790. addressA: '',
  791. schoolA: '',
  792. majorA: '',
  793. graduationTime: '',
  794. userNameA: '',
  795. userIdA: '',
  796. ruleMajor: [],
  797. dialogFormVisibleGz: false,
  798. isshow1: true,
  799. ruleClassifyIdA: '',
  800. resumesPost: '',
  801. money: '',
  802. // 工作经历字段
  803. indexList: '',
  804. createTime: '',
  805. resumesClassify: '',
  806. resumesContent: '',
  807. resumesDetailsId: '',
  808. resumesId: '',
  809. resumesPostS: '',
  810. resumesTime: '',
  811. resumesTitle: '',
  812. resumesProject: '',
  813. resumesTimes: [],
  814. resumesTime1: '',
  815. resumesTime2: '',
  816. // 用户列表
  817. dialogFormVisibleUser: false,
  818. tableDataLoadingUser: false,
  819. phone: '',
  820. nickName: '',
  821. platform: 'all',
  822. isRelation: -1,
  823. size1: 10,
  824. page1: 1,
  825. tableDataUser: {},
  826. hangyeData: [],
  827. industry: [],
  828. tagList: [],
  829. bq: '',
  830. dialogFormVisibleXm: false,
  831. resumesWorkList: [],
  832. yijiid: '',
  833. erjiId: '',
  834. yijiData: [],
  835. erjiData: [],
  836. sanjiData: [],
  837. erjiTypr: true,
  838. sanjiTypr: '',
  839. info: {
  840. stockDate: this.getNowTime(), //日期
  841. },
  842. info2: {
  843. stockDate2: this.getNowTime2(), //日期
  844. },
  845. startTime: '',
  846. endTime: '',
  847. }
  848. },
  849. methods: {
  850. //处理默认选中当前日期
  851. getNowTime() {
  852. var now = new Date()
  853. var year = now.getFullYear() //得到年份
  854. var month = now.getMonth() //得到月份
  855. var date = now.getDate() //得到日期
  856. month = month + 1
  857. month = month.toString().padStart(2, '0')
  858. date = date.toString().padStart(2, '0')
  859. var defaultDate = `${year}-${month}-${date}`
  860. return defaultDate
  861. this.$set(this.info, 'stockDate', defaultDate)
  862. },
  863. //处理默认选中当前日期
  864. getNowTime2() {
  865. var now = new Date()
  866. var year = now.getFullYear() //得到年份
  867. var month = now.getMonth() - now.getMonth() //得到月份
  868. var date = now.getDate() - now.getDate() + 1 //得到日期
  869. month = month + 1
  870. month = month.toString().padStart(2, '0')
  871. date = date.toString().padStart(2, '0')
  872. var defaultDate = `${year}-${month}-${date}`
  873. return defaultDate
  874. this.$set(this.info, 'stockDate', defaultDate)
  875. },
  876. // 多选
  877. changeFun(val) {
  878. this.checkBoxData = val;
  879. },
  880. // 详情跳转
  881. updates(row) {
  882. localStorage.setItem('resumeListPage', this.page);
  883. this.$router.push({
  884. path: '/userDetail',
  885. query: {
  886. userId: row.userId
  887. }
  888. })
  889. },
  890. handleSizeChange(val) {
  891. this.limit = val;
  892. this.dataSelect()
  893. },
  894. handleCurrentChange(val) {
  895. this.page = val;
  896. this.dataSelect()
  897. },
  898. handleSizeChangeJl(val) {
  899. this.limitJl = val;
  900. this.jlshSelect()
  901. },
  902. handleCurrentChangeJl(val) {
  903. this.pageJl = val;
  904. this.jlshSelect()
  905. },
  906. handleSizeChangeU(val) {
  907. this.size1 = val
  908. this.dataSelectUser()
  909. },
  910. handleCurrentChangeU(val) {
  911. this.page1 = val
  912. this.dataSelectUser()
  913. },
  914. //审核通过
  915. passClick(id) {
  916. this.status = 1
  917. this.content = '同意'
  918. var ids = id ? [id] : this.checkBoxData.map(item => {
  919. return item.id
  920. })
  921. this.$http({
  922. url: this.$http.adornUrl(
  923. `student/auditStudentAuthentication/${ids}/${this.status}/${this.content}`),
  924. method: 'post',
  925. data: this.$http.adornData({})
  926. }).then(({
  927. data
  928. }) => {
  929. if (data.code == 0) {
  930. this.$message({
  931. message: '操作成功',
  932. type: 'success',
  933. duration: 1500,
  934. onClose: () => {
  935. this.content = ''
  936. this.status = ''
  937. this.dataSelect()
  938. }
  939. })
  940. } else {
  941. this.$message({
  942. message: data.msg,
  943. type: 'error',
  944. duration: 1500,
  945. onClose: () => {
  946. this.content = ''
  947. this.status = ''
  948. this.dataSelect()
  949. }
  950. })
  951. }
  952. })
  953. },
  954. //单条审核通过
  955. passClicks(row) {
  956. this.status = 1
  957. this.content = '同意'
  958. this.$http({
  959. url: this.$http.adornUrl('resumes/auditResumes'),
  960. method: 'post',
  961. params: this.$http.adornParams({
  962. 'status': this.status,
  963. 'ids': row.resumesId,
  964. 'content': '通过'
  965. })
  966. }).then(({
  967. data
  968. }) => {
  969. if (data.code == 0) {
  970. this.$message({
  971. message: '操作成功',
  972. type: 'success',
  973. duration: 1500,
  974. onClose: () => {
  975. this.content = ''
  976. this.status = ''
  977. this.dataSelect()
  978. this.dataSelectDsh()
  979. }
  980. })
  981. } else {
  982. this.$message({
  983. message: data.msg,
  984. type: 'error',
  985. duration: 1500,
  986. onClose: () => {
  987. this.content = ''
  988. this.status = ''
  989. this.dataSelect()
  990. }
  991. })
  992. }
  993. })
  994. },
  995. //审核拒绝
  996. refuseClick(rows) {
  997. console.log('rows', rows)
  998. this.status = 2
  999. this.shopId = rows.resumesId
  1000. this.helpTakeId = rows.userId
  1001. this.content = ''
  1002. this.dialogFormVisible = true
  1003. },
  1004. refuseto() {
  1005. if (this.content == '') {
  1006. this.$notify({
  1007. title: '提示',
  1008. duration: 1800,
  1009. message: '请输入拒绝理由',
  1010. type: 'warning'
  1011. });
  1012. return
  1013. }
  1014. this.$http({
  1015. url: this.$http.adornUrl('resumes/auditResumes'),
  1016. method: 'post',
  1017. params: this.$http.adornParams({
  1018. 'status': this.status,
  1019. 'ids': this.shopId,
  1020. 'content': this.content
  1021. })
  1022. }).then(({
  1023. data
  1024. }) => {
  1025. if (data.code == 0) {
  1026. this.dialogFormVisible = false
  1027. this.$message({
  1028. message: '操作成功',
  1029. type: 'success',
  1030. duration: 1500,
  1031. onClose: () => {
  1032. this.content = ''
  1033. this.status = ''
  1034. this.dataSelect()
  1035. this.dataSelectDsh()
  1036. }
  1037. })
  1038. } else {
  1039. this.$message({
  1040. message: data.msg,
  1041. type: 'error',
  1042. duration: 1500,
  1043. onClose: () => {}
  1044. })
  1045. }
  1046. })
  1047. },
  1048. // 修改弹框
  1049. upstatus(row) {
  1050. this.radio = ''
  1051. this.shopId = row.resumesId
  1052. this.dialogFormVisibleSatus = true
  1053. },
  1054. refusetoStatus() {
  1055. if (this.radio == '') {
  1056. this.$notify({
  1057. title: '提示',
  1058. duration: 1800,
  1059. message: '请选择状态',
  1060. type: 'warning'
  1061. });
  1062. return
  1063. }
  1064. this.$http({
  1065. url: this.$http.adornUrl('resumes/updateResumesStatus'),
  1066. method: 'post',
  1067. data: this.$http.adornData({
  1068. 'status': this.radio,
  1069. 'resumesId': this.shopId
  1070. })
  1071. }).then(({
  1072. data
  1073. }) => {
  1074. if (data.code == 0) {
  1075. this.$message({
  1076. message: '操作成功',
  1077. type: 'success',
  1078. duration: 1500,
  1079. onClose: () => {
  1080. this.dialogFormVisibleSatus = false
  1081. this.content = ''
  1082. this.status = ''
  1083. this.dataSelect()
  1084. }
  1085. })
  1086. } else {
  1087. this.$message({
  1088. message: data.msg,
  1089. type: 'error',
  1090. duration: 1500,
  1091. onClose: () => {}
  1092. })
  1093. }
  1094. })
  1095. },
  1096. // 查询
  1097. select() {
  1098. this.page = 1
  1099. this.limit = 10
  1100. this.dataSelect()
  1101. },
  1102. // 岗位筛选
  1103. selectG(e) {
  1104. console.log('````', e)
  1105. this.page = 1
  1106. this.resumesPostT = e.ruleClassifyName
  1107. this.ruleClassifyId = e.ruleClassifyId
  1108. if (this.ruleClassifyId != '') {
  1109. this.isshow = false
  1110. this.zySelect()
  1111. }
  1112. this.dataSelect()
  1113. },
  1114. // 重置
  1115. cleans() {
  1116. this.status = ''
  1117. this.userNameT = ''
  1118. this.resumesPhoneT = ''
  1119. this.rulePostNameT = ''
  1120. this.resumesPostT = ''
  1121. this.resumesWorkExperienceT = ''
  1122. this.resumesEducationT = ''
  1123. this.resumesAgeT = ''
  1124. this.resumesMarriageT = ''
  1125. this.resumesCompensationT = ''
  1126. this.school = ''
  1127. this.classify = ''
  1128. this.isshow = true
  1129. this.ruleClassifyId = ''
  1130. this.startTime = ''
  1131. this.endTime = ''
  1132. this.isShowT = ''
  1133. this.dataSelect()
  1134. },
  1135. // 获取派单数据列表
  1136. dataSelect() {
  1137. if (this.startTime != "" && this.startTime !== null) {
  1138. if (this.endTime == '' || this.endTime == null) {
  1139. this.$notify({
  1140. title: '提示',
  1141. duration: 1800,
  1142. message: '请选择截止时间',
  1143. type: 'warning'
  1144. });
  1145. return
  1146. }
  1147. }
  1148. if (this.endTime != "" && this.endTime !== null) {
  1149. if (this.startTime == '' || this.startTime == null) {
  1150. this.$notify({
  1151. title: '提示',
  1152. duration: 1800,
  1153. message: '请选择开始时间',
  1154. type: 'warning'
  1155. });
  1156. return
  1157. }
  1158. }
  1159. this.tableDataLoading = true
  1160. this.$http({
  1161. url: this.$http.adornUrl('resumes/selectResumesList'),
  1162. method: 'get',
  1163. params: this.$http.adornParams({
  1164. 'page': this.page,
  1165. 'limit': this.limit,
  1166. 'isShow': this.isShowT,
  1167. 'status': this.status,
  1168. 'resumesName': this.userNameT,
  1169. 'resumesPhone': this.resumesPhoneT,
  1170. 'school': this.school,
  1171. 'resumesEducation': this.resumesEducationT,
  1172. 'resumesPost': this.resumesPostT,
  1173. 'industryName': this.rulePostNameT,
  1174. 'resumesAge': this.resumesAgeT,
  1175. 'resumesWorkExperience': this.resumesWorkExperienceT, //工作经验
  1176. 'startTime': this.startTime,
  1177. 'endTime': this.endTime,
  1178. // 'resumesCompensation': this.resumesCompensationT, //薪资范围
  1179. // 'resumesMarriage': this.resumesMarriageT, //是否结婚
  1180. // 'isRecommend': this.classify, //是否人才库
  1181. })
  1182. }).then(({
  1183. data
  1184. }) => {
  1185. if (data.data && data.data.list.length > 0) {
  1186. for (var i in data.data.list) {
  1187. var pattern =
  1188. /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
  1189. var phone1 = data.data.list[i].resumesPhone
  1190. var userName1 = data.data.list[i].userName
  1191. if (pattern.test(phone1)) {
  1192. var one = phone1.slice(0, 3)
  1193. var two = phone1.slice(7, 11)
  1194. data.data.list[i].phone1 = one + '****' + two
  1195. }
  1196. if (pattern.test(userName1)) {
  1197. var one = userName1.slice(0, 3)
  1198. var two = userName1.slice(7, 11)
  1199. data.data.list[i].userName1 = one + '****' + two
  1200. }
  1201. }
  1202. }
  1203. this.tableDataLoading = false
  1204. // for (var i in data.data.list) {
  1205. // if (data.data.list[i].addressImg) {
  1206. // data.data.list[i].addressImg = data.data.list[i].addressImg.split(',')
  1207. // }
  1208. // }
  1209. this.tableData = data.data
  1210. })
  1211. // let returnData = data.data;
  1212. },
  1213. // 修改
  1214. updateClicks(row) {
  1215. },
  1216. // 查看详情
  1217. delClicks(row) {
  1218. this.$router.push({
  1219. path: '/resumeDetails',
  1220. query: {
  1221. resumesId: row.resumesId,
  1222. userId: row.userId,
  1223. from: 'jl'
  1224. }
  1225. })
  1226. },
  1227. // 查看电话
  1228. phoneClicks(row) {
  1229. this.resumesPhone = row.resumesPhone
  1230. this.resumesName = row.resumesName
  1231. this.dialogFormVisiblePh = true
  1232. },
  1233. // 审核记录弹框
  1234. shenheClicks(row) {
  1235. this.resumesId = row.resumesId
  1236. this.jlshSelect()
  1237. this.dialogFormVisibleSh = true
  1238. },
  1239. change3(isRecommend, row) {
  1240. this.$http({
  1241. url: this.$http.adornUrl('resumes/updateResumesIsRecommend'),
  1242. method: 'post',
  1243. params: this.$http.adornParams({
  1244. 'resumesId': row.resumesId
  1245. })
  1246. }).then(({
  1247. data
  1248. }) => {
  1249. if (data.code == 0) {
  1250. this.$message({
  1251. message: '修改成功',
  1252. type: 'success',
  1253. duration: 1500,
  1254. onClose: () => {
  1255. this.dataSelect()
  1256. }
  1257. })
  1258. } else {
  1259. this.$message({
  1260. message: data.msg,
  1261. type: 'warning',
  1262. duration: 1500,
  1263. onClose: () => {}
  1264. })
  1265. }
  1266. })
  1267. },
  1268. // 专业
  1269. zySelect() {
  1270. // this.$http({
  1271. // url: this.$http.adornUrl('sys/dict/selectDictList'),
  1272. // method: 'get',
  1273. // params: this.$http.adornParams({
  1274. // 'type': '专业'
  1275. // })
  1276. // }).then(({
  1277. // data
  1278. // }) => {
  1279. // let returnData = data.data
  1280. // this.zyData = returnData
  1281. // })
  1282. this.$http({
  1283. url: this.$http.adornUrl('rule/selectRulePostList'),
  1284. method: 'post',
  1285. params: this.$http.adornParams({
  1286. 'page': this.page,
  1287. 'limit': 50,
  1288. 'rulePostName': this.rulePostNameT,
  1289. 'ruleClassifyId': this.ruleClassifyId
  1290. })
  1291. }).then(({
  1292. data
  1293. }) => {
  1294. this.tableDataLoading4 = false
  1295. let returnData = data.data.list
  1296. this.zyData = returnData
  1297. })
  1298. },
  1299. // 职位
  1300. zwSelect() {
  1301. this.$http({
  1302. url: this.$http.adornUrl('rule/selectRuleClassifyList'),
  1303. method: 'get',
  1304. params: this.$http.adornParams({
  1305. 'ruleClassifyName': '',
  1306. 'status': '',
  1307. 'page': 1,
  1308. 'limit': 1000
  1309. })
  1310. }).then(({
  1311. data
  1312. }) => {
  1313. let returnData = data.data
  1314. this.zwData = returnData.list
  1315. })
  1316. },
  1317. // 工作经验
  1318. gzjySelect() {
  1319. this.$http({
  1320. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1321. method: 'get',
  1322. params: this.$http.adornParams({
  1323. 'type': '工作经验'
  1324. })
  1325. }).then(({
  1326. data
  1327. }) => {
  1328. let returnData = data.data
  1329. this.gzjyData = returnData
  1330. })
  1331. },
  1332. // 学历
  1333. xlSelect() {
  1334. this.$http({
  1335. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1336. method: 'get',
  1337. params: this.$http.adornParams({
  1338. 'type': '学历'
  1339. })
  1340. }).then(({
  1341. data
  1342. }) => {
  1343. let returnData = data.data
  1344. this.xlData = returnData
  1345. })
  1346. },
  1347. // 婚姻状态
  1348. hySelect() {
  1349. this.$http({
  1350. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1351. method: 'get',
  1352. params: this.$http.adornParams({
  1353. 'type': '婚姻状况'
  1354. })
  1355. }).then(({
  1356. data
  1357. }) => {
  1358. let returnData = data.data
  1359. this.hyData = returnData
  1360. })
  1361. },
  1362. // 期望薪资
  1363. qwxzSelect() {
  1364. this.$http({
  1365. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1366. method: 'get',
  1367. params: this.$http.adornParams({
  1368. 'type': '薪资'
  1369. })
  1370. }).then(({
  1371. data
  1372. }) => {
  1373. let returnData = data.data
  1374. this.qwxzData = returnData
  1375. })
  1376. },
  1377. // 简历审核记录
  1378. jlshSelect() {
  1379. this.tableDataLoading1 = true
  1380. this.$http({
  1381. url: this.$http.adornUrl('resumes/selectAuditResumesList'),
  1382. method: 'get',
  1383. params: this.$http.adornParams({
  1384. 'page': this.pageJl,
  1385. 'limit': this.limitJl,
  1386. 'resumesId': this.resumesId
  1387. })
  1388. }).then(({
  1389. data
  1390. }) => {
  1391. this.tableDataLoading1 = false
  1392. let returnData = data.data
  1393. this.jiluData = returnData
  1394. })
  1395. },
  1396. // 资质证书名称
  1397. zsmcSelect() {
  1398. this.$http({
  1399. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1400. method: 'get',
  1401. params: this.$http.adornParams({
  1402. 'type': '证书名称'
  1403. })
  1404. }).then(({
  1405. data
  1406. }) => {
  1407. let returnData = data.data
  1408. this.zzzsData = returnData
  1409. })
  1410. },
  1411. // 其他专业
  1412. qtzySelect() {
  1413. this.$http({
  1414. url: this.$http.adornUrl('sys/dict/selectDictList'),
  1415. method: 'get',
  1416. params: this.$http.adornParams({
  1417. 'type': '其他专业'
  1418. })
  1419. }).then(({
  1420. data
  1421. }) => {
  1422. let returnData = data.data
  1423. this.qtzyData = returnData
  1424. })
  1425. },
  1426. // // 新增简历
  1427. // addBtn() {
  1428. // this.resumesNameA = ''
  1429. // this.resumesPhoneA = ''
  1430. // this.resumesMajorA = ''
  1431. // this.resumesEducationA = ''
  1432. // this.resumesAgeA = ''
  1433. // this.resumesSexA = 1
  1434. // this.resumesMarriageA = ''
  1435. // this.resumesWorkExperienceA = ''
  1436. // this.resumesPostA = ''
  1437. // this.resumesEmailA = ''
  1438. // this.resumesCompensationA = ''
  1439. // this.resumesWorkListA = []
  1440. // this.resumesCompanyListA = []
  1441. // this.resumesDetailsA = ''
  1442. // this.imgsA = []
  1443. // this.resumesImageNameA = []
  1444. // this.resumesIntentionA = ''
  1445. // this.cityA = ''
  1446. // this.addressA = ''
  1447. // this.schoolA = ''
  1448. // this.majorA = ''
  1449. // this.graduationTime = ''
  1450. // this.rulePostNameA = ''
  1451. // this.ruleMajorA = []
  1452. // this.userIdA = ''
  1453. // this.userNameA = ''
  1454. // this.resumesPost = ''
  1455. // this.money = ''
  1456. // this.tagList = []
  1457. // this.yijiid = ''
  1458. // this.erjiId = ''
  1459. // this.sanjiTypr = ''
  1460. // this.isshow1 = true
  1461. // this.dialogFormVisibleAdd = true
  1462. // this.classSelect()
  1463. // this.hangyeSelect()
  1464. // },
  1465. // // 确认新增
  1466. // refusetoAdd() {
  1467. // if (this.userIdA == '') {
  1468. // this.$notify({
  1469. // title: '提示',
  1470. // duration: 1800,
  1471. // message: '请选择绑定用户',
  1472. // type: 'warning'
  1473. // });
  1474. // return
  1475. // }
  1476. // if (this.resumesNameA == '') {
  1477. // this.$notify({
  1478. // title: '提示',
  1479. // duration: 1800,
  1480. // message: '请输入姓名',
  1481. // type: 'warning'
  1482. // });
  1483. // return
  1484. // }
  1485. // if (this.resumesPhoneA == '') {
  1486. // this.$notify({
  1487. // title: '提示',
  1488. // duration: 1800,
  1489. // message: '请输入电话',
  1490. // type: 'warning'
  1491. // });
  1492. // return
  1493. // }
  1494. // if (this.resumesEducationA == '') {
  1495. // this.$notify({
  1496. // title: '提示',
  1497. // duration: 1800,
  1498. // message: '请选择学历',
  1499. // type: 'warning'
  1500. // });
  1501. // return
  1502. // }
  1503. // if (this.schoolA == '') {
  1504. // this.$notify({
  1505. // title: '提示',
  1506. // duration: 1800,
  1507. // message: '请输入学校',
  1508. // type: 'warning'
  1509. // });
  1510. // return
  1511. // }
  1512. // if (this.majorA == '') {
  1513. // this.$notify({
  1514. // title: '提示',
  1515. // duration: 1800,
  1516. // message: '请输入所学专业',
  1517. // type: 'warning'
  1518. // });
  1519. // return
  1520. // }
  1521. // if (this.resumesAgeA == '') {
  1522. // this.$notify({
  1523. // title: '提示',
  1524. // duration: 1800,
  1525. // message: '请输入年龄',
  1526. // type: 'warning'
  1527. // });
  1528. // return
  1529. // }
  1530. // if (this.resumesMarriageA == '') {
  1531. // this.$notify({
  1532. // title: '提示',
  1533. // duration: 1800,
  1534. // message: '请选择婚姻状态',
  1535. // type: 'warning'
  1536. // });
  1537. // return
  1538. // }
  1539. // if (this.resumesWorkExperienceA == '') {
  1540. // this.$notify({
  1541. // title: '提示',
  1542. // duration: 1800,
  1543. // message: '请选择工作经验',
  1544. // type: 'warning'
  1545. // });
  1546. // return
  1547. // }
  1548. // // if (this.resumesPostA == '') {
  1549. // // this.$notify({
  1550. // // title: '提示',
  1551. // // duration: 1800,
  1552. // // message: '请选择岗位',
  1553. // // type: 'warning'
  1554. // // });
  1555. // // return
  1556. // // }
  1557. // if (this.resumesDetailsA == '') {
  1558. // this.$notify({
  1559. // title: '提示',
  1560. // duration: 1800,
  1561. // message: '请输入个人优势',
  1562. // type: 'warning'
  1563. // });
  1564. // return
  1565. // }
  1566. // if (this.resumesEmailA == '') {
  1567. // this.$notify({
  1568. // title: '提示',
  1569. // duration: 1800,
  1570. // message: '请输入邮箱',
  1571. // type: 'warning'
  1572. // });
  1573. // return
  1574. // }
  1575. // if (this.resumesCompensationA == '') {
  1576. // this.$notify({
  1577. // title: '提示',
  1578. // duration: 1800,
  1579. // message: '请选择期望薪资',
  1580. // type: 'warning'
  1581. // });
  1582. // return
  1583. // }
  1584. // if (this.sanjiTypr == '') {
  1585. // this.$notify({
  1586. // title: '提示',
  1587. // duration: 1800,
  1588. // message: '请选择求职岗位',
  1589. // type: 'warning'
  1590. // });
  1591. // return
  1592. // }
  1593. // if (this.industry.length == 0) {
  1594. // this.$notify({
  1595. // title: '提示',
  1596. // duration: 1800,
  1597. // message: '请选择期望行业',
  1598. // type: 'warning'
  1599. // });
  1600. // return
  1601. // }
  1602. // if (this.addressA == '') {
  1603. // this.$notify({
  1604. // title: '提示',
  1605. // duration: 1800,
  1606. // message: '请输入家庭住址',
  1607. // type: 'warning'
  1608. // });
  1609. // return
  1610. // }
  1611. // if (this.graduationTime == '') {
  1612. // this.$notify({
  1613. // title: '提示',
  1614. // duration: 1800,
  1615. // message: '请选择毕业时间',
  1616. // type: 'warning'
  1617. // });
  1618. // return
  1619. // }
  1620. // if (this.cityA == '') {
  1621. // this.$notify({
  1622. // title: '提示',
  1623. // duration: 1800,
  1624. // message: '请输入意向城市',
  1625. // type: 'warning'
  1626. // });
  1627. // return
  1628. // }
  1629. // this.imgA = this.imgsA.join(',')
  1630. // // let resumesId = this.$route.query.resumesId
  1631. // this.$http({
  1632. // url: this.$http.adornUrl('resumes/insertResumes'),
  1633. // method: 'post',
  1634. // data: this.$http.adornData({
  1635. // 'resumesName': this.resumesNameA,
  1636. // 'resumesPhone': this.resumesPhoneA,
  1637. // 'resumesMajor': this.resumesMajorA,
  1638. // 'resumesEducation': this.resumesEducationA,
  1639. // 'resumesAge': this.resumesAgeA,
  1640. // 'resumesSex': this.resumesSexA,
  1641. // 'resumesMarriage': this.resumesMarriageA,
  1642. // 'resumesWorkExperience': this.resumesWorkExperienceA,
  1643. // 'resumesEmail': this.resumesEmailA,
  1644. // 'resumesCompensation': this.resumesCompensationA,
  1645. // 'resumesWorkList': this.resumesWorkListA,
  1646. // 'resumesCompanyList': this.resumesCompanyListA,
  1647. // 'resumesDetails': this.resumesDetailsA,
  1648. // 'resumesImage': this.imgsA.toString(),
  1649. // 'resumesImageName': this.resumesImageNameA.toString(),
  1650. // 'resumesIntention': this.resumesIntentionA,
  1651. // 'city': this.cityA,
  1652. // 'address': this.addressA,
  1653. // 'school': this.schoolA,
  1654. // 'major': this.majorA,
  1655. // 'rulePostName': this.rulePostNameA,
  1656. // 'ruleMajor': this.ruleMajorA.toString(),
  1657. // 'userId': this.userIdA,
  1658. // 'money': this.money,
  1659. // 'resumesPost': this.sanjiTypr,
  1660. // 'industryName': this.industry.toString(),
  1661. // 'graduationTime': this.graduationTime,
  1662. // })
  1663. // }).then(({
  1664. // data
  1665. // }) => {
  1666. // if (data.code == 0) {
  1667. // this.$message({
  1668. // message: '添加成功',
  1669. // type: 'success',
  1670. // duration: 1500,
  1671. // onClose: () => {
  1672. // this.dataSelect()
  1673. // this.dialogFormVisibleAdd = false
  1674. // }
  1675. // })
  1676. // } else {
  1677. // this.$message({
  1678. // message: data.msg,
  1679. // type: 'warning',
  1680. // duration: 1500,
  1681. // onClose: () => {}
  1682. // })
  1683. // }
  1684. // })
  1685. // },
  1686. // // 添加/修改项目经验/工作经历
  1687. // addUpdate(index, row) {
  1688. // if (row) {
  1689. // this.indexList = index
  1690. // this.createTime = row.createTime
  1691. // this.resumesClassify = row.resumesClassify
  1692. // this.resumesContent = row.resumesContent
  1693. // this.resumesDetailsId = row.resumesDetailsId
  1694. // this.resumesId = row.resumesId
  1695. // this.resumesPostS = row.resumesPost
  1696. // this.resumesProject = row.resumesProject
  1697. // this.resumesTime = row.resumesTime
  1698. // this.resumesTitle = row.resumesTitle
  1699. // this.resumesTimes = row.resumesTime.split(' - ')
  1700. // this.resumesTime1 = this.resumesTimes[0]
  1701. // this.resumesTime2 = this.resumesTimes[1]
  1702. // // console.log('resumesTime',this.resumesTime, typeof this.resumesTime,'``````',this.resumesTimes)
  1703. // } else {
  1704. // this.indexList = ''
  1705. // this.createTime = ''
  1706. // this.resumesClassify = ''
  1707. // this.resumesContent = ''
  1708. // this.resumesDetailsId = ''
  1709. // this.resumesId = ''
  1710. // this.resumesPostS = ''
  1711. // this.resumesProject = ''
  1712. // this.resumesTime = ''
  1713. // this.resumesTitle = ''
  1714. // this.resumesTimes = []
  1715. // this.resumesTime1 = ''
  1716. // this.resumesTime2 = ''
  1717. // }
  1718. // console.log(this.indexList)
  1719. // this.dialogFormVisibleGz = true
  1720. // },
  1721. // addUpdateXu(index, row) {
  1722. // if (index) {
  1723. // this.indexList = index
  1724. // }
  1725. // if (row) {
  1726. // this.createTime = row.createTime
  1727. // this.resumesClassify = row.resumesClassify
  1728. // this.resumesContent = row.resumesContent
  1729. // this.resumesDetailsId = row.resumesDetailsId
  1730. // this.resumesId = row.resumesId
  1731. // this.resumesPostS = row.resumesPost
  1732. // this.resumesTime = row.resumesTime
  1733. // this.resumesTitle = row.resumesTitle
  1734. // this.resumesTimes = row.resumesTime.split(' - ')
  1735. // this.resumesTime1 = this.resumesTimes[0]
  1736. // this.resumesTime2 = this.resumesTimes[1]
  1737. // } else {
  1738. // this.indexList = ''
  1739. // this.createTime = ''
  1740. // this.resumesClassify = ''
  1741. // this.resumesContent = ''
  1742. // this.resumesDetailsId = ''
  1743. // this.resumesId = ''
  1744. // this.resumesPostS = ''
  1745. // this.resumesTime = ''
  1746. // this.resumesTitle = ''
  1747. // }
  1748. // this.dialogFormVisibleXm = true
  1749. // },
  1750. // // 确认添加
  1751. // cashNoticeTo() {
  1752. // var times = this.resumesTime1 + ' - ' + this.resumesTime2
  1753. // this.resumesTime = times
  1754. // if (this.resumesTitle == '') {
  1755. // this.$notify({
  1756. // title: '提示',
  1757. // duration: 1800,
  1758. // message: '请输入公司名称',
  1759. // type: 'warning'
  1760. // });
  1761. // return
  1762. // }
  1763. // if (this.resumesPostS == '') {
  1764. // this.$notify({
  1765. // title: '提示',
  1766. // duration: 1800,
  1767. // message: '请输入职位',
  1768. // type: 'warning'
  1769. // });
  1770. // return
  1771. // }
  1772. // // if (this.resumesProject == '') {
  1773. // // this.$notify({
  1774. // // title: '提示',
  1775. // // duration: 1800,
  1776. // // message: '请输入项目名称',
  1777. // // type: 'warning'
  1778. // // });
  1779. // // return
  1780. // // }
  1781. // if (this.resumesTime == '') {
  1782. // this.$notify({
  1783. // title: '提示',
  1784. // duration: 1800,
  1785. // message: '请输入在职时间',
  1786. // type: 'warning'
  1787. // });
  1788. // return
  1789. // }
  1790. // if (this.resumesContent == '') {
  1791. // this.$notify({
  1792. // title: '提示',
  1793. // duration: 1800,
  1794. // message: '请输入工作内容',
  1795. // type: 'warning'
  1796. // });
  1797. // return
  1798. // }
  1799. // var dataList = {}
  1800. // dataList.createTime = this.createTime
  1801. // dataList.resumesClassify = this.resumesClassify
  1802. // dataList.resumesContent = this.resumesContent
  1803. // dataList.resumesDetailsId = this.resumesDetailsId
  1804. // dataList.resumesId = this.resumesId
  1805. // dataList.resumesPost = this.resumesPostS
  1806. // dataList.resumesProject = this.resumesProject
  1807. // dataList.resumesTime = this.resumesTime
  1808. // dataList.resumesTitle = this.resumesTitle
  1809. // console.log('this.indexList', this.indexList)
  1810. // if (this.indexList === '') {
  1811. // this.resumesCompanyListA.push(dataList)
  1812. // } else {
  1813. // this.resumesCompanyListA[this.indexList].createTime = this.createTime
  1814. // this.resumesCompanyListA[this.indexList].resumesClassify = this.resumesClassify
  1815. // this.resumesCompanyListA[this.indexList].resumesContent = this.resumesContent
  1816. // this.resumesCompanyListA[this.indexList].resumesDetailsId = this.resumesDetailsId
  1817. // this.resumesCompanyListA[this.indexList].resumesId = this.resumesId
  1818. // this.resumesCompanyListA[this.indexList].resumesPost = this.resumesPostS
  1819. // this.resumesCompanyList[this.indexList].resumesProject = this.resumesProject
  1820. // this.resumesCompanyList[this.indexList].resumesTime = this.resumesTime
  1821. // this.resumesCompanyList[this.indexList].resumesTitle = this.resumesTitle
  1822. // }
  1823. // this.dialogFormVisibleGz = false
  1824. // },
  1825. // // 删除工作经历
  1826. // deleteList(index) {
  1827. // this.resumesCompanyListA.splice(index, 1)
  1828. // },
  1829. //上传成功
  1830. handleUploadSuccess(file, fileList) {
  1831. this.imgA = file.data
  1832. this.imgsA.push(this.imgA)
  1833. this.$nextTick(() => {
  1834. this.$refs.upload.clearFiles();
  1835. })
  1836. },
  1837. handleChange(file, fileList) {
  1838. // this.hideUpload = fileList.length >= this.limit;
  1839. },
  1840. handleRemove(file, fileList) {
  1841. // this.hideUpload = fileList.length >= this.limit;
  1842. },
  1843. // 删除
  1844. clear(index) {
  1845. this.imgsA.splice(index, 1);
  1846. },
  1847. // 获取分类id
  1848. onChang(e) {
  1849. console.log(e)
  1850. this.ruleMajor = e
  1851. },
  1852. // 用户列表信息
  1853. updatesUp() {
  1854. this.dataSelectUser()
  1855. this.dialogFormVisibleUser = true
  1856. },
  1857. selectU() {
  1858. this.page1 = 1
  1859. this.dataSelectUser()
  1860. },
  1861. cleansU() {
  1862. this.page1 = 1
  1863. this.phone = ''
  1864. this.nickName = ''
  1865. this.dataSelectUser()
  1866. },
  1867. // 获取数据列表
  1868. dataSelectUser() {
  1869. this.tableDataLoadingUser = true
  1870. this.$http({
  1871. url: this.$http.adornUrl('user/selectUserList'),
  1872. method: 'get',
  1873. params: this.$http.adornParams({
  1874. 'page': this.page1,
  1875. 'limit': this.size1,
  1876. 'member': '',
  1877. 'phone': this.phone,
  1878. 'userName': this.nickName,
  1879. 'isAuthentication': 1,
  1880. 'userResumesStatus': '',
  1881. 'weekMember': '',
  1882. 'resumes': ''
  1883. })
  1884. }).then(({
  1885. data
  1886. }) => {
  1887. this.tableDataLoadingUser = false
  1888. let returnData = data.data
  1889. this.tableDataUser = returnData
  1890. })
  1891. },
  1892. // 确定选择用户
  1893. updatesBtn(row) {
  1894. this.userNameA = row.userName
  1895. this.userIdA = row.userId
  1896. this.dialogFormVisibleUser = false
  1897. },
  1898. // 岗位筛选
  1899. selectGa(e) {
  1900. this.resumesPostA = e.ruleClassifyName
  1901. this.resumesPost = e.ruleClassifyName
  1902. this.ruleClassifyId = e.ruleClassifyId
  1903. if (this.ruleClassifyId != '') {
  1904. this.isshow1 = false
  1905. this.zySelect()
  1906. }
  1907. },
  1908. // 删除
  1909. deleteClick(row) {
  1910. this.$confirm(`确定删除此条信息?`, '提示', {
  1911. confirmButtonText: '确定',
  1912. cancelButtonText: '取消',
  1913. type: 'warning'
  1914. }).then(() => {
  1915. this.$http({
  1916. url: this.$http.adornUrl('resumes/deleteResumes'),
  1917. method: 'post',
  1918. params: this.$http.adornParams({
  1919. 'resumesId': row.resumesId
  1920. })
  1921. }).then(({
  1922. data
  1923. }) => {
  1924. if (data.code == 0) {
  1925. this.$message({
  1926. message: '删除成功',
  1927. type: 'success',
  1928. duration: 1500,
  1929. onClose: () => {
  1930. this.dataSelect()
  1931. }
  1932. })
  1933. } else {
  1934. this.$notify({
  1935. title: '提示',
  1936. duration: 1800,
  1937. message: data.msg,
  1938. type: 'warning'
  1939. });
  1940. }
  1941. })
  1942. }).catch(() => {})
  1943. },
  1944. dataSelectDsh() {
  1945. this.$http({
  1946. url: this.$http.adornUrl('resumes/selectResumesList'),
  1947. method: 'get',
  1948. params: this.$http.adornParams({
  1949. 'page': 1,
  1950. 'limit': 10,
  1951. 'status': 1,
  1952. 'resumesName': '',
  1953. 'resumesPhone': '',
  1954. 'rulePostName': '',
  1955. 'resumesPost': '',
  1956. 'resumesWorkExperience': '',
  1957. 'resumesCompensation': '',
  1958. // 'resumesMarriage': '',
  1959. 'school': '',
  1960. 'resumesAge': '',
  1961. 'isRecommend': ''
  1962. })
  1963. }).then(({
  1964. data
  1965. }) => {
  1966. console.log('获取简历未读数据````')
  1967. if (data.data) {
  1968. this.$cookie.set('numberJl', data.data.totalCount)
  1969. }
  1970. })
  1971. },
  1972. // 获取一级行业数据
  1973. hangyeSelect() {
  1974. this.$http({
  1975. url: this.$http.adornUrl('admin/industry/getIndustryList'),
  1976. method: 'get',
  1977. params: this.$http.adornParams({
  1978. 'isEnable': 1
  1979. // 'page': this.page,
  1980. // 'limit': this.limit,
  1981. // 'industryName':'',
  1982. })
  1983. }).then(({
  1984. data
  1985. }) => {
  1986. if (data.code == 0) {
  1987. this.tableDataLoading = false
  1988. let returnData = data.data
  1989. this.hangyeData = returnData
  1990. console.log('this.hangyeData', this.hangyeData)
  1991. // this.erjiTypr = false
  1992. if (this.title == '修改') {
  1993. this.hangyeSelectEr()
  1994. }
  1995. } else {
  1996. this.$notify({
  1997. title: '提示',
  1998. duration: 1800,
  1999. message: data.msg,
  2000. type: 'warning'
  2001. });
  2002. }
  2003. })
  2004. },
  2005. // 添加求职岗位
  2006. handleInputConfirm() {
  2007. this.tagList.push(this.bq)
  2008. this.bq = ''
  2009. },
  2010. // 删除求职岗位
  2011. handleClose(index) {
  2012. this.tagList.splice(index, 1);
  2013. },
  2014. cashNoticeToXm() {
  2015. var times = this.resumesTime1 + ' - ' + this.resumesTime2
  2016. this.resumesTime = times
  2017. if (this.resumesTitle == '') {
  2018. this.$notify({
  2019. title: '提示',
  2020. duration: 1800,
  2021. message: '请输入公司名称',
  2022. type: 'warning'
  2023. });
  2024. return
  2025. }
  2026. if (this.resumesPostS == '') {
  2027. this.$notify({
  2028. title: '提示',
  2029. duration: 1800,
  2030. message: '请输入职位',
  2031. type: 'warning'
  2032. });
  2033. return
  2034. }
  2035. if (this.resumesTime == '') {
  2036. this.$notify({
  2037. title: '提示',
  2038. duration: 1800,
  2039. message: '请输入在职时间',
  2040. type: 'warning'
  2041. });
  2042. return
  2043. }
  2044. if (this.resumesContent == '') {
  2045. this.$notify({
  2046. title: '提示',
  2047. duration: 1800,
  2048. message: '请输入工作内容',
  2049. type: 'warning'
  2050. });
  2051. return
  2052. }
  2053. var dataList = {}
  2054. dataList.createTime = this.createTime
  2055. dataList.resumesClassify = this.resumesClassify
  2056. dataList.resumesContent = this.resumesContent
  2057. dataList.resumesDetailsId = this.resumesDetailsId
  2058. dataList.resumesId = this.resumesId
  2059. dataList.resumesPost = this.resumesPostS
  2060. dataList.resumesTime = this.resumesTime
  2061. dataList.resumesTitle = this.resumesTitle
  2062. if (this.indexList == '') {
  2063. this.resumesWorkListA.push(dataList)
  2064. } else {
  2065. this.resumesWorkListA[this.indexList].createTime = this.createTime
  2066. this.resumesWorkListA[this.indexList].resumesClassify = this.resumesClassify
  2067. this.resumesWorkListA[this.indexList].resumesContent = this.resumesContent
  2068. this.resumesWorkListA[this.indexList].resumesDetailsId = this.resumesDetailsId
  2069. this.resumesWorkListA[this.indexList].resumesId = this.resumesId
  2070. this.resumesWorkListA[this.indexList].resumesPost = this.resumesPostS
  2071. this.resumesWorkListA[this.indexList].resumesTime = this.resumesTime
  2072. this.resumesWorkListA[this.indexList].resumesTitle = this.resumesTitle
  2073. }
  2074. // this.resumesWorkListA.push(dataList)
  2075. this.dialogFormVisibleXm = false
  2076. },
  2077. deleteListXm(index) {
  2078. this.resumesWorkList.splice(index, 1)
  2079. },
  2080. // 获取一级岗位数据
  2081. classSelect() {
  2082. this.$http({
  2083. url: this.$http.adornUrl('admin/rule/adminGetClassifyList'),
  2084. method: 'get',
  2085. params: this.$http.adornParams({
  2086. // 'page': this.page,
  2087. // 'limit': this.limit,
  2088. })
  2089. }).then(({
  2090. data
  2091. }) => {
  2092. if (data.code == 0) {
  2093. this.tableDataLoading = false
  2094. let returnData = data.data
  2095. this.yijiData = returnData.records
  2096. // this.erjiTypr = false
  2097. if (this.title == '修改') {
  2098. this.classSelectEr()
  2099. }
  2100. } else {
  2101. this.$notify({
  2102. title: '提示',
  2103. duration: 1800,
  2104. message: data.msg,
  2105. type: 'warning'
  2106. });
  2107. }
  2108. })
  2109. },
  2110. // 获取二级岗位数据
  2111. classSelectEr() {
  2112. this.$http({
  2113. url: this.$http.adornUrl('admin/rule/adminGetParentId'),
  2114. method: 'get',
  2115. params: this.$http.adornParams({
  2116. 'parentId': this.yijiid,
  2117. 'industryName': '',
  2118. // 'page': this.page,
  2119. // 'limit': this.limit,
  2120. })
  2121. }).then(({
  2122. data
  2123. }) => {
  2124. if (data.code == 0) {
  2125. this.tableDataLoading = false
  2126. let returnData = data.data
  2127. this.erjiData = returnData.records
  2128. } else {
  2129. this.$notify({
  2130. title: '提示',
  2131. duration: 1800,
  2132. message: data.msg,
  2133. type: 'warning'
  2134. });
  2135. }
  2136. })
  2137. },
  2138. // 选择一级岗位分类
  2139. yijiBtn(yijiid) {
  2140. this.erjiId = ''
  2141. this.sanjiTypr = ''
  2142. this.classSelectEr()
  2143. },
  2144. // 选择二级岗位分类
  2145. erjiBtn(erjiId) {
  2146. this.sanjiTypr = ''
  2147. for (var i in this.erjiData) {
  2148. if (this.erjiId == this.erjiData[i].ruleClassifyId) {
  2149. if (this.erjiData[i].childrens) {
  2150. this.sanjiData = this.erjiData[i].childrens
  2151. } else {
  2152. this.sanjiData = []
  2153. }
  2154. }
  2155. }
  2156. },
  2157. // 导出
  2158. exportBtn() {
  2159. var endTime = this.endTime
  2160. if (this.endTime != '') {
  2161. endTime = this.endTime + " 23:59:59"
  2162. }
  2163. this.$http({
  2164. url: this.$http.adornUrl('resumes/exportExcelResumesList'),
  2165. method: 'get',
  2166. responseType: 'blob',
  2167. params: this.$http.adornParams({
  2168. // 'page': page,
  2169. // 'size': this.size,
  2170. 'status': this.status,
  2171. 'resumesName': this.userNameT,
  2172. 'resumesPhone': this.resumesPhoneT,
  2173. 'industryName': this.rulePostNameT,
  2174. 'resumesPost': this.resumesPostT,
  2175. 'resumesWorkExperience': this.resumesWorkExperienceT,
  2176. 'resumesCompensation': this.resumesCompensationT,
  2177. 'resumesMarriage': this.resumesMarriageT,
  2178. 'school': this.school,
  2179. 'resumesAge': this.resumesAgeT,
  2180. 'isRecommend': this.classify,
  2181. 'startTime': this.startTime,
  2182. 'endTime': this.endTime,
  2183. 'isShow': this.isShowT,
  2184. })
  2185. }).then(({
  2186. data
  2187. }) => {
  2188. let blob = new Blob([data], {
  2189. type: 'application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
  2190. })
  2191. if (window.navigator.msSaveOrOpenBlob) {
  2192. navigator.msSaveBlob(blob)
  2193. } else {
  2194. let url = window.URL.createObjectURL(blob)
  2195. let elink = document.createElement('a')
  2196. elink.download = '简历列表.xlsx'
  2197. elink.style.display = 'none'
  2198. elink.href = url
  2199. document.body.appendChild(elink)
  2200. elink.click()
  2201. document.body.removeChild(elink)
  2202. }
  2203. })
  2204. },
  2205. // 是否展示
  2206. change4(isShow, row) {
  2207. this.$http({
  2208. url: this.$http.adornUrl('resumes/updateShow'),
  2209. method: 'get',
  2210. params: this.$http.adornParams({
  2211. 'resumesId': row.resumesId,
  2212. // 'isShow':isShow,
  2213. })
  2214. }).then(({
  2215. data
  2216. }) => {
  2217. if (data.code == 0) {
  2218. this.$message({
  2219. message: '修改成功',
  2220. type: 'success',
  2221. duration: 1500,
  2222. onClose: () => {
  2223. this.dataSelect()
  2224. }
  2225. })
  2226. } else {
  2227. this.$message({
  2228. message: data.msg,
  2229. type: 'warning',
  2230. duration: 1500,
  2231. onClose: () => {}
  2232. })
  2233. }
  2234. })
  2235. },
  2236. },
  2237. mounted() {
  2238. var statusN = this.$route.query.status
  2239. var isRecommendN = this.$route.query.isRecommend
  2240. if (statusN) {
  2241. this.status = Number(statusN)
  2242. } else {
  2243. this.status = ''
  2244. }
  2245. if (isRecommendN) {
  2246. this.classify = 1
  2247. } else {
  2248. this.classify = ''
  2249. }
  2250. this.dataSelect()
  2251. // this.zySelect()
  2252. this.gzjySelect()
  2253. this.xlSelect()
  2254. this.hySelect()
  2255. this.qwxzSelect()
  2256. // this.zwSelect()
  2257. this.zsmcSelect()
  2258. this.qtzySelect()
  2259. }
  2260. };
  2261. </script>
  2262. <style>
  2263. .box {
  2264. padding: 44px;
  2265. border: 1px solid #eee;
  2266. margin: 15px 10px;
  2267. }
  2268. .box_num {
  2269. font-size: 14px;
  2270. color: #66b1ff;
  2271. }
  2272. .box_num .box_color {
  2273. color: #333;
  2274. font-size: 14px;
  2275. margin-bottom: 15px;
  2276. }
  2277. .box_num div span {
  2278. font-size: 20px;
  2279. margin-left: 5px;
  2280. }
  2281. .text_color {
  2282. color: #4f9dec;
  2283. }
  2284. .text_color span {
  2285. margin-right: 5px;
  2286. }
  2287. /* ```````````````` */
  2288. .content_item {
  2289. margin-bottom: 20px;
  2290. }
  2291. /* .content_item span {
  2292. display: inline-block;
  2293. width: 120px;
  2294. text-align: left;
  2295. } */
  2296. .bigDiv {
  2297. box-shadow: 0px 0px 10px #efefef;
  2298. margin: 10px 0;
  2299. padding: 10px;
  2300. position: relative;
  2301. }
  2302. .xiugai {
  2303. position: absolute;
  2304. right: 40px;
  2305. top: 10px;
  2306. }
  2307. .shanchu {
  2308. position: absolute;
  2309. right: 10px;
  2310. top: 10px;
  2311. }
  2312. .titleGz {
  2313. font-size: 15px;
  2314. font-weight: 600;
  2315. margin: 10px 0;
  2316. }
  2317. .spanGz {
  2318. color: #999;
  2319. }
  2320. .spanGz span {
  2321. margin-right: 20px;
  2322. padding: 5px 0;
  2323. }
  2324. .spanTime {
  2325. display: inline-block;
  2326. width: 50% !important;
  2327. }
  2328. .delGz {
  2329. color: #666;
  2330. margin: 5px 0;
  2331. }
  2332. </style>