humanResources.js 109 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782
  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],
  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='./images/header/1.jpg' alt=''>", "<span class=''>程嘉鑫</span>", "<span class=''>技术员</span>", "<span class=''>2023.07.29</span>"],
  180. ["<img class='list_img' src='./images/header/2.jpg' alt=''>", "<span class=''>池富婕</span>", "<span class=''>生产调度员</span>", "<span class=''>2023.07.26</span>"],
  181. ["<img class='list_img' src='./images/header/3.jpg' alt=''>", "<span class=''>邓文奇</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.18</span>"],
  182. ["<img class='list_img' src='./images/header/4.jpg' alt=''>", "<span class=''>翟世佳</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.11</span>"],
  183. ["<img class='list_img' src='./images/header/5.jpg' alt=''>", "<span class=''>丁一帆</span>", "<span class=''>生产调度员</span>", "<span class=''>2023.07.08</span>"],
  184. ["<img class='list_img' src='./images/header/6.jpg' alt=''>", "<span class=''>董明霞</span>", "<span class=''>生产调度员</span>", "<span class=''>2023.07.01</span>"],
  185. ["<img class='list_img' src='./images/header/7.jpg' alt=''>", "<span class=''>杜沛宣</span>", "<span class=''>技术员</span>", "<span class=''>2023.06.29</span>"],
  186. ["<img class='list_img' src='./images/header/8.jpg' alt=''>", "<span class=''>樊宇浩</span>", "<span class=''>技术员</span>", "<span class=''>2023.07.29</span>"],
  187. ["<img class='list_img' src='./images/header/9.jpg' alt=''>", "<span class=''>冯凯</span>", "<span class=''>井下钻探工</span>", "<span class=''>2023.07.26</span>"],
  188. ["<img class='list_img' src='./images/header/10.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.08.18 09:30-10:30"],
  203. ["02", '李小曼', '洽谈室1', '杜儿坪矿', "2023.08.18 09:30-10:30"],
  204. ["03", '王亮', '洽谈室1', '柳湾煤矿', "2023.08.18 09:30-10:30"],
  205. ["04", '李鑫', '洽谈室1', '高阳煤矿', "2023.08.18 09:30-10:30"],
  206. ["05", '王杰', '洽谈室1', '柳湾煤矿', "2023.08.18 09:30-10:30"],
  207. ["06", '张强', '洽谈室1', '杜儿坪矿', "2023.08.18 09:30-10:30"],
  208. ["07", '王强', '洽谈室1', '高阳煤矿', "2023.08.19 09:30-10:30"],
  209. ["08", '程丽', '洽谈室1', '柳湾煤矿', "2023.08.19 09:30-10:30"],
  210. ["09", '韩赢', '洽谈室1', '杜儿坪矿', "2023.08.19 09:30-10:30"],
  211. ["10", '王丽', '洽谈室1', '柳湾煤矿', "2023.08.19 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.08.22 09:30-10:30"],
  226. ["02", '赵建国', '洽谈室1', '柳湾煤矿', "2023.08.22 09:30-10:30"],
  227. ["03", '张耀杰', '洽谈室1', '高阳煤矿', "2023.08.22 09:30-10:30"],
  228. ["04", '崔诚', '洽谈室1', '杜儿坪矿', "2023.08.22 09:30-10:30"],
  229. ["05", '陈灵均', '洽谈室1', '杜儿坪矿', "2023.08.22 09:30-10:30"],
  230. ["06", '杜勇', '洽谈室1', '柳湾煤矿', "2023.08.23 09:30-10:30"],
  231. ["07", '李灵风', '洽谈室1', '高阳煤矿', "2023.08.23 09:30-10:30"],
  232. ["08", '卢晨', '洽谈室1', '杜儿坪矿', "2023.08.23 09:30-10:30"],
  233. ["08", '韩玉树', '洽谈室1', '柳湾煤矿', "2023.08.23 09:30-10:30"],
  234. ["09", '王杰', '洽谈室1', '杜儿坪矿', "2023.08.23 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, 140, 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, 140, 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: "08",
  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: 292,
  323. num2: 225,
  324. num3: "77%",
  325. }, {
  326. name: "累计数",
  327. flag: false,
  328. num1: 571,
  329. num2: 492,
  330. num3: "84%",
  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. leftErrorList: ["信息不完整", "信息有误", "任职条件不符", "出勤不足", "工作年限不符"],
  358. isShowList: true,
  359. isListEnd: 0,
  360. address: "西山煤电屯兰矿。",
  361. interviewIndex: 0,
  362. examinationIndex: 0,
  363. showInterview: true, // 面试
  364. showExamination: true, //笔试
  365. noticeList: [],
  366. noticeIndex: 0,
  367. }
  368. },
  369. created() {
  370. this.newList = listToChange(yearList, monthList)
  371. if (employmentList.length % 2 != 0) {
  372. employmentList.push([])
  373. }
  374. employmentList.forEach((item, index) => {
  375. if (index % 2 == 0) {
  376. this.employmentList1.data.push(item)
  377. } else {
  378. this.employmentList2.data.push(item)
  379. }
  380. })
  381. this.keyDown()
  382. },
  383. watch: {
  384. imageIndex() {
  385. let that = this
  386. if (this.imageIndex == this.imageList.length) {
  387. that.downhole.dispose()
  388. that.vitaEcharts.dispose()
  389. setTimeout(() => {
  390. let pageBtm = that.$refs.pageBtm
  391. that.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  392. let vita = that.$refs.vita
  393. that.initVitaEcharts(vita)
  394. })
  395. this.imageIndex = 0
  396. this.imageFlag = false
  397. }
  398. },
  399. },
  400. mounted() {
  401. let that = this;
  402. this.$nextTick(() => {
  403. let rightOne = this.$refs.rightOne
  404. this.initLineRight(rightOne, { value: 25, total: 67 })
  405. let rightTwo = this.$refs.rightTwo
  406. this.initLineRight(rightTwo, { value: 22, total: 67 })
  407. let rightThree = this.$refs.rightThree
  408. this.initLineRight(rightThree, { value: 10, total: 67 })
  409. let rightFour = this.$refs.rightFour
  410. this.initLineRight(rightFour, { value: 8, total: 67 })
  411. let rightFive = this.$refs.rightFive
  412. this.initLineRight(rightFive, { value: 2, total: 67 })
  413. // let c1 = this.$refs.c1
  414. // this.initRightCycle(c1, 40)
  415. // let c2 = this.$refs.c2
  416. // this.initRightCycle(c2, 25)
  417. // let c3 = this.$refs.c3
  418. // this.initRightCycle(c3, 20)
  419. // let c4 = this.$refs.c4
  420. // this.initRightCycle(c4, 10)
  421. // let c5 = this.$refs.c5
  422. // this.initRightCycle(c5, 5)
  423. setTimeout(() => {
  424. let itemContent = document.getElementById("itemContent")
  425. let target = itemContent.getElementsByClassName("row-item")
  426. let targetList = target.item(0)
  427. targetList.style.background = "#302e2d50"
  428. targetList.style.color = "#E1AF27"
  429. }, 0)
  430. setTimeout(() => {
  431. that.classChange = true
  432. }, 5000);
  433. setInterval(() => {
  434. let that = this
  435. that.treeList.forEach(item => {
  436. item.flag = false
  437. })
  438. if (that.treeIndex >= that.treeList.length - 1) {
  439. that.treeIndex = 0
  440. } else {
  441. that.treeIndex = that.treeIndex + 1
  442. }
  443. that.treeList[that.treeIndex].flag = true
  444. }, 5000)
  445. // setInterval(()=>{
  446. // if(that.configIndex > that.config1.data.length - 1){
  447. // that.configIndex = 0
  448. // return
  449. // } else {
  450. // that.configIndex = that.configIndex + 1
  451. // return
  452. // }
  453. // },5000)
  454. })
  455. this.leftTime = setInterval(() => {
  456. that.leftList.forEach((item, index) => {
  457. item.flag = !item.flag
  458. if (item.flag) {
  459. if (index == 0) {
  460. that.leftFlag = true
  461. } else {
  462. that.leftFlag = false
  463. setTimeout(() => {
  464. let leftChange = that.$refs.leftChange
  465. that.initThreeBig(leftChange)
  466. })
  467. }
  468. }
  469. })
  470. }, 5000)
  471. this.rightTime = setInterval(() => {
  472. that.rightList.forEach((item, index) => {
  473. item.flag = !item.flag
  474. if (item.flag) {
  475. that.rightIndex = index
  476. }
  477. })
  478. }, 5000)
  479. // localEnvAppToken().then(res => {
  480. // localStorage.setItem("app_token", res.app_token)
  481. // getLocalEnvAccessToken().then(res => {
  482. // localStorage.setItem("access_token", res.access_token)
  483. // that.getPlayers()
  484. // that.getPostDetail()
  485. // that.getHalfYearDelivcv()
  486. // that.getHotDelivcv()
  487. // that.arrToListArr()
  488. // that.getDelivcvAndApply()
  489. // that.getreviewarrange()
  490. // that.getRecruitType()
  491. // that.getFailReason()
  492. // that.getQualAudits()
  493. // that.getNoticePerson()
  494. // that.getNotice()
  495. // that.getDoubleChoice()
  496. // setInterval(() => {
  497. // that.getreviewarrange({
  498. // mianshi: [
  499. // ["焦煤", "李哥", "301", "2", "2023-08-31 10:40:55.0"],
  500. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  501. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  502. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  503. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  504. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  505. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  506. // ["焦", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  507. // ],
  508. // bishi: [
  509. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  510. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  511. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  512. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  513. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  514. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  515. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  516. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  517. // ["煤", "李13哥", "311", "2", "2023-08-31 10:40:55.0"],
  518. // ],
  519. // })
  520. // }, (1000 * 10))
  521. // })
  522. // }).catch(err => {
  523. this.isChangeList = true
  524. let pageBtm = this.$refs.pageBtm
  525. this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  526. let vita = this.$refs.vita
  527. that.initVitaEcharts(vita)
  528. that.getPostDetail()
  529. // })
  530. },
  531. methods: {
  532. // 监听键盘
  533. keyDown() {
  534. let that = this;
  535. document.onkeydown = (e) => {
  536. //事件对象兼容
  537. if (this.imageFlag) {
  538. let e1 = e || event || window.event || arguments.callee.caller.arguments[0]
  539. //键盘按键判断:左箭头-37;上箭头-38;右箭头-39;下箭头-40
  540. if (e1 && e1.keyCode == 37) {
  541. if (that.imageIndex != 0) {
  542. that.imageIndex = that.imageIndex - 1
  543. }
  544. } else if (e1 && e1.keyCode == 38) {
  545. // that.imageIndex = that.imageIndex - 1
  546. if (that.imageIndex != 0) {
  547. that.imageIndex = that.imageIndex - 1
  548. }
  549. } else if (e1 && e1.keyCode == 33) {
  550. // that.imageIndex = that.imageIndex - 1
  551. if (that.imageIndex != 0) {
  552. that.imageIndex = that.imageIndex - 1
  553. }
  554. } else if (e1 && e1.keyCode == 39) {
  555. that.imageIndex = that.imageIndex + 1
  556. } else if (e1 && e1.keyCode == 40) {
  557. that.imageIndex = that.imageIndex + 1
  558. } else if (e1 && e1.keyCode == 34) {
  559. that.imageIndex = that.imageIndex + 1
  560. }
  561. }
  562. }
  563. },
  564. handleChangeImage() {
  565. this.imageIndex += 1
  566. },
  567. fullScreen() {
  568. let docElm = document.documentElement;
  569. if (docElm.requestFullscreen) {
  570. docElm.requestFullscreen();
  571. } else if (docElm.msRequestFullscreen) {
  572. docElm.msRequestFullscreen();
  573. } else if (docElm.mozRequestFullScreen) {
  574. docElm.mozRequestFullScreen();
  575. } else if (docElm.webkitRequestFullScreen) {
  576. docElm.webkitRequestFullScreen();
  577. }
  578. this.imageFlag = true
  579. this.pageFlag = false
  580. },
  581. initDownholeEcharts(el, data) {
  582. this.downhole = echarts.init(el);
  583. let series = []
  584. let grid = {
  585. top: "15%",
  586. bottom: 50, //也可设置left和right设置距离来控制图表的大小
  587. left: "3%",
  588. right: "1%"
  589. }
  590. option = {
  591. tooltip: {
  592. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  593. borderColor: "rgba(0,0,0,0.5)",
  594. show: true,
  595. trigger: 'axis',
  596. textStyle: {
  597. fontSize: 30,
  598. color: '#A3E2F4'
  599. },
  600. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  601. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  602. }
  603. },
  604. grid,
  605. legend: {
  606. data: ["双选人数", "报名人数", "录用人数"],
  607. align: 'left',
  608. itemGap: 50,
  609. right: 500,
  610. y: '2%',
  611. icon: 'rect',
  612. textStyle: {
  613. color: "#fff",
  614. fontSize: 30
  615. }
  616. },
  617. xAxis: {
  618. axisTick: {
  619. show: false,
  620. },
  621. axisLine: {
  622. show: false,
  623. },
  624. axisLabel: {
  625. interval: 0,
  626. show: true,
  627. fontSize: 30,
  628. textStyle: {
  629. color: "#fff" //X轴文字颜色
  630. },
  631. },
  632. data: data.x,
  633. },
  634. yAxis: {
  635. type: "value",
  636. name: "人",
  637. gridIndex: 0,
  638. // splitNumber: 4,
  639. splitLine: {
  640. show: false,
  641. lineStyle: {
  642. color: '#A3C0DF',
  643. width: 1
  644. },
  645. },
  646. nameTextStyle: {
  647. fontSize: 30,
  648. },
  649. axisTick: {
  650. show: false
  651. },
  652. axisLine: {
  653. show: false,
  654. lineStyle: {
  655. color: '#A3C0DF'
  656. }
  657. },
  658. axisLabel: {
  659. show: true,
  660. margin: 14,
  661. fontSize: 28,
  662. textStyle: {
  663. color: "#fff" //X轴文字颜色
  664. }
  665. },
  666. },
  667. series: [{
  668. type: 'bar',
  669. name: "双选人数",
  670. barWidth: 26,
  671. itemStyle: {
  672. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  673. offset: 1,
  674. color: '#40A9FF',
  675. },
  676. {
  677. offset: 0,
  678. color: '#082049',
  679. },
  680. ]),
  681. },
  682. data: data.y1,
  683. }, {
  684. type: 'bar',
  685. name: "报名人数",
  686. barWidth: 26,
  687. itemStyle: {
  688. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  689. offset: 1,
  690. color: '#EAE179',
  691. },
  692. {
  693. offset: 0,
  694. color: '#082049',
  695. },
  696. ]),
  697. },
  698. data: data.y2,
  699. }, {
  700. type: 'bar',
  701. name: "录用人数",
  702. barWidth: 26,
  703. itemStyle: {
  704. color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
  705. offset: 1,
  706. color: '#6A83FF',
  707. },
  708. {
  709. offset: 0,
  710. color: '#082049',
  711. },
  712. ]),
  713. },
  714. data: data.y3,
  715. }]
  716. };
  717. this.downhole.setOption(option);
  718. tools.loopShowTooltip(this.downhole, option, {
  719. nterval: 2000,
  720. loopSeries: true,
  721. });
  722. },
  723. scrollChange(index) {
  724. this.rollFlag = false;
  725. let listIndex = index
  726. if (listIndex >= this.config1.data.length) {
  727. listIndex = index - 11
  728. }
  729. this.address = this.config1.data[listIndex][0] + "。"
  730. this.rollTitle = this.config1.data[listIndex][0] + this.config1.data[listIndex][1] + "双选公告"
  731. setTimeout(() => {
  732. this.rollFlag = true
  733. })
  734. },
  735. initRightCycle(el, data) {
  736. var getvalue = [data];
  737. let chat = echarts.init(el)
  738. option = {
  739. title: {
  740. text: getvalue + '%',
  741. textStyle: {
  742. color: '#fff',
  743. fontSize: 20
  744. },
  745. itemGap: 20,
  746. left: '55%',
  747. top: '38%'
  748. },
  749. // tooltip: {
  750. // formatter: function (params) {
  751. // return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
  752. // }
  753. // },
  754. angleAxis: {
  755. max: 100,
  756. clockwise: true, // 逆时针
  757. // 隐藏刻度线
  758. show: false
  759. },
  760. radiusAxis: {
  761. type: 'category',
  762. show: true,
  763. axisLabel: {
  764. show: false,
  765. },
  766. axisLine: {
  767. show: false,
  768. },
  769. axisTick: {
  770. show: false
  771. },
  772. },
  773. polar: {
  774. center: ['70%', '50%'],
  775. radius: ['60%', '75%'],
  776. // radius: '100%' //图形大小
  777. },
  778. series: [{
  779. type: 'bar',
  780. data: getvalue,
  781. showBackground: true,
  782. backgroundStyle: {
  783. color: '#BDEBFF',
  784. },
  785. coordinateSystem: 'polar',
  786. roundCap: true,
  787. barWidth: 30,
  788. itemStyle: {
  789. normal: {
  790. opacity: 1,
  791. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  792. offset: 0,
  793. color: '#25BFFF'
  794. }, {
  795. offset: 1,
  796. color: '#5284DE'
  797. }]),
  798. shadowBlur: 5,
  799. shadowColor: '#2A95F9',
  800. }
  801. },
  802. }]
  803. };
  804. chat.setOption(option)
  805. },
  806. initLineRight(el, data) {
  807. let that = this;
  808. let myChart = echarts.init(el);
  809. let nameList = ["a"];
  810. let valueList = [data.value];
  811. let total = data.total; // 数据总数
  812. var category = nameList.map((item, index) => {
  813. return {
  814. value: valueList[index],
  815. itemStyle: {
  816. color: new echarts.graphic.LinearGradient(
  817. 1,
  818. 0,
  819. 0,
  820. 1, [{
  821. offset: 0,
  822. color: "#40A9FF50",
  823. },
  824. {
  825. offset: 1,
  826. color: "#40A9FF",
  827. },
  828. ],
  829. false
  830. ),
  831. },
  832. };
  833. });
  834. var totalList = [];
  835. var totalBorderList = [];
  836. nameList.map((item, index) => {
  837. totalList.push({
  838. value: total,
  839. itemStyle: {
  840. color: "rgba(51, 147, 236, 0.29)",
  841. },
  842. });
  843. totalBorderList.push({
  844. value: total,
  845. itemStyle: {
  846. borderColor: "rgba(51, 147, 236, 0.29)",
  847. color: "transparent",
  848. },
  849. });
  850. });
  851. var datas = [];
  852. category.forEach((value) => {
  853. datas.push(value.value);
  854. });
  855. option = {
  856. // backgroundColor: 'rgb(231,238,249)',
  857. xAxis: {
  858. max: total,
  859. splitLine: {
  860. show: false,
  861. },
  862. axisLine: {
  863. show: false,
  864. },
  865. axisLabel: {
  866. show: false,
  867. },
  868. axisTick: {
  869. show: false,
  870. },
  871. },
  872. grid: {
  873. left: "1%",
  874. top: 20, // 设置条形图的边距
  875. right: "40%",
  876. bottom: 20,
  877. },
  878. yAxis: [{
  879. type: "category",
  880. inverse: false,
  881. data: nameList,
  882. axisLine: {
  883. show: false,
  884. },
  885. axisTick: {
  886. show: false,
  887. },
  888. axisLabel: {
  889. show: false,
  890. },
  891. },],
  892. series: [{
  893. // 内
  894. type: "bar",
  895. barWidth: 16,
  896. barGap: "20%",
  897. silent: true,
  898. // label: {
  899. // normal: {
  900. // formatter: (item) => {
  901. // return `${item['name']}:${item['value']} `;
  902. // },
  903. // textStyle: {
  904. // color: 'rgba(105, 120, 136, 1)',
  905. // fontSize: 14,
  906. // },
  907. // position: [0, '-25px'],
  908. // show: true,
  909. // },
  910. // },
  911. data: category,
  912. z: 1,
  913. itemStyle: {
  914. normal: {
  915. color: new echarts.graphic.LinearGradient(
  916. 1,
  917. 0,
  918. 0,
  919. 1, [{
  920. offset: 0,
  921. color: "rgba(81, 193, 156, 1)",
  922. },
  923. {
  924. offset: 1,
  925. color: "rgba(234, 177, 100, 1)",
  926. },
  927. ],
  928. false
  929. ),
  930. },
  931. },
  932. animationEasing: "elasticOut",
  933. },
  934. {
  935. // 分隔
  936. type: "pictorialBar",
  937. itemStyle: {
  938. normal: {
  939. color: "#143362",
  940. },
  941. },
  942. symbolRepeat: "fixed",
  943. symbolMargin: 8,
  944. symbol: "rect",
  945. symbolClip: false,
  946. symbolSize: [4, 20],
  947. symbolPosition: "start",
  948. symbolOffset: [0, -2],
  949. symbolBoundingData: total,
  950. data: [total, total, total, total],
  951. z: 2,
  952. animationEasing: "elasticOut",
  953. },
  954. {
  955. // label
  956. type: "pictorialBar",
  957. symbolBoundingData: total,
  958. itemStyle: {
  959. normal: {
  960. color: "none",
  961. },
  962. },
  963. label: {
  964. normal: {
  965. formatter: (params) => {
  966. var text;
  967. if (params.value >= 10) {
  968. if (((params.value / total) * 100).toFixed(0) < 10) {
  969. text = `${(" " + params.value)}人 | ${(((params.value) / total) * 100).toFixed(0)}%`;
  970. } else {
  971. text = `${(params.value)}人 | ${(((params.value) / total) * 100).toFixed(0)}%`;
  972. }
  973. } else {
  974. text = `${(" " + params.value)}人 | ${(((params.value) / total) * 100).toFixed(0)}%`;
  975. }
  976. return text;
  977. },
  978. textStyle: {
  979. // 图列内容样式
  980. fontSize: "30",
  981. fontWeight: 800,
  982. },
  983. position: "right",
  984. offset: [0, -3],
  985. distance: 10, // 向右偏移位置
  986. show: true,
  987. color: "#FFF",
  988. },
  989. },
  990. data: datas,
  991. z: 0,
  992. },
  993. {
  994. name: "外框",
  995. type: "bar",
  996. barGap: "-130%", // 设置外框粗细
  997. data: totalBorderList,
  998. barWidth: 26,
  999. itemStyle: {
  1000. normal: {
  1001. // barBorderRadius: [5, 5, 5, 5],
  1002. borderWidth: 1, // 边框宽度
  1003. borderColor: "rgb(51, 147, 236)", // 边框色
  1004. color: "rgb(231,238,249)",
  1005. },
  1006. },
  1007. z: 0,
  1008. },
  1009. ],
  1010. };
  1011. //轮播
  1012. // tools.loopShowTooltip(leftEcharts1, option, {
  1013. // interval: 2000,
  1014. // loopSeries: true,
  1015. // });
  1016. //注册
  1017. myChart.setOption(option);
  1018. },
  1019. initVitaEcharts(el, data) {
  1020. let that = this;
  1021. this.vitaEcharts = echarts.init(el)
  1022. let dataList = [...that.vitaData.y]
  1023. let max = dataList.sort(function (a, b) {
  1024. return b - a
  1025. })[0]
  1026. let maxList = []
  1027. this.vitaData.x.forEach(item => {
  1028. maxList.push(max)
  1029. })
  1030. option = {
  1031. tooltip: {
  1032. show: true,
  1033. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  1034. borderColor: "rgba(0,0,0,0.5)",
  1035. trigger: 'axis',
  1036. textStyle: {
  1037. fontSize: 30,
  1038. color: '#A3E2F4'
  1039. },
  1040. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  1041. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  1042. },
  1043. formatter: "{a} : {c}人"
  1044. },
  1045. animation: true,
  1046. grid: {
  1047. top: "12%",
  1048. bottom: "8%",
  1049. right: "2%"
  1050. },
  1051. xAxis: {
  1052. data: that.vitaData.x,
  1053. axisLine: {
  1054. show: false //隐藏X轴轴线
  1055. },
  1056. axisTick: {
  1057. show: false //隐藏X轴轴线
  1058. },
  1059. splitLine: {
  1060. show: false,
  1061. lineStyle: {
  1062. color: "rgba(77, 128, 254, 0.2)",
  1063. width: 2
  1064. }
  1065. },
  1066. axisLabel: {
  1067. show: true,
  1068. interval: 0,
  1069. fontSize: 24,
  1070. textStyle: {
  1071. color: "#fff" //X轴文字颜色
  1072. }
  1073. }
  1074. },
  1075. yAxis: [{
  1076. name: "报名/人",
  1077. type: "value",
  1078. gridIndex: 0,
  1079. min: 0,
  1080. max: 100,
  1081. interval: 25,
  1082. // splitNumber: 4,
  1083. splitLine: {
  1084. show: false,
  1085. lineStyle: {
  1086. color: "rgba(77, 128, 254, 0.2)",
  1087. width: 2
  1088. }
  1089. },
  1090. axisTick: {
  1091. show: false
  1092. },
  1093. nameTextStyle: {
  1094. fontSize: 28,
  1095. color: "#B6BFCE"
  1096. },
  1097. axisLine: {
  1098. show: false,
  1099. lineStyle: {
  1100. color: "rgba(77, 128, 254, 0.2)"
  1101. }
  1102. },
  1103. axisLabel: {
  1104. show: true,
  1105. margin: 14,
  1106. fontSize: 26,
  1107. textStyle: {
  1108. color: "#65D5FF"
  1109. }
  1110. }
  1111. }],
  1112. series: [{
  1113. name: "报名人数",
  1114. type: "bar",
  1115. barWidth: 16,
  1116. itemStyle: {
  1117. normal: {
  1118. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1119. offset: 1,
  1120. color: "#004E8E"
  1121. },
  1122. {
  1123. offset: 0,
  1124. color: "#40A9FF"
  1125. }
  1126. ])
  1127. }
  1128. },
  1129. data: that.vitaData.y,
  1130. z: 10,
  1131. zlevel: 0
  1132. },
  1133. {
  1134. // 分隔
  1135. type: "pictorialBar",
  1136. itemStyle: {
  1137. normal: {
  1138. color: "#0F375F"
  1139. }
  1140. },
  1141. symbolRepeat: "fixed",
  1142. symbolMargin: 6,
  1143. symbol: "rect",
  1144. symbolClip: true,
  1145. symbolSize: [18, 2],
  1146. symbolPosition: "start",
  1147. symbolOffset: [1, 1],
  1148. data: that.vitaData.y,
  1149. width: 2,
  1150. z: 0,
  1151. zlevel: 1
  1152. },
  1153. {
  1154. name: "外框",
  1155. type: "bar",
  1156. barGap: "-110%", // 设置外框粗细
  1157. data: maxList,
  1158. barWidth: 16,
  1159. itemStyle: {
  1160. normal: {
  1161. color: "transparent", // 填充色
  1162. // barBorderRadius: 0, //圆角半径
  1163. label: {
  1164. // 标签显示位置
  1165. show: false,
  1166. position: "top" // insideTop 或者横向的 insideLeft
  1167. }
  1168. }
  1169. },
  1170. z: 0
  1171. },
  1172. {
  1173. name: "背影",
  1174. type: "line",
  1175. smooth: true, //平滑曲线显示
  1176. showAllSymbol: false, //显示所有图形。
  1177. symbolSize: 0,
  1178. lineStyle: {
  1179. width: 0
  1180. },
  1181. areaStyle: {
  1182. color: "rgba(0, 151, 251, 0.1)"
  1183. },
  1184. data: that.vitaData.y,
  1185. z: 5
  1186. }
  1187. ],
  1188. dataZoom: [{
  1189. type: "slider",
  1190. show: false,
  1191. xAxisIndex: [0],
  1192. endValue: 12,
  1193. startValue: 0
  1194. }]
  1195. }
  1196. this.vitaEcharts.setOption(option)
  1197. tools.loopShowTooltip(this.vitaEcharts, option, {
  1198. nterval: 2000,
  1199. loopSeries: true,
  1200. });
  1201. },
  1202. initRoseEcharts(el, myData = {
  1203. number: ['10', '13', '20'],
  1204. titlename: ["地面", "辅助", "一线"],
  1205. }) {
  1206. this.roseEcharts = echarts.init(el)
  1207. var colorArr = ["#218de0", "#01cbb3", "#85e647", "#5d5cda", "#f6d54a", "#f845f1"];
  1208. 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)'];
  1209. var myProperty = {
  1210. titlefontsize: 30,
  1211. polarradius: '60%',
  1212. pieradius: '60%',
  1213. length1: 10,
  1214. length2: 55,
  1215. };
  1216. var data = [];
  1217. var total = 0;
  1218. for (var i = 0; i < myData.number.length; i++) {
  1219. total += (Number)(myData.number[i]);
  1220. }
  1221. for (let index = 0; index < myData.titlename.length; index++) {
  1222. data.push({
  1223. value: myData.number[index],
  1224. name: myData.titlename[index],
  1225. itemStyle: {
  1226. normal: {
  1227. borderColor: colorArr[index],
  1228. borderWidth: 2,
  1229. shadowBlur: 20,
  1230. shadowColor: colorArr[index],
  1231. shadowOffsetx: 25,
  1232. shadowOffsety: 20,
  1233. color: colorAlpha[index]
  1234. }
  1235. },
  1236. label: {
  1237. normal: {
  1238. formatter: ['{b|{b}: {c}个}', '{d| {d}%}'].join('\n'), //join函数将数组中的元素用选择的分隔符拼接成一个字符串
  1239. rich: {
  1240. b: {
  1241. color: colorArr[index],
  1242. fontSize: myProperty.titlefontsize,
  1243. lineHeight: 20
  1244. },
  1245. d: {
  1246. color: '#d0fffc',
  1247. fontSize: myProperty.titlefontsize, //手动输入的字体大小
  1248. height: 50,
  1249. align: 'center', //这里是控制文本的位置 此时是居中
  1250. },
  1251. },
  1252. }
  1253. },
  1254. })
  1255. }
  1256. option = {
  1257. grid: {
  1258. left: -100,
  1259. top: 50,
  1260. bottom: 10,
  1261. right: 10,
  1262. containLabel: true
  1263. },
  1264. tooltip: {
  1265. show: true,
  1266. backgroundColor: 'rgba(0, 0, 0, 0.3)',
  1267. borderColor: "rgba(0,0,0,0.5)",
  1268. trigger: 'item',
  1269. textStyle: {
  1270. fontSize: 30,
  1271. color: '#A3E2F4'
  1272. },
  1273. },
  1274. polar: {
  1275. // radius: ['0%','60%'],
  1276. //radius:[0,200]
  1277. radius: myProperty.polarradius,
  1278. },
  1279. angleAxis: {
  1280. interval: 1,
  1281. type: 'category',
  1282. data: [],
  1283. z: 10,
  1284. axisLine: {
  1285. show: false,
  1286. lineStyle: {
  1287. color: "#0B4A6B",
  1288. width: 1,
  1289. type: "solid"
  1290. },
  1291. },
  1292. axisLabel: {
  1293. interval: 0,
  1294. show: true,
  1295. color: "#0B4A6B",
  1296. margin: 8,
  1297. fontSize: 16
  1298. },
  1299. },
  1300. radiusAxis: {
  1301. min: 20,
  1302. max: 120,
  1303. interval: 20,
  1304. axisLine: {
  1305. show: false,
  1306. lineStyle: {
  1307. color: "#0B3E5E",
  1308. width: 1,
  1309. type: "solid"
  1310. },
  1311. },
  1312. axisLabel: {
  1313. formatter: '{value} %',
  1314. show: false,
  1315. padding: [0, 0, 20, 0],
  1316. color: "#0B3E5E",
  1317. fontSize: 16
  1318. },
  1319. splitLine: {
  1320. lineStyle: {
  1321. color: "#07385e",
  1322. width: 2,
  1323. type: "dashed"
  1324. }
  1325. },
  1326. },
  1327. calculable: true,
  1328. series: [{
  1329. stack: 'a',
  1330. type: 'pie',
  1331. radius: myProperty.pieradius,
  1332. roseType: 'radius',
  1333. zlevel: 10,
  1334. startAngle: 100,
  1335. labelLine: {
  1336. normal: {
  1337. show: true,
  1338. length: myProperty.length1,
  1339. length2: myProperty.length2,
  1340. lineStyle: {
  1341. color: '#0096b1'
  1342. }
  1343. },
  1344. emphasis: {
  1345. show: false
  1346. }
  1347. },
  1348. data: data,
  1349. },]
  1350. };
  1351. this.roseEcharts.setOption(option)
  1352. tools.loopShowTooltip(this.roseEcharts, option, {
  1353. nterval: 2000,
  1354. loopSeries: true,
  1355. });
  1356. },
  1357. initChartsBig(arr = [
  1358. {
  1359. name: '地面',
  1360. y: 10,
  1361. sliced: false,
  1362. selected: false,
  1363. },
  1364. {
  1365. name: '辅助',
  1366. y: 10,
  1367. sliced: false,
  1368. selected: false,
  1369. },
  1370. {
  1371. name: '一线',
  1372. y: 10,
  1373. sliced: false,
  1374. selected: false,
  1375. },
  1376. ]) {
  1377. let left5 = arr
  1378. var chartData = left5
  1379. var timer = null;
  1380. var i = 0;
  1381. let that = this
  1382. var option = {
  1383. colors: [
  1384. "#D9E1F2",
  1385. "#B4C6E7",
  1386. "#8EA9DB",
  1387. "#305496",
  1388. "#203764",
  1389. ],
  1390. chart: {
  1391. type: 'pie',
  1392. backgroundColor: 'rgba(0,0,0,0)',
  1393. options3d: {
  1394. enabled: true,
  1395. alpha: 45,
  1396. //beta: 0
  1397. },
  1398. events: {
  1399. // load,图表加载完成时触发
  1400. load: function () {
  1401. var chart = this;
  1402. var points = chart.series[0].points;
  1403. var len = points.length;
  1404. timer && clearInterval(timer);
  1405. timer = setInterval(function () {
  1406. autoTooltip(points[i]);
  1407. chartData.forEach((item, index) => {
  1408. item.sliced = false
  1409. item.selected = false
  1410. if (index == i) {
  1411. item.sliced = true
  1412. item.selected = true
  1413. }
  1414. })
  1415. chart.update({
  1416. series: [{
  1417. type: 'pie',
  1418. name: '占比',
  1419. data: chartData
  1420. }]
  1421. })
  1422. i++;
  1423. if (i === len) {
  1424. i = 0;
  1425. chartData.forEach((item, index) => {
  1426. item.sliced = false
  1427. item.selected = false
  1428. })
  1429. chart.update({
  1430. series: [{
  1431. type: 'pie',
  1432. name: '占比',
  1433. data: chartData
  1434. }]
  1435. })
  1436. }
  1437. }, 1000);
  1438. },
  1439. legendItemClick: function (event) {
  1440. return true;
  1441. }
  1442. }
  1443. },
  1444. credits: {
  1445. enabled: false //去掉hightchats水印
  1446. },
  1447. legend: {
  1448. align: 'right', //横向位置
  1449. verticalAlign: 'middle', // 纵向位置
  1450. layout: "vertical", //横排还是竖排
  1451. x: 10,
  1452. y: 100,
  1453. symbolWidth: 30,
  1454. itemStyle: {
  1455. fontSize: '30px',
  1456. color: '#fff',
  1457. x: 20,
  1458. fontWeight: 0,
  1459. fontFamily: 'Microsoft YaHei'
  1460. },
  1461. },
  1462. title: {
  1463. enabled: false,
  1464. text: "",
  1465. },
  1466. tooltip: {
  1467. crosshairs: false,
  1468. trigger: "axis",
  1469. backgroundColor: 'rgba(0, 0, 0, 0.5)',
  1470. borderColor: "rgba(0,0,0,0.5)",
  1471. style: {
  1472. fontSize: 30,
  1473. color: '#A3E2F4',
  1474. fontWeight: 0,
  1475. },
  1476. axisPointer: {
  1477. lineStyle: {
  1478. color: "#ddd",
  1479. },
  1480. },
  1481. formatter: function (e) {
  1482. this.percentage = this.percentage.toFixed(2) //Math.round(this.percentage)
  1483. return `${this.key}:<b><b>${this.y}</b>(${this.percentage}%)</b></b>`
  1484. },
  1485. },
  1486. plotOptions: {
  1487. pie: {
  1488. allowPointSelect: true,
  1489. showInLegend: true, // 图例
  1490. cursor: 'pointer',
  1491. size: 350,
  1492. innerSize: 0, //环形图中间空白,0为饼图
  1493. depth: 80, //立体高度
  1494. slicedOffset: 40, //动画距离
  1495. dataLabels: {
  1496. enabled: false, // 是否展示指示线
  1497. format: '{point.name}: {point.percentage}'
  1498. }
  1499. },
  1500. },
  1501. series: [{
  1502. type: 'pie',
  1503. name: '占比',
  1504. center: ['50%', '50%'],
  1505. point: {
  1506. events: {
  1507. mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
  1508. chartData.forEach((item, index) => {
  1509. item.sliced = false
  1510. item.selected = false
  1511. })
  1512. chartData[e.target.index].sliced = true
  1513. chartData[e.target.index].selected = true
  1514. chart.update({
  1515. series: [{
  1516. type: 'pie',
  1517. name: '占比',
  1518. point: {
  1519. events: {
  1520. click: function (e) {
  1521. that.showChartLTipDouble(e.point.name)
  1522. }
  1523. }
  1524. },
  1525. data: chartData
  1526. }]
  1527. })
  1528. timer && clearInterval(timer);
  1529. },
  1530. mouseOut: function () { // 鼠标移出后需要继续执行轮播
  1531. var points = chart.series[0].points;
  1532. var len = points.length;
  1533. timer && clearInterval(timer);
  1534. timer = setInterval(function () {
  1535. autoTooltip(points[i]);
  1536. chartData.forEach((item, index) => {
  1537. item.sliced = false
  1538. item.selected = false
  1539. if (index == i) {
  1540. item.sliced = true
  1541. item.selected = true
  1542. }
  1543. })
  1544. chart.update({
  1545. series: [{
  1546. type: 'pie',
  1547. name: '占比',
  1548. data: chartData
  1549. }]
  1550. })
  1551. i++;
  1552. if (i === len) {
  1553. i = 0;
  1554. chartData.forEach((item, index) => {
  1555. item.sliced = false
  1556. item.selected = false
  1557. })
  1558. chart.update({
  1559. series: [{
  1560. type: 'pie',
  1561. name: '占比',
  1562. data: chartData
  1563. }]
  1564. })
  1565. }
  1566. }, 2000);
  1567. }
  1568. }
  1569. },
  1570. data: chartData
  1571. }]
  1572. }
  1573. if (that.hecharts) {
  1574. that.hecharts.destroy();
  1575. }
  1576. that.hecharts = Highcharts.chart('echartL2', option);
  1577. function autoTooltip(point) {
  1578. that.hecharts.tooltip.refresh(point);
  1579. }
  1580. },
  1581. initThreeBig(el) {
  1582. this.roseEcharts = echarts.init(el)
  1583. var placeHolderStyle = {
  1584. normal: {
  1585. label: {
  1586. show: false
  1587. },
  1588. labelLine: {
  1589. show: false
  1590. },
  1591. color: "rgba(0,0,0,0)",
  1592. borderWidth: 0
  1593. },
  1594. emphasis: {
  1595. color: "rgba(0,0,0,0)",
  1596. borderWidth: 0
  1597. }
  1598. };
  1599. var dataStyle = {
  1600. normal: {
  1601. formatter: function (res) {
  1602. return res.data.value
  1603. },
  1604. position: 'center',
  1605. show: true,
  1606. textStyle: {
  1607. fontSize: '35',
  1608. fontWeight: 'bolder',
  1609. color: '#fff'
  1610. }
  1611. }
  1612. };
  1613. option = {
  1614. title: [{
  1615. text: '地面',
  1616. left: '19%',
  1617. top: '70%',
  1618. textAlign: 'center',
  1619. textStyle: {
  1620. fontWeight: 'normal',
  1621. fontSize: '30',
  1622. color: '#fff',
  1623. textAlign: 'center',
  1624. },
  1625. }, {
  1626. text: '辅助',
  1627. left: '49%',
  1628. top: '70%',
  1629. textAlign: 'center',
  1630. textStyle: {
  1631. color: '#fff',
  1632. fontWeight: 'normal',
  1633. fontSize: '30',
  1634. textAlign: 'center',
  1635. },
  1636. }, {
  1637. text: '一线',
  1638. left: '79%',
  1639. top: '70%',
  1640. textAlign: 'center',
  1641. textStyle: {
  1642. color: '#fff',
  1643. fontWeight: 'normal',
  1644. fontSize: '30',
  1645. textAlign: 'center',
  1646. },
  1647. }],
  1648. series: [{
  1649. type: 'pie',
  1650. hoverAnimation: false, //鼠标经过的特效
  1651. // radius: ['55%', '61%'],
  1652. radius: ['45%', '50%'],
  1653. center: ['20%', '50%'],
  1654. startAngle: 225,
  1655. labelLine: {
  1656. normal: {
  1657. show: false
  1658. }
  1659. },
  1660. label: {
  1661. normal: {
  1662. position: 'center'
  1663. }
  1664. },
  1665. data: [{
  1666. value: 12,
  1667. itemStyle: {
  1668. normal: {
  1669. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1670. offset: 0,
  1671. color: '#99da69'
  1672. }, {
  1673. offset: 1,
  1674. color: '#01babc'
  1675. }]),
  1676. }
  1677. },
  1678. label: dataStyle,
  1679. }, {
  1680. value: 33,
  1681. itemStyle: placeHolderStyle,
  1682. },
  1683. ]
  1684. },
  1685. {
  1686. type: 'pie',
  1687. hoverAnimation: false, //鼠标经过的特效
  1688. radius: ['45%', '50%'],
  1689. center: ['50%', '50%'],
  1690. startAngle: 225,
  1691. labelLine: {
  1692. normal: {
  1693. show: false
  1694. }
  1695. },
  1696. label: {
  1697. normal: {
  1698. position: 'center'
  1699. }
  1700. },
  1701. data: [{
  1702. value: 15,
  1703. itemStyle: {
  1704. normal: {
  1705. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1706. offset: 0,
  1707. color: '#FBAB7E'
  1708. }, {
  1709. offset: 1,
  1710. color: '#F7CE68'
  1711. }]),
  1712. }
  1713. },
  1714. label: dataStyle,
  1715. }, {
  1716. value: 33,
  1717. itemStyle: placeHolderStyle,
  1718. },
  1719. ]
  1720. },
  1721. {
  1722. type: 'pie',
  1723. hoverAnimation: false,
  1724. // radius: ['55%', '61%'],
  1725. radius: ['45%', '50%'],
  1726. center: ['80%', '50%'],
  1727. startAngle: 225,
  1728. labelLine: {
  1729. normal: {
  1730. show: false
  1731. }
  1732. },
  1733. label: {
  1734. normal: {
  1735. position: 'center'
  1736. }
  1737. },
  1738. data: [{
  1739. value: 9,
  1740. itemStyle: {
  1741. normal: {
  1742. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1743. offset: 0,
  1744. color: '#9f3edd'
  1745. }, {
  1746. offset: 1,
  1747. color: '#4897f6'
  1748. }]),
  1749. }
  1750. },
  1751. label: dataStyle,
  1752. }, {
  1753. value: 33,
  1754. itemStyle: placeHolderStyle,
  1755. },
  1756. ]
  1757. },
  1758. //外圈的边框
  1759. {
  1760. // name: '总人数',
  1761. type: 'pie',
  1762. hoverAnimation: false, //鼠标经过的特效
  1763. radius: ['51%', '52%'],
  1764. center: ['20%', '50%'],
  1765. startAngle: 225,
  1766. labelLine: {
  1767. normal: {
  1768. show: false
  1769. }
  1770. },
  1771. label: {
  1772. normal: {
  1773. position: 'center'
  1774. }
  1775. },
  1776. data: [{
  1777. value: 12,
  1778. itemStyle: {
  1779. normal: {
  1780. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1781. offset: 0,
  1782. color: '#01babc'
  1783. }, {
  1784. offset: 1,
  1785. color: '#99da69'
  1786. }]),
  1787. }
  1788. },
  1789. }, {
  1790. value: 4,
  1791. itemStyle: placeHolderStyle,
  1792. },
  1793. ]
  1794. },
  1795. {
  1796. // name: '总人数',
  1797. type: 'pie',
  1798. hoverAnimation: false, //鼠标经过的特效
  1799. // radius: ['61%', '62%'],
  1800. radius: ['51%', '52%'],
  1801. center: ['50%', '50%'],
  1802. startAngle: 225,
  1803. labelLine: {
  1804. normal: {
  1805. show: false
  1806. }
  1807. },
  1808. label: {
  1809. normal: {
  1810. position: 'center'
  1811. }
  1812. },
  1813. data: [{
  1814. value: 15,
  1815. itemStyle: {
  1816. normal: {
  1817. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1818. offset: 0,
  1819. color: '#FBAB7E'
  1820. }, {
  1821. offset: 1,
  1822. color: '#F7CE68'
  1823. }]),
  1824. }
  1825. },
  1826. }, {
  1827. value: 5,
  1828. itemStyle: placeHolderStyle,
  1829. },
  1830. ]
  1831. },
  1832. {
  1833. type: 'pie',
  1834. hoverAnimation: false,
  1835. // radius: ['61%', '62%'],
  1836. radius: ['51%', '52%'],
  1837. center: ['80%', '50%'],
  1838. startAngle: 225,
  1839. labelLine: {
  1840. normal: {
  1841. show: false
  1842. }
  1843. },
  1844. label: {
  1845. normal: {
  1846. position: 'center'
  1847. }
  1848. },
  1849. data: [{
  1850. value: 9,
  1851. itemStyle: {
  1852. normal: {
  1853. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1854. offset: 0,
  1855. color: '#4897f6'
  1856. }, {
  1857. offset: 1,
  1858. color: '#9f3edd'
  1859. }]),
  1860. }
  1861. },
  1862. }, {
  1863. value: 3,
  1864. itemStyle: placeHolderStyle,
  1865. },
  1866. ]
  1867. },
  1868. ]
  1869. };
  1870. this.roseEcharts.setOption(option)
  1871. // tools.loopShowTooltip(this.roseEcharts, option, {
  1872. // nterval: 2000,
  1873. // loopSeries: true,
  1874. // });
  1875. },
  1876. handleClick(from, type) {
  1877. this.handleMark()
  1878. this.from = from
  1879. this.type = type
  1880. let that = this;
  1881. if (from == "timeList1" && type == 1) {
  1882. that.markStyle = {
  1883. right: "1%",
  1884. bottom: "4%"
  1885. }
  1886. } else if (from == "timeList1" && type == 0) {
  1887. that.markStyle = {
  1888. right: "5%",
  1889. bottom: "4%"
  1890. }
  1891. } else if (from == "timeList2" && type == 0) {
  1892. that.markStyle = {
  1893. right: "87%",
  1894. bottom: "43%"
  1895. }
  1896. } else if (from == "timeList2" && type == 1) {
  1897. that.markStyle = {
  1898. right: "84%",
  1899. bottom: "43%"
  1900. }
  1901. }
  1902. this.showMark = true
  1903. this.showSelect = true
  1904. },
  1905. handleMark() {
  1906. this.showMark = false
  1907. this.showSelect = false
  1908. this.showMonth = false
  1909. },
  1910. handleOption(item) {
  1911. this[this.from][this.type] = item
  1912. this.handleMark()
  1913. },
  1914. handleMonthOption(item) {
  1915. this.monthItem = item
  1916. this.handleMark()
  1917. },
  1918. handleMonth() {
  1919. this.handleMark()
  1920. this.showMark = true
  1921. this.showMonth = true
  1922. },
  1923. ortherEcharts(el, data) {
  1924. this.vitaEcharts = echarts.init(el);
  1925. option = {
  1926. tooltip: {
  1927. show: true,
  1928. trigger: 'axis',
  1929. textStyle: {
  1930. fontSize: 30,
  1931. color: '#A3E2F4'
  1932. },
  1933. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  1934. type: 'none' // 默认为直线,可选为:'line' | 'shadow'
  1935. }
  1936. },
  1937. grid: {
  1938. top: '8%',
  1939. left: '1%',
  1940. right: '1%',
  1941. bottom: '8%',
  1942. containLabel: true,
  1943. },
  1944. xAxis: [{
  1945. type: 'category',
  1946. boundaryGap: false,
  1947. axisLine: { //坐标轴轴线相关设置。数学上的x轴
  1948. show: false,
  1949. lineStyle: {
  1950. color: '#233e64'
  1951. },
  1952. },
  1953. axisLabel: { //坐标轴刻度标签的相关设置
  1954. textStyle: {
  1955. color: '#fff',
  1956. fontSize: 26,
  1957. margin: 15,
  1958. },
  1959. },
  1960. axisTick: { show: false, },
  1961. data: ['6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7'],
  1962. }],
  1963. yAxis: [{
  1964. type: 'value',
  1965. min: 0,
  1966. max: 140,
  1967. splitLine: {
  1968. show: true,
  1969. lineStyle: {
  1970. color: '#233e64'
  1971. }
  1972. },
  1973. axisLine: { show: false, },
  1974. axisLabel: {
  1975. margin: 20,
  1976. textStyle: {
  1977. color: '#fff',
  1978. fontSize: 24,
  1979. },
  1980. },
  1981. axisTick: { show: false, },
  1982. }],
  1983. series: [{
  1984. name: '异常流量',
  1985. type: 'line',
  1986. smooth: true, //是否平滑曲线显示
  1987. symbol: 'circle', // 默认是空心圆(中间是白色的),改成实心圆
  1988. symbolSize: 0,
  1989. lineStyle: {
  1990. normal: {
  1991. color: "#3deaff" // 线条颜色
  1992. }
  1993. },
  1994. areaStyle: { //区域填充样式
  1995. normal: {
  1996. //线性渐变,前4个参数分别是x0,y0,x2,y2(范围0~1);相当于图形包围盒中的百分比。如果最后一个参数是‘true’,则该四个值是绝对像素位置。
  1997. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  1998. { offset: 0, color: 'rgba(61,234,255, 0.9)' },
  1999. { offset: 0.7, color: 'rgba(61,234,255, 0.1)' }
  2000. ], false),
  2001. shadowColor: 'rgba(53,142,215, 0.9)', //阴影颜色
  2002. shadowBlur: 20 //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
  2003. }
  2004. },
  2005. data: [90, 105, 84, 125, 110, 92, 98]
  2006. }]
  2007. };
  2008. this.vitaEcharts.setOption(option);
  2009. tools.loopShowTooltip(this.vitaEcharts, option, {
  2010. nterval: 2000,
  2011. loopSeries: true,
  2012. });
  2013. },
  2014. hanleIcon() {
  2015. this.vitaEcharts.dispose()
  2016. this.downholeFlag = !this.downholeFlag
  2017. if (this.downholeFlag) {
  2018. setTimeout(() => {
  2019. let vita = this.$refs.vita
  2020. this.initVitaEcharts(vita)
  2021. })
  2022. }
  2023. // if (this.echartsIndex == 1) {
  2024. // this.ortherEcharts(vita)
  2025. // this.echartsIndex = 2
  2026. // } else {
  2027. // this.echartsIndex = 1
  2028. // }
  2029. },
  2030. handleChangeType(type, index) {
  2031. let that = this;
  2032. if (type) {
  2033. that.rightTime && clearInterval(that.rightTime)
  2034. that.rightList.forEach(item => {
  2035. item.flag = false
  2036. })
  2037. that.rightList[index].flag = true
  2038. that.rightIndex = index
  2039. this.rightTime = setInterval(() => {
  2040. that.rightList.forEach((item, index) => {
  2041. item.flag = !item.flag
  2042. if (item.flag) {
  2043. that.rightIndex = index
  2044. }
  2045. })
  2046. }, 5000)
  2047. } else {
  2048. that.leftTime && clearInterval(that.leftTime)
  2049. that.leftList.forEach(item => {
  2050. item.flag = false
  2051. })
  2052. that.leftList[index].flag = true
  2053. that.leftIndex = index
  2054. if (index == 0) {
  2055. that.leftFlag = true
  2056. } else {
  2057. that.leftFlag = false
  2058. setTimeout(() => {
  2059. let leftChange = that.$refs.leftChange
  2060. that.initThreeBig(leftChange)
  2061. })
  2062. }
  2063. that.leftTime = setInterval(() => {
  2064. that.leftList.forEach((item, index) => {
  2065. item.flag = !item.flag
  2066. if (item.flag) {
  2067. if (index == 0) {
  2068. that.leftFlag = true
  2069. } else {
  2070. that.leftFlag = false
  2071. setTimeout(() => {
  2072. let leftChange = that.$refs.leftChange
  2073. that.initThreeBig(leftChange)
  2074. })
  2075. }
  2076. }
  2077. })
  2078. }, 5000)
  2079. }
  2080. },
  2081. getPlayers() {
  2082. let that = this;
  2083. let data = {};
  2084. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Players", data).then(res => {
  2085. if (res) {
  2086. that.mainList[1].value = res.value
  2087. }
  2088. })
  2089. },
  2090. getPostDetail() {
  2091. let that = this;
  2092. let data = {};
  2093. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/PostDetail", data).then(res => {
  2094. })
  2095. let res = {
  2096. data: [
  2097. [
  2098. "山西焦煤集团有限责任公司",
  2099. "事业部副总经理",
  2100. "1",
  2101. "6",
  2102. "2022.12.07",
  2103. "一、双选原则:\r\n无&二、双选对象:\r\n1.工作年限:不限,2.学历要求:不限,3.双选范围:不限.&三、双选人数:\r\n共计1人.&四、工作地点:&五、工作职责:\r\n1、统筹负责焦煤事业部的全面生产及经营等工作,重点保障公司冶金板块三个生产基地的焦煤供给;\n2、负责周边焦煤市场资源的开拓、整合与合作等工作;\n3、负责阿克苏周边地区煤矿资源的开发获取等;\n4、推进内部焦煤产品的市场化收益等工作。&六、双选条件:\r\n1、大专及以上学历,有焦煤行业全盘管理经验,熟悉焦煤市场运营,尤其熟悉新疆市场;\n2、有相关人员和企业的管理经验,具备一定的前瞻性规划及统筹能力;\n3、有0到1的从业经验,具备较强的整合能力,有较好的事业成就动机。&七、报名方式:八、双选流程:\r\n&九、有关说明:\r\n"
  2104. ],
  2105. [
  2106. "山西焦煤集团有限责任公司",
  2107. "营运部长",
  2108. "2",
  2109. "35",
  2110. "2022.11.25",
  2111. "一、双选原则:\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无"
  2112. ]
  2113. ]
  2114. }
  2115. let list = []
  2116. let a = []
  2117. res.data.forEach((item, index) => {
  2118. list.push([item[0], item[1], item[2], item[3], item[4]])
  2119. a[index] = []
  2120. item[5].split("&").forEach(i => {
  2121. let infos = i.split("\r\n")
  2122. let obj = {
  2123. title: infos[0],
  2124. content: infos[1]
  2125. }
  2126. a[index].push(obj)
  2127. })
  2128. })
  2129. that.recruitInfoList.push(...a)
  2130. },
  2131. getHalfYearDelivcv() {
  2132. let that = this;
  2133. let data = {};
  2134. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HalfYearDelivcv",data).then(res=>{
  2135. // console.log(res);
  2136. // })
  2137. let res = {
  2138. data: [
  2139. {
  2140. 2: 90
  2141. },
  2142. {
  2143. 3: 58
  2144. },
  2145. {
  2146. 4: 100
  2147. },
  2148. {
  2149. 5: 30
  2150. },
  2151. {
  2152. 6: 10
  2153. },
  2154. {
  2155. 7: 30
  2156. }
  2157. ]
  2158. }
  2159. let vita = this.$refs.vita
  2160. let nameList = [];
  2161. let valueList = [];
  2162. res.data.forEach(item => {
  2163. for (let k in item) {
  2164. nameList.push(k + "月")
  2165. valueList.push(item[k])
  2166. }
  2167. })
  2168. that.vitaData.x = nameList
  2169. that.vitaData.y = valueList
  2170. that.initVitaEcharts(vita)
  2171. },
  2172. getHotDelivcv() {
  2173. let that = this;
  2174. let data = {};
  2175. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/HotDelivcv",data).then(res => {})
  2176. let res = {
  2177. data: [
  2178. [
  2179. "山西焦煤集团有限责任公司",
  2180. "营运部长",
  2181. 35
  2182. ],
  2183. [
  2184. "山西焦煤集团有限责任公司",
  2185. "合同管理员",
  2186. 24
  2187. ],
  2188. [
  2189. "",
  2190. "java开发",
  2191. 7
  2192. ]
  2193. ]
  2194. }
  2195. that.typeList.data = res.data
  2196. },
  2197. arrToListArr() {
  2198. this.isChangeList = false
  2199. let arr = [
  2200. {
  2201. value: [
  2202. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
  2203. "http://localhost:8080/ierp/attachment/downloadImage/",
  2204. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg",
  2205. "http://localhost:8080/ierp/attachment/downloadImage/fe1bc8750ca94a95bf9c6a64579a7cca.jpg"
  2206. ],
  2207. key: "头像地址"
  2208. },
  2209. {
  2210. value: [
  2211. "胡军军",
  2212. "胡军军",
  2213. "胡军军",
  2214. "测试触发003"
  2215. ],
  2216. key: "姓名"
  2217. },
  2218. {
  2219. value: [
  2220. "java开发",
  2221. "java开发",
  2222. "java开发",
  2223. "123"
  2224. ],
  2225. key: "投递岗位"
  2226. },
  2227. {
  2228. value: [
  2229. "2022-10-19",
  2230. "2023-08-27",
  2231. "2023-08-27",
  2232. "2023-08-27"
  2233. ],
  2234. key: "申请时间"
  2235. }
  2236. ]
  2237. let that = this;
  2238. let data = {}
  2239. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/Delivcv", data).then(res => { })
  2240. let imageList = []
  2241. let nameList = []
  2242. let stationList = []
  2243. let timeList = []
  2244. let dataList = []
  2245. arr.forEach(item => {
  2246. if (item.key == "头像地址") {
  2247. imageList.push(...item.value)
  2248. }
  2249. if (item.key == "姓名") {
  2250. nameList.push(...item.value)
  2251. }
  2252. if (item.key == "投递岗位") {
  2253. stationList.push(...item.value)
  2254. }
  2255. if (item.key == "申请时间") {
  2256. timeList.push(...item.value)
  2257. }
  2258. })
  2259. nameList.forEach((item, index) => {
  2260. dataList.push(["<img class='list_img' src='" + imageList[index] + "' alt=''>", item, stationList[index], timeList[index]])
  2261. })
  2262. this.configMark.data = dataList
  2263. this.isChangeList = true
  2264. delete imageList
  2265. delete nameList
  2266. delete stationList
  2267. delete timeList
  2268. },
  2269. getDelivcvAndApply() {
  2270. let that = this;
  2271. let data = {
  2272. flag: true,
  2273. };
  2274. let pageBtm = this.$refs.pageBtm
  2275. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/DelivcvAndApply", data).then(res => {
  2276. if (res) {
  2277. res.data.forEach(item => {
  2278. if (item.key == "单位名称") {
  2279. admissionList.x = item.value
  2280. }
  2281. if (item.key == "双选人数") {
  2282. admissionList.y1 = item.value
  2283. }
  2284. if (item.key == "报名人数") {
  2285. admissionList.y2 = item.value
  2286. }
  2287. if (item.key == "录用人数") {
  2288. admissionList.y3 = item.value
  2289. }
  2290. })
  2291. }
  2292. this.initDownholeEcharts(pageBtm, { x: admissionList.x, y1: admissionList.y1, y2: admissionList.y2, y3: admissionList.y3 })
  2293. })
  2294. },
  2295. getreviewarrange(res = {
  2296. mianshi: [
  2297. ["焦煤", "李大哥", "301", "2", "2023-08-31 10:40:55.0"]
  2298. ],
  2299. bishi: [
  2300. ["焦煤", "李大哥", "301", "2", "2023-08-31 10:40:55.0"]
  2301. ],
  2302. }) {
  2303. let that = this;
  2304. let data = {
  2305. flag: true
  2306. };
  2307. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getreviewarrange", data).then(res => {
  2308. if (res) {
  2309. that.isRendering(res.mianshi, "interviewIndex", "configInterview", "showInterview")
  2310. that.isRendering(res.bishi, "examinationIndex", "configWritten", "showExamination")
  2311. }
  2312. // })
  2313. },
  2314. isRendering(data, type, key, flag) {
  2315. let that = this;
  2316. if (that[type] == 0) {
  2317. that[key].data = data
  2318. setTimeout(() => {
  2319. that[flag] = true
  2320. }, 10)
  2321. that[type] = 1
  2322. } else {
  2323. if (data[0][1] != that[key].data[0][1] || data[0][2] != that[key].data[0][2] || data[0][3] != that[key].data[0][3]) {
  2324. that[flag] = false
  2325. that[key].data = data
  2326. setTimeout(() => {
  2327. that[flag] = true
  2328. }, 10)
  2329. }
  2330. }
  2331. },
  2332. getRecruitType() {
  2333. let that = this;
  2334. let data = {
  2335. flag: true
  2336. }
  2337. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/RecruitType",data).then(res => {
  2338. // console.log(res);
  2339. // })
  2340. },
  2341. getFailReason() {
  2342. let that = this;
  2343. let data = {
  2344. flag: false
  2345. };
  2346. let res = {
  2347. data: [
  2348. [
  2349. {
  2350. value: "信息有误",
  2351. key: "不通过原因"
  2352. },
  2353. {
  2354. value: 5200,
  2355. key: "不通过数量"
  2356. },
  2357. {
  2358. value: "0.00%",
  2359. key: "百分比"
  2360. }
  2361. ],
  2362. [
  2363. {
  2364. value: "出勤不足",
  2365. key: "不通过原因"
  2366. },
  2367. {
  2368. value: 2900,
  2369. key: "不通过数量"
  2370. },
  2371. {
  2372. value: "0.00%",
  2373. key: "百分比"
  2374. }
  2375. ],
  2376. [
  2377. {
  2378. value: "工作年限不符",
  2379. key: "不通过原因"
  2380. },
  2381. {
  2382. value: 2500,
  2383. key: "不通过数量"
  2384. },
  2385. {
  2386. value: "0.00%",
  2387. key: "百分比"
  2388. }
  2389. ],
  2390. [
  2391. {
  2392. value: "信息不完整",
  2393. key: "不通过原因"
  2394. },
  2395. {
  2396. value: 1200,
  2397. key: "不通过数量"
  2398. },
  2399. {
  2400. value: "0.00%",
  2401. key: "百分比"
  2402. }
  2403. ],
  2404. [
  2405. {
  2406. value: "任职条件不符",
  2407. key: "不通过原因"
  2408. },
  2409. {
  2410. value: 600,
  2411. key: "不通过数量"
  2412. },
  2413. {
  2414. value: "0.00%",
  2415. key: "百分比"
  2416. }
  2417. ]
  2418. ]
  2419. }
  2420. let dataList = []
  2421. let total = 0
  2422. res.data.forEach((item, index) => {
  2423. // that.leftErrorList[index] = item[]
  2424. item.forEach(i => {
  2425. let obj = {}
  2426. if (i.key == "不通过原因") {
  2427. that.leftErrorList[index] = i.value
  2428. }
  2429. if (i.key == "不通过数量") {
  2430. obj.value = i.value
  2431. dataList[index] = obj
  2432. }
  2433. })
  2434. })
  2435. dataList.forEach(item => {
  2436. total = total + item.value
  2437. })
  2438. // leftErrorList:["信息不完整","信息有误","任职条件不符","出勤不足","工作年限不符"]
  2439. let rightOne = this.$refs.rightOne
  2440. this.initLineRight(rightOne, { value: dataList[0].value, total })
  2441. let rightTwo = this.$refs.rightTwo
  2442. this.initLineRight(rightTwo, { value: dataList[1].value, total })
  2443. let rightThree = this.$refs.rightThree
  2444. this.initLineRight(rightThree, { value: dataList[2].value, total })
  2445. let rightFour = this.$refs.rightFour
  2446. this.initLineRight(rightFour, { value: dataList[3].value, total })
  2447. let rightFive = this.$refs.rightFive
  2448. this.initLineRight(rightFive, { value: dataList[4].value, total })
  2449. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/FailReason",data).then(res => {
  2450. // console.log(res);
  2451. // })
  2452. },
  2453. getQualAudits() {
  2454. let that = this;
  2455. let data = {
  2456. flag: true
  2457. };
  2458. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/QualAudits", data).then(res => { })
  2459. let res = {
  2460. data: [
  2461. {
  2462. value: 6,
  2463. key: "当前总人数"
  2464. },
  2465. {
  2466. value: 1,
  2467. key: "通过总人数"
  2468. },
  2469. {
  2470. value: "17.00%",
  2471. key: "当前通过率"
  2472. }
  2473. ]
  2474. }
  2475. res.data.forEach(item => {
  2476. if (item.key == "当前总人数") {
  2477. that.rightList[0].num1 = item.value
  2478. }
  2479. if (item.key == "通过总人数") {
  2480. that.rightList[0].num2 = item.value
  2481. }
  2482. if (item.key == "当前通过率") {
  2483. that.rightList[0].num3 = item.value
  2484. }
  2485. })
  2486. // rightList: [{
  2487. // name: "当前数",
  2488. // flag: true,
  2489. // num1: 100,
  2490. // num2: 60,
  2491. // num3: 60,
  2492. // }, {
  2493. // name: "累计数",
  2494. // flag: false,
  2495. // num1: 500,
  2496. // num2: 400,
  2497. // num3: 80,
  2498. // }],
  2499. },
  2500. getNoticePerson(name = "张三") {
  2501. let that = this;
  2502. that.employmentList1.data = []
  2503. that.employmentList2.data = []
  2504. this.isShowList = false
  2505. let data = {
  2506. flag: true
  2507. }
  2508. // fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getNoticePerson", data).then(res => {
  2509. // })
  2510. let res = {
  2511. data: [{
  2512. "sex": "男",
  2513. "name": name,
  2514. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2515. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2516. }, {
  2517. "sex": "男",
  2518. "name": name,
  2519. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2520. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2521. }, {
  2522. "sex": "男",
  2523. "name": name,
  2524. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2525. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2526. }, {
  2527. "sex": "男",
  2528. "name": name,
  2529. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2530. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2531. }, {
  2532. "sex": "男",
  2533. "name": name,
  2534. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2535. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2536. }, {
  2537. "sex": "男",
  2538. "name": name,
  2539. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2540. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2541. }, {
  2542. "sex": "男",
  2543. "name": name,
  2544. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2545. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2546. }, {
  2547. "sex": "男",
  2548. "name": name,
  2549. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2550. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2551. }, {
  2552. "sex": "男",
  2553. "name": name,
  2554. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2555. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2556. }, {
  2557. "sex": "男",
  2558. "name": name,
  2559. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2560. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2561. }, {
  2562. "sex": "男",
  2563. "name": name,
  2564. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2565. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2566. }, {
  2567. "sex": "男",
  2568. "name": name,
  2569. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2570. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2571. }, {
  2572. "sex": "男",
  2573. "name": name,
  2574. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2575. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2576. }, {
  2577. "sex": "男",
  2578. "name": name,
  2579. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2580. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2581. }, {
  2582. "sex": "男",
  2583. "name": name,
  2584. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2585. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2586. }, {
  2587. "sex": "男",
  2588. "name": name,
  2589. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2590. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2591. }, {
  2592. "sex": "男",
  2593. "name": name,
  2594. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2595. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2596. }, {
  2597. "sex": "男",
  2598. "name": name,
  2599. "org1": "山西焦煤西山煤电杜儿坪矿井下操作工双选公示",
  2600. "cardno": "16666XXXXXXXXXXXXXXXXXXXXX99"
  2601. }]
  2602. }
  2603. let listData = []
  2604. res.data.forEach((item, index) => {
  2605. let list = []
  2606. if (index <= 8) {
  2607. list.push('0' + (index + 1), item.name, item.sex, item.cardno, item.org1)
  2608. } else {
  2609. list.push((index + 1).toString(), item.name, item.sex, item.cardno, item.org1)
  2610. }
  2611. listData.push(list)
  2612. })
  2613. if (listData.length % 2 != 0) {
  2614. listData.push([])
  2615. }
  2616. listData.forEach((item, index) => {
  2617. if (index % 2 == 0) {
  2618. that.employmentList1.data.push(item)
  2619. } else {
  2620. that.employmentList2.data.push(item)
  2621. }
  2622. })
  2623. // console.log(that.employmentList1.data);
  2624. setTimeout(() => {
  2625. that.isShowList = true
  2626. }, 10)
  2627. },
  2628. scrollChangeList(index) {
  2629. let that = this;
  2630. // setTimeout(() => {
  2631. // if (index + 5 == that.employmentList1.data.length) {
  2632. // that.isListEnd = that.isListEnd + 1
  2633. // if (that.isListEnd == 2) {
  2634. // that.isListEnd = 0
  2635. // that.isShowList = false
  2636. // that.employmentList1.data = []
  2637. // that.employmentList2.data = []
  2638. // that.noticeIndex = that.noticeIndex + 1
  2639. // if(that.noticeIndex > that.noticeList.length - 1){
  2640. // that.noticeIndex = 0
  2641. // }
  2642. // that.getNoticePerson("李四是五")
  2643. // setTimeout(() => {
  2644. // that.isShowList = true
  2645. // }, 10)
  2646. // }
  2647. // }
  2648. // }, 1700)
  2649. // if (index == 0) {
  2650. // console.log("index == 0");
  2651. // }
  2652. // if (index == that.employmentList1.data.length - 1) {
  2653. // }
  2654. },
  2655. getNotice() {
  2656. let that = this;
  2657. let data = {
  2658. flag: true
  2659. };
  2660. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/getNotice",data).then(res => {})
  2661. let res = {
  2662. data: [{
  2663. mdnb_noticecontent: "   根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
  2664. title: "山西焦煤西山煤电杜儿坪矿井下操作工招聘公示",
  2665. billno: "000001"
  2666. }, {
  2667. mdnb_noticecontent: "   根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
  2668. title: "山西焦煤西山煤电杜坪矿井下操作工招聘公示",
  2669. billno: "000002"
  2670. }, {
  2671. mdnb_noticecontent: "   根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
  2672. title: "山西焦煤西山煤电杜儿矿井下操作工招聘公示",
  2673. billno: "000003"
  2674. }, {
  2675. mdnb_noticecontent: "   根据相关要求,经过网上报名、资格审查、笔试、面试等程序,现将拟录用人员名单予以公示。公示时间为2023年09月14日至2023年09月14日 ((1个工作日)),\n如对双选结果有异议,可在公示期内通过电话形式反馈情况。 \n 受理电话: 0351-8305606 0351-8305171\n",
  2676. title: "山西焦煤西山煤电儿坪矿井下操作工招聘公示",
  2677. billno: "000004"
  2678. }]
  2679. }
  2680. that.noticeList = res.data
  2681. },
  2682. getDoubleChoice(){
  2683. let that = this;
  2684. let data = {
  2685. flag: true
  2686. }
  2687. fetchPostMethods("/ierp/kapi/v2/mdnb/mdnb_control/DoubleChoice",data).then(res=>{
  2688. console.log(res);
  2689. })
  2690. }
  2691. },
  2692. })