humanResources.js 106 KB

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