| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779 |
- <template>
- <div>
- <div style="display: inline-block;font-size:18px;margin-bottom: 15px;">
- <a href="#" @click="prev" style="text-decoration:none;font-size: 14px;">
- <icon-svg name="jiantou" style="width: 1.2em;height: 1.2em;position: relative;top: 0.3em;"></icon-svg>
- 返回
- </a>
- <span style="display: inline-block;margin: 0 15px;color: #D9D9D9;">|</span>
- <span>用户详情</span>
- </div>
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane label="用户详情" name="first">
- <div class="detailtabel">
- <div class="table_main">
- <table>
- <tbody>
- <tr>
- <th>累计邀请数量</th>
- <td>{{ tablemoney.myOrdersCount ? `${tablemoney.myOrdersCount}笔` : '0笔' }}</td>
- <th>本月充值金额</th>
- <td>{{ tablemoney.consume ? `${tablemoney.consume}钻石` : '0钻石' }}</td>
- <th>openId</th>
- <td class="border-rt">{{ tableData.openId ? tableData.openId : '未绑定' }}</td>
- </tr>
- <tr>
- <th>邀请人邀请码</th>
- <td>{{ tableData.inviterCode }}</td>
- <th>余额</th>
- <td style="color: rgb(245, 108, 108)">
- {{ tablenum.money&&tablenum.money.money ? `${tablenum.money.money}` : '0' }}
- <el-button size="mini" :disabled="!isAuth('userList:updatejf')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="rechargenone(1)">修改</el-button>
- </td>
- <th></th>
- <td class="border-rt">
- </td>
- <!-- <th>定制化抵扣钻石</th>
- <td class="border-rt">
- {{ tablenum.money&&tablenum.money.customizationMoney ? `${tablenum.money.customizationMoney}钻石` : '0钻石' }}
- <el-button size="mini" :disabled="!isAuth('userList:updatejf')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="rechargenone(2)">修改</el-button>
- </td> -->
- </tr>
- <tr>
- <th>邀请人数</th>
- <td>
- {{ tablemoney.count ? `${tablemoney.count}人` : '0人' }}
- <!-- {{ tableData.rate ? `${tableData.rate}` : '0' }}
- <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(7,tableData.userId,tableData.rate)">修改</el-button> -->
- </td>
- <th>直属佣金比例</th>
- <td>{{ tableData.zhiRate ? `${tableData.zhiRate}` : '0' }}
- <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.zhiRate,4)">修改</el-button>
- </td>
- <th>非直属佣金比例</th>
- <td class="border-rt">{{ tableData.feiRate ? tableData.feiRate : '0' }}
- <el-button size="mini" style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.feiRate,5)">修改</el-button>
- </td>
- </tr>
- <tr>
- <th>创建时间</th>
- <td>{{ tableData.createTime }}</td>
- <th>手机号</th>
- <td>
- <span v-if="isAuth('userList:phone')">{{ tableData.phone ? tableData.phone : '未绑定' }}</span>
- <span v-else>{{ tableData.phone1 ? tableData.phone1 : '未绑定' }}</span>
- <!-- {{ tableData.phone ? tableData.phone : '未绑定' }} -->
- <el-button size="mini" :disabled="!isAuth('userListQy:update')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.phone,1)">修改</el-button>
- </td>
- <th>图像</th>
- <td class="border-rt">
- <img v-if="tableData.avatar==null" src="~@/assets/img/avatar.png" alt=""
- width="80" height="80">
- <img v-else :src="tableData.avatar" width="80" height="80" />
- <el-button size="mini" :disabled="!isAuth('userListQy:update')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.avatar,2)">修改</el-button>
- </td>
- </tr>
- <tr>
- <th>昵称</th>
- <td>
- <span v-if="!isAuth('userList:phone') && tableData.userName1">{{ tableData.userName1 ? tableData.userName1 : '未绑定' }}</span>
- <span v-else>{{ tableData.userName ? tableData.userName : '未绑定' }}</span>
- <!-- {{ tableData.userName }} -->
- <el-button size="mini" :disabled="!isAuth('userListQy:update')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.userName,3)">修改</el-button>
- </td>
- <!-- <th>来源</th>
- <td>{{ tableData.address ? tableData.address : '未绑定' }}</td> -->
- <th>编号</th>
- <td>{{ tableData.userId }}</td>
- <th>是否是会员</th>
- <td class="border-rt">
- <span v-if="tableData.isCompanyVip == 1 ">是</span>
- <span v-else>否</span>
- </td>
- </tr>
- <tr>
- <th>到期时间</th>
- <td>{{ tableData.companyMonthTime }}</td>
- <th>邀请码</th>
- <td>{{ tableData.invitationCode }}</td>
- <!-- <th>会员等级</th>
- <td>
- <span v-if="tableData.member == 1 ">1星</span>
- <span v-else-if="tableData.member == 2 ">2星</span>
- <span v-else>非会员</span>
- </td> -->
- <th>用户状态</th>
- <td class=" border-rt">
- <span v-if="tableData.status == 1 ">正常</span>
- <span v-if="tableData.status == 2 " style="color: #f56c6c;">禁用</span>
- <el-button size="mini" :disabled="!isAuth('userList:updateStatus')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="stateChange(tableData.userId)">更改状态</el-button>
- </td>
- </tr>
- <tr>
- <th>是否是会员</th>
- <td>
- {{tableData.isCompanyVip==1?'是':'否'}}
- </td>
- <!-- <th>入职状态</th>
- <td>
- <span v-if="tableData.userResumesStatus==1">简历展示</span>
- <span
- v-if="tableData.userResumesStatus==2||tableData.userResumesStatus==4">简历隐藏</span>
- <span v-if="tableData.userResumesStatus==3">待审核</span>
- <span v-if="!tableData.userResumesStatus">简历展示</span>
- </td> -->
- <th>用户类型</th>
- <td>
- <!-- <span>企业</span> -->
- <span v-if="tableData.userType==2">
- {{ tableData.companyType == 2 ? '猎头企业' : '一般企业' }}
- </span>
- <el-button size="mini" :disabled="!isAuth('userListQy:update')"
- style="color: #4f9dec;background: #fff;border: none;"
- @click="ageChange(tableData.userType,6)">修改</el-button>
- </td>
- <!-- <th>邀请人数</th>
- <td class=" border-rt">
- {{ tablemoney.count ? `${tablemoney.count}人` : '0人' }}
- </td> -->
- <th></th>
- <td class="border-rt">
- </td>
- </tr>
- <tr v-if="company.companyId">
- <th>公司名称</th>
- <td>{{ company.companyName }}</td>
- <!-- <th>公司法人</th>
- <td>{{ company.companyLegalPerson}}</td>
- <th>企业税号</th>
- <td class=" border-rt">
- <span>{{company.companyDutyParagraph}}</span>
- </td> -->
- <th>企业LOGO</th>
- <td>
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="company.companyLogo" alt=""
- slot="reference">
- <img style="width: 300px; height: 300px" :src="company.companyLogo" alt="">
- </el-popover>
- </td>
- <th>企业资质</th>
- <td class="border-rt">
- <div v-if="company.companyCertification">
- <span v-for="(item,index) in company.companyCertification.split(',')">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;"
- :src="item" alt="" slot="reference">
- <img style="width: 300px; height: 300px" :src="item" alt="">
- </el-popover>
- </span>
- </div>
- </td>
- </tr>
- <tr v-if="company.companyId">
- <th>经营范围</th>
- <td>{{ company.companyScope }}</td>
- <th>企业地址</th>
- <td>{{ company.companyAddress }}</td>
- <th>注册资金(单位:万)</th>
- <td class=" border-rt">
- {{ company.companyRegisteredFund }}
- </td>
- </tr>
- <!-- <tr v-if="company.companyId">
- <th>企业LOGO</th>
- <td>
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="company.companyLogo" alt=""
- slot="reference">
- <img style="width: 300px; height: 300px" :src="company.companyLogo" alt="">
- </el-popover>
- </td>
- <th>企业资质</th>
- <td>
- <div v-if="company.companyCertification">
- <span v-for="(item,index) in company.companyCertification.split(',')">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;" :src="item" alt=""
- slot="reference">
- <img style="width: 300px; height: 300px" :src="item" alt="">
- </el-popover>
- </span>
- </div>
- </td>
- <th>企业证书</th>
- <td class=" border-rt">
- <div v-if="company.companyCertificate">
- <span v-for="(item,index) in company.companyCertificate.split(',')">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px;display: inline-block;margin: 5px;" :src="item" alt=""
- slot="reference">
- <img style="width: 300px; height: 300px" :src="item" alt="">
- </el-popover>
- </span>
- </div>
- </td>
- </tr> -->
- <tr v-if="company.companyId">
- <th class="border-bt">企业简介</th>
- <td class="border-bt" style="mix-width: 400px;" colspan="100%">
- <div>{{company.companyContent}}</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </el-tab-pane>
- <el-tab-pane label="提现记录" name="sixth">
- <el-table v-loading="tableDataLoading" :data="withdrawData.list">
- <el-table-column fixed prop="id" label="编号" width="80">
- </el-table-column>
- <el-table-column prop="zhifubao" label="支付宝账号">
- <template slot-scope="scope">
- <span
- style="color: #4f9dec;cursor: pointer;">{{scope.row.zhifubao ? scope.row.zhifubao : 'null'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="zhifubaoName" label="支付宝名称">
- <template slot-scope="scope">
- <span>{{scope.row.zhifubaoName ? scope.row.zhifubaoName : 'null'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="money" label="提现金额" width="100">
- </el-table-column>
- <el-table-column prop="state" label="状态" width="100" fixed="right">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 0">待转账</span>
- <span v-if="scope.row.state == 1">已转账</span>
- <span v-if="scope.row.state == -1">已退款</span>
- </template>
- </el-table-column>
- <el-table-column prop="refund" label="退款原因" width="220">
- </el-table-column>
- <el-table-column prop="createAt" label="申请时间" width="170">
- </el-table-column>
- <el-table-column prop="outAt" label="转账/退款时间" width="180">
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeTxjl" @current-change="handleCurrentChangeTxjl"
- :page-sizes="[5, 10, 15, 20]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="withdrawData.totalCount">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="钱包明细" name="eighth">
- <el-table v-loading="tableDataLoading" :data="walletData.records">
- <el-table-column prop="id" label="编号" width="100"></el-table-column>
- <el-table-column prop="title" label="标题"></el-table-column>
- <el-table-column prop="content" label="内容"></el-table-column>
- <el-table-column prop="money" label="金额" width="100">
- <template slot-scope="scope">
- <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
- <span style="color: #006600;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="180"></el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeQbmx" @current-change="handleCurrentChangeQbmx"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="walletData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <!-- <el-tab-pane label="定制化抵扣明细" name="dongjie">
- <el-table v-loading="tableDataLoading" :data="rechargeData.records">
- <el-table-column prop="id" label="编号" width="100"></el-table-column>
- <el-table-column prop="title" label="标题"></el-table-column>
- <el-table-column prop="content" label="内容"></el-table-column>
- <el-table-column prop="money" label="钻石" width="100">
- <template slot-scope="scope">
- <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
- <span style="color: #006600;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="180"></el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeDzh" @current-change="handleCurrentChangeDzh"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="rechargeData.total">
- </el-pagination>
- </div>
- </el-tab-pane> -->
- <el-tab-pane label="充值明细" name="seventh">
- <div style="display: inline-block;">
- <span>开始时间:</span>
- <el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right"
- type="datetime" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
- </el-date-picker>
- <span>截止时间:</span>
- <el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right"
- type="datetime" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
- </el-date-picker>
- <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="timeDate2">
- 查询</el-button>
- </div>
- <el-table v-loading="tableDataLoading" :data="rechargeData.list">
- <el-table-column prop="id" label="编号" width="50"></el-table-column>
- <el-table-column prop="orderId" label="充值订单号" width="200"></el-table-column>
- <el-table-column prop="money" label="充值金额"></el-table-column>
- <el-table-column prop="userId" label="会员编号"></el-table-column>
- <el-table-column label="业务类型">
- <template slot-scope="scope">
- <span v-if="scope.row.type == 1">充值</span>
- <span v-if="scope.row.type == 2">会员</span>
- </template>
- </el-table-column>
- <el-table-column label="分类" width="120">
- <template slot-scope="scope"> <!-- 1app微信 2微信公众号 3微信小程序 4app支付宝 5H5支付宝 6微信PC 7支付宝PC -->
- <!-- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 1">微信</span>
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 2">支付宝</span> -->
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.classify == 1">app微信</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 2">微信公众号</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 3">微信小程序</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 4">app支付宝</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 5">H5支付宝</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 6">微信PC</span>
- <span style="color: #4f9dec;cursor: pointer;"
- v-else-if="scope.row.classify == 7">支付宝PC</span>
- <span style="color: #4f9dec;cursor: pointer;" v-else>暂无</span>
- </template>
- </el-table-column>
- <el-table-column label="状态">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 0">待支付</span>
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 1">支付成功</span>
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 2">支付失败</span>
- </template>
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="170">
- </el-table-column>
- <el-table-column prop="payTime" label="支付时间" width="170">
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeCzmx" @current-change="handleCurrentChangeCzmx"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="rechargeData.totalCount">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="浏览简历" name="fangke">
- <div>
- <div style="position: relative;display: inline-block;">
- <span>职位:</span>
- <el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入职位"
- v-model="resumesPost">
- </el-input>
- </div>
- <div style="margin:5px;display: inline-block;">
- <span>开始时间:</span>
- <el-date-picker style="width: 160px;margin-left: 10px;" v-model="startTime" align="right"
- type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间">
- </el-date-picker>
- </div>
- <div style="margin:5px;display: inline-block;">
- <span>截止时间:</span>
- <el-date-picker style="width: 160px;margin-left: 10px;" v-model="endTime" align="right"
- type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择截止时间">
- </el-date-picker>
- </div>
- <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询
- </el-button>
- <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans">重置
- </el-button>
- </div>
- <el-table v-loading="tableDataLoading" :data="fangkeData.records">
- <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
- </el-table-column>
- <el-table-column prop="resumesName" label="姓名" width="100">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row"
- @click="updates(scope.row)">{{scope.row.resumesName ? scope.row.resumesName : '未绑定'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumesPhone" label="电话" width="150">
- <template slot-scope="scope">
- <span v-if="scope.row">{{scope.row.resumesPhone }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="major" label="专业">
- <template slot-scope="scope">
- <el-popover placement="top-start" title="" trigger="hover">
- <div slot="reference"
- style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
- {{scope.row.major}}
- </div>
- <div style="width: 300px;">{{scope.row.major}}</div>
- </el-popover>
- </template>
- </el-table-column>
- <el-table-column prop="resumesEducation" label="学历">
- </el-table-column>
- <el-table-column prop="resumesAge" label="年龄">
- </el-table-column>
- <el-table-column prop="resumesMarriage" label="婚姻状态">
- </el-table-column>
- <el-table-column prop="resumesWorkExperience" label="工作经验" width="160">
- </el-table-column>
- <el-table-column prop="resumesPost" label="职位">
- </el-table-column>
- <el-table-column prop="resumesImage" label="资质证书" width="150">
- <template slot-scope="scope">
- <div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
- <div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
- <img style="width: 200px; height: 200px" :src="item" alt="">
- </el-popover>
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="resumesEmail" label="邮箱" width="160">
- </el-table-column>
- <el-table-column prop="resumesCompensation" label="期望薪资" width="160">
- </el-table-column>
- <el-table-column prop="resumesDetails" label="自我介绍" width="160">
- </el-table-column>
- <el-table-column prop="status" label="状态" width="80" fixed="right">
- <template slot-scope="scope">
- <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待推送</span>
- <span style="color: red;" v-if="scope.row.status === 2 ">已推送</span>
- <span style="color: #999;" v-if="scope.row.status === 3 ">未完成</span>
- </template>
- </el-table-column>
- <el-table-column prop="bUpdateTime" label="浏览时间" width="160">
- </el-table-column>
- <el-table-column label="操作" prop="id" width="160" fixed='right' align="center">
- <template slot-scope="scope">
- <el-button size="mini" type="primary" @click="updates(scope.row)" style="margin: 5px;">
- 简历详情
- </el-button>
- <el-button size="mini" type="danger" @click="deleteLlBtn(scope.row)" style="margin: 5px;">
- 删除记录
- </el-button>
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeLljl" @current-change="handleCurrentChangeLljl"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="fangkeData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <!-- 我的团队 -->
- <el-tab-pane label="我的团队" name="tuandui">
- <div>
- <span>等级:</span>
- <el-select v-model="types" style="width:150px;margin-left: 10px;" @change="animeDat(types)">
- <el-option v-for="item in typesList" :key="item.type" :label="item.name"
- :value="item.type">
- </el-option>
- </el-select>
- </div>
- <el-table v-loading="tableDataLoading" :data="tuanduiData.records">
- <el-table-column fixed prop="userId" label="id" width="80">
- </el-table-column>
- <el-table-column prop="nickName" label="用户昵称">
- <template slot-scope="scope">
- <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)">
- {{scope.row.userName ? scope.row.userName : '未绑定'}}
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="avatar" label="用户头像">
- <template slot-scope="scope">
- <div style="margin-top: 5px;" v-if="scope.row.avatar">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="scope.row.avatar" alt=""
- slot="reference">
- <img style="width: 200px; height: 200px" :src="scope.row.avatar" alt="">
- </el-popover>
- </div>
- <div v-else><img style="width: 50px; height: 50px" src="~@/assets/img/avatar.png" alt=""
- slot="reference"></div>
- </template>
- </el-table-column>
- <el-table-column prop="phone" label="电话">
- </el-table-column>
- <el-table-column prop="money" label="收益">
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="160">
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeTd" @current-change="handleCurrentChangeTd"
- :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="tuanduiData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="面试记录" name="fapiao">
- <el-table width="780px" v-loading="tableDataLoading4" :data="fapiaoData.records">
- <el-table-column prop="recordId" label="编号" width="80">
- </el-table-column>
- <el-table-column prop="postPush.ruleClassifyName" label="面试岗位">
- <!-- <template slot-scope="scope">
- <el-popover placement="top-start" title="" trigger="hover">
- <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>
- <div style="width: 500px;" v-html="scope.row.title"></div>
- </el-popover>
- </template> -->
- </el-table-column>
- <el-table-column prop="postPush.salaryRange" label="岗位薪资">
- </el-table-column>
- <el-table-column prop="userEntity.userName" label="面试用户">
- <template slot-scope="scope">
- <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row.userEntity)">
- {{scope.row.userEntity ? scope.row.userEntity.userName : '未绑定'}}
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="interviewDateTime" label="面试时间">
- </el-table-column>
- <el-table-column prop="detailedAddress" label="面试地点" width="250">
- </el-table-column>
- <el-table-column prop="remarks" label="面试备注">
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间">
- </el-table-column>
- <el-table-column prop="status" label="状态">
- <template slot-scope="scope">
- <span v-if="scope.row.status==1">待接受</span>
- <span v-if="scope.row.status==2">已接受</span>
- <span v-if="scope.row.status==3">已拒绝</span>
- <span v-if="scope.row.status==4">已过期</span>
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeF" @current-change="handleCurrentChangeF"
- :page-sizes="[5, 10, 15, 20]" :page-size="size2" :current-page="page2"
- layout="total,sizes, prev, pager, next,jumper" :total="fapiaoData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="我的招聘" name="zhaopin">
- <el-table v-loading="tableDataLoading" :data="takeData.records">
- <el-table-column fixed prop="postPushId" label="编号" width="50">
- </el-table-column>
- <el-table-column prop="ruleClassifyName" label="岗位名称">
- </el-table-column>
- <el-table-column prop="stationName" label="职位名称">
- </el-table-column>
- <el-table-column prop="company.companyName" label="企业名称">
- </el-table-column>
- <el-table-column prop="positionDetails" label="职位信息" width="200">
- <template slot-scope="scope">
- <div
- style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
- <el-popover placement="top-start" title="" trigger="hover">
- <div slot="reference" v-html="scope.row.positionDetails"></div>
- <div style="width: 400px;" v-html="scope.row.positionDetails"></div>
- </el-popover>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="hr.hrEmail" label="邮箱地址">
- </el-table-column>
- <el-table-column prop="salaryRange" label="薪资范围">
- </el-table-column>
- <el-table-column prop="education" label="学历">
- </el-table-column>
- <el-table-column prop="experience" label="经验">
- </el-table-column>
- <!-- <el-table-column prop="industry" label="行业">
- </el-table-column> -->
- <el-table-column prop="typeDesc" label="招聘类型">
- </el-table-column>
- <el-table-column prop="province" label="省">
- </el-table-column>
- <el-table-column prop="city" label="市">
- </el-table-column>
- <el-table-column prop="county" label="区">
- </el-table-column>
- <el-table-column prop="address" label="详情地址">
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间">
- </el-table-column>
- <el-table-column prop="status" label="状态" fixed="right">
- <template slot-scope="scope">
- <span style="color: #999;" v-if="scope.row.status==1">待审核</span>
- <span style="color: #13ce66;" v-if="scope.row.status==2">正常</span>
- <span style="color: #ff4949;" v-else-if="scope.row.status==5">下架</span>
- <span style="color: #ff4949;" v-else-if="scope.row.status==3">审核拒绝</span>
- <span style="color: #999;" v-else-if="scope.row.status==4">已取消</span>
- </template>
- </el-table-column>
- <!-- <el-table-column fixed="right" label="操作" width="180">
- <template slot-scope="scope">
- <el-button size="mini" type="primary" @click="liulan(scope.row)" style="margin: 3px;">浏览列表
- </el-button>
- </template>
- </el-table-column> -->
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeTs" @current-change="handleCurrentChangeTs"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="takeData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="我的黑名单" name="heimigndan">
- <el-table v-loading="tableDataLoadingLl" :data="tableData2.list">
- <el-table-column prop="userId" label="编号" width="50">
- </el-table-column>
- <el-table-column prop="user.userName" label="用户昵称">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.user" @click="updates(scope.row)">
- {{ scope.row.user ? scope.row.user.phone : '未绑定' }}
- </span>
- <div v-else>-</div>
- </template>
- </el-table-column>
- <el-table-column label="图像">
- <template slot-scope="scope">
- <div v-if="scope.row.user">
- <img :src="scope.row.user.avatar" alt="" width="40" height="40">
- </div>
- <img v-else src="~@/assets/img/avatar.png"
- alt="" width="40" height="40">
-
- </template>
- </el-table-column>
- <el-table-column prop="phone" label="手机号">
-
- </el-table-column>
- <el-table-column prop="user.invitationCode" label="邀请码"></el-table-column>
- <el-table-column prop="user.inviterCode" label="邀请人邀请码">
- </el-table-column>
- <el-table-column prop="userResumesStatus" label="是否入职">
- <template slot-scope="scope">
- <div v-if="scope.row.user">
- <span
- v-if="scope.row.user.userResumesStatus==2||scope.row.user.userResumesStatus==4">简历隐藏</span>
- <span v-else-if="scope.row.user.userResumesStatus==3">审核中</span>
- <span v-else>简历展示</span>
- </div>
-
- </template>
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间">
- </el-table-column>
- <el-table-column label="操作" width="160" fixed="right">
- <template slot-scope="scope">
- <div v-if="scope.row.user">
- <el-button size="mini" type="danger" @click="laheiBtn(scope.row,1)" style="margin: 5px;">
- 拉出黑名单
- </el-button>
- <el-button size="mini" type="primary" @click="updates(scope.row)" style="margin: 3px;">用户详情
- </el-button>
- </div>
- <div v-else>用户已注销</div>
-
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeLl" @current-change="handleCurrentChangeLl"
- :page-sizes="[10, 20, 30, 40]" :page-size="limitL" :current-page="pageL"
- layout="total,sizes, prev, pager, next,jumper" :total="tableData2.totalCount">
- </el-pagination>
- </div>
- </el-tab-pane>
- <!-- 收到的简历 -->
- <el-tab-pane label="收到的简历" name="toudi">
- <el-table v-loading="tableDataLoading" :data="tdjlData.records">
- <el-table-column prop="recordId" label="编号" width="80" fixed="left">
- </el-table-column>
- <el-table-column prop="postPush.ruleClassifyName" label="投递岗位">
- </el-table-column>
- <el-table-column prop="resumes" label="姓名" width="100">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.resumes"
- @click="updates(scope.row.resumes)">{{scope.row.resumes.resumesName ? scope.row.resumes.resumesName : '未绑定'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesPhone" label="电话" width="150">
- <template slot-scope="scope">
- <span v-if="scope.row.resumes">{{scope.row.resumes.resumesPhone }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.major" label="专业">
- <template slot-scope="scope">
- <el-popover placement="top-start" title="" trigger="hover">
- <div slot="reference"
- style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
- {{scope.row.resumes.major}}
- </div>
- <div style="width: 300px;">{{scope.row.resumes.major}}</div>
- </el-popover>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesEducation" label="学历">
- </el-table-column>
- <el-table-column prop="resumes.resumesAge" label="年龄">
- </el-table-column>
- <el-table-column prop="resumes.resumesMarriage" label="婚姻状态">
- </el-table-column>
- <el-table-column prop="resumes.resumesWorkExperience" label="工作经验" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesPost" label="职位">
- </el-table-column>
- <el-table-column prop="resumesImage" label="资质证书" width="150">
- <template slot-scope="scope">
- <div style="display:flex;flex-wrap: wrap;"
- v-if="scope.row.resumes&&scope.row.resumes.resumesImage">
- <div v-for="(item,index) in scope.row.resumes.resumesImage.split(',')" :key="index">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
- <img style="width: 200px; height: 200px" :src="item" alt="">
- </el-popover>
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesEmail" label="邮箱" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesCompensation" label="期望薪资" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesDetails" label="自我介绍" width="160">
- </el-table-column>
- <el-table-column prop="resumes.status" label="状态" width="80" fixed="right">
- <template slot-scope="scope">
- <span style="color: #4f9dec;" v-if="scope.row.resumes.status === 1 ">待推送</span>
- <span style="color: red;" v-if="scope.row.resumes.status === 2 ">已推送</span>
- <span style="color: #999;" v-if="scope.row.resumes.status === 3 ">未完成</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.createTime" label="创建时间" width="160">
- </el-table-column>
- <el-table-column prop="createTime" label="操作" width="160" fixed="right">
- <template slot-scope="scope">
- <el-button size="mini" type="warning" disabled style="margin: 5px;"
- v-if="scope.row.resumes.isShield==1">已加入黑名单
- </el-button>
- <el-button size="mini" type="danger" @click="laheiBtn(scope.row,2)" style="margin: 5px;"
- v-else>加入黑用户
- </el-button>
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangetdjl" @current-change="handleCurrentChangetdjl"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="tdjlData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <!-- 已获取的简历 -->
- <el-tab-pane label="已获取的简历" name="huoqu">
- <el-table v-loading="tableDataLoading" :data="yhqjlData.records">
- <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
- </el-table-column>
- <el-table-column prop="userName" label="用户昵称" width="100">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.userName"
- @click="updates(scope.row)">{{scope.row.userName ? scope.row.userName : '未绑定'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumesName" label="姓名" width="100">
- </el-table-column>
- <el-table-column prop="resumesPhone" label="电话" width="150">
- </el-table-column>
- <el-table-column prop="resumesSex" label="性别">
- <template slot-scope="scope">
- <span v-if="scope.row.resumesSex==1">男</span>
- <span v-if="scope.row.resumesSex==2">女</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumesEducation" label="学历">
- </el-table-column>
- <el-table-column prop="resumesAge" label="年龄">
- </el-table-column>
- <el-table-column prop="payMoney" label="支付金额" width="160">
- </el-table-column>
- <el-table-column prop="payType" label="支付方式" width="80">
- <template slot-scope="scope">
- <span style="color: #4f9dec;" v-if="scope.row.payType === 1 ">次数购买</span>
- <span style="color: #4f9dec;" v-if="scope.row.payType === 2 ">钻石购买</span>
- </template>
- </el-table-column>
- <el-table-column prop="createTime" label="购买时间" width="160">
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeyhq" @current-change="handleCurrentChangeyhq"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="yhqjlData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <el-tab-pane label="我收藏的简历" name="shoucang">
-
- <el-table v-loading="tableDataLoading" :data="scData.records">
- <el-table-column prop="resumesId" label="编号" width="80" fixed="left">
- </el-table-column>
- <el-table-column prop="resumes.resumesName" label="姓名" width="100">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row"
- @click="updates(scope.row)">{{scope.row.resumes.resumesName ? scope.row.resumes.resumesName : '未绑定'}}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesPhone" label="电话" width="150">
- <template slot-scope="scope">
- <span v-if="scope.row">{{scope.row.resumes.resumesPhone }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.major" label="专业">
- <template slot-scope="scope">
- <el-popover placement="top-start" title="" trigger="hover">
- <div slot="reference"
- style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;">
- {{scope.row.resumes.major}}
- </div>
- <div style="width: 300px;">{{scope.row.resumes.major}}</div>
- </el-popover>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesEducation" label="学历">
- </el-table-column>
- <el-table-column prop="resumes.resumesAge" label="年龄">
- </el-table-column>
- <el-table-column prop="resumesMarriage" label="婚姻状态">
- </el-table-column>
- <el-table-column prop="resumes.resumesWorkExperience" label="工作经验" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesPost" label="职位">
- </el-table-column>
- <el-table-column prop="resumesImage" label="资质证书" width="150">
- <template slot-scope="scope">
- <div style="display:flex;flex-wrap: wrap;" v-if="scope.row.resumesImage">
- <div v-for="(item,index) in scope.row.resumesImage.split(',')" :key="index">
- <el-popover placement="top-start" title="" trigger="hover">
- <img style="width: 50px; height: 50px" :src="item" alt="" slot="reference">
- <img style="width: 200px; height: 200px" :src="item" alt="">
- </el-popover>
- </div>
- </div>
- </template>
- </el-table-column>
- <el-table-column prop="resumes.resumesEmail" label="邮箱" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesCompensation" label="期望薪资" width="160">
- </el-table-column>
- <el-table-column prop="resumes.resumesDetails" label="自我介绍" width="160">
- </el-table-column>
- <!-- <el-table-column prop="status" label="状态" width="80" fixed="right">
- <template slot-scope="scope">
- <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待推送</span>
- <span style="color: red;" v-if="scope.row.status === 2 ">已推送</span>
- <span style="color: #999;" v-if="scope.row.status === 3 ">未完成</span>
- </template>
- </el-table-column>
- -->
- <el-table-column prop="bUpdateTime" label="浏览时间" width="160">
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangeLljl" @current-change="handleCurrentChangeLljl"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
- layout="total,sizes, prev, pager, next,jumper" :total="scData.total">
- </el-pagination>
- </div>
- </el-tab-pane>
- <!-- 不可提现添加金额 -->
- <el-dialog title="修改余额" :visible.sync="dialogFormVisible1" center>
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
- <el-radio-group v-model="type">
- <el-radio :label="1">添加</el-radio>
- <el-radio :label="2">减少</el-radio>
- </el-radio-group>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexJe==1">
- <span style="width: 200px;display: inline-block;text-align: right;">金额:</span>
- <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
- placeholder="请输入金额"></el-input>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexJe==2">
- <span style="width: 200px;display: inline-block;text-align: right;">钻石:</span>
- <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
- placeholder="请输入钻石"></el-input>
- </div>
- <div slot="footer" class="dialog-footer">
- <el-button @click="dialogFormVisible1 = false">取 消</el-button>
- <el-button type="primary" @click="StairNoticeTo1()">确 定</el-button>
- </div>
- </el-dialog>
- <!-- 修改年龄 -->
- <el-dialog :title="titles" :visible.sync="dialogFormVisible2" center>
- <div style="margin-bottom: 10px;" v-if="indexType==4||indexType==5||indexType==7">
- <span style="width: 200px;display: inline-block;text-align: right;">佣金比例:</span>
- <el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
- placeholder="输入佣金比例"></el-input>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexType==1">
- <span style="width: 200px;display: inline-block;text-align: right;">手机号:</span>
- <el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入手机号"></el-input>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexType==2">
- <span style="width: 200px;display: inline-block;text-align: right;">头像:</span>
- <!-- <el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
- placeholder="请输入金额"></el-input> -->
- <div
- style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;display: inline-block;">
- <el-upload class="avatar-uploader" v-model="age" :action="$http.adornUrl('alioss/upload')"
- :show-file-list="false" :on-success="handleAvatarSuccess5">
- <img v-if="age!=''" :src="age" class="avatar"
- style="border-radius: 6px;width: 148px;height: 148px;" />
- <i v-else class="el-icon-plus avatar-uploader-icon iconss"></i>
- </el-upload>
- </div>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexType==3">
- <span style="width: 200px;display: inline-block;text-align: right;">昵称:</span>
- <el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入昵称"></el-input>
- </div>
- <div style="margin-bottom: 10px;" v-if="indexType==6">
- <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
- <el-radio-group v-model="userType">
- <el-radio :label="1">一般企业</el-radio>
- <el-radio :label="2">猎头企业</el-radio>
- </el-radio-group>
- </div>
- <div slot="footer" class="dialog-footer">
- <el-button @click="dialogFormVisible2 = false">取 消</el-button>
- <el-button type="primary" @click="StairNoticeTo2()">确 定</el-button>
- </div>
- </el-dialog>
- <!-- 评论列表 -->
- <el-dialog title="评论列表" :visible.sync="dialogFormVisible10" center>
- <el-table v-loading="tableDataLoading" :data="pinglunData.list">
- <el-table-column prop="id" label="编号" width="80">
- </el-table-column>
- <el-table-column prop="userName" label="评论用户" width="120">
- <template slot-scope="scope">
- <span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)"
- v-text="scope.row.userName"></span>
- </template>
- </el-table-column>
- <el-table-column prop="avatar" label="用户头像" width="100">
- <template slot-scope="scope">
- <img v-if="scope.row.avatar && scope.row.avatar!=''" :src="scope.row.avatar" width="40"
- height="40" />
- <span v-else>暂无图片</span>
- </template>
- </el-table-column>
- <el-table-column prop="content" label="评论内容">
- </el-table-column>
- <el-table-column prop="createTime" label="评论时间" width="180">
- </el-table-column>
- <el-table-column label="操作" prop="id" width="100" fixed='right' align="center">
- <template slot-scope="scope">
- <el-button size="mini" type="danger" :disabled="!isAuth('locality:delete')"
- @click="pinglundelete(scope.row)">删除
- </el-button>
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center;margin-top: 10px;">
- <el-pagination @size-change="handleSizeChangePl" @current-change="handleCurrentChangePl"
- :page-sizes="[10, 20, 30, 40]" :page-size="limit2" :current-page="page2"
- layout="total,sizes, prev, pager, next,jumper" :total="pinglunData.totalCount">
- </el-pagination>
- </div>
- </el-dialog>
- <!-- 添加/修改发票 -->
- <el-dialog :title="titlesFp" :visible.sync="dialogFormVisibleFp" center width="70%">
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">发票信息:</span>
- <div style="margin-left: 200px;margin-top: 10px;">
- <quill-editor ref="myTextEditor" v-model="title" :options="quillOption"
- style="padding-bottom: 50px;height: 300px;width: 72%;display: inline-table;margin-bottom: 60px;">
- </quill-editor>
- </div>
- </div>
- <!-- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">开票信息:</span>
- <el-input v-model="title" style="width:45%;" min="0" placeholder="请输入开票信息">
- </el-input>
- </div> -->
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">发票金额:</span>
- <el-input v-model="money" type="number" style="width:45%;" min="0" placeholder="请输入发票金额"
- onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
- </el-input>
- </div>
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">发票内容:</span>
- <el-input v-model="content" style="width:45%;" min="0" placeholder="请输入发票内容">
- </el-input>
- </div>
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">发票类型:</span>
- <el-radio-group v-model="invoiceType">
- <el-radio :label="1">专票</el-radio>
- <el-radio :label="2">普票</el-radio>
- </el-radio-group>
- </div>
- <div style="margin-bottom: 10px;">
- <span style="width: 200px;display: inline-block;text-align: right;">发票状态:</span>
- <el-radio-group v-model="statusF">
- <el-radio :label="1">待开票</el-radio>
- <el-radio :label="2">已开票</el-radio>
- </el-radio-group>
- </div>
- <div slot="footer" class="dialog-footer" style="margin-top: 30px;text-align: center;">
- <el-button @click="dialogFormVisibleFp=false">取 消</el-button>
- <el-button type="primary" @click="fapiaoNoticeTo()">确 定</el-button>
- </div>
- </el-dialog>
- </el-tabs>
- </div>
- </template>
- <script>
- import {
- quillEditor
- } from 'vue-quill-editor'
- import 'quill/dist/quill.core.css'
- import 'quill/dist/quill.snow.css'
- import 'quill/dist/quill.bubble.css'
- import quillConfig from '../mission/quill-config.js'
- export default {
- name: 'news',
- components: {
- quillEditor
- },
- data() {
- return {
- state: 0,
- limit: 10,
- page: 1,
- limit2: 10,
- page2: 1,
- userId: '',
- money: '',
- title: '',
- content: '',
- phone: '',
- startTime: '',
- endTime: '',
- invitationCode: '',
- feiDatamin: {},
- info: {
- stockDate: this.getNowTime(), //日期
- },
- info2: {
- stockDate2: this.getNowTime2(), //日期
- },
- tablemoney: {},
- tablenum: {},
- tableData: {},
- company: {},
- userData: {},
- fangkeData: {},
- tableDatamin: [],
- withdrawData: {},
- walletData: {},
- rechargeData: {},
- takeData: {},
- dingdanData: {},
- wannengData: {},
- activeName: 'first',
- dialogFormVisible: false,
- dialogFormVisible1: false,
- dialogFormVisible2: false,
- dialogFormVisible10: false,
- tableDataLoading: true,
- invitation: '',
- search: '',
- classifyIds: 0,
- statusId: -1,
- myPhone: '',
- type: '',
- userType: '',
- age: '',
- renwuId: '',
- pinglunData: {},
- tuanduiData: {},
- types: 1,
- typesList: [{
- type: 1,
- name: '一级'
- },
- {
- type: 2,
- name: '二级'
- }
- ],
- pingbiData: {},
- baomingData: {},
- classify: 1,
- indexJe: 1,
- dialogFormVisibleFp: false,
- tableDataLoading4: false,
- page2: 1,
- size2: 10,
- userId: '',
- titlesFp: '添加',
- title: '',
- content: '',
- money: '',
- invoiceId: '',
- statusF: '',
- invoiceType: 1,
- fapiaoData: {},
- quillOption: quillConfig,
- companyId: '',
- dialogFormVisibleLl: false,
- tableDataLoadingLl: true,
- tableData2: {},
- pageL: 1,
- limitL: 10,
- postPushId: '',
- tdjlData: {},
- indexType: '',
- yhqjlData: {},
- resumesPost: '',
- scData:{},
- titles: '修改'
- }
- },
- methods: {
- // 返回上一级
- prev() {
- this.$router.back()
- },
- // 详情跳转
- updates(row) {
- this.$router.push({
- path: '/userDetail',
- query: {
- userId: row.userId
- }
- })
- },
- // 详情跳转
- updates1(row) {
- this.$router.push({
- path: '/userDetailQ1',
- query: {
- userId: row.userId
- }
- })
- },
- //处理默认选中当前日期
- getNowTime() {
- var now = new Date()
- var year = now.getFullYear() //得到年份
- var month = now.getMonth() //得到月份
- var date = now.getDate() //得到日期
- month = month + 1
- month = month.toString().padStart(2, '0')
- date = date.toString().padStart(2, '0')
- var defaultDate = `${year}-${month}-${date}`
- return defaultDate
- this.$set(this.info, 'stockDate', defaultDate)
- },
- //处理默认选中当前日期
- getNowTime2() {
- var now = new Date()
- var year = now.getFullYear() //得到年份
- var month = now.getMonth() - now.getMonth() //得到月份
- var date = now.getDate() - now.getDate() + 1 //得到日期
- month = month + 1
- month = month.toString().padStart(2, '0')
- date = date.toString().padStart(2, '0')
- var defaultDate = `${year}-${month}-${date}`
- return defaultDate
- this.$set(this.info, 'stockDate', defaultDate)
- },
- // tabs切换
- handleClick(tab, event) {
- if (tab._props.label == '用户详情') {
- this.dataSelect()
- // this.autonymSelect()
- }
- if (tab._props.label == '提现记录') {
- this.limit = 10,
- this.page = 1,
- this.withdrawSelect()
- }
- if (tab._props.label == '钱包明细') {
- this.limit = 10
- this.page = 1
- this.walletSelect()
- }
- if (tab._props.label == '充值明细') {
- this.limit = 10
- this.page = 1
- this.rechargeSelect()
- }
- if (tab._props.label == '定制化抵扣明细') {
- this.limit = 10
- this.page = 1
- this.rechargeSelectDz()
- }
- if (tab._props.label == '我的招聘') {
- this.limit = 10
- this.page = 1
- this.takeSelect()
- }
- if (tab._props.label == '我的简历') {
- this.limit = 10
- this.page = 1
- this.state = 0
- this.dingdanSelect()
- }
- if (tab._props.label == '浏览项目') {
- this.limit = 10
- this.page = 1
- this.state = 8
- this.flag = 1
- this.userSelect()
- }
- if (tab._props.label == '浏览简历') {
- this.limit = 10
- this.page = 1
- this.state = 8
- this.flag = 1
- this.fangkeSelect()
- }
- if (tab._props.label == '我的团队') {
- this.limit = 10
- this.page = 1
- this.types = 1
- this.tuanduiSelect()
- }
- if (tab._props.label == '屏蔽公司') {
- this.limit = 10
- this.page = 1
- this.pingbiSelect()
- }
- if (tab._props.label == '我的报名') {
- this.limit = 10
- this.page = 1
- this.baomingSelect()
- }
- if (tab._props.label == '面试记录') {
- this.size2 = 10
- this.page2 = 1
- this.fapiaoList()
- }
- if (tab._props.label == '我的黑名单') {
- this.limitL = 10
- this.pageL = 1
- this.dataSelectLl()
- }
- if (tab._props.label == '收到的简历') {
- this.limit = 10
- this.page = 1
- this.state = 8
- this.flag = 1
- this.tdjlSelect()
- }
- if (tab._props.label == '已获取的简历') {
- this.limit = 10
- this.page = 1
- this.yhqjlSelect()
- }
- if (tab._props.label == '我收藏的简历') {
- this.size = 10
- this.page = 1
- this.shoucangList()
- }
-
- },
- handleSizeChange(val) {
- this.limit = val
- this.teamSelect()
- },
- handleCurrentChange(val) {
- this.page = val
- this.teamSelect()
- },
- handleSizeChange1(val) {
- this.limit = val
- this.InformationSelect()
- },
- handleCurrentChange1(val) {
- this.page = val
- this.InformationSelect()
- },
- handleSizeChangeTxjl(val) {
- this.limit = val
- this.withdrawSelect()
- },
- handleCurrentChangeTxjl(val) {
- this.page = val
- this.withdrawSelect()
- },
- handleSizeChangeQbmx(val) {
- this.limit = val
- this.walletSelect()
- },
- handleCurrentChangeQbmx(val) {
- this.page = val
- this.walletSelect()
- },
- handleSizeChangeCzmx(val) {
- this.limit = val
- this.rechargeSelect()
- },
- handleCurrentChangeCzmx(val) {
- this.page = val
- this.rechargeSelect()
- },
- handleSizeChangeDzh(val) {
- this.limit = val
- this.rechargeSelectDz()
- },
- handleCurrentChangeDzh(val) {
- this.page = val
- this.rechargeSelectDz()
- },
- handleSizeChangeTs(val) {
- this.limit = val
- this.takeSelect()
- },
- handleCurrentChangeTs(val) {
- this.page = val
- this.takeSelect()
- },
- handleSizeChangeLljl(val) {
- this.limit = val
- this.feiSelect()
- },
- handleCurrentChangeLljl(val) {
- this.page = val
- this.feiSelect()
- },
- handleSizeChangeTd(val) {
- this.limit = val
- this.tuanduiSelect()
- },
- handleCurrentChangeTd(val) {
- this.page = val
- this.tuanduiSelect()
- },
- handleSizeChangePl(val) {
- this.limit2 = val
- this.pinglunSelect(this.renwuId)
- },
- handleCurrentChangePl(val) {
- this.page2 = val
- this.pinglunSelect(this.renwuId)
- },
- handleSizeChangePb(val) {
- this.limit = val
- this.pingbiSelect()
- },
- handleCurrentChangePb(val) {
- this.page = val
- this.pingbiSelect()
- },
- handleSizeChangeBm(val) {
- this.limit = val
- this.baomingSelect()
- },
- handleCurrentChangeBm(val) {
- this.page = val
- this.baomingSelect()
- },
- handleSizeChangeF(val) {
- this.size2 = val
- this.userClass()
- },
- handleCurrentChangeF(val) {
- this.page2 = val
- this.userClass()
- },
- handleCurrentChangeLl(val) {
- this.pageL = val
- this.dataSelectLl()
- },
- handleSizeChangeLl(val) {
- this.limitL = val
- this.dataSelectLl()
- },
- handleSizeChangetdjl(val) {
- this.limit = val
- this.tdjlSelect()
- },
- handleCurrentChangetdjl(val) {
- this.page = val
- this.tdjlSelect()
- },
- handleSizeChangeyhq(val) {
- this.limit = val
- this.yhqjlSelect()
- },
- handleCurrentChangeyhq(val) {
- this.page = val
- this.yhqjlSelect()
- },
- handleSizeChangeSc(val) {
- this.size = val
- this.shoucangList()
- },
- handleCurrentChangeSc(val) {
- this.page = val
- this.shoucangList()
- },
- timeDate2() {
- this.rechargeSelect()
- },
- // 可提现金额
- withdraw(id, val) {
- if (val == 0) {
- this.$message({
- message: '可提现金额为0钻石',
- type: 'error',
- duration: 1500,
- onClose: () => {
- this.dataSelect()
- }
- })
- } else {
- this.$confirm(`确定要推送提现消息吗?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl(`user/notification/${id}`),
- method: 'post',
- data: this.$http.adornData({})
- }).then(({
- data
- }) => {
- this.$message({
- message: '推送成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.dataSelect()
- }
- })
- })
- }).catch(() => {})
- }
- },
- // 不可提现金额充值
- rechargenone(index) {
- this.indexJe = index
- this.dialogFormVisible1 = true
- },
- StairNoticeTo1() {
- let userId = this.$route.query.userId
- if (this.type == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请选择修改类型',
- type: 'warning'
- })
- return
- }
- if (this.indexJe == 1) {
- if (this.money == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入金额',
- type: 'warning'
- })
- return
- }
- var url = 'user/addCannotMoney/' + userId + '/' + this.money + '/' + this.type
- }
- if (this.indexJe == 2) {
- if (this.money == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入钻石',
- type: 'warning'
- })
- return
- }
- var url = 'user/updateCustomizationMoney/' + userId + '/' + this.money + '/' + this.type
- }
- this.$http({
- url: this.$http.adornUrl(url),
- method: 'post',
- data: this.$http.adornData({})
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '修改成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.type = ''
- this.money = ''
- this.dataSelect()
- }
- })
- this.dialogFormVisible1 = false
- } else {
- this.$message.error(data.msg)
- }
- })
- },
- StairNoticeTo2() {
- let userId = this.$route.query.userId
- let datas = {}
- datas.userId = userId
- if (this.indexType == 1) {
- console.log('this.age.length', this.age.length)
- if (this.age.length > 11) {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入有效手机号',
- type: 'warning'
- });
- return
- }
- datas.phone = this.age
- }
- if (this.indexType == 2) {
- datas.avatar = this.age
- }
- if (this.indexType == 3) {
- datas.userName = this.age
- }
- if (this.indexType == 4) {
- datas.zhiRate = this.age
- }
- if (this.indexType == 5) {
- datas.feiRate = this.age
- }
- if (this.indexType == 6) {
- datas.companyType = this.userType
- }
- if (this.indexType == 7) {
- datas.rate = this.age
- }
-
- this.$http({
- url: this.$http.adornUrl('user/updateUserByUserId'),
- method: 'post',
- data: this.$http.adornData(datas)
- }).then(({
- data
- }) => {
- console.log('data', data)
- if (data.code == 0) {
- this.$message({
- message: '修改成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.dialogFormVisible2 = false
- this.dataSelect()
- }
- })
- } else {
- this.$message({
- message: data.msg,
- type: 'warning',
- duration: 1500,
- onClose: () => {}
- })
- }
- })
- },
- // 更改状态
- stateChange(userId) {
- this.$confirm(`确定要更改用户状态吗?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl(`user/updateUserStatusByUserId?userId=${userId}`),
- method: 'get',
- data: this.$http.adornData({})
- }).then(({
- data
- }) => {
- this.$message({
- message: '修改成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.dataSelect()
- }
- })
- })
- }).catch(() => {})
- },
- // 修改性别
- sexChange(userId, sex) {
- var sexs = 1;
- if (sex == 1) {
- sexs = 2
- }
- if (sex == 2) {
- sexs = 1
- }
- this.$confirm(`确定要更改用户性别吗?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('user/updateUserByUserId'),
- method: 'post',
- data: this.$http.adornData({
- 'userId': userId,
- 'sex': sexs
- })
- }).then(({
- data
- }) => {
- console.log('data', data)
- this.$message({
- message: '修改成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.dataSelect()
- }
- })
- })
- }).catch(() => {})
- },
- ageChange(age, index,title) {
- this.indexType = index
- this.age = age
- if(index==1){
- this.titles = '修改手机号'
- }else if(index==2){
- this.titles = '修改头像'
- }else if(index==3){
- this.titles = '修改用户名'
- }else if(index==4){
- this.titles = '修改直佣比例'
- }else if(index==5){
- this.titles = '修改非直佣比例'
- }else if(index==6){
- this.titles = '修改用户类型'
- }
- this.dialogFormVisible2 = true
- },
- // 获取数据列表
- dataSelect() {
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl(`user/${userId}`),
- method: 'get',
- params: this.$http.adornParams({
- // 'userId': userId
- })
- }).then(({
- data
- }) => {
- if (data.code === 0) {
- let returnData = data.data
- this.tablenum = returnData
- this.tablemoney = returnData
- this.tableData = returnData.userEntity
- if (returnData.company) {
- this.company = returnData.company
- this.companyId = this.company.companyId
- }
- this.phone = returnData.userEntity.phone
- this.invitationCode = returnData.userEntity.invitationCode
-
- var pattern = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/
- var phone1 = returnData.userEntity.phone
- var userName1 = returnData.userEntity.userName
- if(pattern.test(phone1)){
- var one = phone1.slice(0, 3)
- var two = phone1.slice(7, 11)
- returnData.userEntity.phone1 = one+'****'+two
- }
- if(pattern.test(userName1)){
- var one = userName1.slice(0, 3)
- var two = userName1.slice(7, 11)
- returnData.userEntity.userName1 = one+'****'+two
- }
- } else {
- this.$message({
- message: data.msg,
- type: 'warning',
- duration: 1500,
- onClose: () => {}
- })
- }
- })
- },
- // 获取团队成员
- teamSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('user/selectInviteByUserIdLists'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.tableDatamin = returnData
- })
- },
- // 非直属
- feiSelect() {
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('user/selectInvitationCodeByUserIdLists'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'invitationCode': this.invitationCode
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.feiDatamin = returnData
- })
- },
- // 浏览项目数据
- userSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('userBrowse/myBrowse'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.userData = returnData
- })
- },
- // 获取用户提现记录
- withdrawSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('cash/selectPayDetails'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.withdrawData = returnData
- })
- },
- // 获取钱包明细
- walletSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('Details/queryUserMoneyDetails'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.walletData = returnData
- })
- },
- // 获取充值明细
- rechargeSelect() {
- if (this.endTime == '') {
- this.endTime = this.info.stockDate
- }
- if (this.startTime == '') {
- this.startTime = this.info2.stockDate2
- }
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('cash/selectUserRechargeByUserId'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'endTime': this.endTime,
- 'startTime': this.startTime,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- if (data.code == 0) {
- let returnData = data.data
- this.rechargeData = returnData
- }
- if (data.code == 500) {
- this.$message({
- message: data.msg,
- type: 'error',
- duration: 2500,
- onClose: () => {
- this.tableDataLoading = false
- }
- })
- }
- })
- },
- // 获取定制化抵扣明细
- rechargeSelectDz() {
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('Details/queryUserMoneyDetails'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'classify': 2,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- if (data.code == 0) {
- let returnData = data.data
- this.rechargeData = returnData
- }
- if (data.code == 500) {
- this.$message({
- message: data.msg,
- type: 'error',
- duration: 2500,
- onClose: () => {}
- })
- }
- })
- },
- // 我的招聘
- takeSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('postPush/getPostPushList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- // 'projectName': '',
- // 'address': '',
- // 'screen': '',
- // 'userId': userId,
- 'companyId': this.companyId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.takeData = returnData
- })
- },
- // 我的简历
- dingdanSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('resumes/selectResumesByUserIdForAdmin'),
- method: 'get',
- params: this.$http.adornParams({
- // 'page': this.page,
- // 'limit': this.limit,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.dingdanData = returnData
- })
- },
- // 万能服务
- autonymSelect() {
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('help/selectCreateHelpOrder'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'status': 0,
- 'userId': userId
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.wannengData = returnData
- })
- },
- // 信息数据
- InformationSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl(`information/selectInformationList`),
- method: 'get',
- params: this.$http.adornParams({
- 'userId': userId,
- 'page': this.page,
- 'limit': this.limit,
- 'search': this.search,
- 'classify': this.classifyIds,
- 'status': this.statusId,
- 'phone': this.myPhone
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- for (var i in data.data.records) {
- if (data.data.records[i].img) {
- data.data.records[i].imgs = data.data.records[i].img.split(',')
- }
- }
- let returnData = data.data
- this.userData = returnData
- })
- },
- // 浏览简历
- fangkeSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('admin/userBrowse/selectCompayBrowse'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- 'resumesPost': this.resumesPost,
- 'startTime': this.startTime,
- 'endTime': this.endTime,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.fangkeData = returnData
- })
- },
- phoneSelect() {
- this.page = 1
- this.fangkeSelect()
- },
- cleans() {
- this.page = 1
- this.resumesPost = ''
- this.startTime = ''
- this.endTime = ''
- this.fangkeSelect()
- },
- // 状态
- change(val, userId) {
- this.$http({
- url: this.$http.adornUrl(`user/updateUserStateById?userId=${userId}`),
- method: 'post',
- data: this.$http.adornData({})
- }).then(({
- data
- }) => {
- this.$message({
- message: '操作成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.fangkeSelect()
- }
- })
- })
- },
- //删除足迹
- deleteuser(row) {
- let delid = row.id
- this.$confirm(`确定删除此条信息?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('userBrowse/deleteMyBrowse?id=' + delid),
- method: 'post',
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '删除成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.userSelect()
- }
- })
- } else {
- this.$message({
- message: data.msg,
- type: 'warning',
- duration: 1500,
- onClose: () => {}
- })
- }
- })
- })
- },
- // 查看评论
- plCompile(row) {
- console.log(row)
- this.renwuId = row.id
- this.dialogFormVisible10 = true
- this.pinglunSelect(row.id)
- },
- // 用户评论列表
- pinglunSelect(id) {
- this.userId = this.$store.state.user.id
- this.$http({
- url: this.$http.adornUrl('takingComment/selectOrderTakingComment'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page2,
- 'limit': this.limit2,
- 'id': id
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.pinglunData = returnData
- })
- },
- // 删除评论信息
- pinglundelete(row) {
- let delid = row.id
- this.$confirm(`确定删除此条信息?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl(`takingComment/deleteOrderTakingComment/${delid}`),
- method: 'post',
- params: this.$http.adornData({})
- }).then(({
- data
- }) => {
- this.$message({
- message: '删除成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.pinglunSelect(this.renwuId)
- }
- })
- })
- }).catch(() => {})
- },
- // 我的团队
- tuanduiSelect() {
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('invite/selectInviteByUserIdLists'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- 'userType':this.types
- // 'chatConversationId': this.chatConversationId
- // 'content': this.content
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data;
- this.tuanduiData = returnData
- })
- },
- // 等级选择事件
- animeDat(state) {
- this.page = 1
- this.tuanduiSelect()
- },
- // 我的团队收入
- tuanduiSelect1() {
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('orders/selectTeamOrdersList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- 'userType': this.types
- // 'chatConversationId': this.chatConversationId
- // 'content': this.content
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data;
- this.tuanduiData = returnData
- })
- },
- // 屏蔽公司
- pingbiSelect() {
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('shieldCompany/selectShieldCompanyList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data;
- this.pingbiData = returnData
- })
- },
- // 我的报名
- baomingSelect() {
- let userId = this.$route.query.userId
- this.tableDataLoading = true
- this.$http({
- url: this.$http.adornUrl('postPush/selectResumesPushList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'resumesName': '',
- 'resumesPhone': '',
- 'classify': 1,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data;
- this.baomingData = returnData
- })
- },
- // 查看简历详情
- delClicks(row) {
- let userId = this.$route.query.userId
- this.$router.push({
- path: '/resumeDetails',
- query: {
- resumesId: row.resumesId,
- userId: userId
- }
- })
- return
- },
- // 面试记录
- fapiaoList() {
- this.tableDataLoading4 = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('admin/interviewRecord/interviewList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page2,
- 'limit': this.size2,
- 'companyId': this.companyId,
- 'status': ''
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading4 = false
- let returnData = data.data
- this.fapiaoData = returnData
- })
- },
- addfpClick() {
- if (this.companyId == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '该用户还未绑定企业',
- type: 'warning'
- });
- return
- }
- this.titlesFp = '添加'
- this.title = ''
- this.content = ''
- this.money = ''
- this.invoiceId = ''
- this.statusF = ''
- this.invoiceType = 1
- this.dialogFormVisibleFp = true
- },
- updatefpBtn(row) {
- this.titlesFp = '修改'
- this.title = row.title
- this.content = row.content
- this.money = row.money
- this.invoiceId = row.invoiceId
- this.statusF = Number(row.status)
- this.invoiceType = row.invoiceType
- this.dialogFormVisibleFp = true
- },
- fapiaoNoticeTo() {
- if (this.title == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入开票信息',
- type: 'warning'
- });
- return
- }
- if (this.content == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入发票内容',
- type: 'warning'
- });
- return
- }
- if (this.money == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请输入发票金额',
- type: 'warning'
- });
- return
- }
- if (this.statusF == '') {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: '请选择发票状态',
- type: 'warning'
- });
- return
- }
- let urls = ''
- if (this.titlesFp == '添加') {
- urls = 'invoice/insertInvoice'
- } else {
- urls = 'invoice/updateInvoice'
- }
- this.$http({
- url: this.$http.adornUrl(urls),
- method: 'post',
- data: this.$http.adornData({
- 'companyId': this.companyId,
- 'title': this.title,
- 'content': this.content,
- 'money': this.money,
- 'status': this.statusF,
- 'invoiceId': this.invoiceId,
- 'invoiceType': this.invoiceType
- })
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '操作成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.dialogFormVisibleFp = false
- this.fapiaoList()
- }
- })
- } else {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: data.msg,
- type: 'warning'
- });
- }
- })
- },
- deletefpBtn(row) {
- this.$confirm(`确定删除此条信息?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('invoice/deleteInvoice'),
- method: 'post',
- params: this.$http.adornParams({
- 'invoiceId': row.invoiceId
- })
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '删除成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.fapiaoList()
- }
- })
- } else {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: data.msg,
- type: 'warning'
- });
- }
- })
- }).catch(() => {})
- },
- // 浏览弹框
- liulan(row) {
- this.postPushId = row.postPushId
- this.dialogFormVisibleLl = true
- this.dataSelectLl()
- },
- // 黑名单列表
- dataSelectLl() {
- this.tableDataLoadingLl = true
- this.$http({
- url: this.$http.adornUrl('admin/shieldCompany/selectShieldList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.pageL,
- 'limit': this.limitL,
- 'companyId': this.companyId,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- if (data && data.code === 0) {
- console.log('列表', data)
- this.tableDataLoadingLl = false
- let returnData = data.data;
- this.tableData2 = returnData;
- }
- })
- },
- // 拉黑用户
- laheiBtn(row, index) {
- let userId = this.$route.query.userId
- if (index == 1) {
- this.$confirm(`确定要把该该用户拉出黑名单吗?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('admin/shieldCompany/deleteShieldCompany'),
- method: 'post',
- params: this.$http.adornParams({
- 'shieldCompanyId': row.shieldCompanyId
- })
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '操作成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.tdjlSelect()
- this.dataSelectLl()
- }
- })
- } else {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: data.msg,
- type: 'warning'
- });
- }
- })
- }).catch(() => {})
- } else {
- console.log('row.resumes.userId', row.resumes.userId)
- this.$confirm(`确定要把该该用户加入黑名单吗?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('admin/shieldCompany/insertShieldCompany'),
- method: 'post',
- data: this.$http.adornData({
- 'shieldType': 2,
- 'userId': row.resumes.userId,
- 'companyId': this.companyId
- })
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '操作成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.tdjlSelect()
- }
- })
- } else {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: data.msg,
- type: 'warning'
- });
- }
- })
- }).catch(() => {})
- }
- },
- // 删除浏览记录
- deleteLlBtn(row) {
- // return console.log('删除浏览记录')
- this.$confirm(`确定删除此条信息?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$http({
- url: this.$http.adornUrl('admin/userBrowse/deleteBrowse'),
- method: 'post',
- params: this.$http.adornParams({
- 'id': row.resumesId
- })
- }).then(({
- data
- }) => {
- if (data.code == 0) {
- this.$message({
- message: '删除成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.fangkeSelect()
- }
- })
- } else {
- this.$notify({
- title: '提示',
- duration: 1800,
- message: data.msg,
- type: 'warning'
- });
- }
- })
- }).catch(() => {})
- },
- // 收到的简历
- tdjlSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('admin/sendRecord/getMyRecordList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'companyUserId': userId,
- 'status': '',
- 'companyId': this.companyId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.tdjlData = returnData
- })
- },
- // 已获取的简历
- yhqjlSelect() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('resumes/getViewResumesList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.limit,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.yhqjlData = returnData
- })
- },
- // 我收藏的简历
- shoucangList() {
- this.tableDataLoading = true
- let userId = this.$route.query.userId
- this.$http({
- url: this.$http.adornUrl('admin/myCollection/getCompanyCollectionList'),
- method: 'get',
- params: this.$http.adornParams({
- 'page': this.page,
- 'limit': this.size,
- 'userId': userId,
- })
- }).then(({
- data
- }) => {
- this.tableDataLoading = false
- let returnData = data.data
- this.scData = returnData
- })
- },
- },
- mounted() {
- this.dataSelect()
- },
- watch: {
- '$route': 'dataSelect'
- }
- }
- </script>
- <style scoped="scoped">
- .detailtabel h2 {
- margin-top: 0;
- }
- .detailtabel .table_main table {
- width: 100%;
- }
- .detailtabel .table_main {
- border: 1px solid #e8e8e8;
- }
- .detailtabel table tr {
- border-bottom: 1px solid #e8e8e8;
- }
- .detailtabel table tr th {
- background-color: #fafafa;
- padding: 16px 24px;
- border-right: 1px solid #e8e8e8;
- border-bottom: 1px solid #e8e8e8;
- }
- .detailtabel table tr td {
- padding: 16px 24px;
- border-right: 1px solid #e8e8e8;
- border-bottom: 1px solid #e8e8e8;
- }
- .detailtabel table th {
- color: rgba(0, 0, 0, .85);
- font-weight: 400;
- font-size: 14px;
- line-height: 1.5;
- }
- .border-rt {
- border-right: none !important;
- }
- .border-bt {
- border-bottom: none !important;
- }
- /* ``````````````` */
- .content_item {
- margin-bottom: 20px;
- }
- .content_item span {
- display: inline-block;
- width: 120px;
- text-align: left;
- }
- .bigDiv {
- box-shadow: 0px 0px 10px #efefef;
- margin: 10px 0;
- padding: 10px;
- position: relative;
- }
- .xiugai {
- position: absolute;
- right: 40px;
- top: 10px;
- }
- .shanchu {
- position: absolute;
- right: 10px;
- top: 10px;
- }
- .titleGz {
- font-size: 15px;
- font-weight: 600;
- margin: 10px 0;
- }
- .spanGz {
- color: #999;
- }
- .spanGz span {
- margin-right: 20px;
- padding: 5px 0;
- }
- .spanTime {
- display: inline-block;
- width: 50% !important;
- }
- .delGz {
- color: #666;
- margin: 5px 0;
- }
- </style>
|