移动端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.vue 127 KiB

3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875
  1. <template>
  2. <div class="app-container" :style="{ height: windowHeight + 'px' }">
  3. <div style="display: none">
  4. <select id="zhen"></select>
  5. <select id="cun" autofocus></select>
  6. <input id="texiao_fang" type="button" value="特效农房" /> 
  7. <input id="texiao_di" type="button" value="特效农地" /> 
  8. <input id="qingchu" type="button" value="清除" /> 
  9. <button id="drawPolygon">绘制地图</button>
  10. <button id="drawRemove">清除画图</button>
  11. <button id="drawReset">还原之前图层</button>
  12. </div>
  13. <div class="map_area" id="mapWrap"></div>
  14. <!--列表 定位-->
  15. <div class="rightIcon_wrap">
  16. <!-- <div class="positioning_wrap">
  17. <div class="icon"></div>
  18. </div> -->
  19. <div class="selectionIcon_wrap" @click="selectionPush">
  20. <div class="icon"></div>
  21. <div class="text">列表</div>
  22. </div>
  23. </div>
  24. <van-overlay :show="selectionIconShow" @click="homesteadListShrink" />
  25. <!--放大缩小-->
  26. <div class="rightZoom_wrap">
  27. <div class="amplification" ref="sliderBig"></div>
  28. <div class="narrow" ref="sliderSmall"></div>
  29. </div>
  30. <!--列表拉取详情-->
  31. <div class="homesteadList_wrap">
  32. <div class="main_m" v-if="statusList == 0">
  33. <div class="title_m">
  34. <div class="more_icon" @click="homesteadListShrink"></div>
  35. <div class="name">农房列表</div>
  36. </div>
  37. <!--1-->
  38. <div
  39. class="flex_block"
  40. v-for="(items, index) in hcBottonHouseArr"
  41. :key="index"
  42. :class="{ active: selectChooseOrder == index }"
  43. @click="housingSerial(items, index)"
  44. >
  45. <div class="name_text">{{ items.name }}</div>
  46. <div class="square_text">{{ items.mj }}㎡</div>
  47. <div class="operation_mian">
  48. <div
  49. class="describe"
  50. :class="[
  51. items.xzqk == '已盘活' ? 'yph' : '',
  52. items.xzqk == '待流转待盘活' ? 'dlzdph' : '',
  53. items.xzqk == '已流转' ? 'ylz' : '',
  54. items.xzqk == '待流转' ? 'dlz' : '',
  55. ]"
  56. >
  57. {{ items.xzqk }}
  58. </div>
  59. </div>
  60. </div>
  61. <div v-if="hcBottonHouseArr.length == 0" class="noInfo_data">
  62. 暂无农房信息
  63. </div>
  64. </div>
  65. <div class="main_m" v-if="statusList == 1">
  66. <div class="title_m">
  67. <div class="more_icon" @click="homesteadListShrink"></div>
  68. <div class="name">农地列表</div>
  69. </div>
  70. <!--1-->
  71. <div
  72. class="flex_block"
  73. v-for="(items, index) in hcBottonLandArr"
  74. :key="index"
  75. :class="{ active: selectChooseOrder == index }"
  76. @click="housingSerial(items, index)"
  77. >
  78. <div class="name_text">{{ items.name }}</div>
  79. <div class="square_text">{{ items.mj }}亩</div>
  80. <div class="operation_mian">
  81. <div
  82. class="describe"
  83. :class="[
  84. items.xzqk == '已盘活' ? 'yph' : '',
  85. items.xzqk == '待流转待盘活' ? 'dlzdph' : '',
  86. items.xzqk == '已流转' ? 'ylz' : '',
  87. items.xzqk == '待流转' ? 'dlz' : '',
  88. ]"
  89. >
  90. {{ items.xzqk }}
  91. </div>
  92. </div>
  93. </div>
  94. <div v-if="hcBottonLandArr.length == 0" class="noInfo_data">
  95. 暂无农地信息
  96. </div>
  97. </div>
  98. <!-- //待租列表 房
  99. hcBottonHouseArr: [],
  100. //待租列表 地
  101. hcBottonLandArr: [], -->
  102. <div class="footerBtn_wrap">
  103. <div
  104. class="options"
  105. :class="{ active: statusList == 0 }"
  106. @click="housingTypes('0')"
  107. >
  108. 农房
  109. </div>
  110. <div
  111. class="options"
  112. :class="{ active: statusList == 1 }"
  113. @click="housingTypes('1')"
  114. >
  115. 农地
  116. </div>
  117. </div>
  118. </div>
  119. <!--选择地址-->
  120. <div class="address_wrap">
  121. <div class="address_item">
  122. <div class="portrait cun" @click="villageVisbileFun">村</div>
  123. <div class="name" @click="villageVisbileFun">
  124. {{ villageDataObj.deptName }}
  125. </div>
  126. </div>
  127. </div>
  128. <van-popup v-model="villageVisbile" round position="bottom">
  129. <van-cascader
  130. v-model="villageValue"
  131. title="请选择所在村"
  132. :options="hcAreaInfoOption"
  133. @close="villageVisbile = false"
  134. @finish="hcAreaInfoFinish"
  135. active-color="#1989fa"
  136. :field-names="hcAreaInfoFieldName"
  137. />
  138. </van-popup>
  139. <!--搜索栏目-->
  140. <div class="searchBar_wrap">
  141. <div class="actionBar_wrap" v-if="searchBarOperVisbile">
  142. <!-- <div class="m_list">
  143. <div class="positioning">
  144. <div class="icon"></div>
  145. </div>
  146. </div>
  147. <div class="m_list">
  148. <div class="spacing">
  149. <div class="icon"></div>
  150. </div>
  151. </div>
  152. <div class="m_list">
  153. <div class="scale">
  154. <div class="icon"></div>
  155. </div>
  156. </div> -->
  157. <div class="m_list">
  158. <div class="closes gray" @click="searchBarOperFun('false')">
  159. <div class="icon"></div>
  160. </div>
  161. </div>
  162. <div class="m_list">
  163. <div
  164. class="tensile"
  165. :class="{ active: draw.drawMapPolygon }"
  166. @click="drawMapPolygonFun"
  167. >
  168. <div class="icon"></div>
  169. </div>
  170. </div>
  171. <div class="m_list" @click="farmlandEditSwitchFun">
  172. <div class="correct"></div>
  173. </div>
  174. </div>
  175. <div class="searchBar_area">
  176. <div class="bar_icon"></div>
  177. <div class="bar_ipt">
  178. <input type="text" v-model="seachText" placeholder="请输入宗地或权利人信息" />
  179. </div>
  180. <div id="query" class="bar_text">搜索</div>
  181. </div>
  182. <div class="searchBar_more" @click="searchBarOperFun('true')"></div>
  183. </div>
  184. <!--点击房地-显示的搜索--->
  185. <div class="landHomestead_wrap">
  186. <div class="landHomestead_search">
  187. <div class="bar_icon"></div>
  188. <div class="bar_ipt">
  189. <input type="text" v-model="seachText" placeholder="请输入宗地或权利人信息" />
  190. </div>
  191. <div class="bar_text" @click="toggleSearch">搜索</div>
  192. </div>
  193. <div class="landHomestead_body">
  194. <!--0-农房-->
  195. <div class="body_flex" v-if="farmhouseStatus == 0">
  196. <div class="attribute" @click="houseLandLookInfo('show', 'house')">
  197. <div class="names">{{ houseInfoList.fwsyrmc }}</div>
  198. <div class="address">{{ houseInfoList.dz }}</div>
  199. <div class="nature">性质:{{ houseInfoList.tdxz }}</div>
  200. </div>
  201. <div class="distance" @click="houseLandLookInfo('show', 'house')">
  202. <div class="size">{{ houseInfoList.xh }}</div>
  203. <div class="probably">大约{{ houseInfoList.jzmj }}㎡</div>
  204. </div>
  205. <div class="others">
  206. <div class="information">
  207. <!-- <div
  208. class="location"
  209. @click="landHomeSerial('house', houseInfoList)"
  210. ></div> -->
  211. <div class="status_text">{{ houseInfoList.xzqk }}</div>
  212. </div>
  213. <div class="editor">
  214. <div class="editor_icon" @click="editnfdInfo"></div>
  215. </div>
  216. </div>
  217. </div>
  218. <!--1-农地-->
  219. <div class="body_flex" v-if="farmhouseStatus == 1">
  220. <div class="attribute" @click="houseLandLookInfo('show', 'land')">
  221. <div class="names">{{ landInfoList.syrmc }}</div>
  222. <div class="address">{{ landInfoList.cm }}</div>
  223. <div class="nature">性质:{{ landInfoList.nydlx }}</div>
  224. </div>
  225. <div class="distance" @click="houseLandLookInfo('show', 'land')">
  226. <div class="size">{{ landInfoList.xh }}</div>
  227. <div class="probably">大约{{ landInfoList.mj }}㎡</div>
  228. </div>
  229. <div class="others">
  230. <div class="information">
  231. <!-- <div
  232. class="location"
  233. @click="landHomeSerial('land', landInfoList)"
  234. ></div> -->
  235. <div class="status_text">{{ landInfoList.xzqk }}</div>
  236. </div>
  237. <div class="editor">
  238. <div class="editor_icon" @click="editnfdInfo"></div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. <div id="info" style="display: none"></div>
  245. <!--房地全部信息展示-->
  246. <div
  247. class="landHomesteadDetails_wrap"
  248. v-show="landHomesteadDetailsVisibile"
  249. >
  250. <!---农房-->
  251. <div class="content_mian" v-if="farmhouseStatus == 0">
  252. <!--内容-->
  253. <div class="serial_flex">
  254. <div class="number">
  255. 农房编号<span>{{ houseInfoLookList.xh }}</span>
  256. </div>
  257. <div class="localhref" @click="houseLandLookInfo('hide')"></div>
  258. </div>
  259. <!--1-->
  260. <div class="flex_block">
  261. <span class="describe">房屋所有人名称</span
  262. ><span class="content">{{ houseInfoLookList.fwsyrmc }}</span>
  263. </div>
  264. <!--1-->
  265. <div class="flex_block">
  266. <span class="describe">村名</span
  267. ><span class="content">{{ houseInfoLookList.cm }}</span>
  268. </div>
  269. <!--1-->
  270. <div class="flex_block">
  271. <span class="describe">地址</span
  272. ><span class="content">{{ houseInfoLookList.dz }}</span>
  273. </div>
  274. <!--1-->
  275. <div class="flex_block">
  276. <span class="describe">是否有审批手续</span
  277. ><span class="content">{{ houseInfoLookList.sfyspsx }}</span>
  278. </div>
  279. <!--1-->
  280. <div class="flex_block">
  281. <span class="describe">房屋所有权证号</span
  282. ><span class="content">{{ houseInfoLookList.fwsyqh }}</span>
  283. </div>
  284. <!--1-->
  285. <div class="flex_block">
  286. <span class="describe">建筑面积</span
  287. ><span class="content">大约{{ houseInfoLookList.jzmj }}㎡</span>
  288. </div>
  289. <!--1-->
  290. <div class="flex_block">
  291. <span class="describe">土地证号</span
  292. ><span class="content">{{ houseInfoLookList.tdzh }}</span>
  293. </div>
  294. <!--1-->
  295. <div class="flex_block">
  296. <span class="describe">土地性质</span
  297. ><span class="content">{{ houseInfoLookList.tdxz }}</span>
  298. </div>
  299. <!--1-->
  300. <div class="flex_block">
  301. <span class="describe">土地面积</span
  302. ><span class="content">大约{{ houseInfoLookList.tdmj }}㎡</span>
  303. </div>
  304. <!--1-->
  305. <div class="flex_block">
  306. <span class="describe">现状情况</span
  307. ><span class="content">{{ houseInfoLookList.xzqk }}</span>
  308. </div>
  309. <!--1-->
  310. <div class="flex_block">
  311. <span class="describe">是否有流转意向</span
  312. ><span class="content">{{ houseInfoLookList.xzfwsfylzy }}</span>
  313. </div>
  314. <!--1-->
  315. <div class="flex_block">
  316. <span class="describe">租赁人</span
  317. ><span class="content">{{ houseInfoLookList.zlrxm }}</span>
  318. </div>
  319. <!--1-->
  320. <div class="flex_block">
  321. <span class="describe">租赁剩余年限</span
  322. ><span class="content">{{ houseInfoLookList.zlsynx }}年</span>
  323. </div>
  324. <!--1-->
  325. <div class="flex_block">
  326. <span class="describe">租赁合同截止日期</span
  327. ><span class="content">{{ houseInfoLookList.zlhtjzrq }}</span>
  328. </div>
  329. <!--上传图片-->
  330. <div class="uploadPictures_block">
  331. <div class="statusQuo">
  332. <div
  333. class="picture"
  334. v-if="houseInfoLookList.frontHouse == ''"
  335. ></div>
  336. <div class="picture" v-if="houseInfoLookList.frontHouse != ''">
  337. <img :src="houseInfoLookList.frontHouse" />
  338. </div>
  339. <div class="describe">现<br />状<br />图<br />片</div>
  340. </div>
  341. <div class="statusQuo">
  342. <div
  343. class="picture"
  344. v-if="houseInfoLookList.behindHouse == ''"
  345. ></div>
  346. <div class="picture" v-if="houseInfoLookList.behindHouse != ''">
  347. <img :src="houseInfoLookList.behindHouse" />
  348. </div>
  349. <div class="describe">历<br />史<br />图<br />片</div>
  350. </div>
  351. </div>
  352. <!--编辑-->
  353. <div class="editor_block">
  354. <div class="editor_icon" @click="editnfdInfo"></div>
  355. </div>
  356. </div>
  357. <!---农地-->
  358. <div class="content_mian" v-else-if="farmhouseStatus == 1">
  359. <!--内容-->
  360. <div class="serial_flex">
  361. <div class="number">
  362. 农地编号<span>{{ landInfoLookList.xh }}</span>
  363. </div>
  364. <div class="localhref" @click="houseLandLookInfo('hide')"></div>
  365. </div>
  366. <!--1-->
  367. <div class="flex_block">
  368. <span class="describe">农地使用人名称</span
  369. ><span class="content">{{ landInfoLookList.syrmc }}</span>
  370. </div>
  371. <!--1-->
  372. <div class="flex_block">
  373. <span class="describe">村名</span
  374. ><span class="content">{{ landInfoLookList.cm }}</span>
  375. </div>
  376. <!--1-->
  377. <div class="flex_block">
  378. <span class="describe">是否有流转意向</span
  379. ><span class="content">{{ landInfoLookList.sfylzyx }}</span>
  380. </div>
  381. <!--1-->
  382. <div class="flex_block">
  383. <span class="describe">土地面积</span
  384. ><span class="content">大约{{ landInfoLookList.mj }}亩</span>
  385. </div>
  386. <!--1-->
  387. <div class="flex_block">
  388. <span class="describe">农用地类型</span
  389. ><span class="content">大约{{ landInfoLookList.nydlx }}</span>
  390. </div>
  391. <!--1-->
  392. <div class="flex_block">
  393. <span class="describe">现状情况</span
  394. ><span class="content">{{ landInfoLookList.xzqk }}</span>
  395. </div>
  396. <!--1-->
  397. <div class="flex_block">
  398. <span class="describe">承包人</span
  399. ><span class="content">{{ landInfoLookList.cbrmc }}</span>
  400. </div>
  401. <!--1-->
  402. <div class="flex_block">
  403. <span class="describe">流转剩余年限</span
  404. ><span class="content">{{ landInfoLookList.lzsynx }}年</span>
  405. </div>
  406. <!--1-->
  407. <div class="flex_block">
  408. <span class="describe">流转合同截止日期</span
  409. ><span class="content">{{ landInfoLookList.lzhtjzrq }}</span>
  410. </div>
  411. <!--上传图片-->
  412. <div class="uploadPictures_block">
  413. <div class="statusQuo">
  414. <div class="picture" v-if="landInfoLookList.frontland == ''"></div>
  415. <div class="picture" v-if="landInfoLookList.frontland != ''">
  416. <img :src="landInfoLookList.frontland" />
  417. </div>
  418. <div class="describe">现<br />状<br />图<br />片</div>
  419. </div>
  420. <div class="statusQuo">
  421. <div class="picture" v-if="landInfoLookList.behindland == ''"></div>
  422. <div class="picture" v-if="landInfoLookList.behindland != ''">
  423. <img :src="landInfoLookList.behindland" />
  424. </div>
  425. <div class="describe">历<br />史<br />图<br />片</div>
  426. </div>
  427. </div>
  428. <!--编辑-->
  429. <div class="editor_block">
  430. <div class="editor_icon" @click="editnfdInfo"></div>
  431. </div>
  432. </div>
  433. </div>
  434. <!--房地全部信息编辑-->
  435. <van-overlay
  436. :show="landHomesteadEditVisbile"
  437. @click="landHomesteadEditCancel"
  438. />
  439. <div
  440. class="landHomesteadEdit_wrap"
  441. v-show="landHomesteadEditVisbile"
  442. style="bottom: 0"
  443. >
  444. <div class="content_mian" ref="landHomesteadEditWrap">
  445. <div class="info_title">
  446. {{ this.farmhouseStatus == 0 ? "录入宗地信息" : "录入农地信息" }}
  447. </div>
  448. <!-- 农房 -->
  449. <div
  450. class="flex_main"
  451. v-if="this.farmhouseStatus == 0"
  452. :style="{ height: landHomesteadEditWrapHeight + 'px' }"
  453. >
  454. <div class="flex_block">
  455. <div class="number_s50 mr50">
  456. <div class="title_m">农房编号</div>
  457. <div class="input_m">
  458. <van-field
  459. v-model="houseInfoList.xh"
  460. placeholder="农房编号"
  461. class="landHomesteadEdit_input"
  462. />
  463. </div>
  464. </div>
  465. <div class="number_s50">
  466. <div class="title_m">房屋所有人名称</div>
  467. <div class="input_m">
  468. <van-field
  469. v-model="houseInfoList.fwsyrmc"
  470. placeholder="房屋所有人名称"
  471. class="landHomesteadEdit_input"
  472. />
  473. </div>
  474. </div>
  475. </div>
  476. <!--1-->
  477. <div class="flex_block">
  478. <div class="number_s60 mr50">
  479. <div class="title_m">地址</div>
  480. <div class="input_m">
  481. <van-field
  482. v-model="houseInfoList.dz"
  483. placeholder="地址"
  484. class="landHomesteadEdit_input"
  485. />
  486. </div>
  487. </div>
  488. <div class="number_s40">
  489. <div class="title_m">土地性质</div>
  490. <div class="input_m select">
  491. <i class="dropDown_icon"></i>
  492. <van-field
  493. v-model="houseInfoList.tdxz"
  494. readonly
  495. clickable
  496. name="picker"
  497. placeholder="土地性质"
  498. class="landHomesteadEdit_input"
  499. @click="tdxzOptionsVibile = true"
  500. />
  501. <van-popup v-model="tdxzOptionsVibile" position="bottom">
  502. <van-picker
  503. show-toolbar
  504. :columns="tdxzOptions"
  505. value-key="dictLabel"
  506. @confirm="tdxzOptionsFun"
  507. @cancel="tdxzOptionsVibile = false"
  508. />
  509. </van-popup>
  510. </div>
  511. </div>
  512. </div>
  513. <!--1-->
  514. <div class="flex_block">
  515. <div class="number_s35 mr50">
  516. <div class="title_m">是否有审批手续</div>
  517. <div class="input_m select">
  518. <i class="dropDown_icon"></i>
  519. <van-field
  520. v-model="houseInfoList.sfyspsx"
  521. readonly
  522. clickable
  523. name="picker"
  524. placeholder="审批手续"
  525. class="landHomesteadEdit_input"
  526. @click="xfCirculationVisbile = true"
  527. />
  528. <van-popup v-model="xfCirculationVisbile" position="bottom">
  529. <van-picker
  530. show-toolbar
  531. :columns="xfApprovalOptions"
  532. @confirm="xfCirculationFun"
  533. @cancel="xfCirculationVisbile = false"
  534. />
  535. </van-popup>
  536. </div>
  537. </div>
  538. <div class="number_s35 mr50">
  539. <div class="title_m">建筑面积</div>
  540. <div class="input_m about">
  541. <span class="about_symbol">≈</span>
  542. <van-field
  543. v-model="houseInfoList.jzmj"
  544. placeholder="建筑面积"
  545. type="number"
  546. class="landHomesteadEdit_input"
  547. />
  548. </div>
  549. </div>
  550. <div class="number_s30">
  551. <div class="title_m">现状情况</div>
  552. <div class="input_m select">
  553. <i class="dropDown_icon"></i>
  554. <!-- -->
  555. <van-field
  556. v-model="houseInfoList.xzqk"
  557. readonly
  558. clickable
  559. name="picker"
  560. placeholder="现状情况"
  561. class="landHomesteadEdit_input"
  562. @click="xzqkOptionsVisbile = true"
  563. />
  564. <van-popup v-model="xzqkOptionsVisbile" position="bottom">
  565. <van-picker
  566. show-toolbar
  567. :columns="xzqkOptions"
  568. @confirm="xzqkOptionsFun"
  569. value-key="dictLabel"
  570. @cancel="xzqkOptionsVisbile = false"
  571. />
  572. </van-popup>
  573. </div>
  574. </div>
  575. </div>
  576. <!--1-->
  577. <div class="flex_block">
  578. <div class="number_s50 mr50">
  579. <div class="title_m">房屋所有权证号</div>
  580. <div class="input_m">
  581. <van-field
  582. v-model="houseInfoList.fwsyqh"
  583. placeholder="房屋所有权证号"
  584. class="landHomesteadEdit_input"
  585. />
  586. </div>
  587. </div>
  588. <div class="number_s50">
  589. <div class="title_m">土地证号</div>
  590. <div class="input_m">
  591. <van-field
  592. v-model="houseInfoList.tdzh"
  593. placeholder="土地证号"
  594. class="landHomesteadEdit_input"
  595. />
  596. </div>
  597. </div>
  598. </div>
  599. <!--1-->
  600. <div class="flex_block">
  601. <div class="number_s35 mr50">
  602. <div class="title_m">房屋类型</div>
  603. <div class="input_m select">
  604. <i class="dropDown_icon"></i>
  605. <van-field
  606. v-model="houseInfoList.tdfl"
  607. readonly
  608. clickable
  609. name="picker"
  610. placeholder="房屋类型"
  611. class="landHomesteadEdit_input"
  612. @click="fwdlxOptionsVibile = true"
  613. />
  614. <van-popup v-model="fwdlxOptionsVibile" position="bottom">
  615. <van-picker
  616. show-toolbar
  617. :columns="fwdlxOptions"
  618. value-key="dictLabel"
  619. @confirm="fwdlxOptionsFun"
  620. @cancel="fwdlxOptionsVibile = false"
  621. />
  622. </van-popup>
  623. </div>
  624. </div>
  625. <div class="number_s35 mr50">
  626. <div class="title_m">土地面积</div>
  627. <div class="input_m about">
  628. <span class="about_symbol">≈</span>
  629. <van-field
  630. v-model="houseInfoList.tdmj"
  631. placeholder="土地面积"
  632. type="number"
  633. class="landHomesteadEdit_input"
  634. />
  635. </div>
  636. </div>
  637. <div class="number_s30">
  638. <div class="title_m">是否有流转意向</div>
  639. <div class="input_m select">
  640. <i class="dropDown_icon"></i>
  641. <van-field
  642. v-model="houseInfoList.xzfwsfylzy"
  643. readonly
  644. clickable
  645. name="picker"
  646. placeholder="是否有流转意向"
  647. class="landHomesteadEdit_input"
  648. @click="xflzCirculationVisbile = true"
  649. />
  650. <van-popup v-model="xflzCirculationVisbile" position="bottom">
  651. <van-picker
  652. show-toolbar
  653. :columns="xfCirculationOptions"
  654. @confirm="xflzCirculationFun"
  655. @cancel="xflzCirculationVisbile = false"
  656. />
  657. </van-popup>
  658. </div>
  659. </div>
  660. </div>
  661. <!--1-->
  662. <div class="flex_block">
  663. <div class="number_s50 mr50">
  664. <div class="title_m">租赁人</div>
  665. <div class="input_m">
  666. <van-field
  667. v-model="houseInfoList.zlrxm"
  668. placeholder="租赁人"
  669. class="landHomesteadEdit_input"
  670. />
  671. </div>
  672. </div>
  673. <div class="number_s50">
  674. <div class="title_m">租赁年限</div>
  675. <div class="input_m">
  676. <van-field
  677. v-model="houseInfoList.zlsynx"
  678. placeholder="租赁年限"
  679. class="landHomesteadEdit_input"
  680. />
  681. </div>
  682. </div>
  683. </div>
  684. <!--1-->
  685. <div class="flex_block">
  686. <div class="number_s100">
  687. <div class="title_m">租赁合同截止日期</div>
  688. <div class="input_m">
  689. <van-field
  690. v-model="houseInfoList.zlhtjzrq"
  691. placeholder="流转合同截止日期"
  692. class="landHomesteadEdit_input"
  693. readonly
  694. @click="houseHomesteadEditcalendar = true"
  695. />
  696. <van-calendar
  697. v-model="houseHomesteadEditcalendar"
  698. @confirm="houseHomesteadEdConfirm"
  699. :max-date="new Date(2025, 0, 31)"
  700. />
  701. </div>
  702. </div>
  703. </div>
  704. <!--2-->
  705. <div class="uploadPicturesFlex_block">
  706. <div class="title_m">上传图片</div>
  707. <div class="main_m">
  708. <van-uploader
  709. v-model="nfAddfileList"
  710. :after-read="nfAddimgonRead"
  711. :max-count="1"
  712. accept="image/gif, image/jpeg, image/png"
  713. />
  714. </div>
  715. </div>
  716. </div>
  717. <!-- 农地 -->
  718. <div
  719. class="flex_main"
  720. v-else-if="this.farmhouseStatus == 1"
  721. :style="{ height: landHomesteadEditWrapHeight + 'px' }"
  722. >
  723. <!--1-->
  724. <div class="flex_block">
  725. <div class="number_s50 mr50">
  726. <div class="title_m">农地编号</div>
  727. <div class="input_m">
  728. <van-field
  729. v-model="landInfoList.xh"
  730. placeholder="农地编号"
  731. class="landHomesteadEdit_input"
  732. />
  733. </div>
  734. </div>
  735. <div class="number_s50">
  736. <div class="title_m">农地使用人名称</div>
  737. <div class="input_m">
  738. <van-field
  739. v-model="landInfoList.syrmc"
  740. placeholder="农地使用人名称"
  741. class="landHomesteadEdit_input"
  742. />
  743. </div>
  744. </div>
  745. </div>
  746. <!--1-->
  747. <div class="flex_block">
  748. <div class="number_s60 mr50">
  749. <div class="title_m">现状情况</div>
  750. <div class="input_m select">
  751. <i class="dropDown_icon"></i>
  752. <van-field
  753. v-model="landInfoList.xzqk"
  754. readonly
  755. clickable
  756. name="picker"
  757. placeholder="现状情况"
  758. class="landHomesteadEdit_input"
  759. @click="ndxzqkOptionsVisbile = true"
  760. />
  761. <van-popup v-model="ndxzqkOptionsVisbile" position="bottom">
  762. <van-picker
  763. show-toolbar
  764. :columns="ndxzqkOptions"
  765. @confirm="ndxzqkOptionsFun"
  766. value-key="dictLabel"
  767. @cancel="ndxzqkOptionsVisbile = false"
  768. />
  769. </van-popup>
  770. </div>
  771. </div>
  772. <div class="number_s40">
  773. <div class="title_m">农用地类型</div>
  774. <div class="input_m select">
  775. <i class="dropDown_icon"></i>
  776. <van-field
  777. v-model="landInfoList.nydlx"
  778. readonly
  779. clickable
  780. name="picker"
  781. placeholder="农用地类型"
  782. class="landHomesteadEdit_input"
  783. @click="nydlxOptionsVibile = true"
  784. />
  785. <van-popup v-model="nydlxOptionsVibile" position="bottom">
  786. <van-picker
  787. show-toolbar
  788. :columns="nydlxOptions"
  789. value-key="dictLabel"
  790. @confirm="nydlxOptionsFun"
  791. @cancel="nydlxOptionsVibile = false"
  792. />
  793. </van-popup>
  794. </div>
  795. </div>
  796. </div>
  797. <!--1-->
  798. <div class="flex_block">
  799. <div class="number_s50 mr50">
  800. <div class="title_m">土地面积</div>
  801. <div class="input_m about">
  802. <span class="about_symbol">≈</span>
  803. <van-field
  804. v-model="landInfoList.mj"
  805. placeholder="土地面积"
  806. type="number"
  807. class="landHomesteadEdit_input"
  808. />
  809. </div>
  810. </div>
  811. <div class="number_s50">
  812. <div class="title_m">是否有流转意向</div>
  813. <div class="input_m select">
  814. <i class="dropDown_icon"></i>
  815. <van-field
  816. v-model="landInfoList.sfylzyx"
  817. readonly
  818. clickable
  819. name="picker"
  820. placeholder="是否有流转意向"
  821. class="landHomesteadEdit_input"
  822. @click="xdlzCirculationVisbile = true"
  823. />
  824. <van-popup v-model="xdlzCirculationVisbile" position="bottom">
  825. <van-picker
  826. show-toolbar
  827. :columns="xdCirculationOptions"
  828. @confirm="xdCirculationOptionsFun"
  829. @cancel="xdlzCirculationVisbile = false"
  830. />
  831. </van-popup>
  832. </div>
  833. </div>
  834. </div>
  835. <!--1-->
  836. <div class="flex_block">
  837. <div class="number_s50 mr50">
  838. <div class="title_m">承包人</div>
  839. <div class="input_m">
  840. <van-field
  841. v-model="landInfoList.cbrmc"
  842. placeholder="承包人"
  843. class="landHomesteadEdit_input"
  844. />
  845. </div>
  846. </div>
  847. <div class="number_s50">
  848. <div class="title_m">流转剩余年限</div>
  849. <div class="input_m">
  850. <van-field
  851. v-model="landInfoList.lzsynx"
  852. placeholder="流转剩余年限"
  853. class="landHomesteadEdit_input"
  854. />
  855. </div>
  856. </div>
  857. </div>
  858. <!--1-->
  859. <div class="flex_block">
  860. <div class="number_s100">
  861. <div class="title_m">流转合同截止日期</div>
  862. <div class="input_m">
  863. <van-field
  864. v-model="landInfoList.lzhtjzrq"
  865. placeholder="流转合同截止日期"
  866. class="landHomesteadEdit_input"
  867. readonly
  868. @click="landHomesteadEditcalendar = true"
  869. />
  870. <van-calendar
  871. v-model="landHomesteadEditcalendar"
  872. @confirm="landHomesteadEdConfirm"
  873. :max-date="new Date(2025, 0, 31)"
  874. />
  875. </div>
  876. </div>
  877. </div>
  878. <!--2-->
  879. <div class="uploadPicturesFlex_block">
  880. <div class="title_m">上传图片</div>
  881. <div class="main_m">
  882. <van-uploader
  883. v-model="ndAddfileList"
  884. :after-read="ndAddimgonRead"
  885. :max-count="1"
  886. accept="image/gif, image/jpeg, image/png"
  887. />
  888. </div>
  889. </div>
  890. </div>
  891. </div>
  892. <div class="footer_main">
  893. <div class="cancel" @click="landHomesteadEditCancel">取消</div>
  894. <div class="save" @click="landHomesteadEditSave">保存</div>
  895. </div>
  896. </div>
  897. <!--农地农房选择-->
  898. <div class="farmlandEditSwitch_wrap" v-show="farmlandEditSwitchVisbule">
  899. <div class="mains">
  900. <div class="close_btn" @click="farmlandEditFun"></div>
  901. <div class="farmhouse" @click="addNewPlot('farmhouse')">
  902. <div class="icons"></div>
  903. <p class="names">农房</p>
  904. </div>
  905. <div class="farmland" @click="addNewPlot('land')">
  906. <div class="icons"></div>
  907. <p class="names">农地</p>
  908. </div>
  909. </div>
  910. </div>
  911. </div>
  912. </template>
  913. <script>
  914. import $ from "jquery";
  915. import {
  916. hcBottomSearch,
  917. commonUpload,
  918. houseAdd,
  919. landAdd,
  920. treeselectByUser,
  921. deptGetId,
  922. houseEdit,
  923. landEdit,
  924. } from "@/api/homestead/index";
  925. export default {
  926. name: "homesteadLogin",
  927. data() {
  928. return {
  929. //搜索
  930. seachText: "",
  931. selectionIconShow: false,
  932. //省市区区级list
  933. hcAreaInfoOption: [],
  934. //省市区区级显示
  935. villageVisbile: false,
  936. //选中的值
  937. villageValue: "",
  938. //选中村相关信息
  939. villageDataObj: {
  940. deptName: "  ", //村名
  941. },
  942. hcAreaInfoFieldName: {
  943. text: "label",
  944. value: "value",
  945. children: "children",
  946. },
  947. // 待租列表显示
  948. ishcBotton: false,
  949. // 待租列表 类型 0 农房 1 农地
  950. statusList: 0,
  951. //待租列表 房
  952. hcBottonHouseArr: [],
  953. //待租列表 地
  954. hcBottonLandArr: [],
  955. //搜索栏目-操作栏显隐
  956. searchBarOperVisbile: false,
  957. //地图绘制状态
  958. draw: {
  959. drawMapPolygon: false, //绘制地图
  960. },
  961. //地图绘制坐标存储
  962. coordinateList: "",
  963. //判断新增还是编辑 0 新增 1编辑
  964. currentType: 0,
  965. //新建选择农房土地弹窗 显隐
  966. farmlandEditSwitchVisbule: false, //false
  967. //编辑房屋土地块高度
  968. landHomesteadEditWrapHeight: 0,
  969. //编辑房屋土地信息--显隐
  970. landHomesteadEditVisbile: false,
  971. //查看编辑房屋、土地--类型 0 农房 1 农地
  972. farmhouseStatus: 0,
  973. //新增农房日历显影
  974. houseHomesteadEditcalendar: false,
  975. //新增农地日历显影
  976. landHomesteadEditcalendar: false,
  977. //选择顺序
  978. selectChooseOrder: 0,
  979. //农地新增、修改保存数据
  980. landInfoList: {
  981. id: "", //String 是 主键id
  982. orgCode: "", // String 否 行政区代码
  983. cdm: "", // String 否 村代码
  984. cm: "", //String 否 村名
  985. xh: "", // String 否 序号
  986. cbrmc: "", //String 否 承包人名称
  987. syrmc: "", //String 否 使用人名称
  988. nydlx: "", // String 否 农用地类型
  989. mj: "", // String 否 面积
  990. lzsynx: "", // String 否 流转剩余年限
  991. lzhtjzrq: "", // String 否 日期
  992. sfylzyx: "", // String 否 是否流转意向
  993. xzqk: "", // String 否 现状情况
  994. theGeom: "", //String 否 空间坐标
  995. xzqkKey: "", // String 否 忽略
  996. nydlxKey: "", // String 否 忽略
  997. frontland: "", //String 否 图片前
  998. behindland: "", //String 否 图片后
  999. },
  1000. //农房新增、修改保存数据
  1001. houseInfoList: {
  1002. id: "", // String 是 主键id
  1003. orgCode: "", // String 否 行政区代码
  1004. cdm: "", // String 否 村代码
  1005. cm: "", // String 否 村名
  1006. xh: "", // String 否 序号
  1007. tdxz: "", //土地性质
  1008. fwsyrmc: "", // String 否 房屋所有人名称
  1009. fwsyqh: "", // String 否 房屋所有权证号
  1010. tdzh: "", // String 否 土地证号
  1011. jzmj: "", // String 否 建筑面积
  1012. tdmj: "", // String 否 土地面积
  1013. sfyspsx: "", // String 否 是否有审批手续
  1014. xzqk: "", // String 否 现状情况
  1015. theGeom: "", // String 否 空间坐标
  1016. xzqkKey: "", // String 否 忽略传null
  1017. tdxzKey: "", // String 否 忽略传null
  1018. frontHouse: "", // String 否 图片前
  1019. behindHouse: "", // String 否 图片后
  1020. dz: "", // String 否 地址
  1021. zlrxm: "", // String 否 租赁人姓名
  1022. zlhtjzrq: "", // 租赁合同截止日期
  1023. zlsynx: "", // 租赁剩余年限
  1024. xzfwsfylzy: "", // 闲置房屋是否有流转意愿
  1025. tdfl: "", // 集体/个人
  1026. },
  1027. //农地查看数据
  1028. landInfoLookList: {},
  1029. //农房查看数据
  1030. houseInfoLookList: {},
  1031. //农房 - 农房权属
  1032. tdxzOptions: [],
  1033. tdxzOptionsVibile: false, //农房 - 农房权属 -弹窗
  1034. tdxzOptionsValue: "", //农房 - 农房权属 值
  1035. //农房 - 房屋类型
  1036. fwdlxOptions: ["个人", "集体"],
  1037. fwdlxOptionsVibile: false, // 农地 -- 农用地类型--弹窗
  1038. //农房 - 现状情况
  1039. xzqkOptions: [],
  1040. xzqkOptionsVisbile: false, //农房 - 现状情况 弹窗
  1041. //农房 - 是否有流转
  1042. xfCirculationOptions: ["是", "否"],
  1043. xflzCirculationVisbile: false, //农房 - 是否有流转 弹窗
  1044. //农房 - 是否有审批
  1045. xfApprovalOptions: ["是", "否"],
  1046. xfCirculationVisbile: false, //农房 - 是否有审批 -弹窗
  1047. //农地 -- 现状情况
  1048. ndxzqkOptions: [],
  1049. ndxzqkOptionsVisbile: false,
  1050. //农地 -- 农用地类型
  1051. nydlxOptions: [],
  1052. nydlxOptionsVibile: false, // 农地 -- 农用地类型--弹窗
  1053. nydlxOptionsValue: "", // 农地 -- 农用地类型--值
  1054. //农地 -- 是否有流转意向
  1055. xdCirculationOptions: ["是", "否"],
  1056. xdlzCirculationVisbile: false, //农房 - 是否有流转 弹窗
  1057. //农房上传图片附件
  1058. nfAddfileList: [],
  1059. //农地上传图片附件
  1060. ndAddfileList: [],
  1061. // 当前是否地图点击状态
  1062. hasTable: false,
  1063. //查看农地\农房 显隐
  1064. landHomesteadDetailsVisibile: false,
  1065. windowHeight: 0,
  1066. };
  1067. },
  1068. mounted() {
  1069. this.initAxios();
  1070. let windowHeight = document.documentElement.clientHeight;
  1071. this.windowHeight = windowHeight;
  1072. },
  1073. methods: {
  1074. //编辑农地信息
  1075. editnfdInfo(type) {
  1076. this.currentType = 1;
  1077. this.farmlandEditSwitchVisbuleFun("hide");
  1078. this.landHomesteadEditVisbileFun("show");
  1079. },
  1080. //显示农地\农房详情
  1081. houseLandLookInfo(type, status) {
  1082. if (type == "show") {
  1083. if (status == "house") {
  1084. $("#texiao_fang").val(this.houseInfoList.fwsyrmc);
  1085. $("#texiao_fang").trigger("click");
  1086. } else {
  1087. $("#texiao_di").val(this.landInfoList.syrmc);
  1088. $("#texiao_di").trigger("click");
  1089. }
  1090. this.houseLandLookAnmitFun("show");
  1091. } else {
  1092. this.houseLandLookAnmitFun("hide");
  1093. }
  1094. },
  1095. toggleSearch(){
  1096. $("#query").trigger("click");
  1097. },
  1098. //显示农地\农房详情 动画
  1099. houseLandLookAnmitFun(type) {
  1100. if (type == "show") {
  1101. this.landHomesteadDetailsVisibile = true;
  1102. $(".landHomesteadDetails_wrap").css({ bottom: "-100vh" });
  1103. $(".landHomesteadDetails_wrap").animate(
  1104. {
  1105. bottom: "0",
  1106. },
  1107. 300
  1108. );
  1109. } else {
  1110. $(".landHomesteadDetails_wrap").css({ bottom: "0" });
  1111. $(".landHomesteadDetails_wrap").animate(
  1112. {
  1113. bottom: "-100vh",
  1114. },
  1115. 300
  1116. );
  1117. setTimeout(() => {
  1118. this.landHomesteadDetailsVisibile = false;
  1119. }, 300);
  1120. }
  1121. },
  1122. //绘制多边形地图
  1123. drawMapPolygonFun() {
  1124. let drawMapPolygon = this.draw.drawMapPolygon;
  1125. if (drawMapPolygon == false) {
  1126. console.log(this.coordinateList);
  1127. if (this.coordinateList == "") {
  1128. this.$set(this.draw, "drawMapPolygon", true);
  1129. $("#drawPolygon").trigger("click");
  1130. } else {
  1131. this.$dialog
  1132. .confirm({
  1133. title: "提示",
  1134. message: "是否重新绘制画图",
  1135. })
  1136. .then(() => {
  1137. // on confirm
  1138. this.coordinateList = "";
  1139. this.$set(this.draw, "drawMapPolygon", true);
  1140. $("#drawPolygon").trigger("click");
  1141. })
  1142. .catch(() => {
  1143. // on cancel
  1144. });
  1145. }
  1146. } else {
  1147. $("#drawRemove").trigger("click");
  1148. this.$set(this.draw, "drawMapPolygon", false);
  1149. }
  1150. },
  1151. //新建选择农房土地弹窗
  1152. farmlandEditSwitchFun() {
  1153. if (this.coordinateList == "") {
  1154. this.$toast("请先完成绘制");
  1155. return false;
  1156. }
  1157. this.currentType = 0;
  1158. this.farmlandEditSwitchVisbuleFun("show");
  1159. // this.searchBarOperVisbile = false;
  1160. },
  1161. //关闭选择农房土地
  1162. farmlandEditFun() {
  1163. this.farmlandEditSwitchVisbuleFun("hide");
  1164. //初始化地图
  1165. this.initDraw();
  1166. },
  1167. addNewPlot(type) {
  1168. this.farmlandEditSwitchVisbuleFun("hide");
  1169. this.landHomesteadEditVisbileFun("show");
  1170. //farmhouse农房 land农地
  1171. if (type == "farmhouse") {
  1172. this.farmhouseStatus = 0;
  1173. } else if (type == "land") {
  1174. this.farmhouseStatus = 1;
  1175. }
  1176. },
  1177. //新增地块 编辑页 显影
  1178. landHomesteadEditVisbileFun(type) {
  1179. if (type == "show") {
  1180. this.landHomesteadEditVisbile = true;
  1181. $(".landHomesteadEdit_wrap").css({ bottom: "-100vh" });
  1182. $(".landHomesteadEdit_wrap").animate(
  1183. {
  1184. bottom: "0",
  1185. },
  1186. 300
  1187. );
  1188. } else {
  1189. $(".landHomesteadEdit_wrap").css({ bottom: "0" });
  1190. $(".landHomesteadEdit_wrap").animate(
  1191. {
  1192. bottom: "-100vh",
  1193. },
  1194. 300
  1195. );
  1196. setTimeout(() => {
  1197. this.landHomesteadEditVisbile = false;
  1198. }, 300);
  1199. }
  1200. setTimeout(() => {
  1201. //新建土地、房屋高度
  1202. let landHomesteadEditWrap =
  1203. this.$refs.landHomesteadEditWrap.offsetHeight;
  1204. let landHomesteadEditWrapPdg = $(
  1205. ".landHomesteadEdit_wrap .content_mian"
  1206. )
  1207. .css("paddingTop")
  1208. .replace("px", "");
  1209. let landHomesteadEditWrapTitHei = $(
  1210. ".landHomesteadEdit_wrap .info_title"
  1211. )
  1212. .css("height")
  1213. .replace("px", "");
  1214. if (
  1215. landHomesteadEditWrap &&
  1216. landHomesteadEditWrapPdg &&
  1217. landHomesteadEditWrapTitHei
  1218. ) {
  1219. this.landHomesteadEditWrapHeight =
  1220. landHomesteadEditWrap -
  1221. landHomesteadEditWrapPdg * 2 -
  1222. landHomesteadEditWrapTitHei -
  1223. 10;
  1224. }
  1225. }, 301);
  1226. },
  1227. //选择农地 农房显影
  1228. farmlandEditSwitchVisbuleFun(type) {
  1229. if (type == "show") {
  1230. this.farmlandEditSwitchVisbule = true;
  1231. $(".farmlandEditSwitch_wrap").css({ opacity: "0" });
  1232. $(".farmlandEditSwitch_wrap").animate(
  1233. {
  1234. opacity: "1",
  1235. },
  1236. 300
  1237. );
  1238. } else {
  1239. $(".farmlandEditSwitch_wrap").css({ opacity: "1" });
  1240. $(".farmlandEditSwitch_wrap").animate(
  1241. {
  1242. opacity: "0",
  1243. },
  1244. 300
  1245. );
  1246. setTimeout(() => {
  1247. this.farmlandEditSwitchVisbule = false;
  1248. }, 300);
  1249. }
  1250. },
  1251. //新增地块 编辑页 取消
  1252. landHomesteadEditCancel() {
  1253. this.landHomesteadEditVisbileFun("hide");
  1254. //新增信息显示
  1255. if (this.currentType == 0) {
  1256. this.farmlandEditSwitchVisbuleFun("show");
  1257. }
  1258. },
  1259. //新增地块 编辑页 保存
  1260. landHomesteadEditSave() {
  1261. if (this.farmhouseStatus == 0) {
  1262. //农房
  1263. let houseInfoList = this.houseInfoList;
  1264. houseInfoList.theGeom = this.coordinateList;
  1265. houseInfoList.orgCode = this.villageDataObj.orgCode;
  1266. houseInfoList.cdm = this.villageDataObj.orgCode;
  1267. houseInfoList.cm = this.villageDataObj.deptName;
  1268. if (houseInfoList.xh == undefined || houseInfoList.xh == "") {
  1269. this.$toast("请填写农房编号");
  1270. return false;
  1271. } else if (
  1272. houseInfoList.fwsyrmc == undefined ||
  1273. houseInfoList.fwsyrmc == ""
  1274. ) {
  1275. this.$toast("请填写房屋所有人名称");
  1276. return false;
  1277. } else if (houseInfoList.dz == undefined || houseInfoList.dz == "") {
  1278. this.$toast("请填写地址");
  1279. return false;
  1280. } else if (
  1281. houseInfoList.tdxz == undefined ||
  1282. houseInfoList.tdxz == ""
  1283. ) {
  1284. this.$toast("请选择土地性质");
  1285. return false;
  1286. } else if (
  1287. houseInfoList.sfyspsx == undefined ||
  1288. houseInfoList.sfyspsx == ""
  1289. ) {
  1290. this.$toast("请选择是否有审批手续");
  1291. return false;
  1292. } else if (
  1293. houseInfoList.jzmj == undefined ||
  1294. houseInfoList.jzmj == ""
  1295. ) {
  1296. this.$toast("请填写建筑面积");
  1297. return false;
  1298. } else if (
  1299. houseInfoList.xzqk == undefined ||
  1300. houseInfoList.xzqk == ""
  1301. ) {
  1302. this.$toast("请选择现状情况");
  1303. return false;
  1304. } else if (
  1305. houseInfoList.fwsyqh == undefined ||
  1306. houseInfoList.fwsyqh == ""
  1307. ) {
  1308. this.$toast("请填写房屋所有权证号");
  1309. return false;
  1310. } else if (
  1311. houseInfoList.tdzh == undefined ||
  1312. houseInfoList.tdzh == ""
  1313. ) {
  1314. this.$toast("请填写土地证号");
  1315. return false;
  1316. } else if (
  1317. houseInfoList.tdmj == undefined ||
  1318. houseInfoList.tdmj == ""
  1319. ) {
  1320. this.$toast("请填写土地面积");
  1321. return false;
  1322. } else if (
  1323. houseInfoList.xzfwsfylzy == undefined ||
  1324. houseInfoList.xzfwsfylzy == ""
  1325. ) {
  1326. this.$toast("请选择是否有流转意愿");
  1327. return false;
  1328. } else if (
  1329. houseInfoList.tdfl == undefined ||
  1330. houseInfoList.tdfl == ""
  1331. ) {
  1332. this.$toast("请选择房屋类型");
  1333. return false;
  1334. }
  1335. //新增
  1336. if (this.currentType == 0) {
  1337. if (houseInfoList.theGeom == "") {
  1338. this.$toast("请选择地图坐标");
  1339. return false;
  1340. }
  1341. this.$dialog
  1342. .confirm({
  1343. title: "新建农房信息",
  1344. message: "是否保存信息或修改信息",
  1345. })
  1346. .then(() => {
  1347. // on confirm
  1348. houseAdd(houseInfoList).then((res) => {
  1349. if (res.code == 200) {
  1350. this.landHomesteadEditVisbileFun("hide");
  1351. //新增
  1352. this.$toast("新建农房信息成功");
  1353. this.initDraw();
  1354. $("#drawRemove").trigger("click");
  1355. $("#drawReset").trigger("click");
  1356. this.coordinateList = "";
  1357. }
  1358. });
  1359. })
  1360. .catch(() => {
  1361. // on cancel
  1362. });
  1363. } else {
  1364. this.$dialog
  1365. .confirm({
  1366. title: "修改农房信息",
  1367. message: "是否保存信息或修改信息",
  1368. })
  1369. .then(() => {
  1370. // on confirm
  1371. houseEdit(houseInfoList).then((res) => {
  1372. if (res.code == 200) {
  1373. this.landHomesteadEditVisbileFun("hide");
  1374. this.$toast("修改农房信息成功");
  1375. this.houseInfoLookList = this.houseInfoList;
  1376. this.initDraw();
  1377. $("#drawRemove").trigger("click");
  1378. $("#drawReset").trigger("click");
  1379. this.coordinateList = "";
  1380. }
  1381. });
  1382. })
  1383. .catch(() => {
  1384. // on cancel
  1385. });
  1386. //编辑
  1387. }
  1388. } else if (this.farmhouseStatus == 1) {
  1389. // orgCode: "", // String 否 行政区代码
  1390. // cdm: "", // String 否 村代码
  1391. // cm: "", //String 否 村名
  1392. //农地
  1393. let landInfoList = this.landInfoList;
  1394. landInfoList.theGeom = this.coordinateList;
  1395. landInfoList.orgCode = this.villageDataObj.orgCode;
  1396. landInfoList.cdm = this.villageDataObj.orgCode;
  1397. landInfoList.cm = this.villageDataObj.deptName;
  1398. if (landInfoList.xh == undefined || landInfoList.xh == "") {
  1399. this.$toast("请填写农地编号");
  1400. return false;
  1401. } else if (
  1402. landInfoList.syrmc == undefined ||
  1403. landInfoList.syrmc == ""
  1404. ) {
  1405. this.$toast("请填写农地使用人名称");
  1406. return false;
  1407. } else if (landInfoList.xzqk == undefined || landInfoList.xzqk == "") {
  1408. this.$toast("请填写现状情况");
  1409. return false;
  1410. } else if (
  1411. landInfoList.nydlx == undefined ||
  1412. landInfoList.nydlx == ""
  1413. ) {
  1414. this.$toast("请选择农用地类型");
  1415. return false;
  1416. } else if (landInfoList.mj == undefined || landInfoList.mj == "") {
  1417. this.$toast("请填写土地面积");
  1418. return false;
  1419. } else if (
  1420. landInfoList.sfylzyx == undefined ||
  1421. landInfoList.sfylzyx == ""
  1422. ) {
  1423. this.$toast("请选择是否流转意向");
  1424. return false;
  1425. }
  1426. //新增
  1427. if (this.currentType == 0) {
  1428. if (landInfoList.theGeom == "") {
  1429. this.$toast("请选择空间坐标");
  1430. return false;
  1431. }
  1432. this.$dialog
  1433. .confirm({
  1434. title: "新建农地信息",
  1435. message: "是否保存信息或修改信息",
  1436. })
  1437. .then(() => {
  1438. // on confirm
  1439. landAdd(landInfoList).then((res) => {
  1440. if (res.code == 200) {
  1441. this.landHomesteadEditVisbileFun("hide");
  1442. //新增
  1443. this.initDraw();
  1444. $("#drawRemove").trigger("click");
  1445. $("#drawReset").trigger("click");
  1446. this.coordinateList = "";
  1447. this.$toast("新建农地信息成功");
  1448. }
  1449. });
  1450. })
  1451. .catch(() => {
  1452. // on cancel
  1453. });
  1454. } else {
  1455. this.$dialog
  1456. .confirm({
  1457. title: "修改农地信息",
  1458. message: "是否保存信息或修改信息",
  1459. })
  1460. .then(() => {
  1461. // on confirm
  1462. landEdit(landInfoList).then((res) => {
  1463. if (res.code == 200) {
  1464. this.landHomesteadEditVisbileFun("hide");
  1465. this.$toast("修改农地信息成功");
  1466. this.landInfoLookList = this.landInfoList;
  1467. this.initDraw();
  1468. $("#drawRemove").trigger("click");
  1469. $("#drawReset").trigger("click");
  1470. this.coordinateList = "";
  1471. }
  1472. });
  1473. })
  1474. .catch(() => {
  1475. // on cancel
  1476. });
  1477. }
  1478. }
  1479. //保存成功触发
  1480. },
  1481. landHomesteadEdConfirm(value) {
  1482. //农地
  1483. this.landHomesteadEditcalendar = false;
  1484. this.landInfoList.lzhtjzrq = this.getDate(new Date(value));
  1485. },
  1486. houseHomesteadEdConfirm(value) {
  1487. //农房
  1488. this.houseHomesteadEditcalendar = false;
  1489. this.houseInfoList.zlhtjzrq = this.getDate(new Date(value));
  1490. },
  1491. getDate(date) {
  1492. //date是传过来的时间戳,注意需为13位,10位需*1000
  1493. //也可以不传,获取的就是当前时间
  1494. var time = new Date(date);
  1495. var year = time.getFullYear(); //年
  1496. var month = ("0" + (time.getMonth() + 1)).slice(-2); //月
  1497. var day = ("0" + time.getDate()).slice(-2); //日
  1498. var mydate = year + "-" + month + "-" + day;
  1499. return mydate;
  1500. },
  1501. //初始化绘制
  1502. initDraw() {
  1503. //清除数据
  1504. // $("#drawRemove").trigger("click");
  1505. // $("#drawReset").trigger("click");
  1506. // this.coordinateList = "";
  1507. //农地数据初始化
  1508. this.landInfoList = {
  1509. id: "", //String 是 主键id
  1510. orgCode: "", // String 否 行政区代码
  1511. cdm: "", // String 否 村代码
  1512. cm: "", //String 否 村名
  1513. xh: "", // String 否 序号
  1514. cbrmc: "", //String 否 承包人名称
  1515. syrmc: "", //String 否 使用人名称
  1516. nydlx: "", // String 否 农用地类型
  1517. mj: "", // String 否 面积
  1518. lzsynx: "", // String 否 流转剩余年限
  1519. zlhtjzrq: "", // String 否 日期
  1520. sfylzyx: "", // String 否 是否流转意向
  1521. xzqk: "", // String 否 现状情况
  1522. theGeom: "", //String 否 空间坐标
  1523. xzqkKey: "", // String 否 忽略
  1524. nydlxKey: "", // String 否 忽略
  1525. frontland: "", //String 否 图片前
  1526. behindland: "", //String 否 图片后
  1527. };
  1528. //农房数据初始化
  1529. this.houseInfoList = {
  1530. id: "", // String 是 主键id
  1531. orgCode: "", // String 否 行政区代码
  1532. cdm: "", // String 否 村代码
  1533. cm: "", // String 否 村名
  1534. xh: "", // String 否 序号
  1535. tdxz: "", //土地性质
  1536. fwsyrmc: "", // String 否 房屋所有人名称
  1537. fwsyqh: "", // String 否 房屋所有权证号
  1538. tdzh: "", // String 否 土地证号
  1539. jzmj: "", // String 否 建筑面积
  1540. tdmj: "", // String 否 土地面积
  1541. sfyspsx: "", // String 否 是否有审批手续
  1542. xzqk: "", // String 否 现状情况
  1543. theGeom: "", // String 否 空间坐标
  1544. xzqkKey: "", // String 否 忽略传null
  1545. tdxzKey: "", // String 否 忽略传null
  1546. frontHouse: "", // String 否 图片前
  1547. behindHouse: "", // String 否 图片后
  1548. dz: "", // String 否 地址
  1549. zlrxm: "", // String 否 租赁人姓名
  1550. zlhtjzrq: "", // 租赁合同截止日期
  1551. zlsynx: "", // 租赁剩余年限
  1552. xzfwsfylzy: "", // 闲置房屋是否有流转意愿
  1553. tdfl: "", // 集体/个人
  1554. };
  1555. //农房上传图片附件
  1556. this.nfAddfileList = [];
  1557. //农地上传图片附件
  1558. this.ndAddfileList = [];
  1559. //隐藏下方绘制地图操作栏
  1560. this.searchBarOperVisbile = false;
  1561. this.draw.drawMapPolygon = false; //绘制地图
  1562. },
  1563. initAxios() {
  1564. //获取区镇村
  1565. this.mapAreaSelectValue();
  1566. //农房---字典项
  1567. this.nfDictionary();
  1568. //农地---字典项
  1569. this.ndDictionary();
  1570. },
  1571. nfDictionary() {
  1572. //农房权属
  1573. this.getDicts("build_land_type").then((response) => {
  1574. this.tdxzOptions = response.data;
  1575. });
  1576. //农房情况
  1577. this.getDicts("geo_hc_house").then((response) => {
  1578. this.xzqkOptions = response.data;
  1579. });
  1580. },
  1581. ndDictionary() {
  1582. //农用地类型
  1583. this.getDicts("sub_object_type").then((response) => {
  1584. this.nydlxOptions = response.data;
  1585. });
  1586. //现状情况
  1587. this.getDicts("geo_hc_land").then((response) => {
  1588. this.ndxzqkOptions = response.data;
  1589. });
  1590. },
  1591. styleSteup() {
  1592. let smallTop = this.$refs.sliderSmall.getBoundingClientRect().top;
  1593. let smallLeft = this.$refs.sliderSmall.getBoundingClientRect().left;
  1594. $(".ol-zoom-out").css({
  1595. position: "absolute",
  1596. left: smallLeft + "px",
  1597. top: smallTop + "px",
  1598. width: "40px",
  1599. height: "26px",
  1600. zIndex: "999999",
  1601. cursor: "pointer",
  1602. opacity: "0",
  1603. });
  1604. $(".ol-overlaycontainer-stopevent").css({
  1605. zIndex: 9999,
  1606. });
  1607. let bigTop = this.$refs.sliderBig.getBoundingClientRect().top;
  1608. let bigLeft = this.$refs.sliderBig.getBoundingClientRect().left;
  1609. $(".ol-zoom-in").css({
  1610. position: "absolute",
  1611. left: bigLeft + "px",
  1612. top: bigTop + "px",
  1613. width: "40px",
  1614. height: "26px",
  1615. zIndex: "1005",
  1616. cursor: "pointer",
  1617. opacity: "0",
  1618. });
  1619. $(".ol-hidden ,.ol-collapsed").hide();
  1620. },
  1621. switchLoad() {
  1622. let objData = {
  1623. orgCode: this.villageDataObj.orgCode,
  1624. statusList: "1,2,3,4,5,6,7,8",
  1625. };
  1626. // //右侧详情农房农地列表
  1627. hcBottomSearch(objData).then((res) => {
  1628. let content = res.data;
  1629. //房
  1630. let houseArr = [];
  1631. let landArr = [];
  1632. //地
  1633. content.forEach((v, i) => {
  1634. if (v.type == "house") {
  1635. houseArr.push({
  1636. geo: v.geo,
  1637. mj: v.mj,
  1638. name: v.name,
  1639. type: v.type,
  1640. xh: v.xh,
  1641. xzqk: v.xzqk,
  1642. });
  1643. } else {
  1644. landArr.push({
  1645. geo: v.geo,
  1646. mj: v.mj,
  1647. name: v.name,
  1648. type: v.type,
  1649. xh: v.xh,
  1650. xzqk: v.xzqk,
  1651. });
  1652. }
  1653. });
  1654. this.hcBottonHouseArr = houseArr;
  1655. this.hcBottonLandArr = landArr;
  1656. this.ishcBotton = true;
  1657. });
  1658. },
  1659. mapAreaSelectValue() {
  1660. treeselectByUser().then((res) => {
  1661. if (res.code == 200) {
  1662. let content = res.data;
  1663. this.hcAreaInfoOption = content;
  1664. let currDeptId; //;= "169"
  1665. if (content[0].children && content[0].children.length != 0) {
  1666. if (
  1667. content[0].children[0].children &&
  1668. content[0].children[0].children.length != 0
  1669. ) {
  1670. if (
  1671. content[0].children[0].children[0].children &&
  1672. content[0].children[0].children[0].children.length != 0
  1673. ) {
  1674. currDeptId =
  1675. content[0].children[0].children[0].children[0].value;
  1676. } else {
  1677. currDeptId = content[0].children[0].children[0].value;
  1678. }
  1679. } else {
  1680. currDeptId = content[0].children[0].value;
  1681. }
  1682. } else {
  1683. currDeptId = content[0].value;
  1684. }
  1685. // console.log(currDeptId);
  1686. //获取村详细信息
  1687. this.deptGetFun(currDeptId);
  1688. //获取地图
  1689. this.mapBackground();
  1690. //设置缩放按钮位置
  1691. this.styleSteup();
  1692. }
  1693. });
  1694. },
  1695. //选择村
  1696. hcAreaInfoFinish({ value, selectedOptions, tabIndex }) {
  1697. this.deptGetFun(value);
  1698. },
  1699. //通过deptId获取经纬度
  1700. deptGetFun(value) {
  1701. deptGetId(value).then((res) => {
  1702. this.villageVisbile = false;
  1703. let content = res.data;
  1704. this.villageDataObj = content;
  1705. this.initDraw();
  1706. $("#cun").trigger("change");
  1707. this.switchLoad();
  1708. });
  1709. },
  1710. searchBarOperFun(statue) {
  1711. if (statue == "true") {
  1712. this.searchBarOperVisbile = true;
  1713. } else {
  1714. this.searchBarOperVisbile = false;
  1715. //初始化绘制
  1716. // this.coordinateList = "";
  1717. this.initDraw();
  1718. }
  1719. },
  1720. /*右侧列表 --展开收缩*/
  1721. selectionPush() {
  1722. this.selectionIconShow = true;
  1723. $(".homesteadList_wrap").animate(
  1724. {
  1725. right: "0",
  1726. },
  1727. 300
  1728. );
  1729. },
  1730. homesteadListShrink() {
  1731. this.selectionIconShow = false;
  1732. $(".homesteadList_wrap").animate(
  1733. {
  1734. right: "-300px",
  1735. },
  1736. 300
  1737. );
  1738. },
  1739. villageVisbileFun() {
  1740. this.villageVisbile = true;
  1741. },
  1742. housingTypes(type) {
  1743. // if (type == "0") {
  1744. this.statusList = type;
  1745. this.selectChooseOrder = 0;
  1746. },
  1747. housingSerial(item, index) {
  1748. this.selectChooseOrder = index;
  1749. if (item.type == "house") {
  1750. $("#texiao_fang").val(item.name);
  1751. $("#texiao_fang").trigger("click");
  1752. } else {
  1753. $("#texiao_di").val(item.name);
  1754. $("#texiao_di").trigger("click");
  1755. }
  1756. },
  1757. //加载地图
  1758. mapBackground() {
  1759. let _this = this;
  1760. var projection = new ol.proj.Projection({
  1761. //地图投影类型
  1762. code: "EPSG:3857",
  1763. units: "degrees",
  1764. //extent:extent
  1765. });
  1766. //影像图 -----------------------------start
  1767. var attributions =
  1768. '<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> ' +
  1769. '<a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>';
  1770. var aerial = new ol.layer.Tile({
  1771. source: new ol.source.XYZ({
  1772. attributions: attributions,
  1773. url: "http://t0.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=cc4aba6e967096098249efa069733067",
  1774. }),
  1775. isGroup: true,
  1776. visible: true,
  1777. name: "天地图路网-卫星影像图",
  1778. });
  1779. var map = new ol.Map({
  1780. layers: [aerial],
  1781. //layers: [newwms],
  1782. projection: projection,
  1783. target: "mapWrap",
  1784. view: new ol.View({
  1785. center: ol.proj.fromLonLat([122.145662, 37.369575]),
  1786. zoom: 10.2,
  1787. minZoom: 10, //地图缩小限制
  1788. maxZoom: 18.9, //地图放大限制
  1789. }),
  1790. });
  1791. //业务图层 wfs服务 属性查询开始 ------------------start
  1792. /**
  1793. * @api wfs服务空间查询
  1794. * @param {*} wfsurl
  1795. * @param {*} srsName
  1796. * @param {*} typeName
  1797. * @param {*} drawType
  1798. * @param {option 可选} geometryField
  1799. */
  1800. var wmsSource = new ol.source.TileWMS({
  1801. //url: 'http://192.168.31.150:8888/geoserver/mywork_mysql/wms',
  1802. url: "http://116.255.135.38:8080/geoserver/nsgk_hc/wms",
  1803. //url: 'http://localhost:8888/geoserver/mywork_mysql/wms',
  1804. params: {
  1805. LAYERS: "nsgk_hc:nsgk_hc_all",
  1806. //'LAYERS': 'mywork_mysql:t_geo_hc_land',
  1807. TILED: true,
  1808. SRID: 3857,
  1809. serverType: "geoserver",
  1810. crossOrigin: "anonymous",
  1811. },
  1812. });
  1813. map.on("pointermove", function (evt) {
  1814. if (evt.dragging) {
  1815. return;
  1816. }
  1817. var pixel = map.getEventPixel(evt.originalEvent);
  1818. var hit = map.forEachLayerAtPixel(pixel, function () {
  1819. return true;
  1820. });
  1821. map.getTargetElement().style.cursor = hit ? "pointer" : "";
  1822. });
  1823. //属性查询结束 ------------------end
  1824. var shitu = new ol.layer.Vector({
  1825. title: "add Layer",
  1826. source: new ol.source.Vector({
  1827. projection: projection,
  1828. url: "http://116.255.135.38:8081/nsgk_test/profile/geojson/huancui.json", //GeoJSON的文件路径,用户可以根据需求而改变
  1829. format: new ol.format.GeoJSON(),
  1830. }),
  1831. style: new ol.style.Style({
  1832. fill: new ol.style.Fill({
  1833. //矢量图层填充颜色,以及透明度
  1834. color: "rgba(0,0,0,0)",
  1835. }),
  1836. stroke: new ol.style.Stroke({
  1837. //边界样式
  1838. color: "#47c68f",
  1839. width: 3,
  1840. }),
  1841. }),
  1842. });
  1843. map.addLayer(shitu);
  1844. var huancui_zhen = new ol.layer.Vector({
  1845. title: "add huancui_zhen",
  1846. source: new ol.source.Vector({
  1847. projection: projection,
  1848. url: "http://116.255.135.38:8081/nsgk_test/profile/geojson/huancui_zhen.json", //GeoJSON的文件路径,用户可以根据需求而改变
  1849. format: new ol.format.GeoJSON(),
  1850. }),
  1851. style: new ol.style.Style({
  1852. fill: new ol.style.Fill({
  1853. //矢量图层填充颜色,以及透明度
  1854. color: "rgba(27,50,56,0.8)",
  1855. }),
  1856. }),
  1857. });
  1858. map.addLayer(huancui_zhen);
  1859. ///-----------乡---------------------------------------------------------------------------------------------------------
  1860. var villageVectorLayer; //村标记
  1861. async function villageDiagram() {
  1862. villageDataFun(_this.villageDataObj);
  1863. }
  1864. //村数据处理
  1865. function villageDataFun(villageMapData) {
  1866. let arrDatas = [];
  1867. // for (let i = 0; i < villageMapData.length; i++) {
  1868. let varName = "iconFeature0";
  1869. window[varName] = new ol.Feature({
  1870. geometry: new ol.geom.Point(
  1871. ol.proj.fromLonLat([villageMapData.lng, villageMapData.lat])
  1872. ),
  1873. name:
  1874. villageMapData.name == undefined
  1875. ? villageMapData.deptName
  1876. : villageMapData.name, //名称属性
  1877. orgCode: villageMapData.orgCode, //人口数(万)
  1878. lat: villageMapData.lat,
  1879. lng: villageMapData.lng,
  1880. type: "村",
  1881. zhenOrgCode: villageMapData.zhenOrgCode,
  1882. });
  1883. window[varName].setStyle(visCreateLabelStyle(window[varName]));
  1884. arrDatas.push(window[varName]);
  1885. // }
  1886. var vectorSource = new ol.source.Vector({
  1887. features: arrDatas,
  1888. });
  1889. // //矢量标注图层
  1890. villageVectorLayer = new ol.layer.Vector({
  1891. source: vectorSource,
  1892. });
  1893. map.addLayer(villageVectorLayer);
  1894. }
  1895. //矢量标注样式设置函数,设置image为图标ol.style.Icon
  1896. function visCreateLabelStyle(feature) {
  1897. return new ol.style.Style({
  1898. image: new ol.style.Icon({
  1899. //设置图标偏移
  1900. anchor: [0.5, 1],
  1901. //标注样式的起点位置
  1902. anchorOrigin: "top-right",
  1903. //X方向单位:分数
  1904. anchorXUnits: "fraction",
  1905. //Y方向单位:像素
  1906. anchorYUnits: "pixels",
  1907. //偏移起点位置的方向
  1908. offsetOrigin: "top-right",
  1909. //透明度
  1910. opacity: 0.9,
  1911. //图片路径
  1912. //src: 'images/map.png'
  1913. src: "https://webapi.amap.com/theme/v1.3/markers/n/mark_b.png",
  1914. }),
  1915. text: new ol.style.Text({
  1916. textAlign: "center", //位置
  1917. textBaseline: "bottom", //基准线
  1918. font: "normal 12px 微软雅黑", //文字样式
  1919. text: feature.get("name"), //文本内容
  1920. fill: new ol.style.Fill({
  1921. //文本填充样式(即文字颜色)
  1922. color: "#ffffff",
  1923. }),
  1924. }),
  1925. zIndex: 9999,
  1926. });
  1927. }
  1928. // map.on("moveend", function (evt) {
  1929. // var zoom = map.getView().getZoom();
  1930. // if (zoom < 13) {
  1931. // if (villageVectorLayer != undefined) {
  1932. // map.removeLayer(villageVectorLayer);
  1933. // map.removeLayer(shitu);
  1934. // map.addLayer(shitu);
  1935. // map.removeLayer(townVectorLayer);
  1936. // townDiagram();
  1937. // }
  1938. // }
  1939. // });
  1940. map.on("singleclick", function (evt) {
  1941. let feature = map.forEachFeatureAtPixel(
  1942. evt.pixel,
  1943. (feature) => feature
  1944. );
  1945. if (feature) {
  1946. }
  1947. document.getElementById("info").innerHTML = "";
  1948. var viewResolution = map.getView().getResolution(); ///** @type {number} */ (view.getResolution());
  1949. var url = wmsSource.getFeatureInfoUrl(
  1950. evt.coordinate,
  1951. viewResolution,
  1952. "EPSG:3857",
  1953. { INFO_FORMAT: "text/html" }
  1954. );
  1955. if (url) {
  1956. fetch(url)
  1957. .then(function (response) {
  1958. return response.text();
  1959. })
  1960. .then(function (html) {
  1961. //农房上传图片附件
  1962. _this.nfAddfileList = [];
  1963. //农地上传图片附件
  1964. _this.ndAddfileList = [];
  1965. if (html.indexOf("<table") != -1) {
  1966. setTimeout(() => {
  1967. _this.hasTable = true;
  1968. document.getElementById("info").innerHTML = html;
  1969. if (html.indexOf("house") != -1) {
  1970. //农房
  1971. _this.farmhouseStatus = 0;
  1972. let obj = {};
  1973. let trs = $("#info .featureInfo").find("tr:eq(1)");
  1974. let zjId = trs.find("td").eq(0).text();
  1975. let zjIdNum = zjId.replace("t_geo_hc_house.", "");
  1976. obj.id = zjIdNum; // 主键id
  1977. obj.fwsyrmc = trs.find("td").eq(1).text(); //房屋所有人名称
  1978. obj.cm = trs.find("td").eq(2).text(); //村名
  1979. obj.cdm = trs.find("td").eq(3).text(); //村代码
  1980. obj.dz = trs.find("td").eq(4).text(); //地址
  1981. obj.sfyspsx = trs.find("td").eq(5).text(); //是否有审批手续
  1982. obj.fwsyqh = trs.find("td").eq(6).text(); //房屋所有权证号
  1983. obj.jzmj = trs.find("td").eq(7).text(); //建筑面积
  1984. obj.tdzh = trs.find("td").eq(8).text(); //建筑面积
  1985. obj.tdxz = trs.find("td").eq(9).text(); //土地性质
  1986. obj.tdmj = trs.find("td").eq(10).text(); //土地面积
  1987. obj.xzqk = trs.find("td").eq(11).text(); //现状情况
  1988. obj.zlrxm = trs.find("td").eq(12).text(); //租赁人姓名
  1989. obj.zlhtjzrq = trs.find("td").eq(13).text(); //租赁合同截止日期
  1990. obj.zlsynx = trs.find("td").eq(14).text(); //租赁剩余年限
  1991. obj.xzfwsfylzy = trs.find("td").eq(15).text(); //闲置房屋是否有流转意愿
  1992. obj.xh = trs.find("td").eq(16).text(); //农房编号
  1993. obj.orgCode = trs.find("td").eq(20).text(); //行政区代码
  1994. obj.tdfl = trs.find("td").eq(23).text(); //集体/个人
  1995. obj.frontHouse = trs.find("td").eq(24).text(); //图片前
  1996. obj.behindHouse = trs.find("td").eq(25).text(); //图片后
  1997. let cloneObj = JSON.parse(JSON.stringify(obj));
  1998. _this.houseInfoList = cloneObj;
  1999. _this.houseInfoList.frontland = "";
  2000. _this.houseInfoList.behindland = "";
  2001. _this.houseInfoLookList = obj;
  2002. } else {
  2003. _this.farmhouseStatus = 1;
  2004. //农地
  2005. let obj = {};
  2006. let trs = $("#info .featureInfo").find("tr:eq(1)");
  2007. let zjId = trs.find("td").eq(0).text();
  2008. let zjIdNum = zjId.replace("t_geo_hc_land.", "");
  2009. obj.id = zjIdNum; // 主键id
  2010. obj.xh = trs.find("td").eq(1).text(); //序号
  2011. obj.cm = trs.find("td").eq(2).text(); //村名
  2012. obj.cbrmc = trs.find("td").eq(3).text(); //承包人名称
  2013. obj.syrmc = trs.find("td").eq(4).text(); //使用人名称
  2014. obj.nydlx = trs.find("td").eq(5).text(); //农用地类型
  2015. obj.mj = trs.find("td").eq(6).text(); //面积
  2016. obj.xzqk = trs.find("td").eq(7).text(); //现状情况
  2017. obj.lzhtjzrq = trs.find("td").eq(8).text(); //流转合同截止时间
  2018. obj.lzsynx = trs.find("td").eq(9).text(); //流转剩余年限
  2019. obj.sfylzyx = trs.find("td").eq(10).text(); //是否流转意向
  2020. obj.cdm = trs.find("td").eq(11).text(); //村代码
  2021. obj.orgCode = trs.find("td").eq(15).text(); //行政区化代码
  2022. obj.frontland = trs.find("td").eq(18).text(); //图片前
  2023. obj.behindland = trs.find("td").eq(19).text(); //图片后
  2024. _this.nydlxOptionsValue = trs.find("td").eq(5).text(); //农用地类型
  2025. let cloneObj = JSON.parse(JSON.stringify(obj));
  2026. _this.landInfoList = cloneObj;
  2027. //编辑图片清空
  2028. _this.landInfoList.frontland = "";
  2029. _this.landInfoList.behindland = "";
  2030. _this.landInfoLookList = obj;
  2031. }
  2032. }, 300);
  2033. if (
  2034. _this.draw.drawMapPolygon == false &&
  2035. _this.searchBarOperVisbile == false
  2036. ) {
  2037. //判断不在绘制地图进入
  2038. if ($(".landHomestead_wrap").css("bottom") != "0px") {
  2039. $(".searchBar_wrap").css({ bottom: "0" });
  2040. $(".searchBar_wrap").animate(
  2041. {
  2042. bottom: "-100%",
  2043. },
  2044. 300
  2045. );
  2046. $(".landHomestead_wrap").css({ bottom: "-100%" });
  2047. $(".landHomestead_wrap").animate(
  2048. {
  2049. bottom: "0",
  2050. },
  2051. 400
  2052. );
  2053. $(".rightIcon_wrap").animate(
  2054. {
  2055. bottom: $(".landHomestead_wrap").height() + 10 + "px",
  2056. },
  2057. 200
  2058. );
  2059. }
  2060. }
  2061. } else {
  2062. _this.hasTable = false;
  2063. if ($(".searchBar_wrap").css("bottom") != "0px") {
  2064. $(".landHomestead_wrap").css({ bottom: "0" });
  2065. $(".landHomestead_wrap").animate(
  2066. {
  2067. bottom: "-100%",
  2068. },
  2069. 300
  2070. );
  2071. $(".searchBar_wrap").css({ bottom: "-100%" });
  2072. $(".searchBar_wrap").animate(
  2073. {
  2074. bottom: "0",
  2075. },
  2076. 400
  2077. );
  2078. let searchBarWrapPadding = $(".searchBar_wrap")
  2079. .css("paddingTop")
  2080. .replace("px", "");
  2081. let searchBarWrapHeight = $(".searchBar_wrap").height();
  2082. $(".rightIcon_wrap").animate(
  2083. {
  2084. bottom:
  2085. searchBarWrapHeight +
  2086. searchBarWrapPadding * 2 +
  2087. 10 +
  2088. "px",
  2089. },
  2090. 200
  2091. );
  2092. }
  2093. //非编辑情况初始化
  2094. if (_this.landHomesteadEditVisbile == false) {
  2095. //农地数据初始化
  2096. _this.landInfoList = {
  2097. id: "", //String 是 主键id
  2098. orgCode: "", // String 否 行政区代码
  2099. cdm: "", // String 否 村代码
  2100. cm: "", //String 否 村名
  2101. xh: "", // String 否 序号
  2102. cbrmc: "", //String 否 承包人名称
  2103. syrmc: "", //String 否 使用人名称
  2104. nydlx: "", // String 否 农用地类型
  2105. mj: "", // String 否 面积
  2106. lzsynx: "", // String 否 流转剩余年限
  2107. zlhtjzrq: "", // String 否 日期
  2108. sfylzyx: "", // String 否 是否流转意向
  2109. xzqk: "", // String 否 现状情况
  2110. theGeom: "", //String 否 空间坐标
  2111. xzqkKey: "", // String 否 忽略
  2112. nydlxKey: "", // String 否 忽略
  2113. frontland: "", //String 否 图片前
  2114. behindland: "", //String 否 图片后
  2115. };
  2116. //农房数据初始化
  2117. _this.houseInfoList = {
  2118. id: "", // String 是 主键id
  2119. orgCode: "", // String 否 行政区代码
  2120. cdm: "", // String 否 村代码
  2121. cm: "", // String 否 村名
  2122. xh: "", // String 否 序号
  2123. tdxz: "", //土地性质
  2124. fwsyrmc: "", // String 否 房屋所有人名称
  2125. fwsyqh: "", // String 否 房屋所有权证号
  2126. tdzh: "", // String 否 土地证号
  2127. jzmj: "", // String 否 建筑面积
  2128. tdmj: "", // String 否 土地面积
  2129. sfyspsx: "", // String 否 是否有审批手续
  2130. xzqk: "", // String 否 现状情况
  2131. theGeom: "", // String 否 空间坐标
  2132. xzqkKey: "", // String 否 忽略传null
  2133. tdxzKey: "", // String 否 忽略传null
  2134. frontHouse: "", // String 否 图片前
  2135. behindHouse: "", // String 否 图片后
  2136. dz: "", // String 否 地址
  2137. zlrxm: "", // String 否 租赁人姓名
  2138. zlhtjzrq: "", // 租赁合同截止日期
  2139. zlsynx: "", // 租赁剩余年限
  2140. xzfwsfylzy: "", // 闲置房屋是否有流转意愿
  2141. tdfl: "", // 集体/个人
  2142. };
  2143. }
  2144. }
  2145. });
  2146. }
  2147. });
  2148. map.on("pointermove", function (evt) {
  2149. if (evt.dragging) {
  2150. return;
  2151. }
  2152. var pixel = map.getEventPixel(evt.originalEvent);
  2153. var hit = map.forEachLayerAtPixel(pixel, function () {
  2154. return true;
  2155. });
  2156. map.getTargetElement().style.cursor = hit ? "pointer" : "";
  2157. });
  2158. //属性查询结束 ------------------end
  2159. //按照分类查询 村定位地图-----------------start
  2160. var nongZt = ["house", "land"];
  2161. var texiao_layer_fang;
  2162. var texiao_layer_di;
  2163. var delete_map = ["mapHouse","mapLand"];
  2164. $("#cun").on("change", function () {
  2165. /**
  2166. * @api wfs服务空间查询
  2167. * @param {*} wfsurl
  2168. * @param {*} srsName
  2169. * @param {*} typeName
  2170. * @param {*} drawType
  2171. * @param {option 可选} geometryField
  2172. */
  2173. var cun = _this.villageDataObj.deptName;
  2174. //定位个人地图
  2175. map.removeLayer(texiao_layer_fang);
  2176. map.removeLayer(texiao_layer_di);
  2177. //删除之前加载的图层
  2178. let currObjNum = _this.villageDataObj;
  2179. map.getView().animate({
  2180. // 只设置需要的属性即可
  2181. center: ol.proj.fromLonLat([currObjNum.lng, currObjNum.lat]), // 中心点
  2182. zoom: 14.5, // 缩放级别
  2183. rotation: undefined, // 缩放完成view视图旋转弧度
  2184. duration: 1000, // 缩放持续时间,默认不需要设置
  2185. });
  2186. map.removeLayer(nongZt[0]);
  2187. map.removeLayer(nongZt[1]);
  2188. map.removeLayer(delete_map[0]);
  2189. map.removeLayer(delete_map[1]);
  2190. //村的数据判断
  2191. map.removeLayer(villageVectorLayer);
  2192. villageDiagram();
  2193. setTimeout(() => {
  2194. map.removeLayer(shitu);
  2195. }, 1000);
  2196. //查询条件
  2197. var cql_filter;
  2198. //图层加载
  2199. //地的数据判断
  2200. var difang = ["nsgk_hc:t_geo_hc_house", "nsgk_hc:t_geo_hc_land"];
  2201. console.log("++++++++++++" + cun);
  2202. //业务图层 wms服务
  2203. for (var i = 0; i < difang.length; i++) {
  2204. if (difang[i] == "nsgk_hc:t_geo_hc_house") {
  2205. cql_filter = "CM='" + cun + "'";
  2206. } else {
  2207. cql_filter = "CM='" + cun + "'";
  2208. }
  2209. nongZt[i] = new ol.layer.Tile({
  2210. source: new ol.source.TileWMS({
  2211. //url: 'http://192.168.31.150:8888/geoserver/mywork_mysql/wms',
  2212. url: "http://116.255.135.38:8080/geoserver/nsgk_hc/wms",
  2213. //url: 'http://localhost:8888/geoserver/mywork_mysql/wms',
  2214. //url: 'http://localhost:8888/geoserver/new_shp/wms',
  2215. params: {
  2216. LAYERS: difang[i],
  2217. //'LAYERS': 'new_shp:new_shp_all',
  2218. TILED: true,
  2219. cql_filter: cql_filter,
  2220. SRID: 3857,
  2221. },
  2222. }),
  2223. });
  2224. //}
  2225. //定位查询位置
  2226. let param_dw = {
  2227. srsName: "EPSG:3857",
  2228. service: "WFS",
  2229. version: "1.0.0",
  2230. request: "GetFeature",
  2231. typename: difang[i],
  2232. //featureNS: 'nsgk_hc',//命名空间 URI
  2233. cql_filter: cql_filter,
  2234. //featurePrefix: 'nationalwater',//工作区名称
  2235. //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开
  2236. outputFormat: "application/json",
  2237. //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值
  2238. };
  2239. let url_dw = "http://116.255.135.38:8080/geoserver/nsgk_hc/wfs"; //wfsurl;
  2240. url_dw = url_dw + "?";
  2241. for (let key in param_dw) {
  2242. url_dw = url_dw + key + "=" + param_dw[key] + "&";
  2243. }
  2244. url_dw = url_dw.substr(0, url_dw.length - 1);
  2245. console.log(url_dw);
  2246. fetch(url_dw, {
  2247. method: "POST", // *GET, POST, PUT, DELETE, etc.
  2248. })
  2249. .then((res) => {
  2250. var geojsonmap = res.json();
  2251. return geojsonmap;
  2252. })
  2253. .then((data) => {
  2254. //var datamap = data.bbox;
  2255. // var datamap = data.features[0].bbox;
  2256. // map.getView().animate({
  2257. // // 只设置需要的属性即可
  2258. // center: datamap, // 中心点
  2259. // zoom: 15, // 缩放级别
  2260. // rotation: undefined, // 缩放完成view视图旋转弧度
  2261. // duration: 1000, // 缩放持续时间,默认不需要设置
  2262. // });
  2263. })
  2264. .catch((error) => {
  2265. console.log("【异常】", error);
  2266. });
  2267. map.addLayer(nongZt[i]);
  2268. }
  2269. });
  2270. //村定位查询-------------------------------------end
  2271. //按照查询条件人名 定位地图-----------------start
  2272. $("#query").on("click", function () {
  2273. /**
  2274. * @api wfs服务空间查询
  2275. * @param {*} wfsurl
  2276. * @param {*} srsName
  2277. * @param {*} typeName
  2278. * @param {*} drawType
  2279. * @param {option 可选} geometryField
  2280. */
  2281. var val = _this.seachText;
  2282. if (val == "") {
  2283. alert("请填写查询条件在查询");
  2284. } else {
  2285. //分类查询查询农地、农房
  2286. var difang;
  2287. //var di = document.getElementById('di');
  2288. //删除矢量图层json
  2289. map.removeLayer(shitu);
  2290. //删除之前图层 --------------------start
  2291. //属性查询删除
  2292. map.removeLayer(nongZt[0]);
  2293. map.removeLayer(nongZt[1]);
  2294. map.removeLayer(delete_map[0]);
  2295. map.removeLayer(delete_map[1]);
  2296. map.removeLayer(texiao_layer_fang);
  2297. map.removeLayer(texiao_layer_di);
  2298. //删除之前图层 -------------------end
  2299. //查询条件
  2300. var cql_filter;
  2301. var cun = _this.villageDataObj.deptName;
  2302. difang = ["nsgk_hc:t_geo_hc_house", "nsgk_hc:t_geo_hc_land"];
  2303. var tach =0;
  2304. var once =0;
  2305. for (var i = 0; i < difang.length; i++) {
  2306. map.removeLayer(delete_map[i]);
  2307. // 数字验证!
  2308. var reg=/\d/;
  2309. //验证汉子
  2310. //var han = /^[\u4e00-\u9fa5]+$/;
  2311. if(reg.test(val)){
  2312. //循环判断查询条件
  2313. cql_filter = "XH='" + val + "'" + "and CM='" + cun + "'";
  2314. }else{
  2315. //循环判断查询条件
  2316. if (cun != "all" && cun != "") {
  2317. if (difang[i] == "nsgk_hc:t_geo_hc_house") {
  2318. cql_filter = "FWSYRMC='" + val + "'" + "and CM='" + cun + "'";
  2319. } else {
  2320. cql_filter = "SYRMC='" + val + "'" + "and CM='" + cun + "'";
  2321. }
  2322. } else {
  2323. if (difang[i] == "nsgk_hc:t_geo_hc_house") {
  2324. cql_filter = "FWSYRMC='" + val + "'";
  2325. } else {
  2326. cql_filter = "SYRMC='" + val + "'";
  2327. }
  2328. }
  2329. }
  2330. //for(var i=0; i< difang.length; i++){
  2331. //cql_filter = "CM='"+cun +"'"+ "and XZQK='待流转待盘活'";
  2332. //图层加载
  2333. //业务图层 wms服务
  2334. delete_map[i] = new ol.layer.Tile({
  2335. source: new ol.source.TileWMS({
  2336. //url: 'http://192.168.31.150:8888/geoserver/mywork_mysql/wms',
  2337. url: "http://116.255.135.38:8080/geoserver/nsgk_hc/wms",
  2338. //url: 'http://localhost:8888/geoserver/mywork_mysql/wms',
  2339. //url: 'http://localhost:8888/geoserver/new_shp/wms',
  2340. params: {
  2341. LAYERS: difang[i],
  2342. //'LAYERS': 'new_shp:new_shp_all',
  2343. TILED: true,
  2344. cql_filter: cql_filter,
  2345. SRID: 3857,
  2346. },
  2347. }),
  2348. });
  2349. //}
  2350. //定位查询位置
  2351. let param_dw = {
  2352. srsName: "EPSG:3857",
  2353. service: "WFS",
  2354. version: "1.0.0",
  2355. request: "GetFeature",
  2356. typename: difang[i],
  2357. //featureNS: 'nsgk_hc',//命名空间 URI
  2358. cql_filter: cql_filter,
  2359. //featurePrefix: 'nationalwater',//工作区名称
  2360. //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开
  2361. outputFormat: "application/json",
  2362. //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值
  2363. };
  2364. let url_dw = "http://116.255.135.38:8080/geoserver/nsgk_hc/wfs"; //wfsurl;
  2365. url_dw = url_dw + "?";
  2366. for (let key in param_dw) {
  2367. url_dw = url_dw + key + "=" + param_dw[key] + "&";
  2368. }
  2369. url_dw = url_dw.substr(0, url_dw.length - 1);
  2370. fetch(url_dw, {
  2371. method: "POST", // *GET, POST, PUT, DELETE, etc.
  2372. })
  2373. .then((res) => {
  2374. var geojsonmap = res.json();
  2375. return geojsonmap;
  2376. })
  2377. .then((data) => {
  2378. tach =tach+1;
  2379. if(data.features !=null && data.features !=""){
  2380. //var datamap = data.bbox;
  2381. var datamap = data.features[0].bbox;
  2382. map.getView().animate({
  2383. // 只设置需要的属性即可
  2384. center: datamap, // 中心点
  2385. zoom: 17, // 缩放级别
  2386. rotation: undefined, // 缩放完成view视图旋转弧度
  2387. duration: 1000, // 缩放持续时间,默认不需要设置
  2388. });
  2389. } else if(tach ==1){
  2390. once = once+1;
  2391. }else{
  2392. if((tach ==2 && once ==1)){
  2393. alert("没有找到相关人员农房农地信息");
  2394. }
  2395. }
  2396. })
  2397. .catch((error) => {
  2398. console.log("【异常】", error);
  2399. });
  2400. map.addLayer(delete_map[i]);
  2401. }
  2402. }
  2403. });
  2404. //按照查询 定位地图-----------------end
  2405. //开始绘制地图 ------------------- start
  2406. var vector_drawing;
  2407. var draw;
  2408. //开始绘制地图
  2409. $("#drawPolygon").click(function () {
  2410. //map.removeLayer(zjd_land);
  2411. map.removeLayer(vector_drawing);
  2412. //var source = new ol.source.Vector({wrapX: false});
  2413. vector_drawing = new ol.layer.Vector({
  2414. source: new ol.source.Vector(),
  2415. });
  2416. map.addLayer(vector_drawing);
  2417. function addInteraction() {
  2418. draw = new ol.interaction.Draw({
  2419. source: vector_drawing.getSource(),
  2420. type: "Polygon",
  2421. });
  2422. draw.on("drawend", function (evt) {
  2423. var feature = evt.feature;
  2424. var geometry = feature.getGeometry();
  2425. var coordinate = geometry.getCoordinates();
  2426. console.log("打印" + coordinate);
  2427. _this.coordinateList = coordinate.toString();
  2428. console.log(_this.coordinateList);
  2429. $("#drawRemove").trigger("click");
  2430. _this.$set(_this.draw, "drawMapPolygon", false);
  2431. //that.drawInsert = coordinate;
  2432. });
  2433. map.addInteraction(draw);
  2434. }
  2435. addInteraction();
  2436. });
  2437. //清除画图鼠标点击事件
  2438. $("#drawRemove").click(function () {
  2439. map.removeInteraction(draw);
  2440. });
  2441. //还原之前图层
  2442. $("#drawReset").click(function () {
  2443. map.removeLayer(vector_drawing);
  2444. //map.addLayer(zjd_land);
  2445. });
  2446. //开始绘制地图 ------------------- end
  2447. //特效实现
  2448. $("#texiao_fang").on("click", function () {
  2449. /**
  2450. * @api wfs服务空间查询
  2451. * @param {*} wfsurl
  2452. * @param {*} srsName
  2453. * @param {*} typeName
  2454. * @param {*} drawType
  2455. * @param {option 可选} geometryField
  2456. */
  2457. //alert("进入分类");
  2458. //删除之前加载的图层
  2459. map.removeLayer(texiao_layer_fang);
  2460. var cun = _this.villageDataObj.deptName;
  2461. //删除之前加载的图层
  2462. //map.removeLayer(dishitu);
  2463. //map.removeLayer(cunshitu);
  2464. //分类查询查询农地、农房
  2465. var difang;
  2466. //地的数据判断
  2467. difang = "nsgk_hc:t_geo_hc_house";
  2468. //查询条件
  2469. var cql_filter;
  2470. //村的数据判断
  2471. var val = $("#texiao_fang").val();
  2472. if (val == "") {
  2473. alert("请填写查询条件在查询");
  2474. }
  2475. //for(var i=0; i< difang.length; i++){
  2476. //cql_filter = "CM='"+cun +"'"+ "and FWSYRMC='"+query_mz.value;
  2477. cql_filter = "FWSYRMC='" + val + "' and CM='" + cun + "'";
  2478. //图层加载
  2479. //地的数据判断
  2480. //定位查询位置
  2481. let param_dw = {
  2482. srsName: "EPSG:3857",
  2483. service: "WFS",
  2484. version: "1.0.0",
  2485. request: "GetFeature",
  2486. typename: difang,
  2487. //featureNS: 'nsgk_hc',//命名空间 URI
  2488. cql_filter: cql_filter,
  2489. //featurePrefix: 'nationalwater',//工作区名称
  2490. //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开
  2491. outputFormat: "application/json",
  2492. //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值
  2493. };
  2494. let url_dw = "http://116.255.135.38:8080/geoserver/nsgk_hc/wfs"; //wfsurl;
  2495. url_dw = url_dw + "?";
  2496. for (let key in param_dw) {
  2497. url_dw = url_dw + key + "=" + param_dw[key] + "&";
  2498. }
  2499. url_dw = url_dw.substr(0, url_dw.length - 1);
  2500. fetch(url_dw, {
  2501. method: "POST", // *GET, POST, PUT, DELETE, etc.
  2502. })
  2503. .then((res) => {
  2504. var geojsonmap = res.json();
  2505. return geojsonmap;
  2506. })
  2507. .then((data) => {
  2508. //关联查询农房信息---------------start
  2509. // document.getElementById("info").innerHTML = "";
  2510. // var select_fang = (document.getElementById("info").innerHTML =
  2511. // data.features[0].properties);
  2512. // _this.hasTable = true;
  2513. // _this.hasDateStatus = 1;
  2514. // let obj = {};
  2515. // //let trs = $("#info .featureInfo").find("tr:eq(1)");
  2516. // obj.FWSYRMC = select_fang.FWSYRMC; //房屋所有人名称
  2517. // obj.CM = select_fang.CM; //村名
  2518. // obj.CDM = select_fang.CDM; //村代码
  2519. // obj.DZ = select_fang.DZ; //地址
  2520. // obj.SFYSPSX = select_fang.SFYSPSX; //是否有审批手续
  2521. // obj.FWSYQH = select_fang.FWSYQH; //房屋所有权证号
  2522. // obj.JZMJ = select_fang.JZMJ; //建筑面积
  2523. // obj.TDZH = select_fang.TDZH; //土地证号
  2524. // obj.TDXZ = select_fang.TDXZ; //土地性质
  2525. // obj.TDMJ = select_fang.TDMJ; //土地面积
  2526. // obj.XZQK = select_fang.XZQK; //现状情况
  2527. // obj.ZLRXM = select_fang.ZLRXM; //租赁人姓名
  2528. // obj.ZLHTJZRQ = select_fang.ZLHTJZRQ; //租赁合同截止时间
  2529. // obj.ZLSYNX = select_fang.ZLSYNX; //租赁剩余年现
  2530. // obj.XZFWSFYLZY = select_fang.XZFWSFYLZY; //是否流转意向
  2531. // obj.XH = select_fang.XH; //农房编号
  2532. // _this.hasData = obj;
  2533. //关联查询农房信息---------------end
  2534. //定位结束 --------------start
  2535. //var datamap = data.bbox;
  2536. var datamap = data.features[0].bbox;
  2537. map.getView().animate({
  2538. // 只设置需要的属性即可
  2539. center: datamap, // 中心点
  2540. zoom: 18, // 缩放级别
  2541. rotation: undefined, // 缩放完成view视图旋转弧度
  2542. duration: 1000, // 缩放持续时间,默认不需要设置
  2543. });
  2544. //定位结束 --------------end
  2545. //特效动画实现 -----------------------------start
  2546. texiao_layer_fang = new ol.layer.Vector({
  2547. source: new ol.source.Vector(),
  2548. });
  2549. map.addLayer(texiao_layer_fang);
  2550. var center = ol.extent.getCenter(datamap); //获取边界区域的中心位置
  2551. var circle = new ol.Feature({
  2552. geometry: new ol.geom.Point(center), //ol.proj.transform([104, 30], 'EPSG:4326', 'EPSG:3857') //投影坐标转为地理坐标
  2553. });
  2554. //var out =new ol.coordinate.Coordinate(datamap);
  2555. //var extent = ol.extent.boundingExtent(feature.getGeometry().getCoordinates()[datamap]); //获取一个坐标数组的边界,格式为[minx,miny,maxx,maxy]
  2556. //var center = ol.extent.getCenter(extent); //获取边界区域的中心位置
  2557. //map.getView().setCenter(center); //设置当前地图的显示中心位置
  2558. circle.setStyle(
  2559. new ol.style.Style({
  2560. image: new ol.style.Circle({
  2561. radius: 0,
  2562. stroke: new ol.style.Stroke({
  2563. color: "yellow",
  2564. size: 1,
  2565. }),
  2566. }),
  2567. })
  2568. );
  2569. texiao_layer_fang.getSource().addFeature(circle);
  2570. // 关键的地方在此:监听postcompose事件,在里面重新设置circle的样式
  2571. var radius = 0;
  2572. map.on("postcompose", function () {
  2573. // 增大半径,最大20
  2574. radius++;
  2575. radius = radius % 10;
  2576. // 设置样式
  2577. circle.setStyle(
  2578. new ol.style.Style({
  2579. image: new ol.style.Circle({
  2580. radius: radius,
  2581. stroke: new ol.style.Stroke({
  2582. color: "yellow",
  2583. size: 1,
  2584. }),
  2585. }),
  2586. })
  2587. );
  2588. });
  2589. //特效动画实现 -----------------------------end
  2590. })
  2591. .catch((error) => {
  2592. console.log("【异常】", error);
  2593. });
  2594. });
  2595. //-----------------------------------------------------------------------------特效农房加载结束 end
  2596. //-----------------------------------------------------------------------------特效农地加载开始 start
  2597. //特效实现
  2598. $("#texiao_di").on("click", function () {
  2599. /**
  2600. * @api wfs服务空间查询
  2601. * @param {*} wfsurl
  2602. * @param {*} srsName
  2603. * @param {*} typeName
  2604. * @param {*} drawType
  2605. * @param {option 可选} geometryField
  2606. */
  2607. //alert("进入分类");
  2608. //删除之前加载的图层
  2609. map.removeLayer(texiao_layer_di);
  2610. var cun = _this.villageDataObj.deptName;
  2611. //删除之前加载的图层
  2612. //map.removeLayer(dishitu);
  2613. //map.removeLayer(cunshitu);
  2614. //分类查询查询农地、农房
  2615. var difang;
  2616. //地的数据判断
  2617. difang = "nsgk_hc:t_geo_hc_land";
  2618. //查询条件
  2619. var cql_filter;
  2620. //村的数据判断
  2621. var val = $("#texiao_di").val();
  2622. if (val == "") {
  2623. alert("请填写查询条件在查询");
  2624. }
  2625. //for(var i=0; i< difang.length; i++){
  2626. //cql_filter = "CM='"+cun +"'"+ "and FWSYRMC='"+query_mz.value;
  2627. cql_filter = "SYRMC='" + val + "' and CM='" + cun + "'";
  2628. //图层加载
  2629. //定位查询位置
  2630. let param_dw = {
  2631. srsName: "EPSG:3857",
  2632. service: "WFS",
  2633. version: "1.0.0",
  2634. request: "GetFeature",
  2635. typename: difang,
  2636. INFO_FORMAT: "text/html",
  2637. //featureNS: 'nsgk_hc',//命名空间 URI
  2638. cql_filter: cql_filter,
  2639. //featurePrefix: 'nationalwater',//工作区名称
  2640. //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开
  2641. outputFormat: "application/json",
  2642. //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值
  2643. };
  2644. let url_dw = "http://116.255.135.38:8080/geoserver/nsgk_hc/wfs"; //wfsurl;
  2645. url_dw = url_dw + "?";
  2646. for (let key in param_dw) {
  2647. url_dw = url_dw + key + "=" + param_dw[key] + "&";
  2648. }
  2649. url_dw = url_dw.substr(0, url_dw.length - 1);
  2650. fetch(url_dw, {
  2651. method: "POST", // *GET, POST, PUT, DELETE, etc.
  2652. })
  2653. .then((res) => {
  2654. var geojsonmap = res.json();
  2655. return geojsonmap;
  2656. })
  2657. .then((data) => {
  2658. //关联查询农地信息 ----------start
  2659. // document.getElementById("info").innerHTML = "";
  2660. // var select_di = (document.getElementById("info").innerHTML =
  2661. // data.features[0].properties);
  2662. // _this.hasTable = true;
  2663. // _this.hasDateStatus = 0;
  2664. // let obj = {};
  2665. // //let trs = $("#info").find("tr:eq(1)");
  2666. // obj.XH = select_di.XH; //序号
  2667. // obj.CM = select_di.CM; //村名
  2668. // obj.CBRMC = select_di.CBRMC; //承包人名称
  2669. // obj.SYRMC = select_di.SYRMC; //使用人名称
  2670. // obj.NYDLX = select_di.NYDLX; //农用地类型
  2671. // obj.MJ = select_di.MJ; //面积
  2672. // obj.XZQK = select_di.XZQK; //现状情况
  2673. // obj.LZHTJZRQ = select_di.LZHTJZRQ; //流转合同截止时间
  2674. // obj.LZSYNX = select_di.LZSYNX; //流转剩余年限
  2675. // obj.SFYLZYX = select_di.SFYLZYX; //是否流转意向
  2676. // obj.CDM = select_di.CDM; //村代码
  2677. // obj.org_code = select_di.org_code; //行政区化代码
  2678. // _this.hasData = obj;
  2679. //关联查询农地信息 ----------end
  2680. //获取坐标定位开始----------start
  2681. //var datamap = data.bbox;
  2682. var datamap = data.features[0].bbox;
  2683. map.getView().animate({
  2684. // 只设置需要的属性即可
  2685. center: datamap, // 中心点
  2686. zoom: 16, // 缩放级别
  2687. rotation: undefined, // 缩放完成view视图旋转弧度
  2688. duration: 1000, // 缩放持续时间,默认不需要设置
  2689. });
  2690. //获取坐标定位开始----------end
  2691. //特效动画实现 -----------------------------start
  2692. texiao_layer_di = new ol.layer.Vector({
  2693. source: new ol.source.Vector(),
  2694. });
  2695. map.addLayer(texiao_layer_di);
  2696. var center = ol.extent.getCenter(datamap); //获取边界区域的中心位置
  2697. var circle = new ol.Feature({
  2698. geometry: new ol.geom.Point(center), //ol.proj.transform([104, 30], 'EPSG:4326', 'EPSG:3857') //投影坐标转为地理坐标
  2699. });
  2700. //var out =new ol.coordinate.Coordinate(datamap);
  2701. //var extent = ol.extent.boundingExtent(feature.getGeometry().getCoordinates()[datamap]); //获取一个坐标数组的边界,格式为[minx,miny,maxx,maxy]
  2702. //var center = ol.extent.getCenter(extent); //获取边界区域的中心位置
  2703. //map.getView().setCenter(center); //设置当前地图的显示中心位置
  2704. circle.setStyle(
  2705. new ol.style.Style({
  2706. image: new ol.style.Circle({
  2707. radius: 0,
  2708. stroke: new ol.style.Stroke({
  2709. color: "#ef5b9c",
  2710. size: 1,
  2711. }),
  2712. }),
  2713. })
  2714. );
  2715. texiao_layer_di.getSource().addFeature(circle);
  2716. // 关键的地方在此:监听postcompose事件,在里面重新设置circle的样式
  2717. var radius = 0;
  2718. map.on("postcompose", function () {
  2719. // 增大半径,最大20
  2720. radius++;
  2721. radius = radius % 10;
  2722. // 设置样式
  2723. circle.setStyle(
  2724. new ol.style.Style({
  2725. image: new ol.style.Circle({
  2726. radius: radius,
  2727. stroke: new ol.style.Stroke({
  2728. color: "#ef5b9c",
  2729. size: 1,
  2730. }),
  2731. }),
  2732. })
  2733. );
  2734. });
  2735. //特效动画实现 -----------------------------end
  2736. })
  2737. .catch((error) => {
  2738. console.log("【异常】", error);
  2739. });
  2740. });
  2741. //-----------------------------------------------------------------------------特效农地加载结束 end
  2742. },
  2743. //农房 - 土地性质 选择值
  2744. tdxzOptionsFun(value) {
  2745. this.houseInfoList.tdxz = value.dictLabel;
  2746. this.tdxzOptionsVibile = false;
  2747. console.log(value);
  2748. console.log(this.houseInfoList);
  2749. },
  2750. //农房 - 是否有审批 选择值
  2751. xfCirculationFun(value) {
  2752. this.xfCirculationVisbile = false;
  2753. this.houseInfoList.sfyspsx = value;
  2754. },
  2755. //农房 - 现状情况 选择值
  2756. xzqkOptionsFun(value) {
  2757. this.houseInfoList.xzqk = value.dictValue;
  2758. this.xzqkOptionsVisbile = false;
  2759. },
  2760. //农房 - 是否有流转 选择值
  2761. xflzCirculationFun(value) {
  2762. this.xflzCirculationVisbile = false;
  2763. this.houseInfoList.xzfwsfylzy = value;
  2764. },
  2765. //农房 - 房屋类型
  2766. fwdlxOptionsFun(value) {
  2767. this.houseInfoList.tdfl = value;
  2768. this.fwdlxOptionsVibile = false;
  2769. },
  2770. //农地 - 现状情况 选择值
  2771. ndxzqkOptionsFun(value) {
  2772. this.landInfoList.xzqk = value.dictValue;
  2773. this.ndxzqkOptionsVisbile = false;
  2774. },
  2775. //农地 - 农用地类型 选择值
  2776. nydlxOptionsFun(value) {
  2777. this.landInfoList.nydlx = value.dictLabel;
  2778. // this.nydlxOptionsValue = value.dictLabel;
  2779. this.nydlxOptionsVibile = false;
  2780. },
  2781. //农地 - 是否有流转 选择值
  2782. xdCirculationOptionsFun(value) {
  2783. this.xdlzCirculationVisbile = false;
  2784. this.landInfoList.sfylzyx = value;
  2785. },
  2786. //农房 -- 新建 上传图片方法
  2787. nfAddimgonRead(file) {
  2788. var formData = new FormData(); //构造一个 FormData,把后台需要发送的参数添加
  2789. formData.append("file", file.file); //接口需要传的参数
  2790. commonUpload(formData).then((res) => {
  2791. this.houseInfoList.frontHouse = res.url;
  2792. });
  2793. },
  2794. //农地 -- 新建 上传图片方法
  2795. ndAddimgonRead(file) {
  2796. var formData = new FormData(); //构造一个 FormData,把后台需要发送的参数添加
  2797. formData.append("file", file.file); //接口需要传的参数
  2798. commonUpload(formData).then((res) => {
  2799. this.landInfoList.frontland = res.url;
  2800. });
  2801. },
  2802. },
  2803. };
  2804. </script>
  2805. <style scoped lang="scss">
  2806. .app-container {
  2807. width: 100vw;
  2808. height: 100vh;
  2809. position: relative;
  2810. .rightIcon_wrap {
  2811. position: absolute;
  2812. right: 16px;
  2813. bottom: 160px;
  2814. .selectionIcon_wrap {
  2815. width: 74px;
  2816. background: #fff;
  2817. border-radius: 10px;
  2818. padding: 14px 0;
  2819. .icon {
  2820. width: 38px;
  2821. height: 38px;
  2822. background: url("../../assets/images/homestead/selection_icon.png")
  2823. no-repeat;
  2824. background-size: 100% 100%;
  2825. margin: 0 auto 4px;
  2826. }
  2827. .text {
  2828. font-size: 24px;
  2829. text-align: center;
  2830. }
  2831. }
  2832. .positioning_wrap {
  2833. width: 74px;
  2834. background: #fff;
  2835. margin-bottom: 16px;
  2836. border-radius: 10px;
  2837. height: 74px;
  2838. display: flex;
  2839. justify-content: center; /* 相对父元素水平居中 */
  2840. align-items: center; /* 子元素相对父元素垂直居中*/
  2841. .icon {
  2842. width: 38px;
  2843. height: 38px;
  2844. background: url("../../assets/images/homestead/positioning_icon.png")
  2845. no-repeat;
  2846. background-size: 100% 100%;
  2847. margin: 0 auto;
  2848. }
  2849. }
  2850. }
  2851. .rightZoom_wrap {
  2852. position: absolute;
  2853. right: 16px;
  2854. top: 50%;
  2855. width: 74px;
  2856. margin-top: -200px;
  2857. background: #fff;
  2858. margin-bottom: 16px;
  2859. border-radius: 10px;
  2860. height: 100px;
  2861. .amplification,
  2862. .narrow {
  2863. height: 50px;
  2864. width: 74px;
  2865. }
  2866. .amplification {
  2867. background: url("../../assets/images/homestead/jia.png") center center
  2868. no-repeat;
  2869. // background-size: 40% auto;
  2870. }
  2871. .narrow {
  2872. background: url("../../assets/images/homestead/jian.png") center center
  2873. no-repeat;
  2874. // background-size: 40% auto;
  2875. }
  2876. }
  2877. // <div class="rightZoom_wrap">
  2878. // <div class="amplification"></div>
  2879. // <div class="narrow"></div>
  2880. // </div>
  2881. .homesteadList_wrap {
  2882. // display: none;
  2883. display: flex;
  2884. position: absolute;
  2885. right: -536px;
  2886. top: 20px;
  2887. bottom: 160px;
  2888. width: 536px;
  2889. background: #fff;
  2890. z-index: 999;
  2891. border-top-left-radius: 15px;
  2892. border-bottom-left-radius: 15px;
  2893. flex-direction: column;
  2894. .noInfo_data {
  2895. font-size: 28px;
  2896. text-align: center;
  2897. height: 300px;
  2898. line-height: 300px;
  2899. color: #666;
  2900. }
  2901. .title_m {
  2902. color: #333;
  2903. line-height: 36px;
  2904. padding: 20px 40px 22px;
  2905. .name {
  2906. font-size: 40px;
  2907. line-height: 42px;
  2908. height: 42px;
  2909. }
  2910. .more_icon {
  2911. width: 38px;
  2912. height: 38px;
  2913. background: url("../../assets/images/homestead/selectionNext_icon.png")
  2914. no-repeat;
  2915. float: right;
  2916. margin-top: 2px;
  2917. }
  2918. }
  2919. .main_m {
  2920. overflow-y: auto;
  2921. padding: 10px 0;
  2922. // height: 300px;
  2923. flex: 1;
  2924. .flex_block {
  2925. height: 70px;
  2926. display: flex;
  2927. // justify-content: center; /* 相对父元素水平居中 */
  2928. align-items: center; /* 子元素相对父元素垂直居中 */
  2929. padding: 0 40px;
  2930. &.active {
  2931. box-shadow: 0px 0px 10px rgba(24, 45, 51, 0.5);
  2932. }
  2933. .name_text {
  2934. font-size: 28px;
  2935. flex: 1;
  2936. overflow: hidden; /*超出部分隐藏*/
  2937. white-space: nowrap; /*不换行*/
  2938. text-overflow: ellipsis; /*超出部分文字以...显示*/
  2939. }
  2940. .square_text {
  2941. font-size: 28px;
  2942. flex: 0.8;
  2943. }
  2944. .operation_mian {
  2945. flex: 0 0 150px;
  2946. .describe {
  2947. font-size: 20px;
  2948. padding: 6px 12px;
  2949. float: right;
  2950. color: #fff;
  2951. border-radius: 30px;
  2952. overflow: hidden;
  2953. text-overflow: ellipsis;
  2954. white-space: nowrap;
  2955. max-width: 150px;
  2956. &.yph {
  2957. background: rgb(175, 39, 255);
  2958. }
  2959. &.dlzdph {
  2960. background: rgb(255, 111, 54);
  2961. }
  2962. &.ylz {
  2963. background: #3cbf5b;
  2964. }
  2965. &.dlz {
  2966. background: rgb(255, 232, 76);
  2967. }
  2968. }
  2969. }
  2970. }
  2971. }
  2972. .footerBtn_wrap {
  2973. flex: 0 0 90px;
  2974. display: flex;
  2975. justify-content: center; /* 相对父元素水平居中 */
  2976. align-items: center; /* 子元素相对父元素垂直居中 */
  2977. .options {
  2978. flex: 1;
  2979. font-size: 38px;
  2980. display: flex;
  2981. justify-content: center; /* 相对父元素水平居中 */
  2982. align-items: center; /* 子元素相对父元素垂直居中 */
  2983. height: 90px;
  2984. &:first-child {
  2985. border-bottom-left-radius: 15px;
  2986. }
  2987. &.active {
  2988. background: #3cbf5b;
  2989. color: #fff;
  2990. }
  2991. }
  2992. }
  2993. }
  2994. .map_area {
  2995. width: 100vw;
  2996. height: 100vh;
  2997. background: #ddd;
  2998. position: absolute;
  2999. left: 0;
  3000. top: 0;
  3001. }
  3002. .address_wrap {
  3003. position: fixed;
  3004. // z-index: 9;
  3005. top: 24px;
  3006. left: 16px;
  3007. display: flex;
  3008. .address_item {
  3009. display: flex;
  3010. flex-direction: column;
  3011. margin-right: 8px;
  3012. justify-content: center; /* 相对父元素水平居中 */
  3013. align-items: center; /* 子元素相对父元素垂直居中 */
  3014. position: relative;
  3015. .portrait {
  3016. width: 86px;
  3017. height: 86px;
  3018. background: #000;
  3019. border-radius: 50%;
  3020. margin-bottom: 18px;
  3021. font-size: 30px;
  3022. color: #fff;
  3023. text-align: center;
  3024. line-height: 65px;
  3025. color: #fff;
  3026. &.zhen,
  3027. &.cun {
  3028. border: 5px solid rgba(255, 255, 255, 0.6);
  3029. }
  3030. &.zhen {
  3031. background: url("../../assets/images/homestead/zhen.jpg") top center
  3032. no-repeat;
  3033. background-size: 100% 100%;
  3034. }
  3035. &.cun {
  3036. background: url("../../assets/images/homestead/cun.jpg") top center
  3037. no-repeat;
  3038. background-size: 100% 100%;
  3039. }
  3040. }
  3041. .name {
  3042. font-size: 22px;
  3043. background: #fff;
  3044. padding: 4px 6px;
  3045. border-radius: 8px;
  3046. }
  3047. &.more {
  3048. .portrait {
  3049. width: 40px;
  3050. background: none;
  3051. }
  3052. .name {
  3053. background: url("../../assets/images/homestead/address_more.png")
  3054. no-repeat;
  3055. background-size: 100% 100%;
  3056. width: 40px;
  3057. height: 40px;
  3058. padding: 0;
  3059. &.shrink {
  3060. transform: rotate(180deg);
  3061. }
  3062. }
  3063. }
  3064. .address_suspension {
  3065. position: absolute;
  3066. left: calc(100% + 8px);
  3067. top: 100px;
  3068. z-index: 10;
  3069. padding: 10px 8px 10px 15px;
  3070. background: #fff;
  3071. border-radius: 10px;
  3072. width: auto;
  3073. .address_suspension_scroll {
  3074. height: 200px;
  3075. overflow-y: auto;
  3076. padding-right: 8px;
  3077. }
  3078. .items {
  3079. white-space: nowrap;
  3080. }
  3081. }
  3082. }
  3083. }
  3084. .searchBar_wrap {
  3085. // display: none;
  3086. display: flex;
  3087. position: fixed;
  3088. bottom: 0%;
  3089. left: 0;
  3090. width: 100%;
  3091. padding: 28px 16px 28px 13px;
  3092. background: #fff;
  3093. border-top-left-radius: 15px;
  3094. border-top-right-radius: 15px;
  3095. .actionBar_wrap {
  3096. display: flex;
  3097. position: absolute;
  3098. top: 0;
  3099. left: 0;
  3100. width: 100%;
  3101. height: 100%;
  3102. background: #fff;
  3103. border-top-left-radius: 15px;
  3104. border-top-right-radius: 15px;
  3105. .m_list {
  3106. flex: 1;
  3107. display: flex;
  3108. justify-content: center; /* 相对父元素水平居中 */
  3109. align-items: center; /* 子元素相对父元素垂直居中 */
  3110. .tensile,
  3111. .positioning,
  3112. .spacing,
  3113. .scale {
  3114. width: 76px;
  3115. height: 72px;
  3116. background: #ffffff;
  3117. border-radius: 8px;
  3118. box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.16);
  3119. .icon {
  3120. width: 76px;
  3121. height: 72px;
  3122. }
  3123. &.active {
  3124. background: #333;
  3125. &.tensile {
  3126. .icon {
  3127. background: url("../../assets/images/homestead/operation/tensile_active.png")
  3128. center center no-repeat;
  3129. background-size: 38px 50px;
  3130. }
  3131. }
  3132. &.positioning {
  3133. .icon {
  3134. background: url("../../assets/images/homestead/operation/positioning_active.png")
  3135. center center no-repeat;
  3136. background-size: 38px 48px;
  3137. }
  3138. }
  3139. &.spacing {
  3140. .icon {
  3141. background: url("../../assets/images/homestead/operation/spacing_active.png")
  3142. center center no-repeat;
  3143. background-size: 46px 46px;
  3144. }
  3145. }
  3146. &.scale {
  3147. .icon {
  3148. background: url("../../assets/images/homestead/operation/scale_active.png")
  3149. center center no-repeat;
  3150. background-size: 48px 48px;
  3151. }
  3152. }
  3153. }
  3154. }
  3155. .tensile {
  3156. .icon {
  3157. background: url("../../assets/images/homestead/operation/tensile.png")
  3158. center center no-repeat;
  3159. background-size: 38px 50px;
  3160. }
  3161. }
  3162. .positioning {
  3163. .icon {
  3164. background: url("../../assets/images/homestead/operation/positioning.png")
  3165. center center no-repeat;
  3166. background-size: 38px 48px;
  3167. }
  3168. }
  3169. .spacing {
  3170. .icon {
  3171. background: url("../../assets/images/homestead/operation/spacing.png")
  3172. center center no-repeat;
  3173. background-size: 46px 46px;
  3174. }
  3175. }
  3176. .scale {
  3177. .icon {
  3178. background: url("../../assets/images/homestead/operation/scale.png")
  3179. center center no-repeat;
  3180. background-size: 48px 48px;
  3181. }
  3182. }
  3183. .closes {
  3184. background: url("../../assets/images/homestead/searchBar_close.png")
  3185. no-repeat;
  3186. background-size: 100% 100%;
  3187. width: 72px;
  3188. height: 72px;
  3189. &.gray {
  3190. background: url("../../assets/images/homestead/searchBar_close_gray.png")
  3191. no-repeat;
  3192. background-size: 100% 100%;
  3193. }
  3194. }
  3195. .correct {
  3196. background: url("../../assets/images/homestead/searchBar_save.png")
  3197. no-repeat;
  3198. background-size: 100% 100%;
  3199. width: 72px;
  3200. height: 72px;
  3201. }
  3202. }
  3203. }
  3204. .searchBar_area {
  3205. flex: 1;
  3206. height: 80px;
  3207. background: #f1f1f1;
  3208. border: 1px solid #dfdfdf;
  3209. border-radius: 10px;
  3210. padding: 0 28px;
  3211. display: flex;
  3212. .bar_icon {
  3213. width: 50px;
  3214. height: 50px;
  3215. background: url("../../assets/images/homestead/searchBar_bar.png")
  3216. center center no-repeat;
  3217. background-size: 100% 100%;
  3218. margin-top: 14px;
  3219. margin-right: 15px;
  3220. }
  3221. .bar_ipt {
  3222. flex: 1;
  3223. input {
  3224. width: 100%;
  3225. height: 100%;
  3226. background: none;
  3227. border: 0 none;
  3228. font-size: 32px;
  3229. }
  3230. }
  3231. .bar_text {
  3232. flex: 0 0 80px;
  3233. font-size: 32px;
  3234. color: #333333;
  3235. font-family: PingFang SC, PingFang SC-Regular;
  3236. font-weight: 400;
  3237. display: flex;
  3238. justify-content: center; /* 相对父元素水平居中 */
  3239. align-items: center; /* 子元素相对父元素垂直居中 */
  3240. }
  3241. }
  3242. .searchBar_more {
  3243. flex: 0 0 80px;
  3244. background: url("../../assets/images/homestead/searchBar_add.png") center
  3245. center no-repeat;
  3246. background-size: 80% 80%;
  3247. margin-left: 15px;
  3248. }
  3249. }
  3250. .landHomestead_wrap {
  3251. position: fixed;
  3252. bottom: -100%;
  3253. left: 0;
  3254. width: 100%;
  3255. padding: 0 16px;
  3256. .landHomestead_search {
  3257. height: 80px;
  3258. background: #f1f1f1;
  3259. border: 1px solid #dfdfdf;
  3260. border-radius: 10px;
  3261. padding: 0 28px;
  3262. display: flex;
  3263. margin-bottom: 10px;
  3264. .bar_icon {
  3265. width: 50px;
  3266. height: 50px;
  3267. background: url("../../assets/images/homestead/searchBar_bar.png")
  3268. center center no-repeat;
  3269. background-size: 95% 95%;
  3270. margin-top: 14px;
  3271. margin-right: 15px;
  3272. }
  3273. .bar_ipt {
  3274. flex: 1;
  3275. input {
  3276. width: 100%;
  3277. height: 100%;
  3278. background: none;
  3279. border: 0 none;
  3280. font-size: 32px;
  3281. }
  3282. }
  3283. .bar_text {
  3284. flex: 0 0 80px;
  3285. font-size: 32px;
  3286. color: #333333;
  3287. font-family: PingFang SC, PingFang SC-Regular;
  3288. font-weight: 400;
  3289. display: flex;
  3290. justify-content: center; /* 相对父元素水平居中 */
  3291. align-items: center; /* 子元素相对父元素垂直居中 */
  3292. }
  3293. }
  3294. .landHomestead_body {
  3295. background: #fff;
  3296. padding: 30px 20px;
  3297. border-top-left-radius: 12px;
  3298. border-top-right-radius: 12px;
  3299. position: relative;
  3300. .body_flex {
  3301. display: block;
  3302. overflow: hidden;
  3303. .attribute {
  3304. width: 42%;
  3305. float: left;
  3306. .names {
  3307. height: 54px;
  3308. padding-left: 46px;
  3309. background: url("../../assets/images/homestead/landHomestead_home.png")
  3310. left center no-repeat;
  3311. background-size: 38px 36px;
  3312. font-size: 32px;
  3313. line-height: 54px;
  3314. color: #333333;
  3315. margin-bottom: 12px;
  3316. overflow: hidden;
  3317. text-overflow: ellipsis;
  3318. white-space: nowrap;
  3319. }
  3320. .address {
  3321. height: 48px;
  3322. line-height: 48px;
  3323. font-size: 28px;
  3324. white-space: nowrap;
  3325. text-overflow: ellipsis;
  3326. overflow: hidden;
  3327. word-break: break-all;
  3328. margin-right: 8px;
  3329. }
  3330. .nature {
  3331. height: 48px;
  3332. font-size: 28px;
  3333. }
  3334. }
  3335. .distance {
  3336. width: 29%;
  3337. float: left;
  3338. .size {
  3339. height: 54px;
  3340. line-height: 54px;
  3341. font-size: 40px;
  3342. color: #333333;
  3343. margin-bottom: 12px;
  3344. }
  3345. .probably {
  3346. line-height: 48px;
  3347. font-size: 28px;
  3348. height: 48px;
  3349. }
  3350. }
  3351. .others {
  3352. width: 29%;
  3353. float: left;
  3354. .information {
  3355. height: 54px;
  3356. margin-bottom: 12px;
  3357. .status_text {
  3358. color: #fff;
  3359. font-size: 24px;
  3360. background: #3cbf5b;
  3361. border-radius: 20px;
  3362. padding: 8px 15px;
  3363. float: right;
  3364. max-width: calc(100% - 56px);
  3365. overflow: hidden;
  3366. text-overflow: ellipsis;
  3367. white-space: nowrap;
  3368. }
  3369. .location {
  3370. width: 36px;
  3371. height: 36px;
  3372. background: url("../../assets/images/homestead/others_location.png")
  3373. no-repeat;
  3374. float: right;
  3375. margin: 8px 0 0 20px;
  3376. }
  3377. }
  3378. .editor {
  3379. height: 96px;
  3380. .editor_icon {
  3381. width: 72px;
  3382. height: 72px;
  3383. float: right;
  3384. background: url("../../assets/images/homestead/edit_icon.png")
  3385. no-repeat;
  3386. background-size: 100% 100%;
  3387. margin-top: 14px;
  3388. }
  3389. }
  3390. }
  3391. }
  3392. }
  3393. }
  3394. .landHomesteadDetails_wrap {
  3395. display: flex;
  3396. position: absolute;
  3397. left: 0;
  3398. bottom: 0;
  3399. width: 100%;
  3400. z-index: 99;
  3401. height: calc(100% - 190px);
  3402. .content_mian {
  3403. flex: 1;
  3404. margin: 0 16px;
  3405. padding: 28px 40px 28px 40px;
  3406. background: #fff;
  3407. border-top-left-radius: 15px;
  3408. border-top-right-radius: 15px;
  3409. display: flex;
  3410. flex-direction: column;
  3411. .serial_flex {
  3412. flex: 0 0 60px;
  3413. margin-bottom: 15px;
  3414. font-size: 40px;
  3415. justify-content: center; /* 相对父元素水平居中 */
  3416. align-items: center; /* 子元素相对父元素垂直居中 */
  3417. color: #333;
  3418. display: flex;
  3419. .number {
  3420. flex: 1;
  3421. span {
  3422. padding-left: 30px;
  3423. }
  3424. }
  3425. .localhref {
  3426. height: 36px;
  3427. flex: 0 0 36px;
  3428. background: url("../../assets/images/homestead/farmlandEditSwitch_close.png")
  3429. no-repeat;
  3430. background-size: 100% 100%;
  3431. }
  3432. }
  3433. .flex_block {
  3434. flex: 1;
  3435. font-size: 28px;
  3436. .describe {
  3437. color: #555;
  3438. padding-right: 30px;
  3439. }
  3440. .content {
  3441. font-size: #333;
  3442. }
  3443. }
  3444. .uploadPictures_block {
  3445. flex: 0 0 160px;
  3446. display: flex;
  3447. max-width: 90%;
  3448. .statusQuo {
  3449. flex: 1;
  3450. display: flex;
  3451. &:first-child {
  3452. margin-right: 36px;
  3453. }
  3454. .picture {
  3455. flex: 1;
  3456. background: url("../../assets/images/homestead/no_img.png") center
  3457. center no-repeat;
  3458. background-size: 90% auto;
  3459. img {
  3460. width: 100%;
  3461. height: 100%;
  3462. }
  3463. }
  3464. .describe {
  3465. flex: 0 0 32px;
  3466. display: flex;
  3467. justify-content: center; /* 相对父元素水平居中 */
  3468. align-items: center; /* 子元素相对父元素垂直居中 */
  3469. margin-left: 6px;
  3470. }
  3471. }
  3472. }
  3473. .editor_block {
  3474. flex: 0 0 72px;
  3475. margin-top: 20px;
  3476. display: flex;
  3477. justify-content: flex-end;
  3478. .editor_icon {
  3479. width: 70px;
  3480. height: 70px;
  3481. background: url("../../assets/images/homestead/edit_icon.png")
  3482. no-repeat;
  3483. background-size: 100% 100%;
  3484. }
  3485. }
  3486. }
  3487. }
  3488. .landHomesteadEdit_wrap {
  3489. display: flex;
  3490. position: absolute;
  3491. left: 0;
  3492. bottom: -100vh;
  3493. z-index: 100;
  3494. width: 100%;
  3495. height: calc(100% - 190px);
  3496. flex-direction: column;
  3497. .content_mian {
  3498. flex: 1;
  3499. margin: 0 16px;
  3500. padding: 28px 25px 28px 40px;
  3501. background: #fff;
  3502. border-top-left-radius: 15px;
  3503. border-top-right-radius: 15px;
  3504. display: flex;
  3505. flex-direction: column;
  3506. .info_title {
  3507. flex: 0 0 60px;
  3508. margin-bottom: 15px;
  3509. font-size: 40px;
  3510. justify-content: center; /* 相对父元素水平居中 */
  3511. align-items: center; /* 子元素相对父元素垂直居中 */
  3512. color: #333;
  3513. }
  3514. .flex_main {
  3515. height: 890px;
  3516. padding-right: 15px;
  3517. overflow-y: auto;
  3518. }
  3519. .flex_block {
  3520. height: 100px;
  3521. margin-bottom: 20px;
  3522. .number_s50 {
  3523. width: 50%;
  3524. display: flex;
  3525. float: left;
  3526. flex-direction: column;
  3527. }
  3528. .number_s100 {
  3529. width: 100%;
  3530. float: left;
  3531. display: flex;
  3532. flex-direction: column;
  3533. }
  3534. .number_s60 {
  3535. // flex: 0.6;
  3536. width: 60%;
  3537. float: left;
  3538. display: flex;
  3539. flex-direction: column;
  3540. }
  3541. .number_s40 {
  3542. // flex: 0.4;
  3543. width: 40%;
  3544. display: flex;
  3545. flex-direction: column;
  3546. }
  3547. .number_s35 {
  3548. width: 35%;
  3549. float: left;
  3550. display: flex;
  3551. flex-direction: column;
  3552. }
  3553. .number_s30 {
  3554. width: 30%;
  3555. display: flex;
  3556. float: left;
  3557. flex-direction: column;
  3558. }
  3559. .title_m {
  3560. font-size: 28px;
  3561. flex: 0 0 50px;
  3562. white-space: nowrap;
  3563. text-overflow: ellipsis;
  3564. overflow: hidden;
  3565. word-break: break-all;
  3566. align-items: center; /* 子元素相对父元素垂直居中 */
  3567. }
  3568. .input_m {
  3569. &.select {
  3570. position: relative;
  3571. .dropDown_icon {
  3572. width: 20px;
  3573. height: 16px;
  3574. background: url("../../assets/images/homestead/drop-down.png")
  3575. no-repeat;
  3576. background-size: 100% 100%;
  3577. display: block;
  3578. position: absolute;
  3579. right: 8px;
  3580. top: 12px;
  3581. z-index: 99;
  3582. }
  3583. }
  3584. &.about {
  3585. position: relative;
  3586. .about_symbol {
  3587. position: absolute;
  3588. left: 8px;
  3589. top: 5px;
  3590. z-index: 99;
  3591. }
  3592. /deep/ {
  3593. .van-field__control {
  3594. padding-left: 38px;
  3595. }
  3596. }
  3597. }
  3598. .van-cell {
  3599. padding: 0;
  3600. /deep/ {
  3601. .van-field__control {
  3602. border-bottom: 1px solid #707070;
  3603. &:focus {
  3604. border-color: #3cbf5b;
  3605. color: #3cbf5b;
  3606. }
  3607. }
  3608. }
  3609. }
  3610. }
  3611. .mr50 {
  3612. padding-right: 50px;
  3613. }
  3614. }
  3615. .uploadPicturesFlex_block {
  3616. .title_m {
  3617. font-size: 28px;
  3618. flex: 0 0 50px;
  3619. white-space: nowrap;
  3620. text-overflow: ellipsis;
  3621. overflow: hidden;
  3622. word-break: break-all;
  3623. align-items: center; /* 子元素相对父元素垂直居中 */
  3624. margin-bottom: 20px;
  3625. }
  3626. .main_m {
  3627. }
  3628. }
  3629. }
  3630. .footer_main {
  3631. flex: 0 0 120px;
  3632. background: #fff;
  3633. display: flex;
  3634. justify-content: center; /* 相对父元素水平居中 */
  3635. align-items: center; /* 子元素相对父元素垂直居中 */
  3636. .cancel,
  3637. .save {
  3638. width: 260px;
  3639. height: 75px;
  3640. border-radius: 75px;
  3641. background: #cccccc;
  3642. font-size: 32px;
  3643. color: #fff;
  3644. display: flex;
  3645. justify-content: center; /* 相对父元素水平居中 */
  3646. align-items: center; /* 子元素相对父元素垂直居中 */
  3647. }
  3648. .save {
  3649. background: #3cbf5b;
  3650. margin-left: 50px;
  3651. }
  3652. }
  3653. }
  3654. .farmlandEditSwitch_wrap {
  3655. width: 100vw;
  3656. height: 100vh;
  3657. background: url("../../assets/images/homestead/farmlandEditSwitch_bg.png")
  3658. no-repeat;
  3659. background-size: 100% 100%;
  3660. position: absolute;
  3661. left: 0;
  3662. top: 0;
  3663. z-index: 1001;
  3664. .mains {
  3665. width: 544px;
  3666. height: 480px;
  3667. background: #fff;
  3668. position: absolute;
  3669. left: 50%;
  3670. top: 50%;
  3671. margin: -272px 0 0 -272px;
  3672. z-index: 1002;
  3673. border-radius: 30px;
  3674. padding: 0 30px;
  3675. display: flex;
  3676. justify-content: center; /* 相对父元素水平居中 */
  3677. align-items: center; /* 子元素相对父元素垂直居中 */
  3678. .close_btn {
  3679. position: absolute;
  3680. width: 28px;
  3681. height: 28px;
  3682. background: url("../../assets/images/homestead/farmlandEditSwitch_close.png")
  3683. no-repeat;
  3684. background-size: 100% 100%;
  3685. right: 40px;
  3686. top: 40px;
  3687. }
  3688. .farmhouse {
  3689. flex: 1;
  3690. display: flex;
  3691. justify-content: center; /* 相对父元素水平居中 */
  3692. align-items: center; /* 子元素相对父元素垂直居中 */
  3693. }
  3694. .farmland {
  3695. flex: 1;
  3696. display: flex;
  3697. justify-content: center; /* 相对父元素水平居中 */
  3698. align-items: center; /* 子元素相对父元素垂直居中 */
  3699. }
  3700. .farmhouse,
  3701. .farmland {
  3702. flex-direction: column;
  3703. .icons {
  3704. width: 146px;
  3705. height: 146px;
  3706. margin-bottom: 14px;
  3707. }
  3708. .names {
  3709. font-size: 40px;
  3710. color: #3cbf5b;
  3711. }
  3712. }
  3713. .farmhouse {
  3714. .icons {
  3715. background: url("../../assets/images/homestead/nf.png") no-repeat;
  3716. background-size: 100% 100%;
  3717. }
  3718. }
  3719. .farmland {
  3720. .icons {
  3721. background: url("../../assets/images/homestead/nd.png") no-repeat;
  3722. background-size: 100% 100%;
  3723. }
  3724. }
  3725. // <div class="farmhouse">
  3726. // <div class="icons"></div>
  3727. // <p class="names">农房</p>
  3728. // </div>
  3729. // <div class="farmland">
  3730. // <div class="icons"></div>
  3731. // <p class="names">农地</p>
  3732. // </div>
  3733. }
  3734. }
  3735. }
  3736. ::-webkit-scrollbar {
  3737. -webkit-appearance: none;
  3738. }
  3739. ::-webkit-scrollbar:vertical {
  3740. width: 10px;
  3741. border-radius: 10px;
  3742. }
  3743. ::-webkit-scrollbar:horizontal {
  3744. height: 10px;
  3745. border-radius: 10px;
  3746. }
  3747. ::-webkit-scrollbar-thumb {
  3748. background-color: #eee;
  3749. border-radius: 10px;
  3750. border: 3px solid #ffffff;
  3751. }
  3752. ::-webkit-scrollbar-track {
  3753. border-radius: 10px;
  3754. background-color: #ffffff;
  3755. }
  3756. ::v-deep {
  3757. .van-overlay {
  3758. background-color: rgba(0, 0, 0, 0.2);
  3759. }
  3760. }
  3761. </style>