| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340 |
- Vue.use(scroll)
- let app = new Vue({
- el: "#app",
- data() {
- return {
- title: "内部人才市场双选服务平台",
- treeList: [{
- name: "岗位发布",
- flag: true,
- src: "./images/humanResources/post.png",
- onSrc: "./images/humanResources/post_on.png",
- style: {
- top: "65%",
- left: "13%",
- backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
- },
- onStyle: {
- top: "65%",
- left: "13%",
- backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
- }
- },
- {
- name: "简历投递",
- flag: false,
- src: "./images/humanResources/notes.png",
- onSrc: "./images/humanResources/notes_on.png",
- style: {
- top: "30%",
- left: "22%",
- backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
- },
- onStyle: {
- top: "30%",
- left: "22%",
- backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
- }
- },
- {
- name: "资格审查",
- flag: false,
- src: "./images/humanResources/qualification.png",
- onSrc: "./images/humanResources/qualification_on.png",
- style: {
- top: "125px",
- left: "calc(50% - 202px)",
- backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
- },
- onStyle: {
- top: "125px",
- left: "calc(50% - 202px)",
- backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
- }
- },
- {
- name: "综合测评",
- flag: false,
- src: "./images/humanResources/comprehensive.png",
- onSrc: "./images/humanResources/comprehensive_on.png",
- style: {
- top: "30%",
- right: "22%",
- backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
- },
- onStyle: {
- top: "30%",
- right: "22%",
- backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
- }
- },
- {
- name: "录用公示",
- flag: false,
- src: "./images/humanResources/publicity.png",
- onSrc: "./images/humanResources/publicity_on.png",
- style: {
- top: "65%",
- right: "13%",
- backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
- },
- onStyle: {
- top: "65%",
- right: "13%",
- backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
- }
- },
- ],
- treeIndex: 0,
- rollFlag: true,
- config1: {
- waitTime: 7300,
- header: ["招聘单位", "招聘岗位", "招聘人数", "投递人数", "发布时间"],
- headerHeight: 55,
- columnWidth: [230, 170, 100, 100],
- rowNum: 10,
- data: [
- ["西山煤电屯兰矿", '井下普工', '50', '100', "2023.07.01"],
- ["西山煤电斜沟煤矿", '井下钻探工', '10', '30', "2023.07.01"],
- ["汾西矿业高阳煤矿", '井下安全检查员', '5', '10', "2023.07.01"],
- ["汾西矿业柳湾煤矿", '井下设备管理员', '10', '50', "2023.07.01"],
- ["霍州煤电辛置煤矿", '矿井维修电工', '10', '30', "2023.07.01"],
- ["霍州煤电恒兴煤业", '生产调度员', '4', '10', "2023.07.01"],
- ["霍州煤电吕梁山煤电公司", '汽车驾驶员', '5', '10', "2023.07.01"],
- ["山煤国际凌志达煤业", '电工', '5', '16', "2023.07.01"],
- ["华晋焦煤沙曲一号煤矿", '井下普工', '40', '120', "2023.07.01"],
- ["山西焦化", '技术员', '2', '12', "2023.07.01"],
- ["汾西矿业高阳煤矿", '井下安全检查员', '5', '10', "2023.07.01"],
- ],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- hoverPause: false,
- },
- configIndex: 1,
- config2: {
- waitTime: 2000,
- header: ["序号", "单位名称", "招聘岗位数"],
- headerHeight: 55,
- rowNum: 5,
- data: [
- ["<span class='yellow'>01</span>", "<span class='yellow'>西山煤电</span>", "<span class='yellow'>30个</span>"],
- ["<span class='red'>02</span>", "<span class='red'>山煤国际</span>", "<span class='red'>25个</span>"],
- ["<span class='green'>03</span>", "<span class='green'>汾西矿业</span>", "<span class='green'>20个</span>"],
- ["04", "汾西矿业", "10个"],
- ["05", "汾西矿业", "8个"],
- ["<span class='yellow'>01</span>", "<span class='yellow'>西山煤电</span>", "<span class='yellow'>30个</span>"],
- ["<span class='red'>02</span>", "<span class='red'>山煤国际</span>", "<span class='red'>25个</span>"],
- ["<span class='green'>03</span>", "<span class='green'>汾西矿业</span>", "<span class='green'>20个</span>"],
- ["06", "汾西矿业", "4个"],
- ["07", "山煤国际", "4个"],
- ],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- carousel: 'page'
- },
- targetIndex: 0,
- classChange: false,
- listData: [{
- 'title': '无缝滚动第一行无缝滚动第一行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第二行无缝滚动第二行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第三行无缝滚动第三行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第四行无缝滚动第四行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第五行无缝滚动第五行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第六行无缝滚动第六行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第七行无缝滚动第七行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第八行无缝滚动第八行',
- 'date': '2017-12-16'
- }, {
- 'title': '无缝滚动第九行无缝滚动第九行',
- 'date': '2017-12-16'
- }],
- classOption: {
- step: 2
- },
- configMark: {
- waitTime: 2000,
- header: ["头像", "姓名", "投递岗位", "时间"],
- rowNum: 6,
- headerHeight: 55,
- columnWidth: [120],
- data: [
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>王伟</span>", "<span class=''>技术员</span>", "<span class=''>2023.07.29</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>李丽丽</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.26</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>王亮</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.18</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>李星</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.11</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>韩梅</span>", "<span class=''>生产调度员</span>", "<span class=''>2023.07.08</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>郑凯</span>", "<span class=''>生产调度员</span>", "<span class=''>2023.07.01</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>吉宇晟</span>", "<span class=''>技术员</span>", "<span class=''>2023.06.29</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>李志桐</span>", "<span class=''>技术员</span>", "<span class=''>2023.07.29</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>赵建国</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.26</span>"],
- ["<img class='list_img' src='https://www.bootcdn.cn/assets/img/m-react.png' alt=''>", "<span class=''>杜勇</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.18</span>"],
- ],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- },
- configInterview: {
- waitTime: 2000,
- header: ["序号", "姓名", "会议厅", "场次", "时间"],
- headerHeight: 55,
- columnWidth: [70, 120, 170, 200],
- rowNum: 6,
- data: [
- ["01", '陈英', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["02", '李小曼', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["03", '王亮', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["04", '李鑫', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["05", '王伟', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["06", '张强', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["07", '王强', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["08", '程丽', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["09", '韩赢', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["10", '王丽', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- },
- configWritten: {
- waitTime: 2000,
- header: ["序号", "姓名", "会议厅", "场次", "时间"],
- headerHeight: 55,
- columnWidth: [70, 120, 170, 200],
- rowNum: 6,
- data: [
- ["01", '李志桐', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["02", '赵建国', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["03", '张耀杰', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["04", '崔诚', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["05", '陈灵均', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
- ["06", '杜勇', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["07", '李灵风', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["08", '卢晨', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["08", '韩玉树', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ["09", '王杰', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
- ],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- },
- mainList: [{
- name: "双选场次",
- value: 29,
- unit: "场",
- icon: "./images/humanResources/times.png"
- },
- {
- name: "参与人数",
- value: 2957,
- unit: "人",
- icon: "./images/humanResources/user.png"
- }
- ],
- employmentList1: {
- waitTime: 2000,
- header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
- rowNum: 5,
- headerHeight: 55,
- columnWidth: [100, 100, 100, 280],
- data: [],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- hoverPause: false,
- },
- employmentList2: {
- waitTime: 2000,
- header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
- rowNum: 5,
- headerHeight: 55,
- columnWidth: [100, 100, 100, 280],
- data: [],
- align: ["center", "center", "center", "center", "center"],
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- hoverPause: false,
- },
- typeList: {
- waitTime: 2000,
- header: ["单位名称", "岗位名称", "报名人数"],
- rowNum: 6,
- headerHeight: 55,
- columnWidth: [100, 200, 400,],
- data: [
- ["汾西矿业", "综合管理岗", "40"],
- ["西山煤电", "综合管理岗", "35"],
- ["西山煤电", "财务管理岗", "30"],
- ["汾西矿业", "综合管理岗", "25"],
- ["西山煤电", "综合管理岗", "20"],
- ["西山煤电", "财务管理岗", "15"],
- ["汾西矿业", "综合管理岗", "10"],
- ],
- align: ["center", "center", "center", "center", "center"],
- index: true,
- headerBGC: "#69c1ff2d",
- oddRowBGC: "rgba(105, 193, 255, 0)",
- evenRowBGC: "#69c1ff21",
- hoverPause: false,
- },
- vitaEcharts: null,
- newList: [],
- showMark: false,
- showSelect: false,
- showMonth: false,
- monthList,
- monthItem: "07",
- timeList1: ["2022-07", "2023-07"],
- timeList2: ["2022-07", "2023-07"],
- from: "",
- type: 0,
- echartsIndex: 1,
- downholeFlag: true,
- markStyle: {
- bottom: "4%",
- right: "5%"
- },
- rightList: [{
- name: "当前数",
- flag: true,
- num1: 100,
- num2: 60,
- num3: 60,
- }, {
- name: "累计数",
- flag: false,
- num1: 500,
- num2: 400,
- num3: 80,
- }],
- rightIndex: 0,
- leftList: [{
- name: "招聘岗位",
- flag: true
- }, {
- name: "招聘岗位种类",
- flag: false
- }],
- leftIndex: 0,
- roseEcharts: null,
- leftFlag: true,
- rollTitle: "西山煤电屯兰矿井下普工工招聘公告",
- leftTime: null,
- rightTime: null,
- recruitInfoList: [],
- vitaData: {
- x: ['4月', '5月', '6月', '7月', '8月', '9月'],
- y: [56, 32, 64, 81, 43, 13]
- },
- isChangeList: false,
- imageList: ["./images/humanResources/ppt1.jpg", "", ""],
- imageIndex: 0,
- imageFlag: false,
- pageFlag: true,
- hecharts: null,
- }
- },
- created() {
- this.newList = listToChange(yearList, monthList)
- if (employmentList.length % 2 != 0) {
- employmentList.push([])
- }
- employmentList.forEach((item, index) => {
- if (index % 2 == 0) {
- this.employmentList1.data.push(item)
- } else {
- this.employmentList2.data.push(item)
- }
- })
- this.keyDown()
- },
- watch: {
- imageIndex() {
- let that = this
- if (this.imageIndex == this.imageList.length) {
- that.downhole.dispose()
- that.vitaEcharts.dispose()
- setTimeout(() => {
- let pageBtm = that.$refs.pageBtm
- that.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
- let vita = that.$refs.vita
- that.initVitaEcharts(vita)
- })
- this.imageIndex = 0
- this.imageFlag = false
- }
- },
- },
- mounted() {
- let that = this;
- this.$nextTick(() => {
- let rightOne = this.$refs.rightOne
- this.initLineRight(rightOne, { value: 53, total: 125 })
- let rightTwo = this.$refs.rightTwo
- this.initLineRight(rightTwo, { value: 29, total: 125 })
- let rightThree = this.$refs.rightThree
- this.initLineRight(rightThree, { value: 25, total: 125 })
- let rightFour = this.$refs.rightFour
- this.initLineRight(rightFour, { value: 12, total: 125 })
- let rightFive = this.$refs.rightFive
- this.initLineRight(rightFive, { value: 6, total: 125 })
- // let c1 = this.$refs.c1
- // this.initRightCycle(c1, 40)
- // let c2 = this.$refs.c2
- // this.initRightCycle(c2, 25)
- // let c3 = this.$refs.c3
- // this.initRightCycle(c3, 20)
- // let c4 = this.$refs.c4
- // this.initRightCycle(c4, 10)
- // let c5 = this.$refs.c5
- // this.initRightCycle(c5, 5)
- setTimeout(() => {
- let itemContent = document.getElementById("itemContent")
- let target = itemContent.getElementsByClassName("row-item")
- let targetList = target.item(0)
- targetList.style.background = "#302e2d50"
- targetList.style.color = "#E1AF27"
- }, 0)
- setTimeout(() => {
- that.classChange = true
- }, 5000);
- setInterval(() => {
- let that = this
- that.treeList.forEach(item => {
- item.flag = false
- })
- if (that.treeIndex >= that.treeList.length - 1) {
- that.treeIndex = 0
- } else {
- that.treeIndex = that.treeIndex + 1
- }
- that.treeList[that.treeIndex].flag = true
- }, 5000)
- // setInterval(()=>{
- // if(that.configIndex > that.config1.data.length - 1){
- // that.configIndex = 0
- // return
- // } else {
- // that.configIndex = that.configIndex + 1
- // return
- // }
- // },5000)
- })
- this.leftTime = setInterval(() => {
- that.leftList.forEach((item, index) => {
- item.flag = !item.flag
- if (item.flag) {
- if (index == 0) {
- that.leftFlag = true
- } else {
- that.leftFlag = false
- setTimeout(() => {
- let leftChange = that.$refs.leftChange
- that.initThreeBig(leftChange)
- })
- }
- }
- })
- }, 5000)
- this.rightTime = setInterval(() => {
- that.rightList.forEach((item, index) => {
- item.flag = !item.flag
- if (item.flag) {
- that.rightIndex = index
- }
- })
- }, 5000)
- // localEnvAppToken().then(res => {
- // localStorage.setItem("app_token", res.app_token)
- // getLocalEnvAccessToken().then(res => {
- // localStorage.setItem("access_token", res.access_token)
- // that.getPlayers()
- // that.getPostDetail()
- // that.getHalfYearDelivcv()
- // that.getHotDelivcv()
- // that.arrToListArr()
- // that.getDelivcvAndApply()
- // that.getreviewarrange()
- // })
- // }).catch(err => {
- this.isChangeList = true
- let pageBtm = this.$refs.pageBtm
- this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
- let vita = this.$refs.vita
- that.initVitaEcharts(vita)
- // that.getPostDetail()
- // })
- },
- methods: {
- // 监听键盘
- keyDown() {
- let that = this;
- document.onkeydown = (e) => {
- //事件对象兼容
- if (this.imageFlag) {
- let e1 = e || event || window.event || arguments.callee.caller.arguments[0]
- //键盘按键判断:左箭头-37;上箭头-38;右箭头-39;下箭头-40
- if (e1 && e1.keyCode == 37) {
- if (that.imageIndex != 0) {
- that.imageIndex = that.imageIndex - 1
- }
- } else if (e1 && e1.keyCode == 38) {
- // that.imageIndex = that.imageIndex - 1
- if (that.imageIndex != 0) {
- that.imageIndex = that.imageIndex - 1
- }
- } else if (e1 && e1.keyCode == 33) {
- // that.imageIndex = that.imageIndex - 1
- if (that.imageIndex != 0) {
- that.imageIndex = that.imageIndex - 1
- }
- } else if (e1 && e1.keyCode == 39) {
- that.imageIndex = that.imageIndex + 1
- } else if (e1 && e1.keyCode == 40) {
- that.imageIndex = that.imageIndex + 1
- } else if (e1 && e1.keyCode == 34) {
- that.imageIndex = that.imageIndex + 1
- }
- }
- }
- },
- handleChangeImage() {
- this.imageIndex += 1
- },
- fullScreen() {
- let docElm = document.documentElement;
- if (docElm.requestFullscreen) {
- docElm.requestFullscreen();
- } else if (docElm.msRequestFullscreen) {
- docElm.msRequestFullscreen();
- } else if (docElm.mozRequestFullScreen) {
- docElm.mozRequestFullScreen();
- } else if (docElm.webkitRequestFullScreen) {
- docElm.webkitRequestFullScreen();
- }
- this.imageFlag = true
- this.pageFlag = false
- },
- initDownholeEcharts(el, data) {
- this.downhole = echarts.init(el);
- let series = []
- let grid = {
- top: "15%",
- bottom: 50, //也可设置left和right设置距离来控制图表的大小
- left: "3%",
- right: "1%"
- }
- option = {
- tooltip: {
- backgroundColor: 'rgba(0, 0, 0, 0.3)',
- borderColor: "rgba(0,0,0,0.5)",
- show: true,
- trigger: 'axis',
- textStyle: {
- fontSize: 30,
- color: '#A3E2F4'
- },
- axisPointer: { // 坐标轴指示器,坐标轴触发有效
- type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
- }
- },
- grid,
- legend: {
- data: ["招聘人数", "报名人数", "录用人数"],
- align: 'left',
- itemGap: 50,
- right: 500,
- y: '2%',
- icon: 'rect',
- textStyle: {
- color: "#fff",
- fontSize: 30
- }
- },
- xAxis: {
- axisTick: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- interval: 0,
- show: true,
- fontSize: 30,
- textStyle: {
- color: "#fff" //X轴文字颜色
- },
- },
- data: data.x,
- },
- yAxis: {
- type: "value",
- name: "人",
- gridIndex: 0,
- // splitNumber: 4,
- splitLine: {
- show: false,
- lineStyle: {
- color: '#A3C0DF',
- width: 1
- },
- },
- nameTextStyle: {
- fontSize: 30,
- },
- axisTick: {
- show: false
- },
- axisLine: {
- show: false,
- lineStyle: {
- color: '#A3C0DF'
- }
- },
- axisLabel: {
- show: true,
- margin: 14,
- fontSize: 28,
- textStyle: {
- color: "#fff" //X轴文字颜色
- }
- },
- },
- series: [{
- type: 'bar',
- name: "招聘人数",
- barWidth: 26,
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
- offset: 1,
- color: '#40A9FF',
- },
- {
- offset: 0,
- color: '#082049',
- },
- ]),
- },
- data: data.y1,
- }, {
- type: 'bar',
- name: "报名人数",
- barWidth: 26,
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
- offset: 1,
- color: '#EAE179',
- },
- {
- offset: 0,
- color: '#082049',
- },
- ]),
- },
- data: data.y2,
- }, {
- type: 'bar',
- name: "录用人数",
- barWidth: 26,
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
- offset: 1,
- color: '#6A83FF',
- },
- {
- offset: 0,
- color: '#082049',
- },
- ]),
- },
- data: data.y3,
- }]
- };
- this.downhole.setOption(option);
- tools.loopShowTooltip(this.downhole, option, {
- nterval: 2000,
- loopSeries: true,
- });
- },
- scrollChange(index) {
- this.rollFlag = false;
- let listIndex = index
- if (listIndex >= this.config1.data.length) {
- listIndex = index - 11
- }
- this.rollTitle = this.config1.data[listIndex][0] + this.config1.data[listIndex][1] + "招聘公告"
- setTimeout(() => {
- this.rollFlag = true
- })
- },
- initRightCycle(el, data) {
- var getvalue = [data];
- let chat = echarts.init(el)
- option = {
- title: {
- text: getvalue + '%',
- textStyle: {
- color: '#fff',
- fontSize: 20
- },
- itemGap: 20,
- left: '55%',
- top: '38%'
- },
- // tooltip: {
- // formatter: function (params) {
- // return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
- // }
- // },
- angleAxis: {
- max: 100,
- clockwise: true, // 逆时针
- // 隐藏刻度线
- show: false
- },
- radiusAxis: {
- type: 'category',
- show: true,
- axisLabel: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false
- },
- },
- polar: {
- center: ['70%', '50%'],
- radius: ['60%', '75%'],
- // radius: '100%' //图形大小
- },
- series: [{
- type: 'bar',
- data: getvalue,
- showBackground: true,
- backgroundStyle: {
- color: '#BDEBFF',
- },
- coordinateSystem: 'polar',
- roundCap: true,
- barWidth: 30,
- itemStyle: {
- normal: {
- opacity: 1,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#25BFFF'
- }, {
- offset: 1,
- color: '#5284DE'
- }]),
- shadowBlur: 5,
- shadowColor: '#2A95F9',
- }
- },
- }]
- };
- chat.setOption(option)
- },
- initLineRight(el, data) {
- let that = this;
- let myChart = echarts.init(el);
- let nameList = ["a"];
- let valueList = [data.value];
- let total = data.total; // 数据总数
- var category = nameList.map((item, index) => {
- return {
- value: valueList[index],
- itemStyle: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1, [{
- offset: 0,
- color: "#40A9FF50",
- },
- {
- offset: 1,
- color: "#40A9FF",
- },
- ],
- false
- ),
- },
- };
- });
- var totalList = [];
- var totalBorderList = [];
- nameList.map((item, index) => {
- totalList.push({
- value: total,
- itemStyle: {
- color: "rgba(51, 147, 236, 0.29)",
- },
- });
- totalBorderList.push({
- value: total,
- itemStyle: {
- borderColor: "rgba(51, 147, 236, 0.29)",
- color: "transparent",
- },
- });
- });
- var datas = [];
- category.forEach((value) => {
- datas.push(value.value);
- });
- option = {
- // backgroundColor: 'rgb(231,238,249)',
- xAxis: {
- max: total,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- },
- grid: {
- left: "1%",
- top: 20, // 设置条形图的边距
- right: "40%",
- bottom: 20,
- },
- yAxis: [{
- type: "category",
- inverse: false,
- data: nameList,
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- },],
- series: [{
- // 内
- type: "bar",
- barWidth: 16,
- barGap: "20%",
- silent: true,
- // label: {
- // normal: {
- // formatter: (item) => {
- // return `${item['name']}:${item['value']} `;
- // },
- // textStyle: {
- // color: 'rgba(105, 120, 136, 1)',
- // fontSize: 14,
- // },
- // position: [0, '-25px'],
- // show: true,
- // },
- // },
- data: category,
- z: 1,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(
- 1,
- 0,
- 0,
- 1, [{
- offset: 0,
- color: "rgba(81, 193, 156, 1)",
- },
- {
- offset: 1,
- color: "rgba(234, 177, 100, 1)",
- },
- ],
- false
- ),
- },
- },
- animationEasing: "elasticOut",
- },
- {
- // 分隔
- type: "pictorialBar",
- itemStyle: {
- normal: {
- color: "#143362",
- },
- },
- symbolRepeat: "fixed",
- symbolMargin: 8,
- symbol: "rect",
- symbolClip: false,
- symbolSize: [4, 20],
- symbolPosition: "start",
- symbolOffset: [0, -2],
- symbolBoundingData: total,
- data: [total, total, total, total],
- z: 2,
- animationEasing: "elasticOut",
- },
- {
- // label
- type: "pictorialBar",
- symbolBoundingData: total,
- itemStyle: {
- normal: {
- color: "none",
- },
- },
- label: {
- normal: {
- formatter: (params) => {
- var text;
- text = `${(params.value <= 9 ? " " + params.value : params.value)}人 | ${(((params.value) / total) * 100).toFixed(0)}%`;
- return text;
- },
- textStyle: {
- // 图列内容样式
- fontSize: "30",
- fontWeight: 800,
- },
- position: "right",
- offset: [0, -3],
- distance: 10, // 向右偏移位置
- show: true,
- color: "#FFF",
- },
- },
- data: datas,
- z: 0,
- },
- {
- name: "外框",
- type: "bar",
- barGap: "-130%", // 设置外框粗细
- data: totalBorderList,
- barWidth: 26,
- itemStyle: {
- normal: {
- // barBorderRadius: [5, 5, 5, 5],
- borderWidth: 1, // 边框宽度
- borderColor: "rgb(51, 147, 236)", // 边框色
- color: "rgb(231,238,249)",
- },
- },
- z: 0,
- },
- ],
- };
- //轮播
- // tools.loopShowTooltip(leftEcharts1, option, {
- // interval: 2000,
- // loopSeries: true,
- // });
- //注册
- myChart.setOption(option);
- },
- initVitaEcharts(el, data) {
- let that = this;
- this.vitaEcharts = echarts.init(el)
- let dataList = [...that.vitaData.y]
- let max = dataList.sort(function (a, b) {
- return b - a
- })[0]
- let maxList = []
- this.vitaData.x.forEach(item => {
- maxList.push(max)
- })
- option = {
- tooltip: {
- show: true,
- backgroundColor: 'rgba(0, 0, 0, 0.3)',
- borderColor: "rgba(0,0,0,0.5)",
- trigger: 'axis',
- textStyle: {
- fontSize: 30,
- color: '#A3E2F4'
- },
- axisPointer: { // 坐标轴指示器,坐标轴触发有效
- type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
- },
- formatter: "{a} : {c}份"
- },
- animation: true,
- grid: {
- top: "12%",
- bottom: "8%",
- right: "2%"
- },
- xAxis: {
- data: that.vitaData.x,
- axisLine: {
- show: false //隐藏X轴轴线
- },
- axisTick: {
- show: false //隐藏X轴轴线
- },
- splitLine: {
- show: false,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)",
- width: 2
- }
- },
- axisLabel: {
- show: true,
- interval: 0,
- fontSize: 24,
- textStyle: {
- color: "#fff" //X轴文字颜色
- }
- }
- },
- yAxis: [{
- name: "投递/份",
- type: "value",
- gridIndex: 0,
- min: 0,
- max: 100,
- interval: 25,
- // splitNumber: 4,
- splitLine: {
- show: false,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)",
- width: 2
- }
- },
- axisTick: {
- show: false
- },
- nameTextStyle: {
- fontSize: 28,
- color: "#B6BFCE"
- },
- axisLine: {
- show: false,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)"
- }
- },
- axisLabel: {
- show: true,
- margin: 14,
- fontSize: 26,
- textStyle: {
- color: "#65D5FF"
- }
- }
- }],
- series: [{
- name: "简历投递数",
- type: "bar",
- barWidth: 16,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 1,
- color: "#004E8E"
- },
- {
- offset: 0,
- color: "#40A9FF"
- }
- ])
- }
- },
- data: that.vitaData.y,
- z: 10,
- zlevel: 0
- },
- {
- // 分隔
- type: "pictorialBar",
- itemStyle: {
- normal: {
- color: "#0F375F"
- }
- },
- symbolRepeat: "fixed",
- symbolMargin: 6,
- symbol: "rect",
- symbolClip: true,
- symbolSize: [18, 2],
- symbolPosition: "start",
- symbolOffset: [1, 1],
- data: that.vitaData.y,
- width: 2,
- z: 0,
- zlevel: 1
- },
- {
- name: "外框",
- type: "bar",
- barGap: "-110%", // 设置外框粗细
- data: maxList,
- barWidth: 16,
- itemStyle: {
- normal: {
- color: "transparent", // 填充色
- // barBorderRadius: 0, //圆角半径
- label: {
- // 标签显示位置
- show: false,
- position: "top" // insideTop 或者横向的 insideLeft
- }
- }
- },
- z: 0
- },
- {
- name: "背影",
- type: "line",
- smooth: true, //平滑曲线显示
- showAllSymbol: false, //显示所有图形。
- symbolSize: 0,
- lineStyle: {
- width: 0
- },
- areaStyle: {
- color: "rgba(0, 151, 251, 0.1)"
- },
- data: that.vitaData.y,
- z: 5
- }
- ],
- dataZoom: [{
- type: "slider",
- show: false,
- xAxisIndex: [0],
- endValue: 12,
- startValue: 0
- }]
- }
- this.vitaEcharts.setOption(option)
- tools.loopShowTooltip(this.vitaEcharts, option, {
- nterval: 2000,
- loopSeries: true,
- });
- },
- initRoseEcharts(el, myData = {
- number: ['10', '13', '20'],
- titlename: ["地面", "辅助", "一线"],
- }) {
- this.roseEcharts = echarts.init(el)
- var colorArr = ["#218de0", "#01cbb3", "#85e647", "#5d5cda", "#f6d54a", "#f845f1"];
- var colorAlpha = ['rgba(60,170,211,0.05)', 'rgba(1,203,179,0.05)', 'rgba(133,230,71,0.05)', 'rgba(93,92,218,0.05)', 'rgba(5,197,176,0.05)', 'rgba(194,153,39,0.05)'];
- var myProperty = {
- titlefontsize: 30,
- polarradius: '60%',
- pieradius: '60%',
- length1: 10,
- length2: 55,
- };
- var data = [];
- var total = 0;
- for (var i = 0; i < myData.number.length; i++) {
- total += (Number)(myData.number[i]);
- }
- for (let index = 0; index < myData.titlename.length; index++) {
- data.push({
- value: myData.number[index],
- name: myData.titlename[index],
- itemStyle: {
- normal: {
- borderColor: colorArr[index],
- borderWidth: 2,
- shadowBlur: 20,
- shadowColor: colorArr[index],
- shadowOffsetx: 25,
- shadowOffsety: 20,
- color: colorAlpha[index]
- }
- },
- label: {
- normal: {
- formatter: ['{b|{b}: {c}个}', '{d| {d}%}'].join('\n'), //join函数将数组中的元素用选择的分隔符拼接成一个字符串
- rich: {
- b: {
- color: colorArr[index],
- fontSize: myProperty.titlefontsize,
- lineHeight: 20
- },
- d: {
- color: '#d0fffc',
- fontSize: myProperty.titlefontsize, //手动输入的字体大小
- height: 50,
- align: 'center', //这里是控制文本的位置 此时是居中
- },
- },
- }
- },
- })
- }
- option = {
- grid: {
- left: -100,
- top: 50,
- bottom: 10,
- right: 10,
- containLabel: true
- },
- tooltip: {
- show: true,
- backgroundColor: 'rgba(0, 0, 0, 0.3)',
- borderColor: "rgba(0,0,0,0.5)",
- trigger: 'item',
- textStyle: {
- fontSize: 30,
- color: '#A3E2F4'
- },
- },
- polar: {
- // radius: ['0%','60%'],
- //radius:[0,200]
- radius: myProperty.polarradius,
- },
- angleAxis: {
- interval: 1,
- type: 'category',
- data: [],
- z: 10,
- axisLine: {
- show: false,
- lineStyle: {
- color: "#0B4A6B",
- width: 1,
- type: "solid"
- },
- },
- axisLabel: {
- interval: 0,
- show: true,
- color: "#0B4A6B",
- margin: 8,
- fontSize: 16
- },
- },
- radiusAxis: {
- min: 20,
- max: 120,
- interval: 20,
- axisLine: {
- show: false,
- lineStyle: {
- color: "#0B3E5E",
- width: 1,
- type: "solid"
- },
- },
- axisLabel: {
- formatter: '{value} %',
- show: false,
- padding: [0, 0, 20, 0],
- color: "#0B3E5E",
- fontSize: 16
- },
- splitLine: {
- lineStyle: {
- color: "#07385e",
- width: 2,
- type: "dashed"
- }
- },
- },
- calculable: true,
- series: [{
- stack: 'a',
- type: 'pie',
- radius: myProperty.pieradius,
- roseType: 'radius',
- zlevel: 10,
- startAngle: 100,
- labelLine: {
- normal: {
- show: true,
- length: myProperty.length1,
- length2: myProperty.length2,
- lineStyle: {
- color: '#0096b1'
- }
- },
- emphasis: {
- show: false
- }
- },
- data: data,
- },]
- };
- this.roseEcharts.setOption(option)
- tools.loopShowTooltip(this.roseEcharts, option, {
- nterval: 2000,
- loopSeries: true,
- });
- },
- initChartsBig(arr = [
- {
- name: '地面',
- y: 10,
- sliced: false,
- selected: false,
- },
- {
- name: '辅助',
- y: 10,
- sliced: false,
- selected: false,
- },
- {
- name: '一线',
- y: 10,
- sliced: false,
- selected: false,
- },
- ]) {
- let left5 = arr
- var chartData = left5
- var timer = null;
- var i = 0;
- let that = this
- var option = {
- colors: [
- "#D9E1F2",
- "#B4C6E7",
- "#8EA9DB",
- "#305496",
- "#203764",
- ],
- chart: {
- type: 'pie',
- backgroundColor: 'rgba(0,0,0,0)',
- options3d: {
- enabled: true,
- alpha: 45,
- //beta: 0
- },
- events: {
- // load,图表加载完成时触发
- load: function () {
- var chart = this;
- var points = chart.series[0].points;
- var len = points.length;
- timer && clearInterval(timer);
- timer = setInterval(function () {
- autoTooltip(points[i]);
- chartData.forEach((item, index) => {
- item.sliced = false
- item.selected = false
- if (index == i) {
- item.sliced = true
- item.selected = true
- }
- })
- chart.update({
- series: [{
- type: 'pie',
- name: '占比',
- data: chartData
- }]
- })
- i++;
- if (i === len) {
- i = 0;
- chartData.forEach((item, index) => {
- item.sliced = false
- item.selected = false
- })
- chart.update({
- series: [{
- type: 'pie',
- name: '占比',
- data: chartData
- }]
- })
- }
- }, 1000);
- },
- legendItemClick: function (event) {
- return true;
- }
- }
- },
- credits: {
- enabled: false //去掉hightchats水印
- },
- legend: {
- align: 'right', //横向位置
- verticalAlign: 'middle', // 纵向位置
- layout: "vertical", //横排还是竖排
- x: 10,
- y: 100,
- symbolWidth: 30,
- itemStyle: {
- fontSize: '30px',
- color: '#fff',
- x: 20,
- fontWeight: 0,
- fontFamily: 'Microsoft YaHei'
- },
- },
- title: {
- enabled: false,
- text: "",
- },
- tooltip: {
- crosshairs: false,
- trigger: "axis",
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
- borderColor: "rgba(0,0,0,0.5)",
- style: {
- fontSize: 30,
- color: '#A3E2F4',
- fontWeight: 0,
- },
- axisPointer: {
- lineStyle: {
- color: "#ddd",
- },
- },
- formatter: function (e) {
- this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
- return `${this.key}:<b><b>${this.y}</b>(${this.percentage}%)</b></b>`
- },
- },
- plotOptions: {
- pie: {
- allowPointSelect: true,
- showInLegend: true, // 图例
- cursor: 'pointer',
- size: 350,
- innerSize: 0, //环形图中间空白,0为饼图
- depth: 80, //立体高度
- slicedOffset: 40, //动画距离
- dataLabels: {
- enabled: false, // 是否展示指示线
- format: '{point.name}: {point.percentage}'
- }
- },
- },
- series: [{
- type: 'pie',
- name: '占比',
- center: ['50%', '50%'],
- point: {
- events: {
- mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
- chartData.forEach((item, index) => {
- item.sliced = false
- item.selected = false
- })
- chartData[e.target.index].sliced = true
- chartData[e.target.index].selected = true
- chart.update({
- series: [{
- type: 'pie',
- name: '占比',
- point: {
- events: {
- click: function (e) {
- that.showChartLTipDouble(e.point.name)
- }
- }
- },
- data: chartData
- }]
- })
- timer && clearInterval(timer);
- },
- mouseOut: function () { // 鼠标移出后需要继续执行轮播
- var points = chart.series[0].points;
- var len = points.length;
- timer && clearInterval(timer);
- timer = setInterval(function () {
- autoTooltip(points[i]);
- chartData.forEach((item, index) => {
- item.sliced = false
- item.selected = false
- if (index == i) {
- item.sliced = true
- item.selected = true
- }
- })
- chart.update({
- series: [{
- type: 'pie',
- name: '占比',
- data: chartData
- }]
- })
- i++;
- if (i === len) {
- i = 0;
- chartData.forEach((item, index) => {
- item.sliced = false
- item.selected = false
- })
- chart.update({
- series: [{
- type: 'pie',
- name: '占比',
- data: chartData
- }]
- })
- }
- }, 2000);
- }
- }
- },
- data: chartData
- }]
- }
- if (that.hecharts) {
- that.hecharts.destroy();
- }
- that.hecharts = Highcharts.chart('echartL2', option);
- function autoTooltip(point) {
- that.hecharts.tooltip.refresh(point);
- }
- },
- initThreeBig(el) {
- this.roseEcharts = echarts.init(el)
- var placeHolderStyle = {
- normal: {
- label: {
- show: false
- },
- labelLine: {
- show: false
- },
- color: "rgba(0,0,0,0)",
- borderWidth: 0
- },
- emphasis: {
- color: "rgba(0,0,0,0)",
- borderWidth: 0
- }
- };
- var dataStyle = {
- normal: {
- formatter: '{c}',
- position: 'center',
- show: true,
- textStyle: {
- fontSize: '35',
- fontWeight: 'normal',
- color: '#fff'
- }
- }
- };
- option = {
- title: [{
- text: '地面',
- left: '19%',
- top: '70%',
- textAlign: 'center',
- textStyle: {
- fontWeight: 'normal',
- fontSize: '30',
- color: '#fff',
- textAlign: 'center',
- },
- }, {
- text: '辅助',
- left: '49%',
- top: '70%',
- textAlign: 'center',
- textStyle: {
- color: '#fff',
- fontWeight: 'normal',
- fontSize: '30',
- textAlign: 'center',
- },
- }, {
- text: '一线',
- left: '79%',
- top: '70%',
- textAlign: 'center',
- textStyle: {
- color: '#fff',
- fontWeight: 'normal',
- fontSize: '30',
- textAlign: 'center',
- },
- }],
- series: [{
- type: 'pie',
- hoverAnimation: false, //鼠标经过的特效
- // radius: ['55%', '61%'],
- radius: ['45%', '50%'],
- center: ['20%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 12,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#99da69'
- }, {
- offset: 1,
- color: '#01babc'
- }]),
- }
- },
- label: dataStyle,
- }, {
- value: 4,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- {
- type: 'pie',
- hoverAnimation: false, //鼠标经过的特效
- radius: ['45%', '50%'],
- center: ['50%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 15,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#FBAB7E'
- }, {
- offset: 1,
- color: '#F7CE68'
- }]),
- }
- },
- label: dataStyle,
- }, {
- value: 5,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- {
- type: 'pie',
- hoverAnimation: false,
- // radius: ['55%', '61%'],
- radius: ['45%', '50%'],
- center: ['80%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 9,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#9f3edd'
- }, {
- offset: 1,
- color: '#4897f6'
- }]),
- }
- },
- label: dataStyle,
- }, {
- value: 3,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- //外圈的边框
- {
- // name: '总人数',
- type: 'pie',
- hoverAnimation: false, //鼠标经过的特效
- radius: ['51%', '52%'],
- center: ['20%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 12,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#01babc'
- }, {
- offset: 1,
- color: '#99da69'
- }]),
- }
- },
- }, {
- value: 4,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- {
- // name: '总人数',
- type: 'pie',
- hoverAnimation: false, //鼠标经过的特效
- // radius: ['61%', '62%'],
- radius: ['51%', '52%'],
- center: ['50%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 15,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#FBAB7E'
- }, {
- offset: 1,
- color: '#F7CE68'
- }]),
- }
- },
- }, {
- value: 5,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- {
- type: 'pie',
- hoverAnimation: false,
- // radius: ['61%', '62%'],
- radius: ['51%', '52%'],
- center: ['80%', '50%'],
- startAngle: 225,
- labelLine: {
- normal: {
- show: false
- }
- },
- label: {
- normal: {
- position: 'center'
- }
- },
- data: [{
- value: 9,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: '#4897f6'
- }, {
- offset: 1,
- color: '#9f3edd'
- }]),
- }
- },
- }, {
- value: 3,
- itemStyle: placeHolderStyle,
- },
- ]
- },
- ]
- };
- this.roseEcharts.setOption(option)
- tools.loopShowTooltip(this.roseEcharts, option, {
- nterval: 2000,
- loopSeries: true,
- });
- },
- handleClick(from, type) {
- this.handleMark()
- this.from = from
- this.type = type
- let that = this;
- if (from == "timeList1" && type == 1) {
- that.markStyle = {
- right: "1%",
- bottom: "4%"
- }
- } else if (from == "timeList1" && type == 0) {
- that.markStyle = {
- right: "5%",
- bottom: "4%"
- }
- } else if (from == "timeList2" && type == 0) {
- that.markStyle = {
- right: "87%",
- bottom: "43%"
- }
- } else if (from == "timeList2" && type == 1) {
- that.markStyle = {
- right: "84%",
- bottom: "43%"
- }
- }
- this.showMark = true
- this.showSelect = true
- },
- handleMark() {
- this.showMark = false
- this.showSelect = false
- this.showMonth = false
- },
- handleOption(item) {
- this[this.from][this.type] = item
- this.handleMark()
- },
- handleMonthOption(item) {
- this.monthItem = item
- this.handleMark()
- },
- handleMonth() {
- this.handleMark()
- this.showMark = true
- this.showMonth = true
- },
- ortherEcharts(el, data) {
- this.vitaEcharts = echarts.init(el);
- option = {
- tooltip: {
- show: true,
- trigger: 'axis',
- textStyle: {
- fontSize: 30,
- color: '#A3E2F4'
- },
- axisPointer: { // 坐标轴指示器,坐标轴触发有效
- type: 'none' // 默认为直线,可选为:'line' | 'shadow'
- }
- },
- grid: {
- top: '8%',
- left: '1%',
- right: '1%',
- bottom: '8%',
- containLabel: true,
- },
- xAxis: [{
- type: 'category',
- boundaryGap: false,
- axisLine: { //坐标轴轴线相关设置。数学上的x轴
- show: false,
- lineStyle: {
- color: '#233e64'
- },
- },
- axisLabel: { //坐标轴刻度标签的相关设置
- textStyle: {
- color: '#fff',
- fontSize: 26,
- margin: 15,
- },
- },
- axisTick: { show: false, },
- data: ['6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7'],
- }],
- yAxis: [{
- type: 'value',
- min: 0,
- max: 140,
- splitLine: {
- show: true,
- lineStyle: {
- color: '#233e64'
- }
- },
- axisLine: { show: false, },
- axisLabel: {
- margin: 20,
- textStyle: {
- color: '#fff',
- fontSize: 24,
- },
- },
- axisTick: { show: false, },
- }],
- series: [{
- name: '异常流量',
- type: 'line',
- smooth: true, //是否平滑曲线显示
- symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
- symbolSize: 0,
- lineStyle: {
- normal: {
- color: "#3deaff" // 线条颜色
- }
- },
- areaStyle: { //区域填充样式
- normal: {
- //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: 'rgba(61,234,255, 0.9)' },
- { offset: 0.7, color: 'rgba(61,234,255, 0.1)' }
- ], false),
- shadowColor: 'rgba(53,142,215, 0.9)', //阴影颜色
- shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
- }
- },
- data: [90, 105, 84, 125, 110, 92, 98]
- }]
- };
- this.vitaEcharts.setOption(option);
- tools.loopShowTooltip(this.vitaEcharts, option, {
- nterval: 2000,
- loopSeries: true,
- });
- },
- hanleIcon() {
- this.vitaEcharts.dispose()
- this.downholeFlag = !this.downholeFlag
- if (this.downholeFlag) {
- setTimeout(() => {
- let vita = this.$refs.vita
- this.initVitaEcharts(vita)
- })
- }
- // if (this.echartsIndex == 1) {
- // this.ortherEcharts(vita)
- // this.echartsIndex = 2
- // } else {
- // this.echartsIndex = 1
- // }
- },
- handleChangeType(type, index) {
- let that = this;
- if (type) {
- that.rightTime && clearInterval(that.rightTime)
- that.rightList.forEach(item => {
- item.flag = false
- })
- that.rightList[index].flag = true
- that.rightIndex = index
- this.rightTime = setInterval(() => {
- that.rightList.forEach((item, index) => {
- item.flag = !item.flag
- if (item.flag) {
- that.rightIndex = index
- }
- })
- }, 5000)
- } else {
- that.leftTime && clearInterval(that.leftTime)
- that.leftList.forEach(item => {
- item.flag = false
- })
- that.leftList[index].flag = true
- that.leftIndex = index
- if (index == 0) {
- that.leftFlag = true
- } else {
- that.leftFlag = false
- setTimeout(() => {
- let leftChange = that.$refs.leftChange
- that.initThreeBig(leftChange)
- })
- }
- that.leftTime = setInterval(() => {
- that.leftList.forEach((item, index) => {
- item.flag = !item.flag
- if (item.flag) {
- if (index == 0) {
- that.leftFlag = true
- } else {
- that.leftFlag = false
- setTimeout(() => {
- let leftChange = that.$refs.leftChange
- that.initThreeBig(leftChange)
- })
- }
- }
- })
- }, 5000)
- }
- },
- getPlayers() {
- let that = this;
- let data = {};
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Players", data).then(res => {
- if (res) {
- that.mainList[1].value = res.value
- }
- })
- },
- getPostDetail() {
- let that = this;
- let data = {};
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/PostDetail", data).then(res => {
- })
- let res = {
- data: [
- [
- "山西焦煤集团有限责任公司",
- "事业部副总经理",
- "1",
- "6",
- "2022.12.07",
- "一、招聘原则:\r\n无&二、招聘对象:\r\n1.工作年限:不限,2.学历要求:不限,3.招聘范围:不限.&三、招聘人数:\r\n共计1人.&四、工作地点:&五、工作职责:\r\n1、统筹负责焦煤事业部的全面生产及经营等工作,重点保障公司冶金板块三个生产基地的焦煤供给;\n2、负责周边焦煤市场资源的开拓、整合与合作等工作;\n3、负责阿克苏周边地区煤矿资源的开发获取等;\n4、推进内部焦煤产品的市场化收益等工作。&六、招聘条件:\r\n1、大专及以上学历,有焦煤行业全盘管理经验,熟悉焦煤市场运营,尤其熟悉新疆市场;\n2、有相关人员和企业的管理经验,具备一定的前瞻性规划及统筹能力;\n3、有0到1的从业经验,具备较强的整合能力,有较好的事业成就动机。&七、报名方式:八、招聘流程:\r\n&九、有关说明:\r\n"
- ],
- [
- "山西焦煤集团有限责任公司",
- "营运部长",
- "2",
- "35",
- "2022.11.25",
- "一、招聘原则:\r\n无&二、招聘对象:\r\n1.工作年限:0年以上,2.学历要求:不限,3.招聘范围:不限.&三、招聘人数:\r\n共计2人.&四、工作地点:&五、工作职责:\r\n1、全面负责商场营运管控,确保现场营运良好秩序;\n2、监督销售数据统计工作,并根据销售数据及客流统计,召开部门分析会,提出合理化建议,对商场业态调整提供数据支持;\n3、制定并完善部门管理手册及各项规章制度并监督执行;\n4、负责监督商户的设计、装修、审批、进场流程和整体协调工作;\n5、负责商户培训、召开店长会及收集各商铺促销信息的工作;\n6、负责商户租金、物业费及水电费等相关费用的催缴工作,安排人员按时完成;\n7、定期监督收集商户资料,完善商户档案管理;\n8、定期组织员工进行市场调研,掌握品牌动向和新品上市;\n9、负责服务台客诉处理及日常政府职能部门的检查工作;&六、招聘条件:\r\n任职资格:\n1、年龄在38岁以内,男女不限,本科以上学历;\n2、五年以上商业运营工作经验,三年以上中层管理经验;\n3. 具备较强的谈判能力、协调能力及人际交往能力,熟悉百货或购物中心市场调研、销售分析、现场管理、业务日常管理等工作;\n4、具备相应的统筹规划、运营管理等专业知识,熟悉商业规划设计理念、大型商业综合体业态规划、品类搭配和精准定位,敏锐的市场洞察力及数据分析力;\n5、熟悉公文写作格式,具备基本商务信函写作能力,熟练运用各种办公软件(如office办公软件等);&七、报名方式:\r\n线上&八、招聘流程:\r\n&九、有关说明:\r\n无"
- ]
- ]
- }
- let list = []
- let a = []
- res.data.forEach((item, index) => {
- list.push([item[0], item[1], item[2], item[3], item[4]])
- a[index] = []
- item[5].split("&").forEach(i => {
- let infos = i.split("\r\n")
- let obj = {
- title: infos[0],
- content: infos[1]
- }
- a[index].push(obj)
- })
- })
- that.recruitInfoList.push(...a)
- },
- getHalfYearDelivcv() {
- let that = this;
- let data = {};
- // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HalfYearDelivcv",data).then(res=>{
- // console.log(res);
- // })
- let res = {
- data: [
- {
- 2: 90
- },
- {
- 3: 58
- },
- {
- 4: 100
- },
- {
- 5: 30
- },
- {
- 6: 10
- },
- {
- 7: 30
- }
- ]
- }
- let vita = this.$refs.vita
- let nameList = [];
- let valueList = [];
- res.data.forEach(item => {
- for (let k in item) {
- nameList.push(k + "月")
- valueList.push(item[k])
- }
- })
- that.vitaData.x = nameList
- that.vitaData.y = valueList
- that.initVitaEcharts(vita)
- },
- getHotDelivcv() {
- let that = this;
- let data = {};
- // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HotDelivcv",data).then(res => {})
- let res = {
- data: [
- [
- "山西焦煤集团有限责任公司",
- "营运部长",
- 35
- ],
- [
- "山西焦煤集团有限责任公司",
- "合同管理员",
- 24
- ],
- [
- "",
- "java开发",
- 7
- ]
- ]
- }
- that.typeList.data = res.data
- },
- arrToListArr() {
- this.isChangeList = false
- let arr = [
- {
- value: [
- "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
- "http://localhost:8080/ierp/attachment/downloadImage/",
- "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
- "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg"
- ],
- key: "头像地址"
- },
- {
- value: [
- "胡军军",
- "胡军军",
- "胡军军",
- "测试触发003"
- ],
- key: "姓名"
- },
- {
- value: [
- "java开发",
- "java开发",
- "java开发",
- "123"
- ],
- key: "投递岗位"
- },
- {
- value: [
- "2022-10-19",
- "2023-08-27",
- "2023-08-27",
- "2023-08-27"
- ],
- key: "申请时间"
- }
- ]
- let that = this;
- let data = {}
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Delivcv", data).then(res => { })
- let imageList = []
- let nameList = []
- let stationList = []
- let timeList = []
- let dataList = []
- arr.forEach(item => {
- if (item.key == "头像地址") {
- imageList.push(...item.value)
- }
- if (item.key == "姓名") {
- nameList.push(...item.value)
- }
- if (item.key == "投递岗位") {
- stationList.push(...item.value)
- }
- if (item.key == "申请时间") {
- timeList.push(...item.value)
- }
- })
- nameList.forEach((item, index) => {
- dataList.push(["<img class='list_img' src='" + imageList[index] + "' alt=''>", item, stationList[index], timeList[index]])
- })
- this.configMark.data = dataList
- console.log(this.configMark.data);
- this.isChangeList = true
- delete imageList
- delete nameList
- delete stationList
- delete timeList
- },
- getDelivcvAndApply() {
- let that = this;
- let data = {
- flag: true
- };
- let pageBtm = this.$refs.pageBtm
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/DelivcvAndApply", data).then(res => {
- if (res) {
- res.data.forEach(item => {
- if (item.key == "单位名称") {
- admissionList.x = item.value
- console.log(item.value);
- }
- if (item.key == "招聘人数") {
- admissionList.y1 = item.value
- }
- if (item.key == "报名人数") {
- admissionList.y2 = item.value
- }
- if (item.key == "录用人数") {
- admissionList.y3 = item.value
- }
- })
- }
- console.log(admissionList);
- this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
- })
- },
- getreviewarrange() {
- let that = this;
- let data = {
- flag: false
- };
- fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getreviewarrange", data).then(res => {
- console.log(res);
- })
- }
- },
- })
|