123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802 |
- <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;
- 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>
|