humanResources.js 90 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340
  1. Vue.use(scroll)
  2. let app = new Vue({
  3. el: "#app",
  4. data() {
  5. return {
  6. title: "内部人才市场双选服务平台",
  7. treeList: [{
  8. name: "岗位发布",
  9. flag: true,
  10. src: "./images/humanResources/post.png",
  11. onSrc: "./images/humanResources/post_on.png",
  12. style: {
  13. top: "65%",
  14. left: "13%",
  15. backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
  16. },
  17. onStyle: {
  18. top: "65%",
  19. left: "13%",
  20. backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
  21. }
  22. },
  23. {
  24. name: "简历投递",
  25. flag: false,
  26. src: "./images/humanResources/notes.png",
  27. onSrc: "./images/humanResources/notes_on.png",
  28. style: {
  29. top: "30%",
  30. left: "22%",
  31. backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
  32. },
  33. onStyle: {
  34. top: "30%",
  35. left: "22%",
  36. backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
  37. }
  38. },
  39. {
  40. name: "资格审查",
  41. flag: false,
  42. src: "./images/humanResources/qualification.png",
  43. onSrc: "./images/humanResources/qualification_on.png",
  44. style: {
  45. top: "125px",
  46. left: "calc(50% - 202px)",
  47. backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
  48. },
  49. onStyle: {
  50. top: "125px",
  51. left: "calc(50% - 202px)",
  52. backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
  53. }
  54. },
  55. {
  56. name: "综合测评",
  57. flag: false,
  58. src: "./images/humanResources/comprehensive.png",
  59. onSrc: "./images/humanResources/comprehensive_on.png",
  60. style: {
  61. top: "30%",
  62. right: "22%",
  63. backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
  64. },
  65. onStyle: {
  66. top: "30%",
  67. right: "22%",
  68. backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
  69. }
  70. },
  71. {
  72. name: "录用公示",
  73. flag: false,
  74. src: "./images/humanResources/publicity.png",
  75. onSrc: "./images/humanResources/publicity_on.png",
  76. style: {
  77. top: "65%",
  78. right: "13%",
  79. backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
  80. },
  81. onStyle: {
  82. top: "65%",
  83. right: "13%",
  84. backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
  85. }
  86. },
  87. ],
  88. treeIndex: 0,
  89. rollFlag: true,
  90. config1: {
  91. waitTime: 7300,
  92. header: ["招聘单位", "招聘岗位", "招聘人数", "投递人数", "发布时间"],
  93. headerHeight: 55,
  94. columnWidth: [230, 170, 100, 100],
  95. rowNum: 10,
  96. data: [
  97. ["西山煤电屯兰矿", '井下普工', '50', '100', "2023.07.01"],
  98. ["西山煤电斜沟煤矿", '井下钻探工', '10', '30', "2023.07.01"],
  99. ["汾西矿业高阳煤矿", '井下安全检查员', '5', '10', "2023.07.01"],
  100. ["汾西矿业柳湾煤矿", '井下设备管理员', '10', '50', "2023.07.01"],
  101. ["霍州煤电辛置煤矿", '矿井维修电工', '10', '30', "2023.07.01"],
  102. ["霍州煤电恒兴煤业", '生产调度员', '4', '10', "2023.07.01"],
  103. ["霍州煤电吕梁山煤电公司", '汽车驾驶员', '5', '10', "2023.07.01"],
  104. ["山煤国际凌志达煤业", '电工', '5', '16', "2023.07.01"],
  105. ["华晋焦煤沙曲一号煤矿", '井下普工', '40', '120', "2023.07.01"],
  106. ["山西焦化", '技术员', '2', '12', "2023.07.01"],
  107. ["汾西矿业高阳煤矿", '井下安全检查员', '5', '10', "2023.07.01"],
  108. ],
  109. align: ["center", "center", "center", "center", "center"],
  110. headerBGC: "#69c1ff2d",
  111. oddRowBGC: "rgba(105, 193, 255, 0)",
  112. evenRowBGC: "#69c1ff21",
  113. hoverPause: false,
  114. },
  115. configIndex: 1,
  116. config2: {
  117. waitTime: 2000,
  118. header: ["序号", "单位名称", "招聘岗位数"],
  119. headerHeight: 55,
  120. rowNum: 5,
  121. data: [
  122. ["<span class='yellow'>01</span>", "<span class='yellow'>西山煤电</span>", "<span class='yellow'>30个</span>"],
  123. ["<span class='red'>02</span>", "<span class='red'>山煤国际</span>", "<span class='red'>25个</span>"],
  124. ["<span class='green'>03</span>", "<span class='green'>汾西矿业</span>", "<span class='green'>20个</span>"],
  125. ["04", "汾西矿业", "10个"],
  126. ["05", "汾西矿业", "8个"],
  127. ["<span class='yellow'>01</span>", "<span class='yellow'>西山煤电</span>", "<span class='yellow'>30个</span>"],
  128. ["<span class='red'>02</span>", "<span class='red'>山煤国际</span>", "<span class='red'>25个</span>"],
  129. ["<span class='green'>03</span>", "<span class='green'>汾西矿业</span>", "<span class='green'>20个</span>"],
  130. ["06", "汾西矿业", "4个"],
  131. ["07", "山煤国际", "4个"],
  132. ],
  133. align: ["center", "center", "center", "center", "center"],
  134. headerBGC: "#69c1ff2d",
  135. oddRowBGC: "rgba(105, 193, 255, 0)",
  136. evenRowBGC: "#69c1ff21",
  137. carousel: 'page'
  138. },
  139. targetIndex: 0,
  140. classChange: false,
  141. listData: [{
  142. 'title': '无缝滚动第一行无缝滚动第一行',
  143. 'date': '2017-12-16'
  144. }, {
  145. 'title': '无缝滚动第二行无缝滚动第二行',
  146. 'date': '2017-12-16'
  147. }, {
  148. 'title': '无缝滚动第三行无缝滚动第三行',
  149. 'date': '2017-12-16'
  150. }, {
  151. 'title': '无缝滚动第四行无缝滚动第四行',
  152. 'date': '2017-12-16'
  153. }, {
  154. 'title': '无缝滚动第五行无缝滚动第五行',
  155. 'date': '2017-12-16'
  156. }, {
  157. 'title': '无缝滚动第六行无缝滚动第六行',
  158. 'date': '2017-12-16'
  159. }, {
  160. 'title': '无缝滚动第七行无缝滚动第七行',
  161. 'date': '2017-12-16'
  162. }, {
  163. 'title': '无缝滚动第八行无缝滚动第八行',
  164. 'date': '2017-12-16'
  165. }, {
  166. 'title': '无缝滚动第九行无缝滚动第九行',
  167. 'date': '2017-12-16'
  168. }],
  169. classOption: {
  170. step: 2
  171. },
  172. configMark: {
  173. waitTime: 2000,
  174. header: ["头像", "姓名", "投递岗位", "时间"],
  175. rowNum: 6,
  176. headerHeight: 55,
  177. columnWidth: [120],
  178. data: [
  179. ["<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>"],
  180. ["<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>"],
  181. ["<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>"],
  182. ["<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>"],
  183. ["<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>"],
  184. ["<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>"],
  185. ["<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>"],
  186. ["<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>"],
  187. ["<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>"],
  188. ["<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>"],
  189. ],
  190. align: ["center", "center", "center", "center", "center"],
  191. headerBGC: "#69c1ff2d",
  192. oddRowBGC: "rgba(105, 193, 255, 0)",
  193. evenRowBGC: "#69c1ff21",
  194. },
  195. configInterview: {
  196. waitTime: 2000,
  197. header: ["序号", "姓名", "会议厅", "场次", "时间"],
  198. headerHeight: 55,
  199. columnWidth: [70, 120, 170, 200],
  200. rowNum: 6,
  201. data: [
  202. ["01", '陈英', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  203. ["02", '李小曼', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  204. ["03", '王亮', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  205. ["04", '李鑫', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  206. ["05", '王伟', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  207. ["06", '张强', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  208. ["07", '王强', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  209. ["08", '程丽', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  210. ["09", '韩赢', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  211. ["10", '王丽', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  212. ],
  213. align: ["center", "center", "center", "center", "center"],
  214. headerBGC: "#69c1ff2d",
  215. oddRowBGC: "rgba(105, 193, 255, 0)",
  216. evenRowBGC: "#69c1ff21",
  217. },
  218. configWritten: {
  219. waitTime: 2000,
  220. header: ["序号", "姓名", "会议厅", "场次", "时间"],
  221. headerHeight: 55,
  222. columnWidth: [70, 120, 170, 200],
  223. rowNum: 6,
  224. data: [
  225. ["01", '李志桐', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  226. ["02", '赵建国', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  227. ["03", '张耀杰', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  228. ["04", '崔诚', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  229. ["05", '陈灵均', '洽谈室1', '杜儿坪矿', "2023.07.01 09:30-10:30"],
  230. ["06", '杜勇', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  231. ["07", '李灵风', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  232. ["08", '卢晨', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  233. ["08", '韩玉树', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  234. ["09", '王杰', '洽谈室1', '杜儿坪矿', "2023.07.05 09:30-10:30"],
  235. ],
  236. align: ["center", "center", "center", "center", "center"],
  237. headerBGC: "#69c1ff2d",
  238. oddRowBGC: "rgba(105, 193, 255, 0)",
  239. evenRowBGC: "#69c1ff21",
  240. },
  241. mainList: [{
  242. name: "双选场次",
  243. value: 29,
  244. unit: "场",
  245. icon: "./images/humanResources/times.png"
  246. },
  247. {
  248. name: "参与人数",
  249. value: 2957,
  250. unit: "人",
  251. icon: "./images/humanResources/user.png"
  252. }
  253. ],
  254. employmentList1: {
  255. waitTime: 2000,
  256. header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
  257. rowNum: 5,
  258. headerHeight: 55,
  259. columnWidth: [100, 100, 100, 280],
  260. data: [],
  261. align: ["center", "center", "center", "center", "center"],
  262. headerBGC: "#69c1ff2d",
  263. oddRowBGC: "rgba(105, 193, 255, 0)",
  264. evenRowBGC: "#69c1ff21",
  265. hoverPause: false,
  266. },
  267. employmentList2: {
  268. waitTime: 2000,
  269. header: ["序号", "姓名", "性别", "身份证号", "拟录单位"],
  270. rowNum: 5,
  271. headerHeight: 55,
  272. columnWidth: [100, 100, 100, 280],
  273. data: [],
  274. align: ["center", "center", "center", "center", "center"],
  275. headerBGC: "#69c1ff2d",
  276. oddRowBGC: "rgba(105, 193, 255, 0)",
  277. evenRowBGC: "#69c1ff21",
  278. hoverPause: false,
  279. },
  280. typeList: {
  281. waitTime: 2000,
  282. header: ["单位名称", "岗位名称", "报名人数"],
  283. rowNum: 6,
  284. headerHeight: 55,
  285. columnWidth: [100, 200, 400,],
  286. data: [
  287. ["汾西矿业", "综合管理岗", "40"],
  288. ["西山煤电", "综合管理岗", "35"],
  289. ["西山煤电", "财务管理岗", "30"],
  290. ["汾西矿业", "综合管理岗", "25"],
  291. ["西山煤电", "综合管理岗", "20"],
  292. ["西山煤电", "财务管理岗", "15"],
  293. ["汾西矿业", "综合管理岗", "10"],
  294. ],
  295. align: ["center", "center", "center", "center", "center"],
  296. index: true,
  297. headerBGC: "#69c1ff2d",
  298. oddRowBGC: "rgba(105, 193, 255, 0)",
  299. evenRowBGC: "#69c1ff21",
  300. hoverPause: false,
  301. },
  302. vitaEcharts: null,
  303. newList: [],
  304. showMark: false,
  305. showSelect: false,
  306. showMonth: false,
  307. monthList,
  308. monthItem: "07",
  309. timeList1: ["2022-07", "2023-07"],
  310. timeList2: ["2022-07", "2023-07"],
  311. from: "",
  312. type: 0,
  313. echartsIndex: 1,
  314. downholeFlag: true,
  315. markStyle: {
  316. bottom: "4%",
  317. right: "5%"
  318. },
  319. rightList: [{
  320. name: "当前数",
  321. flag: true,
  322. num1: 100,
  323. num2: 60,
  324. num3: 60,
  325. }, {
  326. name: "累计数",
  327. flag: false,
  328. num1: 500,
  329. num2: 400,
  330. num3: 80,
  331. }],
  332. rightIndex: 0,
  333. leftList: [{
  334. name: "招聘岗位",
  335. flag: true
  336. }, {
  337. name: "招聘岗位种类",
  338. flag: false
  339. }],
  340. leftIndex: 0,
  341. roseEcharts: null,
  342. leftFlag: true,
  343. rollTitle: "西山煤电屯兰矿井下普工工招聘公告",
  344. leftTime: null,
  345. rightTime: null,
  346. recruitInfoList: [],
  347. vitaData: {
  348. x: ['4月', '5月', '6月', '7月', '8月', '9月'],
  349. y: [56, 32, 64, 81, 43, 13]
  350. },
  351. isChangeList: false,
  352. imageList: ["./images/humanResources/ppt1.jpg", "", ""],
  353. imageIndex: 0,
  354. imageFlag: false,
  355. pageFlag: true,
  356. hecharts: null,
  357. }
  358. },
  359. created() {
  360. this.newList = listToChange(yearList, monthList)
  361. if (employmentList.length % 2 != 0) {
  362. employmentList.push([])
  363. }
  364. employmentList.forEach((item, index) => {
  365. if (index % 2 == 0) {
  366. this.employmentList1.data.push(item)
  367. } else {
  368. this.employmentList2.data.push(item)
  369. }
  370. })
  371. this.keyDown()
  372. },
  373. watch: {
  374. imageIndex() {
  375. let that = this
  376. if (this.imageIndex == this.imageList.length) {
  377. that.downhole.dispose()
  378. that.vitaEcharts.dispose()
  379. setTimeout(() => {
  380. let pageBtm = that.$refs.pageBtm
  381. that.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  382. let vita = that.$refs.vita
  383. that.initVitaEcharts(vita)
  384. })
  385. this.imageIndex = 0
  386. this.imageFlag = false
  387. }
  388. },
  389. },
  390. mounted() {
  391. let that = this;
  392. this.$nextTick(() => {
  393. let rightOne = this.$refs.rightOne
  394. this.initLineRight(rightOne, { value: 53, total: 125 })
  395. let rightTwo = this.$refs.rightTwo
  396. this.initLineRight(rightTwo, { value: 29, total: 125 })
  397. let rightThree = this.$refs.rightThree
  398. this.initLineRight(rightThree, { value: 25, total: 125 })
  399. let rightFour = this.$refs.rightFour
  400. this.initLineRight(rightFour, { value: 12, total: 125 })
  401. let rightFive = this.$refs.rightFive
  402. this.initLineRight(rightFive, { value: 6, total: 125 })
  403. // let c1 = this.$refs.c1
  404. // this.initRightCycle(c1, 40)
  405. // let c2 = this.$refs.c2
  406. // this.initRightCycle(c2, 25)
  407. // let c3 = this.$refs.c3
  408. // this.initRightCycle(c3, 20)
  409. // let c4 = this.$refs.c4
  410. // this.initRightCycle(c4, 10)
  411. // let c5 = this.$refs.c5
  412. // this.initRightCycle(c5, 5)
  413. setTimeout(() => {
  414. let itemContent = document.getElementById("itemContent")
  415. let target = itemContent.getElementsByClassName("row-item")
  416. let targetList = target.item(0)
  417. targetList.style.background = "#302e2d50"
  418. targetList.style.color = "#E1AF27"
  419. }, 0)
  420. setTimeout(() => {
  421. that.classChange = true
  422. }, 5000);
  423. setInterval(() => {
  424. let that = this
  425. that.treeList.forEach(item => {
  426. item.flag = false
  427. })
  428. if (that.treeIndex >= that.treeList.length - 1) {
  429. that.treeIndex = 0
  430. } else {
  431. that.treeIndex = that.treeIndex + 1
  432. }
  433. that.treeList[that.treeIndex].flag = true
  434. }, 5000)
  435. // setInterval(()=>{
  436. // if(that.configIndex > that.config1.data.length - 1){
  437. // that.configIndex = 0
  438. // return
  439. // } else {
  440. // that.configIndex = that.configIndex + 1
  441. // return
  442. // }
  443. // },5000)
  444. })
  445. this.leftTime = setInterval(() => {
  446. that.leftList.forEach((item, index) => {
  447. item.flag = !item.flag
  448. if (item.flag) {
  449. if (index == 0) {
  450. that.leftFlag = true
  451. } else {
  452. that.leftFlag = false
  453. setTimeout(() => {
  454. let leftChange = that.$refs.leftChange
  455. that.initThreeBig(leftChange)
  456. })
  457. }
  458. }
  459. })
  460. }, 5000)
  461. this.rightTime = setInterval(() => {
  462. that.rightList.forEach((item, index) => {
  463. item.flag = !item.flag
  464. if (item.flag) {
  465. that.rightIndex = index
  466. }
  467. })
  468. }, 5000)
  469. // localEnvAppToken().then(res => {
  470. // localStorage.setItem("app_token", res.app_token)
  471. // getLocalEnvAccessToken().then(res => {
  472. // localStorage.setItem("access_token", res.access_token)
  473. // that.getPlayers()
  474. // that.getPostDetail()
  475. // that.getHalfYearDelivcv()
  476. // that.getHotDelivcv()
  477. // that.arrToListArr()
  478. // that.getDelivcvAndApply()
  479. // that.getreviewarrange()
  480. // })
  481. // }).catch(err => {
  482. this.isChangeList = true
  483. let pageBtm = this.$refs.pageBtm
  484. this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  485. let vita = this.$refs.vita
  486. that.initVitaEcharts(vita)
  487. // that.getPostDetail()
  488. // })
  489. },
  490. methods: {
  491. // 监听键盘
  492. keyDown() {
  493. let that = this;
  494. document.onkeydown = (e) => {
  495. //事件对象兼容
  496. if (this.imageFlag) {
  497. let e1 = e || event || window.event || arguments.callee.caller.arguments[0]
  498. //键盘按键判断:左箭头-37;上箭头-38;右箭头-39;下箭头-40
  499. if (e1 && e1.keyCode == 37) {
  500. if (that.imageIndex != 0) {
  501. that.imageIndex = that.imageIndex - 1
  502. }
  503. } else if (e1 && e1.keyCode == 38) {
  504. // that.imageIndex = that.imageIndex - 1
  505. if (that.imageIndex != 0) {
  506. that.imageIndex = that.imageIndex - 1
  507. }
  508. } else if (e1 && e1.keyCode == 33) {
  509. // that.imageIndex = that.imageIndex - 1
  510. if (that.imageIndex != 0) {
  511. that.imageIndex = that.imageIndex - 1
  512. }
  513. } else if (e1 && e1.keyCode == 39) {
  514. that.imageIndex = that.imageIndex + 1
  515. } else if (e1 && e1.keyCode == 40) {
  516. that.imageIndex = that.imageIndex + 1
  517. } else if (e1 && e1.keyCode == 34) {
  518. that.imageIndex = that.imageIndex + 1
  519. }
  520. }
  521. }
  522. },
  523. handleChangeImage() {
  524. this.imageIndex += 1
  525. },
  526. fullScreen() {
  527. let docElm = document.documentElement;
  528. if (docElm.requestFullscreen) {
  529. docElm.requestFullscreen();
  530. } else if (docElm.msRequestFullscreen) {
  531. docElm.msRequestFullscreen();
  532. } else if (docElm.mozRequestFullScreen) {
  533. docElm.mozRequestFullScreen();
  534. } else if (docElm.webkitRequestFullScreen) {
  535. docElm.webkitRequestFullScreen();
  536. }
  537. this.imageFlag = true
  538. this.pageFlag = false
  539. },
  540. initDownholeEcharts(el, data) {
  541. this.downhole = echarts.init(el);
  542. let series = []
  543. let grid = {
  544. top: "15%",
  545. bottom: 50, //也可设置left和right设置距离来控制图表的大小
  546. left: "3%",
  547. right: "1%"
  548. }
  549. option = {
  550. tooltip: {
  551. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  552. borderColor: "rgba(0,0,0,0.5)",
  553. show: true,
  554. trigger: 'axis',
  555. textStyle: {
  556. fontSize: 30,
  557. color: '#A3E2F4'
  558. },
  559. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  560. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  561. }
  562. },
  563. grid,
  564. legend: {
  565. data: ["招聘人数", "报名人数", "录用人数"],
  566. align: 'left',
  567. itemGap: 50,
  568. right: 500,
  569. y: '2%',
  570. icon: 'rect',
  571. textStyle: {
  572. color: "#fff",
  573. fontSize: 30
  574. }
  575. },
  576. xAxis: {
  577. axisTick: {
  578. show: false,
  579. },
  580. axisLine: {
  581. show: false,
  582. },
  583. axisLabel: {
  584. interval: 0,
  585. show: true,
  586. fontSize: 30,
  587. textStyle: {
  588. color: "#fff" //X轴文字颜色
  589. },
  590. },
  591. data: data.x,
  592. },
  593. yAxis: {
  594. type: "value",
  595. name: "人",
  596. gridIndex: 0,
  597. // splitNumber: 4,
  598. splitLine: {
  599. show: false,
  600. lineStyle: {
  601. color: '#A3C0DF',
  602. width: 1
  603. },
  604. },
  605. nameTextStyle: {
  606. fontSize: 30,
  607. },
  608. axisTick: {
  609. show: false
  610. },
  611. axisLine: {
  612. show: false,
  613. lineStyle: {
  614. color: '#A3C0DF'
  615. }
  616. },
  617. axisLabel: {
  618. show: true,
  619. margin: 14,
  620. fontSize: 28,
  621. textStyle: {
  622. color: "#fff" //X轴文字颜色
  623. }
  624. },
  625. },
  626. series: [{
  627. type: 'bar',
  628. name: "招聘人数",
  629. barWidth: 26,
  630. itemStyle: {
  631. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  632. offset: 1,
  633. color: '#40A9FF',
  634. },
  635. {
  636. offset: 0,
  637. color: '#082049',
  638. },
  639. ]),
  640. },
  641. data: data.y1,
  642. }, {
  643. type: 'bar',
  644. name: "报名人数",
  645. barWidth: 26,
  646. itemStyle: {
  647. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  648. offset: 1,
  649. color: '#EAE179',
  650. },
  651. {
  652. offset: 0,
  653. color: '#082049',
  654. },
  655. ]),
  656. },
  657. data: data.y2,
  658. }, {
  659. type: 'bar',
  660. name: "录用人数",
  661. barWidth: 26,
  662. itemStyle: {
  663. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  664. offset: 1,
  665. color: '#6A83FF',
  666. },
  667. {
  668. offset: 0,
  669. color: '#082049',
  670. },
  671. ]),
  672. },
  673. data: data.y3,
  674. }]
  675. };
  676. this.downhole.setOption(option);
  677. tools.loopShowTooltip(this.downhole, option, {
  678. nterval: 2000,
  679. loopSeries: true,
  680. });
  681. },
  682. scrollChange(index) {
  683. this.rollFlag = false;
  684. let listIndex = index
  685. if (listIndex >= this.config1.data.length) {
  686. listIndex = index - 11
  687. }
  688. this.rollTitle = this.config1.data[listIndex][0] + this.config1.data[listIndex][1] + "招聘公告"
  689. setTimeout(() => {
  690. this.rollFlag = true
  691. })
  692. },
  693. initRightCycle(el, data) {
  694. var getvalue = [data];
  695. let chat = echarts.init(el)
  696. option = {
  697. title: {
  698. text: getvalue + '%',
  699. textStyle: {
  700. color: '#fff',
  701. fontSize: 20
  702. },
  703. itemGap: 20,
  704. left: '55%',
  705. top: '38%'
  706. },
  707. // tooltip: {
  708. // formatter: function (params) {
  709. // return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
  710. // }
  711. // },
  712. angleAxis: {
  713. max: 100,
  714. clockwise: true, // 逆时针
  715. // 隐藏刻度线
  716. show: false
  717. },
  718. radiusAxis: {
  719. type: 'category',
  720. show: true,
  721. axisLabel: {
  722. show: false,
  723. },
  724. axisLine: {
  725. show: false,
  726. },
  727. axisTick: {
  728. show: false
  729. },
  730. },
  731. polar: {
  732. center: ['70%', '50%'],
  733. radius: ['60%', '75%'],
  734. // radius: '100%' //图形大小
  735. },
  736. series: [{
  737. type: 'bar',
  738. data: getvalue,
  739. showBackground: true,
  740. backgroundStyle: {
  741. color: '#BDEBFF',
  742. },
  743. coordinateSystem: 'polar',
  744. roundCap: true,
  745. barWidth: 30,
  746. itemStyle: {
  747. normal: {
  748. opacity: 1,
  749. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  750. offset: 0,
  751. color: '#25BFFF'
  752. }, {
  753. offset: 1,
  754. color: '#5284DE'
  755. }]),
  756. shadowBlur: 5,
  757. shadowColor: '#2A95F9',
  758. }
  759. },
  760. }]
  761. };
  762. chat.setOption(option)
  763. },
  764. initLineRight(el, data) {
  765. let that = this;
  766. let myChart = echarts.init(el);
  767. let nameList = ["a"];
  768. let valueList = [data.value];
  769. let total = data.total; // 数据总数
  770. var category = nameList.map((item, index) => {
  771. return {
  772. value: valueList[index],
  773. itemStyle: {
  774. color: new echarts.graphic.LinearGradient(
  775. 1,
  776. 0,
  777. 0,
  778. 1, [{
  779. offset: 0,
  780. color: "#40A9FF50",
  781. },
  782. {
  783. offset: 1,
  784. color: "#40A9FF",
  785. },
  786. ],
  787. false
  788. ),
  789. },
  790. };
  791. });
  792. var totalList = [];
  793. var totalBorderList = [];
  794. nameList.map((item, index) => {
  795. totalList.push({
  796. value: total,
  797. itemStyle: {
  798. color: "rgba(51, 147, 236, 0.29)",
  799. },
  800. });
  801. totalBorderList.push({
  802. value: total,
  803. itemStyle: {
  804. borderColor: "rgba(51, 147, 236, 0.29)",
  805. color: "transparent",
  806. },
  807. });
  808. });
  809. var datas = [];
  810. category.forEach((value) => {
  811. datas.push(value.value);
  812. });
  813. option = {
  814. // backgroundColor: 'rgb(231,238,249)',
  815. xAxis: {
  816. max: total,
  817. splitLine: {
  818. show: false,
  819. },
  820. axisLine: {
  821. show: false,
  822. },
  823. axisLabel: {
  824. show: false,
  825. },
  826. axisTick: {
  827. show: false,
  828. },
  829. },
  830. grid: {
  831. left: "1%",
  832. top: 20, // 设置条形图的边距
  833. right: "40%",
  834. bottom: 20,
  835. },
  836. yAxis: [{
  837. type: "category",
  838. inverse: false,
  839. data: nameList,
  840. axisLine: {
  841. show: false,
  842. },
  843. axisTick: {
  844. show: false,
  845. },
  846. axisLabel: {
  847. show: false,
  848. },
  849. },],
  850. series: [{
  851. // 内
  852. type: "bar",
  853. barWidth: 16,
  854. barGap: "20%",
  855. silent: true,
  856. // label: {
  857. // normal: {
  858. // formatter: (item) => {
  859. // return `${item['name']}:${item['value']} `;
  860. // },
  861. // textStyle: {
  862. // color: 'rgba(105, 120, 136, 1)',
  863. // fontSize: 14,
  864. // },
  865. // position: [0, '-25px'],
  866. // show: true,
  867. // },
  868. // },
  869. data: category,
  870. z: 1,
  871. itemStyle: {
  872. normal: {
  873. color: new echarts.graphic.LinearGradient(
  874. 1,
  875. 0,
  876. 0,
  877. 1, [{
  878. offset: 0,
  879. color: "rgba(81, 193, 156, 1)",
  880. },
  881. {
  882. offset: 1,
  883. color: "rgba(234, 177, 100, 1)",
  884. },
  885. ],
  886. false
  887. ),
  888. },
  889. },
  890. animationEasing: "elasticOut",
  891. },
  892. {
  893. // 分隔
  894. type: "pictorialBar",
  895. itemStyle: {
  896. normal: {
  897. color: "#143362",
  898. },
  899. },
  900. symbolRepeat: "fixed",
  901. symbolMargin: 8,
  902. symbol: "rect",
  903. symbolClip: false,
  904. symbolSize: [4, 20],
  905. symbolPosition: "start",
  906. symbolOffset: [0, -2],
  907. symbolBoundingData: total,
  908. data: [total, total, total, total],
  909. z: 2,
  910. animationEasing: "elasticOut",
  911. },
  912. {
  913. // label
  914. type: "pictorialBar",
  915. symbolBoundingData: total,
  916. itemStyle: {
  917. normal: {
  918. color: "none",
  919. },
  920. },
  921. label: {
  922. normal: {
  923. formatter: (params) => {
  924. var text;
  925. text = `${(params.value <= 9 ? " " + params.value : params.value)}人 | ${(((params.value) / total) * 100).toFixed(0)}%`;
  926. return text;
  927. },
  928. textStyle: {
  929. // 图列内容样式
  930. fontSize: "30",
  931. fontWeight: 800,
  932. },
  933. position: "right",
  934. offset: [0, -3],
  935. distance: 10, // 向右偏移位置
  936. show: true,
  937. color: "#FFF",
  938. },
  939. },
  940. data: datas,
  941. z: 0,
  942. },
  943. {
  944. name: "外框",
  945. type: "bar",
  946. barGap: "-130%", // 设置外框粗细
  947. data: totalBorderList,
  948. barWidth: 26,
  949. itemStyle: {
  950. normal: {
  951. // barBorderRadius: [5, 5, 5, 5],
  952. borderWidth: 1, // 边框宽度
  953. borderColor: "rgb(51, 147, 236)", // 边框色
  954. color: "rgb(231,238,249)",
  955. },
  956. },
  957. z: 0,
  958. },
  959. ],
  960. };
  961. //轮播
  962. // tools.loopShowTooltip(leftEcharts1, option, {
  963. // interval: 2000,
  964. // loopSeries: true,
  965. // });
  966. //注册
  967. myChart.setOption(option);
  968. },
  969. initVitaEcharts(el, data) {
  970. let that = this;
  971. this.vitaEcharts = echarts.init(el)
  972. let dataList = [...that.vitaData.y]
  973. let max = dataList.sort(function (a, b) {
  974. return b - a
  975. })[0]
  976. let maxList = []
  977. this.vitaData.x.forEach(item => {
  978. maxList.push(max)
  979. })
  980. option = {
  981. tooltip: {
  982. show: true,
  983. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  984. borderColor: "rgba(0,0,0,0.5)",
  985. trigger: 'axis',
  986. textStyle: {
  987. fontSize: 30,
  988. color: '#A3E2F4'
  989. },
  990. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  991. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  992. },
  993. formatter: "{a} : {c}份"
  994. },
  995. animation: true,
  996. grid: {
  997. top: "12%",
  998. bottom: "8%",
  999. right: "2%"
  1000. },
  1001. xAxis: {
  1002. data: that.vitaData.x,
  1003. axisLine: {
  1004. show: false //隐藏X轴轴线
  1005. },
  1006. axisTick: {
  1007. show: false //隐藏X轴轴线
  1008. },
  1009. splitLine: {
  1010. show: false,
  1011. lineStyle: {
  1012. color: "rgba(77, 128, 254, 0.2)",
  1013. width: 2
  1014. }
  1015. },
  1016. axisLabel: {
  1017. show: true,
  1018. interval: 0,
  1019. fontSize: 24,
  1020. textStyle: {
  1021. color: "#fff" //X轴文字颜色
  1022. }
  1023. }
  1024. },
  1025. yAxis: [{
  1026. name: "投递/份",
  1027. type: "value",
  1028. gridIndex: 0,
  1029. min: 0,
  1030. max: 100,
  1031. interval: 25,
  1032. // splitNumber: 4,
  1033. splitLine: {
  1034. show: false,
  1035. lineStyle: {
  1036. color: "rgba(77, 128, 254, 0.2)",
  1037. width: 2
  1038. }
  1039. },
  1040. axisTick: {
  1041. show: false
  1042. },
  1043. nameTextStyle: {
  1044. fontSize: 28,
  1045. color: "#B6BFCE"
  1046. },
  1047. axisLine: {
  1048. show: false,
  1049. lineStyle: {
  1050. color: "rgba(77, 128, 254, 0.2)"
  1051. }
  1052. },
  1053. axisLabel: {
  1054. show: true,
  1055. margin: 14,
  1056. fontSize: 26,
  1057. textStyle: {
  1058. color: "#65D5FF"
  1059. }
  1060. }
  1061. }],
  1062. series: [{
  1063. name: "简历投递数",
  1064. type: "bar",
  1065. barWidth: 16,
  1066. itemStyle: {
  1067. normal: {
  1068. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1069. offset: 1,
  1070. color: "#004E8E"
  1071. },
  1072. {
  1073. offset: 0,
  1074. color: "#40A9FF"
  1075. }
  1076. ])
  1077. }
  1078. },
  1079. data: that.vitaData.y,
  1080. z: 10,
  1081. zlevel: 0
  1082. },
  1083. {
  1084. // 分隔
  1085. type: "pictorialBar",
  1086. itemStyle: {
  1087. normal: {
  1088. color: "#0F375F"
  1089. }
  1090. },
  1091. symbolRepeat: "fixed",
  1092. symbolMargin: 6,
  1093. symbol: "rect",
  1094. symbolClip: true,
  1095. symbolSize: [18, 2],
  1096. symbolPosition: "start",
  1097. symbolOffset: [1, 1],
  1098. data: that.vitaData.y,
  1099. width: 2,
  1100. z: 0,
  1101. zlevel: 1
  1102. },
  1103. {
  1104. name: "外框",
  1105. type: "bar",
  1106. barGap: "-110%", // 设置外框粗细
  1107. data: maxList,
  1108. barWidth: 16,
  1109. itemStyle: {
  1110. normal: {
  1111. color: "transparent", // 填充色
  1112. // barBorderRadius: 0, //圆角半径
  1113. label: {
  1114. // 标签显示位置
  1115. show: false,
  1116. position: "top" // insideTop 或者横向的 insideLeft
  1117. }
  1118. }
  1119. },
  1120. z: 0
  1121. },
  1122. {
  1123. name: "背影",
  1124. type: "line",
  1125. smooth: true, //平滑曲线显示
  1126. showAllSymbol: false, //显示所有图形。
  1127. symbolSize: 0,
  1128. lineStyle: {
  1129. width: 0
  1130. },
  1131. areaStyle: {
  1132. color: "rgba(0, 151, 251, 0.1)"
  1133. },
  1134. data: that.vitaData.y,
  1135. z: 5
  1136. }
  1137. ],
  1138. dataZoom: [{
  1139. type: "slider",
  1140. show: false,
  1141. xAxisIndex: [0],
  1142. endValue: 12,
  1143. startValue: 0
  1144. }]
  1145. }
  1146. this.vitaEcharts.setOption(option)
  1147. tools.loopShowTooltip(this.vitaEcharts, option, {
  1148. nterval: 2000,
  1149. loopSeries: true,
  1150. });
  1151. },
  1152. initRoseEcharts(el, myData = {
  1153. number: ['10', '13', '20'],
  1154. titlename: ["地面", "辅助", "一线"],
  1155. }) {
  1156. this.roseEcharts = echarts.init(el)
  1157. var colorArr = ["#218de0", "#01cbb3", "#85e647", "#5d5cda", "#f6d54a", "#f845f1"];
  1158. 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)'];
  1159. var myProperty = {
  1160. titlefontsize: 30,
  1161. polarradius: '60%',
  1162. pieradius: '60%',
  1163. length1: 10,
  1164. length2: 55,
  1165. };
  1166. var data = [];
  1167. var total = 0;
  1168. for (var i = 0; i < myData.number.length; i++) {
  1169. total += (Number)(myData.number[i]);
  1170. }
  1171. for (let index = 0; index < myData.titlename.length; index++) {
  1172. data.push({
  1173. value: myData.number[index],
  1174. name: myData.titlename[index],
  1175. itemStyle: {
  1176. normal: {
  1177. borderColor: colorArr[index],
  1178. borderWidth: 2,
  1179. shadowBlur: 20,
  1180. shadowColor: colorArr[index],
  1181. shadowOffsetx: 25,
  1182. shadowOffsety: 20,
  1183. color: colorAlpha[index]
  1184. }
  1185. },
  1186. label: {
  1187. normal: {
  1188. formatter: ['{b|{b}: {c}个}', '{d| {d}%}'].join('\n'), //join函数将数组中的元素用选择的分隔符拼接成一个字符串
  1189. rich: {
  1190. b: {
  1191. color: colorArr[index],
  1192. fontSize: myProperty.titlefontsize,
  1193. lineHeight: 20
  1194. },
  1195. d: {
  1196. color: '#d0fffc',
  1197. fontSize: myProperty.titlefontsize, //手动输入的字体大小
  1198. height: 50,
  1199. align: 'center', //这里是控制文本的位置 此时是居中
  1200. },
  1201. },
  1202. }
  1203. },
  1204. })
  1205. }
  1206. option = {
  1207. grid: {
  1208. left: -100,
  1209. top: 50,
  1210. bottom: 10,
  1211. right: 10,
  1212. containLabel: true
  1213. },
  1214. tooltip: {
  1215. show: true,
  1216. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  1217. borderColor: "rgba(0,0,0,0.5)",
  1218. trigger: 'item',
  1219. textStyle: {
  1220. fontSize: 30,
  1221. color: '#A3E2F4'
  1222. },
  1223. },
  1224. polar: {
  1225. // radius: ['0%','60%'],
  1226. //radius:[0,200]
  1227. radius: myProperty.polarradius,
  1228. },
  1229. angleAxis: {
  1230. interval: 1,
  1231. type: 'category',
  1232. data: [],
  1233. z: 10,
  1234. axisLine: {
  1235. show: false,
  1236. lineStyle: {
  1237. color: "#0B4A6B",
  1238. width: 1,
  1239. type: "solid"
  1240. },
  1241. },
  1242. axisLabel: {
  1243. interval: 0,
  1244. show: true,
  1245. color: "#0B4A6B",
  1246. margin: 8,
  1247. fontSize: 16
  1248. },
  1249. },
  1250. radiusAxis: {
  1251. min: 20,
  1252. max: 120,
  1253. interval: 20,
  1254. axisLine: {
  1255. show: false,
  1256. lineStyle: {
  1257. color: "#0B3E5E",
  1258. width: 1,
  1259. type: "solid"
  1260. },
  1261. },
  1262. axisLabel: {
  1263. formatter: '{value} %',
  1264. show: false,
  1265. padding: [0, 0, 20, 0],
  1266. color: "#0B3E5E",
  1267. fontSize: 16
  1268. },
  1269. splitLine: {
  1270. lineStyle: {
  1271. color: "#07385e",
  1272. width: 2,
  1273. type: "dashed"
  1274. }
  1275. },
  1276. },
  1277. calculable: true,
  1278. series: [{
  1279. stack: 'a',
  1280. type: 'pie',
  1281. radius: myProperty.pieradius,
  1282. roseType: 'radius',
  1283. zlevel: 10,
  1284. startAngle: 100,
  1285. labelLine: {
  1286. normal: {
  1287. show: true,
  1288. length: myProperty.length1,
  1289. length2: myProperty.length2,
  1290. lineStyle: {
  1291. color: '#0096b1'
  1292. }
  1293. },
  1294. emphasis: {
  1295. show: false
  1296. }
  1297. },
  1298. data: data,
  1299. },]
  1300. };
  1301. this.roseEcharts.setOption(option)
  1302. tools.loopShowTooltip(this.roseEcharts, option, {
  1303. nterval: 2000,
  1304. loopSeries: true,
  1305. });
  1306. },
  1307. initChartsBig(arr = [
  1308. {
  1309. name: '地面',
  1310. y: 10,
  1311. sliced: false,
  1312. selected: false,
  1313. },
  1314. {
  1315. name: '辅助',
  1316. y: 10,
  1317. sliced: false,
  1318. selected: false,
  1319. },
  1320. {
  1321. name: '一线',
  1322. y: 10,
  1323. sliced: false,
  1324. selected: false,
  1325. },
  1326. ]) {
  1327. let left5 = arr
  1328. var chartData = left5
  1329. var timer = null;
  1330. var i = 0;
  1331. let that = this
  1332. var option = {
  1333. colors: [
  1334. "#D9E1F2",
  1335. "#B4C6E7",
  1336. "#8EA9DB",
  1337. "#305496",
  1338. "#203764",
  1339. ],
  1340. chart: {
  1341. type: 'pie',
  1342. backgroundColor: 'rgba(0,0,0,0)',
  1343. options3d: {
  1344. enabled: true,
  1345. alpha: 45,
  1346. //beta: 0
  1347. },
  1348. events: {
  1349. // load,图表加载完成时触发
  1350. load: function () {
  1351. var chart = this;
  1352. var points = chart.series[0].points;
  1353. var len = points.length;
  1354. timer && clearInterval(timer);
  1355. timer = setInterval(function () {
  1356. autoTooltip(points[i]);
  1357. chartData.forEach((item, index) => {
  1358. item.sliced = false
  1359. item.selected = false
  1360. if (index == i) {
  1361. item.sliced = true
  1362. item.selected = true
  1363. }
  1364. })
  1365. chart.update({
  1366. series: [{
  1367. type: 'pie',
  1368. name: '占比',
  1369. data: chartData
  1370. }]
  1371. })
  1372. i++;
  1373. if (i === len) {
  1374. i = 0;
  1375. chartData.forEach((item, index) => {
  1376. item.sliced = false
  1377. item.selected = false
  1378. })
  1379. chart.update({
  1380. series: [{
  1381. type: 'pie',
  1382. name: '占比',
  1383. data: chartData
  1384. }]
  1385. })
  1386. }
  1387. }, 1000);
  1388. },
  1389. legendItemClick: function (event) {
  1390. return true;
  1391. }
  1392. }
  1393. },
  1394. credits: {
  1395. enabled: false //去掉hightchats水印
  1396. },
  1397. legend: {
  1398. align: 'right', //横向位置
  1399. verticalAlign: 'middle', // 纵向位置
  1400. layout: "vertical", //横排还是竖排
  1401. x: 10,
  1402. y: 100,
  1403. symbolWidth: 30,
  1404. itemStyle: {
  1405. fontSize: '30px',
  1406. color: '#fff',
  1407. x: 20,
  1408. fontWeight: 0,
  1409. fontFamily: 'Microsoft YaHei'
  1410. },
  1411. },
  1412. title: {
  1413. enabled: false,
  1414. text: "",
  1415. },
  1416. tooltip: {
  1417. crosshairs: false,
  1418. trigger: "axis",
  1419. backgroundColor: 'rgba(0, 0, 0, 0.5)',
  1420. borderColor: "rgba(0,0,0,0.5)",
  1421. style: {
  1422. fontSize: 30,
  1423. color: '#A3E2F4',
  1424. fontWeight: 0,
  1425. },
  1426. axisPointer: {
  1427. lineStyle: {
  1428. color: "#ddd",
  1429. },
  1430. },
  1431. formatter: function (e) {
  1432. this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
  1433. return `${this.key}:<b><b>${this.y}</b>(${this.percentage}%)</b></b>`
  1434. },
  1435. },
  1436. plotOptions: {
  1437. pie: {
  1438. allowPointSelect: true,
  1439. showInLegend: true, // 图例
  1440. cursor: 'pointer',
  1441. size: 350,
  1442. innerSize: 0, //环形图中间空白,0为饼图
  1443. depth: 80, //立体高度
  1444. slicedOffset: 40, //动画距离
  1445. dataLabels: {
  1446. enabled: false, // 是否展示指示线
  1447. format: '{point.name}: {point.percentage}'
  1448. }
  1449. },
  1450. },
  1451. series: [{
  1452. type: 'pie',
  1453. name: '占比',
  1454. center: ['50%', '50%'],
  1455. point: {
  1456. events: {
  1457. mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
  1458. chartData.forEach((item, index) => {
  1459. item.sliced = false
  1460. item.selected = false
  1461. })
  1462. chartData[e.target.index].sliced = true
  1463. chartData[e.target.index].selected = true
  1464. chart.update({
  1465. series: [{
  1466. type: 'pie',
  1467. name: '占比',
  1468. point: {
  1469. events: {
  1470. click: function (e) {
  1471. that.showChartLTipDouble(e.point.name)
  1472. }
  1473. }
  1474. },
  1475. data: chartData
  1476. }]
  1477. })
  1478. timer && clearInterval(timer);
  1479. },
  1480. mouseOut: function () { // 鼠标移出后需要继续执行轮播
  1481. var points = chart.series[0].points;
  1482. var len = points.length;
  1483. timer && clearInterval(timer);
  1484. timer = setInterval(function () {
  1485. autoTooltip(points[i]);
  1486. chartData.forEach((item, index) => {
  1487. item.sliced = false
  1488. item.selected = false
  1489. if (index == i) {
  1490. item.sliced = true
  1491. item.selected = true
  1492. }
  1493. })
  1494. chart.update({
  1495. series: [{
  1496. type: 'pie',
  1497. name: '占比',
  1498. data: chartData
  1499. }]
  1500. })
  1501. i++;
  1502. if (i === len) {
  1503. i = 0;
  1504. chartData.forEach((item, index) => {
  1505. item.sliced = false
  1506. item.selected = false
  1507. })
  1508. chart.update({
  1509. series: [{
  1510. type: 'pie',
  1511. name: '占比',
  1512. data: chartData
  1513. }]
  1514. })
  1515. }
  1516. }, 2000);
  1517. }
  1518. }
  1519. },
  1520. data: chartData
  1521. }]
  1522. }
  1523. if (that.hecharts) {
  1524. that.hecharts.destroy();
  1525. }
  1526. that.hecharts = Highcharts.chart('echartL2', option);
  1527. function autoTooltip(point) {
  1528. that.hecharts.tooltip.refresh(point);
  1529. }
  1530. },
  1531. initThreeBig(el) {
  1532. this.roseEcharts = echarts.init(el)
  1533. var placeHolderStyle = {
  1534. normal: {
  1535. label: {
  1536. show: false
  1537. },
  1538. labelLine: {
  1539. show: false
  1540. },
  1541. color: "rgba(0,0,0,0)",
  1542. borderWidth: 0
  1543. },
  1544. emphasis: {
  1545. color: "rgba(0,0,0,0)",
  1546. borderWidth: 0
  1547. }
  1548. };
  1549. var dataStyle = {
  1550. normal: {
  1551. formatter: '{c}',
  1552. position: 'center',
  1553. show: true,
  1554. textStyle: {
  1555. fontSize: '35',
  1556. fontWeight: 'normal',
  1557. color: '#fff'
  1558. }
  1559. }
  1560. };
  1561. option = {
  1562. title: [{
  1563. text: '地面',
  1564. left: '19%',
  1565. top: '70%',
  1566. textAlign: 'center',
  1567. textStyle: {
  1568. fontWeight: 'normal',
  1569. fontSize: '30',
  1570. color: '#fff',
  1571. textAlign: 'center',
  1572. },
  1573. }, {
  1574. text: '辅助',
  1575. left: '49%',
  1576. top: '70%',
  1577. textAlign: 'center',
  1578. textStyle: {
  1579. color: '#fff',
  1580. fontWeight: 'normal',
  1581. fontSize: '30',
  1582. textAlign: 'center',
  1583. },
  1584. }, {
  1585. text: '一线',
  1586. left: '79%',
  1587. top: '70%',
  1588. textAlign: 'center',
  1589. textStyle: {
  1590. color: '#fff',
  1591. fontWeight: 'normal',
  1592. fontSize: '30',
  1593. textAlign: 'center',
  1594. },
  1595. }],
  1596. series: [{
  1597. type: 'pie',
  1598. hoverAnimation: false, //鼠标经过的特效
  1599. // radius: ['55%', '61%'],
  1600. radius: ['45%', '50%'],
  1601. center: ['20%', '50%'],
  1602. startAngle: 225,
  1603. labelLine: {
  1604. normal: {
  1605. show: false
  1606. }
  1607. },
  1608. label: {
  1609. normal: {
  1610. position: 'center'
  1611. }
  1612. },
  1613. data: [{
  1614. value: 12,
  1615. itemStyle: {
  1616. normal: {
  1617. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1618. offset: 0,
  1619. color: '#99da69'
  1620. }, {
  1621. offset: 1,
  1622. color: '#01babc'
  1623. }]),
  1624. }
  1625. },
  1626. label: dataStyle,
  1627. }, {
  1628. value: 4,
  1629. itemStyle: placeHolderStyle,
  1630. },
  1631. ]
  1632. },
  1633. {
  1634. type: 'pie',
  1635. hoverAnimation: false, //鼠标经过的特效
  1636. radius: ['45%', '50%'],
  1637. center: ['50%', '50%'],
  1638. startAngle: 225,
  1639. labelLine: {
  1640. normal: {
  1641. show: false
  1642. }
  1643. },
  1644. label: {
  1645. normal: {
  1646. position: 'center'
  1647. }
  1648. },
  1649. data: [{
  1650. value: 15,
  1651. itemStyle: {
  1652. normal: {
  1653. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1654. offset: 0,
  1655. color: '#FBAB7E'
  1656. }, {
  1657. offset: 1,
  1658. color: '#F7CE68'
  1659. }]),
  1660. }
  1661. },
  1662. label: dataStyle,
  1663. }, {
  1664. value: 5,
  1665. itemStyle: placeHolderStyle,
  1666. },
  1667. ]
  1668. },
  1669. {
  1670. type: 'pie',
  1671. hoverAnimation: false,
  1672. // radius: ['55%', '61%'],
  1673. radius: ['45%', '50%'],
  1674. center: ['80%', '50%'],
  1675. startAngle: 225,
  1676. labelLine: {
  1677. normal: {
  1678. show: false
  1679. }
  1680. },
  1681. label: {
  1682. normal: {
  1683. position: 'center'
  1684. }
  1685. },
  1686. data: [{
  1687. value: 9,
  1688. itemStyle: {
  1689. normal: {
  1690. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1691. offset: 0,
  1692. color: '#9f3edd'
  1693. }, {
  1694. offset: 1,
  1695. color: '#4897f6'
  1696. }]),
  1697. }
  1698. },
  1699. label: dataStyle,
  1700. }, {
  1701. value: 3,
  1702. itemStyle: placeHolderStyle,
  1703. },
  1704. ]
  1705. },
  1706. //外圈的边框
  1707. {
  1708. // name: '总人数',
  1709. type: 'pie',
  1710. hoverAnimation: false, //鼠标经过的特效
  1711. radius: ['51%', '52%'],
  1712. center: ['20%', '50%'],
  1713. startAngle: 225,
  1714. labelLine: {
  1715. normal: {
  1716. show: false
  1717. }
  1718. },
  1719. label: {
  1720. normal: {
  1721. position: 'center'
  1722. }
  1723. },
  1724. data: [{
  1725. value: 12,
  1726. itemStyle: {
  1727. normal: {
  1728. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1729. offset: 0,
  1730. color: '#01babc'
  1731. }, {
  1732. offset: 1,
  1733. color: '#99da69'
  1734. }]),
  1735. }
  1736. },
  1737. }, {
  1738. value: 4,
  1739. itemStyle: placeHolderStyle,
  1740. },
  1741. ]
  1742. },
  1743. {
  1744. // name: '总人数',
  1745. type: 'pie',
  1746. hoverAnimation: false, //鼠标经过的特效
  1747. // radius: ['61%', '62%'],
  1748. radius: ['51%', '52%'],
  1749. center: ['50%', '50%'],
  1750. startAngle: 225,
  1751. labelLine: {
  1752. normal: {
  1753. show: false
  1754. }
  1755. },
  1756. label: {
  1757. normal: {
  1758. position: 'center'
  1759. }
  1760. },
  1761. data: [{
  1762. value: 15,
  1763. itemStyle: {
  1764. normal: {
  1765. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1766. offset: 0,
  1767. color: '#FBAB7E'
  1768. }, {
  1769. offset: 1,
  1770. color: '#F7CE68'
  1771. }]),
  1772. }
  1773. },
  1774. }, {
  1775. value: 5,
  1776. itemStyle: placeHolderStyle,
  1777. },
  1778. ]
  1779. },
  1780. {
  1781. type: 'pie',
  1782. hoverAnimation: false,
  1783. // radius: ['61%', '62%'],
  1784. radius: ['51%', '52%'],
  1785. center: ['80%', '50%'],
  1786. startAngle: 225,
  1787. labelLine: {
  1788. normal: {
  1789. show: false
  1790. }
  1791. },
  1792. label: {
  1793. normal: {
  1794. position: 'center'
  1795. }
  1796. },
  1797. data: [{
  1798. value: 9,
  1799. itemStyle: {
  1800. normal: {
  1801. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1802. offset: 0,
  1803. color: '#4897f6'
  1804. }, {
  1805. offset: 1,
  1806. color: '#9f3edd'
  1807. }]),
  1808. }
  1809. },
  1810. }, {
  1811. value: 3,
  1812. itemStyle: placeHolderStyle,
  1813. },
  1814. ]
  1815. },
  1816. ]
  1817. };
  1818. this.roseEcharts.setOption(option)
  1819. tools.loopShowTooltip(this.roseEcharts, option, {
  1820. nterval: 2000,
  1821. loopSeries: true,
  1822. });
  1823. },
  1824. handleClick(from, type) {
  1825. this.handleMark()
  1826. this.from = from
  1827. this.type = type
  1828. let that = this;
  1829. if (from == "timeList1" && type == 1) {
  1830. that.markStyle = {
  1831. right: "1%",
  1832. bottom: "4%"
  1833. }
  1834. } else if (from == "timeList1" && type == 0) {
  1835. that.markStyle = {
  1836. right: "5%",
  1837. bottom: "4%"
  1838. }
  1839. } else if (from == "timeList2" && type == 0) {
  1840. that.markStyle = {
  1841. right: "87%",
  1842. bottom: "43%"
  1843. }
  1844. } else if (from == "timeList2" && type == 1) {
  1845. that.markStyle = {
  1846. right: "84%",
  1847. bottom: "43%"
  1848. }
  1849. }
  1850. this.showMark = true
  1851. this.showSelect = true
  1852. },
  1853. handleMark() {
  1854. this.showMark = false
  1855. this.showSelect = false
  1856. this.showMonth = false
  1857. },
  1858. handleOption(item) {
  1859. this[this.from][this.type] = item
  1860. this.handleMark()
  1861. },
  1862. handleMonthOption(item) {
  1863. this.monthItem = item
  1864. this.handleMark()
  1865. },
  1866. handleMonth() {
  1867. this.handleMark()
  1868. this.showMark = true
  1869. this.showMonth = true
  1870. },
  1871. ortherEcharts(el, data) {
  1872. this.vitaEcharts = echarts.init(el);
  1873. option = {
  1874. tooltip: {
  1875. show: true,
  1876. trigger: 'axis',
  1877. textStyle: {
  1878. fontSize: 30,
  1879. color: '#A3E2F4'
  1880. },
  1881. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  1882. type: 'none' // 默认为直线,可选为:'line' | 'shadow'
  1883. }
  1884. },
  1885. grid: {
  1886. top: '8%',
  1887. left: '1%',
  1888. right: '1%',
  1889. bottom: '8%',
  1890. containLabel: true,
  1891. },
  1892. xAxis: [{
  1893. type: 'category',
  1894. boundaryGap: false,
  1895. axisLine: { //坐标轴轴线相关设置。数学上的x轴
  1896. show: false,
  1897. lineStyle: {
  1898. color: '#233e64'
  1899. },
  1900. },
  1901. axisLabel: { //坐标轴刻度标签的相关设置
  1902. textStyle: {
  1903. color: '#fff',
  1904. fontSize: 26,
  1905. margin: 15,
  1906. },
  1907. },
  1908. axisTick: { show: false, },
  1909. data: ['6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7'],
  1910. }],
  1911. yAxis: [{
  1912. type: 'value',
  1913. min: 0,
  1914. max: 140,
  1915. splitLine: {
  1916. show: true,
  1917. lineStyle: {
  1918. color: '#233e64'
  1919. }
  1920. },
  1921. axisLine: { show: false, },
  1922. axisLabel: {
  1923. margin: 20,
  1924. textStyle: {
  1925. color: '#fff',
  1926. fontSize: 24,
  1927. },
  1928. },
  1929. axisTick: { show: false, },
  1930. }],
  1931. series: [{
  1932. name: '异常流量',
  1933. type: 'line',
  1934. smooth: true, //是否平滑曲线显示
  1935. symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
  1936. symbolSize: 0,
  1937. lineStyle: {
  1938. normal: {
  1939. color: "#3deaff" // 线条颜色
  1940. }
  1941. },
  1942. areaStyle: { //区域填充样式
  1943. normal: {
  1944. //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
  1945. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1946. { offset: 0, color: 'rgba(61,234,255, 0.9)' },
  1947. { offset: 0.7, color: 'rgba(61,234,255, 0.1)' }
  1948. ], false),
  1949. shadowColor: 'rgba(53,142,215, 0.9)', //阴影颜色
  1950. shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
  1951. }
  1952. },
  1953. data: [90, 105, 84, 125, 110, 92, 98]
  1954. }]
  1955. };
  1956. this.vitaEcharts.setOption(option);
  1957. tools.loopShowTooltip(this.vitaEcharts, option, {
  1958. nterval: 2000,
  1959. loopSeries: true,
  1960. });
  1961. },
  1962. hanleIcon() {
  1963. this.vitaEcharts.dispose()
  1964. this.downholeFlag = !this.downholeFlag
  1965. if (this.downholeFlag) {
  1966. setTimeout(() => {
  1967. let vita = this.$refs.vita
  1968. this.initVitaEcharts(vita)
  1969. })
  1970. }
  1971. // if (this.echartsIndex == 1) {
  1972. // this.ortherEcharts(vita)
  1973. // this.echartsIndex = 2
  1974. // } else {
  1975. // this.echartsIndex = 1
  1976. // }
  1977. },
  1978. handleChangeType(type, index) {
  1979. let that = this;
  1980. if (type) {
  1981. that.rightTime && clearInterval(that.rightTime)
  1982. that.rightList.forEach(item => {
  1983. item.flag = false
  1984. })
  1985. that.rightList[index].flag = true
  1986. that.rightIndex = index
  1987. this.rightTime = setInterval(() => {
  1988. that.rightList.forEach((item, index) => {
  1989. item.flag = !item.flag
  1990. if (item.flag) {
  1991. that.rightIndex = index
  1992. }
  1993. })
  1994. }, 5000)
  1995. } else {
  1996. that.leftTime && clearInterval(that.leftTime)
  1997. that.leftList.forEach(item => {
  1998. item.flag = false
  1999. })
  2000. that.leftList[index].flag = true
  2001. that.leftIndex = index
  2002. if (index == 0) {
  2003. that.leftFlag = true
  2004. } else {
  2005. that.leftFlag = false
  2006. setTimeout(() => {
  2007. let leftChange = that.$refs.leftChange
  2008. that.initThreeBig(leftChange)
  2009. })
  2010. }
  2011. that.leftTime = setInterval(() => {
  2012. that.leftList.forEach((item, index) => {
  2013. item.flag = !item.flag
  2014. if (item.flag) {
  2015. if (index == 0) {
  2016. that.leftFlag = true
  2017. } else {
  2018. that.leftFlag = false
  2019. setTimeout(() => {
  2020. let leftChange = that.$refs.leftChange
  2021. that.initThreeBig(leftChange)
  2022. })
  2023. }
  2024. }
  2025. })
  2026. }, 5000)
  2027. }
  2028. },
  2029. getPlayers() {
  2030. let that = this;
  2031. let data = {};
  2032. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Players", data).then(res => {
  2033. if (res) {
  2034. that.mainList[1].value = res.value
  2035. }
  2036. })
  2037. },
  2038. getPostDetail() {
  2039. let that = this;
  2040. let data = {};
  2041. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/PostDetail", data).then(res => {
  2042. })
  2043. let res = {
  2044. data: [
  2045. [
  2046. "山西焦煤集团有限责任公司",
  2047. "事业部副总经理",
  2048. "1",
  2049. "6",
  2050. "2022.12.07",
  2051. "一、招聘原则:\r\n无&二、招聘对象:\r\n1.工作年限:不限,2.学历要求:不限,3.招聘范围:不限.&三、招聘人数:\r\n共计1人.&四、工作地点:&五、工作职责:\r\n1、统筹负责焦煤事业部的全面生产及经营等工作,重点保障公司冶金板块三个生产基地的焦煤供给;\n2、负责周边焦煤市场资源的开拓、整合与合作等工作;\n3、负责阿克苏周边地区煤矿资源的开发获取等;\n4、推进内部焦煤产品的市场化收益等工作。&六、招聘条件:\r\n1、大专及以上学历,有焦煤行业全盘管理经验,熟悉焦煤市场运营,尤其熟悉新疆市场;\n2、有相关人员和企业的管理经验,具备一定的前瞻性规划及统筹能力;\n3、有0到1的从业经验,具备较强的整合能力,有较好的事业成就动机。&七、报名方式:八、招聘流程:\r\n&九、有关说明:\r\n"
  2052. ],
  2053. [
  2054. "山西焦煤集团有限责任公司",
  2055. "营运部长",
  2056. "2",
  2057. "35",
  2058. "2022.11.25",
  2059. "一、招聘原则:\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无"
  2060. ]
  2061. ]
  2062. }
  2063. let list = []
  2064. let a = []
  2065. res.data.forEach((item, index) => {
  2066. list.push([item[0], item[1], item[2], item[3], item[4]])
  2067. a[index] = []
  2068. item[5].split("&").forEach(i => {
  2069. let infos = i.split("\r\n")
  2070. let obj = {
  2071. title: infos[0],
  2072. content: infos[1]
  2073. }
  2074. a[index].push(obj)
  2075. })
  2076. })
  2077. that.recruitInfoList.push(...a)
  2078. },
  2079. getHalfYearDelivcv() {
  2080. let that = this;
  2081. let data = {};
  2082. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HalfYearDelivcv",data).then(res=>{
  2083. // console.log(res);
  2084. // })
  2085. let res = {
  2086. data: [
  2087. {
  2088. 2: 90
  2089. },
  2090. {
  2091. 3: 58
  2092. },
  2093. {
  2094. 4: 100
  2095. },
  2096. {
  2097. 5: 30
  2098. },
  2099. {
  2100. 6: 10
  2101. },
  2102. {
  2103. 7: 30
  2104. }
  2105. ]
  2106. }
  2107. let vita = this.$refs.vita
  2108. let nameList = [];
  2109. let valueList = [];
  2110. res.data.forEach(item => {
  2111. for (let k in item) {
  2112. nameList.push(k + "月")
  2113. valueList.push(item[k])
  2114. }
  2115. })
  2116. that.vitaData.x = nameList
  2117. that.vitaData.y = valueList
  2118. that.initVitaEcharts(vita)
  2119. },
  2120. getHotDelivcv() {
  2121. let that = this;
  2122. let data = {};
  2123. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HotDelivcv",data).then(res => {})
  2124. let res = {
  2125. data: [
  2126. [
  2127. "山西焦煤集团有限责任公司",
  2128. "营运部长",
  2129. 35
  2130. ],
  2131. [
  2132. "山西焦煤集团有限责任公司",
  2133. "合同管理员",
  2134. 24
  2135. ],
  2136. [
  2137. "",
  2138. "java开发",
  2139. 7
  2140. ]
  2141. ]
  2142. }
  2143. that.typeList.data = res.data
  2144. },
  2145. arrToListArr() {
  2146. this.isChangeList = false
  2147. let arr = [
  2148. {
  2149. value: [
  2150. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
  2151. "http://localhost:8080/ierp/attachment/downloadImage/",
  2152. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
  2153. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg"
  2154. ],
  2155. key: "头像地址"
  2156. },
  2157. {
  2158. value: [
  2159. "胡军军",
  2160. "胡军军",
  2161. "胡军军",
  2162. "测试触发003"
  2163. ],
  2164. key: "姓名"
  2165. },
  2166. {
  2167. value: [
  2168. "java开发",
  2169. "java开发",
  2170. "java开发",
  2171. "123"
  2172. ],
  2173. key: "投递岗位"
  2174. },
  2175. {
  2176. value: [
  2177. "2022-10-19",
  2178. "2023-08-27",
  2179. "2023-08-27",
  2180. "2023-08-27"
  2181. ],
  2182. key: "申请时间"
  2183. }
  2184. ]
  2185. let that = this;
  2186. let data = {}
  2187. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Delivcv", data).then(res => { })
  2188. let imageList = []
  2189. let nameList = []
  2190. let stationList = []
  2191. let timeList = []
  2192. let dataList = []
  2193. arr.forEach(item => {
  2194. if (item.key == "头像地址") {
  2195. imageList.push(...item.value)
  2196. }
  2197. if (item.key == "姓名") {
  2198. nameList.push(...item.value)
  2199. }
  2200. if (item.key == "投递岗位") {
  2201. stationList.push(...item.value)
  2202. }
  2203. if (item.key == "申请时间") {
  2204. timeList.push(...item.value)
  2205. }
  2206. })
  2207. nameList.forEach((item, index) => {
  2208. dataList.push(["<img class='list_img' src='" + imageList[index] + "' alt=''>", item, stationList[index], timeList[index]])
  2209. })
  2210. this.configMark.data = dataList
  2211. console.log(this.configMark.data);
  2212. this.isChangeList = true
  2213. delete imageList
  2214. delete nameList
  2215. delete stationList
  2216. delete timeList
  2217. },
  2218. getDelivcvAndApply() {
  2219. let that = this;
  2220. let data = {
  2221. flag: true
  2222. };
  2223. let pageBtm = this.$refs.pageBtm
  2224. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/DelivcvAndApply", data).then(res => {
  2225. if (res) {
  2226. res.data.forEach(item => {
  2227. if (item.key == "单位名称") {
  2228. admissionList.x = item.value
  2229. console.log(item.value);
  2230. }
  2231. if (item.key == "招聘人数") {
  2232. admissionList.y1 = item.value
  2233. }
  2234. if (item.key == "报名人数") {
  2235. admissionList.y2 = item.value
  2236. }
  2237. if (item.key == "录用人数") {
  2238. admissionList.y3 = item.value
  2239. }
  2240. })
  2241. }
  2242. console.log(admissionList);
  2243. this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  2244. })
  2245. },
  2246. getreviewarrange() {
  2247. let that = this;
  2248. let data = {
  2249. flag: false
  2250. };
  2251. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getreviewarrange", data).then(res => {
  2252. console.log(res);
  2253. })
  2254. }
  2255. },
  2256. })