userDetailQ.vue 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779
  1. <template>
  2. <div>
  3. <div style="display: inline-block;font-size:18px;margin-bottom: 15px;">
  4. <a href="#" @click="prev" style="text-decoration:none;font-size: 14px;">
  5. <icon-svg name="jiantou" style="width: 1.2em;height: 1.2em;position: relative;top: 0.3em;"></icon-svg>
  6. 返回
  7. </a>
  8. <span style="display: inline-block;margin: 0 15px;color: #D9D9D9;">|</span>
  9. <span>用户详情</span>
  10. </div>
  11. <el-tabs v-model="activeName" @tab-click="handleClick">
  12. <el-tab-pane label="用户详情" name="first">
  13. <div class="detailtabel">
  14. <div class="table_main">
  15. <table>
  16. <tbody>
  17. <tr>
  18. <th>累计邀请数量</th>
  19. <td>{{ tablemoney.myOrdersCount ? `${tablemoney.myOrdersCount}笔` : '0笔' }}</td>
  20. <th>本月充值金额</th>
  21. <td>{{ tablemoney.consume ? `${tablemoney.consume}钻石` : '0钻石' }}</td>
  22. <th>openId</th>
  23. <td class="border-rt">{{ tableData.openId ? tableData.openId : '未绑定' }}</td>
  24. </tr>
  25. <tr>
  26. <th>邀请人邀请码</th>
  27. <td>{{ tableData.inviterCode }}</td>
  28. <th>余额</th>
  29. <td style="color: rgb(245, 108, 108)">
  30. {{ tablenum.money&&tablenum.money.money ? `${tablenum.money.money}` : '0' }}
  31. <el-button size="mini" :disabled="!isAuth('userList:updatejf')"
  32. style="color: #4f9dec;background: #fff;border: none;"
  33. @click="rechargenone(1)">修改</el-button>
  34. </td>
  35. <th></th>
  36. <td class="border-rt">
  37. </td>
  38. <!-- <th>定制化抵扣钻石</th>
  39. <td class="border-rt">
  40. {{ tablenum.money&&tablenum.money.customizationMoney ? `${tablenum.money.customizationMoney}钻石` : '0钻石' }}
  41. <el-button size="mini" :disabled="!isAuth('userList:updatejf')"
  42. style="color: #4f9dec;background: #fff;border: none;"
  43. @click="rechargenone(2)">修改</el-button>
  44. </td> -->
  45. </tr>
  46. <tr>
  47. <th>邀请人数</th>
  48. <td>
  49. {{ tablemoney.count ? `${tablemoney.count}人` : '0人' }}
  50. <!-- {{ tableData.rate ? `${tableData.rate}` : '0' }}
  51. <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
  52. @click="ageChange(7,tableData.userId,tableData.rate)">修改</el-button> -->
  53. </td>
  54. <th>直属佣金比例</th>
  55. <td>{{ tableData.zhiRate ? `${tableData.zhiRate}` : '0' }}
  56. <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
  57. @click="ageChange(tableData.zhiRate,4)">修改</el-button>
  58. </td>
  59. <th>非直属佣金比例</th>
  60. <td class="border-rt">{{ tableData.feiRate ? tableData.feiRate : '0' }}
  61. <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
  62. @click="ageChange(tableData.feiRate,5)">修改</el-button>
  63. </td>
  64. </tr>
  65. <tr>
  66. <th>创建时间</th>
  67. <td>{{ tableData.createTime }}</td>
  68. <th>手机号</th>
  69. <td>
  70. <span v-if="isAuth('userList:phone')">{{ tableData.phone ? tableData.phone : '未绑定' }}</span>
  71. <span v-else>{{ tableData.phone1 ? tableData.phone1 : '未绑定' }}</span>
  72. <!-- {{ tableData.phone ? tableData.phone : '未绑定' }} -->
  73. <el-button size="mini" :disabled="!isAuth('userListQy:update')"
  74. style="color: #4f9dec;background: #fff;border: none;"
  75. @click="ageChange(tableData.phone,1)">修改</el-button>
  76. </td>
  77. <th>图像</th>
  78. <td class="border-rt">
  79. <img v-if="tableData.avatar==null" src="~@/assets/img/avatar.png" alt=""
  80. width="80" height="80">
  81. <img v-else :src="tableData.avatar" width="80" height="80" />
  82. <el-button size="mini" :disabled="!isAuth('userListQy:update')"
  83. style="color: #4f9dec;background: #fff;border: none;"
  84. @click="ageChange(tableData.avatar,2)">修改</el-button>
  85. </td>
  86. </tr>
  87. <tr>
  88. <th>昵称</th>
  89. <td>
  90. <span v-if="!isAuth('userList:phone') && tableData.userName1">{{ tableData.userName1 ? tableData.userName1 : '未绑定' }}</span>
  91. <span v-else>{{ tableData.userName ? tableData.userName : '未绑定' }}</span>
  92. <!-- {{ tableData.userName }} -->
  93. <el-button size="mini" :disabled="!isAuth('userListQy:update')"
  94. style="color: #4f9dec;background: #fff;border: none;"
  95. @click="ageChange(tableData.userName,3)">修改</el-button>
  96. </td>
  97. <!-- <th>来源</th>
  98. <td>{{ tableData.address ? tableData.address : '未绑定' }}</td> -->
  99. <th>编号</th>
  100. <td>{{ tableData.userId }}</td>
  101. <th>是否是会员</th>
  102. <td class="border-rt">
  103. <span v-if="tableData.isCompanyVip == 1 ">是</span>
  104. <span v-else>否</span>
  105. </td>
  106. </tr>
  107. <tr>
  108. <th>到期时间</th>
  109. <td>{{ tableData.companyMonthTime }}</td>
  110. <th>邀请码</th>
  111. <td>{{ tableData.invitationCode }}</td>
  112. <!-- <th>会员等级</th>
  113. <td>
  114. <span v-if="tableData.member == 1 ">1星</span>
  115. <span v-else-if="tableData.member == 2 ">2星</span>
  116. <span v-else>非会员</span>
  117. </td> -->
  118. <th>用户状态</th>
  119. <td class=" border-rt">
  120. <span v-if="tableData.status == 1 ">正常</span>
  121. <span v-if="tableData.status == 2 " style="color: #f56c6c;">禁用</span>
  122. <el-button size="mini" :disabled="!isAuth('userList:updateStatus')"
  123. style="color: #4f9dec;background: #fff;border: none;"
  124. @click="stateChange(tableData.userId)">更改状态</el-button>
  125. </td>
  126. </tr>
  127. <tr>
  128. <th>是否是会员</th>
  129. <td>
  130. {{tableData.isCompanyVip==1?'是':'否'}}
  131. </td>
  132. <!-- <th>入职状态</th>
  133. <td>
  134. <span v-if="tableData.userResumesStatus==1">简历展示</span>
  135. <span
  136. v-if="tableData.userResumesStatus==2||tableData.userResumesStatus==4">简历隐藏</span>
  137. <span v-if="tableData.userResumesStatus==3">待审核</span>
  138. <span v-if="!tableData.userResumesStatus">简历展示</span>
  139. </td> -->
  140. <th>用户类型</th>
  141. <td>
  142. <!-- <span>企业</span> -->
  143. <span v-if="tableData.userType==2">
  144. {{ tableData.companyType == 2 ? '猎头企业' : '一般企业' }}
  145. </span>
  146. <el-button size="mini" :disabled="!isAuth('userListQy:update')"
  147. style="color: #4f9dec;background: #fff;border: none;"
  148. @click="ageChange(tableData.userType,6)">修改</el-button>
  149. </td>
  150. <!-- <th>邀请人数</th>
  151. <td class=" border-rt">
  152. {{ tablemoney.count ? `${tablemoney.count}人` : '0人' }}
  153. </td> -->
  154. <th></th>
  155. <td class="border-rt">
  156. </td>
  157. </tr>
  158. <tr v-if="company.companyId">
  159. <th>公司名称</th>
  160. <td>{{ company.companyName }}</td>
  161. <!-- <th>公司法人</th>
  162. <td>{{ company.companyLegalPerson}}</td>
  163. <th>企业税号</th>
  164. <td class=" border-rt">
  165. <span>{{company.companyDutyParagraph}}</span>
  166. </td> -->
  167. <th>企业LOGO</th>
  168. <td>
  169. <el-popover placement="top-start" title="" trigger="hover">
  170. <img style="width: 50px; height: 50px" :src="company.companyLogo" alt=""
  171. slot="reference">
  172. <img style="width: 300px; height: 300px" :src="company.companyLogo" alt="">
  173. </el-popover>
  174. </td>
  175. <th>企业资质</th>
  176. <td class="border-rt">
  177. <div v-if="company.companyCertification">
  178. <span v-for="(item,index) in company.companyCertification.split(',')">
  179. <el-popover placement="top-start" title="" trigger="hover">
  180. <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;"
  181. :src="item" alt="" slot="reference">
  182. <img style="width: 300px; height: 300px" :src="item" alt="">
  183. </el-popover>
  184. </span>
  185. </div>
  186. </td>
  187. </tr>
  188. <tr v-if="company.companyId">
  189. <th>经营范围</th>
  190. <td>{{ company.companyScope }}</td>
  191. <th>企业地址</th>
  192. <td>{{ company.companyAddress }}</td>
  193. <th>注册资金(单位:万)</th>
  194. <td class=" border-rt">
  195. {{ company.companyRegisteredFund }}
  196. </td>
  197. </tr>
  198. <!-- <tr v-if="company.companyId">
  199. <th>企业LOGO</th>
  200. <td>
  201. <el-popover placement="top-start" title="" trigger="hover">
  202. <img style="width: 50px; height: 50px" :src="company.companyLogo" alt=""
  203. slot="reference">
  204. <img style="width: 300px; height: 300px" :src="company.companyLogo" alt="">
  205. </el-popover>
  206. </td>
  207. <th>企业资质</th>
  208. <td>
  209. <div v-if="company.companyCertification">
  210. <span v-for="(item,index) in company.companyCertification.split(',')">
  211. <el-popover placement="top-start" title="" trigger="hover">
  212. <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;" :src="item" alt=""
  213. slot="reference">
  214. <img style="width: 300px; height: 300px" :src="item" alt="">
  215. </el-popover>
  216. </span>
  217. </div>
  218. </td>
  219. <th>企业证书</th>
  220. <td class=" border-rt">
  221. <div v-if="company.companyCertificate">
  222. <span v-for="(item,index) in company.companyCertificate.split(',')">
  223. <el-popover placement="top-start" title="" trigger="hover">
  224. <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;" :src="item" alt=""
  225. slot="reference">
  226. <img style="width: 300px; height: 300px" :src="item" alt="">
  227. </el-popover>
  228. </span>
  229. </div>
  230. </td>
  231. </tr> -->
  232. <tr v-if="company.companyId">
  233. <th class="border-bt">企业简介</th>
  234. <td class="border-bt" style="mix-width: 400px;" colspan="100%">
  235. <div>{{company.companyContent}}</div>
  236. </td>
  237. </tr>
  238. </tbody>
  239. </table>
  240. </div>
  241. </div>
  242. </el-tab-pane>
  243. <el-tab-pane label="提现记录" name="sixth">
  244. <el-table v-loading="tableDataLoading" :data="withdrawData.list">
  245. <el-table-column fixed prop="id" label="编号" width="80">
  246. </el-table-column>
  247. <el-table-column prop="zhifubao" label="支付宝账号">
  248. <template slot-scope="scope">
  249. <span
  250. style="color: #4f9dec;cursor: pointer;">{{scope.row.zhifubao ? scope.row.zhifubao : 'null'}}</span>
  251. </template>
  252. </el-table-column>
  253. <el-table-column prop="zhifubaoName" label="支付宝名称">
  254. <template slot-scope="scope">
  255. <span>{{scope.row.zhifubaoName ? scope.row.zhifubaoName : 'null'}}</span>
  256. </template>
  257. </el-table-column>
  258. <el-table-column prop="money" label="提现金额" width="100">
  259. </el-table-column>
  260. <el-table-column prop="state" label="状态" width="100" fixed="right">
  261. <template slot-scope="scope">
  262. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 0">待转账</span>
  263. <span v-if="scope.row.state == 1">已转账</span>
  264. <span v-if="scope.row.state == -1">已退款</span>
  265. </template>
  266. </el-table-column>
  267. <el-table-column prop="refund" label="退款原因" width="220">
  268. </el-table-column>
  269. <el-table-column prop="createAt" label="申请时间" width="170">
  270. </el-table-column>
  271. <el-table-column prop="outAt" label="转账/退款时间" width="180">
  272. </el-table-column>
  273. </el-table>
  274. <div style="text-align: center;margin-top: 10px;">
  275. <el-pagination @size-change="handleSizeChangeTxjl" @current-change="handleCurrentChangeTxjl"
  276. :page-sizes="[5, 10, 15, 20]" :page-size="limit" :current-page="page"
  277. layout="total,sizes, prev, pager, next,jumper" :total="withdrawData.totalCount">
  278. </el-pagination>
  279. </div>
  280. </el-tab-pane>
  281. <el-tab-pane label="钱包明细" name="eighth">
  282. <el-table v-loading="tableDataLoading" :data="walletData.records">
  283. <el-table-column prop="id" label="编号" width="100"></el-table-column>
  284. <el-table-column prop="title" label="标题"></el-table-column>
  285. <el-table-column prop="content" label="内容"></el-table-column>
  286. <el-table-column prop="money" label="金额" width="100">
  287. <template slot-scope="scope">
  288. <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
  289. <span style="color: #006600;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
  290. </template>
  291. </el-table-column>
  292. <el-table-column prop="createTime" label="创建时间" width="180"></el-table-column>
  293. </el-table>
  294. <div style="text-align: center;margin-top: 10px;">
  295. <el-pagination @size-change="handleSizeChangeQbmx" @current-change="handleCurrentChangeQbmx"
  296. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  297. layout="total,sizes, prev, pager, next,jumper" :total="walletData.total">
  298. </el-pagination>
  299. </div>
  300. </el-tab-pane>
  301. <!-- <el-tab-pane label="定制化抵扣明细" name="dongjie">
  302. <el-table v-loading="tableDataLoading" :data="rechargeData.records">
  303. <el-table-column prop="id" label="编号" width="100"></el-table-column>
  304. <el-table-column prop="title" label="标题"></el-table-column>
  305. <el-table-column prop="content" label="内容"></el-table-column>
  306. <el-table-column prop="money" label="钻石" width="100">
  307. <template slot-scope="scope">
  308. <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
  309. <span style="color: #006600;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
  310. </template>
  311. </el-table-column>
  312. <el-table-column prop="createTime" label="创建时间" width="180"></el-table-column>
  313. </el-table>
  314. <div style="text-align: center;margin-top: 10px;">
  315. <el-pagination @size-change="handleSizeChangeDzh" @current-change="handleCurrentChangeDzh"
  316. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  317. layout="total,sizes, prev, pager, next,jumper" :total="rechargeData.total">
  318. </el-pagination>
  319. </div>
  320. </el-tab-pane> -->
  321. <el-tab-pane label="充值明细" name="seventh">
  322. <div style="display: inline-block;">
  323. <span>开始时间:</span>
  324. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right"
  325. type="datetime" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
  326. </el-date-picker>&nbsp;&nbsp;&nbsp;
  327. <span>截止时间:</span>
  328. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right"
  329. type="datetime" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
  330. </el-date-picker>
  331. <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="timeDate2">
  332. 查询</el-button>
  333. </div>
  334. <el-table v-loading="tableDataLoading" :data="rechargeData.list">
  335. <el-table-column prop="id" label="编号" width="50"></el-table-column>
  336. <el-table-column prop="orderId" label="充值订单号" width="200"></el-table-column>
  337. <el-table-column prop="money" label="充值金额"></el-table-column>
  338. <el-table-column prop="userId" label="会员编号"></el-table-column>
  339. <el-table-column label="业务类型">
  340. <template slot-scope="scope">
  341. <span v-if="scope.row.type == 1">充值</span>
  342. <span v-if="scope.row.type == 2">会员</span>
  343. </template>
  344. </el-table-column>
  345. <el-table-column label="分类" width="120">
  346. <template slot-scope="scope"> <!-- 1app微信 2微信公众号 3微信小程序 4app支付宝 5H5支付宝 6微信PC 7支付宝PC -->
  347. <!-- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 1">微信</span>
  348. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 2">支付宝</span> -->
  349. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 1">app微信</span>
  350. <span style="color: #4f9dec;cursor: pointer;"
  351. v-else-if="scope.row.classify == 2">微信公众号</span>
  352. <span style="color: #4f9dec;cursor: pointer;"
  353. v-else-if="scope.row.classify == 3">微信小程序</span>
  354. <span style="color: #4f9dec;cursor: pointer;"
  355. v-else-if="scope.row.classify == 4">app支付宝</span>
  356. <span style="color: #4f9dec;cursor: pointer;"
  357. v-else-if="scope.row.classify == 5">H5支付宝</span>
  358. <span style="color: #4f9dec;cursor: pointer;"
  359. v-else-if="scope.row.classify == 6">微信PC</span>
  360. <span style="color: #4f9dec;cursor: pointer;"
  361. v-else-if="scope.row.classify == 7">支付宝PC</span>
  362. <span style="color: #4f9dec;cursor: pointer;" v-else>暂无</span>
  363. </template>
  364. </el-table-column>
  365. <el-table-column label="状态">
  366. <template slot-scope="scope">
  367. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 0">待支付</span>
  368. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 1">支付成功</span>
  369. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 2">支付失败</span>
  370. </template>
  371. </el-table-column>
  372. <el-table-column prop="createTime" label="创建时间" width="170">
  373. </el-table-column>
  374. <el-table-column prop="payTime" label="支付时间" width="170">
  375. </el-table-column>
  376. </el-table>
  377. <div style="text-align: center;margin-top: 10px;">
  378. <el-pagination @size-change="handleSizeChangeCzmx" @current-change="handleCurrentChangeCzmx"
  379. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  380. layout="total,sizes, prev, pager, next,jumper" :total="rechargeData.totalCount">
  381. </el-pagination>
  382. </div>
  383. </el-tab-pane>
  384. <el-tab-pane label="浏览简历" name="fangke">
  385. <div>
  386. <div style="position: relative;display: inline-block;">
  387. <span>职位:</span>
  388. <el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入职位"
  389. v-model="resumesPost">
  390. </el-input>&nbsp;&nbsp;
  391. </div>
  392. <div style="margin:5px;display: inline-block;">
  393. <span>开始时间:</span>
  394. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right"
  395. type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
  396. </el-date-picker>&nbsp;&nbsp;
  397. </div>
  398. <div style="margin:5px;display: inline-block;">
  399. <span>截止时间:</span>
  400. <el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right"
  401. type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
  402. </el-date-picker>
  403. </div>
  404. <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询
  405. </el-button>
  406. <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans">重置
  407. </el-button>
  408. </div>
  409. <el-table v-loading="tableDataLoading" :data="fangkeData.records">
  410. <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
  411. </el-table-column>
  412. <el-table-column prop="resumesName" label="姓名" width="100">
  413. <template slot-scope="scope">
  414. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row"
  415. @click="updates(scope.row)">{{scope.row.resumesName ? scope.row.resumesName : '未绑定'}}</span>
  416. </template>
  417. </el-table-column>
  418. <el-table-column prop="resumesPhone" label="电话" width="150">
  419. <template slot-scope="scope">
  420. <span v-if="scope.row">{{scope.row.resumesPhone }}</span>
  421. </template>
  422. </el-table-column>
  423. <el-table-column prop="major" label="专业">
  424. <template slot-scope="scope">
  425. <el-popover placement="top-start" title="" trigger="hover">
  426. <div slot="reference"
  427. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  428. {{scope.row.major}}
  429. </div>
  430. <div style="width: 300px;">{{scope.row.major}}</div>
  431. </el-popover>
  432. </template>
  433. </el-table-column>
  434. <el-table-column prop="resumesEducation" label="学历">
  435. </el-table-column>
  436. <el-table-column prop="resumesAge" label="年龄">
  437. </el-table-column>
  438. <el-table-column prop="resumesMarriage" label="婚姻状态">
  439. </el-table-column>
  440. <el-table-column prop="resumesWorkExperience" label="工作经验" width="160">
  441. </el-table-column>
  442. <el-table-column prop="resumesPost" label="职位">
  443. </el-table-column>
  444. <el-table-column prop="resumesImage" label="资质证书" width="150">
  445. <template slot-scope="scope">
  446. <div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
  447. <div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
  448. <el-popover placement="top-start" title="" trigger="hover">
  449. <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
  450. <img style="width: 200px; height: 200px" :src="item" alt="">
  451. </el-popover>
  452. </div>
  453. </div>
  454. </template>
  455. </el-table-column>
  456. <el-table-column prop="resumesEmail" label="邮箱" width="160">
  457. </el-table-column>
  458. <el-table-column prop="resumesCompensation" label="期望薪资" width="160">
  459. </el-table-column>
  460. <el-table-column prop="resumesDetails" label="自我介绍" width="160">
  461. </el-table-column>
  462. <el-table-column prop="status" label="状态" width="80" fixed="right">
  463. <template slot-scope="scope">
  464. <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待推送</span>
  465. <span style="color: red;" v-if="scope.row.status === 2 ">已推送</span>
  466. <span style="color: #999;" v-if="scope.row.status === 3 ">未完成</span>
  467. </template>
  468. </el-table-column>
  469. <el-table-column prop="bUpdateTime" label="浏览时间" width="160">
  470. </el-table-column>
  471. <el-table-column label="操作" prop="id" width="160" fixed='right' align="center">
  472. <template slot-scope="scope">
  473. <el-button size="mini" type="primary" @click="updates(scope.row)" style="margin: 5px;">
  474. 简历详情
  475. </el-button>
  476. <el-button size="mini" type="danger" @click="deleteLlBtn(scope.row)" style="margin: 5px;">
  477. 删除记录
  478. </el-button>
  479. </template>
  480. </el-table-column>
  481. </el-table>
  482. <div style="text-align: center;margin-top: 10px;">
  483. <el-pagination @size-change="handleSizeChangeLljl" @current-change="handleCurrentChangeLljl"
  484. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  485. layout="total,sizes, prev, pager, next,jumper" :total="fangkeData.total">
  486. </el-pagination>
  487. </div>
  488. </el-tab-pane>
  489. <!-- 我的团队 -->
  490. <el-tab-pane label="我的团队" name="tuandui">
  491. <div>
  492. <span>等级:</span>
  493. <el-select v-model="types" style="width:150px;margin-left: 10px;" @change="animeDat(types)">
  494. <el-option v-for="item in typesList" :key="item.type" :label="item.name"
  495. :value="item.type">
  496. </el-option>
  497. </el-select>&nbsp;&nbsp;&nbsp;
  498. </div>
  499. <el-table v-loading="tableDataLoading" :data="tuanduiData.records">
  500. <el-table-column fixed prop="userId" label="id" width="80">
  501. </el-table-column>
  502. <el-table-column prop="nickName" label="用户昵称">
  503. <template slot-scope="scope">
  504. <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)">
  505. {{scope.row.userName ? scope.row.userName : '未绑定'}}
  506. </div>
  507. </template>
  508. </el-table-column>
  509. <el-table-column prop="avatar" label="用户头像">
  510. <template slot-scope="scope">
  511. <div style="margin-top: 5px;" v-if="scope.row.avatar">
  512. <el-popover placement="top-start" title="" trigger="hover">
  513. <img style="width: 50px; height: 50px" :src="scope.row.avatar" alt=""
  514. slot="reference">
  515. <img style="width: 200px; height: 200px" :src="scope.row.avatar" alt="">
  516. </el-popover>
  517. </div>
  518. <div v-else><img style="width: 50px; height: 50px" src="~@/assets/img/avatar.png" alt=""
  519. slot="reference"></div>
  520. </template>
  521. </el-table-column>
  522. <el-table-column prop="phone" label="电话">
  523. </el-table-column>
  524. <el-table-column prop="money" label="收益">
  525. </el-table-column>
  526. <el-table-column prop="createTime" label="创建时间" width="160">
  527. </el-table-column>
  528. </el-table>
  529. <div style="text-align: center;margin-top: 10px;">
  530. <el-pagination @size-change="handleSizeChangeTd" @current-change="handleCurrentChangeTd"
  531. :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit" :current-page="page"
  532. layout="total,sizes, prev, pager, next,jumper" :total="tuanduiData.total">
  533. </el-pagination>
  534. </div>
  535. </el-tab-pane>
  536. <el-tab-pane label="面试记录" name="fapiao">
  537. <el-table width="780px" v-loading="tableDataLoading4" :data="fapiaoData.records">
  538. <el-table-column prop="recordId" label="编号" width="80">
  539. </el-table-column>
  540. <el-table-column prop="postPush.ruleClassifyName" label="面试岗位">
  541. <!-- <template slot-scope="scope">
  542. <el-popover placement="top-start" title="" trigger="hover">
  543. <div style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;" v-html="scope.row.title" slot="reference"></div>
  544. <div style="width: 500px;" v-html="scope.row.title"></div>
  545. </el-popover>
  546. </template> -->
  547. </el-table-column>
  548. <el-table-column prop="postPush.salaryRange" label="岗位薪资">
  549. </el-table-column>
  550. <el-table-column prop="userEntity.userName" label="面试用户">
  551. <template slot-scope="scope">
  552. <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row.userEntity)">
  553. {{scope.row.userEntity ? scope.row.userEntity.userName : '未绑定'}}
  554. </div>
  555. </template>
  556. </el-table-column>
  557. <el-table-column prop="interviewDateTime" label="面试时间">
  558. </el-table-column>
  559. <el-table-column prop="detailedAddress" label="面试地点" width="250">
  560. </el-table-column>
  561. <el-table-column prop="remarks" label="面试备注">
  562. </el-table-column>
  563. <el-table-column prop="createTime" label="创建时间">
  564. </el-table-column>
  565. <el-table-column prop="status" label="状态">
  566. <template slot-scope="scope">
  567. <span v-if="scope.row.status==1">待接受</span>
  568. <span v-if="scope.row.status==2">已接受</span>
  569. <span v-if="scope.row.status==3">已拒绝</span>
  570. <span v-if="scope.row.status==4">已过期</span>
  571. </template>
  572. </el-table-column>
  573. </el-table>
  574. <div style="text-align: center;margin-top: 10px;">
  575. <el-pagination @size-change="handleSizeChangeF" @current-change="handleCurrentChangeF"
  576. :page-sizes="[5, 10, 15, 20]" :page-size="size2" :current-page="page2"
  577. layout="total,sizes, prev, pager, next,jumper" :total="fapiaoData.total">
  578. </el-pagination>
  579. </div>
  580. </el-tab-pane>
  581. <el-tab-pane label="我的招聘" name="zhaopin">
  582. <el-table v-loading="tableDataLoading" :data="takeData.records">
  583. <el-table-column fixed prop="postPushId" label="编号" width="50">
  584. </el-table-column>
  585. <el-table-column prop="ruleClassifyName" label="岗位名称">
  586. </el-table-column>
  587. <el-table-column prop="stationName" label="职位名称">
  588. </el-table-column>
  589. <el-table-column prop="company.companyName" label="企业名称">
  590. </el-table-column>
  591. <el-table-column prop="positionDetails" label="职位信息" width="200">
  592. <template slot-scope="scope">
  593. <div
  594. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  595. <el-popover placement="top-start" title="" trigger="hover">
  596. <div slot="reference" v-html="scope.row.positionDetails"></div>
  597. <div style="width: 400px;" v-html="scope.row.positionDetails"></div>
  598. </el-popover>
  599. </div>
  600. </template>
  601. </el-table-column>
  602. <el-table-column prop="hr.hrEmail" label="邮箱地址">
  603. </el-table-column>
  604. <el-table-column prop="salaryRange" label="薪资范围">
  605. </el-table-column>
  606. <el-table-column prop="education" label="学历">
  607. </el-table-column>
  608. <el-table-column prop="experience" label="经验">
  609. </el-table-column>
  610. <!-- <el-table-column prop="industry" label="行业">
  611. </el-table-column> -->
  612. <el-table-column prop="typeDesc" label="招聘类型">
  613. </el-table-column>
  614. <el-table-column prop="province" label="省">
  615. </el-table-column>
  616. <el-table-column prop="city" label="市">
  617. </el-table-column>
  618. <el-table-column prop="county" label="区">
  619. </el-table-column>
  620. <el-table-column prop="address" label="详情地址">
  621. </el-table-column>
  622. <el-table-column prop="createTime" label="创建时间">
  623. </el-table-column>
  624. <el-table-column prop="status" label="状态" fixed="right">
  625. <template slot-scope="scope">
  626. <span style="color: #999;" v-if="scope.row.status==1">待审核</span>
  627. <span style="color: #13ce66;" v-if="scope.row.status==2">正常</span>
  628. <span style="color: #ff4949;" v-else-if="scope.row.status==5">下架</span>
  629. <span style="color: #ff4949;" v-else-if="scope.row.status==3">审核拒绝</span>
  630. <span style="color: #999;" v-else-if="scope.row.status==4">已取消</span>
  631. </template>
  632. </el-table-column>
  633. <!-- <el-table-column fixed="right" label="操作" width="180">
  634. <template slot-scope="scope">
  635. <el-button size="mini" type="primary" @click="liulan(scope.row)" style="margin: 3px;">浏览列表
  636. </el-button>
  637. </template>
  638. </el-table-column> -->
  639. </el-table>
  640. <div style="text-align: center;margin-top: 10px;">
  641. <el-pagination @size-change="handleSizeChangeTs" @current-change="handleCurrentChangeTs"
  642. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  643. layout="total,sizes, prev, pager, next,jumper" :total="takeData.total">
  644. </el-pagination>
  645. </div>
  646. </el-tab-pane>
  647. <el-tab-pane label="我的黑名单" name="heimigndan">
  648. <el-table v-loading="tableDataLoadingLl" :data="tableData2.list">
  649. <el-table-column prop="userId" label="编号" width="50">
  650. </el-table-column>
  651. <el-table-column prop="user.userName" label="用户昵称">
  652. <template slot-scope="scope">
  653. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.user" @click="updates(scope.row)">
  654. {{ scope.row.user ? scope.row.user.phone : '未绑定' }}
  655. </span>
  656. <div v-else>-</div>
  657. </template>
  658. </el-table-column>
  659. <el-table-column label="图像">
  660. <template slot-scope="scope">
  661. <div v-if="scope.row.user">
  662. <img :src="scope.row.user.avatar" alt="" width="40" height="40">
  663. </div>
  664. <img v-else src="~@/assets/img/avatar.png"
  665. alt="" width="40" height="40">
  666. </template>
  667. </el-table-column>
  668. <el-table-column prop="phone" label="手机号">
  669. </el-table-column>
  670. <el-table-column prop="user.invitationCode" label="邀请码"></el-table-column>
  671. <el-table-column prop="user.inviterCode" label="邀请人邀请码">
  672. </el-table-column>
  673. <el-table-column prop="userResumesStatus" label="是否入职">
  674. <template slot-scope="scope">
  675. <div v-if="scope.row.user">
  676. <span
  677. v-if="scope.row.user.userResumesStatus==2||scope.row.user.userResumesStatus==4">简历隐藏</span>
  678. <span v-else-if="scope.row.user.userResumesStatus==3">审核中</span>
  679. <span v-else>简历展示</span>
  680. </div>
  681. </template>
  682. </el-table-column>
  683. <el-table-column prop="createTime" label="创建时间">
  684. </el-table-column>
  685. <el-table-column label="操作" width="160" fixed="right">
  686. <template slot-scope="scope">
  687. <div v-if="scope.row.user">
  688. <el-button size="mini" type="danger" @click="laheiBtn(scope.row,1)" style="margin: 5px;">
  689. 拉出黑名单
  690. </el-button>
  691. <el-button size="mini" type="primary" @click="updates(scope.row)" style="margin: 3px;">用户详情
  692. </el-button>
  693. </div>
  694. <div v-else>用户已注销</div>
  695. </template>
  696. </el-table-column>
  697. </el-table>
  698. <div style="text-align: center;margin-top: 10px;">
  699. <el-pagination @size-change="handleSizeChangeLl" @current-change="handleCurrentChangeLl"
  700. :page-sizes="[10, 20, 30, 40]" :page-size="limitL" :current-page="pageL"
  701. layout="total,sizes, prev, pager, next,jumper" :total="tableData2.totalCount">
  702. </el-pagination>
  703. </div>
  704. </el-tab-pane>
  705. <!-- 收到的简历 -->
  706. <el-tab-pane label="收到的简历" name="toudi">
  707. <el-table v-loading="tableDataLoading" :data="tdjlData.records">
  708. <el-table-column prop="recordId" label="编号" width="80" fixed="left">
  709. </el-table-column>
  710. <el-table-column prop="postPush.ruleClassifyName" label="投递岗位">
  711. </el-table-column>
  712. <el-table-column prop="resumes" label="姓名" width="100">
  713. <template slot-scope="scope">
  714. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.resumes"
  715. @click="updates(scope.row.resumes)">{{scope.row.resumes.resumesName ? scope.row.resumes.resumesName : '未绑定'}}</span>
  716. </template>
  717. </el-table-column>
  718. <el-table-column prop="resumes.resumesPhone" label="电话" width="150">
  719. <template slot-scope="scope">
  720. <span v-if="scope.row.resumes">{{scope.row.resumes.resumesPhone }}</span>
  721. </template>
  722. </el-table-column>
  723. <el-table-column prop="resumes.major" label="专业">
  724. <template slot-scope="scope">
  725. <el-popover placement="top-start" title="" trigger="hover">
  726. <div slot="reference"
  727. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  728. {{scope.row.resumes.major}}
  729. </div>
  730. <div style="width: 300px;">{{scope.row.resumes.major}}</div>
  731. </el-popover>
  732. </template>
  733. </el-table-column>
  734. <el-table-column prop="resumes.resumesEducation" label="学历">
  735. </el-table-column>
  736. <el-table-column prop="resumes.resumesAge" label="年龄">
  737. </el-table-column>
  738. <el-table-column prop="resumes.resumesMarriage" label="婚姻状态">
  739. </el-table-column>
  740. <el-table-column prop="resumes.resumesWorkExperience" label="工作经验" width="160">
  741. </el-table-column>
  742. <el-table-column prop="resumes.resumesPost" label="职位">
  743. </el-table-column>
  744. <el-table-column prop="resumesImage" label="资质证书" width="150">
  745. <template slot-scope="scope">
  746. <div style="display:flex;flex-wrap: wrap;"
  747. v-if="scope.row.resumes&&scope.row.resumes.resumesImage">
  748. <div v-for="(item,index) in scope.row.resumes.resumesImage.split(',')" :key="index">
  749. <el-popover placement="top-start" title="" trigger="hover">
  750. <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
  751. <img style="width: 200px; height: 200px" :src="item" alt="">
  752. </el-popover>
  753. </div>
  754. </div>
  755. </template>
  756. </el-table-column>
  757. <el-table-column prop="resumes.resumesEmail" label="邮箱" width="160">
  758. </el-table-column>
  759. <el-table-column prop="resumes.resumesCompensation" label="期望薪资" width="160">
  760. </el-table-column>
  761. <el-table-column prop="resumes.resumesDetails" label="自我介绍" width="160">
  762. </el-table-column>
  763. <el-table-column prop="resumes.status" label="状态" width="80" fixed="right">
  764. <template slot-scope="scope">
  765. <span style="color: #4f9dec;" v-if="scope.row.resumes.status === 1 ">待推送</span>
  766. <span style="color: red;" v-if="scope.row.resumes.status === 2 ">已推送</span>
  767. <span style="color: #999;" v-if="scope.row.resumes.status === 3 ">未完成</span>
  768. </template>
  769. </el-table-column>
  770. <el-table-column prop="resumes.createTime" label="创建时间" width="160">
  771. </el-table-column>
  772. <el-table-column prop="createTime" label="操作" width="160" fixed="right">
  773. <template slot-scope="scope">
  774. <el-button size="mini" type="warning" disabled style="margin: 5px;"
  775. v-if="scope.row.resumes.isShield==1">已加入黑名单
  776. </el-button>
  777. <el-button size="mini" type="danger" @click="laheiBtn(scope.row,2)" style="margin: 5px;"
  778. v-else>加入黑用户
  779. </el-button>
  780. </template>
  781. </el-table-column>
  782. </el-table>
  783. <div style="text-align: center;margin-top: 10px;">
  784. <el-pagination @size-change="handleSizeChangetdjl" @current-change="handleCurrentChangetdjl"
  785. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  786. layout="total,sizes, prev, pager, next,jumper" :total="tdjlData.total">
  787. </el-pagination>
  788. </div>
  789. </el-tab-pane>
  790. <!-- 已获取的简历 -->
  791. <el-tab-pane label="已获取的简历" name="huoqu">
  792. <el-table v-loading="tableDataLoading" :data="yhqjlData.records">
  793. <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
  794. </el-table-column>
  795. <el-table-column prop="userName" label="用户昵称" width="100">
  796. <template slot-scope="scope">
  797. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.userName"
  798. @click="updates(scope.row)">{{scope.row.userName ? scope.row.userName : '未绑定'}}</span>
  799. </template>
  800. </el-table-column>
  801. <el-table-column prop="resumesName" label="姓名" width="100">
  802. </el-table-column>
  803. <el-table-column prop="resumesPhone" label="电话" width="150">
  804. </el-table-column>
  805. <el-table-column prop="resumesSex" label="性别">
  806. <template slot-scope="scope">
  807. <span v-if="scope.row.resumesSex==1">男</span>
  808. <span v-if="scope.row.resumesSex==2">女</span>
  809. </template>
  810. </el-table-column>
  811. <el-table-column prop="resumesEducation" label="学历">
  812. </el-table-column>
  813. <el-table-column prop="resumesAge" label="年龄">
  814. </el-table-column>
  815. <el-table-column prop="payMoney" label="支付金额" width="160">
  816. </el-table-column>
  817. <el-table-column prop="payType" label="支付方式" width="80">
  818. <template slot-scope="scope">
  819. <span style="color: #4f9dec;" v-if="scope.row.payType === 1 ">次数购买</span>
  820. <span style="color: #4f9dec;" v-if="scope.row.payType === 2 ">钻石购买</span>
  821. </template>
  822. </el-table-column>
  823. <el-table-column prop="createTime" label="购买时间" width="160">
  824. </el-table-column>
  825. </el-table>
  826. <div style="text-align: center;margin-top: 10px;">
  827. <el-pagination @size-change="handleSizeChangeyhq" @current-change="handleCurrentChangeyhq"
  828. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  829. layout="total,sizes, prev, pager, next,jumper" :total="yhqjlData.total">
  830. </el-pagination>
  831. </div>
  832. </el-tab-pane>
  833. <el-tab-pane label="我收藏的简历" name="shoucang">
  834. <el-table v-loading="tableDataLoading" :data="scData.records">
  835. <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
  836. </el-table-column>
  837. <el-table-column prop="resumes.resumesName" label="姓名" width="100">
  838. <template slot-scope="scope">
  839. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row"
  840. @click="updates(scope.row)">{{scope.row.resumes.resumesName ? scope.row.resumes.resumesName : '未绑定'}}</span>
  841. </template>
  842. </el-table-column>
  843. <el-table-column prop="resumes.resumesPhone" label="电话" width="150">
  844. <template slot-scope="scope">
  845. <span v-if="scope.row">{{scope.row.resumes.resumesPhone }}</span>
  846. </template>
  847. </el-table-column>
  848. <el-table-column prop="resumes.major" label="专业">
  849. <template slot-scope="scope">
  850. <el-popover placement="top-start" title="" trigger="hover">
  851. <div slot="reference"
  852. style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
  853. {{scope.row.resumes.major}}
  854. </div>
  855. <div style="width: 300px;">{{scope.row.resumes.major}}</div>
  856. </el-popover>
  857. </template>
  858. </el-table-column>
  859. <el-table-column prop="resumes.resumesEducation" label="学历">
  860. </el-table-column>
  861. <el-table-column prop="resumes.resumesAge" label="年龄">
  862. </el-table-column>
  863. <el-table-column prop="resumesMarriage" label="婚姻状态">
  864. </el-table-column>
  865. <el-table-column prop="resumes.resumesWorkExperience" label="工作经验" width="160">
  866. </el-table-column>
  867. <el-table-column prop="resumes.resumesPost" label="职位">
  868. </el-table-column>
  869. <el-table-column prop="resumesImage" label="资质证书" width="150">
  870. <template slot-scope="scope">
  871. <div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
  872. <div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
  873. <el-popover placement="top-start" title="" trigger="hover">
  874. <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
  875. <img style="width: 200px; height: 200px" :src="item" alt="">
  876. </el-popover>
  877. </div>
  878. </div>
  879. </template>
  880. </el-table-column>
  881. <el-table-column prop="resumes.resumesEmail" label="邮箱" width="160">
  882. </el-table-column>
  883. <el-table-column prop="resumes.resumesCompensation" label="期望薪资" width="160">
  884. </el-table-column>
  885. <el-table-column prop="resumes.resumesDetails" label="自我介绍" width="160">
  886. </el-table-column>
  887. <!-- <el-table-column prop="status" label="状态" width="80" fixed="right">
  888. <template slot-scope="scope">
  889. <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待推送</span>
  890. <span style="color: red;" v-if="scope.row.status === 2 ">已推送</span>
  891. <span style="color: #999;" v-if="scope.row.status === 3 ">未完成</span>
  892. </template>
  893. </el-table-column>
  894. -->
  895. <el-table-column prop="bUpdateTime" label="浏览时间" width="160">
  896. </el-table-column>
  897. </el-table>
  898. <div style="text-align: center;margin-top: 10px;">
  899. <el-pagination @size-change="handleSizeChangeLljl" @current-change="handleCurrentChangeLljl"
  900. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  901. layout="total,sizes, prev, pager, next,jumper" :total="scData.total">
  902. </el-pagination>
  903. </div>
  904. </el-tab-pane>
  905. <!-- 不可提现添加金额 -->
  906. <el-dialog title="修改余额" :visible.sync="dialogFormVisible1" center>
  907. <div style="margin-bottom: 10px;">
  908. <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
  909. <el-radio-group v-model="type">
  910. <el-radio :label="1">添加</el-radio>
  911. <el-radio :label="2">减少</el-radio>
  912. </el-radio-group>
  913. </div>
  914. <div style="margin-bottom: 10px;" v-if="indexJe==1">
  915. <span style="width: 200px;display: inline-block;text-align: right;">金额:</span>
  916. <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
  917. placeholder="请输入金额"></el-input>
  918. </div>
  919. <div style="margin-bottom: 10px;" v-if="indexJe==2">
  920. <span style="width: 200px;display: inline-block;text-align: right;">钻石:</span>
  921. <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
  922. placeholder="请输入钻石"></el-input>
  923. </div>
  924. <div slot="footer" class="dialog-footer">
  925. <el-button @click="dialogFormVisible1 = false">取 消</el-button>
  926. <el-button type="primary" @click="StairNoticeTo1()">确 定</el-button>
  927. </div>
  928. </el-dialog>
  929. <!-- 修改年龄 -->
  930. <el-dialog :title="titles" :visible.sync="dialogFormVisible2" center>
  931. <div style="margin-bottom: 10px;" v-if="indexType==4||indexType==5||indexType==7">
  932. <span style="width: 200px;display: inline-block;text-align: right;">佣金比例:</span>
  933. <el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
  934. placeholder="输入佣金比例"></el-input>
  935. </div>
  936. <div style="margin-bottom: 10px;" v-if="indexType==1">
  937. <span style="width: 200px;display: inline-block;text-align: right;">手机号:</span>
  938. <el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入手机号"></el-input>
  939. </div>
  940. <div style="margin-bottom: 10px;" v-if="indexType==2">
  941. <span style="width: 200px;display: inline-block;text-align: right;">头像:</span>
  942. <!-- <el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
  943. placeholder="请输入金额"></el-input> -->
  944. <div
  945. style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
  946. <el-upload class="avatar-uploader" v-model="age" :action="$http.adornUrl('alioss/upload')"
  947. :show-file-list="false" :on-success="handleAvatarSuccess5">
  948. <img v-if="age!=''" :src="age" class="avatar"
  949. style="border-radius: 6px;width: 148px;height: 148px;" />
  950. <i v-else class="el-icon-plus avatar-uploader-icon iconss"></i>
  951. </el-upload>
  952. </div>
  953. </div>
  954. <div style="margin-bottom: 10px;" v-if="indexType==3">
  955. <span style="width: 200px;display: inline-block;text-align: right;">昵称:</span>
  956. <el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入昵称"></el-input>
  957. </div>
  958. <div style="margin-bottom: 10px;" v-if="indexType==6">
  959. <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
  960. <el-radio-group v-model="userType">
  961. <el-radio :label="1">一般企业</el-radio>
  962. <el-radio :label="2">猎头企业</el-radio>
  963. </el-radio-group>
  964. </div>
  965. <div slot="footer" class="dialog-footer">
  966. <el-button @click="dialogFormVisible2 = false">取 消</el-button>
  967. <el-button type="primary" @click="StairNoticeTo2()">确 定</el-button>
  968. </div>
  969. </el-dialog>
  970. <!-- 评论列表 -->
  971. <el-dialog title="评论列表" :visible.sync="dialogFormVisible10" center>
  972. <el-table v-loading="tableDataLoading" :data="pinglunData.list">
  973. <el-table-column prop="id" label="编号" width="80">
  974. </el-table-column>
  975. <el-table-column prop="userName" label="评论用户" width="120">
  976. <template slot-scope="scope">
  977.  <span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)"
  978. v-text="scope.row.userName"></span>
  979. </template>
  980. </el-table-column>
  981. <el-table-column prop="avatar" label="用户头像" width="100">
  982. <template slot-scope="scope">
  983.   <img v-if="scope.row.avatar && scope.row.avatar!=''" :src="scope.row.avatar" width="40"
  984. height="40" />
  985. <span v-else>暂无图片</span>
  986. </template>
  987. </el-table-column>
  988. <el-table-column prop="content" label="评论内容">
  989. </el-table-column>
  990. <el-table-column prop="createTime" label="评论时间" width="180">
  991. </el-table-column>
  992. <el-table-column label="操作" prop="id" width="100" fixed='right' align="center">
  993. <template slot-scope="scope">
  994. <el-button size="mini" type="danger" :disabled="!isAuth('locality:delete')"
  995. @click="pinglundelete(scope.row)">删除
  996. </el-button>
  997. </template>
  998. </el-table-column>
  999. </el-table>
  1000. <div style="text-align: center;margin-top: 10px;">
  1001. <el-pagination @size-change="handleSizeChangePl" @current-change="handleCurrentChangePl"
  1002. :page-sizes="[10, 20, 30, 40]" :page-size="limit2" :current-page="page2"
  1003. layout="total,sizes, prev, pager, next,jumper" :total="pinglunData.totalCount">
  1004. </el-pagination>
  1005. </div>
  1006. </el-dialog>
  1007. <!-- 添加/修改发票 -->
  1008. <el-dialog :title="titlesFp" :visible.sync="dialogFormVisibleFp" center width="70%">
  1009. <div style="margin-bottom: 10px;">
  1010. <span style="width: 200px;display: inline-block;text-align: right;">发票信息:</span>
  1011. <div style="margin-left: 200px;margin-top: 10px;">
  1012. <quill-editor ref="myTextEditor" v-model="title" :options="quillOption"
  1013. style="padding-bottom: 50px;height: 300px;width: 72%;display: inline-table;margin-bottom: 60px;">
  1014. </quill-editor>
  1015. </div>
  1016. </div>
  1017. <!-- <div style="margin-bottom: 10px;">
  1018. <span style="width: 200px;display: inline-block;text-align: right;">开票信息:</span>
  1019. <el-input v-model="title" style="width:45%;" min="0" placeholder="请输入开票信息">
  1020. </el-input>
  1021. </div> -->
  1022. <div style="margin-bottom: 10px;">
  1023. <span style="width: 200px;display: inline-block;text-align: right;">发票金额:</span>
  1024. <el-input v-model="money" type="number" style="width:45%;" min="0" placeholder="请输入发票金额"
  1025. onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
  1026. </el-input>
  1027. </div>
  1028. <div style="margin-bottom: 10px;">
  1029. <span style="width: 200px;display: inline-block;text-align: right;">发票内容:</span>
  1030. <el-input v-model="content" style="width:45%;" min="0" placeholder="请输入发票内容">
  1031. </el-input>
  1032. </div>
  1033. <div style="margin-bottom: 10px;">
  1034. <span style="width: 200px;display: inline-block;text-align: right;">发票类型:</span>
  1035. <el-radio-group v-model="invoiceType">
  1036. <el-radio :label="1">专票</el-radio>
  1037. <el-radio :label="2">普票</el-radio>
  1038. </el-radio-group>
  1039. </div>
  1040. <div style="margin-bottom: 10px;">
  1041. <span style="width: 200px;display: inline-block;text-align: right;">发票状态:</span>
  1042. <el-radio-group v-model="statusF">
  1043. <el-radio :label="1">待开票</el-radio>
  1044. <el-radio :label="2">已开票</el-radio>
  1045. </el-radio-group>
  1046. </div>
  1047. <div slot="footer" class="dialog-footer" style="margin-top: 30px;text-align: center;">
  1048. <el-button @click="dialogFormVisibleFp=false">取 消</el-button>
  1049. <el-button type="primary" @click="fapiaoNoticeTo()">确 定</el-button>
  1050. </div>
  1051. </el-dialog>
  1052. </el-tabs>
  1053. </div>
  1054. </template>
  1055. <script>
  1056. import {
  1057. quillEditor
  1058. } from 'vue-quill-editor'
  1059. import 'quill/dist/quill.core.css'
  1060. import 'quill/dist/quill.snow.css'
  1061. import 'quill/dist/quill.bubble.css'
  1062. import quillConfig from '../mission/quill-config.js'
  1063. export default {
  1064. name: 'news',
  1065. components: {
  1066. quillEditor
  1067. },
  1068. data() {
  1069. return {
  1070. state: 0,
  1071. limit: 10,
  1072. page: 1,
  1073. limit2: 10,
  1074. page2: 1,
  1075. userId: '',
  1076. money: '',
  1077. title: '',
  1078. content: '',
  1079. phone: '',
  1080. startTime: '',
  1081. endTime: '',
  1082. invitationCode: '',
  1083. feiDatamin: {},
  1084. info: {
  1085. stockDate: this.getNowTime(), //日期
  1086. },
  1087. info2: {
  1088. stockDate2: this.getNowTime2(), //日期
  1089. },
  1090. tablemoney: {},
  1091. tablenum: {},
  1092. tableData: {},
  1093. company: {},
  1094. userData: {},
  1095. fangkeData: {},
  1096. tableDatamin: [],
  1097. withdrawData: {},
  1098. walletData: {},
  1099. rechargeData: {},
  1100. takeData: {},
  1101. dingdanData: {},
  1102. wannengData: {},
  1103. activeName: 'first',
  1104. dialogFormVisible: false,
  1105. dialogFormVisible1: false,
  1106. dialogFormVisible2: false,
  1107. dialogFormVisible10: false,
  1108. tableDataLoading: true,
  1109. invitation: '',
  1110. search: '',
  1111. classifyIds: 0,
  1112. statusId: -1,
  1113. myPhone: '',
  1114. type: '',
  1115. userType: '',
  1116. age: '',
  1117. renwuId: '',
  1118. pinglunData: {},
  1119. tuanduiData: {},
  1120. types: 1,
  1121. typesList: [{
  1122. type: 1,
  1123. name: '一级'
  1124. },
  1125. {
  1126. type: 2,
  1127. name: '二级'
  1128. }
  1129. ],
  1130. pingbiData: {},
  1131. baomingData: {},
  1132. classify: 1,
  1133. indexJe: 1,
  1134. dialogFormVisibleFp: false,
  1135. tableDataLoading4: false,
  1136. page2: 1,
  1137. size2: 10,
  1138. userId: '',
  1139. titlesFp: '添加',
  1140. title: '',
  1141. content: '',
  1142. money: '',
  1143. invoiceId: '',
  1144. statusF: '',
  1145. invoiceType: 1,
  1146. fapiaoData: {},
  1147. quillOption: quillConfig,
  1148. companyId: '',
  1149. dialogFormVisibleLl: false,
  1150. tableDataLoadingLl: true,
  1151. tableData2: {},
  1152. pageL: 1,
  1153. limitL: 10,
  1154. postPushId: '',
  1155. tdjlData: {},
  1156. indexType: '',
  1157. yhqjlData: {},
  1158. resumesPost: '',
  1159. scData:{},
  1160. titles: '修改'
  1161. }
  1162. },
  1163. methods: {
  1164. // 返回上一级
  1165. prev() {
  1166. this.$router.back()
  1167. },
  1168. // 详情跳转
  1169. updates(row) {
  1170. this.$router.push({
  1171. path: '/userDetail',
  1172. query: {
  1173. userId: row.userId
  1174. }
  1175. })
  1176. },
  1177. // 详情跳转
  1178. updates1(row) {
  1179. this.$router.push({
  1180. path: '/userDetailQ1',
  1181. query: {
  1182. userId: row.userId
  1183. }
  1184. })
  1185. },
  1186. //处理默认选中当前日期
  1187. getNowTime() {
  1188. var now = new Date()
  1189. var year = now.getFullYear() //得到年份
  1190. var month = now.getMonth() //得到月份
  1191. var date = now.getDate() //得到日期
  1192. month = month + 1
  1193. month = month.toString().padStart(2, '0')
  1194. date = date.toString().padStart(2, '0')
  1195. var defaultDate = `${year}-${month}-${date}`
  1196. return defaultDate
  1197. this.$set(this.info, 'stockDate', defaultDate)
  1198. },
  1199. //处理默认选中当前日期
  1200. getNowTime2() {
  1201. var now = new Date()
  1202. var year = now.getFullYear() //得到年份
  1203. var month = now.getMonth() - now.getMonth() //得到月份
  1204. var date = now.getDate() - now.getDate() + 1 //得到日期
  1205. month = month + 1
  1206. month = month.toString().padStart(2, '0')
  1207. date = date.toString().padStart(2, '0')
  1208. var defaultDate = `${year}-${month}-${date}`
  1209. return defaultDate
  1210. this.$set(this.info, 'stockDate', defaultDate)
  1211. },
  1212. // tabs切换
  1213. handleClick(tab, event) {
  1214. if (tab._props.label == '用户详情') {
  1215. this.dataSelect()
  1216. // this.autonymSelect()
  1217. }
  1218. if (tab._props.label == '提现记录') {
  1219. this.limit = 10,
  1220. this.page = 1,
  1221. this.withdrawSelect()
  1222. }
  1223. if (tab._props.label == '钱包明细') {
  1224. this.limit = 10
  1225. this.page = 1
  1226. this.walletSelect()
  1227. }
  1228. if (tab._props.label == '充值明细') {
  1229. this.limit = 10
  1230. this.page = 1
  1231. this.rechargeSelect()
  1232. }
  1233. if (tab._props.label == '定制化抵扣明细') {
  1234. this.limit = 10
  1235. this.page = 1
  1236. this.rechargeSelectDz()
  1237. }
  1238. if (tab._props.label == '我的招聘') {
  1239. this.limit = 10
  1240. this.page = 1
  1241. this.takeSelect()
  1242. }
  1243. if (tab._props.label == '我的简历') {
  1244. this.limit = 10
  1245. this.page = 1
  1246. this.state = 0
  1247. this.dingdanSelect()
  1248. }
  1249. if (tab._props.label == '浏览项目') {
  1250. this.limit = 10
  1251. this.page = 1
  1252. this.state = 8
  1253. this.flag = 1
  1254. this.userSelect()
  1255. }
  1256. if (tab._props.label == '浏览简历') {
  1257. this.limit = 10
  1258. this.page = 1
  1259. this.state = 8
  1260. this.flag = 1
  1261. this.fangkeSelect()
  1262. }
  1263. if (tab._props.label == '我的团队') {
  1264. this.limit = 10
  1265. this.page = 1
  1266. this.types = 1
  1267. this.tuanduiSelect()
  1268. }
  1269. if (tab._props.label == '屏蔽公司') {
  1270. this.limit = 10
  1271. this.page = 1
  1272. this.pingbiSelect()
  1273. }
  1274. if (tab._props.label == '我的报名') {
  1275. this.limit = 10
  1276. this.page = 1
  1277. this.baomingSelect()
  1278. }
  1279. if (tab._props.label == '面试记录') {
  1280. this.size2 = 10
  1281. this.page2 = 1
  1282. this.fapiaoList()
  1283. }
  1284. if (tab._props.label == '我的黑名单') {
  1285. this.limitL = 10
  1286. this.pageL = 1
  1287. this.dataSelectLl()
  1288. }
  1289. if (tab._props.label == '收到的简历') {
  1290. this.limit = 10
  1291. this.page = 1
  1292. this.state = 8
  1293. this.flag = 1
  1294. this.tdjlSelect()
  1295. }
  1296. if (tab._props.label == '已获取的简历') {
  1297. this.limit = 10
  1298. this.page = 1
  1299. this.yhqjlSelect()
  1300. }
  1301. if (tab._props.label == '我收藏的简历') {
  1302. this.size = 10
  1303. this.page = 1
  1304. this.shoucangList()
  1305. }
  1306. },
  1307. handleSizeChange(val) {
  1308. this.limit = val
  1309. this.teamSelect()
  1310. },
  1311. handleCurrentChange(val) {
  1312. this.page = val
  1313. this.teamSelect()
  1314. },
  1315. handleSizeChange1(val) {
  1316. this.limit = val
  1317. this.InformationSelect()
  1318. },
  1319. handleCurrentChange1(val) {
  1320. this.page = val
  1321. this.InformationSelect()
  1322. },
  1323. handleSizeChangeTxjl(val) {
  1324. this.limit = val
  1325. this.withdrawSelect()
  1326. },
  1327. handleCurrentChangeTxjl(val) {
  1328. this.page = val
  1329. this.withdrawSelect()
  1330. },
  1331. handleSizeChangeQbmx(val) {
  1332. this.limit = val
  1333. this.walletSelect()
  1334. },
  1335. handleCurrentChangeQbmx(val) {
  1336. this.page = val
  1337. this.walletSelect()
  1338. },
  1339. handleSizeChangeCzmx(val) {
  1340. this.limit = val
  1341. this.rechargeSelect()
  1342. },
  1343. handleCurrentChangeCzmx(val) {
  1344. this.page = val
  1345. this.rechargeSelect()
  1346. },
  1347. handleSizeChangeDzh(val) {
  1348. this.limit = val
  1349. this.rechargeSelectDz()
  1350. },
  1351. handleCurrentChangeDzh(val) {
  1352. this.page = val
  1353. this.rechargeSelectDz()
  1354. },
  1355. handleSizeChangeTs(val) {
  1356. this.limit = val
  1357. this.takeSelect()
  1358. },
  1359. handleCurrentChangeTs(val) {
  1360. this.page = val
  1361. this.takeSelect()
  1362. },
  1363. handleSizeChangeLljl(val) {
  1364. this.limit = val
  1365. this.feiSelect()
  1366. },
  1367. handleCurrentChangeLljl(val) {
  1368. this.page = val
  1369. this.feiSelect()
  1370. },
  1371. handleSizeChangeTd(val) {
  1372. this.limit = val
  1373. this.tuanduiSelect()
  1374. },
  1375. handleCurrentChangeTd(val) {
  1376. this.page = val
  1377. this.tuanduiSelect()
  1378. },
  1379. handleSizeChangePl(val) {
  1380. this.limit2 = val
  1381. this.pinglunSelect(this.renwuId)
  1382. },
  1383. handleCurrentChangePl(val) {
  1384. this.page2 = val
  1385. this.pinglunSelect(this.renwuId)
  1386. },
  1387. handleSizeChangePb(val) {
  1388. this.limit = val
  1389. this.pingbiSelect()
  1390. },
  1391. handleCurrentChangePb(val) {
  1392. this.page = val
  1393. this.pingbiSelect()
  1394. },
  1395. handleSizeChangeBm(val) {
  1396. this.limit = val
  1397. this.baomingSelect()
  1398. },
  1399. handleCurrentChangeBm(val) {
  1400. this.page = val
  1401. this.baomingSelect()
  1402. },
  1403. handleSizeChangeF(val) {
  1404. this.size2 = val
  1405. this.userClass()
  1406. },
  1407. handleCurrentChangeF(val) {
  1408. this.page2 = val
  1409. this.userClass()
  1410. },
  1411. handleCurrentChangeLl(val) {
  1412. this.pageL = val
  1413. this.dataSelectLl()
  1414. },
  1415. handleSizeChangeLl(val) {
  1416. this.limitL = val
  1417. this.dataSelectLl()
  1418. },
  1419. handleSizeChangetdjl(val) {
  1420. this.limit = val
  1421. this.tdjlSelect()
  1422. },
  1423. handleCurrentChangetdjl(val) {
  1424. this.page = val
  1425. this.tdjlSelect()
  1426. },
  1427. handleSizeChangeyhq(val) {
  1428. this.limit = val
  1429. this.yhqjlSelect()
  1430. },
  1431. handleCurrentChangeyhq(val) {
  1432. this.page = val
  1433. this.yhqjlSelect()
  1434. },
  1435. handleSizeChangeSc(val) {
  1436. this.size = val
  1437. this.shoucangList()
  1438. },
  1439. handleCurrentChangeSc(val) {
  1440. this.page = val
  1441. this.shoucangList()
  1442. },
  1443. timeDate2() {
  1444. this.rechargeSelect()
  1445. },
  1446. // 可提现金额
  1447. withdraw(id, val) {
  1448. if (val == 0) {
  1449. this.$message({
  1450. message: '可提现金额为0钻石',
  1451. type: 'error',
  1452. duration: 1500,
  1453. onClose: () => {
  1454. this.dataSelect()
  1455. }
  1456. })
  1457. } else {
  1458. this.$confirm(`确定要推送提现消息吗?`, '提示', {
  1459. confirmButtonText: '确定',
  1460. cancelButtonText: '取消',
  1461. type: 'warning'
  1462. }).then(() => {
  1463. this.$http({
  1464. url: this.$http.adornUrl(`user/notification/${id}`),
  1465. method: 'post',
  1466. data: this.$http.adornData({})
  1467. }).then(({
  1468. data
  1469. }) => {
  1470. this.$message({
  1471. message: '推送成功',
  1472. type: 'success',
  1473. duration: 1500,
  1474. onClose: () => {
  1475. this.dataSelect()
  1476. }
  1477. })
  1478. })
  1479. }).catch(() => {})
  1480. }
  1481. },
  1482. // 不可提现金额充值
  1483. rechargenone(index) {
  1484. this.indexJe = index
  1485. this.dialogFormVisible1 = true
  1486. },
  1487. StairNoticeTo1() {
  1488. let userId = this.$route.query.userId
  1489. if (this.type == '') {
  1490. this.$notify({
  1491. title: '提示',
  1492. duration: 1800,
  1493. message: '请选择修改类型',
  1494. type: 'warning'
  1495. })
  1496. return
  1497. }
  1498. if (this.indexJe == 1) {
  1499. if (this.money == '') {
  1500. this.$notify({
  1501. title: '提示',
  1502. duration: 1800,
  1503. message: '请输入金额',
  1504. type: 'warning'
  1505. })
  1506. return
  1507. }
  1508. var url = 'user/addCannotMoney/' + userId + '/' + this.money + '/' + this.type
  1509. }
  1510. if (this.indexJe == 2) {
  1511. if (this.money == '') {
  1512. this.$notify({
  1513. title: '提示',
  1514. duration: 1800,
  1515. message: '请输入钻石',
  1516. type: 'warning'
  1517. })
  1518. return
  1519. }
  1520. var url = 'user/updateCustomizationMoney/' + userId + '/' + this.money + '/' + this.type
  1521. }
  1522. this.$http({
  1523. url: this.$http.adornUrl(url),
  1524. method: 'post',
  1525. data: this.$http.adornData({})
  1526. }).then(({
  1527. data
  1528. }) => {
  1529. if (data.code == 0) {
  1530. this.$message({
  1531. message: '修改成功',
  1532. type: 'success',
  1533. duration: 1500,
  1534. onClose: () => {
  1535. this.type = ''
  1536. this.money = ''
  1537. this.dataSelect()
  1538. }
  1539. })
  1540. this.dialogFormVisible1 = false
  1541. } else {
  1542. this.$message.error(data.msg)
  1543. }
  1544. })
  1545. },
  1546. StairNoticeTo2() {
  1547. let userId = this.$route.query.userId
  1548. let datas = {}
  1549. datas.userId = userId
  1550. if (this.indexType == 1) {
  1551. console.log('this.age.length', this.age.length)
  1552. if (this.age.length > 11) {
  1553. this.$notify({
  1554. title: '提示',
  1555. duration: 1800,
  1556. message: '请输入有效手机号',
  1557. type: 'warning'
  1558. });
  1559. return
  1560. }
  1561. datas.phone = this.age
  1562. }
  1563. if (this.indexType == 2) {
  1564. datas.avatar = this.age
  1565. }
  1566. if (this.indexType == 3) {
  1567. datas.userName = this.age
  1568. }
  1569. if (this.indexType == 4) {
  1570. datas.zhiRate = this.age
  1571. }
  1572. if (this.indexType == 5) {
  1573. datas.feiRate = this.age
  1574. }
  1575. if (this.indexType == 6) {
  1576. datas.companyType = this.userType
  1577. }
  1578. if (this.indexType == 7) {
  1579. datas.rate = this.age
  1580. }
  1581. this.$http({
  1582. url: this.$http.adornUrl('user/updateUserByUserId'),
  1583. method: 'post',
  1584. data: this.$http.adornData(datas)
  1585. }).then(({
  1586. data
  1587. }) => {
  1588. console.log('data', data)
  1589. if (data.code == 0) {
  1590. this.$message({
  1591. message: '修改成功',
  1592. type: 'success',
  1593. duration: 1500,
  1594. onClose: () => {
  1595. this.dialogFormVisible2 = false
  1596. this.dataSelect()
  1597. }
  1598. })
  1599. } else {
  1600. this.$message({
  1601. message: data.msg,
  1602. type: 'warning',
  1603. duration: 1500,
  1604. onClose: () => {}
  1605. })
  1606. }
  1607. })
  1608. },
  1609. // 更改状态
  1610. stateChange(userId) {
  1611. this.$confirm(`确定要更改用户状态吗?`, '提示', {
  1612. confirmButtonText: '确定',
  1613. cancelButtonText: '取消',
  1614. type: 'warning'
  1615. }).then(() => {
  1616. this.$http({
  1617. url: this.$http.adornUrl(`user/updateUserStatusByUserId?userId=${userId}`),
  1618. method: 'get',
  1619. data: this.$http.adornData({})
  1620. }).then(({
  1621. data
  1622. }) => {
  1623. this.$message({
  1624. message: '修改成功',
  1625. type: 'success',
  1626. duration: 1500,
  1627. onClose: () => {
  1628. this.dataSelect()
  1629. }
  1630. })
  1631. })
  1632. }).catch(() => {})
  1633. },
  1634. // 修改性别
  1635. sexChange(userId, sex) {
  1636. var sexs = 1;
  1637. if (sex == 1) {
  1638. sexs = 2
  1639. }
  1640. if (sex == 2) {
  1641. sexs = 1
  1642. }
  1643. this.$confirm(`确定要更改用户性别吗?`, '提示', {
  1644. confirmButtonText: '确定',
  1645. cancelButtonText: '取消',
  1646. type: 'warning'
  1647. }).then(() => {
  1648. this.$http({
  1649. url: this.$http.adornUrl('user/updateUserByUserId'),
  1650. method: 'post',
  1651. data: this.$http.adornData({
  1652. 'userId': userId,
  1653. 'sex': sexs
  1654. })
  1655. }).then(({
  1656. data
  1657. }) => {
  1658. console.log('data', data)
  1659. this.$message({
  1660. message: '修改成功',
  1661. type: 'success',
  1662. duration: 1500,
  1663. onClose: () => {
  1664. this.dataSelect()
  1665. }
  1666. })
  1667. })
  1668. }).catch(() => {})
  1669. },
  1670. ageChange(age, index,title) {
  1671. this.indexType = index
  1672. this.age = age
  1673. if(index==1){
  1674. this.titles = '修改手机号'
  1675. }else if(index==2){
  1676. this.titles = '修改头像'
  1677. }else if(index==3){
  1678. this.titles = '修改用户名'
  1679. }else if(index==4){
  1680. this.titles = '修改直佣比例'
  1681. }else if(index==5){
  1682. this.titles = '修改非直佣比例'
  1683. }else if(index==6){
  1684. this.titles = '修改用户类型'
  1685. }
  1686. this.dialogFormVisible2 = true
  1687. },
  1688. // 获取数据列表
  1689. dataSelect() {
  1690. let userId = this.$route.query.userId
  1691. this.$http({
  1692. url: this.$http.adornUrl(`user/${userId}`),
  1693. method: 'get',
  1694. params: this.$http.adornParams({
  1695. // 'userId': userId
  1696. })
  1697. }).then(({
  1698. data
  1699. }) => {
  1700. if (data.code === 0) {
  1701. let returnData = data.data
  1702. this.tablenum = returnData
  1703. this.tablemoney = returnData
  1704. this.tableData = returnData.userEntity
  1705. if (returnData.company) {
  1706. this.company = returnData.company
  1707. this.companyId = this.company.companyId
  1708. }
  1709. this.phone = returnData.userEntity.phone
  1710. this.invitationCode = returnData.userEntity.invitationCode
  1711. 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}$/
  1712. var phone1 = returnData.userEntity.phone
  1713. var userName1 = returnData.userEntity.userName
  1714. if(pattern.test(phone1)){
  1715. var one = phone1.slice(0, 3)
  1716. var two = phone1.slice(7, 11)
  1717. returnData.userEntity.phone1 = one+'****'+two
  1718. }
  1719. if(pattern.test(userName1)){
  1720. var one = userName1.slice(0, 3)
  1721. var two = userName1.slice(7, 11)
  1722. returnData.userEntity.userName1 = one+'****'+two
  1723. }
  1724. } else {
  1725. this.$message({
  1726. message: data.msg,
  1727. type: 'warning',
  1728. duration: 1500,
  1729. onClose: () => {}
  1730. })
  1731. }
  1732. })
  1733. },
  1734. // 获取团队成员
  1735. teamSelect() {
  1736. this.tableDataLoading = true
  1737. let userId = this.$route.query.userId
  1738. this.$http({
  1739. url: this.$http.adornUrl('user/selectInviteByUserIdLists'),
  1740. method: 'get',
  1741. params: this.$http.adornParams({
  1742. 'page': this.page,
  1743. 'limit': this.limit,
  1744. 'userId': userId
  1745. })
  1746. }).then(({
  1747. data
  1748. }) => {
  1749. this.tableDataLoading = false
  1750. let returnData = data.data
  1751. this.tableDatamin = returnData
  1752. })
  1753. },
  1754. // 非直属
  1755. feiSelect() {
  1756. this.tableDataLoading = true
  1757. this.$http({
  1758. url: this.$http.adornUrl('user/selectInvitationCodeByUserIdLists'),
  1759. method: 'get',
  1760. params: this.$http.adornParams({
  1761. 'page': this.page,
  1762. 'limit': this.limit,
  1763. 'invitationCode': this.invitationCode
  1764. })
  1765. }).then(({
  1766. data
  1767. }) => {
  1768. this.tableDataLoading = false
  1769. let returnData = data.data
  1770. this.feiDatamin = returnData
  1771. })
  1772. },
  1773. // 浏览项目数据
  1774. userSelect() {
  1775. this.tableDataLoading = true
  1776. let userId = this.$route.query.userId
  1777. this.$http({
  1778. url: this.$http.adornUrl('userBrowse/myBrowse'),
  1779. method: 'get',
  1780. params: this.$http.adornParams({
  1781. 'page': this.page,
  1782. 'limit': this.limit,
  1783. 'userId': userId
  1784. })
  1785. }).then(({
  1786. data
  1787. }) => {
  1788. this.tableDataLoading = false
  1789. let returnData = data.data
  1790. this.userData = returnData
  1791. })
  1792. },
  1793. // 获取用户提现记录
  1794. withdrawSelect() {
  1795. this.tableDataLoading = true
  1796. let userId = this.$route.query.userId
  1797. this.$http({
  1798. url: this.$http.adornUrl('cash/selectPayDetails'),
  1799. method: 'get',
  1800. params: this.$http.adornParams({
  1801. 'page': this.page,
  1802. 'limit': this.limit,
  1803. 'userId': userId,
  1804. })
  1805. }).then(({
  1806. data
  1807. }) => {
  1808. this.tableDataLoading = false
  1809. let returnData = data.data
  1810. this.withdrawData = returnData
  1811. })
  1812. },
  1813. // 获取钱包明细
  1814. walletSelect() {
  1815. this.tableDataLoading = true
  1816. let userId = this.$route.query.userId
  1817. this.$http({
  1818. url: this.$http.adornUrl('Details/queryUserMoneyDetails'),
  1819. method: 'get',
  1820. params: this.$http.adornParams({
  1821. 'page': this.page,
  1822. 'limit': this.limit,
  1823. 'userId': userId
  1824. })
  1825. }).then(({
  1826. data
  1827. }) => {
  1828. this.tableDataLoading = false
  1829. let returnData = data.data
  1830. this.walletData = returnData
  1831. })
  1832. },
  1833. // 获取充值明细
  1834. rechargeSelect() {
  1835. if (this.endTime == '') {
  1836. this.endTime = this.info.stockDate
  1837. }
  1838. if (this.startTime == '') {
  1839. this.startTime = this.info2.stockDate2
  1840. }
  1841. let userId = this.$route.query.userId
  1842. this.tableDataLoading = true
  1843. this.$http({
  1844. url: this.$http.adornUrl('cash/selectUserRechargeByUserId'),
  1845. method: 'get',
  1846. params: this.$http.adornParams({
  1847. 'page': this.page,
  1848. 'limit': this.limit,
  1849. 'endTime': this.endTime,
  1850. 'startTime': this.startTime,
  1851. 'userId': userId
  1852. })
  1853. }).then(({
  1854. data
  1855. }) => {
  1856. this.tableDataLoading = false
  1857. if (data.code == 0) {
  1858. let returnData = data.data
  1859. this.rechargeData = returnData
  1860. }
  1861. if (data.code == 500) {
  1862. this.$message({
  1863. message: data.msg,
  1864. type: 'error',
  1865. duration: 2500,
  1866. onClose: () => {
  1867. this.tableDataLoading = false
  1868. }
  1869. })
  1870. }
  1871. })
  1872. },
  1873. // 获取定制化抵扣明细
  1874. rechargeSelectDz() {
  1875. let userId = this.$route.query.userId
  1876. this.tableDataLoading = true
  1877. this.$http({
  1878. url: this.$http.adornUrl('Details/queryUserMoneyDetails'),
  1879. method: 'get',
  1880. params: this.$http.adornParams({
  1881. 'page': this.page,
  1882. 'limit': this.limit,
  1883. 'classify': 2,
  1884. 'userId': userId
  1885. })
  1886. }).then(({
  1887. data
  1888. }) => {
  1889. this.tableDataLoading = false
  1890. if (data.code == 0) {
  1891. let returnData = data.data
  1892. this.rechargeData = returnData
  1893. }
  1894. if (data.code == 500) {
  1895. this.$message({
  1896. message: data.msg,
  1897. type: 'error',
  1898. duration: 2500,
  1899. onClose: () => {}
  1900. })
  1901. }
  1902. })
  1903. },
  1904. // 我的招聘
  1905. takeSelect() {
  1906. this.tableDataLoading = true
  1907. let userId = this.$route.query.userId
  1908. this.$http({
  1909. url: this.$http.adornUrl('postPush/getPostPushList'),
  1910. method: 'get',
  1911. params: this.$http.adornParams({
  1912. 'page': this.page,
  1913. 'limit': this.limit,
  1914. // 'projectName': '',
  1915. // 'address': '',
  1916. // 'screen': '',
  1917. // 'userId': userId,
  1918. 'companyId': this.companyId
  1919. })
  1920. }).then(({
  1921. data
  1922. }) => {
  1923. this.tableDataLoading = false
  1924. let returnData = data.data
  1925. this.takeData = returnData
  1926. })
  1927. },
  1928. // 我的简历
  1929. dingdanSelect() {
  1930. this.tableDataLoading = true
  1931. let userId = this.$route.query.userId
  1932. this.$http({
  1933. url: this.$http.adornUrl('resumes/selectResumesByUserIdForAdmin'),
  1934. method: 'get',
  1935. params: this.$http.adornParams({
  1936. // 'page': this.page,
  1937. // 'limit': this.limit,
  1938. 'userId': userId
  1939. })
  1940. }).then(({
  1941. data
  1942. }) => {
  1943. this.tableDataLoading = false
  1944. let returnData = data.data
  1945. this.dingdanData = returnData
  1946. })
  1947. },
  1948. // 万能服务
  1949. autonymSelect() {
  1950. let userId = this.$route.query.userId
  1951. this.$http({
  1952. url: this.$http.adornUrl('help/selectCreateHelpOrder'),
  1953. method: 'get',
  1954. params: this.$http.adornParams({
  1955. 'page': this.page,
  1956. 'limit': this.limit,
  1957. 'status': 0,
  1958. 'userId': userId
  1959. })
  1960. }).then(({
  1961. data
  1962. }) => {
  1963. this.tableDataLoading = false
  1964. let returnData = data.data
  1965. this.wannengData = returnData
  1966. })
  1967. },
  1968. // 信息数据
  1969. InformationSelect() {
  1970. this.tableDataLoading = true
  1971. let userId = this.$route.query.userId
  1972. this.$http({
  1973. url: this.$http.adornUrl(`information/selectInformationList`),
  1974. method: 'get',
  1975. params: this.$http.adornParams({
  1976. 'userId': userId,
  1977. 'page': this.page,
  1978. 'limit': this.limit,
  1979. 'search': this.search,
  1980. 'classify': this.classifyIds,
  1981. 'status': this.statusId,
  1982. 'phone': this.myPhone
  1983. })
  1984. }).then(({
  1985. data
  1986. }) => {
  1987. this.tableDataLoading = false
  1988. for (var i in data.data.records) {
  1989. if (data.data.records[i].img) {
  1990. data.data.records[i].imgs = data.data.records[i].img.split(',')
  1991. }
  1992. }
  1993. let returnData = data.data
  1994. this.userData = returnData
  1995. })
  1996. },
  1997. // 浏览简历
  1998. fangkeSelect() {
  1999. this.tableDataLoading = true
  2000. let userId = this.$route.query.userId
  2001. this.$http({
  2002. url: this.$http.adornUrl('admin/userBrowse/selectCompayBrowse'),
  2003. method: 'get',
  2004. params: this.$http.adornParams({
  2005. 'page': this.page,
  2006. 'limit': this.limit,
  2007. 'userId': userId,
  2008. 'resumesPost': this.resumesPost,
  2009. 'startTime': this.startTime,
  2010. 'endTime': this.endTime,
  2011. })
  2012. }).then(({
  2013. data
  2014. }) => {
  2015. this.tableDataLoading = false
  2016. let returnData = data.data
  2017. this.fangkeData = returnData
  2018. })
  2019. },
  2020. phoneSelect() {
  2021. this.page = 1
  2022. this.fangkeSelect()
  2023. },
  2024. cleans() {
  2025. this.page = 1
  2026. this.resumesPost = ''
  2027. this.startTime = ''
  2028. this.endTime = ''
  2029. this.fangkeSelect()
  2030. },
  2031. // 状态
  2032. change(val, userId) {
  2033. this.$http({
  2034. url: this.$http.adornUrl(`user/updateUserStateById?userId=${userId}`),
  2035. method: 'post',
  2036. data: this.$http.adornData({})
  2037. }).then(({
  2038. data
  2039. }) => {
  2040. this.$message({
  2041. message: '操作成功',
  2042. type: 'success',
  2043. duration: 1500,
  2044. onClose: () => {
  2045. this.fangkeSelect()
  2046. }
  2047. })
  2048. })
  2049. },
  2050. //删除足迹
  2051. deleteuser(row) {
  2052. let delid = row.id
  2053. this.$confirm(`确定删除此条信息?`, '提示', {
  2054. confirmButtonText: '确定',
  2055. cancelButtonText: '取消',
  2056. type: 'warning'
  2057. }).then(() => {
  2058. this.$http({
  2059. url: this.$http.adornUrl('userBrowse/deleteMyBrowse?id=' + delid),
  2060. method: 'post',
  2061. }).then(({
  2062. data
  2063. }) => {
  2064. if (data.code == 0) {
  2065. this.$message({
  2066. message: '删除成功',
  2067. type: 'success',
  2068. duration: 1500,
  2069. onClose: () => {
  2070. this.userSelect()
  2071. }
  2072. })
  2073. } else {
  2074. this.$message({
  2075. message: data.msg,
  2076. type: 'warning',
  2077. duration: 1500,
  2078. onClose: () => {}
  2079. })
  2080. }
  2081. })
  2082. })
  2083. },
  2084. // 查看评论
  2085. plCompile(row) {
  2086. console.log(row)
  2087. this.renwuId = row.id
  2088. this.dialogFormVisible10 = true
  2089. this.pinglunSelect(row.id)
  2090. },
  2091. // 用户评论列表
  2092. pinglunSelect(id) {
  2093. this.userId = this.$store.state.user.id
  2094. this.$http({
  2095. url: this.$http.adornUrl('takingComment/selectOrderTakingComment'),
  2096. method: 'get',
  2097. params: this.$http.adornParams({
  2098. 'page': this.page2,
  2099. 'limit': this.limit2,
  2100. 'id': id
  2101. })
  2102. }).then(({
  2103. data
  2104. }) => {
  2105. this.tableDataLoading = false
  2106. let returnData = data.data
  2107. this.pinglunData = returnData
  2108. })
  2109. },
  2110. // 删除评论信息
  2111. pinglundelete(row) {
  2112. let delid = row.id
  2113. this.$confirm(`确定删除此条信息?`, '提示', {
  2114. confirmButtonText: '确定',
  2115. cancelButtonText: '取消',
  2116. type: 'warning'
  2117. }).then(() => {
  2118. this.$http({
  2119. url: this.$http.adornUrl(`takingComment/deleteOrderTakingComment/${delid}`),
  2120. method: 'post',
  2121. params: this.$http.adornData({})
  2122. }).then(({
  2123. data
  2124. }) => {
  2125. this.$message({
  2126. message: '删除成功',
  2127. type: 'success',
  2128. duration: 1500,
  2129. onClose: () => {
  2130. this.pinglunSelect(this.renwuId)
  2131. }
  2132. })
  2133. })
  2134. }).catch(() => {})
  2135. },
  2136. // 我的团队
  2137. tuanduiSelect() {
  2138. let userId = this.$route.query.userId
  2139. this.tableDataLoading = true
  2140. this.$http({
  2141. url: this.$http.adornUrl('invite/selectInviteByUserIdLists'),
  2142. method: 'get',
  2143. params: this.$http.adornParams({
  2144. 'page': this.page,
  2145. 'limit': this.limit,
  2146. 'userId': userId,
  2147. 'userType':this.types
  2148. // 'chatConversationId': this.chatConversationId
  2149. // 'content': this.content
  2150. })
  2151. }).then(({
  2152. data
  2153. }) => {
  2154. this.tableDataLoading = false
  2155. let returnData = data.data;
  2156. this.tuanduiData = returnData
  2157. })
  2158. },
  2159. // 等级选择事件
  2160. animeDat(state) {
  2161. this.page = 1
  2162. this.tuanduiSelect()
  2163. },
  2164. // 我的团队收入
  2165. tuanduiSelect1() {
  2166. let userId = this.$route.query.userId
  2167. this.tableDataLoading = true
  2168. this.$http({
  2169. url: this.$http.adornUrl('orders/selectTeamOrdersList'),
  2170. method: 'get',
  2171. params: this.$http.adornParams({
  2172. 'page': this.page,
  2173. 'limit': this.limit,
  2174. 'userId': userId,
  2175. 'userType': this.types
  2176. // 'chatConversationId': this.chatConversationId
  2177. // 'content': this.content
  2178. })
  2179. }).then(({
  2180. data
  2181. }) => {
  2182. this.tableDataLoading = false
  2183. let returnData = data.data;
  2184. this.tuanduiData = returnData
  2185. })
  2186. },
  2187. // 屏蔽公司
  2188. pingbiSelect() {
  2189. let userId = this.$route.query.userId
  2190. this.tableDataLoading = true
  2191. this.$http({
  2192. url: this.$http.adornUrl('shieldCompany/selectShieldCompanyList'),
  2193. method: 'get',
  2194. params: this.$http.adornParams({
  2195. 'page': this.page,
  2196. 'limit': this.limit,
  2197. 'userId': userId,
  2198. })
  2199. }).then(({
  2200. data
  2201. }) => {
  2202. this.tableDataLoading = false
  2203. let returnData = data.data;
  2204. this.pingbiData = returnData
  2205. })
  2206. },
  2207. // 我的报名
  2208. baomingSelect() {
  2209. let userId = this.$route.query.userId
  2210. this.tableDataLoading = true
  2211. this.$http({
  2212. url: this.$http.adornUrl('postPush/selectResumesPushList'),
  2213. method: 'get',
  2214. params: this.$http.adornParams({
  2215. 'page': this.page,
  2216. 'limit': this.limit,
  2217. 'resumesName': '',
  2218. 'resumesPhone': '',
  2219. 'classify': 1,
  2220. 'userId': userId,
  2221. })
  2222. }).then(({
  2223. data
  2224. }) => {
  2225. this.tableDataLoading = false
  2226. let returnData = data.data;
  2227. this.baomingData = returnData
  2228. })
  2229. },
  2230. // 查看简历详情
  2231. delClicks(row) {
  2232. let userId = this.$route.query.userId
  2233. this.$router.push({
  2234. path: '/resumeDetails',
  2235. query: {
  2236. resumesId: row.resumesId,
  2237. userId: userId
  2238. }
  2239. })
  2240. return
  2241. },
  2242. // 面试记录
  2243. fapiaoList() {
  2244. this.tableDataLoading4 = true
  2245. let userId = this.$route.query.userId
  2246. this.$http({
  2247. url: this.$http.adornUrl('admin/interviewRecord/interviewList'),
  2248. method: 'get',
  2249. params: this.$http.adornParams({
  2250. 'page': this.page2,
  2251. 'limit': this.size2,
  2252. 'companyId': this.companyId,
  2253. 'status': ''
  2254. })
  2255. }).then(({
  2256. data
  2257. }) => {
  2258. this.tableDataLoading4 = false
  2259. let returnData = data.data
  2260. this.fapiaoData = returnData
  2261. })
  2262. },
  2263. addfpClick() {
  2264. if (this.companyId == '') {
  2265. this.$notify({
  2266. title: '提示',
  2267. duration: 1800,
  2268. message: '该用户还未绑定企业',
  2269. type: 'warning'
  2270. });
  2271. return
  2272. }
  2273. this.titlesFp = '添加'
  2274. this.title = ''
  2275. this.content = ''
  2276. this.money = ''
  2277. this.invoiceId = ''
  2278. this.statusF = ''
  2279. this.invoiceType = 1
  2280. this.dialogFormVisibleFp = true
  2281. },
  2282. updatefpBtn(row) {
  2283. this.titlesFp = '修改'
  2284. this.title = row.title
  2285. this.content = row.content
  2286. this.money = row.money
  2287. this.invoiceId = row.invoiceId
  2288. this.statusF = Number(row.status)
  2289. this.invoiceType = row.invoiceType
  2290. this.dialogFormVisibleFp = true
  2291. },
  2292. fapiaoNoticeTo() {
  2293. if (this.title == '') {
  2294. this.$notify({
  2295. title: '提示',
  2296. duration: 1800,
  2297. message: '请输入开票信息',
  2298. type: 'warning'
  2299. });
  2300. return
  2301. }
  2302. if (this.content == '') {
  2303. this.$notify({
  2304. title: '提示',
  2305. duration: 1800,
  2306. message: '请输入发票内容',
  2307. type: 'warning'
  2308. });
  2309. return
  2310. }
  2311. if (this.money == '') {
  2312. this.$notify({
  2313. title: '提示',
  2314. duration: 1800,
  2315. message: '请输入发票金额',
  2316. type: 'warning'
  2317. });
  2318. return
  2319. }
  2320. if (this.statusF == '') {
  2321. this.$notify({
  2322. title: '提示',
  2323. duration: 1800,
  2324. message: '请选择发票状态',
  2325. type: 'warning'
  2326. });
  2327. return
  2328. }
  2329. let urls = ''
  2330. if (this.titlesFp == '添加') {
  2331. urls = 'invoice/insertInvoice'
  2332. } else {
  2333. urls = 'invoice/updateInvoice'
  2334. }
  2335. this.$http({
  2336. url: this.$http.adornUrl(urls),
  2337. method: 'post',
  2338. data: this.$http.adornData({
  2339. 'companyId': this.companyId,
  2340. 'title': this.title,
  2341. 'content': this.content,
  2342. 'money': this.money,
  2343. 'status': this.statusF,
  2344. 'invoiceId': this.invoiceId,
  2345. 'invoiceType': this.invoiceType
  2346. })
  2347. }).then(({
  2348. data
  2349. }) => {
  2350. if (data.code == 0) {
  2351. this.$message({
  2352. message: '操作成功',
  2353. type: 'success',
  2354. duration: 1500,
  2355. onClose: () => {
  2356. this.dialogFormVisibleFp = false
  2357. this.fapiaoList()
  2358. }
  2359. })
  2360. } else {
  2361. this.$notify({
  2362. title: '提示',
  2363. duration: 1800,
  2364. message: data.msg,
  2365. type: 'warning'
  2366. });
  2367. }
  2368. })
  2369. },
  2370. deletefpBtn(row) {
  2371. this.$confirm(`确定删除此条信息?`, '提示', {
  2372. confirmButtonText: '确定',
  2373. cancelButtonText: '取消',
  2374. type: 'warning'
  2375. }).then(() => {
  2376. this.$http({
  2377. url: this.$http.adornUrl('invoice/deleteInvoice'),
  2378. method: 'post',
  2379. params: this.$http.adornParams({
  2380. 'invoiceId': row.invoiceId
  2381. })
  2382. }).then(({
  2383. data
  2384. }) => {
  2385. if (data.code == 0) {
  2386. this.$message({
  2387. message: '删除成功',
  2388. type: 'success',
  2389. duration: 1500,
  2390. onClose: () => {
  2391. this.fapiaoList()
  2392. }
  2393. })
  2394. } else {
  2395. this.$notify({
  2396. title: '提示',
  2397. duration: 1800,
  2398. message: data.msg,
  2399. type: 'warning'
  2400. });
  2401. }
  2402. })
  2403. }).catch(() => {})
  2404. },
  2405. // 浏览弹框
  2406. liulan(row) {
  2407. this.postPushId = row.postPushId
  2408. this.dialogFormVisibleLl = true
  2409. this.dataSelectLl()
  2410. },
  2411. // 黑名单列表
  2412. dataSelectLl() {
  2413. this.tableDataLoadingLl = true
  2414. this.$http({
  2415. url: this.$http.adornUrl('admin/shieldCompany/selectShieldList'),
  2416. method: 'get',
  2417. params: this.$http.adornParams({
  2418. 'page': this.pageL,
  2419. 'limit': this.limitL,
  2420. 'companyId': this.companyId,
  2421. 'userId': userId,
  2422. })
  2423. }).then(({
  2424. data
  2425. }) => {
  2426. if (data && data.code === 0) {
  2427. console.log('列表', data)
  2428. this.tableDataLoadingLl = false
  2429. let returnData = data.data;
  2430. this.tableData2 = returnData;
  2431. }
  2432. })
  2433. },
  2434. // 拉黑用户
  2435. laheiBtn(row, index) {
  2436. let userId = this.$route.query.userId
  2437. if (index == 1) {
  2438. this.$confirm(`确定要把该该用户拉出黑名单吗?`, '提示', {
  2439. confirmButtonText: '确定',
  2440. cancelButtonText: '取消',
  2441. type: 'warning'
  2442. }).then(() => {
  2443. this.$http({
  2444. url: this.$http.adornUrl('admin/shieldCompany/deleteShieldCompany'),
  2445. method: 'post',
  2446. params: this.$http.adornParams({
  2447. 'shieldCompanyId': row.shieldCompanyId
  2448. })
  2449. }).then(({
  2450. data
  2451. }) => {
  2452. if (data.code == 0) {
  2453. this.$message({
  2454. message: '操作成功',
  2455. type: 'success',
  2456. duration: 1500,
  2457. onClose: () => {
  2458. this.tdjlSelect()
  2459. this.dataSelectLl()
  2460. }
  2461. })
  2462. } else {
  2463. this.$notify({
  2464. title: '提示',
  2465. duration: 1800,
  2466. message: data.msg,
  2467. type: 'warning'
  2468. });
  2469. }
  2470. })
  2471. }).catch(() => {})
  2472. } else {
  2473. console.log('row.resumes.userId', row.resumes.userId)
  2474. this.$confirm(`确定要把该该用户加入黑名单吗?`, '提示', {
  2475. confirmButtonText: '确定',
  2476. cancelButtonText: '取消',
  2477. type: 'warning'
  2478. }).then(() => {
  2479. this.$http({
  2480. url: this.$http.adornUrl('admin/shieldCompany/insertShieldCompany'),
  2481. method: 'post',
  2482. data: this.$http.adornData({
  2483. 'shieldType': 2,
  2484. 'userId': row.resumes.userId,
  2485. 'companyId': this.companyId
  2486. })
  2487. }).then(({
  2488. data
  2489. }) => {
  2490. if (data.code == 0) {
  2491. this.$message({
  2492. message: '操作成功',
  2493. type: 'success',
  2494. duration: 1500,
  2495. onClose: () => {
  2496. this.tdjlSelect()
  2497. }
  2498. })
  2499. } else {
  2500. this.$notify({
  2501. title: '提示',
  2502. duration: 1800,
  2503. message: data.msg,
  2504. type: 'warning'
  2505. });
  2506. }
  2507. })
  2508. }).catch(() => {})
  2509. }
  2510. },
  2511. // 删除浏览记录
  2512. deleteLlBtn(row) {
  2513. // return console.log('删除浏览记录')
  2514. this.$confirm(`确定删除此条信息?`, '提示', {
  2515. confirmButtonText: '确定',
  2516. cancelButtonText: '取消',
  2517. type: 'warning'
  2518. }).then(() => {
  2519. this.$http({
  2520. url: this.$http.adornUrl('admin/userBrowse/deleteBrowse'),
  2521. method: 'post',
  2522. params: this.$http.adornParams({
  2523. 'id': row.resumesId
  2524. })
  2525. }).then(({
  2526. data
  2527. }) => {
  2528. if (data.code == 0) {
  2529. this.$message({
  2530. message: '删除成功',
  2531. type: 'success',
  2532. duration: 1500,
  2533. onClose: () => {
  2534. this.fangkeSelect()
  2535. }
  2536. })
  2537. } else {
  2538. this.$notify({
  2539. title: '提示',
  2540. duration: 1800,
  2541. message: data.msg,
  2542. type: 'warning'
  2543. });
  2544. }
  2545. })
  2546. }).catch(() => {})
  2547. },
  2548. // 收到的简历
  2549. tdjlSelect() {
  2550. this.tableDataLoading = true
  2551. let userId = this.$route.query.userId
  2552. this.$http({
  2553. url: this.$http.adornUrl('admin/sendRecord/getMyRecordList'),
  2554. method: 'get',
  2555. params: this.$http.adornParams({
  2556. 'page': this.page,
  2557. 'limit': this.limit,
  2558. 'companyUserId': userId,
  2559. 'status': '',
  2560. 'companyId': this.companyId,
  2561. })
  2562. }).then(({
  2563. data
  2564. }) => {
  2565. this.tableDataLoading = false
  2566. let returnData = data.data
  2567. this.tdjlData = returnData
  2568. })
  2569. },
  2570. // 已获取的简历
  2571. yhqjlSelect() {
  2572. this.tableDataLoading = true
  2573. let userId = this.$route.query.userId
  2574. this.$http({
  2575. url: this.$http.adornUrl('resumes/getViewResumesList'),
  2576. method: 'get',
  2577. params: this.$http.adornParams({
  2578. 'page': this.page,
  2579. 'limit': this.limit,
  2580. 'userId': userId,
  2581. })
  2582. }).then(({
  2583. data
  2584. }) => {
  2585. this.tableDataLoading = false
  2586. let returnData = data.data
  2587. this.yhqjlData = returnData
  2588. })
  2589. },
  2590. // 我收藏的简历
  2591. shoucangList() {
  2592. this.tableDataLoading = true
  2593. let userId = this.$route.query.userId
  2594. this.$http({
  2595. url: this.$http.adornUrl('admin/myCollection/getCompanyCollectionList'),
  2596. method: 'get',
  2597. params: this.$http.adornParams({
  2598. 'page': this.page,
  2599. 'limit': this.size,
  2600. 'userId': userId,
  2601. })
  2602. }).then(({
  2603. data
  2604. }) => {
  2605. this.tableDataLoading = false
  2606. let returnData = data.data
  2607. this.scData = returnData
  2608. })
  2609. },
  2610. },
  2611. mounted() {
  2612. this.dataSelect()
  2613. },
  2614. watch: {
  2615. '$route': 'dataSelect'
  2616. }
  2617. }
  2618. </script>
  2619. <style scoped="scoped">
  2620. .detailtabel h2 {
  2621. margin-top: 0;
  2622. }
  2623. .detailtabel .table_main table {
  2624. width: 100%;
  2625. }
  2626. .detailtabel .table_main {
  2627. border: 1px solid #e8e8e8;
  2628. }
  2629. .detailtabel table tr {
  2630. border-bottom: 1px solid #e8e8e8;
  2631. }
  2632. .detailtabel table tr th {
  2633. background-color: #fafafa;
  2634. padding: 16px 24px;
  2635. border-right: 1px solid #e8e8e8;
  2636. border-bottom: 1px solid #e8e8e8;
  2637. }
  2638. .detailtabel table tr td {
  2639. padding: 16px 24px;
  2640. border-right: 1px solid #e8e8e8;
  2641. border-bottom: 1px solid #e8e8e8;
  2642. }
  2643. .detailtabel table th {
  2644. color: rgba(0, 0, 0, .85);
  2645. font-weight: 400;
  2646. font-size: 14px;
  2647. line-height: 1.5;
  2648. }
  2649. .border-rt {
  2650. border-right: none !important;
  2651. }
  2652. .border-bt {
  2653. border-bottom: none !important;
  2654. }
  2655. /* ``````````````` */
  2656. .content_item {
  2657. margin-bottom: 20px;
  2658. }
  2659. .content_item span {
  2660. display: inline-block;
  2661. width: 120px;
  2662. text-align: left;
  2663. }
  2664. .bigDiv {
  2665. box-shadow: 0px 0px 10px #efefef;
  2666. margin: 10px 0;
  2667. padding: 10px;
  2668. position: relative;
  2669. }
  2670. .xiugai {
  2671. position: absolute;
  2672. right: 40px;
  2673. top: 10px;
  2674. }
  2675. .shanchu {
  2676. position: absolute;
  2677. right: 10px;
  2678. top: 10px;
  2679. }
  2680. .titleGz {
  2681. font-size: 15px;
  2682. font-weight: 600;
  2683. margin: 10px 0;
  2684. }
  2685. .spanGz {
  2686. color: #999;
  2687. }
  2688. .spanGz span {
  2689. margin-right: 20px;
  2690. padding: 5px 0;
  2691. }
  2692. .spanTime {
  2693. display: inline-block;
  2694. width: 50% !important;
  2695. }
  2696. .delGz {
  2697. color: #666;
  2698. margin: 5px 0;
  2699. }
  2700. </style>