db71a5a4fa94877adfe3e659eff4c2a05fe300ca.svn-base 224 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790
  1. <template>
  2. <div id="kjrmap">
  3. <div class="layer-control2">
  4. <layer-control2 @layerVisbleEvent="mytest"></layer-control2>
  5. </div>
  6. <div class="map-search-input" style="margin-top: 15px;">
  7. <el-input v-if="bShowSearch" placeholder="请输入名称 / 编码搜索" v-model="model_search_input" class="input-with-select">
  8. <el-button slot="append" icon="el-icon-search" @click="btnSearch"></el-button>
  9. </el-input>
  10. <v-region v-if="bShowAddvcdSearch" @values="regionChange" :town="false" :ui="true" class="form-control">
  11. <el-button icon="el-icon-arrow-down">请选择行政区</el-button>
  12. </v-region>
  13. </div>
  14. <div class="map-title" v-show="bShowTitle">
  15. <label for="">{{map_title}}</label>
  16. </div>
  17. <div class="map-toolBar">
  18. <el-tooltip content="行政区划" placement="bottom" effect="light">
  19. <img @click="bShowAddvcdSearch = !bShowAddvcdSearch" src="../../static/addvcd.png" alt="">
  20. </el-tooltip>
  21. <el-tooltip content="搜索" placement="bottom" effect="light">
  22. <img @click="bShowSearch = !bShowSearch" src="../../static/search.png" alt="">
  23. </el-tooltip>
  24. <el-tooltip content="清除" placement="bottom" effect="light">
  25. <img @click="clearTempData" src="../../static/clear2.png" alt="">
  26. </el-tooltip>
  27. <el-tooltip content="全图" placement="bottom" effect="light">
  28. <img @click="toHome" src="../../static/home.png" alt="">
  29. </el-tooltip>
  30. </div>
  31. <div id="viewDiv">
  32. </div>
  33. <el-dialog class="process_line" :title="dlg_info2" :modal="false" :close-on-click-modal="false"
  34. :visible.sync="dialogInfo2">
  35. </el-dialog>
  36. <transition name="el-fade-in-linear">
  37. <draggable :title="'数据表'" initTop=160 :initLeft='screenWidth - 720' initWidth=697 initHeight=590
  38. v-if="processLineShow_data_common" @closeDraggable='closeModal_data_common'>
  39. <div class="process_line" style="padding-left:0px;">
  40. <el-row style="margin-bottom:5px;">
  41. <el-col :span="24">
  42. <div class="grid-content bg-purple-light">
  43. <el-card class="kjr-card box-card" style="height:547px;margin-bottom:0px;">
  44. <template>
  45. <el-tabs v-model="activeName_data_common" @tab-click="handleClick_searchResult">
  46. <el-tab-pane label="督查人员" name="first">
  47. <el-row>
  48. <el-col :span="7">
  49. <el-tabs v-model="activeTabName" @tab-click="handleTabClick" type="border-card"
  50. style="overflow:auto;">
  51. <el-tab-pane v-if="bAdmin" label="机构" name="three">
  52. <div class="grid-content bg-purple">
  53. <el-tree :data="treeData3" node-key="orgId" :expand-on-click-node="false"
  54. :highlight-current="true" :current-node-key="curNode" :default-expanded-keys="['1']"
  55. :props="defaultProps3" @node-click="handleNodeClick3"></el-tree>
  56. </div>
  57. </el-tab-pane>
  58. <el-tab-pane v-if="bAdmin" label="专项" name="second">
  59. <div class="grid-content bg-purple">
  60. <el-tree :data="treeData2" node-key="id" :expand-on-click-node="false"
  61. :highlight-current="true" :current-node-key="curNode" :default-expanded-keys="['1']"
  62. :props="defaultProps" @node-click="handleNodeClick"></el-tree>
  63. </div>
  64. </el-tab-pane>
  65. <el-tab-pane v-if="!bAdmin" label="所在组成员" name="fourth">
  66. <div class="grid-content bg-purple">
  67. <el-tree :data="treeData4" node-key="id" :expand-on-click-node="false"
  68. :highlight-current="true" :current-node-key="curNode" :default-expanded-keys="['1']"
  69. :props="defaultProps" @node-click="handleNodeClick"></el-tree>
  70. </div>
  71. </el-tab-pane>
  72. </el-tabs>
  73. </el-col>
  74. <el-col :span="17">
  75. <div class="grid-content bg-purple-light">
  76. <div style="padding:5px;">
  77. <span style="font-size: 12px;margin-left: 10px;">名称:</span>
  78. <el-input style="width:110px;" class="kjr-input" size="mini" v-model="model_peopleName"
  79. placeholder="请输入姓名"></el-input>
  80. &nbsp;&nbsp;
  81. <el-button @click="searchPeople" size="mini" type="primary">筛选</el-button>
  82. &nbsp;&nbsp;
  83. <el-checkbox v-model="model_peopleOnline" @change="bPeopleOnline">是否在线</el-checkbox>
  84. <el-button @click="refreashOnline" size="mini" style="float: right;" type="primary">刷新
  85. </el-button>
  86. </div>
  87. <div style="padding:5px;">
  88. <el-table :data="tableData_peopleList"
  89. :default-sort="{prop: 'operateTime', order: 'descending'}"
  90. @sort-change='people_sortEvent' height="397" border stripe style="width: 100%">
  91. <el-table-column type="index" label="序号" width="50" :index="indexMethod">
  92. </el-table-column>
  93. <el-table-column prop="persName" label="姓名" width="80" align="center">
  94. </el-table-column>
  95. <el-table-column prop="mobilenumb" label="电话" width="100" align="center"
  96. :formatter="formatter_peoplePhone">
  97. </el-table-column>
  98. <el-table-column prop="operateTime" label="最新时间" width="150" align="center"
  99. sortable="custom">
  100. </el-table-column>
  101. <el-table-column label="定位" width="70" align="center">
  102. <template slot-scope="scope">
  103. <i size="big" @click="location(scope.$index, scope.row)"
  104. style="color:blue;font-size: 22px;cursor:pointer;"
  105. class="el-icon-location-outline"></i>
  106. </template>
  107. </el-table-column>
  108. </el-table>
  109. <div class="block" style="margin-top:5px;">
  110. <el-pagination background @size-change="handleSizeChange"
  111. @current-change="handleCurrentChange" :page-sizes="[10,50, 100, 200]"
  112. :page-size="15" layout="total,sizes, prev, pager, next" :pager-count="2"
  113. :total="recordTotal">
  114. </el-pagination>
  115. </div>
  116. </div>
  117. </div>
  118. </el-col>
  119. </el-row>
  120. </el-tab-pane>
  121. <el-tab-pane label="水毁" name="second">
  122. <el-row style="margin-bottom:5px;">
  123. <el-col :span="24">
  124. <div class="grid-content bg-purple-light">
  125. <div style="padding:5px;">
  126. <span style="font-size: 12px;margin-left: 10px;">名称:</span>
  127. <el-input style="width:130px;" class="kjr-input" size="mini"
  128. v-model="model_shuihui_name" placeholder="请输入名称查询">
  129. </el-input>
  130. &nbsp;&nbsp;&nbsp;
  131. <el-button @click="searchByName(1)" size="mini" type="primary">筛选</el-button>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  133. </div>
  134. <div style="padding:5px;">
  135. <el-table :data="tableData_shuihuiList" height="375" border stripe style="width: 100%">
  136. <el-table-column type="index" width="50" label="序号" align="center"
  137. :index="indexMethod_shuihui">
  138. </el-table-column>
  139. <el-table-column prop="wtdstNm" label="项目名称" width="150" align="center">
  140. </el-table-column>
  141. <el-table-column prop="wtdstDtle" label="水毁情况" width="150" align="center">
  142. </el-table-column>
  143. <el-table-column prop="locNm" label="位置" width="160" align="center">
  144. </el-table-column>
  145. <el-table-column prop="wtdstType" label="类别" width="150" align="center">
  146. </el-table-column>
  147. <el-table-column prop="wtdstWrkam" label="主要工程量" width="150" align="center">
  148. </el-table-column>
  149. <el-table-column prop="planRcvrTm" label="计划修复日期" width="160" align="center">
  150. </el-table-column>
  151. <el-table-column prop="wtdstState" label="状态" width="100" align="center"
  152. :formatter="formatter_shuihui_type">
  153. </el-table-column>
  154. <el-table-column prop="note" label="备注" width="100" align="center">
  155. </el-table-column>
  156. <el-table-column fixed="right" label="定位" width="70" align="center">
  157. <template slot-scope="scope">
  158. <i size="big" @click="location2(scope.row.lgtd,scope.row.lttd,5)"
  159. style="color:blue;font-size: 22px;cursor:pointer;"
  160. class="el-icon-location-outline"></i>
  161. </template>
  162. </el-table-column>
  163. </el-table>
  164. <div class="block" style='margin-top:15px;'>
  165. <el-pagination background @size-change="handleSizeChange_shuihui"
  166. @current-change="handleCurrentChange_shuihui" :page-sizes="[10,50, 100, 200]"
  167. :page-size="15" layout="total,sizes, prev, pager, next"
  168. :total="recordTotal_shuihui">
  169. </el-pagination>
  170. </div>
  171. </div>
  172. </div>
  173. </el-col>
  174. </el-row>
  175. </el-tab-pane>
  176. <el-tab-pane label="小水库" name="third">
  177. <el-row style="margin-bottom:5px;">
  178. <el-col :span="24">
  179. <div class="grid-content bg-purple-light">
  180. <div style="padding:5px;">
  181. <span style="font-size: 12px;margin-left: 10px;">名称:</span>
  182. <el-input style="width:130px;" class="kjr-input" size="mini" v-model="model_shuiku_name"
  183. placeholder="请输入名称查询">
  184. </el-input>
  185. &nbsp;&nbsp;&nbsp;
  186. <el-button @click="searchByName(3)" size="mini" type="primary">筛选</el-button>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  188. <!-- <el-checkbox v-model="model_shuiku_finish" @change="bShuikuFinish">已督查</el-checkbox> -->
  189. <el-checkbox v-model="model_shuiku_statistic" @change="bShuikuStatistic">查看统计
  190. </el-checkbox>
  191. </div>
  192. <div style="padding:5px;">
  193. <el-table :data="tableData_shuikuList" height="375" border stripe style="width: 100%">
  194. <el-table-column type="index" width="50" label="序号" align="center"
  195. :index="indexMethod_shuiku">
  196. </el-table-column>
  197. <el-table-column prop="rsCode" label="水库编码" width="130" align="center" sortable>
  198. </el-table-column>
  199. <el-table-column prop="rsName" label="水库名称" width="130" align="center" sortable>
  200. </el-table-column>
  201. <el-table-column prop="rsAdmName" label="水库管理单位" width="220" align="center">
  202. </el-table-column>
  203. <el-table-column prop="rsType" label="水库类型" width="110" align="center"
  204. :formatter="formatter_shuiku_type">
  205. </el-table-column>
  206. <el-table-column prop="engScal" label="工程规模" width="110" align="center"
  207. :formatter="formatter_shuiku_pro_type">
  208. </el-table-column>
  209. <el-table-column prop="damSizeHig" label="主坝尺寸坝高(m)" width="150" align="center">
  210. </el-table-column>
  211. <el-table-column prop="totCap" label="总库容(万立方米)" width="150" align="center">
  212. </el-table-column>
  213. <el-table-column fixed="right" label="定位" width="70" align="center">
  214. <template slot-scope="scope">
  215. <i size="big" @click="location2(scope.row.lgtd,scope.row.lttd,5)"
  216. style="color:blue;font-size: 22px;cursor:pointer;"
  217. class="el-icon-location-outline"></i>
  218. </template>
  219. </el-table-column>
  220. </el-table>
  221. <div class="block" style='margin-top:15px;'>
  222. <el-pagination background @size-change="handleSizeChange_shuiku"
  223. @current-change="handleCurrentChange_shuiku" :page-sizes="[10,50, 100, 200]"
  224. :page-size="15" layout="total,sizes, prev, pager, next" :pager-count="3"
  225. :total="recordTotal_shuiku">
  226. </el-pagination>
  227. </div>
  228. </div>
  229. </div>
  230. </el-col>
  231. </el-row>
  232. </el-tab-pane>
  233. <el-tab-pane label="人饮" name="fourth">
  234. <el-row style="margin-bottom:5px;">
  235. <el-col :span="24">
  236. <div class="grid-content bg-purple-light">
  237. <div style="padding:5px;">
  238. <span style="font-size: 12px;margin-left: 10px;">名称:</span>
  239. <el-input style="width:130px;" class="kjr-input" size="mini"
  240. v-model="model_country_name" placeholder="请输入名称查询">
  241. </el-input>
  242. &nbsp;&nbsp;&nbsp;
  243. <el-button @click="searchByName(2)" size="mini" type="primary">筛选</el-button>
  244. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  245. </div>
  246. <div style="padding:5px;">
  247. <el-table :data="tableData_countrywaterList" height="375" border stripe
  248. style="width: 100%">
  249. <el-table-column type="index" width="50" label="序号" align="center"
  250. :index="indexMethod_country">
  251. </el-table-column>
  252. <el-table-column prop="adCode" label="管理单位代码" width="110" align="center">
  253. </el-table-column>
  254. <el-table-column prop="adName" label="管理单位名称" width="160" align="center" sortable>
  255. </el-table-column>
  256. <el-table-column prop="adGrad" label="行政区划等级" width="120" align="center"
  257. :formatter="formatter_country_xzqh">
  258. </el-table-column>
  259. <el-table-column label="定位" width="70" align="center">
  260. <template slot-scope="scope">
  261. <i size="big" @click="location2(scope.row.lgtd,scope.row.lttd,5)"
  262. style="color:blue;font-size: 22px;cursor:pointer;"
  263. class="el-icon-location-outline"></i>
  264. </template>
  265. </el-table-column>
  266. </el-table>
  267. <div class="block" style='margin-top:15px;'>
  268. <el-pagination background @size-change="handleSizeChange_country"
  269. @current-change="handleCurrentChange_country" :page-sizes="[10,50, 100, 200]"
  270. :page-size="15" layout="total,sizes, prev, pager, next" :pager-count="3"
  271. :total="recordTotal_country">
  272. </el-pagination>
  273. </div>
  274. </div>
  275. </div>
  276. </el-col>
  277. </el-row>
  278. </el-tab-pane>
  279. <el-tab-pane label="地下水" name="five">
  280. <el-row style="margin-bottom:5px;">
  281. <el-col :span="24">
  282. <div class="grid-content bg-purple-light">
  283. <div style="padding:5px;">
  284. <span style="font-size: 12px;margin-left: 10px;">名称:</span>
  285. <el-input style="width:130px;" class="kjr-input" size="mini" v-model="model_dxs_name"
  286. placeholder="请输入名称查询">
  287. </el-input>
  288. &nbsp;&nbsp;&nbsp;
  289. <el-button @click="searchByName(5)" size="mini" type="primary">筛选</el-button>
  290. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  291. </div>
  292. <div style="padding:5px;">
  293. <el-table :data="tableData_dxsList" height="375" border stripe style="width: 100%">
  294. <el-table-column type="index" width="50" label="序号" align="center"
  295. :index="indexMethod_dxs">
  296. </el-table-column>
  297. <el-table-column prop="stnm" label="测站名称" min-width="110" align="center">
  298. </el-table-column>
  299. <el-table-column prop="stcd" label="测站编码" min-width="100" align="center">
  300. </el-table-column>
  301. <el-table-column prop="adnm" label="所属行政区" min-width="100" align="center">
  302. </el-table-column>
  303. <el-table-column label="定位" width="70" align="center">
  304. <template slot-scope="scope">
  305. <i size="big" @click="location2(scope.row.lgtdPc,scope.row.lttdPc,5)"
  306. style="color:blue;font-size: 22px;cursor:pointer;"
  307. class="el-icon-location-outline"></i>
  308. </template>
  309. </el-table-column>
  310. </el-table>
  311. <div class="block" style='margin-top:15px;'>
  312. <el-pagination background @size-change="handleSizeChange_dxs"
  313. @current-change="handleCurrentChange_dxs" :page-sizes="[10,50, 100, 200]"
  314. :page-size="15" layout="total,sizes, prev, pager, next" :pager-count="3"
  315. :total="recordTotal_dxs">
  316. </el-pagination>
  317. </div>
  318. </div>
  319. </div>
  320. </el-col>
  321. </el-row>
  322. </el-tab-pane>
  323. </el-tabs>
  324. </template>
  325. </el-card>
  326. </div>
  327. </el-col>
  328. </el-row>
  329. </div>
  330. </draggable>
  331. </transition>
  332. <transition name="el-fade-in-linear">
  333. <draggable :title="'水毁信息'" initTop=100 initLeft=220 initWidth=510 initHeight=485 v-if="processLineShow"
  334. @closeDraggable='closeModal'>
  335. <div class="process_line">
  336. <div class="item">
  337. <span class="title">属性<i class="el-icon-d-arrow-right"></i></span>
  338. </div>
  339. <div class="item content">
  340. <div class="item item_sk">
  341. <span class="label">项目名称:</span>
  342. <span class="label2" style="font-size: 13px;">{{curEventInfo.wtdstNm}}</span>
  343. <!-- <el-input disabled size="small" v-model="curEventInfo.wtdstNm" placeholder=""></el-input> -->
  344. </div>
  345. <div class="item item_sk">
  346. <span class="label">项目位置:</span>
  347. <span class="label2" style="font-size: 13px;">{{curEventInfo.locNm}}</span>
  348. </div>
  349. <div class="item item_sk">
  350. <span class="label">水毁情况:</span>
  351. <span class="label2" style="font-size: 13px;">{{curEventInfo.wtdstDtle}}</span>
  352. </div>
  353. <div class="item item_sk">
  354. <span class="label">项目进度:</span>
  355. <span class="label2" style="font-size: 13px;">{{curEventInfo.wtdstState}}</span>
  356. </div>
  357. <div class="item item_sk">
  358. <span class="label">计划完成:</span>
  359. <span class="label2" style="font-size: 13px;">{{curEventInfo.planRcvrTm}}</span>
  360. </div>
  361. </div>
  362. <div class="item" style="margin-top:10px;">
  363. <span class="title">问题<i class="el-icon-d-arrow-right"></i></span>
  364. </div>
  365. <div class="item content">
  366. <template>
  367. <el-table :data="wtqdData" height="200" highlight-current-row border stripe style="width: 100%">
  368. <el-table-column type="index" label="序号" align='center' width="50">
  369. </el-table-column>
  370. <el-table-column prop="inspPblmName" label="问题名称" align='center' width="100">
  371. </el-table-column>
  372. <el-table-column prop="inspPblmDesc" label="问题描述" align='center' width="100">
  373. </el-table-column>
  374. <!-- <el-table-column prop="inspAddDesc" label="问题地址" align='center' width="100">
  375. </el-table-column> -->
  376. <el-table-column prop="collTime" label="上报时间" :formatter="timestampToTime" align='center' width="100">
  377. </el-table-column>
  378. <el-table-column prop="pblmStat" label="处理状态" :formatter="processState" align='center' width="90">
  379. </el-table-column>
  380. <el-table-column fixed="right" label="操作" width="60">
  381. <template slot-scope="scope">
  382. <el-button @click="handleClick(scope.row)" type="text" size="small">详情</el-button>
  383. </template>
  384. </el-table-column>
  385. </el-table>
  386. </template>
  387. </div>
  388. <!--<div v-if="showMore_sh" class="item" style="margin-top:10px;">-->
  389. <!--<span class="title"><i class="el-icon-star-on"></i>问题详情</span>-->
  390. <!--</div>-->
  391. <transition name="el-fade-in-linear">
  392. <!--<div class="eventDetailClass">-->
  393. <draggable title="问题详情" @closeDraggable="closeDraggable_shxq" initTop=0 initLeft=300 initWidth=600
  394. initHeight=325 v-if="showMore_sh">
  395. <template>
  396. <el-table :data="tableData2" height="300" highlight-current-row border stripe style="width: 100%">
  397. <el-table-column type="index" label="序号" align='center' width="80">
  398. </el-table-column>
  399. <el-table-column prop="inspPblmName" label="问题名称" align='center' width="150">
  400. </el-table-column>
  401. <el-table-column prop="inspPblmDesc" label="问题描述" align='center' width="120">
  402. </el-table-column>
  403. <el-table-column prop="inspAddDesc" label="问题地址" align='center' width="150">
  404. </el-table-column>
  405. <el-table-column prop="collTime" label="上报时间" align='center' width="130" :formatter="timestampToTime">
  406. </el-table-column>
  407. <el-table-column prop="pblmStat" label="处理状态" align='center' width="100" :formatter="processState">
  408. </el-table-column>
  409. <el-table-column prop="pblmLong" label="问题经度" align='center' width="100">
  410. </el-table-column>
  411. <el-table-column prop="pblmLat" label="问题纬度" align='center' width="100">
  412. </el-table-column>
  413. <el-table-column prop="reviOpin" label="复查意见" align='center' width="100">
  414. </el-table-column>
  415. <el-table-column prop="reviConc" label="复查结论" align='center' width="100">
  416. </el-table-column>
  417. <el-table-column prop="recPers" label="操作记录人员" align='center' min-width="300">
  418. </el-table-column>
  419. </el-table>
  420. </template>
  421. </draggable>
  422. <!-- <eventProcess v-if="showEventProcess" :eventCode="eventProcessDataObj1.evCode" :eventProcessDataObj="eventProcessDataObj1" @closeDraggable="closeDraggable1"></eventProcess> -->
  423. <!--</div>-->
  424. </transition>
  425. </div>
  426. </draggable>
  427. </transition>
  428. <transition name="el-fade-in-linear">
  429. <draggable :title="'人员信息'" initTop=160 initLeft=6 initWidth=310 initHeight=484 v-if="processLineShow_people"
  430. @closeDraggable='closeModal_people'>
  431. <div class="process_line">
  432.   <div style="width:100%; height:210px;text-align:center; padding-top:10px;">
  433.    <img v-if="peopleDetail.imgurl != null" style="width: 150px;height: 200px;"
  434. :src="`/pdcApi` + peopleDetail.imgurl" alt="">
  435. <img v-else src="../../static/pic.jpg" alt="">
  436.   </div>
  437. <div style="width:100%;height:35px;text-align:center; padding-top:0px;font-size: 18px;font-weight: bold;">
  438.    <p>{{peopleDetail.persName}}</p>
  439.   </div>
  440. <div class="item content4">
  441. <div class="item item2">
  442. <span class="label">单 位:</span>
  443. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  444. <span style="font-size:14px;">{{peopleDetail.orgNm || "---"}}</span>
  445. </div>
  446. </div>
  447. <div class="item item2">
  448. <span class="label">职务/职称:</span>
  449. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  450. <span style="font-size:14px;">{{peopleDetail.admDuty || "---"}}</span>
  451. </div>
  452. <!-- <span style="font-size:14px;text-decoration: underline">{{peopleDetail.admDuty || "---"}}</span> -->
  453. </div>
  454. <div class="item item2">
  455. <span class="label">编 号:</span>
  456. <div style="width:170px;border-bottom:1px solid #dddddd;display: inline-block;">
  457. <span style="font-size:14px;">{{peopleDetail.idnm || "---"}}</span>
  458. </div>
  459. <!-- <span style="font-size:14px;text-decoration: underline">{{peopleDetail.idnm || "---"}}</span> -->
  460. </div>
  461. </div>
  462. <span style="font-size:14px;margin-left: 5px;">时间范围:</span>
  463. <el-date-picker size='mini' format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm:ss" style="width: 296px;"
  464. v-model="value5" type="datetimerange" :picker-options="pickerOptions2" range-separator="至"
  465. start-placeholder="开始日期" end-placeholder="结束日期" align="right">
  466. </el-date-picker>
  467. <el-button @click="peopleTrail(peopleDetail.guid)"
  468. style="margin-top: 5px;margin-left: 30px;padding: 7px 12px;" type="primary" size="mini">历史轨迹</el-button>
  469. <el-button @click="peopleTrail(peopleDetail.guid,false)"
  470. style="margin-top: 5px;margin-left: 30px;padding: 7px 12px;" type="primary" size="mini">轨迹数据表</el-button>
  471. <!-- <el-button style="float:right;margin-top: 5px;margin-right: 15px;padding: 7px 12px;" type="primary" size="mini">填报信息</el-button> -->
  472. </div>
  473. </draggable>
  474. </transition>
  475. <transition name="el-fade-in-linear">
  476. <draggable :title="'人员轨迹'" initTop=160 initLeft=326 initWidth=450 initHeight=720
  477. v-if="processLineShow_peopleTrail" @closeDraggable='closeModal_peopleTrail'>
  478. <div class="process_line">
  479. <el-row>
  480. <el-col :span="24">
  481. <div class="grid-content bg-purple-dark">
  482. <div style="padding:5px;">
  483. <el-table :data="tableData_peopleTrail" height="647" border stripe style="width: 100%"
  484. :default-sort="{prop: 'operateTime', order: 'ascending'}" @row-click="peopleTrailRowClick">
  485. <el-table-column type="index" width="50" label="序号" align="center">
  486. </el-table-column>
  487. <el-table-column prop="longitude" label="经度" width="100" align="center"
  488. :formatter="formatter_coordinateX">
  489. </el-table-column>
  490. <el-table-column prop="latitude" label="纬度" width="100" align="center"
  491. :formatter="formatter_coordinateY">
  492. </el-table-column>
  493. <el-table-column prop="operateTime" label="最新时间" width="150" align="center" sortable>
  494. </el-table-column>
  495. <!-- <el-table-column label="定位" width="auto" align="center">
  496. <template slot-scope="scope">
  497. <i size="big" @click="location(scope.$index, scope.row)" style="color:blue;font-size: 22px;cursor:pointer;"
  498. class="el-icon-location-outline"></i>
  499. </template>
  500. </el-table-column> -->
  501. </el-table>
  502. <!-- <div class="block">
  503. <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
  504. :page-sizes="[10,50, 100, 200]" :page-size="15" layout="total,sizes, prev, pager, next"
  505. :pager-count="3" :total="recordTotal">
  506. </el-pagination>
  507. </div> -->
  508. </div>
  509. </div>
  510. </el-col>
  511. </el-row>
  512. </div>
  513. </draggable>
  514. </transition>
  515. <transition name="el-fade-in-linear">
  516. <div class="eventDetailClass">
  517. <draggable title="问题详情" @closeDraggable="closeDraggable" initTop=100 initLeft=300 initWidth=490 initHeight=580
  518. v-if="showEventProcess">
  519. <div id="eventDetailBody" style="padding: 3px;">
  520. <div style="overflow-y: auto;">
  521. <table class="tableStyle" width="100%">
  522. <tbody>
  523. <tr>
  524. <td width="20%" class="name">督查对象类型&nbsp;</td>
  525. <td width="30%">
  526. {{eventDetailObj.inspPblmsName}}
  527. </td>
  528. <td width="20%" class="name">督查问题名称&nbsp;</td>
  529. <td width="30%">
  530. {{eventDetailObj.inspPblmsName}}
  531. </td>
  532. </tr>
  533. <tr>
  534. <td class="name">督查问题编码&nbsp;</td>
  535. <td>{{eventDetailObj.inspPblmCode}}</td>
  536. <td class="name"> 督查问题描述&nbsp;</td>
  537. <td>{{eventDetailObj.inspPblmDesc}}</td>
  538. </tr>
  539. <tr>
  540. <td class="name">督查问题地址&nbsp;</td>
  541. <td colspan="3">{{eventDetailObj.inspAddDesc}}</td>
  542. </tr>
  543. <tr>
  544. <td class="name"> 采集日期&nbsp;</td>
  545. <td colspan="3">{{timestampToTime(eventDetailObj) }}</td>
  546. </tr>
  547. <tr>
  548. <td class="name"> 上报人&nbsp;</td>
  549. <td colspan="3">{{eventDetailObj.persName}}</td>
  550. </tr>
  551. <tr>
  552. <td class="name">处理状态&nbsp;</td>
  553. <td colspan="3">
  554. <span v-if='eventDetailObj.pblmStat == 1'>已上报</span>
  555. <span v-else-if='eventDetailObj.pblmStat == 0'>未上报</span>
  556. </td>
  557. </tr>
  558. <tr>
  559. <td class="name">视频 &nbsp;</td>
  560. <td colspan="3"></td>
  561. </tr>
  562. <tr style="" id="photo">
  563. <td colspan="4">
  564. <template>
  565. <el-carousel :interval="5000" type="card" arrow="always">
  566. <el-carousel-item v-for="(item,index) in eventDetailObj.imageUrlArray" :key="index">
  567. <a :href="item.imgsrc" target="_blank">
  568. <img style="width:100%;height:100%;" :src="item.imgsrc" alt="">
  569. </a>
  570. </el-carousel-item>
  571. </el-carousel>
  572. </template>
  573. <!-- <el-carousel :interval="4000" type="card" height="300px">
  574. <el-carousel-item v-for="(item,index) in eventDetailObj.imageUrlArray" :key="index">
  575. <a :href="item.imgsrc" target="_blank">
  576. <img style="width:100%;height:100%;" :src="item.imgsrc" alt="">
  577. </a>
  578. </el-carousel-item>
  579. <el-carousel-item style="display:flex;flex-direction:row;jusitfy-content:center;align-items:center;"
  580. v-if="!eventDetailObj.hasOwnProperty('imageUrlArray')||eventDetailObj.imageUrlArray==''||eventDetailObj.imageUrlArray.length==0">
  581. <p style="margin-left: auto;
  582. margin-right: auto;
  583. color: #acacac;">暂无图片信息
  584. </p>
  585. </el-carousel-item>
  586. </el-carousel> -->
  587. </td>
  588. </tr>
  589. </tbody>
  590. </table>
  591. </div>
  592. </div>
  593. </draggable>
  594. <!-- <eventProcess v-if="showEventProcess" :eventCode="eventProcessDataObj1.evCode" :eventProcessDataObj="eventProcessDataObj1" @closeDraggable="closeDraggable1"></eventProcess> -->
  595. </div>
  596. </transition>
  597. <transition name="el-fade-in-linear">
  598. <draggable :title="'水库信息'" initTop=100 initLeft=220 initWidth=790 initHeight=500 v-if="processLineShow_shuiku"
  599. @closeDraggable='closeModal_shuiku'>
  600. <div class="process_line">
  601. <div class="item">
  602. <span class="title">属性<i class="el-icon-d-arrow-right"></i></span>
  603. </div>
  604. <div class="item content4">
  605. <div class="item3">
  606. <div>
  607. <span class="label5">水库名称:</span>
  608. <span class="label2">{{shuikuInfo.rsvrNm}}</span>
  609. </div>
  610. <div class="mt20">
  611. <span class="label5">所在地点:</span>
  612. <span class="label2 spanStyle" :title=shuikuInfo.hystSite>{{shuikuInfo.hystSite}}</span>
  613. </div>
  614. <div class="mt20">
  615. <span class="label5">建成时间:</span>
  616. <span class="label2">{{shuikuInfo.resCreateTime}}</span>
  617. </div>
  618. </div>
  619. <div class="item3">
  620. <div class="">
  621. <span class="label5">工程规模:</span>
  622. <span class="label2">{{formatEngScal(shuikuInfo.engScal)}}</span>
  623. </div>
  624. <div class="mt20">
  625. <span class="label5">总库容(m³):</span>
  626. <span class="label2">{{shuikuInfo.totCap}}</span>
  627. </div>
  628. <div class="mt20">
  629. <span class="label5">最大坝高(m):</span>
  630. <span class="label2">{{shuikuInfo.damMaxHigh}}</span>
  631. </div>
  632. </div>
  633. <div class="item3">
  634. <div class="">
  635. <span class="label5">主坝坝型:</span>
  636. <span class="label2">{{formatdamType(shuikuInfo.damType)}}</span>
  637. </div>
  638. <div class="mt20">
  639. <span class="label5">注册登记号:</span>
  640. <span class="label2">{{shuikuInfo.damRegCode}}</span>
  641. </div>
  642. </div>
  643. </div>
  644. <el-collapse v-model="activeNames_sk" @change="skhandleChange" accordion>
  645. <el-collapse-item title="三项基本要求落实情况" name="1">
  646. <el-card class="box-card">
  647. <div slot="header" class="clearfix">
  648. <span>安全管理(防汛)应急预案</span>
  649. </div>
  650. <div class="mt10">
  651. <span class="span100">是否编制:</span>
  652. <span class="ml10">{{shifouRadio(sxjbyq.emerPlanSameExta)}}</span>
  653. </div>
  654. <div class="mt10">
  655. <span class="span100">是否批复或备案:</span>
  656. <span class="ml10">{{shifouRadio(sxjbyq.emerPlanSameAppr)}}</span>
  657. </div>
  658. <div class="mt10">
  659. <span class="span100">是否进行演练:</span>
  660. <span class="ml10">{{shifouRadio(sxjbyq.emerPlanSameEme)}}</span>
  661. </div>
  662. <div class="mt10">
  663. <span class="span100">是否具备操作性:</span>
  664. <span class="ml10">{{shifouRadio(sxjbyq.emerPlanSameSpeed)}}</span>
  665. </div>
  666. </el-card>
  667. <el-card class="box-card">
  668. <div slot="header" class="clearfix">
  669. <span>水库调度运用方案</span>
  670. </div>
  671. <div class="mt10">
  672. <span class="span100">是否编制:</span>
  673. <span class="ml10">{{shifouRadio(sxjbyq.schPlanSameExta)}}</span>
  674. </div>
  675. <div class="mt10">
  676. <span class="span100">是否批复:</span>
  677. <span class="ml10">{{shifouRadio(sxjbyq.schPlanSameAppr)}}</span>
  678. </div>
  679. <div class="mt10">
  680. <span class="span100">是否进行演练:</span>
  681. <span class="ml10">{{shifouRadio(sxjbyq.schPlanSameEme)}}</span>
  682. </div>
  683. <div class="mt10">
  684. <span class="span100">是否具有操作性:</span>
  685. <span class="ml10">{{shifouRadio(sxjbyq.schPlanSameSpeed)}}</span>
  686. </div>
  687. </el-card>
  688. <el-card class="box-card">
  689. <div slot="header" class="clearfix">
  690. <span>水雨情预测预报</span>
  691. </div>
  692. <div class="mt30">
  693. <span class="span150">是否具有能力开展:</span>
  694. <span class="ml10">{{shifouRadio(sxjbyq.rainForc)}}</span>
  695. </div>
  696. </el-card>
  697. </el-collapse-item>
  698. <el-collapse-item title="三个责任人落实情况" name="2" class="sgzzr">
  699. <el-card class="box-card">
  700. <div slot="header" class="clearfix">
  701. <span>行政责任人情况</span>
  702. </div>
  703. <div class="mt10">
  704. <span class="span100">是否有行政责任人:</span>
  705. <span class="ml10">{{shifouRadio(sgzrr.hasWiunWaoLegPers)}}</span>
  706. </div>
  707. <div class="zrr mt10">
  708. <span class="span100">责任人姓名:</span>
  709. <span class="ml10">{{sgzrr.wiunWaoLegPers}}</span>
  710. </div>
  711. <div class="zrr mt10">
  712. <span class="span100">责任人电话:</span>
  713. <span class="ml10">{{sgzrr.wiunWaoLegPersTel}}</span>
  714. </div>
  715. <div class="zrr mt10">
  716. <span class="span100">责任人职务:</span>
  717. <span class="ml10">{{sgzrr.wiunWaoLegPersDuty}}</span>
  718. </div>
  719. <div class="zrr mt10 mr0">
  720. <span class="span100">履职情况:</span>
  721. <span class="ml10" v-if="sgzrr.wiunWaoLegPersResu == '0'">好</span>
  722. <span class="ml10" v-if="sgzrr.wiunWaoLegPersResu == '1'">一般</span>
  723. <span class="ml10" v-if="sgzrr.wiunWaoLegPersResu == '2'">差</span>
  724. </div>
  725. </el-card>
  726. <el-card class="box-card">
  727. <div slot="header" class="clearfix">
  728. <span>技术责任人情况</span>
  729. </div>
  730. <div class="zrr mt10">
  731. <span class="span100">是否有技术责任人:</span>
  732. <span class="ml10">{{shifouRadio(sgzrr.hasTechPers)}}</span>
  733. </div>
  734. <div class="zrr mt10">
  735. <span class="span100">责任人姓名:</span>
  736. <span class="ml10">{{sgzrr.techPers}}</span>
  737. </div>
  738. <div class="zrr mt10">
  739. <span class="span100">责任人电话:</span>
  740. <span class="ml10">{{sgzrr.techPersTel}}</span>
  741. </div>
  742. <div class="zrr mt10">
  743. <span class="span100">责任人职务:</span>
  744. <span class="ml10">{{sgzrr.techPersDuty}}</span>
  745. </div>
  746. <div class="zrr mt10 mr0">
  747. <span class="span100">履职情况:</span>
  748. <span class="ml10" v-if="sgzrr.techPersResu == '0'">好</span>
  749. <span class="ml10" v-if="sgzrr.techPersResu == '1'">一般</span>
  750. <span class="ml10" v-if="sgzrr.techPersResu == '2'">差</span>
  751. </div>
  752. </el-card>
  753. <el-card class="box-card">
  754. <div slot="header" class="clearfix">
  755. <span>巡查责任人情况</span>
  756. </div>
  757. <div class="zrr mt10">
  758. <span class="span100">是否有巡查责任人:</span>
  759. <span class="ml10">{{shifouRadio(sgzrr.hasPatrolPers)}}</span>
  760. </div>
  761. <div class="zrr mt10">
  762. <span class="span100">责任人姓名:</span>
  763. <span class="ml10">{{sgzrr.patrolPers}}</span>
  764. </div>
  765. <div class="zrr mt10">
  766. <span class="span100">责任人电话:</span>
  767. <span class="ml10">{{sgzrr.patrolPersTel}}</span>
  768. </div>
  769. <div class="zrr mt10">
  770. <span class="span100">责任人职务:</span>
  771. <span class="ml10">{{sgzrr.patrolPersDuty}}</span>
  772. </div>
  773. <div class="zrr mt10 mr0">
  774. <span class="span100">履职情况:</span>
  775. <span class="ml10" v-if="sgzrr.patrolPersResu == '0'">好</span>
  776. <span class="ml10" v-if="sgzrr.patrolPersResu == '1'">一般</span>
  777. <span class="ml10" v-if="sgzrr.patrolPersResu == '2'">差</span>
  778. </div>
  779. </el-card>
  780. </el-collapse-item>
  781. <el-collapse-item title="水库工程实体和运行管理情况" name="3" class="skgc">
  782. <el-card class="box-card">
  783. <div slot="header" class="clearfix">
  784. <span>安全运行总体评价</span>
  785. </div>
  786. <div class="zrr mt10">
  787. <span class="span110">安全评价:</span>
  788. <span class="ml10">{{shifouRadio(skgcst.safeComment)}}</span>
  789. </div>
  790. </el-card>
  791. <el-card class="box-card">
  792. <div slot="header" class="clearfix">
  793. <span>管理机构及经费</span>
  794. </div>
  795. <div class="zrr mt10">
  796. <span class="span110">是否有专门管理机构:</span>
  797. <span class="ml10">{{shifouRadio(skgcst.hasSpeManage)}}</span>
  798. </div>
  799. <div class="zrr mt10">
  800. <span class="span110">是否有管护人员:</span>
  801. <span class="ml10">{{shifouRadio(skgcst.hasManagePers)}}</span>
  802. </div>
  803. <div class="zrr mt10">
  804. <span class="span110">是否有稳定经费来源:</span>
  805. <span class="ml10">{{shifouRadio(skgcst.hasWdEmnic)}}</span>
  806. </div>
  807. </el-card>
  808. <el-card class="box-card">
  809. <div slot="header" class="clearfix">
  810. <span>蓄水运行状况</span>
  811. </div>
  812. <div class="zrr mt10">
  813. <span class="span100">正常运行:</span>
  814. <span class="ml10">{{shifouRadio(skgcst.retainRegular)}}</span>
  815. </div>
  816. <div class="zrr mt10">
  817. <span>不具备正常蓄水位运行条件:</span>
  818. <span class="ml10" v-if="skgcst.hasRetainRegular == '1'">但仍高水位运行</span>
  819. <span class="ml10" v-if="skgcst.hasRetainRegular == '2'">已采取措施限制水位运行</span>
  820. <span class="ml10" v-if="skgcst.hasRetainRegular == '0'">已空库运行</span>
  821. </div>
  822. </el-card>
  823. <el-card class="box-card">
  824. <div slot="header" class="clearfix">
  825. <span>挡水建筑物运行情况</span>
  826. </div>
  827. <div class="zrr mt10">
  828. <span class="span100">是否正常运行:</span>
  829. <span class="ml10">{{shifouRadio(skgcst.dikeHasLeak)}}</span>
  830. </div>
  831. <div class="zrr mt10">
  832. <span>是否明显漏水影响安全:</span>
  833. <span class="ml10">{{shifouRadio(skgcst.leakMakeSafe)}}</span>
  834. </div>
  835. <div class="zrr mt10">
  836. <span>是否有变形或不稳定情况:</span>
  837. <span class="ml10">{{shifouRadio(skgcst.hasAstable)}}</span>
  838. </div>
  839. </el-card>
  840. <el-card class="box-card">
  841. <div slot="header" class="clearfix">
  842. <span>泄洪建筑物运行情况</span>
  843. </div>
  844. <div class="zrr mt10">
  845. <span>是否设置泄洪建筑物:</span>
  846. <span class="ml10">{{shifouRadio(skgcst.hasSetMainFl)}}</span>
  847. </div>
  848. <div class="zrr mt10">
  849. <span>运行情况:</span>
  850. <span class="ml10">{{skgcst.isMainFlNormal}}</span>
  851. </div>
  852. </el-card>
  853. <el-card class="box-card">
  854. <div slot="header" class="clearfix">
  855. <span>防洪限制水位</span>
  856. </div>
  857. <div class="zrr mt10">
  858. <span>是否设置防洪限制水位:</span>
  859. <span class="ml10">{{shifouRadio(skgcst.havFlLowLimLev)}}</span>
  860. </div>
  861. <div class="zrr mt10">
  862. <span>超汛限水位运行:</span>
  863. <span class="ml10">{{shifouRadio(skgcst.gtFlLowLimLev)}}</span>
  864. </div>
  865. </el-card>
  866. <el-card class="box-card">
  867. <div slot="header" class="clearfix">
  868. <span>放水建筑物运行情况</span>
  869. </div>
  870. <div class="zrr mt10">
  871. <span>是否设置放水建筑物:</span>
  872. <span class="ml10">{{shifouRadio(skgcst.hasSetPourFl)}}</span>
  873. </div>
  874. <div class="zrr mt10">
  875. <span>运行情况:</span>
  876. <span class="ml10">{{skgcst.pourFyIsNormal}}</span>
  877. </div>
  878. </el-card>
  879. <el-card class="box-card">
  880. <div slot="header" class="clearfix">
  881. <span>大坝安全鉴定</span>
  882. </div>
  883. <div class="zrr mt10">
  884. <span>安全鉴定:</span>
  885. <span class="ml10">{{skgcst.extDamSafeAppr}}</span>
  886. </div>
  887. </el-card>
  888. <el-card class="box-card">
  889. <div slot="header" class="clearfix">
  890. <span>水库除险加固</span>
  891. </div>
  892. <div class="zrr mt10">
  893. <span>是否实施:</span>
  894. <span class="ml10">{{shifouRadio(skgcst.ifReinForce)}}</span>
  895. </div>
  896. <div class="zrr mt10">
  897. <span>实施情况:</span>
  898. <span class="ml10">{{skgcst.ifComplateAccAll}}</span>
  899. </div>
  900. </el-card>
  901. <el-card class="box-card">
  902. <div slot="header" class="clearfix">
  903. <span>公示情况</span>
  904. </div>
  905. <div class="zrr mt10">
  906. <span>是否设置水库公示牌:</span>
  907. <span class="ml10">{{shifouRadio(skgcst.ifDamWarnLogo)}}</span>
  908. </div>
  909. </el-card>
  910. <el-card class="box-card">
  911. <div slot="header" class="clearfix">
  912. <span>注册登记情况</span>
  913. </div>
  914. <div class="zrr mt10">
  915. <span>是否注册登记:</span>
  916. <span class="ml10">{{shifouRadio(skgcst.manageRegRelNote)}}</span>
  917. </div>
  918. <div class="zrr mt10">
  919. <span>注册信息真实:</span>
  920. <span class="ml10">{{shifouRadio(skgcst.ifManageRegRel)}}</span>
  921. </div>
  922. </el-card>
  923. </el-collapse-item>
  924. <el-collapse-item title="走访情况" name="4">
  925. <div class="item content">
  926. <template>
  927. <el-table :data="zfqkData" height="200" highlight-current-row border stripe style="width: 100%">
  928. <el-table-column prop="recPers2" label="走访人姓名" align='center'>
  929. </el-table-column>
  930. <el-table-column prop="knowResManager" label="是否知晓水库管护人员" align='center'>
  931. <template slot-scope="scope">
  932. <span>{{shifouRadio(scope.row.knowResManager)}}</span>
  933. </template>
  934. </el-table-column>
  935. <el-table-column prop="managerComment" label="对管护责任人的评价" align='center'>
  936. <template slot-scope="scope">
  937. <span style="font-weight:bolder;color:#F56C6C" v-if="scope.row.managerComment == 0">不满意</span>
  938. <span style="font-weight:bolder;color:#E6A23C" v-if="scope.row.managerComment == 1">一般</span>
  939. <span style="font-weight:bolder;color:#67C23A" v-if="scope.row.managerComment == 2">满意</span>
  940. </template>
  941. </el-table-column>
  942. <el-table-column prop="note" label="备注" :formatter="processState" align='center'>
  943. </el-table-column>
  944. </el-table>
  945. </template>
  946. </div>
  947. </el-collapse-item>
  948. <el-collapse-item title="问题清单" name="5">
  949. <div class="item content">
  950. <template>
  951. <el-table :data="wtqdData" height="200" highlight-current-row border stripe style="width: 100%">
  952. <!--<el-table-column prop="objType" label="督查对象类型" align='center' width="150">-->
  953. <!--</el-table-column>-->
  954. <!--<el-table-column prop="inspPblmType" label="督查问题类型" align='center' width="120"></el-table-column>-->
  955. <!--<el-table-column prop="inspPblmCode" label="督查问题编码" align='center' width="150" show-overflow-tooltip></el-table-column>-->
  956. <el-table-column prop="inspPblmName" label="督查问题名称" align='center' width="150"
  957. show-overflow-tooltip></el-table-column>
  958. <el-table-column prop="inspPblmDesc" label="督查问题描述" align='center' width="150"
  959. show-overflow-tooltip></el-table-column>
  960. <el-table-column prop="inspAddDesc" label="督查问题地址描述" align='center' width="200"
  961. show-overflow-tooltip></el-table-column>
  962. <el-table-column prop="objType" label="督查对象类型" align='center' width="150">
  963. </el-table-column>
  964. <el-table-column prop="inspPblmType" label="督查问题类型" align='center' width="120"></el-table-column>
  965. <el-table-column prop="inspPblmCode" label="督查问题编码" align='center' width="150"
  966. show-overflow-tooltip></el-table-column>
  967. <el-table-column prop="inspPblmName" label="督查问题名称" align='center' width="150"
  968. show-overflow-tooltip></el-table-column>
  969. <el-table-column prop="inspPblmDesc" label="督查问题描述" align='center' width="150"
  970. show-overflow-tooltip></el-table-column>
  971. <el-table-column prop="inspAddDesc" label="督查问题地址描述" align='center' width="200"
  972. show-overflow-tooltip></el-table-column>
  973. <el-table-column prop="objType" label="督查对象类型" align='center' width="150">
  974. </el-table-column>
  975. <el-table-column prop="inspPblmType" label="督查问题类型" align='center' width="120"></el-table-column>
  976. <el-table-column prop="inspPblmCode" label="督查问题编码" align='center' width="150"
  977. show-overflow-tooltip></el-table-column>
  978. <el-table-column prop="inspPblmName" label="督查问题名称" align='center' width="150"
  979. show-overflow-tooltip></el-table-column>
  980. <el-table-column prop="inspPblmDesc" label="督查问题描述" align='center' width="150"
  981. show-overflow-tooltip></el-table-column>
  982. <el-table-column prop="inspAddDesc" label="督查问题地址描述" align='center' width="200"
  983. show-overflow-tooltip></el-table-column>
  984. <!--<el-table-column prop="pblmLong" label="问题经度" align='center' width="130"></el-table-column>-->
  985. <!--<el-table-column prop="pblmLat" label="问题纬度" align='center'></el-table-column>-->
  986. <el-table-column prop="ifCasePblm" label="是否典型问题" align='center' width="150">
  987. <template slot-scope="scope">
  988. <span v-if="scope.row.ifCasePblm == 1">典型</span>
  989. <span v-if="scope.row.ifCasePblm == 0">非典型</span>
  990. </template>
  991. </el-table-column>
  992. <el-table-column prop="inspPblmOrgName" label="问题责任单位" align='center' width="150"></el-table-column>
  993. <el-table-column prop="pblmPersName" label="问题责任人" align='center' width="150"></el-table-column>
  994. <el-table-column prop="inspPblmCate" label="督查问题严重程度" align='center' width="150">
  995. <template slot-scope="scope">
  996. <span style="padding: 3px 10px;background:#27C19F;border-radius:15px;color:rgba(255,255,255,1)"
  997. v-if="scope.row.inspPblmCate == 0">一般</span>
  998. <span style="padding: 3px 10px;background:#E6A23C;border-radius:15px;color:rgba(255,255,255,1)"
  999. v-if="scope.row.inspPblmCate == 1">较重</span>
  1000. <span style="padding: 3px 10px;background:#F56C6C;border-radius:15px;color:rgba(255,255,255,1)"
  1001. v-if="scope.row.inspPblmCate == 2">严重</span>
  1002. </template>
  1003. </el-table-column>
  1004. <el-table-column prop="pblmStat" label="问题状态" align='center' width="150">
  1005. <template slot-scope="scope">
  1006. <span v-if="scope.row.pblmStat == 0">暂存</span>
  1007. <span v-if="scope.row.pblmStat == 1">上报</span>
  1008. <span v-if="scope.row.pblmStat == 2">审核</span>
  1009. <span v-if="scope.row.pblmStat == 3">审办</span>
  1010. <span v-if="scope.row.pblmStat == 4">整改通知</span>
  1011. <span v-if="scope.row.pblmStat == 5">整改反馈</span>
  1012. <span v-if="scope.row.pblmStat == 6">销号</span>
  1013. <span v-if="scope.row.pblmStat == 9">删除</span>
  1014. </template>
  1015. </el-table-column>
  1016. <el-table-column prop="reviOpin" label="复查意见" align='center' width="150"></el-table-column>
  1017. <el-table-column prop="reviConc" label="复查结论" align='center'>
  1018. <template slot-scope="scope">
  1019. <span v-if="scope.row.reviConc == 0">复查一次销号</span>
  1020. <span v-if="scope.row.reviConc == 1">进一步整改</span>
  1021. <span v-if="scope.row.reviConc == 2">多次整改销号</span>
  1022. </template>
  1023. </el-table-column>
  1024. <!--<el-table-column prop="dataStat" label="数据状态" align='center'></el-table-column>-->
  1025. <el-table-column prop="collTime" label="采集时间" align='center' :formatter="timestampToTime"
  1026. show-overflow-tooltip width="150">
  1027. </el-table-column>
  1028. <el-table-column prop="recPers" label="操作记录人员" align='center' width="150"></el-table-column>
  1029. </el-table>
  1030. </template>
  1031. </div>
  1032. </el-collapse-item>
  1033. </el-collapse>
  1034. </div>
  1035. </draggable>
  1036. </transition>
  1037. <transition name="el-fade-in-linear">
  1038. <draggable :title="'农村饮用水信息'" initTop=100 initLeft=220 initWidth=790 initHeight=500
  1039. v-if="processLineShow_country_water" @closeDraggable='closeModal_country_water' style="overflow: auto">
  1040. <div class="process_line">
  1041. <div class="item">
  1042. <span class="title">属性</span>
  1043. </div>
  1044. <div class="item content4">
  1045. <!--<div class="item6">-->
  1046. <!--<span class="label">县(区、市)名称:</span>-->
  1047. <!--<span class="ml10">{{countryWaterInfo.adCode}}</span>-->
  1048. <!--</div>-->
  1049. <div class="item6">
  1050. <span class="label">农村人口(万人):</span>
  1051. <span class="ml10">{{countryWaterInfo.personAmount}}</span>
  1052. </div>
  1053. <div class="item6">
  1054. <span class="label">集中供水率(%):</span>
  1055. <span class="ml10">{{countryWaterInfo.focusSupplyPerc ? countryWaterInfo.focusSupplyPerc * 100 + '%' :
  1056. ''}}</span>
  1057. </div>
  1058. <div class="item6">
  1059. <span class="label">自来水普及率(%):</span>
  1060. <span class="ml10">{{countryWaterInfo.waterSupplyPerc ? countryWaterInfo.waterSupplyPerc * 100 + '%' :
  1061. ''}}</span>
  1062. </div>
  1063. <div class="item6">
  1064. <span class="label">地方人民政府主体责任是否明确:</span>
  1065. <span class="ml10">{{shifouRadio(countryWaterInfo.isGovRes)}}</span>
  1066. </div>
  1067. <div class="item6">
  1068. <span class="label">水利部门行业监管责任是否明确:</span>
  1069. <span class="ml10">{{shifouRadio(countryWaterInfo.isConRes)}}</span>
  1070. </div>
  1071. <div class="item6">
  1072. <span class="label">供水单位运行管理责任是否到位:</span>
  1073. <span class="ml10">{{shifouRadio(countryWaterInfo.isDeptRes)}}</span>
  1074. </div>
  1075. <div class="item6">
  1076. <span class="label">是否建立县级运行管理机构:</span>
  1077. <span class="ml10">{{shifouRadio(countryWaterInfo.isCntyDept)}}</span>
  1078. </div>
  1079. <div class="item6">
  1080. <span class="label">是否建立县级运行管理办法:</span>
  1081. <span class="ml10">{{shifouRadio(countryWaterInfo.isCntyFunc)}}</span>
  1082. </div>
  1083. <div class="item6">
  1084. <span class="label">是否落实县级运行管理经费:</span>
  1085. <span class="ml10">{{shifouRadio(countryWaterInfo.isCntyFee)}}</span>
  1086. </div>
  1087. <div class="item6">
  1088. <span class="label">是否正常开展水质巡检:</span>
  1089. <span class="ml10">{{shifouRadio(countryWaterInfo.isQuailtyChk)}}</span>
  1090. </div>
  1091. <div class="item6">
  1092. <span class="label">2018年落实运行经费(万元):</span>
  1093. <span class="ml10">{{countryWaterInfo.pracFee}}</span>
  1094. </div>
  1095. </div>
  1096. <el-collapse v-model="activeNames_ny" @change="nyhandleChange" accordion class="nywater">
  1097. <el-collapse-item title="农村饮水工程运行管理情况表" name="1">
  1098. <el-table :data="tableData6" style="width: 100%">
  1099. <el-table-column label="概况" fixed>
  1100. <el-table-column prop="pjnm" label="工程名称" align="center" show-overflow-tooltip></el-table-column>
  1101. <el-table-column prop="villageNm" label="所在地" align="center" show-overflow-tooltip min-width="150">
  1102. </el-table-column>
  1103. <el-table-column prop="buildYear" align="center" label="建成年份" min-width="80"></el-table-column>
  1104. <el-table-column prop="planSupplyScale" label="设计供水规模(m³/d)" min-width="150" align="center">
  1105. </el-table-column>
  1106. <el-table-column prop="supplyScale" label="实际供水规模(m³/d)" min-width="150" align="center">
  1107. </el-table-column>
  1108. <el-table-column prop="personNum" label="覆盖人口(人)" min-width="120" align="center"></el-table-column>
  1109. <el-table-column align="center" label="管网漏损率(%)" min-width="150">
  1110. <template slot-scope="scope">
  1111. <span>{{scope.row.pipeDamagePer ? scope.row.pipeDamagePer * 100 + '%' : ''}}</span>
  1112. </template>
  1113. </el-table-column>
  1114. <el-table-column align="center" prop="projectType" label="工程类别" min-width="120" show-overflow-tooltip>
  1115. <template slot-scope="scope">
  1116. <span v-if="scope.row.projectType == 1">千吨万人</span>
  1117. <span v-else-if="scope.row.projectType == 2">千吨万人以下工程</span>
  1118. <span v-else-if="scope.row.projectType == 3">分散式工程</span>
  1119. <span v-else>城市管网延伸</span>
  1120. </template>
  1121. </el-table-column>
  1122. <el-table-column align="center" label="是否24小时不间断供水" min-width="200">
  1123. <template slot-scope="scope">
  1124. <span>{{shifouRadio(scope.row.is24hSupply)}}</span>
  1125. </template>
  1126. </el-table-column>
  1127. </el-table-column>
  1128. <el-table-column label="水质保障">
  1129. <el-table-column label="净化设施设备" align="center">
  1130. <el-table-column label="是否配备" align="center">
  1131. <template slot-scope="scope">
  1132. <span>{{shifouRadio(scope.row.isHavecleanEqui)}}</span>
  1133. </template>
  1134. </el-table-column>
  1135. <el-table-column label="是否正常运行" align="center" min-width="130">
  1136. <template slot-scope="scope">
  1137. <span>{{shifouRadio(scope.row.isCleanequiG)}}</span>
  1138. </template>
  1139. </el-table-column>
  1140. </el-table-column>
  1141. <el-table-column label="消毒设备" align="center">
  1142. <el-table-column prop="isHavedisinfect" label="是否配备" align="center">
  1143. <template slot-scope="scope">
  1144. <span>{{shifouRadio(scope.row.isHavedisinfect)}}</span>
  1145. </template>
  1146. </el-table-column>
  1147. <el-table-column prop="disinfectType" label="消毒方式" align="center">
  1148. <template slot-scope="scope">
  1149. <span v-if="scope.row.disinfectType == 1">液氯</span>
  1150. <span v-else-if="scope.row.disinfectType == 2">二氧化氯</span>
  1151. <span v-else-if="scope.row.disinfectType == 3">次氯酸钠</span>
  1152. <span v-else-if="scope.row.disinfectType == 4">臭氧</span>
  1153. <span v-else>紫外线</span>
  1154. </template>
  1155. </el-table-column>
  1156. <el-table-column prop="isDisinfectGood" label="是否正常运行" align="center" min-width="110">
  1157. <template slot-scope="scope">
  1158. <span>{{shifouRadio(scope.row.isDisinfectGood)}}</span>
  1159. </template>
  1160. </el-table-column>
  1161. </el-table-column>
  1162. <el-table-column label="水质检测报告" align="center">
  1163. <el-table-column prop="isHavereport" label="有无报告" align="center" min-width="110">
  1164. <template slot-scope="scope">
  1165. <span>{{youwuRadio(scope.row.isHavereport)}}</span>
  1166. </template>
  1167. </el-table-column>
  1168. <el-table-column prop="isQuailtyGood" label="是否达标" align="center" min-width="110">
  1169. <template slot-scope="scope">
  1170. <span>{{shifouRadio(scope.row.isQuailtyGood)}}</span>
  1171. </template>
  1172. </el-table-column>
  1173. </el-table-column>
  1174. <el-table-column label="千吨万人水厂水质化验室" align="center">
  1175. <el-table-column prop="isHaveLab" label="是否配备" align="center">
  1176. <template slot-scope="scope">
  1177. <span>{{shifouRadio(scope.row.isHaveLab)}}</span>
  1178. </template>
  1179. </el-table-column>
  1180. <el-table-column prop="isDailyCheck" label="是否开展日检" align="center" min-width="110">
  1181. <template slot-scope="scope">
  1182. <span>{{shifouRadio(scope.row.isDailyCheck)}}</span>
  1183. </template>
  1184. </el-table-column>
  1185. <el-table-column prop="isDailycheckGood" label="水质是否达标" align="center" min-width="110">
  1186. <template slot-scope="scope">
  1187. <span>{{shifouRadio(scope.row.isDailycheckGood)}}</span>
  1188. </template>
  1189. </el-table-column>
  1190. </el-table-column>
  1191. </el-table-column>
  1192. <el-table-column label="运行管理" align="center">
  1193. <el-table-column label="有无取水许可证" align="center" min-width="130">
  1194. <template slot-scope="scope">
  1195. <span>{{youwuRadio(scope.row.isInsLicence)}}</span>
  1196. </template>
  1197. </el-table-column>
  1198. <el-table-column label="有无卫生许可证" align="center" min-width="130">
  1199. <template slot-scope="scope">
  1200. <span>{{youwuRadio(scope.row.isSanLicence)}}</span>
  1201. </template>
  1202. </el-table-column>
  1203. <el-table-column label="自动化控制系统" align="center">
  1204. <el-table-column label="是否配备" align="center">
  1205. <template slot-scope="scope">
  1206. <span>{{shifouRadio(scope.row.isAutosystem)}}</span>
  1207. </template>
  1208. </el-table-column>
  1209. <el-table-column label="是否正常运行" align="center" min-width="130">
  1210. <template slot-scope="scope">
  1211. <span>{{shifouRadio(scope.row.isAutosysGood)}}</span>
  1212. </template>
  1213. </el-table-column>
  1214. </el-table-column>
  1215. <el-table-column label="视频安防系统" align="center">
  1216. <el-table-column label="是否配备" align="center" min-width="110">
  1217. <template slot-scope="scope">
  1218. <span>{{shifouRadio(scope.row.isVideoSystem)}}</span>
  1219. </template>
  1220. </el-table-column>
  1221. <el-table-column label="是否正常运行" align="center" min-width="130">
  1222. <template slot-scope="scope">
  1223. <span>{{shifouRadio(scope.row.isVideosysGood)}}</span>
  1224. </template>
  1225. </el-table-column>
  1226. </el-table-column>
  1227. <el-table-column label="水费水价" align="center">
  1228. <el-table-column prop="waterFee" label="执行水价(元/ m³)" align="center" min-width="140">
  1229. </el-table-column>
  1230. <el-table-column prop="waterCost" label="全成本(元/ m³)" align="center" min-width="140">
  1231. </el-table-column>
  1232. <el-table-column prop="operCost" label="运行成本(元/ m³)" align="center" min-width="140">
  1233. </el-table-column>
  1234. <el-table-column label="水费回收率(%)" align="center" min-width="140">
  1235. <template slot-scope="scope">
  1236. <span>{{scope.row.feeRecyclePer ? scope.row.feeRecyclePer * 100 + '%' : ''}}</span>
  1237. </template>
  1238. </el-table-column>
  1239. </el-table-column>
  1240. <el-table-column prop="manager" label="管理主体" align="center" show-overflow-tooltip>
  1241. <template slot-scope="scope">
  1242. <span v-if="scope.row.manager == 1">村委会</span>
  1243. <span v-else-if="scope.row.manager == 2">乡镇政府或水管站</span>
  1244. <span v-else-if="scope.row.manager == 3">供水公司</span>
  1245. <span v-else>租赁承包</span>
  1246. </template>
  1247. </el-table-column>
  1248. <el-table-column prop="isHaveHotline" label="是否配备供水服务热线电话" align="center" min-width="200">
  1249. <template slot-scope="scope">
  1250. <span>{{shifouRadio(scope.row.isHaveHotline)}}</span>
  1251. </template>
  1252. </el-table-column>
  1253. </el-table-column>
  1254. <el-table-column label="填报状态" prop="status" align="center" min-width="100">
  1255. <template slot-scope="scope">
  1256. <span v-if="scope.row.status == 0">未填报</span>
  1257. <span v-else>已填报</span>
  1258. </template>
  1259. </el-table-column>
  1260. <el-table-column label="暗访日期" prop="visitDate" align="center" min-width="100"></el-table-column>
  1261. <el-table-column label="记录人员" prop="recPers2" align="center"></el-table-column>
  1262. <el-table-column label="记录人员电话" prop="recPersTel" align="center" min-width="150"></el-table-column>
  1263. <!--<el-table-column-->
  1264. <!--align="center"-->
  1265. <!--show-overflow-tooltip-->
  1266. <!--label="操作"-->
  1267. <!--min-width="160"-->
  1268. <!--fixed="right"-->
  1269. <!--&gt;-->
  1270. <!--<template slot-scope="scope">-->
  1271. <!--<el-button type="success" plain @click="toAddMember('编辑',scope.row)">编辑</el-button>-->
  1272. <!--<el-button type="danger" plain @click="deleteMember(scope.row)">删除</el-button>-->
  1273. <!--</template>-->
  1274. <!--</el-table-column>-->
  1275. </el-table>
  1276. </el-collapse-item>
  1277. <el-collapse-item title="暗访调研行政村统计表" name="2">
  1278. <xingZhengCun :engId='YnEngId'></xingZhengCun>
  1279. </el-collapse-item>
  1280. <el-collapse-item title="村内农村饮水工程设施运行维护情况表" name="3">
  1281. <gongChengWeiHu :engId='YnEngId'></gongChengWeiHu>
  1282. </el-collapse-item>
  1283. <el-collapse-item title="用水户情况表" name="4">
  1284. <yongShuiQingKuang :engId='YnEngId'></yongShuiQingKuang>
  1285. </el-collapse-item>
  1286. <el-collapse-item title="千人以上供水工程水源地保护情况表" name="5">
  1287. <shuiYuanDi :engId='YnEngId'></shuiYuanDi>
  1288. </el-collapse-item>
  1289. </el-collapse>
  1290. </div>
  1291. </draggable>
  1292. </transition>
  1293. <transition name="el-fade-in-linear">
  1294. <draggable :title="'搜索结果'" initTop=220 :initLeft='screenWidth - 900' initWidth=885 initHeight=476
  1295. v-if="processLineShow_result" @closeDraggable='closeModal_result'>
  1296. <div class="process_line" style="padding-left:0px;">
  1297. <el-row style="margin-bottom:5px;">
  1298. <el-col :span="24">
  1299. <div class="grid-content bg-purple-light">
  1300. <el-card class="kjr-card box-card" style="height:433px;margin-bottom:0px;">
  1301. <template>
  1302. <el-tabs v-model="activeName_searchResult" @tab-click="handleClick_searchResult">
  1303. <el-tab-pane label="督查人员" name="first">
  1304. <el-table :data="tableData_search_people" height="370" border stripe style="width: 100%">
  1305. <el-table-column type="index" label="序号" width="50" align="center">
  1306. </el-table-column>
  1307. <el-table-column prop="persName" label="姓名" width="150" align="center">
  1308. </el-table-column>
  1309. <!-- <el-table-column prop="persName" label="姓名" width="150" align="center">
  1310. </el-table-column> -->
  1311. <el-table-column prop="mobilenumb" label="手机" width="180" align="center"
  1312. :formatter="formatter_peoplePhone">
  1313. </el-table-column>
  1314. <el-table-column prop="school" label="学校" width="220" align="center">
  1315. </el-table-column>
  1316. <!-- <el-table-column label="定位" width="60" align="center">
  1317. <template slot-scope="scope">
  1318. <i size="big" @click="location2(scope.row.lgtd,scope.row.lttd,5)" style="color:blue;font-size: 22px;cursor:pointer;"
  1319. class="el-icon-location-outline"></i>
  1320. </template>
  1321. </el-table-column> -->
  1322. </el-table>
  1323. </el-tab-pane>
  1324. <el-tab-pane label="水毁" name="fourth">
  1325. <el-table :data="tableData_search_shuihui" height="370" border stripe style="width: 100%">
  1326. <el-table-column type="index" width="50" label="序号" align="center">
  1327. </el-table-column>
  1328. <el-table-column prop="wtdstNm" label="项目名称" width="230" align="center">
  1329. </el-table-column>
  1330. <el-table-column prop="wtdstDtle" label="水毁情况" width="250" align="center">
  1331. </el-table-column>
  1332. <el-table-column prop="locNm" label="位置" width="160" align="center">
  1333. </el-table-column>
  1334. <el-table-column prop="wtdstType" label="类别" width="250" align="center">
  1335. </el-table-column>
  1336. <el-table-column prop="wtdstWrkam" label="主要工程量" width="210" align="center">
  1337. </el-table-column>
  1338. <el-table-column prop="planRcvrTm" label="计划修复日期" width="160" align="center">
  1339. </el-table-column>
  1340. <el-table-column prop="wtdstState" label="状态" width="100" align="center"
  1341. :formatter="formatter_shuihui_type">
  1342. </el-table-column>
  1343. <el-table-column prop="note" label="备注" width="100" align="center">
  1344. </el-table-column>
  1345. <el-table-column fixed="right" label="定位" width="70" align="center">
  1346. <template slot-scope="scope">
  1347. <i size="big" @click="location2(scope.row.wtdstLgtd,scope.row.wtdstLttd,5)"
  1348. style="color:blue;font-size: 22px;cursor:pointer;" class="el-icon-location-outline"></i>
  1349. </template>
  1350. </el-table-column>
  1351. </el-table>
  1352. </el-tab-pane>
  1353. <el-tab-pane label="小水库" name="third">
  1354. <el-table :data="tableData_search_shuiku" height="370" border stripe style="width: 100%">
  1355. <el-table-column type="index" label="序号" width="50" align="center">
  1356. </el-table-column>
  1357. <el-table-column prop="rsCode" label="管理单位代码" width="130" align="center" sortable>
  1358. </el-table-column>
  1359. <el-table-column prop="rsName" label="管理单位名称" width="130" align="center" sortable>
  1360. </el-table-column>
  1361. <el-table-column prop="rsAdmName" label="水库管理单位" width="220" align="center">
  1362. </el-table-column>
  1363. <el-table-column prop="rsType" label="水库类型" width="110" align="center"
  1364. :formatter="formatter_shuiku_type">
  1365. </el-table-column>
  1366. <el-table-column prop="engScal" label="工程规模" width="110" align="center"
  1367. :formatter="formatter_shuiku_pro_type">
  1368. </el-table-column>
  1369. <el-table-column prop="damSizeHig" label="主坝尺寸坝高(m)" width="150" align="center">
  1370. </el-table-column>
  1371. <el-table-column prop="totCap" label="总库容(万立方米)" width="150" align="center">
  1372. </el-table-column>
  1373. <el-table-column fixed="right" label="定位" width="70" align="center">
  1374. <template slot-scope="scope">
  1375. <i size="big" @click="location2(scope.row.longitude,scope.row.latitude,5)"
  1376. style="color:blue;font-size: 22px;cursor:pointer;" class="el-icon-location-outline"></i>
  1377. </template>
  1378. </el-table-column>
  1379. </el-table>
  1380. </el-tab-pane>
  1381. <el-tab-pane label="人饮" name="second">
  1382. <el-table :data="tableData_search_country" height="370" border stripe style="width: 100%">
  1383. <el-table-column type="index" label="序号" width="50" align="center">
  1384. </el-table-column>
  1385. <el-table-column prop="cwsCode" label="管理单位代码" width="150" align="center">
  1386. </el-table-column>
  1387. <el-table-column prop="cwsName" label="管理单位名称" width="180" align="center">
  1388. </el-table-column>
  1389. <el-table-column prop="cwsLoc" label="地址" width="180" align="center">
  1390. </el-table-column>
  1391. <el-table-column label="定位" width="60" align="center">
  1392. <template slot-scope="scope">
  1393. <i size="big" @click="location2(scope.row.cwsLong,scope.row.cwsLat,5)"
  1394. style="color:blue;font-size: 22px;cursor:pointer;" class="el-icon-location-outline"></i>
  1395. </template>
  1396. </el-table-column>
  1397. </el-table>
  1398. </el-tab-pane>
  1399. <el-tab-pane label="地下水" name="five" v-if="false">
  1400. <el-table :data="tableData_search_dxs" height="370" border stripe style="width: 100%">
  1401. <el-table-column type="index" label="序号" width="50" align="center">
  1402. </el-table-column>
  1403. <el-table-column prop="stnm" label="测站名称" min-width="110" align="center">
  1404. </el-table-column>
  1405. <el-table-column prop="stcd" label="测站编码" min-width="100" align="center">
  1406. </el-table-column>
  1407. <el-table-column prop="adnm" label="所属行政区" min-width="100" align="center">
  1408. </el-table-column>
  1409. <el-table-column label="定位" width="60" align="center">
  1410. <template slot-scope="scope">
  1411. <i size="big" @click="location2(scope.row.lgtdPc,scope.row.lttdPc,5)"
  1412. style="color:blue;font-size: 22px;cursor:pointer;" class="el-icon-location-outline"></i>
  1413. </template>
  1414. </el-table-column>
  1415. </el-table>
  1416. </el-tab-pane>
  1417. </el-tabs>
  1418. </template>
  1419. </el-card>
  1420. </div>
  1421. </el-col>
  1422. </el-row>
  1423. </div>
  1424. </draggable>
  1425. </transition>
  1426. <transition name="el-fade-in-linear">
  1427. <draggable :title="'数据表'" initTop=160 initLeft=126 initWidth=500 initHeight=720 v-if="processLineShow_XXX"
  1428. @closeDraggable='closeModal_XXX'>
  1429. <div class="process_line">
  1430. <el-row>
  1431. <el-col :span="24">
  1432. <div class="grid-content bg-purple-dark">
  1433. <template>
  1434. <el-input style="width: 200px;padding: 5px 5px;" v-model="model_search" size="mini"
  1435. placeholder="输入名称关键字搜索" />
  1436. </template>
  1437. <div style="padding:5px;">
  1438. <el-table
  1439. :data="tableData_XXX.filter(data => !model_search || data.nm.toLowerCase().includes(model_search.toLowerCase()))"
  1440. height="617" border stripe style="width: 100%"
  1441. :default-sort="{prop: 'operateTime', order: 'ascending'}">
  1442. <el-table-column type="index" width="50" label="序号" align="center">
  1443. </el-table-column>
  1444. <el-table-column v-for="(item,index) in tableHeaders_XXX" :key="index" :prop="item.fieldName"
  1445. :label="item.aliasName" :width="item.width" align="center">
  1446. </el-table-column>
  1447. <el-table-column fixed="right" label="定位" width="60" align="center">
  1448. <template slot-scope="scope">
  1449. <i size="big" @click="location2(scope.row.lgtd,scope.row.lttd,5)"
  1450. style="color:blue;font-size: 22px;cursor:pointer;" class="el-icon-location-outline"></i>
  1451. </template>
  1452. </el-table-column>
  1453. </el-table>
  1454. </div>
  1455. </div>
  1456. </el-col>
  1457. </el-row>
  1458. </div>
  1459. </draggable>
  1460. </transition>
  1461. <!--地下水测站-->
  1462. <groundWateDialog v-if="modal_dixiashui" @closeDraggable="closeModal_dixiashui" :propsStcd="stcd" :djbId = "djbId" :currentObjectId="currentObjectId"></groundWateDialog>
  1463. </div>
  1464. </template>
  1465. <script type="text/ecmascript-6">
  1466. import * as esriLoader from 'esri-loader'
  1467. import draggable from './draggable'
  1468. import layerControl from './LayerControl'
  1469. import layerControl2 from './LayerControl.2'
  1470. import axios from 'axios'
  1471. import request from '../../utils/gw_ajax_request.js';
  1472. import {
  1473. formatDateTime2
  1474. } from '../../utils/gw_date.js'
  1475. import xzqData from './xzqData'
  1476. import xzqCity from './xzqCity'
  1477. import xingZhengCun from './zhxx_xingzhengcun'
  1478. import gongChengWeiHu from './zhxx_gongchengweihu'
  1479. import yongShuiQingKuang from './ysqk_wiuStatusTable'
  1480. import shuiYuanDi from './shuiyuandi'
  1481. import {
  1482. getTableId_ny
  1483. } from "../../api/duChaTianBao.js"
  1484. import groundWateDialog from './groundWateDialog'
  1485. export default {
  1486. components: {
  1487. draggable,
  1488. layerControl,
  1489. xingZhengCun,
  1490. gongChengWeiHu,
  1491. yongShuiQingKuang,
  1492. shuiYuanDi,
  1493. layerControl2,
  1494. groundWateDialog
  1495. },
  1496. name: "sq-map",
  1497. data() {
  1498. return {
  1499. stcd:"50361903",
  1500. djbId:"",
  1501. currentObjectId:"",
  1502. modal_dixiashui:false
  1503. ,
  1504. bAdmin: false,
  1505. timer: "",
  1506. model_search_input: "",
  1507. bShowAddvcdSearch: false,
  1508. bShowSearch: true,
  1509. screenWidth: $(window).width(),
  1510. map_title: "",
  1511. bShowTitle: true,
  1512. model_search: "",
  1513. rowIndex: 0,
  1514. map: null,
  1515. view: null,
  1516. options: {
  1517. url: "/arcgisApi/4.9/init.js"
  1518. },
  1519. dialogInfo: false,
  1520. dlg_info: "信息",
  1521. processLineShow: false,
  1522. curEventInfo: {
  1523. "wtdstId": "82EEF7EA00324C1FBE6B5E8AC3095EC6",
  1524. "wtdstType": "洋沙湖闸出口崩岸处险工程",
  1525. "wtdstNm": "洋沙湖闸出口崩岸处险工程",
  1526. "wtdstState": "1",
  1527. "locAd": null,
  1528. "wtdstDtle": "堤坡垮塌约800平米",
  1529. "wtdstWrkam": "水闸出口深坑砂卵石和抛石回填;翼墙恢复接长20米;出口底板砼护砌360平米;翼墙两侧护坡43米",
  1530. "planRcvrTm": null,
  1531. "intm": null,
  1532. "uptm": "2019-02-23 13:15:44",
  1533. "note": null,
  1534. "wtdstLgtd": 112.863527,
  1535. "wtdstLttd": 28.650177,
  1536. "locNm": "湖南-岳阳市-湘阴县",
  1537. "list": []
  1538. },
  1539. zfqkData: [],
  1540. wtqdData: [],
  1541. tableData2: [{
  1542. inspPblmName: '小水库',
  1543. inspPblmDesc: '泄洪问题',
  1544. inspAddDesc: "江苏 南京",
  1545. collTime: '2018/01/01',
  1546. pblmStat: '已解决'
  1547. }],
  1548. tableData5: [{
  1549. inspPblmName: '小水库',
  1550. inspPblmDesc: '泄洪问题',
  1551. inspAddDesc: "江苏 南京",
  1552. collTime: '2018/01/01',
  1553. pblmStat: '已解决'
  1554. }],
  1555. //
  1556. tableData_XXX: [],
  1557. tableHeaders_XXX: [{
  1558. fieldName: "code",
  1559. aliasName: "编码",
  1560. width: 120
  1561. }, {
  1562. fieldName: "nm",
  1563. aliasName: "名称",
  1564. width: 110
  1565. }, {
  1566. fieldName: "locNm",
  1567. aliasName: "位置",
  1568. width: 120
  1569. }],
  1570. dlg_info_people: "信息",
  1571. curEventInfo_people: {
  1572. },
  1573. processLineShow_people: false,
  1574. processLineShow_peopleTrail: false,
  1575. tableData_peopleTrail: [],
  1576. dlg_info2: "详情",
  1577. dialogInfo2: false,
  1578. showMore: false,
  1579. showMore_sh: false,
  1580. tableData_people: [],
  1581. //xiangiqng
  1582. showEventProcess: false,
  1583. draagableTitle: "",
  1584. imageUrlArray: [{
  1585. imgsrc: 'http://60.208.113.77:8081//hzz_file/20180831/event/20180831102340_1535682220315.png'
  1586. },
  1587. {
  1588. imgsrc: 'http://60.208.113.77:8081//hzz_file/20180831/event/20180831102342_1535682222752.png'
  1589. },
  1590. {
  1591. imgsrc: 'http://60.208.113.77:8081//hzz_file/20180929/event/20180929152337_1538205817423.png'
  1592. }
  1593. ],
  1594. eventProcessDataObj1: {},
  1595. eventDetailObj: '',
  1596. activeNames_sk: ['0'],
  1597. activeNames_ny: ['0'],
  1598. sxjbyq: {
  1599. "rgstrId": "",
  1600. 'recPersId': "",
  1601. "emerPlanSameExta": "",
  1602. "emerPlanSameAppr": "",
  1603. "emerPlanSameEme": "",
  1604. "emerPlanSameSpeed": "",
  1605. "schPlanSameExta": "",
  1606. "schPlanSameAppr": "",
  1607. "schPlanSameSpeed": "",
  1608. "rainForc": "",
  1609. },
  1610. sgzrr: {
  1611. "dutyId": '',
  1612. "hasPatrolPers": "", //是否有巡查责任人
  1613. "hasTechPers": "", //是否有技术责任人
  1614. "hasWiunWaoLegPers": "", //是否有行政责任人
  1615. "patrolPers": "", //巡查责任人姓名
  1616. "patrolPersDuty": "", //巡查责任人职务
  1617. "patrolPersResu": "", //巡查责任人履职情况 0 1 2
  1618. "patrolPersTel": "", //巡查责任人电话
  1619. "rgstrId": "", //水库督查登记ID
  1620. "techPers": "", //技术责任人姓名
  1621. "techPersDuty": "", //技术责任人职务
  1622. "techPersResu": "", //技术责任人履职情况
  1623. "techPersTel": "", //技术责任人电话
  1624. "wiunWaoLegPers": "", //行政责任人姓名
  1625. "wiunWaoLegPersDuty": "", //行政责任人职务
  1626. "wiunWaoLegPersResu": "", //行政责任人履职情况
  1627. "wiunWaoLegPersTel": "", //行政责任人电话
  1628. },
  1629. skgcst: {
  1630. "mngrnId": '',
  1631. "rgstrId": '',
  1632. "recPersId": '',
  1633. "safeCommontNote": '',
  1634. "safeComment": "",
  1635. "retainRegular": '',
  1636. "hasRetainRegular": '',
  1637. "hasWdEmnic": '',
  1638. "hasManagePers": '',
  1639. "hasSpeManage": '',
  1640. "noRetainRegular": '',
  1641. "canNotRetainWater": '',
  1642. "dikeHasLeak": '',
  1643. "leakMakeSafe": '',
  1644. "hasAstable": '',
  1645. "hasSetMainFl": '',
  1646. "isMainFlNormal": '',
  1647. "hasSetPourFl": '',
  1648. "pourFyIsNormal": '',
  1649. "havFlLowLimLev": '',
  1650. "gtFlLowLimLev": '',
  1651. "extDamSafeAppr": '',
  1652. "ifReinForce": '',
  1653. "ifComplateAccAll": '',
  1654. "ifManageRegRel": '',
  1655. "manageRegRelNote": '',
  1656. "ifDamWarnLogo": '',
  1657. "recPers2": '',
  1658. "recPersTel": '',
  1659. "status": '',
  1660. },
  1661. //shuiku
  1662. shuikuInfo: {
  1663. "rsName": '',
  1664. "rsAdmName": "",
  1665. "rsLoc": "",
  1666. "intm": "",
  1667. "engScal": "",
  1668. "totCap": "",
  1669. "damMaxHigh": "",
  1670. "damTypeStr": "",
  1671. "regCode": "",
  1672. "rsvrLong": "",
  1673. "rsvrLat": "",
  1674. "resCreateTime": "",
  1675. },
  1676. processLineShow_shuiku: false,
  1677. //country_water
  1678. countryWaterInfo: {
  1679. recPersId: '',
  1680. adCode: '',
  1681. personAmount: '',
  1682. focusSupplyPerc: '',
  1683. waterSupplyPerc: '',
  1684. isGovRes: '',
  1685. isConRes: '',
  1686. isDeptRes: '',
  1687. isCntyDept: '',
  1688. isCntyFunc: '',
  1689. isCntyFee: '',
  1690. isQuailtyChk: '',
  1691. pracFee: '',
  1692. visitDate: '',
  1693. visitorIds: '',
  1694. status: '',
  1695. recPers2: '',
  1696. recPersTel: '',
  1697. accompany: '',
  1698. mngrId: ''
  1699. },
  1700. processLineShow_country_water: false,
  1701. //peopleTable
  1702. // peopleTableVisible: false,
  1703. curNode: "1",
  1704. processLineShow_peopleTable: false,
  1705. activeTabName: 'three',
  1706. activeName_data_common: "first",
  1707. tableData_peopleList: [],
  1708. processLineShow_common: false,
  1709. pageSize: 10,
  1710. pageIndex: 1,
  1711. orderField: "operate_time",
  1712. sortBy: "desc",
  1713. recordTotal: 0,
  1714. pageSize_shuihui: 10,
  1715. pageIndex_shuihui: 1,
  1716. recordTotal_shuihui: 0,
  1717. pageSize_shuiku: 10,
  1718. pageIndex_shuiku: 1,
  1719. recordTotal_shuiku: 0,
  1720. pageSize_country: 10,
  1721. pageIndex_country: 1,
  1722. recordTotal_country: 0,
  1723. pageSize_dxs: 10,
  1724. pageIndex_dxs: 1,
  1725. recordTotal_dxs: 0,
  1726. //通用
  1727. pageSize_common: 10,
  1728. pageIndex_common: 1,
  1729. recordTotal_common: 0,
  1730. tableData_common: [],
  1731. //
  1732. searchName: "",
  1733. curId: "",
  1734. curOrgId: "1",
  1735. curBasin: "",
  1736. curType: "",
  1737. //tree
  1738. defaultProps: {
  1739. children: 'children',
  1740. label: 'pnm'
  1741. },
  1742. treeData: [{
  1743. id: "1",
  1744. pnm: '全国',
  1745. children: []
  1746. }],
  1747. treeData2: [{
  1748. id: "1",
  1749. pnm: '全国',
  1750. children: []
  1751. }],
  1752. treeData3: [],
  1753. treeData4: [{
  1754. id: "1",
  1755. pnm: '所有成员',
  1756. children: []
  1757. }],
  1758. defaultProps3: {
  1759. label: 'orgNm',
  1760. children: 'children',
  1761. // isLeaf: 'leaf'
  1762. },
  1763. model_peopleName: "",
  1764. model_shuiku_finish: false,
  1765. model_groupManager: false,
  1766. model_peopleOnline: false,
  1767. //
  1768. model_shuiku_statistic: false,
  1769. //
  1770. model_shuihui_name: "",
  1771. model_country_name: "",
  1772. model_shuiku_name: "",
  1773. model_dxs_name: "",
  1774. //水毁
  1775. processLineShow_shuihuiTable: false,
  1776. tableData_shuihuiList: [],
  1777. //shuiku
  1778. processLineShow_shuikuTable: false,
  1779. tableData_shuikuList: [],
  1780. //country water
  1781. processLineShow_countrywaterTable: false,
  1782. processLineShow_dxsTable: false,
  1783. tableData_countrywaterList: [],
  1784. tableData_dxsList: [],
  1785. //
  1786. processLineShow_result: false,
  1787. processLineShow_data_common: true,
  1788. activeName_searchResult: "first",
  1789. tableData_search_shuihui: [],
  1790. tableData_search_country: [],
  1791. tableData_search_dxs: [],
  1792. tableData_search_shuiku: [],
  1793. tableData_search_people: [],
  1794. processLineShow_XXX: false,
  1795. peopleDetail: null,
  1796. pickerOptions2: {
  1797. shortcuts: [{
  1798. text: '最近一天',
  1799. onClick(picker) {
  1800. const end = new Date();
  1801. const start = new Date();
  1802. start.setTime(start.getTime() - 3600 * 1000 * 24 * 1);
  1803. picker.$emit('pick', [start, end]);
  1804. }
  1805. }, {
  1806. text: '最近三天',
  1807. onClick(picker) {
  1808. const end = new Date();
  1809. const start = new Date();
  1810. start.setTime(start.getTime() - 3600 * 1000 * 24 * 3);
  1811. picker.$emit('pick', [start, end]);
  1812. }
  1813. }, {
  1814. text: '最近一周',
  1815. onClick(picker) {
  1816. const end = new Date();
  1817. const start = new Date();
  1818. start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
  1819. picker.$emit('pick', [start, end]);
  1820. }
  1821. }, {
  1822. text: '最近一个月',
  1823. onClick(picker) {
  1824. const end = new Date();
  1825. const start = new Date();
  1826. start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
  1827. picker.$emit('pick', [start, end]);
  1828. }
  1829. }, {
  1830. text: '最近三个月',
  1831. onClick(picker) {
  1832. const end = new Date();
  1833. const start = new Date();
  1834. start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
  1835. picker.$emit('pick', [start, end]);
  1836. }
  1837. }]
  1838. },
  1839. value4: [new Date(2000, 10, 10, 10, 10), new Date(2000, 10, 11, 10, 10)],
  1840. value5: '',
  1841. map_server: "http://10.1.17.61:6080/arcgis/rest/services/sqhs_xzbj_new/MapServer",
  1842. //////////////
  1843. tableData6: [],
  1844. total: 0,
  1845. dialogFormVisible: false,
  1846. rgstrId: '',
  1847. getObjId: '',
  1848. YnEngId: '',
  1849. timeInterval_people: '', //定时刷新人员位置
  1850. }
  1851. },
  1852. watch: {
  1853. // processLineShow_shuihuiTable: function () {
  1854. // if (this.processLineShow_shuihuiTable && this.tableData_shuihuiList.length == 0) {
  1855. // this.loadTableShuihui()
  1856. // }
  1857. // },
  1858. // processLineShow_shuikuTable: function () {
  1859. // if (this.processLineShow_shuikuTable && this.tableData_shuikuList.length == 0) {
  1860. // this.loadTableShuiku();
  1861. // }
  1862. // },
  1863. // processLineShow_countrywaterTable: function () {
  1864. // if (this.processLineShow_countrywaterTable && this.tableData_countrywaterList.length == 0) {
  1865. // this.loadTableCountry()
  1866. // }
  1867. // },
  1868. model_peopleName: function () {
  1869. this.rowIndex = 0;
  1870. this.pageSize = pageSize;
  1871. // this.getOnlinePeoples();
  1872. if (!this.bAdmin) {
  1873. this.getOnlinePeoples();
  1874. } else if (this.activeTabName == "three") {
  1875. this.getOnlinePeoples2();
  1876. } else {
  1877. this.getOnlinePeoples();
  1878. }
  1879. },
  1880. curId() {
  1881. // this.loadPoint_people(point_people)
  1882. }
  1883. },
  1884. computed: {
  1885. recPersId() {
  1886. return localStorage.getItem("userid") ? localStorage.getItem("userid") : ''
  1887. }
  1888. },
  1889. mounted: function () {
  1890. var _this = this;
  1891. this.$nextTick(function () {
  1892. this.createMap();
  1893. $("#viewDiv").height($(window).height() - 91);
  1894. })
  1895. $(window).resize(function () {
  1896. $("#viewDiv").height($(window).height() - 91);
  1897. });
  1898. let start_time = new Date();
  1899. start_time.setTime(start_time.getTime() - 3600 * 1000 * 24 * 1);
  1900. this.value5 = [this.formatDate(start_time, 'yyyy-MM-dd hh:mm:ss'), this.formatDate(new Date(),
  1901. 'yyyy-MM-dd hh:mm:ss')];
  1902. this.loadTableShuihui()
  1903. this.loadTableShuiku()
  1904. this.loadTableCountry()
  1905. this.loadTableDxs()
  1906. },
  1907. methods: {
  1908. btnSearch() {
  1909. console.log(this.model_search_input)
  1910. axios.get(`/pdcApi/dc/insp/base/findAllObj`, {
  1911. params: {
  1912. pageNum: 1,
  1913. pageSize: 100,
  1914. objParam: this.model_search_input
  1915. }
  1916. })
  1917. .then((res) => {
  1918. if (res.status == 200 && res.data.data != null) {
  1919. var objs = res.data.data;
  1920. this.processLineShow_result = true
  1921. this.tableData_search_shuihui = objs.attPersWtdstList.list;
  1922. this.tableData_search_country = objs.attCwsBaseList.list;
  1923. this.tableData_search_shuiku = objs.attPersRsList.list;
  1924. this.tableData_search_people = objs.attPersBaseList.list;
  1925. this.tableData_search_dxs = objs.attGrwBaseList.list; //地下水
  1926. }
  1927. })
  1928. },
  1929. loadTableShuihui() {
  1930. axios.get(`/pdcApi/dc/insp/obj/getPageByPersId`, {
  1931. params: {
  1932. persGuid: localStorage.getItem("userid"),
  1933. objType: 3,
  1934. pageNum: this.pageIndex_shuihui,
  1935. pageSize: this.pageSize_shuihui,
  1936. wtdstNm: this.model_shuihui_name
  1937. }
  1938. })
  1939. .then((res) => {
  1940. console.log(res)
  1941. if (res.status == 200 && res.data.data != null) {
  1942. var obj = res.data.data;
  1943. this.tableData_shuihuiList = obj.list;
  1944. // this.tableData_common = obj.list;
  1945. // this.recordTotal = obj.total;
  1946. this.recordTotal_shuihui = obj.total;
  1947. }
  1948. })
  1949. },
  1950. loadTableShuiku() {
  1951. // axios.get(`/pdcApi/dc/insp/obj/getObjByPersId`, {
  1952. axios.get(`/pdcApi/dc/insp/obj/getPageByPersId`, {
  1953. params: {
  1954. persGuid: localStorage.getItem("userid"),
  1955. objType: 1,
  1956. pageNum: this.pageIndex_shuiku,
  1957. pageSize: this.pageSize_shuiku,
  1958. rsName: this.model_shuiku_name
  1959. }
  1960. })
  1961. .then((res) => {
  1962. console.log(res)
  1963. if (res.status == 200 && res.data.data != null) {
  1964. var obj = res.data.data;
  1965. this.tableData_shuikuList = obj.list;
  1966. // this.tableData_common = obj.list;
  1967. // this.recordTotal = obj.total;
  1968. this.recordTotal_shuiku = obj.total;
  1969. }
  1970. })
  1971. },
  1972. loadTableCountry() {
  1973. axios.get(`/pdcApi/dc/insp/obj/getPageByPersId`, {
  1974. params: {
  1975. persGuid: localStorage.getItem("userid"),
  1976. objType: 2,
  1977. pageNum: this.pageIndex_country,
  1978. pageSize: this.pageSize_country,
  1979. adName: this.model_country_name
  1980. }
  1981. })
  1982. .then((res) => {
  1983. console.log(res)
  1984. if (res.status == 200 && res.data.data != null) {
  1985. var obj = res.data.data;
  1986. this.tableData_countrywaterList = obj.list;
  1987. this.tableData_common = obj.list;
  1988. // this.recordTotal = obj.total;
  1989. this.recordTotal_country = obj.total;
  1990. }
  1991. })
  1992. },
  1993. loadTableDxs() {
  1994. axios.get(`/pdcApi/dc/insp/obj/getPageByPersId`, {
  1995. params: {
  1996. persGuid: localStorage.getItem("userid"),
  1997. objType: 5,
  1998. pageNum: this.pageIndex_dxs,
  1999. pageSize: this.pageSize_dxs,
  2000. adName: this.model_dxs_name
  2001. }
  2002. })
  2003. .then((res) => {
  2004. console.log(res)
  2005. if (res.status == 200 && res.data.data != null) {
  2006. var obj = res.data.data;
  2007. this.tableData_dxsList = obj.list;
  2008. // this.tableData_common = obj.list;
  2009. this.recordTotal_dxs = obj.total;
  2010. }
  2011. })
  2012. },
  2013. loadTreeData3(node, resolve) {
  2014. if (node.level === 0) {
  2015. axios.get(`/pdcApi/pers/position/getOrgByPid?orgId=0`, {
  2016. params: {}
  2017. })
  2018. .then((res) => {
  2019. console.log("机构......", res)
  2020. if (res.status == 200 && res.data.data != null) {
  2021. var obj = res.data.data[0];
  2022. var tree = [];
  2023. obj.olBisInspOrg['orgNm'] = obj.olBisInspOrg['orgNm'] + `(${obj.onLineCount}/${obj.count})`;
  2024. tree.push(obj.olBisInspOrg);
  2025. return resolve(tree);
  2026. }
  2027. })
  2028. .catch(function (error) {
  2029. console.log(error);
  2030. });
  2031. }
  2032. if (node.level > 1) {
  2033. axios.get(`/pdcApi/pers/position/getOrgByPid`, {
  2034. params: {
  2035. orgId: "1"
  2036. }
  2037. })
  2038. .then((res) => {
  2039. console.log("机构......", res)
  2040. if (res.status == 200 && res.data.data != null) {
  2041. var obj = res.data.data[0];
  2042. var tree = [];
  2043. obj.olBisInspOrg['orgNm'] = obj.olBisInspOrg['orgNm'] + `(${obj.onLineCount}/${obj.count})`;
  2044. tree.push(obj.olBisInspOrg);
  2045. return resolve(tree);
  2046. }
  2047. })
  2048. .catch(function (error) {
  2049. console.log(error);
  2050. });
  2051. return resolve([]);
  2052. }
  2053. },
  2054. toHome() {
  2055. this.view.center = [106, 33];
  2056. this.view.zoom = 5;
  2057. },
  2058. refreashOnline() {
  2059. if (this.bAdmin) {
  2060. this.activeTabName = "three";
  2061. this.curOrgId = "1";
  2062. this.initTree();
  2063. }
  2064. this.$message({
  2065. message: '刷新成功!',
  2066. type: 'success'
  2067. });
  2068. },
  2069. handleTabClick(tab, event) {
  2070. this.curNode = "1";
  2071. },
  2072. handleNodeClick(data) {
  2073. console.log("handleNodeClick...........", data);
  2074. if (data) {
  2075. if (!this.bAdmin && data.id == "1") {
  2076. this.curId = data.id__;
  2077. } else {
  2078. if (data.id == "1") {
  2079. this.curId = "";
  2080. } else {
  2081. this.curId = data.id;
  2082. }
  2083. }
  2084. this.getOnlinePeoples();
  2085. // this.updatePeopleOnMap();
  2086. this.loadPoint_people("point_people");
  2087. }
  2088. },
  2089. handleNodeClick3(data) {
  2090. console.log(data);
  2091. if (data) {
  2092. if (data.orgId == "1") {
  2093. this.curOrgId = "1";
  2094. } else {
  2095. this.curOrgId = data.orgId;
  2096. }
  2097. this.curNode = data.orgId;
  2098. this.getOnlinePeoples2();
  2099. // this.updatePeopleOnMap();
  2100. this.loadPoint_people("point_people");
  2101. }
  2102. },
  2103. handleSizeChange: function (pageSize) {
  2104. this.rowIndex = 0;
  2105. this.pageSize = pageSize;
  2106. // this.getOnlinePeoples();
  2107. if (!this.bAdmin) {
  2108. this.getOnlinePeoples();
  2109. } else if (this.activeTabName == "three") {
  2110. this.getOnlinePeoples2();
  2111. } else {
  2112. this.getOnlinePeoples();
  2113. }
  2114. },
  2115. handleCurrentChange: function (pageNum) {
  2116. this.rowIndex = 0;
  2117. this.pageIndex = pageNum;
  2118. // this.getOnlinePeoples();
  2119. if (!this.bAdmin) {
  2120. this.getOnlinePeoples();
  2121. } else if (this.activeTabName == "three") {
  2122. this.getOnlinePeoples2();
  2123. } else {
  2124. this.getOnlinePeoples();
  2125. }
  2126. },
  2127. people_sortEvent(column, prop, order) {
  2128. console.log(column, prop, order)
  2129. if (column.column == null)
  2130. return;
  2131. // this.orderField = column.prop;
  2132. if (column.order == "ascending") {
  2133. this.sortBy = "asc";
  2134. } else if (column.order == "descending") {
  2135. this.sortBy = "desc";
  2136. }
  2137. this.orderField = column.prop.replace(/\B([A-Z])/g, '_$1').toLowerCase()
  2138. if (!this.bAdmin) {
  2139. this.getOnlinePeoples();
  2140. } else if (this.activeTabName == "three") {
  2141. this.getOnlinePeoples2();
  2142. } else {
  2143. this.getOnlinePeoples();
  2144. }
  2145. },
  2146. handleSizeChange_shuihui: function (pageSize) {
  2147. this.pageSize_shuihui = pageSize;
  2148. this.loadTableShuihui();
  2149. },
  2150. handleCurrentChange_shuihui: function (pageNum) {
  2151. this.pageIndex_shuihui = pageNum;
  2152. this.loadTableShuihui();
  2153. },
  2154. handleSizeChange_country: function (pageSize) {
  2155. this.pageSize_country = pageSize;
  2156. this.loadTableCountry();
  2157. },
  2158. handleCurrentChange_country: function (pageNum) {
  2159. this.pageIndex_country = pageNum;
  2160. this.loadTableCountry();
  2161. },
  2162. handleSizeChange_dxs: function (pageSize) {
  2163. this.pageSize_country = pageSize;
  2164. this.loadTableDxs();
  2165. },
  2166. handleCurrentChange_dxs: function (pageNum) {
  2167. this.pageIndex_country = pageNum;
  2168. this.loadTableDxs();
  2169. },
  2170. handleSizeChange_shuiku: function (pageSize) {
  2171. this.pageSize_shuiku = pageSize;
  2172. this.loadTableShuiku();
  2173. },
  2174. handleCurrentChange_shuiku: function (pageNum) {
  2175. this.pageIndex_shuiku = pageNum;
  2176. this.loadTableShuiku();
  2177. },
  2178. location(index, row) {
  2179. console.log(row)
  2180. if (row == null)
  2181. return
  2182. // if (row.persPosition == null) {
  2183. // this.$message('暂无位置信息!');
  2184. // return
  2185. // }
  2186. var layerId = "point_peopleTrail2";
  2187. if (this.map.findLayerById(layerId)) {
  2188. this.map.remove(this.map.findLayerById(layerId))
  2189. }
  2190. // if (this.map.findLayerById(layerId)) {
  2191. // this.map.findLayerById(layerId).removeAll();
  2192. // }
  2193. if (this.timer != "") {
  2194. clearInterval(this.timer)
  2195. }
  2196. this.processLineShow = false;
  2197. this.processLineShow_people = true;
  2198. this.getPeopleDetail(row.guid)
  2199. axios.get(`/pdcApi/pers/position/getPersPosition`, {
  2200. params: {
  2201. persId: row.guid
  2202. }
  2203. })
  2204. .then((res) => {
  2205. // console.log("", res)
  2206. var _data = res.data.data;
  2207. if (_data != null) {
  2208. var lon = _data.longitude;
  2209. var lat = _data.latitude;
  2210. this.view.center = [lon, lat];
  2211. this.view.zoom = 6;
  2212. esriLoader.loadModules(["esri/geometry/Point", "esri/symbols/SimpleMarkerSymbol",
  2213. "esri/layers/GraphicsLayer",
  2214. "esri/Graphic"
  2215. ], this.options)
  2216. .then(([Point, SimpleMarkerSymbol, GraphicsLayer, Graphic]) => {
  2217. let graphicLayer = this.map.findLayerById(layerId);
  2218. if (graphicLayer == null) {
  2219. graphicLayer = new GraphicsLayer();
  2220. graphicLayer.id = layerId;
  2221. this.map.reorder(graphicLayer, 500);
  2222. this.map.add(graphicLayer);
  2223. }
  2224. // graphicLayer.removeAll();
  2225. let point = new Point(lon, lat);
  2226. let symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 8, null, 'red');
  2227. var marker_Symbol = {
  2228. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  2229. color: [226, 119, 40],
  2230. outline: { // autocasts as new SimpleLineSymbol()
  2231. color: [255, 255, 255],
  2232. width: 2
  2233. }
  2234. };
  2235. var symbol_picture = {
  2236. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  2237. url: "/src/static/" + 'people' + ".png",
  2238. width: 20,
  2239. height: 24,
  2240. angle: 0
  2241. };
  2242. var symbol__ = (index == -1 ? marker_Symbol : symbol_picture);
  2243. _data.point_type = 1;
  2244. var attr = _data;
  2245. let graphic = new Graphic(point, symbol__, attr,
  2246. null);
  2247. let graphic2 = new Graphic(point, symbol__, attr,
  2248. null);
  2249. graphicLayer.add(graphic2);
  2250. graphicLayer.add(graphic);
  2251. this.timer = setInterval(() => {
  2252. graphicLayer.visible = !graphicLayer.visible;
  2253. }, 500);
  2254. })
  2255. }
  2256. })
  2257. .catch(function (error) {
  2258. console.log(error);
  2259. });
  2260. },
  2261. location2(lon, lat, size = 18) {
  2262. // return
  2263. if (lon == undefined || lon == null || lat == undefined || lat == null) {
  2264. this.$message({
  2265. message: '暂无位置信息!',
  2266. type: 'warning'
  2267. });
  2268. return
  2269. }
  2270. var layerId = "point_temper";
  2271. if (this.map.findLayerById(layerId)) {
  2272. this.map.remove(this.map.findLayerById(layerId))
  2273. }
  2274. if (this.timer2 != "") {
  2275. clearInterval(this.timer2)
  2276. }
  2277. this.view.center = [lon, lat];
  2278. // this.view.zoom = 6;
  2279. esriLoader.loadModules(["esri/geometry/Point", "esri/symbols/SimpleMarkerSymbol",
  2280. "esri/layers/GraphicsLayer",
  2281. "esri/Graphic"
  2282. ], this.options)
  2283. .then(([Point, SimpleMarkerSymbol, GraphicsLayer, Graphic]) => {
  2284. let graphicLayer = this.map.findLayerById(layerId);
  2285. if (graphicLayer == null) {
  2286. graphicLayer = new GraphicsLayer();
  2287. graphicLayer.id = layerId;
  2288. this.map.reorder(graphicLayer, 900);
  2289. this.map.add(graphicLayer);
  2290. }
  2291. let point = new Point(lon, lat);
  2292. let symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, size, null, 'red');
  2293. var marker_Symbol = {
  2294. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  2295. color: [255, 0, 0],
  2296. outline: { // autocasts as new SimpleLineSymbol()
  2297. color: [255, 255, 255],
  2298. width: 2
  2299. }
  2300. };
  2301. var symbol__ = marker_Symbol;
  2302. let graphic = new Graphic(point, symbol, null,
  2303. null);
  2304. graphicLayer.add(graphic);
  2305. this.timer2 = setInterval(() => {
  2306. graphicLayer.visible = !graphicLayer.visible;
  2307. }, 500);
  2308. })
  2309. },
  2310. location3(index, row) {
  2311. console.log(row)
  2312. if (row == null)
  2313. return
  2314. var layerId = "point_peopleTrail2";
  2315. if (this.map.findLayerById(layerId)) {
  2316. this.map.remove(this.map.findLayerById(layerId))
  2317. }
  2318. if (this.timer != "") {
  2319. clearInterval(this.timer)
  2320. }
  2321. this.processLineShow = false;
  2322. this.processLineShow_people = true;
  2323. this.getPeopleDetail(row.guid)
  2324. axios.get(`/pdcApi/pers/position/getPersPosition`, {
  2325. params: {
  2326. persId: row.guid
  2327. }
  2328. })
  2329. .then((res) => {
  2330. var _data = res.data.data;
  2331. if (_data != null) {
  2332. var lon = _data.longitude;
  2333. var lat = _data.latitude;
  2334. this.view.center = [lon, lat];
  2335. this.view.zoom = 6;
  2336. esriLoader.loadModules(["esri/geometry/Point", "esri/symbols/SimpleMarkerSymbol",
  2337. "esri/layers/GraphicsLayer",
  2338. "esri/Graphic"
  2339. ], this.options)
  2340. .then(([Point, SimpleMarkerSymbol, GraphicsLayer, Graphic]) => {
  2341. let graphicLayer = this.map.findLayerById(layerId);
  2342. if (graphicLayer == null) {
  2343. graphicLayer = new GraphicsLayer();
  2344. graphicLayer.id = layerId;
  2345. this.map.reorder(graphicLayer, 500);
  2346. this.map.add(graphicLayer);
  2347. }
  2348. // graphicLayer.removeAll();
  2349. let point = new Point(lon, lat);
  2350. let symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 8, null, 'red');
  2351. var marker_Symbol = {
  2352. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  2353. color: [226, 119, 40],
  2354. outline: { // autocasts as new SimpleLineSymbol()
  2355. color: [255, 255, 255],
  2356. width: 2
  2357. }
  2358. };
  2359. var symbol_picture = {
  2360. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  2361. url: "/src/static/" + 'people' + ".png",
  2362. width: 20,
  2363. height: 24,
  2364. angle: 0
  2365. };
  2366. var symbol__ = (index == -1 ? marker_Symbol : symbol_picture);
  2367. _data.point_type = 1;
  2368. var attr = _data;
  2369. let graphic = new Graphic(point, symbol__, attr,
  2370. null);
  2371. let graphic2 = new Graphic(point, symbol__, attr,
  2372. null);
  2373. graphicLayer.add(graphic2);
  2374. graphicLayer.add(graphic);
  2375. this.timer = setInterval(() => {
  2376. graphicLayer.visible = !graphicLayer.visible;
  2377. }, 500);
  2378. })
  2379. }
  2380. })
  2381. .catch(function (error) {
  2382. console.log(error);
  2383. });
  2384. },
  2385. formatter_peopleType(row, column) {
  2386. if (row.pertype == "1") {
  2387. return "组长"
  2388. } else if (row.pertype == "2") {
  2389. return "水库运行管理"
  2390. } else if (row.pertype == "3") {
  2391. return "质量安全专家"
  2392. } else if (row.pertype == "4") {
  2393. return "联络员"
  2394. } else {
  2395. return "--"
  2396. }
  2397. },
  2398. formatter_index() {
  2399. console.log(111111)
  2400. var ss = this.pageSize * (this.pageIndex - 1)
  2401. return 1;
  2402. },
  2403. indexMethod(index) {
  2404. return (index + 1) + this.pageSize * (this.pageIndex - 1)
  2405. },
  2406. indexMethod_shuiku(index) {
  2407. return (index + 1) + this.pageSize_shuiku * (this.pageIndex_shuiku - 1)
  2408. },
  2409. indexMethod_shuihui(index) {
  2410. return (index + 1) + this.pageSize_shuihui * (this.pageIndex_shuihui - 1)
  2411. },
  2412. indexMethod_country(index) {
  2413. return (index + 1) + this.pageSize_country * (this.pageIndex_country - 1)
  2414. },
  2415. indexMethod_dxs(index) {
  2416. return (index + 1) + this.pageSize_dxs * (this.pageIndex_dxs - 1)
  2417. },
  2418. formatter_peoplePhone(row, column) {
  2419. console.log(11)
  2420. if (row.mobilenumb) {
  2421. return row.mobilenumb.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
  2422. }
  2423. },
  2424. formatter_peopleTime(row, column) {
  2425. if (row.persPosition) {
  2426. return row.persPosition.operateTime || "--";
  2427. } else {
  2428. return "--";
  2429. }
  2430. },
  2431. bGroupManager(val) {
  2432. this.curId = "";
  2433. this.getOnlinePeoples();
  2434. // alert(this.model_groupManager)
  2435. },
  2436. bPeopleOnline(val) {
  2437. // this.curId = "";
  2438. if (this.activeTabName == "three") {
  2439. this.getOnlinePeoples2();
  2440. this.loadPoint_people("point_people");
  2441. } else {
  2442. this.getOnlinePeoples();
  2443. this.loadPoint_people("point_people");
  2444. }
  2445. },
  2446. bShuikuFinish(val) {
  2447. console.log(111)
  2448. },
  2449. bShuikuStatistic(val) {
  2450. if (this.model_shuiku_statistic) {
  2451. this.loadShuikuStatistic();
  2452. this.loadShuikuStatisticCityByCode3()
  2453. } else {
  2454. var layer = this.map.findLayerById("shuiku_statistic");
  2455. var layer2 = this.map.findLayerById("shuiku_statistic_lable");
  2456. var layer_ = this.map.findLayerById("shuiku_statistic_city");
  2457. var layer2_ = this.map.findLayerById("shuiku_statistic_city_lable");
  2458. if (layer != null) {
  2459. this.map.remove(layer)
  2460. this.map.remove(layer2)
  2461. this.map.remove(layer_)
  2462. this.map.remove(layer2_)
  2463. }
  2464. }
  2465. return
  2466. var layer = this.map.findLayerById("shuiku_statistic");
  2467. var layer2 = this.map.findLayerById("shuiku_statistic_lable");
  2468. this.map_title = "省级水库统计图";
  2469. this.bShowTitle = this.model_shuiku_statistic;
  2470. if (layer != null) {
  2471. layer.visible = this.model_shuiku_statistic;
  2472. layer2.visible = this.model_shuiku_statistic;
  2473. } else {
  2474. this.loadShuikuStatistic();
  2475. // $.each(xzqData, (index, e) => {
  2476. // this.loadShuikuStatisticCityByCode(e.adCode)
  2477. // })
  2478. // this.loadShuikuStatisticCityByCode2()
  2479. this.loadShuikuStatisticCityByCode3()
  2480. }
  2481. },
  2482. setLayerVisibleById(layerId, visible) {
  2483. var layer = this.map.findLayerById(layerId);
  2484. if (layer != null) {
  2485. layer.visible = visible;
  2486. }
  2487. },
  2488. searchPeople(val) {
  2489. // this.curId = "";
  2490. if (this.activeTabName == "three") {
  2491. // this.getOnlinePeoples(false);
  2492. this.getOnlinePeoples2();
  2493. } else {
  2494. this.getOnlinePeoples();
  2495. }
  2496. },
  2497. getOnlinePeoples(flag = true) {
  2498. axios.get(`/pdcApi/pers/position/findPersListByClassify`, {
  2499. params: {
  2500. pageNum: this.pageIndex,
  2501. pageSize: this.pageSize,
  2502. count: false,
  2503. orderBy: this.orderField + " " + this.sortBy,
  2504. id: flag ? (this.bAdmin ? this.curId : (this.curId || "-")) : "-",
  2505. persName: this.model_peopleName,
  2506. // pertype: this.model_groupManager ? "1" : "",
  2507. status: this.model_peopleOnline ? "1" : ""
  2508. }
  2509. })
  2510. .then((res) => {
  2511. console.log("人员......", res)
  2512. if (res.status == 200 && res.data.data != null) {
  2513. var obj = res.data.data;
  2514. this.tableData_peopleList = obj.list;
  2515. this.recordTotal = obj.total;
  2516. }
  2517. })
  2518. .catch(function (error) {
  2519. console.log(error);
  2520. });
  2521. },
  2522. getOnlinePeoples2() {
  2523. // alert()
  2524. axios.get(`/pdcApi/pers/position/findPersListByOrgId`, {
  2525. params: {
  2526. pageNum: this.pageIndex,
  2527. pageSize: this.pageSize,
  2528. orderBy: this.orderField + " " + this.sortBy,
  2529. orgId: this.curOrgId,
  2530. persName: this.model_peopleName,
  2531. status: this.model_peopleOnline ? "1" : ""
  2532. }
  2533. })
  2534. .then((res) => {
  2535. console.log("人员......", res)
  2536. if (res.status == 200 && res.data.data != null) {
  2537. var obj = res.data.data;
  2538. this.tableData_peopleList = obj.list;
  2539. this.recordTotal = obj.total;
  2540. }
  2541. })
  2542. .catch(function (error) {
  2543. console.log(error);
  2544. });
  2545. },
  2546. updatePeopleOnMap() {
  2547. axios.get(`/pdcApi/pers/position/findList`, {
  2548. params: {
  2549. // pageNum: this.pageIndex,
  2550. // pageSize: this.pageSize,
  2551. id: this.curId,
  2552. persId: this.curId == "" ? "37C8098DA7C4475A9E717F700F1FB63A" : "",
  2553. }
  2554. })
  2555. .then((res) => {
  2556. console.log("人员筛选......", res)
  2557. if (res.status == 200 && res.data.data != null) {
  2558. var obj = res.data.data;
  2559. }
  2560. })
  2561. .catch(function (error) {
  2562. console.log(error);
  2563. });
  2564. },
  2565. //创建地图
  2566. createMap: function () {
  2567. var _this = this;
  2568. esriLoader.loadModules(["esri/Map", "esri/views/MapView", "esri/layers/WebTileLayer", "esri/layers/TileLayer",
  2569. "esri/Basemap", "esri/layers/support/LOD", "esri/layers/MapImageLayer", "esri/widgets/ScaleBar"
  2570. ], _this.options)
  2571. .then(([Map, MapView, WebTileLayer, TileLayer, Basemap, LOD, MapImageLayer, ScaleBar]) => {
  2572. var url__ = "http://10.1.17.58:6080/arcgis/rest/services/drought/MapServer";
  2573. var url__2 = "http://10.1.17.61:6080/arcgis/rest/services/sqhs_xzbj_new/MapServer";
  2574. var layer_tile = new TileLayer({
  2575. id: "t_map",
  2576. url: url__2,
  2577. spatialReference: {
  2578. wkid: 3857
  2579. }
  2580. });
  2581. var imageLayer = {
  2582. urlTemplate: "http://10.1.7.160:81/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX=${level}&TILEROW=${row}&TILECOL=${col}",
  2583. id: "id_image",
  2584. }
  2585. var iamgeLabel = {
  2586. urlTemplate: "http://10.1.7.160:81/sia_w/wmts?service=wmts&request=gettile&version=1.0.0&layer=sia&format=tiles&tilematrixset=w&tilecol=${col}&tilerow=${row}&tilematrix=${level}",
  2587. id: "id_image_label",
  2588. };
  2589. var iamgeLabel_tdt = {
  2590. urlTemplate: "http://t0.tianditu.gov.cn/cia_w/wmts?service=wmts&request=gettile&version=1.0.0&v=4.0&tk=66b63588d9f26d7be3394ac366a45e9f&layer=cia&format=tiles&tilematrixset=w&tilecol=${col}&tilerow=${row}&tilematrix=${level}",
  2591. id: "id_image_label",
  2592. };
  2593. var iamgeLabel_tdt2 = {
  2594. // urlTemplate: "http://t0.tianditu.gov.cn/img_w/wmts?service=wmts&request=gettile&version=1.0.0&v=4.0&tk=66b63588d9f26d7be3394ac366a45e9f&layer=img&format=tiles&tilematrixset=w&tilecol=${col}&tilerow=${row}&tilematrix=${level}",
  2595. // id: "id_image_label2",
  2596. urlTemplate: "http://t{subDomain}.tianditu.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&tk=66b63588d9f26d7be3394ac366a45e9f&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX=${level}&TILEROW=${row}&TILECOL=${col}",
  2597. id: "id_image",
  2598. subDomains: ['0', '1', '2', '3', "4", "5", "6"]
  2599. };
  2600. var riverWMTS = {
  2601. urlTemplate: "http://10.1.7.160:81/dlb_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=dlb&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX=${level}&TILEROW=${row}&TILECOL=${col}",
  2602. id: "id_River",
  2603. };
  2604. var riverLabel = {
  2605. urlTemplate: "http://10.1.7.160:81/dia_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=dia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX=${level}&TILEROW=${row}&TILECOL=${col}",
  2606. id: "id_river_label",
  2607. };
  2608. let map_layer = new WebTileLayer(imageLayer);
  2609. let map_layer2 = new WebTileLayer(iamgeLabel);
  2610. let map_layer_tdt = new WebTileLayer(iamgeLabel_tdt);
  2611. let map_layer_tdt2 = new WebTileLayer(iamgeLabel_tdt2);
  2612. let map_layer_river = new WebTileLayer(riverWMTS);
  2613. let map_layer_riverLabel = new WebTileLayer(riverLabel);
  2614. // let map_layer = new WebTileLayer(aaa);
  2615. var mapImageLayer = new MapImageLayer({
  2616. url: url__2
  2617. });
  2618. map_layer.visible = true;
  2619. var customBasemap = new Basemap({
  2620. baseLayers: [map_layer],
  2621. title: "Custom Basemap",
  2622. id: "myBasemap"
  2623. });
  2624. var map = new Map({
  2625. basemap: customBasemap,
  2626. logo: false
  2627. });
  2628. _this.map = map;
  2629. if (_this.bAdmin)
  2630. _this.loadPoint_people("point_people");
  2631. // _this.$store.commit('newMap', map);
  2632. var view = new MapView({
  2633. container: "viewDiv", // Reference to the scene div created in step 5
  2634. map: map, // Reference to the map object created before the scene
  2635. zoom: 4, // Sets zoom level based on level of detail (LOD)
  2636. center: [104, 36], // Sets center point of view using longitude,latitude,
  2637. logo: false,
  2638. });
  2639. _this.view = view;
  2640. window.mapView = view;
  2641. view.ui.remove("zoom");
  2642. var scaleBar = new ScaleBar({
  2643. view: view,
  2644. unit: "metric",
  2645. declaredClass: "my-mapScalebar"
  2646. });
  2647. // Add widget to the bottom left corner of the view
  2648. view.ui.add(scaleBar, {
  2649. position: "bottom-right"
  2650. });
  2651. view.when(function () {
  2652. console.log("屏幕宽:", window.screen.width);
  2653. console.log("屏幕高:", window.screen.height);
  2654. // toolBar.init(map, view);
  2655. _this.map.basemap.baseLayers.add(map_layer_tdt);
  2656. _this.map.basemap.baseLayers.add(map_layer_river);
  2657. _this.map.basemap.baseLayers.add(map_layer_riverLabel);
  2658. // _this.loadPoint('point_shuihui');
  2659. _this.loadPoint_('point_shuihui');
  2660. _this.timeInterval_people = setInterval(() => {
  2661. _this.loadPoint_people("point_people")
  2662. }, 300000);
  2663. // _this.loadPoint_people('point_people');
  2664. _this.loadPoint_shuiku('point_shuiku');
  2665. _this.loadPoint_dxs('point_dxs_water');
  2666. _this.loadPoint_contry_water('point_contry_water');
  2667. // _this.loadShuikuStatistic();
  2668. // layer.msg("加载完成")
  2669. // _this.$message({
  2670. // message: '加载完成',
  2671. // type: 'success'
  2672. // });
  2673. if (window.screen.width > 1366) {
  2674. _this.minZoom = 5;
  2675. view.zoom = 5;
  2676. view.center = [106, 33];
  2677. }
  2678. })
  2679. // view.ui.add(toolBar.createToolBar2(), "top-right");
  2680. view.on("click", function (evt) {
  2681. evt.stopPropagation();
  2682. // console.log(evt);
  2683. // console.log(_this.view)
  2684. var screenPoint = {
  2685. x: evt.x,
  2686. y: evt.y
  2687. };
  2688. _this.view.hitTest(screenPoint).then((res) => {
  2689. if (res.results.length > 0) {
  2690. // console.log("hit.....", res)
  2691. _this.showMore = false;
  2692. _this.processLineShow = false;
  2693. _this.processLineShow_country_water = false;
  2694. _this.processLineShow_people = false;
  2695. _this.processLineShow_shuiku = false;
  2696. var obj = res.results[0].graphic.attributes;
  2697. console.log('hit...', obj)
  2698. if (obj.point_type == 0) { //水毁
  2699. if (_this.showMore_sh) {
  2700. let height = $("#draggableContainer").height();
  2701. $("#draggableContainer").height(height - 200)
  2702. $(".drag-body-class").height(height - 200)
  2703. _this.showMore_sh = false;
  2704. }
  2705. _this.processLineShow_people = false;
  2706. _this.processLineShow = true;
  2707. _this.tableData2 = obj.list;
  2708. _this.dlg_info = obj.wtdstNm;
  2709. _this.curEventInfo = obj;
  2710. _this.curEventInfo.wtdstState = _this.curEventInfo.wtdstState == 1 ? "已完成" : "未完成";
  2711. for (let key in _this.curEventInfo) {
  2712. if (_this.curEventInfo[key] == null) {
  2713. _this.curEventInfo[key] = "暂无";
  2714. }
  2715. }
  2716. } else if (obj.point_type == 1) { //人
  2717. _this.processLineShow = false;
  2718. _this.processLineShow_people = true;
  2719. _this.getProblomListByPerid(obj.persId)
  2720. _this.getPeopleDetail(obj.persId)
  2721. // _this.view.center = [_this.curEventInfo_people.lon, _this.curEventInfo_people.lat];
  2722. _this.dlg_info_people = obj.persName;
  2723. _this.curEventInfo_people = obj;
  2724. for (let key in _this.curEventInfo_people) {
  2725. if (_this.curEventInfo_people[key] == null) {
  2726. _this.curEventInfo_people[key] = "暂无";
  2727. }
  2728. }
  2729. } else if (obj.point_type == 2) { //水库
  2730. _this.rgstrId = obj.rgstrId;
  2731. _this.processLineShow = false;
  2732. _this.processLineShow_country_water = false;
  2733. _this.processLineShow_people = false;
  2734. _this.processLineShow_shuiku = true;
  2735. // _this.shuikuInfo = obj;
  2736. request.get(`/dc/insp/rsvrRgstr/${_this.rgstrId}`).then(res => {
  2737. if (res.success) {
  2738. _this.shuikuInfo = res.data;
  2739. // alert(formatDateTimeD())
  2740. _this.shuikuInfo.resCreateTime = formatDateTime2(_this.shuikuInfo.resCreateTime)
  2741. .substring(0, 10);
  2742. }
  2743. }).catch(err => {
  2744. })
  2745. } else if (obj.point_type == 3) { //人饮
  2746. _this.processLineShow = false;
  2747. _this.processLineShow_shuiku = false;
  2748. _this.processLineShow_people = false;
  2749. _this.getObjId = obj.objId;
  2750. _this.getRyData();
  2751. _this.processLineShow_country_water = true;
  2752. } else if (obj.point_type == 5) { //水库统计
  2753. _this.loadShuikuPointByCode(obj);
  2754. } else if (obj.point_type == 6) { //地下水
  2755. _this.modal_dixiashui = true;
  2756. _this.stcd = obj.stcd;
  2757. _this.djbId = obj.id;
  2758. _this.currentObjectId = obj.objId;
  2759. }
  2760. // console.log(obj)
  2761. }
  2762. })
  2763. })
  2764. view.watch("zoom", function (e) {
  2765. var zoom = view.zoom;
  2766. if (zoom >= 19) {
  2767. view.zoom = 18;
  2768. }
  2769. if (zoom > 6) {
  2770. // _this.loadShuikuStatisticCityByCode('41')
  2771. _this.setLayerVisibleById("shuiku_statistic_city", true);
  2772. _this.setLayerVisibleById("shuiku_statistic_city_lable", true);
  2773. _this.setLayerVisibleById("shuiku_statistic", false);
  2774. _this.setLayerVisibleById("shuiku_statistic_lable", false);
  2775. } else {
  2776. _this.setLayerVisibleById("shuiku_statistic", true);
  2777. _this.setLayerVisibleById("shuiku_statistic_lable", true);
  2778. _this.setLayerVisibleById("shuiku_statistic_city", false);
  2779. _this.setLayerVisibleById("shuiku_statistic_city_lable", false);
  2780. }
  2781. _this.minZoom = 5;
  2782. if (view.zoom < _this.minZoom) {
  2783. view.zoom = _this.minZoom;
  2784. view.center = [106, 33];
  2785. // return;
  2786. }
  2787. // if (toolBar.bIsMainMap && view.zoom > 11) {
  2788. // view.zoom = 11;
  2789. // }
  2790. // console.log(zoom);
  2791. console.log("zoom...", zoom)
  2792. if ((zoom % 1 !== 0)) {
  2793. return;
  2794. }
  2795. // if (_this.lastLevel == zoom)
  2796. // return
  2797. // console.log(view.zoom - 3);
  2798. // stationLayer.zoom_ = zoom - 3;
  2799. // _this.curMapLevel = stationLayer.zoom_;
  2800. // stationLayer.queryStation();
  2801. // /**/
  2802. // toolBar.setSlider(view.zoom);
  2803. // _this.lastLevel = zoom;
  2804. })
  2805. })
  2806. .catch(err => {
  2807. console.error(err);
  2808. });
  2809. },
  2810. loadPoint: function (layerId) {
  2811. var _this = this;
  2812. var obj = {
  2813. "pageNum": 1,
  2814. "pageSize": 1000
  2815. };
  2816. axios({
  2817. method: 'post',
  2818. url: '/pdcApi/dc/insp/bisInspWtdst/queryListWithPblm',
  2819. data: obj
  2820. })
  2821. .then((data_) => {
  2822. console.log(data_)
  2823. var name = layerId;
  2824. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  2825. "esri/layers/FeatureLayer",
  2826. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  2827. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  2828. ], _this.options).then(([SimpleMarkerSymbol, Point,
  2829. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  2830. ]) => {
  2831. var graphiclayer = new GraphicsLayer({
  2832. id: `${name}`
  2833. });
  2834. graphiclayer.visible = false;
  2835. // var graphiclayer_lb = new GraphicsLayer({
  2836. // id: "lable_" + level
  2837. // });
  2838. // _this.tableData_shuihuiList = data_.data.data.list;
  2839. var __data = data_.data.data.list;
  2840. $.each(__data, function (index, e) {
  2841. if (e.wtdstLgtd == null || e.wtdstLttd == null)
  2842. return true
  2843. var lgtd = e.wtdstLgtd;
  2844. var lttd = e.wtdstLttd;
  2845. var name = e.wtdstNm;
  2846. var state = e.wkstate || '2';
  2847. var pt = new Point(lgtd, lttd);
  2848. var symbol_picture = {
  2849. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  2850. url: "/src/static/" + 'shuihui' + state + ".png",
  2851. width: 20,
  2852. height: 25,
  2853. angle: 0
  2854. };
  2855. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  2856. "#FF0000"));
  2857. var marker_Symbol = {
  2858. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  2859. color: [226, 119, 40],
  2860. outline: { // autocasts as new SimpleLineSymbol()
  2861. color: [255, 255, 255],
  2862. width: 2
  2863. }
  2864. };
  2865. var textSymbol = new TextSymbol({
  2866. color: "black",
  2867. haloColor: "black",
  2868. haloSize: "1px",
  2869. text: name,
  2870. xoffset: 3,
  2871. yoffset: -10,
  2872. horizontalAlignment: "left",
  2873. kerning: true,
  2874. font: { // autocast as esri/symbols/Font
  2875. size: 9,
  2876. family: "system-ui",
  2877. // weight: "bolder"
  2878. }
  2879. });
  2880. var markerSymbol = symbol_picture;
  2881. e.point_type = 0;
  2882. var attr = e;
  2883. var graphic = new Graphic(pt, markerSymbol, attr, null);
  2884. graphiclayer.graphics.add(graphic);
  2885. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  2886. // graphiclayer_lb.graphics.add(graphic_lb);
  2887. })
  2888. _this.map.add(graphiclayer);
  2889. _this.map.reorder(graphiclayer, 100);
  2890. // toolBar.map.add(graphiclayer_lb);
  2891. // layer.msg("加载完成")
  2892. })
  2893. });
  2894. },
  2895. loadPoint_: function (layerId) {
  2896. var _this = this;
  2897. axios.get(`/pdcApi/dc/insp/obj/getObjByPersId`, {
  2898. params: {
  2899. persGuid: localStorage.getItem("userid"),
  2900. objType: 3
  2901. }
  2902. })
  2903. .then((data_) => {
  2904. console.log(data_)
  2905. var name = layerId;
  2906. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  2907. "esri/layers/FeatureLayer",
  2908. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  2909. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  2910. ], _this.options).then(([SimpleMarkerSymbol, Point,
  2911. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  2912. ]) => {
  2913. var graphiclayer = new GraphicsLayer({
  2914. id: `${name}`
  2915. });
  2916. graphiclayer.visible = false;
  2917. // var graphiclayer_lb = new GraphicsLayer({
  2918. // id: "lable_" + level
  2919. // });
  2920. // _this.tableData_shuihuiList = data_.data.data.list;
  2921. var __data = data_.data.data;
  2922. $.each(__data, function (index, e) {
  2923. if (e.lgtd == null || e.lttd == null)
  2924. return true
  2925. var lgtd = e.lgtd;
  2926. var lttd = e.lttd;
  2927. var name = e.wtdstNm;
  2928. var state = e.wtdstState || '2';
  2929. var pt = new Point(lgtd, lttd);
  2930. var symbol_picture = {
  2931. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  2932. url: "/src/static/" + 'shuihui' + state + ".png",
  2933. width: 20,
  2934. height: 25,
  2935. angle: 0
  2936. };
  2937. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  2938. "#FF0000"));
  2939. var marker_Symbol = {
  2940. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  2941. color: [226, 119, 40],
  2942. outline: { // autocasts as new SimpleLineSymbol()
  2943. color: [255, 255, 255],
  2944. width: 2
  2945. }
  2946. };
  2947. var textSymbol = new TextSymbol({
  2948. color: "black",
  2949. haloColor: "black",
  2950. haloSize: "1px",
  2951. text: name,
  2952. xoffset: 3,
  2953. yoffset: -10,
  2954. horizontalAlignment: "left",
  2955. kerning: true,
  2956. font: { // autocast as esri/symbols/Font
  2957. size: 9,
  2958. family: "system-ui",
  2959. // weight: "bolder"
  2960. }
  2961. });
  2962. var markerSymbol = symbol_picture;
  2963. e.point_type = 0;
  2964. var attr = e;
  2965. var graphic = new Graphic(pt, markerSymbol, attr, null);
  2966. graphiclayer.graphics.add(graphic);
  2967. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  2968. // graphiclayer_lb.graphics.add(graphic_lb);
  2969. })
  2970. _this.map.add(graphiclayer);
  2971. _this.map.reorder(graphiclayer, 100);
  2972. // toolBar.map.add(graphiclayer_lb);
  2973. // layer.msg("加载完成")
  2974. })
  2975. });
  2976. },
  2977. loadPoint_people: function (layerId) {
  2978. var _this = this;
  2979. // if (this.map.findLayerById(layerId)) {
  2980. // this.map.findLayerById(layerId).removeAll();
  2981. // this.map.remove(this.map.findLayerById(layerId))
  2982. // }
  2983. // if (this.map.findLayerById(layerId)) {
  2984. // this.map.findLayerById(layerId).removeAll();
  2985. // this.map.remove(this.map.findLayerById(layerId))
  2986. // }
  2987. var params_ = {};
  2988. if (this.activeTabName == "three") {
  2989. params_ = {
  2990. orgId: this.curOrgId,
  2991. // persId: this.curId == "" ? "37C8098DA7C4475A9E717F700F1FB63A" : ""
  2992. }
  2993. } else {
  2994. params_ = {
  2995. id: this.curId,
  2996. // persId: localStorage.getItem("userid")
  2997. }
  2998. }
  2999. axios.get(`/pdcApi/pers/position/findList`, {
  3000. // axios.get(`/src/static/point_people.json`, {
  3001. params: params_
  3002. })
  3003. .then(function (response) {
  3004. if (response.status == 200) {
  3005. if (_this.map.findLayerById(layerId)) {
  3006. _this.map.findLayerById(layerId).removeAll();
  3007. _this.map.remove(_this.map.findLayerById(layerId))
  3008. }
  3009. if (_this.map.findLayerById(layerId)) {
  3010. _this.map.findLayerById(layerId).removeAll();
  3011. _this.map.remove(_this.map.findLayerById(layerId))
  3012. }
  3013. var data_ = response.data;
  3014. console.log(data_)
  3015. var name = layerId;
  3016. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3017. "esri/layers/FeatureLayer",
  3018. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3019. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3020. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3021. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3022. ]) => {
  3023. //
  3024. var graphiclayer = new GraphicsLayer({
  3025. id: `${name}`
  3026. });
  3027. var graphiclayer_temp = new GraphicsLayer({
  3028. id: `map_layer_temp`
  3029. });
  3030. // var graphiclayer_lb = new GraphicsLayer({
  3031. // id: "lable_" + level
  3032. // });
  3033. $.each(data_.data, function (index, e) {
  3034. if (e.latitude == null || e.longitude == null)
  3035. return true
  3036. if (_this.model_peopleOnline && e.status == "0")
  3037. return true;
  3038. var picName = "xhuser_hgy";
  3039. if (e.status == "1") {
  3040. picName = "xhuser_hgy";
  3041. } else if (e.status == "0") {
  3042. picName = "offline";
  3043. }
  3044. var lgtd = e.longitude;
  3045. var lttd = e.latitude;
  3046. var name = e.persName;
  3047. var pt = new Point(lgtd, lttd);
  3048. var symbol_picture = {
  3049. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3050. url: "/src/static/" + picName + ".png",
  3051. width: 20,
  3052. height: 24,
  3053. angle: 0
  3054. };
  3055. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  3056. "#FF0000"));
  3057. var marker_Symbol = {
  3058. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3059. color: [226, 119, 40],
  3060. outline: { // autocasts as new SimpleLineSymbol()
  3061. color: [255, 255, 255],
  3062. width: 2
  3063. }
  3064. };
  3065. var textSymbol = new TextSymbol({
  3066. color: "black",
  3067. haloColor: "black",
  3068. haloSize: "1px",
  3069. text: name,
  3070. xoffset: 3,
  3071. yoffset: -10,
  3072. horizontalAlignment: "left",
  3073. kerning: true,
  3074. font: { // autocast as esri/symbols/Font
  3075. size: 9,
  3076. family: "system-ui",
  3077. // weight: "bolder"
  3078. }
  3079. });
  3080. var markerSymbol = symbol_picture;
  3081. e.point_type = 1;
  3082. var attr = e;
  3083. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3084. graphiclayer.graphics.add(graphic);
  3085. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3086. // graphiclayer_lb.graphics.add(graphic_lb);
  3087. })
  3088. _this.map.add(graphiclayer);
  3089. _this.map.add(graphiclayer_temp);
  3090. _this.map.reorder(graphiclayer, 20);
  3091. // toolBar.map.add(graphiclayer_lb);
  3092. // layer.msg("加载完成")
  3093. })
  3094. }
  3095. })
  3096. .catch(function (error) {
  3097. console.log(error);
  3098. });
  3099. return
  3100. $.ajax({
  3101. type: 'get',
  3102. dataType: "json",
  3103. // url: `/pdcApi/dc/insp/bisInspWtdst/queryListWithPblm`,
  3104. url: `./static/json/point_people.json`,
  3105. data: {},
  3106. success: function (data_) {
  3107. console.log(data_)
  3108. var name = "point_people";
  3109. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3110. "esri/layers/FeatureLayer",
  3111. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3112. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3113. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3114. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3115. ]) => {
  3116. //
  3117. var graphiclayer = new GraphicsLayer({
  3118. id: `${name}_0`
  3119. });
  3120. // var graphiclayer_lb = new GraphicsLayer({
  3121. // id: "lable_" + level
  3122. // });
  3123. $.each(data_.data, function (index, e) {
  3124. if (e.wtdstLgtd == null || e.wtdstLttd == null)
  3125. return true
  3126. var lgtd = e.wtdstLgtd;
  3127. var lttd = e.wtdstLttd;
  3128. var name = e.wtdstNm;
  3129. var pt = new Point(parseInt(lgtd), parseInt(lttd));
  3130. var symbol_picture = {
  3131. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3132. url: "/src/static/" + 'shuihui_p' + ".png",
  3133. width: 9,
  3134. height: 9,
  3135. angle: 0
  3136. };
  3137. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  3138. "#FF0000"));
  3139. var marker_Symbol = {
  3140. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3141. color: [226, 119, 40],
  3142. outline: { // autocasts as new SimpleLineSymbol()
  3143. color: [255, 255, 255],
  3144. width: 2
  3145. }
  3146. };
  3147. var textSymbol = new TextSymbol({
  3148. color: "black",
  3149. haloColor: "black",
  3150. haloSize: "1px",
  3151. text: name,
  3152. xoffset: 3,
  3153. yoffset: -10,
  3154. horizontalAlignment: "left",
  3155. kerning: true,
  3156. font: { // autocast as esri/symbols/Font
  3157. size: 9,
  3158. family: "system-ui",
  3159. // weight: "bolder"
  3160. }
  3161. });
  3162. var markerSymbol = symbol_picture;
  3163. var attr = e;
  3164. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3165. graphiclayer.graphics.add(graphic);
  3166. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3167. // graphiclayer_lb.graphics.add(graphic_lb);
  3168. })
  3169. _this.map.add(graphiclayer);
  3170. _this.map.reorder(graphiclayer, 100);
  3171. // toolBar.map.add(graphiclayer_lb);
  3172. // layer.msg("加载完成")
  3173. })
  3174. },
  3175. error: function (data) {}
  3176. })
  3177. },
  3178. loadPoint_dxs: function (layerId) {
  3179. var _this = this;
  3180. // axios.post(`/pdcApi/dc/insp/base/getPageRsvrList`, {
  3181. axios.get(`/pdcApi/dc/insp/obj/getObjByPersId`, {
  3182. // this.$axios.get(`./static/json/point_people.json`, {
  3183. params: {
  3184. persGuid: localStorage.getItem("userid"),
  3185. objType: 5
  3186. }
  3187. })
  3188. .then(function (response) {
  3189. if (response.status == 200) {
  3190. var data_ = response.data;
  3191. console.log("dxs......", data_)
  3192. var name = layerId;
  3193. // return
  3194. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3195. "esri/layers/FeatureLayer",
  3196. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3197. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3198. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3199. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3200. ]) => {
  3201. var graphiclayer = new GraphicsLayer({
  3202. id: `${name}`
  3203. });
  3204. graphiclayer.visible = false;
  3205. // var graphiclayer_lb = new GraphicsLayer({
  3206. // id: "lable_" + level
  3207. // });
  3208. $.each(data_.data, function (index, e) {
  3209. if (e.lgtdPc == null || e.lttdPc == null)
  3210. return true
  3211. var lgtd = e.lgtdPc;
  3212. var lttd = e.lttdPc;
  3213. var name = e.stnm;
  3214. var pt = new Point(lgtd, lttd);
  3215. var symbol_picture = {
  3216. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3217. url: "/src/static/" + 'dxs' + ".png",
  3218. width: 20,
  3219. height: 24,
  3220. angle: 0
  3221. };
  3222. var markerSymbol = symbol_picture;
  3223. e.point_type = 6; //地下水
  3224. var attr = e;
  3225. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3226. graphiclayer.graphics.add(graphic);
  3227. })
  3228. _this.map.add(graphiclayer);
  3229. _this.map.reorder(graphiclayer, 100);
  3230. // toolBar.map.add(graphiclayer_lb);
  3231. // layer.msg("加载完成")
  3232. })
  3233. }
  3234. })
  3235. .catch(function (error) {
  3236. console.log(error);
  3237. });
  3238. },
  3239. loadPoint_shuiku: function (layerId) {
  3240. var _this = this;
  3241. // axios.post(`/pdcApi/dc/insp/base/getPageRsvrList`, {
  3242. axios.get(`/pdcApi/dc/insp/obj/getObjByPersId`, {
  3243. // this.$axios.get(`./static/json/point_people.json`, {
  3244. params: {
  3245. persGuid: localStorage.getItem("userid"),
  3246. objType: 1
  3247. }
  3248. })
  3249. .then(function (response) {
  3250. if (response.status == 200) {
  3251. var data_ = response.data;
  3252. console.log("shuiku......", data_)
  3253. var name = layerId;
  3254. // return
  3255. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3256. "esri/layers/FeatureLayer",
  3257. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3258. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3259. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3260. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3261. ]) => {
  3262. var graphiclayer = new GraphicsLayer({
  3263. id: `${name}`
  3264. });
  3265. graphiclayer.visible = false;
  3266. // var graphiclayer_lb = new GraphicsLayer({
  3267. // id: "lable_" + level
  3268. // });
  3269. $.each(data_.data, function (index, e) {
  3270. if (e.longitude == null || e.latitude == null)
  3271. return true
  3272. var lgtd = e.longitude;
  3273. var lttd = e.latitude;
  3274. var name = e.nm;
  3275. var pt = new Point(lgtd, lttd);
  3276. var symbol_picture = {
  3277. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3278. url: "/src/static/" + 'shuiku0' + ".png",
  3279. width: 20,
  3280. height: 24,
  3281. angle: 0
  3282. };
  3283. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  3284. "#FF0000"));
  3285. var marker_Symbol = {
  3286. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3287. color: [226, 119, 40],
  3288. outline: { // autocasts as new SimpleLineSymbol()
  3289. color: [255, 255, 255],
  3290. width: 2
  3291. }
  3292. };
  3293. var textSymbol = new TextSymbol({
  3294. color: "black",
  3295. haloColor: "black",
  3296. haloSize: "1px",
  3297. text: name,
  3298. xoffset: 3,
  3299. yoffset: -10,
  3300. horizontalAlignment: "left",
  3301. kerning: true,
  3302. font: { // autocast as esri/symbols/Font
  3303. size: 9,
  3304. family: "system-ui",
  3305. // weight: "bolder"
  3306. }
  3307. });
  3308. var markerSymbol = symbol_picture;
  3309. e.point_type = 2;
  3310. var attr = e;
  3311. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3312. graphiclayer.graphics.add(graphic);
  3313. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3314. // graphiclayer_lb.graphics.add(graphic_lb);
  3315. })
  3316. _this.map.add(graphiclayer);
  3317. _this.map.reorder(graphiclayer, 100);
  3318. // toolBar.map.add(graphiclayer_lb);
  3319. // layer.msg("加载完成")
  3320. })
  3321. }
  3322. })
  3323. .catch(function (error) {
  3324. console.log(error);
  3325. });
  3326. },
  3327. loadPoint_shuiku2(points, layerId = 'point_shuiku') {
  3328. var _this = this;
  3329. if (this.map.findLayerById(layerId)) {
  3330. // this.map.remove(this.map.findLayerById(layerId))
  3331. this.map.findLayerById(layerId).visible = false;
  3332. }
  3333. var name = layerId + "_temp";
  3334. if (this.map.findLayerById(name)) {
  3335. this.map.remove(this.map.findLayerById(name))
  3336. }
  3337. // this.view.zoom = 12;
  3338. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3339. "esri/layers/FeatureLayer",
  3340. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3341. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3342. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3343. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3344. ]) => {
  3345. var graphiclayer = new GraphicsLayer({
  3346. id: `${name}`
  3347. });
  3348. graphiclayer.visible = true;
  3349. // var graphiclayer_lb = new GraphicsLayer({
  3350. // id: "lable_" + level
  3351. // });
  3352. $.each(points, function (index, e) {
  3353. var lgtd = e.lgtd;
  3354. var lttd = e.lttd;
  3355. if (lgtd == null || lttd == null)
  3356. return true
  3357. var name = e.nm;
  3358. var pt = new Point(lgtd, lttd);
  3359. var symbol_picture = {
  3360. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3361. url: "/src/static/" + 'shuiku0' + ".png",
  3362. width: 16,
  3363. height: 20,
  3364. angle: 0
  3365. };
  3366. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  3367. "#FF0000"));
  3368. var marker_Symbol = {
  3369. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3370. color: [226, 119, 40],
  3371. outline: { // autocasts as new SimpleLineSymbol()
  3372. color: [255, 255, 255],
  3373. width: 2
  3374. }
  3375. };
  3376. var textSymbol = new TextSymbol({
  3377. color: "black",
  3378. haloColor: "black",
  3379. haloSize: "1px",
  3380. text: name,
  3381. xoffset: 3,
  3382. yoffset: -10,
  3383. horizontalAlignment: "left",
  3384. kerning: true,
  3385. font: { // autocast as esri/symbols/Font
  3386. size: 9,
  3387. family: "system-ui",
  3388. // weight: "bolder"
  3389. }
  3390. });
  3391. var markerSymbol = symbol_picture;
  3392. e.point_type = 2;
  3393. var attr = e;
  3394. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3395. graphiclayer.graphics.add(graphic);
  3396. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3397. // graphiclayer_lb.graphics.add(graphic_lb);
  3398. })
  3399. _this.map.add(graphiclayer);
  3400. _this.map.reorder(graphiclayer, 100);
  3401. // toolBar.map.add(graphiclayer_lb);
  3402. // layer.msg("加载完成")
  3403. })
  3404. },
  3405. loadPoint_contry_water: function (layerId) {
  3406. var _this = this;
  3407. // axios.post(`/pdcApi/dc/insp/base/getPageCwsList`, {
  3408. axios.get(`/pdcApi/dc/insp/obj/getObjByPersId`, {
  3409. // this.$axios.get(`./static/json/point_people.json`, {
  3410. params: {
  3411. persGuid: localStorage.getItem("userid"),
  3412. objType: 2
  3413. }
  3414. })
  3415. .then(function (response) {
  3416. if (response.status == 200) {
  3417. var data_ = response.data;
  3418. console.log("contry_water......", data_)
  3419. var name = layerId;
  3420. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3421. "esri/layers/FeatureLayer",
  3422. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3423. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3424. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3425. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3426. ]) => {
  3427. //
  3428. var graphiclayer = new GraphicsLayer({
  3429. id: `${name}`
  3430. });
  3431. graphiclayer.visible = false;
  3432. // var graphiclayer_lb = new GraphicsLayer({
  3433. // id: "lable_" + level
  3434. // });
  3435. $.each(data_.data, function (index, e) {
  3436. if (e.lgtd == null || e.lttd == null)
  3437. return true
  3438. // var lgtd = (e.lowLeftLong + e.upRightLong) / 2;
  3439. // var lttd = (e.lowLeftLat + e.upRightLat) / 2;
  3440. var lgtd = e.lgtd;
  3441. var lttd = e.lttd;
  3442. var name = e.nm;
  3443. var pt = new Point(lgtd, lttd);
  3444. var symbol_picture = {
  3445. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3446. url: "/src/static/" + 'country3' + ".png",
  3447. width: 20,
  3448. height: 24,
  3449. angle: 0
  3450. };
  3451. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  3452. "#FF0000"));
  3453. var marker_Symbol = {
  3454. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3455. color: [226, 0, 0],
  3456. outline: { // autocasts as new SimpleLineSymbol()
  3457. color: [255, 255, 255],
  3458. width: 2
  3459. }
  3460. };
  3461. var textSymbol = new TextSymbol({
  3462. color: "black",
  3463. haloColor: "black",
  3464. haloSize: "1px",
  3465. text: name,
  3466. xoffset: 3,
  3467. yoffset: -10,
  3468. horizontalAlignment: "left",
  3469. kerning: true,
  3470. font: { // autocast as esri/symbols/Font
  3471. size: 9,
  3472. family: "system-ui",
  3473. // weight: "bolder"
  3474. }
  3475. });
  3476. var markerSymbol = symbol_picture;
  3477. e.point_type = 3;
  3478. var attr = e;
  3479. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3480. graphiclayer.graphics.add(graphic);
  3481. var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3482. // graphiclayer_lb.graphics.add(graphic_lb);
  3483. })
  3484. _this.map.add(graphiclayer);
  3485. _this.map.reorder(graphiclayer, 100);
  3486. // toolBar.map.add(graphiclayer_lb);
  3487. // layer.msg("加载完成")
  3488. })
  3489. }
  3490. })
  3491. .catch(function (error) {
  3492. console.log(error);
  3493. });
  3494. },
  3495. closeModal() {
  3496. this.processLineShow = false
  3497. },
  3498. closeModal_people() {
  3499. this.processLineShow_people = false
  3500. if (this.map.findLayerById("polyline_people")) {
  3501. this.map.findLayerById("polyline_people").removeAll();
  3502. this.map.reorder("polyline_people", 100);
  3503. }
  3504. if (this.map.findLayerById("point_peopleTrail")) {
  3505. this.map.findLayerById("point_peopleTrail").removeAll();
  3506. this.map.reorder("point_peopleTrail", 100);
  3507. }
  3508. },
  3509. closeModal_peopleTrail() {
  3510. this.processLineShow_peopleTrail = false;
  3511. },
  3512. closeModal_peopleTable() {
  3513. this.processLineShow_peopleTable = false;
  3514. },
  3515. closeModal_shuihuiTable() {
  3516. this.processLineShow_shuihuiTable = false;
  3517. },
  3518. closeModal_countrywaterTable() {
  3519. this.processLineShow_countrywaterTable = false;
  3520. },
  3521. closeModal_dxsTable() {
  3522. this.processLineShow_dxsTable = false;
  3523. },
  3524. closeModal_shuikuTable() {
  3525. this.processLineShow_shuikuTable = false;
  3526. },
  3527. closeModal_result() {
  3528. this.processLineShow_result = false;
  3529. },
  3530. closeModal_data_common() {
  3531. this.processLineShow_data_common = false;
  3532. },
  3533. closeModal_XXX() {
  3534. this.processLineShow_XXX = false;
  3535. },
  3536. closeModal_common() {
  3537. this.processLineShow_common = false;
  3538. },
  3539. handleClick(row) {
  3540. this.showMore_sh = true;
  3541. },
  3542. handleClick_people(row) {
  3543. console.log(row);
  3544. if (row) {
  3545. this.listEventClick(row.pblmId);
  3546. }
  3547. // this.dialogInfo2 = true;
  3548. },
  3549. handleClick_searchResult(tab, event) {
  3550. },
  3551. getProblomListByPerid(perid) {
  3552. var _this = this;
  3553. axios.post(`/pdcApi/dc/insp/pblm/list/${perid}`, {
  3554. // axios.get(`/src/static/point_people.json`, {
  3555. params: {}
  3556. })
  3557. .then(function (response) {
  3558. if (response.status == 200) {
  3559. var data_ = response.data;
  3560. console.log(data_)
  3561. _this.tableData5 = []
  3562. _this.tableData5 = data_.data.list;
  3563. }
  3564. })
  3565. .catch(function (error) {
  3566. console.log(error);
  3567. });
  3568. },
  3569. getPeopleDetail(perid) {
  3570. var _this = this;
  3571. axios.post(`/pdcApi/QRCode/${perid}`, {
  3572. params: {}
  3573. })
  3574. .then(function (response) {
  3575. if (response.status == 200) {
  3576. var data_ = response.data;
  3577. console.log("people...", data_)
  3578. _this.peopleDetail = data_.data;
  3579. }
  3580. })
  3581. .catch(function (error) {
  3582. console.log(error);
  3583. });
  3584. },
  3585. //xiangqing
  3586. closeDraggable: function () {
  3587. this.showEventProcess = false;
  3588. },
  3589. //点击上报事件 详情 弹出事件详情框
  3590. listEventClick(proId) {
  3591. // this.showEventProcess = true;
  3592. // return
  3593. axios.get(`/pdcApi/dc/insp/pblm/${proId}`).then((res) => {
  3594. this.eventDetailObj = res.data.data;
  3595. if (this.eventDetailObj) {
  3596. this.eventDetailObj.imageUrlArray = [];
  3597. $.each(this.eventDetailObj.gwComFiles, (index, e) => {
  3598. this.eventDetailObj.imageUrlArray.push({
  3599. imgsrc: "/pdcApi" + e.filePath
  3600. })
  3601. })
  3602. console.log("pic,,,", this.eventDetailObj.imageUrlArray);
  3603. this.showEventProcess = true;
  3604. }
  3605. })
  3606. },
  3607. timestampToTime(row, column) {
  3608. var date = new Date(row.collTime)
  3609. var Y = date.getFullYear() + '-'
  3610. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : '0' + date.getMonth() + 1) + '-'
  3611. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
  3612. var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':'
  3613. var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes())
  3614. return Y + M + D + h + m
  3615. },
  3616. processState(row, column) {
  3617. return row.pblmStat == '1' ? "已上报" : "未上报";
  3618. },
  3619. peopleTrail(id, bDraw = true) {
  3620. var _this = this;
  3621. console.log(this.value5)
  3622. if (this.value5 == "") {
  3623. this.$message({
  3624. message: '请选择轨迹时间范围!',
  3625. type: 'warning'
  3626. });
  3627. return
  3628. }
  3629. axios.get(`/pdcApi/pers/position/findListByPersId`, {
  3630. // this.$axios.get(`./static/json/point_people_trail.json`, {
  3631. params: {
  3632. pageNum: 1,
  3633. pageSize: 10,
  3634. operateTimeFrom: this.value5[0],
  3635. operateTimeTo: this.value5[1],
  3636. count: 0,
  3637. persId: id,
  3638. // "56c9f61a563543e685d63c600bcee438"
  3639. }
  3640. })
  3641. .then(function (response) {
  3642. if (response.status == 200) {
  3643. if (_this.map.findLayerById("polyline_people")) {
  3644. _this.map.findLayerById("polyline_people").removeAll();
  3645. }
  3646. if (_this.map.findLayerById("point_peopleTrail")) {
  3647. _this.map.findLayerById("point_peopleTrail").removeAll();
  3648. }
  3649. var data_ = response.data;
  3650. console.log("轨迹......", data_)
  3651. var name = "polyline_people";
  3652. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3653. "esri/layers/FeatureLayer",
  3654. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3655. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3656. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3657. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3658. ]) => {
  3659. var graphiclayer = _this.map.findLayerById(name);
  3660. if (!graphiclayer) {
  3661. graphiclayer = new GraphicsLayer({
  3662. id: `${name}`
  3663. });
  3664. }
  3665. // var coords = [[116.358073,39.888671],[116.30205729,39.82487917]];
  3666. var coords = [];
  3667. // _this.loadPoint_peopleTrail(data_.data);
  3668. _this.tableData_peopleTrail = data_.data;
  3669. if (!bDraw) {
  3670. _this.processLineShow_peopleTrail = !_this.processLineShow_peopleTrail;
  3671. return
  3672. }
  3673. // _this.processLineShow_peopleTrail = true;
  3674. // return
  3675. var points = [];
  3676. $.each(data_.data, function (index, e) {
  3677. if (e.longitude == null || e.latitude == null)
  3678. return true
  3679. var lgtd = e.longitude;
  3680. var lttd = e.latitude;
  3681. var name = e.persName;
  3682. if (index != 0) {
  3683. var a = data_.data[index - 1];
  3684. var lastPoint = new Point(a.longitude, a.latitude);
  3685. var curPoint = new Point(lgtd, lttd);
  3686. var ss = lastPoint.distance(curPoint);
  3687. if (parseFloat(ss) < 0.0001 && data_.data.length != (index + 1)) {
  3688. return true
  3689. }
  3690. // console.log("distance.....", ss)
  3691. }
  3692. var rightPoint = new Point(lgtd, lttd);
  3693. points.push(rightPoint);
  3694. coords.push([lgtd, lttd]);
  3695. })
  3696. _this.loadPoint_peopleTrail2(points);
  3697. var polyline = {
  3698. type: "polyline", // autocasts as new Polyline()
  3699. paths: coords
  3700. };
  3701. var lineSymbol = {
  3702. type: "simple-line", // autocasts as SimpleLineSymbol()
  3703. color: [226, 119, 40],
  3704. width: 4,
  3705. // style: "short-dot"
  3706. };
  3707. var lineAtt = {
  3708. Name: "Keystone Pipeline",
  3709. Owner: "TransCanada",
  3710. Length: "3,456 km"
  3711. };
  3712. var polylineGraphic = new Graphic({
  3713. geometry: polyline,
  3714. symbol: lineSymbol,
  3715. attributes: lineAtt,
  3716. });
  3717. graphiclayer.add(polylineGraphic);
  3718. _this.map.add(graphiclayer);
  3719. _this.map.reorder(graphiclayer, 100);
  3720. _this.view.extent = polylineGraphic.geometry.extent;
  3721. _this.view.zoom = _this.view.zoom - 1;
  3722. })
  3723. }
  3724. })
  3725. .catch(function (error) {
  3726. console.log(error);
  3727. });
  3728. },
  3729. loadPoint_peopleTrail: function (points) {
  3730. //
  3731. var _this = this;
  3732. var name = "point_peopleTrail";
  3733. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3734. "esri/layers/FeatureLayer",
  3735. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3736. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  3737. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3738. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  3739. ]) => {
  3740. var graphiclayer = _this.map.findLayerById(name);
  3741. if (!graphiclayer) {
  3742. graphiclayer = new GraphicsLayer({
  3743. id: `${name}`
  3744. });
  3745. }
  3746. var startLon = 0;
  3747. var startLat = 0;
  3748. $.each(points, function (index, e) {
  3749. if (e.longitude == null || e.latitude == null)
  3750. return true
  3751. var lgtd = e.longitude;
  3752. var lttd = e.latitude;
  3753. var name = e.persName;
  3754. if (index != 0) {
  3755. var a = points[index - 1];
  3756. var lastPoint = new Point(a.longitude, a.latitude);
  3757. var curPoint = new Point(lgtd, lttd);
  3758. var ss = lastPoint.distance(curPoint);
  3759. if (parseFloat(ss) < 0.0010 && points.length != (index + 1)) {
  3760. return true
  3761. }
  3762. console.log("distance.....", ss)
  3763. }
  3764. var pt = new Point(lgtd, lttd);
  3765. var symbol_picture = {
  3766. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3767. url: "/src/static/" + 'dis' + ".png",
  3768. width: 23,
  3769. height: 23,
  3770. angle: 0
  3771. };
  3772. var marker_Symbol = {
  3773. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3774. color: [0, 0, 255],
  3775. outline: { // autocasts as new SimpleLineSymbol()
  3776. color: [255, 255, 255],
  3777. width: 2
  3778. }
  3779. };
  3780. var marker_Symbol2 = {
  3781. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3782. color: [0, 255, 0],
  3783. outline: { // autocasts as new SimpleLineSymbol()
  3784. color: [255, 255, 255],
  3785. width: 2
  3786. }
  3787. };
  3788. var markerSymbol = null;
  3789. if (points.length == (index + 1)) {
  3790. markerSymbol = symbol_picture;
  3791. } else if (index == 0) {
  3792. markerSymbol = marker_Symbol2;
  3793. } else {
  3794. markerSymbol = marker_Symbol;
  3795. }
  3796. // e.point_type = 2;
  3797. var attr = e;
  3798. var graphic = new Graphic(pt, markerSymbol, attr, null);
  3799. graphiclayer.graphics.add(graphic);
  3800. // var graphic_lb = new Graphic(pt, textSymbol, null, null);
  3801. })
  3802. _this.map.add(graphiclayer);
  3803. _this.map.reorder(graphiclayer, 200);
  3804. })
  3805. },
  3806. loadPoint_peopleTrail2: function (points) {
  3807. var _this = this;
  3808. var name = "point_peopleTrail";
  3809. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  3810. "esri/layers/FeatureLayer",
  3811. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  3812. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer", "esri/geometry/Multipoint"
  3813. ], _this.options).then(([SimpleMarkerSymbol, Point,
  3814. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer, Multipoint
  3815. ]) => {
  3816. var graphiclayer = _this.map.findLayerById(name);
  3817. if (!graphiclayer) {
  3818. graphiclayer = new GraphicsLayer({
  3819. id: `${name}`
  3820. });
  3821. }
  3822. var symbol_picture = {
  3823. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  3824. url: "/src/static/" + 'dis' + ".png",
  3825. width: 23,
  3826. height: 23,
  3827. angle: 0
  3828. };
  3829. var marker_Symbol = {
  3830. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3831. color: [0, 0, 255],
  3832. size:5,
  3833. outline: { // autocasts as new SimpleLineSymbol()
  3834. color: [255, 255, 255],
  3835. width: 1
  3836. }
  3837. };
  3838. var marker_Symbol2 = {
  3839. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  3840. color: [0, 255, 0],
  3841. outline: { // autocasts as new SimpleLineSymbol()
  3842. color: [255, 255, 255],
  3843. width: 2
  3844. }
  3845. };
  3846. $.each(points, function (index, e) {
  3847. if (e.longitude == null || e.latitude == null)
  3848. return true
  3849. var markerSymbol = null;
  3850. if (points.length == (index + 1)) {
  3851. markerSymbol = symbol_picture;
  3852. } else if (index == 0) {
  3853. markerSymbol = marker_Symbol2;
  3854. } else {
  3855. markerSymbol = marker_Symbol;
  3856. }
  3857. var graphic = new Graphic(e, markerSymbol, null, null);
  3858. graphiclayer.graphics.add(graphic);
  3859. })
  3860. var first_graphic = new Graphic(points[0], marker_Symbol2, null, null);
  3861. graphiclayer.graphics.add(first_graphic);
  3862. _this.map.add(graphiclayer);
  3863. _this.map.reorder(graphiclayer, 200);
  3864. })
  3865. },
  3866. mytest(params) {
  3867. console.log('layer....', params)
  3868. if (typeof params === 'boolean') {
  3869. this.model_shuiku_statistic = params;
  3870. this.bShuikuStatistic()
  3871. } else {
  3872. if (parseInt(params[1])) {
  3873. this.activeName_data_common = params[3]
  3874. this.processLineShow_data_common = true;
  3875. }
  3876. var layer = this.map.findLayerById(params[0]);
  3877. if (layer != null) {
  3878. layer.visible = (parseInt(params[1]) ? true : false);
  3879. this[params[2]] = (parseInt(params[1]) ? true : false);
  3880. }
  3881. }
  3882. },
  3883. shifouRadio(val) {
  3884. if (val == "1") {
  3885. return "是";
  3886. } else if (val == "2" || val == "0") {
  3887. return "否";
  3888. }
  3889. },
  3890. youwuRadio(val) {
  3891. if (val == "1") {
  3892. return "有";
  3893. } else if (val == "2" || val == "0") {
  3894. return "无";
  3895. }
  3896. },
  3897. // 人饮关闭
  3898. closeModal_country_water() {
  3899. this.processLineShow_country_water = false;
  3900. },
  3901. // 水库关闭
  3902. closeModal_shuiku() {
  3903. this.processLineShow_shuiku = false;
  3904. },
  3905. closeDraggable_shxq() {
  3906. this.showMore_sh = false;
  3907. },
  3908. //地下水关闭
  3909. closeModal_dixiashui() {
  3910. this.modal_dixiashui = false;
  3911. },
  3912. nyhandleChange(val) {
  3913. if (val == '1') {
  3914. this.getNysgcData()
  3915. }
  3916. },
  3917. skhandleChange(val) {
  3918. if (val == '1') {
  3919. this.sxjbyq = {
  3920. "rgstrId": "",
  3921. 'recPersId': "",
  3922. "emerPlanSameExta": "",
  3923. "emerPlanSameAppr": "",
  3924. "emerPlanSameEme": "",
  3925. "emerPlanSameSpeed": "",
  3926. "schPlanSameExta": "",
  3927. "schPlanSameAppr": "",
  3928. "schPlanSameSpeed": "",
  3929. "rainForc": "",
  3930. };
  3931. request.get(`/dc/insp/baseExt/get/${this.rgstrId}`).then(res => {
  3932. if (res.data) {
  3933. this.sxjbyq = res.data;
  3934. // alert(formatDateTimeD())
  3935. }
  3936. }).catch(err => {
  3937. })
  3938. } else if (val == '2') {
  3939. this.sgzrr = {
  3940. "dutyId": '',
  3941. "hasPatrolPers": "", //是否有巡查责任人
  3942. "hasTechPers": "", //是否有技术责任人
  3943. "hasWiunWaoLegPers": "", //是否有行政责任人
  3944. "patrolPers": "", //巡查责任人姓名
  3945. "patrolPersDuty": "", //巡查责任人职务
  3946. "patrolPersResu": "", //巡查责任人履职情况 0 1 2
  3947. "patrolPersTel": "", //巡查责任人电话
  3948. "rgstrId": "", //水库督查登记ID
  3949. "techPers": "", //技术责任人姓名
  3950. "techPersDuty": "", //技术责任人职务
  3951. "techPersResu": "", //技术责任人履职情况
  3952. "techPersTel": "", //技术责任人电话
  3953. "wiunWaoLegPers": "", //行政责任人姓名
  3954. "wiunWaoLegPersDuty": "", //行政责任人职务
  3955. "wiunWaoLegPersResu": "", //行政责任人履职情况
  3956. "wiunWaoLegPersTel": "", //行政责任人电话
  3957. };
  3958. request.get(`/dc/insp/basePres/get/${this.rgstrId}`).then(res => {
  3959. if (res.data) {
  3960. this.sgzrr = res.data;
  3961. }
  3962. }).catch(err => {
  3963. })
  3964. } else if (val == '3') {
  3965. this.skgcst = {
  3966. "mngrnId": '',
  3967. "rgstrId": '',
  3968. "recPersId": '',
  3969. "safeCommontNote": '',
  3970. "safeComment": "",
  3971. "retainRegular": '',
  3972. "hasRetainRegular": '',
  3973. "hasWdEmnic": '',
  3974. "hasManagePers": '',
  3975. "hasSpeManage": '',
  3976. "noRetainRegular": '',
  3977. "canNotRetainWater": '',
  3978. "dikeHasLeak": '',
  3979. "leakMakeSafe": '',
  3980. "hasAstable": '',
  3981. "hasSetMainFl": '',
  3982. "isMainFlNormal": '',
  3983. "hasSetPourFl": '',
  3984. "pourFyIsNormal": '',
  3985. "havFlLowLimLev": '',
  3986. "gtFlLowLimLev": '',
  3987. "extDamSafeAppr": '',
  3988. "ifReinForce": '',
  3989. "ifComplateAccAll": '',
  3990. "ifManageRegRel": '',
  3991. "manageRegRelNote": '',
  3992. "ifDamWarnLogo": '',
  3993. "recPers2": '',
  3994. "recPersTel": '',
  3995. "status": '',
  3996. };
  3997. request.get(`/dc/insp/safeExtManage/get/${this.rgstrId}`).then(res => {
  3998. if (res.data) {
  3999. this.skgcst = res.data;
  4000. }
  4001. }).catch(err => {
  4002. })
  4003. } else if (val == '4') {
  4004. this.zfqkData = [];
  4005. request.get(`/dc/insp/baseView/get/${this.rgstrId}`).then(res => {
  4006. let obj = res.data;
  4007. if (obj) {
  4008. this.zfqkData.push(obj)
  4009. }
  4010. }).catch(err => {
  4011. })
  4012. } else if (val == '5') {
  4013. this.wtqdData = [];
  4014. request.get(`/dc/insp/rsvrRgstr/list/${this.rgstrId}`).then(res => {
  4015. let obj = res.data.list;
  4016. if (obj) {
  4017. this.wtqdData.push(obj[0]);
  4018. }
  4019. }).catch(err => {
  4020. })
  4021. }
  4022. console.log(val);
  4023. },
  4024. clearTempData() {
  4025. var layerId = "point_peopleTrail2";
  4026. if (this.map.findLayerById(layerId)) {
  4027. this.map.findLayerById(layerId).removeAll();
  4028. }
  4029. layerId = "point_temper";
  4030. if (this.map.findLayerById(layerId)) {
  4031. this.map.remove(this.map.findLayerById(layerId))
  4032. }
  4033. layerId = "point_shuiku_temp";
  4034. if (this.map.findLayerById(layerId)) {
  4035. this.map.remove(this.map.findLayerById(layerId))
  4036. }
  4037. layerId = "map_layer_temp";
  4038. if (this.map.findLayerById(layerId)) {
  4039. this.map.remove(this.map.findLayerById(layerId))
  4040. }
  4041. },
  4042. transData(objs, idStr, pidStr, chindrenStr) {
  4043. var a = objs;
  4044. var r = [],
  4045. hash = {},
  4046. id = idStr,
  4047. pid = pidStr,
  4048. children = chindrenStr,
  4049. i = 0,
  4050. j = 0,
  4051. len = a.length;
  4052. for (; i < len; i++) {
  4053. hash[a[i][id]] = a[i];
  4054. }
  4055. for (; j < len; j++) {
  4056. var aVal = a[j],
  4057. hashVP = hash[aVal[pid]];
  4058. if (hashVP) {
  4059. !hashVP[children] && (hashVP[children] = []);
  4060. hashVP[children].push(aVal);
  4061. } else {
  4062. r.push(aVal);
  4063. }
  4064. }
  4065. return r;
  4066. },
  4067. formatDate(date_, format) {
  4068. var date = {
  4069. "M+": date_.getMonth() + 1,
  4070. "d+": date_.getDate(),
  4071. "h+": date_.getHours(),
  4072. "m+": date_.getMinutes(),
  4073. "s+": date_.getSeconds(),
  4074. "q+": Math.floor((date_.getMonth() + 3) / 3),
  4075. "S+": date_.getMilliseconds()
  4076. };
  4077. if (/(y+)/i.test(format)) {
  4078. format = format.replace(RegExp.$1, (date_.getFullYear() + '').substr(4 - RegExp.$1.length));
  4079. }
  4080. for (var k in date) {
  4081. if (new RegExp("(" + k + ")").test(format)) {
  4082. format = format.replace(RegExp.$1, RegExp.$1.length == 1 ?
  4083. date[k] : ("00" + date[k]).substr(("" + date[k]).length));
  4084. }
  4085. }
  4086. return format;
  4087. },
  4088. getDistance(lat1, lng1, lat2, lng2) {
  4089. var radLat1 = lat1 * Math.PI / 180.0;
  4090. var radLat2 = lat2 * Math.PI / 180.0;
  4091. var a = radLat1 - radLat2;
  4092. var b = lng1 * Math.PI / 180.0 - lng2 * Math.PI / 180.0;
  4093. var s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) +
  4094. Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2)));
  4095. s = s * 6378.137; // EARTH_RADIUS;
  4096. s = Math.round(s * 10000) / 10000;
  4097. return s;
  4098. },
  4099. formatter_coordinateX(row, column) {
  4100. if (row.longitude) {
  4101. return row.longitude.toFixed(4)
  4102. }
  4103. },
  4104. formatter_coordinateY(row, column) {
  4105. if (row.latitude) {
  4106. return row.latitude.toFixed(4)
  4107. }
  4108. },
  4109. formatter_shuihui_type(row, column) {
  4110. if (row.wtdstState == 0) {
  4111. return "未完成"
  4112. } else if (row.wtdstState == 1) {
  4113. return "处理中"
  4114. } else if (row.wtdstState == 2) {
  4115. return "已完成"
  4116. }
  4117. },
  4118. formatter_shuiku_type(row, column) {
  4119. switch (row.rsType) {
  4120. case "1":
  4121. return "山丘水库"
  4122. break;
  4123. case "2":
  4124. return "平原水库"
  4125. break;
  4126. case "3":
  4127. return "地下水库"
  4128. break;
  4129. default:
  4130. return "--"
  4131. break;
  4132. }
  4133. },
  4134. formatter_shuiku_pro_type(row, column) {
  4135. switch (row.engScal) {
  4136. case "1":
  4137. return "大(1)型"
  4138. break;
  4139. case "2":
  4140. return "大(2)型"
  4141. break;
  4142. case "3":
  4143. return "中型"
  4144. break;
  4145. case "4":
  4146. return "小(1)型"
  4147. break;
  4148. case "5":
  4149. return "小(2)型"
  4150. break;
  4151. default:
  4152. return "其它"
  4153. break;
  4154. }
  4155. },
  4156. formatEngScal(val) {
  4157. switch (val) {
  4158. case '1':
  4159. val = '大(1)型';
  4160. break;
  4161. case '2':
  4162. val = '大(2)型';
  4163. break;
  4164. case '3':
  4165. val = '中型';
  4166. break;
  4167. case '4':
  4168. val = '小(1)型';
  4169. break;
  4170. case '5':
  4171. val = '小(2)型';
  4172. break;
  4173. case '9':
  4174. val = '其他';
  4175. break;
  4176. }
  4177. return val;
  4178. },
  4179. formatdamType(val) {
  4180. switch (val) {
  4181. case '1':
  4182. val = '混凝土坝';
  4183. break;
  4184. case '2':
  4185. val = '碾压混凝土坝';
  4186. break;
  4187. case '3':
  4188. val = '浆砌石坝';
  4189. break;
  4190. case '4':
  4191. val = '土坝';
  4192. break;
  4193. case '5':
  4194. val = '堆石坝';
  4195. break;
  4196. case '6':
  4197. val = '挡水坝';
  4198. break;
  4199. case '7':
  4200. val = '其它';
  4201. break;
  4202. }
  4203. return val;
  4204. },
  4205. formatter_country_xzqh(row, column) {
  4206. switch (row.adGrad) {
  4207. case "1":
  4208. return "中国"
  4209. break;
  4210. case "2":
  4211. return "省级"
  4212. break;
  4213. case "3":
  4214. return "市级"
  4215. break;
  4216. case "4":
  4217. return "县级"
  4218. break;
  4219. case "5":
  4220. return "乡级"
  4221. break;
  4222. case "6":
  4223. return "乡级"
  4224. break;
  4225. default:
  4226. return "--"
  4227. break;
  4228. }
  4229. },
  4230. peopleTrailRowClick(row, column, event) {
  4231. // row.guid = row.persId;
  4232. // this.location(-1, row)
  4233. this.location2(row.longitude, row.latitude)
  4234. },
  4235. loadShuikuStatistic() {
  4236. axios.get(`/pdcApi/dc/att/rsBase/getRsCountByAdCode?adCode=000000000000&adGrad=2`, {
  4237. params: {}
  4238. })
  4239. .then((res) => {
  4240. if (res.status == 200 && res.data.data != undefined) {
  4241. // console.log("统计。。。。。", res)
  4242. this.loadShuikuStatisticPoint(xzqData, res.data.data, "shuiku_statistic");
  4243. setTimeout(() => {
  4244. this.toHome();
  4245. }, 500)
  4246. }
  4247. })
  4248. .catch(function (error) {
  4249. console.log(error);
  4250. });
  4251. },
  4252. loadShuikuStatisticPoint(data_, StatisData = [], layerId = "shuiku_statistic", visible = true) {
  4253. // console.log("xzqData.............................", xzqData)
  4254. var _this = this;
  4255. var name = layerId;
  4256. esriLoader.loadModules(["esri/symbols/SimpleMarkerSymbol", "esri/geometry/Point",
  4257. "esri/layers/FeatureLayer",
  4258. "esri/layers/support/LabelClass", "esri/symbols/TextSymbol",
  4259. "esri/Color", "esri/Graphic", "esri/layers/GraphicsLayer"
  4260. ], _this.options).then(([SimpleMarkerSymbol, Point,
  4261. FeatureLayer, LabelClass, TextSymbol, Color, Graphic, GraphicsLayer
  4262. ]) => {
  4263. //
  4264. var graphiclayer = null;
  4265. var graphiclayer_lb = null;
  4266. if (this.map.findLayerById(name)) {
  4267. graphiclayer = this.map.findLayerById(name)
  4268. graphiclayer_lb = this.map.findLayerById(name + "_lable")
  4269. } else {
  4270. graphiclayer = new GraphicsLayer({
  4271. id: `${name}`
  4272. });
  4273. graphiclayer_lb = new GraphicsLayer({
  4274. id: name + "_lable"
  4275. });
  4276. }
  4277. graphiclayer.visible = visible;
  4278. // var graphiclayer_lb = new GraphicsLayer({
  4279. // id: name + "_lable"
  4280. // });
  4281. graphiclayer_lb.visible = visible;
  4282. $.each(data_, function (index, e) {
  4283. var lgtd = e.x;
  4284. var lttd = e.y;
  4285. if (lgtd == null || lttd == null)
  4286. return true
  4287. if (StatisData.length != 0) {
  4288. e.total = 0;
  4289. }
  4290. $.each(StatisData, (index2, e2) => {
  4291. if (e2.adCode == e.adCode) {
  4292. e.total = e2.rsCount;
  4293. return false;
  4294. }
  4295. })
  4296. var name = e.adName;
  4297. var pt = new Point(lgtd, lttd);
  4298. var symbol_picture = {
  4299. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  4300. url: "/src/static/" + 'info4' + ".png",
  4301. width: 37,
  4302. height: 20,
  4303. angle: 0
  4304. };
  4305. var symbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, null, new Color(
  4306. "#FF0000"));
  4307. var marker_Symbol = {
  4308. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  4309. color: [226, 119, 40],
  4310. outline: { // autocasts as new SimpleLineSymbol()
  4311. color: [255, 255, 255],
  4312. width: 2
  4313. }
  4314. };
  4315. var textSymbol = new TextSymbol({
  4316. color: "#f3eda9",
  4317. haloColor: "black",
  4318. haloSize: "1px",
  4319. text: e.total,
  4320. // xoffset: '16px',
  4321. yoffset: '-4px',
  4322. horizontalAlignment: "center",
  4323. kerning: true,
  4324. font: { // autocast as esri/symbols/Font
  4325. size: 10,
  4326. family: "system-ui",
  4327. weight: "bolder",
  4328. }
  4329. });
  4330. var markerSymbol = symbol_picture;
  4331. e.point_type = 5; //水库统计
  4332. // e.total = 998;
  4333. var attr = e;
  4334. var graphic = new Graphic(pt, markerSymbol, attr, null);
  4335. graphiclayer.graphics.add(graphic);
  4336. var graphic_lb = new Graphic(pt, textSymbol, attr, null);
  4337. graphiclayer_lb.graphics.add(graphic_lb);
  4338. })
  4339. _this.map.add(graphiclayer);
  4340. _this.map.reorder(graphiclayer, 100);
  4341. _this.map.add(graphiclayer_lb);
  4342. _this.map.reorder(graphiclayer_lb, 600);
  4343. // setTimeout(() => {
  4344. // _this.toHome();
  4345. // }, 500)
  4346. // layer.msg("加载完成")
  4347. })
  4348. // $.each(xzqData, (index, e) => {})
  4349. },
  4350. loadShuikuPointByCodeTable(obj) {
  4351. axios({
  4352. method: 'post',
  4353. url: '/pdcApi/dc/insp/base/getPageRsvrList',
  4354. data: {
  4355. "addvcd": obj.adCode.substr(0, 2),
  4356. "engScal": "",
  4357. "name": "",
  4358. "orderby": "",
  4359. "pageNum": this.pageIndex_shuiku,
  4360. "pageSize": this.pageSize_shuiku,
  4361. "persid": "",
  4362. "ptype": "",
  4363. "rsAdmDep": "",
  4364. "type": ""
  4365. }
  4366. }).then((res) => {
  4367. console.log("bycodeTable。。。。。", res)
  4368. if (res.status == 200 && res.data.data) {
  4369. var objs = res.data.data;
  4370. }
  4371. })
  4372. },
  4373. loadShuikuPointByCode(obj) {
  4374. var code = "";
  4375. if (obj.adGrad == "1") {
  4376. code = obj.adCode.substr(0, 2);
  4377. this.view.center = [obj.x, obj.y];
  4378. this.view.zoom = 7;
  4379. return
  4380. } else if (obj.adGrad == "2") {
  4381. code = obj.adCode.substr(0, 4);
  4382. }
  4383. // this.loadShuikuStatisticCityByCode(obj.adCode.substr(0, 6))
  4384. // return
  4385. axios({
  4386. method: 'post',
  4387. url: '/pdcApi/dc/insp/base/getRsvrList',
  4388. data: {
  4389. "addvcd": code, //obj.adCode.substr(0, 2),
  4390. "engScal": "",
  4391. "name": "",
  4392. "orderby": "",
  4393. "pageNum": 0,
  4394. "pageSize": 0,
  4395. "persid": "",
  4396. "ptype": "",
  4397. "rsAdmDep": "",
  4398. "type": ""
  4399. }
  4400. }).then((res) => {
  4401. console.log("bycode。。。。。", res)
  4402. if (res.status == 200 && res.data.data) {
  4403. var objs = res.data.data;
  4404. this.loadPoint_shuiku2(objs);
  4405. this.tableHeaders_XXX = [{
  4406. fieldName: "code",
  4407. aliasName: "编码",
  4408. width: 120
  4409. }, {
  4410. fieldName: "nm",
  4411. aliasName: "名称",
  4412. width: 110
  4413. }, {
  4414. fieldName: "locat",
  4415. aliasName: "位置",
  4416. width: 120
  4417. }]
  4418. this.tableData_XXX = objs;
  4419. this.processLineShow_XXX = true;
  4420. }
  4421. })
  4422. this.loadShuikuPointByCodeTable(obj);
  4423. this.getBound(obj.adCode.substr(0, 6));
  4424. },
  4425. searchByName(type) {
  4426. if (type == 1) {
  4427. this.loadTableShuihui();
  4428. } else if (type == 3) {
  4429. this.loadTableShuiku();
  4430. } else if (type == 2) {
  4431. this.loadTableCountry();
  4432. } else if (type == 5) {
  4433. this.loadTableDxs();
  4434. }
  4435. },
  4436. regionChange(data) {
  4437. console.log(data);
  4438. if (data.area) {
  4439. this.getBound(data.area.key);
  4440. } else
  4441. if (data.city) {
  4442. this.getBound(data.city.key);
  4443. } else
  4444. if (data.province) {
  4445. this.getBound(data.province.key);
  4446. }
  4447. // this.getBound();
  4448. },
  4449. getBound(addvcd) {
  4450. //获取边界
  4451. var _this = this;
  4452. if (addvcd) {
  4453. esriLoader.loadModules(["esri/geometry/Point", "esri/tasks/QueryTask", "esri/tasks/support/Query",
  4454. "esri/layers/GraphicsLayer", "esri/Graphic"
  4455. ], _this.options)
  4456. .then(([Point, QueryTask, Query, GraphicsLayer, Graphic]) => {
  4457. // var mapPoint = new Point({
  4458. // x: x,
  4459. // y: y
  4460. // });
  4461. let graphicLayer = _this.map.findLayerById("map_layer_temp");
  4462. if (graphicLayer == null) {
  4463. graphicLayer = new GraphicsLayer();
  4464. graphicLayer.id = "map_layer_temp";
  4465. _this.map.reorder(graphicLayer, 500);
  4466. _this.map.add(graphicLayer);
  4467. }
  4468. graphicLayer.removeAll();
  4469. var query = new Query();
  4470. // query.geometry = mapPoint;
  4471. query.where = `CODE = '${addvcd}' and 1=1`;
  4472. // query.spatialRelationship = "within"
  4473. query.outFields = ["CODE", "NAME"];
  4474. query.returnGeometry = true;
  4475. var sub = ""
  4476. if (addvcd.substring(2, 6) == '0000') { //省
  4477. sub = "/3";
  4478. } else if (addvcd.substring(4, 6) == '00') {
  4479. sub = "/5";
  4480. } else {
  4481. sub = "/4";
  4482. }
  4483. var queryTask = new QueryTask(_this.map_server + sub);
  4484. queryTask.execute(query).then(function (result) {
  4485. // console.log("geo......", result)
  4486. if (result.features.length == 0) return;
  4487. var feature = result.features[0]
  4488. var CODE = feature.attributes.CODE.toString();
  4489. var prov = feature.attributes.NAME.toString();
  4490. var polylineSymbol = {
  4491. type: "simple-line", // autocasts as SimpleLineSymbol()
  4492. color: 'red',
  4493. width: 2
  4494. };
  4495. _this.polylineGraphic = new Graphic({
  4496. geometry: feature.geometry,
  4497. symbol: polylineSymbol,
  4498. });
  4499. _this.view.extent = feature.geometry.extent;
  4500. _this.view.zoom = _this.view.zoom - 1;
  4501. graphicLayer.add(_this.polylineGraphic);
  4502. });
  4503. })
  4504. }
  4505. },
  4506. loadShuikuStatisticCityByCode(code) {
  4507. esriLoader.loadModules(["esri/geometry/Point", "esri/tasks/QueryTask", "esri/tasks/support/Query",
  4508. "esri/layers/GraphicsLayer", "esri/Graphic"
  4509. ], this.options)
  4510. .then(([Point, QueryTask, Query, GraphicsLayer, Graphic]) => {
  4511. var query = new Query();
  4512. query.where = `CODE like '${code.substr(0,2)}%' and 1=1`;
  4513. query.outFields = ["CODE", "NAME", "CapitalX", "CapitalY"];
  4514. query.returnGeometry = false;
  4515. var queryTask = new QueryTask(this.map_server + '/5');
  4516. queryTask.execute(query).then((result) => {
  4517. console.log("attr......", result)
  4518. if (result.features.length == 0) return;
  4519. var xzq = [];
  4520. $.each(result.features, (index, e) => {
  4521. var attr = e.attributes;
  4522. var obj = {
  4523. 'adCode': attr.CODE,
  4524. 'adName': attr.NAME,
  4525. 'adGrad': '2',
  4526. 'x': attr.CapitalX,
  4527. 'y': attr.CapitalY
  4528. }
  4529. xzq.push(obj);
  4530. });
  4531. // this.loadShuikuStatisticPoint(xzq, [], 'shuiku_statistic_city', false)
  4532. $.ajax({
  4533. url: '/pdcApi/dc/att/rsBase/getRsCountByAdCode',
  4534. type: 'get', //GET
  4535. async: false, //或false,是否异步
  4536. data: {
  4537. adCode: code
  4538. },
  4539. dataType: 'json', //返回的数据格式:
  4540. success: function (data) {
  4541. console.log("shuiku........." + index, data)
  4542. this.loadShuikuStatisticPoint(xzq, [], 'shuiku_statistic_city', false)
  4543. },
  4544. error: function (xhr, textStatus) {},
  4545. })
  4546. // await axios.get(`/pdcApi/dc/att/rsBase/getRsCountByAdCode`, {
  4547. // params: {
  4548. // adCode: code
  4549. // }
  4550. // })
  4551. // .then((res) => {
  4552. // if (res.status == 200 && res.data.data != undefined) {
  4553. // this.loadShuikuStatisticPoint(xzq, [], 'shuiku_statistic_city', false)
  4554. // }
  4555. // })
  4556. // .catch(function (error) {
  4557. // console.log(error);
  4558. // });
  4559. })
  4560. })
  4561. },
  4562. loadShuikuStatisticCityByCode2() {
  4563. var xzq = [];
  4564. $.each(xzqCity, (index, e) => {
  4565. var attr = e.attributes;
  4566. var obj = {
  4567. 'adCode': attr.CODE,
  4568. 'adName': attr.NAME,
  4569. 'adGrad': '2',
  4570. 'x': attr.CapitalX,
  4571. 'y': attr.CapitalY,
  4572. }
  4573. xzq.push(obj);
  4574. });
  4575. this.loadShuikuStatisticPoint(xzq, [], 'shuiku_statistic_city', false)
  4576. },
  4577. loadShuikuStatisticCityByCode3() {
  4578. axios.get(`/pdcApi/dc/att/rsBase/getRsCountByAdCode?adCode=000000000000&adGrad=3`, {
  4579. params: {}
  4580. })
  4581. .then((res) => {
  4582. if (res.status == 200 && res.data.data != undefined) {
  4583. var xzq = [];
  4584. $.each(res.data.data, (index, e) => {
  4585. var attr = e;
  4586. var obj = {
  4587. 'adCode': attr.adCode,
  4588. 'adName': attr.adName,
  4589. 'adGrad': '2',
  4590. 'x': attr.lgtd,
  4591. 'y': attr.lttd,
  4592. 'total': attr.rsCount
  4593. }
  4594. if (attr.rsCount != null) {
  4595. xzq.push(obj);
  4596. }
  4597. });
  4598. this.loadShuikuStatisticPoint(xzq, [], 'shuiku_statistic_city', false)
  4599. }
  4600. })
  4601. .catch(function (error) {
  4602. console.log(error);
  4603. });
  4604. },
  4605. initTree() {
  4606. // this.getOnlinePeoples();
  4607. if (this.bAdmin) {
  4608. this.curOrgId = "1";
  4609. this.getOnlinePeoples2();
  4610. } else {
  4611. // 权限
  4612. axios.get(`/pdcApi/pers/position/findNodeByPersId`, {
  4613. params: {
  4614. persId: localStorage.getItem("userid")
  4615. }
  4616. })
  4617. .then((res) => {
  4618. console.log("权限....", res);
  4619. if (res.status == 200 && res.data.data != undefined) {
  4620. // console.log("机构。。。。", res)
  4621. $.each(res.data.data, (index, e) => {
  4622. e.pnm = e.pnm + `(${e.onLineCount}/${e.count})`
  4623. })
  4624. var trData = this.transData(res.data.data, 'id', 'pid', 'children');
  4625. var total = 0;
  4626. var onlineTotal = 0;
  4627. var id = "";
  4628. $.each(trData, (index, e) => {
  4629. total += e.count;
  4630. onlineTotal += e.onLineCount;
  4631. id += `${e.id},`;
  4632. })
  4633. id = id.substring(0, id.length - 1);
  4634. this.treeData4[0].children = trData;
  4635. this.treeData4[0].id__ = id;
  4636. this.treeData4[0].pnm = this.treeData4[0].pnm + `(${onlineTotal}/${total})`;
  4637. console.log("权限tree。。。。", this.treeData4)
  4638. console.log("权限root-id。。。。", id)
  4639. this.curId = id || '-';
  4640. //
  4641. this.loadPoint_people('point_people')
  4642. if (!this.bAdmin)
  4643. this.getOnlinePeoples();
  4644. }
  4645. })
  4646. .catch(function (error) {
  4647. console.log(error);
  4648. });
  4649. // this.getOnlinePeoples();
  4650. }
  4651. //流域
  4652. // axios.get(`/pdcApi/pers/position/findClassify`, {
  4653. // params: {
  4654. // type: 2
  4655. // }
  4656. // })
  4657. // .then((res) => {
  4658. // // console.log("流域......", res)
  4659. // if (res.status == 200) {
  4660. // this.treeData[0].children = res.data.data;
  4661. // var total = 0;
  4662. // var total2 = 0;
  4663. // $.each(this.treeData[0].children, (index, e) => {
  4664. // e.pnm = `${e.pnm}(${e.onLineCount}/${e.count})`;
  4665. // total += e.count;
  4666. // total2 += e.onLineCount;
  4667. // })
  4668. // this.treeData[0].pnm = `${this.treeData[0].pnm}(${total2}/${total})`;
  4669. // }
  4670. // })
  4671. // .catch(function (error) {
  4672. // console.log(error);
  4673. // });
  4674. //专项
  4675. axios.get(`/pdcApi/pers/position/findClassify`, {
  4676. params: {
  4677. type: 1
  4678. }
  4679. })
  4680. .then((res) => {
  4681. if (res.status == 200) {
  4682. this.treeData2 = [{
  4683. id: "1",
  4684. pnm: '全国',
  4685. children: []
  4686. }]
  4687. this.treeData2[0].children = res.data.data;
  4688. var total = 0;
  4689. var total2 = 0;
  4690. $.each(this.treeData2[0].children, (index, e) => {
  4691. e.pnm = `${e.pnm}(${e.onLineCount}/${e.count})`;
  4692. total += e.count;
  4693. total2 += e.onLineCount;
  4694. })
  4695. this.treeData2[0].pnm = `${this.treeData2[0].pnm}(${total2}/${total})`;
  4696. }
  4697. })
  4698. .catch(function (error) {
  4699. console.log(error);
  4700. });
  4701. //机构
  4702. axios.get(`/pdcApi/pers/position/findOrgList`, {
  4703. params: {}
  4704. })
  4705. .then((res) => {
  4706. if (res.status == 200 && res.data.data != undefined) {
  4707. console.log("机构。。。。", res)
  4708. $.each(res.data.data, (index, e) => {
  4709. e.orgNm = e.orgNm + `(${e.onLineCount}/${e.count})`
  4710. })
  4711. var trData = this.transData(res.data.data, 'orgId', 'orgPid', 'children');
  4712. // console.log("机构tree。。。。", trData)
  4713. this.treeData3 = trData;
  4714. }
  4715. })
  4716. .catch(function (error) {
  4717. console.log(error);
  4718. });
  4719. },
  4720. /****/
  4721. getRyData() {
  4722. getTableId_ny(this.getObjId, this.recPersId).then((res) => {
  4723. this.YnEngId = res.data.engId;
  4724. this.getRygcData();
  4725. })
  4726. },
  4727. getRygcData() {
  4728. let getObj = {
  4729. engId: this.YnEngId
  4730. };
  4731. request.post(`/dc/insp/manageResponsibility/queryListByPage`, getObj).then((res) => {
  4732. console.log(res);
  4733. this.countryWaterInfo = {
  4734. recPersId: '',
  4735. adCode: '',
  4736. personAmount: '',
  4737. focusSupplyPerc: '',
  4738. waterSupplyPerc: '',
  4739. isGovRes: '',
  4740. isConRes: '',
  4741. isDeptRes: '',
  4742. isCntyDept: '',
  4743. isCntyFunc: '',
  4744. isCntyFee: '',
  4745. isQuailtyChk: '',
  4746. pracFee: '',
  4747. visitDate: '',
  4748. visitorIds: '',
  4749. status: '',
  4750. recPers2: '',
  4751. recPersTel: '',
  4752. accompany: '',
  4753. mngrId: ''
  4754. };
  4755. if (res.data.list.length) {
  4756. this.countryWaterInfo = res.data.list[0];
  4757. }
  4758. }).catch(function (error) {
  4759. console.log(error);
  4760. });
  4761. },
  4762. getNysgcData() {
  4763. request.post(`/dc/insp/vlgdrinkProjManage/queryListByPage`, {
  4764. pageNum: this.pageIndex,
  4765. pageSize: this.pageSize,
  4766. engId: this.YnEngId
  4767. })
  4768. .then(res => {
  4769. if (res.success) {
  4770. var obj = res.data;
  4771. this.tableData6 = obj.list;
  4772. }
  4773. })
  4774. .catch(function (error) {
  4775. console.log(error);
  4776. });
  4777. },
  4778. },
  4779. beforeMount() {
  4780. axios.defaults.headers.common['persId'] = localStorage.getItem("userid");
  4781. axios.defaults.headers.common['orgId'] = localStorage.getItem("orgId");
  4782. this.bAdmin = localStorage.getItem("isAdmin") == 1 ? true : false;
  4783. this.activeTabName = this.bAdmin ? "three" : "fourth";
  4784. this.initTree();
  4785. },
  4786. }
  4787. </script>
  4788. <style scoped>
  4789. #viewDiv {
  4790. height: 100%;
  4791. overflow-y: auto;
  4792. }
  4793. .ivu-row {
  4794. text-align: left;
  4795. }
  4796. .text {
  4797. font-size: 14px;
  4798. }
  4799. .item {
  4800. margin-bottom: 5px;
  4801. }
  4802. </style>
  4803. <style>
  4804. .text {
  4805. font-size: 14px;
  4806. }
  4807. .kjr-card .box-card {
  4808. width: 480px;
  4809. }
  4810. #kjrmap .el-input.is-disabled .el-input__inner {
  4811. width: 220px;
  4812. font-family: MicrosoftYaHei;
  4813. font-weight: 400;
  4814. color: rgba(51, 51, 51, 1);
  4815. background: rgba(255, 255, 255, 1);
  4816. border: 1px solid rgba(0, 105, 213, 1);
  4817. border-radius: 4px;
  4818. font-size: 14px;
  4819. font-family: MicrosoftYaHei;
  4820. font-weight: 400;
  4821. color: rgba(51, 51, 51, 1);
  4822. }
  4823. #kjrmap .nywater2 .el-input.is-disabled .el-input__inner {
  4824. width: 180px;
  4825. }
  4826. #kjrmap .el-textarea.is-disabled .el-textarea__inner {
  4827. width: 593px;
  4828. font-family: MicrosoftYaHei;
  4829. font-weight: 400;
  4830. color: rgba(51, 51, 51, 1);
  4831. background: rgba(255, 255, 255, 1);
  4832. border: 1px solid rgba(0, 105, 213, 1);
  4833. border-radius: 4px;
  4834. }
  4835. #kjrmap .process_line {
  4836. /* width: 30%; */
  4837. /* padding-left: 20px; */
  4838. border-radius: 8px;
  4839. overflow: hidden;
  4840. text-align: left;
  4841. }
  4842. #kjrmap .process_line .el-input {
  4843. width: 0;
  4844. }
  4845. #kjrmap .process_line .el-pagination .el-input {
  4846. width: 100px !important;
  4847. }
  4848. #kjrmap .process_line .input2 .el-input {
  4849. width: 160px;
  4850. }
  4851. #kjrmap .process_line .title {
  4852. font-size: 16px;
  4853. font-family: PingFang-SC-Bold;
  4854. font-weight: bold;
  4855. color: rgba(0, 156, 238, 1);
  4856. /* border-left: 4px solid rgba(0, 156, 238, 1); */
  4857. padding-left: 5px;
  4858. }
  4859. #kjrmap .el-dialog__header {
  4860. padding: 16px 14px !important;
  4861. background-color: #d9edff;
  4862. text-align: center;
  4863. border-bottom: solid 1px #aec2d4;
  4864. color: black;
  4865. }
  4866. #kjrmap .el-dialog__headerbtn .el-dialog__close {
  4867. color: #333 !important;
  4868. font-size: 30px;
  4869. margin-top: -5px;
  4870. }
  4871. #kjrmap .el-dialog__body {
  4872. background-color: #fff;
  4873. padding: 10px 20px;
  4874. }
  4875. #kjrmap .process_line .item {
  4876. margin-bottom: 0px;
  4877. margin-top: 5px;
  4878. }
  4879. #kjrmap .process_line .content {
  4880. width: 100%;
  4881. /* height: 227px; */
  4882. overflow-y: auto;
  4883. /* background-color: aqua; */
  4884. }
  4885. #kjrmap .process_line .content4 {
  4886. display: inline-block;
  4887. width: 100%;
  4888. /* height: 110px; */
  4889. overflow-y: auto;
  4890. /* margin-bottom: 32px; */
  4891. /* border: 1px solid #dddddd; */
  4892. padding-bottom: 8px;
  4893. /*margin-left: 30px;*/
  4894. }
  4895. #kjrmap .process_line .content6 {
  4896. display: inline-block;
  4897. width: 25%;
  4898. /*height: 310px;*/
  4899. overflow-y: auto;
  4900. /* margin-bottom: 32px; */
  4901. border: 1px solid #dddddd;
  4902. margin-bottom: 6px;
  4903. }
  4904. #kjrmap .process_line .content3 {
  4905. width: 100%;
  4906. height: 127px;
  4907. overflow-y: auto;
  4908. /* background-color: aqua; */
  4909. }
  4910. #kjrmap .process_line .content2 {
  4911. width: 100%;
  4912. height: 400px;
  4913. overflow-y: auto;
  4914. /* background-color: aqua; */
  4915. }
  4916. #kjrmap .process_line .item2 {
  4917. /* margin: 20px 30px; */
  4918. margin-top: 10px;
  4919. /*width: 34%;*/
  4920. display: inline-block;
  4921. }
  4922. #kjrmap .process_line .item_sk {
  4923. /* margin: 20px 30px; */
  4924. margin-top: 10px;
  4925. width: 34%;
  4926. display: inline-block;
  4927. }
  4928. #kjrmap .process_line .item5,
  4929. #kjrmap .process_line .item6 {
  4930. /* margin: 20px 30px; */
  4931. margin-top: 10px;
  4932. width: 49%;
  4933. display: inline-block;
  4934. }
  4935. #kjrmap .process_line .item5 .label {
  4936. width: 160px !important;
  4937. }
  4938. #kjrmap .process_line .item6 .label {
  4939. width: 260px !important;
  4940. }
  4941. #kjrmap .process_line .item2 .label2 {
  4942. /*text-decoration: underline;*/
  4943. }
  4944. #kjrmap .process_line .item .label5 {
  4945. display: inline-block;
  4946. width: 100px;
  4947. text-align: right;
  4948. /*font-size: 14px;*/
  4949. /*font-family: PingFang-SC-Bold;*/
  4950. /*font-weight: bold;*/
  4951. font-size: 14px;
  4952. font-family: MicrosoftYaHei;
  4953. font-weight: 400;
  4954. color: rgba(102, 102, 102, 1);
  4955. }
  4956. #kjrmap .process_line .item .label {
  4957. display: inline-block;
  4958. width: 80px;
  4959. text-align: right;
  4960. font-size: 14px;
  4961. font-family: PingFang-SC-Bold;
  4962. font-weight: 700;
  4963. color: #333;
  4964. }
  4965. #kjrmap .process_line .item .label {
  4966. /*display: inline-block;*/
  4967. /*width: 150px;*/
  4968. /*text-align: right;*/
  4969. /*font-size: 14px;*/
  4970. /*font-family: MicrosoftYaHei;*/
  4971. /*font-weight: 400;*/
  4972. /*color: rgba(102,102,102,1);*/
  4973. }
  4974. #kjrmap .process_line .item .label2 {
  4975. font-size: 14px;
  4976. }
  4977. #kjrmap .process_line .item .label2 {
  4978. font-size: 13px;
  4979. font-family: MicrosoftYaHei;
  4980. font-weight: 400;
  4981. color: rgba(51, 51, 51, 1);
  4982. }
  4983. #kjrmap .process_line .item .tags {
  4984. display: inline-block;
  4985. }
  4986. #kjrmap .process_line .item .tags span {
  4987. padding: 6px 15px;
  4988. margin-right: 10px;
  4989. font-size: 14px;
  4990. color: #666;
  4991. text-align: center;
  4992. border: solid 1px #0096ff;
  4993. border-radius: 3px;
  4994. }
  4995. #kjrmap .process_line .el-input__inner {
  4996. border-color: #007eff;
  4997. }
  4998. #kjrmap .process_line .dialog-footer {
  4999. width: 30%;
  5000. margin: 0 auto;
  5001. padding-top: 10px;
  5002. display: flex;
  5003. justify-content: space-around;
  5004. text-align: center;
  5005. }
  5006. #kjrmap .eventInfo-panel {
  5007. position: absolute;
  5008. top: 150px;
  5009. right: 0px;
  5010. width: 400px;
  5011. height: 300px;
  5012. background-color: aqua;
  5013. }
  5014. #kjrmap .eventInfo-panel .title {
  5015. position: relative;
  5016. width: 100%;
  5017. height: 35px;
  5018. background-color: rgb(197, 203, 238);
  5019. font-size: 20px;
  5020. }
  5021. #kjrmap .eventInfo-panel .title span {
  5022. display: table-cell;
  5023. vertical-align: middle;
  5024. text-align: center
  5025. }
  5026. #kjrmap .eventInfo-panel .content {
  5027. position: relative;
  5028. width: 100%;
  5029. height: 300px;
  5030. background-color: rgb(230, 238, 238);
  5031. }
  5032. #kjrmap .el-table th>.cell {
  5033. font-size: 14px;
  5034. font-family: MicrosoftYaHei-Bold;
  5035. font-weight: bold;
  5036. color: rgba(51, 51, 51, 1);
  5037. }
  5038. #kjrmap .el-collapse-item__header {
  5039. font-size: 14px;
  5040. font-family: MicrosoftYaHei-Bold;
  5041. font-weight: bold;
  5042. color: rgba(51, 51, 51, 1);
  5043. text-indent: 25px;
  5044. background: rgba(246, 248, 251, 1);
  5045. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
  5046. }
  5047. #kjrmap .box-card {
  5048. width: 100%;
  5049. height: 100px;
  5050. /*text-align: center;*/
  5051. margin-bottom: 5px;
  5052. /* position: relative; */
  5053. /* left: 5vh; */
  5054. display: inline-block;
  5055. font-size: 14px;
  5056. font-family: MicrosoftYaHei;
  5057. font-weight: 400;
  5058. color: rgba(51, 51, 51, 1);
  5059. }
  5060. #kjrmap .nywater1 .box-card {
  5061. width: 49%;
  5062. height: 140px;
  5063. text-align: left;
  5064. }
  5065. #kjrmap .nywater2 .box-card {
  5066. width: 49%;
  5067. height: 240px;
  5068. text-align: left;
  5069. }
  5070. #kjrmap .box-card .span100 {
  5071. display: inline-block;
  5072. width: 105px;
  5073. text-align: right;
  5074. }
  5075. #kjrmap .nywater1 .box-card .span100,
  5076. #kjrmap .nywater2 .box-card .span100 {
  5077. display: inline-block;
  5078. width: 160px;
  5079. text-align: right;
  5080. }
  5081. #kjrmap .nywater2 .box-card .span100 {
  5082. display: inline-block;
  5083. width: 140px;
  5084. text-align: right;
  5085. }
  5086. #kjrmap .box-card .span110 {
  5087. display: inline-block;
  5088. width: 126px;
  5089. text-align: right;
  5090. }
  5091. #kjrmap .box-card .span150 {
  5092. display: inline-block;
  5093. width: 150px;
  5094. text-align: right;
  5095. }
  5096. #kjrmap .el-card__header {
  5097. padding: 5px 10px;
  5098. }
  5099. #kjrmap .box-card .el-input {
  5100. width: 110px;
  5101. }
  5102. #kjrmap .box-card .el-input__inner {
  5103. border-color: #FFFFFF;
  5104. }
  5105. #kjrmap .kjr-input .el-input__inner {
  5106. border-color: #ccc;
  5107. }
  5108. #kjrmap .people-table .el-checkbox__input.is-checked+.el-checkbox__label {
  5109. color: #ecf5ff !important;
  5110. }
  5111. #kjrmap .people-table .el-checkbox__label {
  5112. color: #ecf5ff !important;
  5113. }
  5114. #kjrmap .btn-toolbar .btn-group img:HOVER {
  5115. border: 1px solid #000;
  5116. background-color: skyblue;
  5117. }
  5118. #kjrmap .toolbarSelected {
  5119. /**工具栏按钮选中的样式**/
  5120. border: 1px solid #000;
  5121. background-color: skyblue;
  5122. }
  5123. #kjrmap .node-treeViewDiv {
  5124. color: #2e2e2e;
  5125. }
  5126. #kjrmap .node-searchResultDiv {
  5127. color: #2e2e2e;
  5128. }
  5129. #kjrmap .el-tabs--border-card {
  5130. height: 480px !important;
  5131. }
  5132. #kjrmap .el-tabs--border-card>.el-tabs__content {
  5133. padding: 6px !important;
  5134. }
  5135. #kjrmap .el-tree-node>.el-tree-node__children {
  5136. overflow-x: auto !important;
  5137. }
  5138. .btn-toolbar>.btn,
  5139. .btn-toolbar>.btn-group,
  5140. .btn-toolbar>.input-group {
  5141. margin-left: 1px;
  5142. }
  5143. .tal {
  5144. text-align: left;
  5145. padding-left: 10px;
  5146. }
  5147. .mt10 {
  5148. margin-top: 10px;
  5149. }
  5150. #kjrmap .el-card__body {
  5151. padding: 10px;
  5152. }
  5153. #kjrmap .el-card__body .el-tabs__nav-scroll {
  5154. background-color: #d4e5f7;
  5155. padding: 0px 16px;
  5156. }
  5157. #kjrmap .zrr .el-input.is-disabled .el-input__inner {
  5158. width: 110px;
  5159. padding: 0 0 0 10px;
  5160. }
  5161. #kjrmap .mr0 .el-radio {
  5162. /*color: #606266;*/
  5163. /*font-weight: 500;*/
  5164. /*line-height: 1;*/
  5165. /*cursor: pointer;*/
  5166. /*white-space: nowrap;*/
  5167. /*outline: 0;*/
  5168. margin-right: 0 !important;
  5169. }
  5170. #kjrmap .esri-scale-bar__line {
  5171. background-color: white !important;
  5172. }
  5173. .esri-scale-bar__line--top:before,
  5174. .esri-scale-bar__line--top:after,
  5175. .esri-scale-bar__line--bottom:before,
  5176. .esri-scale-bar__line--bottom:after {
  5177. background-color: white !important;
  5178. }
  5179. #kjrmap .esri-scale-bar__label {
  5180. color: white !important;
  5181. }
  5182. /* #kjrmap .esri-ui-bottom-right {
  5183. z-index: 9999 !important;
  5184. }
  5185. #kjrmap .esri-ui-bottom-right {
  5186. position: absolute !important;
  5187. right: 2px !important;
  5188. bottom: 67px !important;
  5189. } */
  5190. /* #kjrmap .el-table--border th,
  5191. .el-table__fixed-right-patch {
  5192. background: rgba(240, 240, 240, 1);
  5193. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1), 0px 1px 0px 0px rgba(0, 0, 0, 0.1), -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  5194. } */
  5195. .layer-control {
  5196. z-index: 2000;
  5197. position: absolute;
  5198. left: 0px;
  5199. width: 900px;
  5200. height: 100px;
  5201. bottom: 0px;
  5202. }
  5203. .layer-control2 {
  5204. z-index: 2000;
  5205. position: absolute;
  5206. left: 0px;
  5207. width: 100px;
  5208. height: 100px;
  5209. bottom: 0px;
  5210. }
  5211. .map-search-input {
  5212. z-index: 2000;
  5213. position: absolute;
  5214. left: 10px;
  5215. }
  5216. .map-search-input .el-input-group,
  5217. .map-search-input .el-input {
  5218. width: 220px !important;
  5219. }
  5220. .map-search-input .el-input-group--append .el-input__inner {
  5221. background-color: rgba(0, 0, 0, .1) !important;
  5222. color: white !important;
  5223. }
  5224. .map-search-input .el-input-group__append {
  5225. background-color: rgba(0, 0, 0, .2) !important;
  5226. color: white !important;
  5227. }
  5228. .map-title {
  5229. z-index: 2000;
  5230. margin-top: 20px;
  5231. font-size: 18px;
  5232. color: white;
  5233. position: absolute;
  5234. text-align: center;
  5235. left: 600px;
  5236. width: calc(100% - 1200px);
  5237. font-weight: bold;
  5238. font-size: 22px;
  5239. /* left: 300px; */
  5240. }
  5241. .map-toolBar {
  5242. z-index: 2000;
  5243. position: absolute;
  5244. right: 10px;
  5245. top: 110px;
  5246. border: 1px solid rgba(255, 255, 255, 0.32);
  5247. padding: 0px 12px;
  5248. padding-top: 5px;
  5249. border-radius: 7px;
  5250. background-color: #3232325c;
  5251. }
  5252. .map-toolBar img {
  5253. cursor: pointer;
  5254. width: 27px;
  5255. height: 27px;
  5256. }
  5257. .rg-default-btn {
  5258. padding: 3px 16px !important;
  5259. }
  5260. .layer-legend .tips {
  5261. position: absolute;
  5262. top: 100px;
  5263. /* bottom: 50px; */
  5264. /* left: 516px; */
  5265. right: 10px;
  5266. font-size: 18px;
  5267. color: #fff;
  5268. text-align: left;
  5269. line-height: 30px;
  5270. background-color: rgba(0, 0, 0, .1);
  5271. padding: 6px;
  5272. border-radius: 8px;
  5273. }
  5274. /* .layer-legend .tips p {
  5275. display: inline-flex;
  5276. margin-right: 20px;
  5277. } */
  5278. .layer-legend .tips p img {
  5279. margin-right: 20px;
  5280. }
  5281. .layer-legend .tips span {
  5282. font-size: 14px;
  5283. }
  5284. .layer-table {
  5285. position: absolute;
  5286. top: 120px;
  5287. left: 100px;
  5288. z-index: 2000;
  5289. height: 600px;
  5290. width: 700px;
  5291. /* background-color: blue; */
  5292. }
  5293. .people-table {
  5294. z-index: 2000;
  5295. position: absolute;
  5296. right: 50px;
  5297. /* width: 900px; */
  5298. /* height: 100px; */
  5299. bottom: 10px;
  5300. padding: 4px;
  5301. background-color: rgba(146, 137, 137, 0.4);
  5302. border-radius: 5px;
  5303. }
  5304. .el-row {
  5305. margin-bottom: 20px;
  5306. &:last-child {
  5307. margin-bottom: 0;
  5308. }
  5309. }
  5310. .el-col {
  5311. border-radius: 4px;
  5312. }
  5313. .bg-purple-dark {
  5314. /* background: #99a9bf; */
  5315. }
  5316. .bg-purple {
  5317. /* background: #d3dce6; */
  5318. }
  5319. .bg-purple-light {
  5320. /* background: #e5e9f2; */
  5321. }
  5322. .grid-content {
  5323. border-radius: 4px;
  5324. min-height: 36px;
  5325. }
  5326. .row-bg {
  5327. padding: 10px 0;
  5328. /* background-color: #f9fafc; */
  5329. }
  5330. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
  5331. background-color: #c6def9 !important;
  5332. }
  5333. .el-carousel__item h3 {
  5334. color: #475669;
  5335. font-size: 18px;
  5336. opacity: 0.75;
  5337. line-height: 300px;
  5338. margin: 0;
  5339. }
  5340. .el-carousel__item:nth-child(2n) {
  5341. background-color: #99a9bf;
  5342. }
  5343. .el-carousel__item:nth-child(2n+1) {
  5344. background-color: #d3dce6;
  5345. }
  5346. </style>
  5347. <style>
  5348. /*屏蔽esri标注*/
  5349. .esri-ui .esri-attribution {
  5350. display: none;
  5351. }
  5352. #kjrmap .eventDetailClass {
  5353. z-index: 600;
  5354. }
  5355. #eventDetailTitle {
  5356. padding: 15px;
  5357. /* flex-basis:5%; */
  5358. background-color: rgb(62, 123, 246);
  5359. border-radius: 5px 5px 0px 0px;
  5360. display: flex;
  5361. flex-direction: row;
  5362. justify-content: space-between;
  5363. align-items: center;
  5364. }
  5365. #kjrmap .lableClass {
  5366. text-align: end;
  5367. width: 57%;
  5368. padding-right: 20px;
  5369. border-bottom: 1px solid #c3c2c2;
  5370. margin: 3px 0px 0px 0px;
  5371. }
  5372. #kjrmap .lableClass1 {
  5373. margin: 3px 0px 0px 0px;
  5374. width: 30%;
  5375. color: blue;
  5376. }
  5377. #kjrmap .tableStyle {
  5378. font-size: 14px;
  5379. border-collapse: collapse;
  5380. border: 1px solid #cccccc;
  5381. width: 100%;
  5382. background-color: White;
  5383. }
  5384. #kjrmap .tableStyle tr {
  5385. color: #333333;
  5386. }
  5387. #kjrmap .tableStyle td {
  5388. border-left: 1pt solid windowtext;
  5389. border-right: 1pt solid windowtext;
  5390. border-bottom: 1pt solid windowtext;
  5391. border-color: #dddddd;
  5392. height: 24px;
  5393. padding: 1px 2px 1px 4px;
  5394. }
  5395. #kjrmap .name {
  5396. text-align: right;
  5397. /* padding-right: 5px; */
  5398. min-height: 30px;
  5399. background-color: #ffffff;
  5400. line-height: 30px;
  5401. }
  5402. #kjrmap .river_box {}
  5403. #kjrmap .river_box a {
  5404. width: 123px;
  5405. height: 85px;
  5406. /* background: url(../images/images_bg.png) no-repeat; */
  5407. display: block;
  5408. padding: 5px;
  5409. float: left;
  5410. margin: 5px 5px 0 0;
  5411. }
  5412. #kjrmap .river_box a img {
  5413. width: 111px;
  5414. height: 74px;
  5415. margin: 3px 5px;
  5416. }
  5417. #kjrmap .btn-paperView:hover {
  5418. /* background: #c0fdf5 url(../images/icon/btn-paperView.png) no-repeat 5px 60%; */
  5419. cursor: pointer;
  5420. }
  5421. #kjrmap .btn-paperView {
  5422. /* background: #fff url(../images/icon/btn-paperView.png) no-repeat 5px 60%; */
  5423. padding: 0px 5px 0px 23px;
  5424. display: inline-block;
  5425. white-space: nowrap;
  5426. word-break: keep-all;
  5427. word-wrap: normal;
  5428. border: #b3aba9 1px solid;
  5429. border-radius: 3px;
  5430. margin: 6px 4px 0 0;
  5431. line-height: 24px;
  5432. }
  5433. #kjrmap .item3 {
  5434. width: 32%;
  5435. margin: auto;
  5436. display: inline-block;
  5437. vertical-align: top;
  5438. }
  5439. #kjrmap .mt20 {
  5440. margin-top: 20px;
  5441. }
  5442. #kjrmap .spanStyle {
  5443. width: 100px;
  5444. white-space: nowrap;
  5445. /*强制span不换行*/
  5446. display: inline-block;
  5447. /*将span当做块级元素对待*/
  5448. overflow: hidden;
  5449. /*超出宽度部分隐藏*/
  5450. text-overflow: ellipsis;
  5451. /*超出部分以点号代替*/
  5452. }
  5453. #kjrmap .mt10 {
  5454. margin-top: 10px;
  5455. width: 24%;
  5456. display: inline-block;
  5457. }
  5458. #kjrmap .mt15 {
  5459. margin-top: 10px;
  5460. }
  5461. #kjrmap .mt30 {
  5462. margin-top: 10px;
  5463. width: 30%;
  5464. display: inline-block;
  5465. }
  5466. #kjrmap .clearfix {
  5467. font-size: 14px;
  5468. font-family: MicrosoftYaHei;
  5469. font-weight: 400;
  5470. color: rgba(51, 51, 51, 1);
  5471. }
  5472. /*.sgzzr */
  5473. #kjrmap .sgzzr .box-card .mt10,
  5474. #kjrmap .skgc .box-card .mt10 {
  5475. margin-top: 10px;
  5476. width: 32%;
  5477. display: inline-block;
  5478. }
  5479. #kjrmap .sgzzr .box-card .span100 {
  5480. display: inline-block;
  5481. width: 120px;
  5482. text-align: right;
  5483. }
  5484. #kjrmap .sgzzr .box-card {
  5485. height: 160px;
  5486. margin-bottom: 5px;
  5487. display: inline-block;
  5488. }
  5489. #kjrmap .ml10 {
  5490. margin-left: 10px;
  5491. font-size: 12px;
  5492. font-family: MicrosoftYaHei;
  5493. font-weight: 400;
  5494. color: rgba(51, 51, 51, 1);
  5495. }
  5496. #kjrmap .skgc .box-card {
  5497. height: 140px;
  5498. margin-bottom: 5px;
  5499. display: inline-block;
  5500. }
  5501. #kjrmap .skgc .box-card .span110 {
  5502. display: inline-block;
  5503. width: 140px;
  5504. text-align: right;
  5505. }
  5506. #kjrmap .clearfix {
  5507. text-indent: 25px;
  5508. }
  5509. #kjrmap .rg-select__content {
  5510. color: white !important;
  5511. }
  5512. #kjrmap .rg-select__caret {
  5513. color: white !important;
  5514. }
  5515. .v-dropdown-container {
  5516. background-color: rgba(255, 255, 255, .5) !important;
  5517. }
  5518. .rg-select__list li {
  5519. color: black !important;
  5520. /* background-color: rgba(50, 50, 50, 0.45) !important; */
  5521. }
  5522. /* .rg-select__list li ::hover{
  5523. color: orange !important;
  5524. } */
  5525. /* ul.rg-select__list li {
  5526. color: #c0c4cc !important;
  5527. } */
  5528. </style>