1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812 |
- <template>
- <div class="out">
- <div class="title">
- <div class="title-left" @click="titlefun">
- <img src="../../assets/images/返回icon.png" alt />
- <span>主控台</span>
- </div>
- <div class="title-right">
- <span>{{ times }}</span>
- </div>
- </div>
- <div class="main">
- <div class="left">
- <div class="left1">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>今日值班</span>
- </div>
- <div class="left1-wrap">
- <div
- class="left1-wrap-item"
- v-for="(item, index) in jrzblist"
- :key="index"
- >
- <span>{{ item.name }}:</span>
- <b v-if="item.value ? true : false">{{ item.value }}</b>
- <b v-if="!item.value ? true : false">无</b>
- </div>
- </div>
- </div>
- <div class="left2">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left2-1">
- <div class="left1-head">
- <span>装备值班情况</span>
- </div>
- <div class="left2-1-main">
- <div class="left2_d">
- 总计
- <span>6</span>
- </div>
- <div class="left2_d">
- 试验
- <span>9</span>
- </div>
- <div class="left2_d">
- 通用
- <span>12</span>
- </div>
- </div>
- </div>
- <div class="left2-2">
- <div class="left1-head">
- <span>军事训练月统计情况</span>
- </div>
- <div class="left2-2-main">
- <div class="left2-2-main-title">
- <div class="center4_l-1" style="margin-left: 2%">
- <div
- style="background-color: #1d79b5; width: 5px; height: 9px"
- ></div>
- <span style="line-height: 15px">参训时</span>间
- </div>
- <div class="center4_l-1">
- <div
- style="background-color: #1d79b5; width: 5px; height: 9px"
- ></div>
- 兵力
- </div>
- <div class="center4_l-1" style="margin-right: 2%">
- <div
- style="background-color: #1d79b5; width: 5px; height: 9px"
- ></div>
- 成绩
- </div>
- </div>
- <div class="left2-2-main-main">
- <table class="time">
- <tr
- style="font-size: 12px; color: #30fdff; font-weight: bold"
- >
- <td>训练类别</td>
- <td>人均参训时间</td>
- </tr>
- <tr>
- <td>合成训练</td>
- <td>30小时</td>
- </tr>
- <tr>
- <td>专业训练</td>
- <td>50小时</td>
- </tr>
- <tr>
- <td>共同训练</td>
- <td>45小时</td>
- </tr>
- </table>
- <table class="people">
- <tr>
- <td>实有人数</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 547
- </td>
- </tr>
- <tr>
- <td>参训人数</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 492
- </td>
- </tr>
- <tr>
- <td>
- <p
- style="
- font-size: 9px;
- color: white;
- text-align: center;
- transform: scale(0.9);
- "
- >
- 未参训人数
- </p>
- </td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 115
- </td>
- </tr>
- <tr>
- <td>参训率</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 90%
- </td>
- </tr>
- </table>
- <table class="grade">
- <tr>
- <td>考核人次</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 547
- </td>
- </tr>
- <tr>
- <td>优良</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 247
- </td>
- </tr>
- <tr>
- <td>及格</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 195
- </td>
- </tr>
- <tr>
- <td>未及格</td>
- <td
- style="
- font-family: 'IMPACT';
- color: #30fdff;
- font-size: 20px;
- "
- >
- 5
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="left3">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>车辆在位情况</span>
- </div>
- <div class="left3-main">
- <div class="center4_l" style="margin-left: 2%">
- <div
- style="background-color: #1d79b5; width: 5px; height: 9px"
- ></div>
- 军车管理
- </div>
- <div class="center4_l" style="margin-left: 9.5%">
- <div
- style="background-color: #1d79b5; width: 5px; height: 9px"
- ></div>
- 私家车管理
- </div>
- <div class="center4_b">
- 总计
- <span style="color: #30fdff">{{ jclist.zongji }}</span>
- </div>
- <div class="center4_b">
- 在位
- <span style="color: #fde17b">{{ jclist.waichu }}</span>
- </div>
- <div class="center4_b">
- 外出
- <span style="color: #f0422a">{{ jclist.zaiwei }}</span>
- </div>
- <table class="center4_s">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/cheliangz.png" alt />
- </td>
- <td
- style="color: #30fdff; font-family: 'IMPACT'; font-size: 22px"
- >
- 0
- </td>
- </tr>
- <tr>
- <td style="font-size: 15px; color: white">车辆统计</td>
- </tr>
- </table>
- <table class="center4_s" style="margin-top: 1.3%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/cheliangz.png" alt />
- </td>
- <td
- style="color: #30fdff; font-family: 'IMPACT'; font-size: 22px"
- >
- 0
- </td>
- </tr>
- <tr>
- <td style="font-size: 15px; color: white">车辆在位</td>
- </tr>
- </table>
- <table class="center4_s" style="margin-top: 1.3%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/cheliangz.png" alt />
- </td>
- <td
- style="color: #30fdff; font-family: 'IMPACT'; font-size: 22px"
- >
- 1
- </td>
- </tr>
- <tr>
- <td style="font-size: 15px; color: white">车辆出场</td>
- </tr>
- </table>
- <table class="center4_y" style="margin-top: 1.5%">
- <tr>
- <td>
- <img src="../../assets/images/cheliangq.png" alt />
- </td>
- <td
- style="font-family: 'IMPACT'; font-size: 22px; color: #b4372a"
- >
- 1
- </td>
- </tr>
- <tr>
- <td colspan="2" style="letter-spacing: 7px">夜间进入</td>
- </tr>
- </table>
- <table class="center4_y center4_y2" style="margin-top: 1.5%">
- <tr>
- <td>
- <img src="../../assets/images/cheliangq.png" alt />
- </td>
- <td
- style="font-family: 'IMPACT'; font-size: 22px; color: #b4372a"
- >
- 1
- </td>
- </tr>
- <tr>
- <td colspan="2" style="letter-spacing: 7px">外来车辆</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div class="center">
- <div class="center1">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>大队人员在位情况</span>
- </div>
- <div class="center1-t">
- <div
- style="height: 0px; display: flex; width: 90%; margin: 0 auto"
- id="center1"
- >
- <table class="center1_d">
- <tr>
- <td></td>
- <td style="padding-left: 7px; padding-bottom: 5px">
- 在位总数
- </td>
- </tr>
- <tr>
- <td>
- <img src="../../assets/images/zong.png" alt />
- </td>
- <td>
- <div
- v-for="(item, index) in zwlist.zaiweizongshu"
- :key="index"
- >
- {{ item }}
- </div>
- </td>
- </tr>
- </table>
- <table class="center1_d">
- <tr>
- <td></td>
- <td style="padding-left: 7px; padding-bottom: 5px">
- 纳编在位
- </td>
- </tr>
- <tr>
- <td>
- <img src="../../assets/images/zaiwei.png" alt />
- </td>
- <td>
- <div
- v-for="(item, index) in zwlist.nabianzaiwei"
- :key="index"
- >
- {{ item }}
- </div>
- </td>
- </tr>
- </table>
- <table class="center1_d">
- <tr>
- <td></td>
- <td style="padding-left: 7px; padding-bottom: 5px">
- 纳编外出
- </td>
- </tr>
- <tr>
- <td>
- <img src="../../assets/images/waichu.png" alt />
- </td>
- <td>
- <div
- v-for="(item, index) in zwlist.nabianwaichu"
- :key="index"
- >
- {{ item }}
- </div>
- </td>
- </tr>
- </table>
- <table class="center1_d">
- <tr>
- <td></td>
- <td style="padding-left: 7px; padding-bottom: 5px">
- 未纳编在位
- </td>
- </tr>
- <tr>
- <td>
- <img src="../../assets/images/zaiwei.png" alt />
- </td>
- <td>
- <div
- v-for="(item, index) in zwlist.weinabianzaiwei"
- :key="index"
- >
- {{ item }}
- </div>
- </td>
- </tr>
- </table>
- <table class="center1_d">
- <tr>
- <td></td>
- <td style="padding-left: 7px; padding-bottom: 5px">
- 未纳编外出
- </td>
- </tr>
- <tr>
- <td>
- <img src="../../assets/images/waichu.png" alt />
- </td>
- <td>
- <div
- v-for="(item, index) in zwlist.weinabianwaichu"
- :key="index"
- >
- {{ item }}
- </div>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="center1-c">
- <div class="center2">
- <div class="left1-head">
- <span>各单位人员在位情况</span>
- </div>
- <div id="center2_d"></div>
- </div>
- <div class="center3">
- <div class="left1-head">
- <span>外出人员对比</span>
- </div>
- <div id="center3_d"></div>
- </div>
- </div>
- <div class="center4">
- <div class="left1-head">
- <span style="margin-left: 55px">人员请销假</span>
- </div>
- <div id="center4_d">
- <div class="right2_d" style="margin-left: 3%">
- 今日迟到
- <span>0</span>
- </div>
- <div class="right2_d">
- 本月迟到
- <span>0</span>
- </div>
- <div class="right2_d">
- 今日应归队
- <span>{{qjlist.yingGuiDui}}</span>
- </div>
- <div class="right2_b">
- 超时归队
- <span>{{qjlist.chaoShi}}</span>
- </div>
- <div class="right2_b">
- 未归队
- <span>{{qjlist.weiGui}}</span>
- </div>
- </div>
- </div>
- </div>
- <div class="center-a">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>检查督导统计</span>
- </div>
- <div id="center-a-main"></div>
- </div>
- <div class="center-b">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="center-b-l">
- <div class="left1-head">
- <span>营房统计</span>
- </div>
- <div id="center-b-l-main">
- <table class="center4_d-1" style="margin-top: 6%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/yinfangz.png" alt />
- </td>
- <td
- style="
- color: #30fdff;
- font-family: 'IMPACT';
- font-size: 28px;
- "
- ></td>
- </tr>
- <tr>
- <td
- style="
- font-family: 'IMPACT';
- font-size: 2rem;
- color: #30fdff;
- display: block;
- "
- >
- 56
- </td>
- <td style="font-size: 20px; color: white; display: block">
- 营房统计
- </td>
- </tr>
- </table>
- <table class="center4_d-1" style="margin-top: 6%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/yinfangs.png" alt />
- </td>
- <td
- style="
- color: #30fdff;
- font-family: 'IMPACT';
- font-size: 28px;
- "
- ></td>
- </tr>
- <tr>
- <td
- style="
- font-family: 'IMPACT';
- font-size: 2rem;
- color: #e6923e;
- display: block;
- "
- >
- 56
- </td>
- <td style="font-size: 20px; color: white; display: block">
- 营房使用
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="center-b-r">
- <div class="left1-head">
- <span>营具统计</span>
- </div>
- <div id="center-b-r-main">
- <table class="center4_d-1" style="margin-top: 6%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/yinjuz.png" alt />
- </td>
- <td
- style="
- color: #e6923e;
- font-family: 'IMPACT';
- font-size: 22px;
- "
- ></td>
- </tr>
- <tr>
- <td
- style="
- font-family: 'IMPACT';
- font-size: 2rem;
- color: #30fdff;
- display: block;
- "
- >
- {{ yingjulist.total }}
- </td>
- <td style="font-size: 20px; color: white; display: block">
- 营具统计
- </td>
- </tr>
- </table>
- <table class="center4_d-1" style="margin-top: 6%">
- <tr>
- <td rowspan="2">
- <img src="../../assets/images/yinjus.png" alt />
- </td>
- <td
- style="
- color: #e6923e;
- font-family: 'IMPACT';
- font-size: 28px;
- "
- ></td>
- </tr>
- <tr>
- <td
- style="
- font-family: 'IMPACT';
- font-size: 2rem;
- color: #e6923e;
- display: block;
- "
- >
- {{ yingjulist.putout }}
- </td>
- <td style="font-size: 20px; color: white; display: block">
- 营具使用
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="right">
- <div class="right1">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>登记落实</span>
- </div>
- <div
- style="
- color: #fff;
- font-size: 12px;
- display: flex;
- position: absolute;
- right: 10px;
- top: 10px;
- "
- >
- <span
- style="
- width: 5px;
- height: 10px;
- background-color: #f56c6c;
- display: inline-block;
- margin-right: 5px;
- margin-top: 3.5px;
- "
- ></span
- >未登记
- <span
- style="
- width: 5px;
- height: 10px;
- background-color: #67c23a;
- display: inline-block;
- margin-right: 5px;
- margin-left: 10px;
- margin-top: 3.5px;
- "
- ></span
- >已登记
- </div>
- <div class="right1-main">
- <div class="right1-main-title">
- <p>
- <span style="width:32%;">落实单位</span>
- <span>要事日记</span>
- <span>值班登记</span>
- <span>工作安排</span>
- <span>查铺查岗</span>
- </p>
- </div>
- <vueSeamlessScroll
- :data="djlslist"
- class="seamless-warp"
- :class-option="defaultOption"
- >
- <div
- class="right1-main-box"
- v-for="(item, index) in djlslist"
- :key="index"
- >
- <span style="color: #fff; font-size: 12px;width:32%;">
- {{ item.unitname }}
- </span>
- <span>
- <svg
- t="1638612550724"
- class="icon2"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.yaoshidengji == 1"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#d03c2a"
- />
- </svg>
- <svg
- t="1638612550724"
- class="icon3"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.yaoshidengji == 0"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#67c23a"
- />
- </svg>
- </span>
- <span>
- <svg
- t="1638612550724"
- class="icon2"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.daduizhiban == 1"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#d03c2a"
- />
- </svg>
- <svg
- t="1638612550724"
- class="icon3"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.daduizhiban == 0"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#67c23a"
- />
- </svg>
- </span>
- <span>
- <svg
- t="1638612550724"
- class="icon2"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.gongzuoanpai == 1"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#d03c2a"
- />
- </svg>
- <svg
- t="1638612550724"
- class="icon3"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.gongzuoanpai == 0"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#67c23a"
- />
- </svg>
- </span>
- <span>
- <svg
- t="1638612550724"
- class="icon2"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.chagangchashao == 1"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#d03c2a"
- />
- </svg>
- <svg
- t="1638612550724"
- class="icon3"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="3323"
- width="20"
- height="10"
- v-if="item.unitvalue.chagangchashao == 0"
- >
- <path
- d="M920 789H104l-40-40V275l40-40h816l40 40v474l-40 40z"
- p-id="3324"
- fill="#67c23a"
- />
- </svg>
- </span>
- </div>
- </vueSeamlessScroll>
- </div>
- </div>
- <div class="right2">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="left1-head">
- <span>防疫物资储备情况</span>
- </div>
- <!-- <div class="right2-main">
- <dv-scroll-board
- style="width: 99%; margin-left: 0.5%; font-size: 12px"
- :config="config"
- ref="scrollBoard"
- />
- </div> -->
- <div class="right1-main">
- <div class="right2-main-title">
- <p>
- <span>序号</span>
- <span>防疫名称</span>
- <span>防疫数量</span>
- </p>
- </div>
- <vueSeamlessScroll
- :data="fylist"
- class="seamless-warp"
- :class-option="defaultOption2"
- >
- <div
- class="right2-main-box"
- v-for="(item, index) in fylist"
- :key="index"
- >
- <span style="color: #fff; font-size: 12px;">
- {{ index }}
- </span>
- <span>{{item.durgName}}</span>
- <span>{{item.amount}}</span>
-
- </div>
- </vueSeamlessScroll>
- </div>
- </div>
- <div class="right3">
- <img src="../../assets/images/右上角.png" alt class="left1-jrt" />
- <img src="../../assets/images/右下角.png" alt class="left1-jrb" />
- <img src="../../assets/images/左上角.png" alt class="left1-jlt" />
- <img src="../../assets/images/左下角.png" alt class="left1-jlb" />
- <div class="right3-l">
- <div class="left1-head2">
- <span>集中文印</span>
- </div>
- <div class="right3-l-main">
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/打印icon.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">总打印数量</div>
- <div class="s2">
- <b style="color: #30fdff">{{ this.wylist.mouthprints }}</b
- >份
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/归还2.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">归还数量</div>
- <div class="s2">
- <b style="color: #2bf1b2">{{ this.wylist[1] }}</b
- >份
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/归还3.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">未归还数量</div>
- <div class="s2">
- <b style="color: #ff5a5a">{{ this.wylist[0] }}</b
- >份
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/归还4.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">无需归还数量</div>
- <div class="s2">
- <b style="color: #738c97">{{ this.wylist.notreturns }}</b
- >份
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="right3-r">
- <div class="left1-head2">
- <span>涉密载体外借统计</span>
- </div>
- <div id="right3-r-main">
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/移动载体icon.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">移动载体</div>
- <div class="s2">
- <b style="color: #30fdff">{{ smztlist[3] }}</b
- >台
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/手机icon.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">手机</div>
- <div class="s2">
- <b style="color: #2bf1b2">{{ smztlist[0] }}</b
- >台
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/电脑icon.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">电脑</div>
- <div class="s2">
- <b style="color: #30aaff">{{ smztlist[1] }}</b
- >台
- </div>
- </div>
- </div>
- <div class="right3-r-main-item">
- <div class="right3-r-main-item-l">
- <img src=".././../assets/images/相机icon.png" alt />
- </div>
- <div class="right3-r-main-item-r">
- <div class="s1">相机</div>
- <div class="s2">
- <b style="color: #9d83ff">{{ smztlist[2] }}</b
- >台
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import {
- zaiweipeople,
- gedanweizaiweiqingkaung,
- waichurenyuanzhanbi,
- jinrizhiban,
- tongjiluoshi,
- rizongwenyin,
- getNumber,
- juncheguanli,
- getJieCha,
- getantiepidemic,
- antiepidemicArchivesList,
- getLeavlNumber
- } from "@/api/taishi/taishi";
- import * as echarts from "echarts";
- import vueSeamlessScroll from "vue-seamless-scroll";
- import Cookies from "js-cookie";
- export default {
- name: "TaiShi",
- data() {
- return {
- n: 8,
- //大队人员在位数据
- zwlist: [],
- //各单位在位情况
- zwqklist: [],
- //今日值班
- jrzblist: [],
- //登记落实
- djlslist: [],
- jclist: [],
- //营具
- yingjulist: [],
- //请假
- qjlist:[],
- //防疫
- fylist:[],
- //定时器
- timer: null,
- //外出人员占比
- wclist: [],
- wylist: [],
- smztlist: [],
- config: {
- header: ["防疫名称", "现有数量"],
- data: [],
- index: true,
- columnWidth: [],
- align: ["center", "center", "center", "center"],
- headerBGC: "",
- indexHeader: "序号",
- oddRowBGC: "",
- evenRowBGC: "",
- columnWidth: [100, 200, 200, 100]
- },
- config2: {
- header: ["人员", "份数", "日期"],
- data: [
- ["行1列1", "行1列2", "行1列3"],
- ["行2列1", "行2列2", "行2列3"],
- ["行3列1", "行3列2", "行3列3"],
- ["行4列1", "行4列2", "行4列3"],
- ["行5列1", "行5列2", "行5列3"],
- ["行6列1", "行6列2", "行6列3"],
- ["行7列1", "行7列2", "行7列3"],
- ["行8列1", "行8列2", "行8列3"],
- ["行9列1", "行9列2", "行9列3"],
- ["行10列1", "行10列2", "行10列3"]
- ],
- index: false,
- columnWidth: [],
- align: ["center", "center", "center"],
- headerBGC: "",
- indexHeader: "序号",
- oddRowBGC: "",
- evenRowBGC: ""
- },
- listdata: [
- { name: "发射一营", a: 0, b: 1, c: 1, d: 0 },
- { name: "发射二营", a: 0, b: 1, c: 1, d: 0 },
- { name: "发射三营", a: 0, b: 1, c: 1, d: 0 },
- { name: "发射四营", a: 0, b: 1, c: 1, d: 0 }
- ],
- timer2: null,
- times: null,
- jrzblist: [
- { name: "值班首长", value: "" },
- { name: "作战值班员", value: "" },
- { name: "通信值班员", value: "" },
- { name: "机要值班员", value: "" },
- { name: "政治工作部值班员", value: "" },
- { name: "保障部值班员", value: "" },
- { name: "值班通信员", value: "" },
- { name: "值班分队", value: "" }
- ],
- // 检查督导
- jianCanName: [],
- jianCanScore: []
- };
- },
- created() {
- // if (Cookies.get("shuaxin") != "true") {
- // window.location.reload();
- // }
- // Cookies.set("shuaxin", "true");
- //大队人员在位数据
- zaiweipeople().then(res => {
- if (res.code == 200) {
- // this.zwlist = res.data[0];
- let arr = res.data[0];
- for (var i in arr) {
- this.zsz(arr, i);
- }
- }
- });
- //今日值班
- jinrizhiban().then(res => {
- if (res.data != null) {
- this.jrzblist = [];
- for (var i in res.data) {
- if (i == "chiefDutyName") {
- this.jrzblist.push({ name: "值班首长", value: res.data[i] });
- } else if (i == "combatDutyName") {
- this.jrzblist.push({ name: "作战值班员", value: res.data[i] });
- } else if (i == "dutyOffierName") {
- this.jrzblist.push({ name: "通信值班员", value: res.data[i] });
- } else if (i == "confidentialName") {
- this.jrzblist.push({ name: "机要值班员", value: res.data[i] });
- } else if (i == "politicalName") {
- this.jrzblist.push({
- name: "政治工作部值班员",
- value: res.data[i]
- });
- } else if (i == "guaranteeName") {
- this.jrzblist.push({
- name: "保障部值班员",
- value: res.data[i]
- });
- } else if (i == "messengerName") {
- this.jrzblist.push({
- name: "值班通信员",
- value: res.data[i]
- });
- } else if (i == "detachmentName") {
- this.jrzblist.push({ name: "值班分队", value: res.data[i] });
- }
- }
- }
- });
- //登记落实
- tongjiluoshi().then(res => {
- this.djlslist = res.data;
- });
- //集中文印
- rizongwenyin().then(res => {
- // console.log(res.data[0])
- this.wylist = res.data;
- if(this.wylist[1]){
- console.log(this.wylist[1])
- }else{
- this.wylist[1]=0
- }
- if(this.wylist[0]){
- console.log(this.wylist[0])
- }else{
- this.wylist[0]=0
- }
- // console.log(this.wylist)
- });
- //军车
- juncheguanli().then(res => {
- // console.log(res)
- this.jclist = res.data;
- });
- //涉密移动载体
- getNumber().then(res => {
- // console.log(res.data[0])
- this.smztlist = res.data;
- });
- //营具
- getantiepidemic().then(res => {
- this.yingjulist = res.data;
- });
- //防疫
- antiepidemicArchivesList().then(res => {
- this.fylist=res.data;
- });
- //人员请销假
- getLeavlNumber().then(res=>{
- console.log(res)
- this.qjlist=res.data;
- })
- this.startTime();
- },
- mounted() {
- this.$forceUpdate();
- //各单位在位情况
- gedanweizaiweiqingkaung().then(res => {
- if (res.code == 200) {
- this.zwqklist = res.data;
- this.center2();
- }
- });
- //外出人员占比
- waichurenyuanzhanbi().then(res => {
- this.wclist = res.data;
- this.center3();
- });
- this.center4();
- },
- methods: {
- titlefun() {
- this.$router.push({ path: "/pt" }).catch(() => {});
- },
- zsz(obj, n) {
- var s = (obj[n] + "").split("");
- if (s.length == 1) {
- s.unshift(0, 0);
- } else if (s.length == 2) {
- s.unshift(0);
- }
- this.zwlist[n] = s;
- },
- center2() {
- let myChartv = echarts.init(
- document.getElementById("center2_d"),
- "vintage"
- );
- var s = 4;
- var z = 0;
- var className = [];
- var datav = [];
- this.zwqklist.map(item => {
- for (var i in item) {
- className.push(i);
- datav.push(item[i]);
- }
- });
- function c() {
- if (s == datav.length - 1) {
- s = 4;
- z = 0;
- } else {
- s += 1;
- z += 1;
- }
- var data2 = datav.slice(z, s + 1);
- // console.log(datav,data2,className)
- const colorList9 = [
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF",
- "#39B3FF"
- ];
- const option4 = {
- dataZoom: [
- //给x轴设置滚动条
- {
- type: "slider",
- width: 10,
- // handleHeight:'30%',
- show: true,
- yAxisIndex: [0],
- showDetail: false,
- left: "95%",
- handleColor: "#39B3FF",
- startValue: z, //数据窗口范围的起始百分比
- endValue: s
- },
- {
- type: "inside",
- yAxisIndex: [0],
- startValue: z, //数据窗口范围的起始百分比
- endValue: s,
- }
- ],
- grid: {
- left: 10,
- right: 30,
- bottom: 10,
- top: 1,
- containLabel: true
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "none"
- },
- formatter: function(params) {
- return (
- params[0].name +
- "<br/>" +
- "<span style='display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'></span>" +
- // params[0].seriesName + ' : ' + Number((params[0].value.toFixed(4) / 10000).toFixed(2)).toLocaleString() + ' <br/>'
- params[0].seriesName +
- " : " +
- params[0].value
- );
- }
- },
- xAxis: {
- position: "top",
- show: false,
- type: "value",
- splitLine: {
- show: false
- },
- axisLabel: {
- show: true,
- textStyle: {
- color: "#fff" //更改坐标轴文字颜色
- }
- }
- },
- yAxis: [
- {
- type: "category",
- inverse: true,
- axisLabel: {
- show: true,
- textStyle: {
- color: "#fff"
- }
- },
- splitLine: {
- show: false
- },
- axisTick: {
- show: false
- },
- axisLine: {
- show: false
- },
- data: className
- },
- {
- type: "category",
- inverse: true,
- axisTick: "none",
- axisLine: "none",
- show: true,
- axisLabel: {
- textStyle: {
- color: "#ffffff",
- fontSize: "12"
- }
- // formatter: function(datav) {
- // return datav;
- // }
- },
- data: data2
- }
- ],
- series: [
- {
- name: "在位率",
- type: "bar",
- zlevel: 1,
- showBackground: true,
- itemStyle: {
- normal: {
- barBorderRadius: 0,
- color: params => {
- return colorList9[params.dataIndex];
- }
- }
- },
- barWidth: 10,
- data: datav
- }
- ]
- };
- myChartv.setOption(option4);
- window.addEventListener("resize", function() {
- myChartv.resize();
- });
- }
- c();
- this.timer = setInterval(() => {
- c();
- }, 5000);
- },
- center3() {
- const myChartss = echarts.init(
- document.getElementById("center3_d"),
- "vintage"
- );
- var data1 = [];
- var data = [];
- var data2 = [];
- // console.log(this.wclist);
- for (var i in this.wclist) {
- data.push(i);
- for (var e in this.wclist[i][0]) {
- if (e == "renshu") {
- data1.push(this.wclist[i][0][e]);
- } else if (e == "zhanbi") {
- data2.push(this.wclist[i][0][e]);
- }
- }
- }
- var n = 0;
- data1.map(item => {
- n += item;
- });
- // data1=[50,10,60,90,10];
- // console.log(n)
- const path = "path://M1390,595h79l-39,22Z";
- const myColor = ["#fff", "#fff", "#fff", "#fff", "#fff"];
- const option12 = {
- grid: {
- left: 70,
- bottom: "25%",
- top: "15%"
- },
- xAxis: {
- axisLabel: {
- padding: 15,
- interval: 0,
- textStyle: {
- color: function(param, index) {
- return myColor[index];
- },
- fontSize: 12,
- fontWeight: 100
- },
- margin: 10
- },
- splitLine: {
- show: false
- },
- axisLine: {
- show: false
- },
- splitArea: {
- show: false
- },
- axisTick: {
- show: false
- },
- data: data
- },
- yAxis: {
- max: n,
- min: 0,
- axisLine: {
- lineStyle: {
- color: "#6e6e6e",
- width: 1
- }
- },
- axisLabel: {
- interval: 0,
- formatter: "{value}",
- textStyle: {
- fontSize: 12,
- color: "#fff"
- },
- margin: 20
- },
- splitLine: {
- show: true
- },
- axisTick: {
- show: true,
- lineStyle: {
- color: "#fff",
- width: 1,
- height: 5
- }
- }
- },
- series: [
- {
- type: "bar",
- barWidth: 30,
- barGap: "-100%",
- stack: "广告",
- fontSize: 12,
- itemStyle: {
- fontSize: 12,
- color: function(params) {
- const colorList = [
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ])
- ];
- return colorList[params.dataIndex];
- }
- },
- data: data1
- },
- {
- name: "",
- type: "pictorialBar",
- symbol: path,
- symbolSize: [60, 20],
- symbolOffset: [0, 0],
- z: 12,
- symbolPosition: "end",
- itemStyle: {
- color: "#e2e2e2",
- opacity: 0
- },
- data: data1
- },
- {
- name: "",
- type: "pictorialBar",
- symbol: path,
- symbolSize: [60, 20],
- symbolOffset: [0, 20],
- z: 12,
- itemStyle: {
- opacity: 1,
- color: function(params) {
- const colorList = [
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ]),
- new echarts.graphic.LinearGradient(1, 0, 0, 0, [
- {
- offset: 0,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 0.5,
- color: "#39b3ff"
- },
- {
- offset: 1,
- color: "#39b3ff"
- }
- ])
- ];
- return colorList[params.dataIndex];
- }
- },
- data: data1
- },
- {
- name: "",
- type: "pictorialBar",
- symbol: path,
- symbolSize: [60, 20],
- symbolOffset: [0, 0],
- z: 12,
- label: {
- show: true,
- formatter: "{c}人",
- position: "top",
- distance: 5,
- color: "#fff",
- fontWeight: 100,
- textShadowColor: "rgba(255, 255, 255, .6)",
- fontSize: 16,
- textShadowBlur: "0",
- textShadowOffsetX: 1,
- textShadowOffsetY: 1
- },
- itemStyle: {
- opacity: 1,
- color: function(params) {
- const colorList = [
- "#39b3ff",
- "#39b3ff",
- "#39b3ff",
- "#39b3ff",
- "#39b3ff"
- ];
- return colorList[params.dataIndex];
- }
- },
- symbolPosition: "end",
- data: data1
- },
- {
- name: "",
- type: "effectScatter",
- rippleEffect: {
- period: 1,
- scale: 5,
- brushType: "fill"
- },
- z: 20,
- symbolPosition: "end",
- symbol: path,
- symbolSize: [15, 5],
- symbolOffset: [0, 9],
- itemStyle: {
- normal: {
- color: "#fff"
- }
- },
- data: data1
- }
- ]
- };
- const backImg = "/asset/get/s/data-1622796959507-HTopachtJ.png";
- myChartss._dom.style.backgroundImage = "url('" + backImg + "')";
- myChartss.setOption(option12);
- window.addEventListener("resize", function() {
- myChartss.resize();
- });
- },
- async center4() {
- var myChart = echarts.init(document.getElementById("center-a-main"));
- var jc = null;
- // 检查督导
- await getJieCha().then(res => {
- console.log(res);
- for (var index = 0; index < res.data.score.length; index++) {
- res.data.score[index] = res.data.score[index].slice(0, -3);
- }
- jc = res.data;
- });
- var option = {
- color: ["#00CCFF"],
- tooltip: {
- color: "#00CCFF"
- },
- grid: {
- containLabel: true,
- left: "2%",
- top: 30,
- right: "3%",
- bottom: "3%"
- },
- xAxis: [
- {
- type: "category",
- data: jc.name,
- axisTick: {
- alignWithLabel: true
- },
- nameTextStyle: {
- color: "#fff"
- },
- axisLine: {
- lineStyle: {
- color: "#fff"
- }
- },
- axisLabel: {
- textStyle: {
- color: "#fff"
- }
- }
- }
- ],
- yAxis: [
- {
- type: "value",
- axisLabel: {
- textStyle: {
- color: "#fff"
- },
- formatter: "{value}",
- color: "#00e4ff"
- },
- splitLine: {
- lineStyle: {
- color: "#fff",
- opacity: 0.3
- }
- },
- axisLine: {
- show: false
- }
- }
- ],
- series: [
- {
- name: "",
- type: "pictorialBar",
- symbolSize: [30, 10],
- symbolOffset: [0, -5],
- symbolPosition: "end",
- color: "#00e4ff",
- z: 12,
- label: {
- normal: {
- show: true,
- position: "top",
- formatter: "{c}",
- color: "#ff9000"
- }
- },
- data: jc.score
- },
- {
- name: "",
- type: "pictorialBar",
- symbolSize: [30, 10],
- symbolOffset: [0, 5],
- z: 12,
- data: jc.score
- },
- {
- type: "bar",
- itemStyle: {
- normal: {
- color: "#00e4ff",
- opacity: 0.7
- }
- },
- barWidth: "30",
- data: jc.score,
- markLine: {
- silent: true,
- symbol: "none",
- label: {
- position: "middle",
- formatter: "{b}"
- }
- }
- },
- {
- type: "effectScatter",
- silent: true,
- tooltip: {
- show: false
- },
- zlevel: 3,
- symbolSize: 10,
- showEffectOn: "render",
- rippleEffect: {
- brushType: "stroke",
- color: "#00e4ff",
- scale: 5
- },
- itemStyle: {
- color: "#00e4ff"
- },
- hoverAnimation: true,
- data: [0, 0, 0, 0, 0, 0, 0]
- }
- ]
- };
- myChart.setOption(option);
- window.addEventListener("resize", function() {
- myChart.resize();
- });
- },
- startTime() {
- this.timer2 = setInterval(() => {
- var today = new Date();
- var y = today.getFullYear();
- var M = today.getMonth() + 1;
- var d = today.getDate();
- var h = today.getHours();
- var m = today.getMinutes();
- var s = today.getSeconds();
- var w = today.getDay();
- if (M < 10) {
- M = "0" + M;
- }
- if (d < 10) {
- d = "0" + d;
- }
- if (h < 10) {
- h = "0" + h;
- }
- if (m < 10) {
- m = "0" + m;
- }
- if (s < 10) {
- s = "0" + s;
- }
- this.times = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
- }, 500); /* 每500毫秒执行一次,实现动态显示时间效果 */
- }
- },
- computed: {
- defaultOption() {
- return {
- step: 0.2, // 数值越大速度滚动越快
- limitMoveNum: this.djlslist.length, // 开始无缝滚动的数据量 this.dataList.length
- hoverStop: true, // 是否开启鼠标悬停stop
- direction: 1, // 0向下 1向上 2向左 3向右
- openWatch: true, // 开启数据实时监控刷新dom
- singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1
- singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
- waitTime: 1000 // 单步运动停止的时间(默认值1000ms)
- };
- },
- defaultOption2() {
- return {
- step: 0.2, // 数值越大速度滚动越快
- limitMoveNum: this.fylist.length, // 开始无缝滚动的数据量 this.dataList.length
- hoverStop: true, // 是否开启鼠标悬停stop
- direction: 1, // 0向下 1向上 2向左 3向右
- openWatch: true, // 开启数据实时监控刷新dom
- singleHeight: 0, // 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1
- singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
- waitTime: 1000 // 单步运动停止的时间(默认值1000ms)
- };
- }
- },
- destroyed() {
- clearInterval(this.timer); // 清除定时器
- this.timer = null;
- clearInterval(this.timer2); // 清除定时器
- this.timer2 = null;
- },
- components: {
- vueSeamlessScroll
- }
- };
- </script>
- <style scoped>
- .out {
- background-image: url("../../assets/images/tsbj1.png");
- background-size: 100% 100%;
- height: 100%;
- width: 100%;
- /* padding-top: -4vh; */
- background-repeat: no-repeat;
- overflow: auto;
- /* min-width: 1200px; */
- overflow-x: hidden;
- overflow-y: hidden;
- z-index: -1;
- display: flex;
- flex-direction: column;
- }
- .title {
- width: 100%;
- height: 87px;
- background-image: url("../../assets/images/态势分析顶部.gif");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- position: relative;
- }
- .title-left {
- position: absolute;
- left: 115px;
- top: 12px;
- width: 179px;
- height: 51px;
- background-image: url("../../assets/images/主控台按钮底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- text-align: center;
- line-height: 51px;
- color: #fff;
- font-size: 1.2vw;
- font-weight: bold;
- cursor: pointer;
- opacity: 0.8;
- }
- .title-left img {
- margin-right: 10px;
- }
- .title-right {
- position: absolute;
- color: #00f6ff;
- font-size: 1.2vw;
- right: 100px;
- top: 36px;
- }
- .main {
- flex: 1;
- width: 100%;
- margin: 0;
- padding: 0;
- display: flex;
- }
- .left {
- width: 25%;
- height: 100%;
- margin: 0;
- padding: 0;
- margin-left: 15px;
- }
- .center {
- width: 48%;
- height: 100%;
- margin: 0 10px;
- }
- .right {
- width: 25%;
- height: 100%;
- margin-right: 15px;
- }
- .left1 {
- width: 100%;
- height: 28vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .left1-jrt {
- position: absolute;
- right: 0;
- top: 0;
- }
- .left1-jlt {
- position: absolute;
- left: 0;
- top: 0;
- }
- .left1-jrb {
- position: absolute;
- right: 0;
- bottom: 0;
- }
- .left1-jlb {
- position: absolute;
- left: 0;
- bottom: 0;
- }
- .left1-head {
- width: 20vw;
- height: 25px;
- background-image: url("../../assets/images/dtitle.png");
- background-repeat: no-repeat;
- background-size: 100%;
- margin-top: 5px;
- margin-left: 2%;
- }
- .left1-head span {
- margin-left: 8%;
- line-height: 23px;
- color: #fff;
- font-size: 0.8rem;
- }
- .left1-head2 {
- height: 25px;
- background-image: url("../../assets/images/集中文印标题底.png");
- background-repeat: no-repeat;
- background-size: 100%;
- margin-top: 5px;
- margin-left: 2%;
- }
- .left1-head2 span {
- margin-left: 15%;
- line-height: 25px;
- color: #fff;
- font-size: 0.8rem;
- }
- .left1-wrap {
- width: 96%;
- height: 80%;
- margin-left: 2%;
- }
- .left1-wrap-item {
- width: 46%;
- height: 4.5vh;
- border: 1px solid #033a5d;
- display: inline-block;
- margin-right: 2%;
- margin-left: 2%;
- margin-top: 2%;
- }
- .left1-wrap-item span {
- font-size: 1rem;
- line-height: 4.5vh;
- color: #fff;
- margin-left: 3%;
- }
- .left1-wrap-item b {
- font-size: 1.2rem;
- color: #30fdff;
- }
- .center1 {
- width: 100%;
- height: 40vh;
- max-width: 100%;
- max-height: 40vh;
- background-image: url("../../assets/images/底 拷贝 3.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- margin-top: 10px;
- padding-top: 5px;
- position: relative;
- }
- .left2 {
- width: 100%;
- height: 29vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .left2-1 {
- width: 100%;
- height: 20%;
- }
- .left2-2 {
- width: 100%;
- height: 80%;
- }
- .left2-1-main {
- width: 100%;
- height: 85%;
- }
- .left2_d {
- margin-top: 1vh;
- font-size: 14px;
- color: white;
- width: 33.3%;
- text-align: center;
- display: inline-block;
- margin-bottom: 1vh;
- }
- .left2_d span {
- margin-left: 0.5vw;
- font-family: "IMPACT";
- font-size: 1.4rem;
- color: #30fdff;
- }
- .center4_b {
- margin-top: 0.8vh;
- margin-left: 2%;
- color: white;
- font-size: 1rem;
- background-color: rgba(3, 58, 93, 0.3);
- border: 0.1px solid #052c41;
- height: 6vh;
- width: 35%;
- line-height: 50px;
- text-align: center;
- }
- .center4_b span {
- font-family: "IMPACT";
- font-size: 1.6rem;
- margin-left: 20px;
- }
- .center4_s {
- /* transform: scale(0.8); */
- position: relative;
- top: -80%;
- left: 40%;
- margin-bottom: 5px;
- /* margin-top: 10px; */
- }
- .center4_s img {
- width: 45px;
- height: 45px;
- margin-right: 10px;
- }
- .center4_y {
- color: white;
- font-size: 12px;
- position: absolute;
- top: 15%;
- left: 75%;
- margin-bottom: 20px;
- }
- .center4_y2 {
- position: absolute;
- top: 60%;
- left: 75%;
- margin-bottom: 20px;
- }
- .center4_y img {
- width: 50px;
- }
- .left2-2-main {
- width: 100%;
- height: 85%;
- }
- .left2-2-main-title {
- width: 100%;
- height: 15%;
- display: flex;
- flex-direction: row;
- }
- .left2-2-main-title .center4_l-1 {
- flex: 1;
- height: 100%;
- display: inline-block;
- color: white;
- font-size: 12px;
- margin-top: 0.9vh;
- }
- .left2-2-main-title .center4_l-1 div {
- display: inline-block;
- margin-right: 8px;
- box-sizing: content-box;
- }
- .center4_l {
- color: white;
- font-size: 12px;
- margin-top: 0.9vh;
- margin-left: 0.3vw;
- display: inline-block;
- margin-right: 80px;
- }
- .center4_l div {
- display: inline-block;
- margin-right: 8px;
- box-sizing: content-box;
- }
- .left2-2-main-main {
- width: 100%;
- height: 85%;
- display: flex;
- flex-direction: row;
- margin: 0;
- padding: 0;
- }
- .time {
- /* margin-top: 3px; */
- flex: 1;
- font-size: 9px;
- color: white;
- text-align: center;
- display: inline-block;
- transform: scale(0.9);
- }
- .time td {
- height: 3.7vh;
- width: 50%;
- background-color: #0c3361;
- }
- .people {
- /* margin-top: 3px; */
- flex: 1;
- font-size: 9px;
- color: white;
- text-align: center;
- transform: scale(0.9);
- margin: 0;
- padding: 0;
- margin-left: -5%;
- }
- .people td {
- height: 3.7vh;
- width: 50%;
- background-color: #0c3361;
- }
- .grade {
- /* margin-top: 3px; */
- flex: 1;
- font-size: 9px;
- color: white;
- text-align: center;
- transform: scale(0.9);
- margin-left: -3%;
- }
- .grade td {
- height: 3.7vh;
- width: 50%;
- background-color: #0c3361;
- }
- .left2-2 {
- width: 100%;
- height: 70%;
- }
- .left3 {
- width: 100%;
- height: 28vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .left3-main {
- width: 100%;
- height: 85%;
- position: relative;
- }
- .center1_d {
- font-size: 12px;
- color: white;
- display: inline-block;
- margin-bottom: 10px;
- width: 20%;
- }
- .center1_d img {
- width: 40px;
- height: 40px;
- }
- .center1_d div {
- display: inline-block;
- font-size: 35px;
- font-family: "IMPACT";
- background-color: #0c3361;
- margin-left: 5px;
- width: 25px;
- text-align: center;
- color: #ff9000;
- }
- .center2 {
- width: 50%;
- height: 100%;
- display: inline-block;
- }
- #center2_d {
- width: 100%;
- height: 87%;
- }
- #center3_d {
- width: 100%;
- height: 87%;
- }
- .center3 {
- width: 50%;
- height: 100%;
- display: inline-block;
- }
- .center4 {
- width: 100%;
- height: 20%;
- display: flex;
- flex-direction: column;
- }
- #center4_d {
- width: 100%;
- flex: 1;
- }
- .center4_d-1 {
- display: inline-block;
- transform: scale(0.7);
- margin-left: 0.3vw;
- margin-top: -26px;
- }
- .center4_d-1 img {
- width: 70px;
- height: 70px;
- margin-right: 20px;
- }
- .center-a {
- width: 100%;
- height: 30vh;
- background-image: url("../../assets/images/底 拷贝 4.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- margin-top: 10px;
- padding-top: 5px;
- position: relative;
- }
- #center-a-main {
- width: 100%;
- height: 90%;
- }
- .center-b {
- width: 100%;
- height: 15vh;
- background-image: url("../../assets/images/底 拷贝 5.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- margin-top: 10px;
- display: flex;
- flex-direction: row;
- padding-top: 5px;
- position: relative;
- }
- .center-b-l {
- width: 48%;
- height: 100%;
- display: inline-block;
- }
- #center-b-l-main {
- width: 100%;
- height: 85%;
- }
- .center-b-r {
- width: 48%;
- height: 100%;
- display: inline-block;
- }
- #center-b-r-main {
- width: 100%;
- height: 85%;
- }
- .right2_d {
- color: white;
- font-size: 1rem;
- text-align: center;
- background-color: #052c41;
- width: 18%;
- margin-left: 1%;
- height: 80%;
- /* display: flex;
- justify-content: center;
- align-items: center; */
- display: inline-block;
- line-height: 40px;
- margin-top: 0.5%;
- }
- .right2_d span {
- color: #30fdff;
- font-size: 1.5rem;
- margin-left: 10px;
- font-family: "IMPACT";
- line-height: 48px;
- }
- .right2_b {
- height: 80%;
- width: 18%;
- color: white;
- font-size: 1rem;
- text-align: center;
- background-color: rgba(207, 60, 42, 0.3);
- /* margin-top: 0.7rem; */
- margin-left: 1%;
- display: inline-block;
- line-height: 40px;
- margin-top: 0.5%;
- }
- .right2_b span {
- color: #f0422a;
- font-size: 1.5rem;
- margin-left: 10px;
- font-family: "IMPACT";
- line-height: 48px;
- }
- .right1 {
- width: 100%;
- height: 28vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .right1-main {
- width: 100%;
- height: 90%;
- margin: 0;
- padding: 0;
- }
- .right1-main-title {
- width: 100%;
- height: 30px;
- margin: 0;
- padding: 0;
- margin-top: -15px;
- }
- .right1-main-title p {
- width: 100%;
- height: 30px;
- list-style: none;
- }
- .right1-main-title p span {
- width: 17%;
- display: inline-block;
- text-align: center;
- line-height: 30px;
- font-size: 14px;
- color: #fff;
- }
- .right2-main-title {
- width: 100%;
- height: 30px;
- margin-top: -15px;
- }
- .right2-main-title p {
- width: 100%;
- height: 30px;
- list-style: none;
- }
- .right2-main-title p span {
- width: 33.3%;
- display: inline-block;
- text-align: center;
- line-height: 30px;
- font-size: 14px;
- color: #fff;
- }
- .right2 {
- width: 100%;
- height: 29vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .right2-main {
- width: 100%;
- height: 85%;
- }
- .right3 {
- width: 100%;
- height: 28vh;
- background-image: url("../../assets/images/底.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- display: flex;
- flex-wrap: wrap;
- margin-top: 10px;
- position: relative;
- }
- .right3-l {
- width: 48%;
- height: 100%;
- display: inline-block;
- }
- .right3-l-main {
- width: 100%;
- height: 85%;
- }
- .right3-r {
- width: 48%;
- height: 100%;
- display: inline-block;
- }
- #right3-r-main {
- width: 100%;
- height: 85%;
- }
- .right3-r-main-item {
- width: 100%;
- height: 20%;
- display: flex;
- margin-top: 4%;
- }
- .right3-r-main-item-l {
- width: 30%;
- height: 100%;
- display: inline-block;
- text-align: center;
- align-items: center;
- }
- .right3-r-main-item-r {
- width: 68%;
- height: 100%;
- margin-left: 1%;
- background: rgba(48, 253, 255, 0.1);
- border: 2px solid rgba(48, 253, 255, 0.1);
- display: inline-block;
- color: #fff;
- display: flex;
- }
- .right3-r-main-item-r .s1 {
- width: 70%;
- color: #fff;
- font-size: 14px;
- display: flex;
- align-items: center;
- justify-content: left;
- margin-left: 3%;
- }
- .right3-r-main-item-r .s2 {
- width: 30%;
- font-size: 14px;
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: right;
- margin-right: 10px;
- }
- .right3-r-main-item-r .s2 b {
- font-size: 18px;
- color: #30fdff;
- margin-right: 6px;
- }
- @keyframes breathe {
- 0% {
- opacity: 0.6;
- box-shadow: 0 1px 2px rgb(240 66 42 / 60%);
- transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -webkit-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- -ms-transform: scale(1, 1);
- }
- 50% {
- opacity: 0.8;
- box-shadow: 0 1px 2px rgb(240 66 42 / 80%);
- transform: scale(1.2, 1.2);
- -moz-transform: scale(1.2, 1.2);
- -webkit-transform: scale(1.2, 1.2);
- -o-transform: scale(1.2, 1.2);
- -ms-transform: scale(1.2, 1.2);
- }
- 100% {
- opacity: 1;
- box-shadow: 0 2px 30px #f0422a;
- transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -webkit-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- -ms-transform: scale(1, 1);
- }
- }
- .icon2 {
- animation: breathe 2s infinite;
- transform: scale(1.2);
- margin: 0 auto;
- width: 8px;
- height: 5px;
- background-color: #f0422a;
- }
- @keyframes breathe2 {
- 0% {
- opacity: 0.6;
- box-shadow: 0 1px 2px rgb(103 194 58 / 60%);
- transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -webkit-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- -ms-transform: scale(1, 1);
- }
- 50% {
- opacity: 0.8;
- box-shadow: 0 1px 2px rgb(103 194 58 / 80%);
- transform: scale(1.2, 1.2);
- -moz-transform: scale(1.2, 1.2);
- -webkit-transform: scale(1.2, 1.2);
- -o-transform: scale(1.2, 1.2);
- -ms-transform: scale(1.2, 1.2);
- }
- 100% {
- opacity: 1;
- box-shadow: 0 2px 30px #67c23a;
- transform: scale(1, 1);
- -moz-transform: scale(1, 1);
- -webkit-transform: scale(1, 1);
- -o-transform: scale(1, 1);
- -ms-transform: scale(1, 1);
- }
- }
- .icon3 {
- animation: breathe2 2s infinite;
- transform: scale(1.2);
- margin: 0 auto;
- width: 8px;
- height: 5px;
- background-color: #67c23a;
- }
- .seamless-warp {
- width: 100%;
- height: 75%;
- overflow: hidden;
- }
- .seamless-warp .right1-main-box {
- width: 100%;
- height: 30px;
- }
- .seamless-warp .right1-main-box span {
- width: 17%;
- display: inline-block;
- text-align: center;
- line-height: 30px;
- }
- .seamless-warp .right2-main-box {
- width: 100%;
- height: 30px;
- }
- .seamless-warp .right2-main-box span {
- width: 33.3%;
- display: inline-block;
- text-align: center;
- line-height: 30px;
- color: #fff;
- font-size: 12px;
- }
- .center1-t {
- width: 100%;
- height: 25%;
- }
- .center1-c {
- width: 100%;
- height: 46%;
- }
- </style>
|