preview.vue 255KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <!-- 新增 -->
  8. <el-row :gutter="24">
  9. <el-col :span="6">
  10. <el-tabs type="border-card" style="width:100%" @tab-click="handleClick" v-model="activeNameOne">
  11. <el-tab-pane label="首页" name="index">
  12. <!-- <span slot="label" @click="myindex()">首页</span> -->
  13. <el-tabs v-model="activeName" @tab-click = "handleClickTwo">
  14. <el-tab-pane label="新增模块" name="first">
  15. <new-feature v-on:getHospitaldata='getHospitaldata'></new-feature>
  16. </el-tab-pane>
  17. <el-tab-pane label="已使用" name="used">
  18. <!-- <span slot="label" name="second" @click="clickAddmodel()">已使用</span> -->
  19. <div class="used" v-for="(item,index) in this.modelform" :key="item.id">
  20. <ul>
  21. <li>
  22. <span class="name">{{item.title}}</span>
  23. <span class="icon">
  24. <i class="el-icon-edit-outline" @click="editModelByID(item.id,item.mode_type,index)"></i>
  25. <i class="el-icon-delete" @click="deleteModleById(item.id,index);deletelinkaddress()"></i>
  26. </span>
  27. </li>
  28. </ul>
  29. </div>
  30. </el-tab-pane>
  31. </el-tabs>
  32. </el-tab-pane>
  33. <el-tab-pane label="联系我们" name="contactus">
  34. <!-- <span slot="label" @click="myindextwo()">联系我们</span> -->
  35. <el-tabs v-model="activeNameThree" @tab-click="handleClickThree">
  36. <el-tab-pane label="新增模块" name="three">
  37. <add-contact v-on:getOrderModel='getOrderModel'></add-contact>
  38. </el-tab-pane>
  39. <el-tab-pane label="已使用" name="usedtwo">
  40. <!-- <span slot="label" name="four" @click="clickmodel()">已使用</span> -->
  41. <div class="used" v-for="(item,index) in this.model" :key="item.id">
  42. <ul>
  43. <li>
  44. <span class="name">{{item.title}}</span>
  45. <span class="icon">
  46. <i class="el-icon-edit-outline" @click="eidtmodel(item.id,item.mode_type,index)"></i>
  47. <i class="el-icon-delete" @click="deletemodle(item.id,index)"></i>
  48. </span>
  49. </li>
  50. </ul>
  51. </div>
  52. </el-tab-pane>
  53. </el-tabs>
  54. </el-tab-pane>
  55. </el-tabs>
  56. </el-col>
  57. <!-- 编辑医院介绍 -->
  58. <el-dialog
  59. title="编辑医院介绍"
  60. :visible.sync="hosipitalVisible"
  61. width="50%"
  62. center>
  63. <el-form ref="hispitalform" :model="hispitalform" label-width="90px" :rules="rules">
  64. <el-form-item label="模块标题:" required prop="title">
  65. <el-input v-model="hispitalform.title"></el-input>
  66. </el-form-item>
  67. <el-form-item label="排序值:" required prop="sort">
  68. <el-input v-model="hispitalform.sort" type="number"></el-input>
  69. </el-form-item>
  70. <el-form-item label="医院介绍:" required prop="introduction">
  71. <keep-alive v-show="neditorshow">
  72. <neditor ref="neditor"
  73. id="editortwo"
  74. v-bind:r_content="hispitalform.introduction">
  75. </neditor>
  76. </keep-alive>
  77. </el-form-item>
  78. </el-form>
  79. <span slot="footer" class="dialog-footer">
  80. <el-button @click="hosipitalVisible = false">取 消</el-button>
  81. <el-button type="primary" @click="SaveHospital('hispitalform')">确 定</el-button>
  82. </span>
  83. </el-dialog>
  84. <el-dialog
  85. title="新增图片"
  86. :visible.sync="adddialogVisible"
  87. width="50%"
  88. center>
  89. <el-form label-width="90px" ref="addform" :model="addform" :rules="rules">
  90. <el-form-item label="模块标题:" required prop="title">
  91. <el-input v-model="addform.title"></el-input>
  92. </el-form-item>
  93. <el-form-item label="排序值:" required prop="sort">
  94. <el-input v-model="addform.sort" type="number"></el-input>
  95. </el-form-item>
  96. <el-form-item label="添加图片:">
  97. <div class="flex-img">
  98. <div class="el-upload-list el-upload-list--picture-card">
  99. <div class="el-upload-list__item is-success" v-for="(it,index) in this.rotationdatatwo" :key="it.id">
  100. <img class="flex-img__image" :src="it.images">
  101. <label class="el-upload-list__item-status-label">
  102. <i class="el-icon-upload-success el-icon-check"></i>
  103. </label>
  104. <span class="el-upload-list__item-actions">
  105. <span class="el-upload-list__item-delete">
  106. <i class="el-icon-edit-outline" @click="singleVisible = true;editSingleVisible(it.id)"></i>
  107. <i class="el-icon-delete" @click="deleteSingleImages(it.id,it.modeid,index)"></i>
  108. </span>
  109. </span>
  110. </div>
  111. </div>
  112. <div class="addpicrot" @click="editRotationVisible = true" v-show="uploadimageshow">
  113. <div class="addpicones">
  114. <li class="el-icon-plus"></li>
  115. <div class="addpictwos">
  116. <span>新增图片</span>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <p class="tips">图片已上传{{uploadImages}}张,最多上传9张</p>
  122. </el-form-item>
  123. </el-form>
  124. <span slot="footer" class="dialog-footer">
  125. <el-button @click="adddialogVisible = false">取 消</el-button>
  126. <el-button type="primary" @click="AddRotationVisible('addform')">确 定</el-button>
  127. </span>
  128. </el-dialog>
  129. <el-dialog
  130. title="编辑图片"
  131. :visible.sync="singleVisible"
  132. width="30%"
  133. center>
  134. <el-form ref="singform" :model="singform" label-width="90px" :rules="rules">
  135. <el-form-item label="图片编辑:" required prop="images">
  136. <el-col :span="5">
  137. <el-upload
  138. :data="editcheckdata"
  139. class="avatar-uploader"
  140. action="https://upload.qiniup.com"
  141. :show-file-list="false"
  142. :on-success="singformAvatarSuccess"
  143. :before-upload="singformAvatarUpload">
  144. <img v-if="singform.images" :src="singform.images" class="avatar">
  145. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  146. </el-upload>
  147. </el-col>
  148. </el-form-item>
  149. <el-form-item label="排序值:" required prop="sort">
  150. <el-input v-model="singform.sort" style="width:300px" type="number"></el-input>
  151. </el-form-item>
  152. <div class="tipstwo"><p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p></div>
  153. <el-form-item label="图片链接:" required prop= "piclink">
  154. <el-radio-group v-model="singform.piclink">
  155. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclinktwo(gender.id)" >{{gender.name}}</el-radio>
  156. </el-radio-group>
  157. </el-form-item>
  158. <el-form-item label="链接地址:" v-show="showpiclink">
  159. <el-col :span="15">
  160. <el-input v-model="singform.linkaddress" :disabled="true"></el-input>
  161. </el-col>
  162. <el-col :span="4">
  163. <el-button size="medium" @click="GetLinkAddress(singform.linkid);addressVisible = true">设置链接</el-button>
  164. </el-col>
  165. </el-form-item>
  166. </el-form>
  167. <span slot="footer" class="dialog-footer">
  168. <el-button @click="singleVisible = false">取 消</el-button>
  169. <el-button type="primary" @click="UpdateSingleForm('singform');">确 定</el-button>
  170. </span>
  171. </el-dialog>
  172. <!-- <el-dialog
  173. title="添加图片:"
  174. :visible.sync="addpicdialogVisibletwo"
  175. width="30%"
  176. center>
  177. <el-form>
  178. <el-form-item label="添加图片:">
  179. <el-upload
  180. :data="editcheckdata"
  181. class="avatar-uploader"
  182. action="https://upload.qiniup.com"
  183. :show-file-list="false"
  184. :on-success="singformAvatarSuccess"
  185. :before-upload="singformAvatarUpload">
  186. <img v-if="singform.images" :src="singform.images" class="avatar">
  187. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  188. </el-upload>
  189. </el-form-item>
  190. </el-form>
  191. <span slot="footer" class="dialog-footer">
  192. <el-button @click="addpicdialogVisibletwo = false">取 消</el-button>
  193. <el-button type="primary" @click="addpicdialogVisibletwo = false">确 定</el-button>
  194. </span>
  195. </el-dialog> -->
  196. <!-- 新增编辑轮播图 -->
  197. <el-dialog
  198. title="编辑图片"
  199. :visible.sync="editRotationVisible"
  200. width="30%"
  201. center>
  202. <el-form label-width="90px" ref="editpicform" :model="editpicform" :rules="rules">
  203. <el-form-item label="图片编辑:" required prop="images">
  204. <el-col :span="5">
  205. <el-upload
  206. :data="navigationData"
  207. class="avatar-uploader"
  208. action="https://upload.qiniup.com"
  209. :show-file-list="false"
  210. :on-success="edithandleAvatarSuccess"
  211. :before-upload="editbeforeAvatarUpload">
  212. <img v-if="editpicform.images" :src="editpicform.images" class="avatar">
  213. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  214. </el-upload>
  215. <!-- <div class="addrot" @click="addpicdialogVisible = true">
  216. <div class="addrotone">
  217. <i class="el-icon-plus"></i>
  218. </div>
  219. <div class="addrotwo">
  220. <span>新增图片</span>
  221. </div>
  222. </div> -->
  223. </el-col>
  224. </el-form-item>
  225. <el-form-item label="排序值:" required prop="sort">
  226. <el-input v-model="editpicform.sort" type="number"></el-input>
  227. </el-form-item>
  228. <div class="tipstwo"><p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p></div>
  229. <el-form-item label="图片链接:" required prop="piclink">
  230. <el-radio-group v-model="editpicform.piclink" >
  231. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclink(gender.id)" >{{gender.name}}</el-radio>
  232. </el-radio-group>
  233. </el-form-item>
  234. <el-form-item label="链接地址:" v-show="showpiclink">
  235. <el-col :span="15">
  236. <el-input v-model="editpicform.linkaddress" :disabled="true"></el-input>
  237. </el-col>
  238. <el-col :span="4">
  239. <el-button size="medium" @click="addressVisibleTwo = true">设置链接</el-button>
  240. </el-col>
  241. </el-form-item>
  242. </el-form>
  243. <span slot="footer" class="dialog-footer">
  244. <el-button @click="editRotationVisible = false">取 消</el-button>
  245. <el-button type="primary" @click="addEditPicForm('editpicform');">确 定</el-button>
  246. </span>
  247. </el-dialog>
  248. <el-dialog
  249. title="设置图片链接地址"
  250. :visible.sync="addressVisibleTwo"
  251. width="30%"
  252. center>
  253. <el-form :model="refform" ref="refform" :rules="rules">
  254. <el-form-item label="自定义链接地址:" prop="defineaddress">
  255. <el-input style="width:300px" v-model="refform.defineaddress"></el-input>
  256. </el-form-item>
  257. </el-form>
  258. <span slot="footer" class="dialog-footer">
  259. <el-button @click="addressVisibleTwo = false">取 消</el-button>
  260. <el-button type="primary" @click="AddLinkAddressFour('refform')">确 定</el-button>
  261. </span>
  262. </el-dialog>
  263. <el-dialog
  264. title="设置图片链接地址"
  265. :visible.sync="addressVisible"
  266. width="30%"
  267. center>
  268. <el-form :model="refform" ref="refform" :rules="rules">
  269. <el-form-item label="自定义链接地址:" prop="defineaddress">
  270. <el-input style="width:300px" v-model="refform.defineaddress"></el-input>
  271. </el-form-item>
  272. </el-form>
  273. <span slot="footer" class="dialog-footer">
  274. <el-button @click="addressVisible = false">取 消</el-button>
  275. <el-button type="primary" @click="AddLinkAddressTwo('refform')">确 定</el-button>
  276. </span>
  277. </el-dialog>
  278. <!-- 编辑科室介绍 -->
  279. <el-dialog
  280. title="编辑科室介绍"
  281. :visible.sync="officeVisible"
  282. width="50%"
  283. center>
  284. <el-form ref="officeform" :model="officeform" label-width="90px" :rules="rules">
  285. <el-form-item label="模块标题:" required prop="title">
  286. <el-input v-model="officeform.title"></el-input>
  287. </el-form-item>
  288. <el-form-item label="排序值:" required prop="sort">
  289. <el-input v-model="officeform.sort" type="number"></el-input>
  290. </el-form-item>
  291. <el-form-item label="科室介绍:" required prop="introduction">
  292. <keep-alive>
  293. <neditor ref="neditor"
  294. id="editorfour"
  295. v-bind:r_content="officeform.introduction">
  296. </neditor>
  297. </keep-alive>
  298. </el-form-item>
  299. </el-form>
  300. <span slot="footer" class="dialog-footer">
  301. <el-button @click="officeVisible = false">取 消</el-button>
  302. <el-button type="primary" @click="SaveOffice('officeform')">确 定</el-button>
  303. </span>
  304. </el-dialog>
  305. <!-- 编辑名医介绍 -->
  306. <el-dialog
  307. title="新增名医介绍"
  308. :visible.sync="docVisible"
  309. width="50%"
  310. center>
  311. <el-form ref="doctorform" :model="doctorform" label-width="90px" :rules="rules" >
  312. <el-form-item label="模块标题:" required prop="title">
  313. <el-input v-model="doctorform.title"></el-input>
  314. </el-form-item>
  315. <el-form-item label="排序值:" required prop="sort">
  316. <el-input v-model="doctorform.sort" type="number"></el-input>
  317. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  318. </el-form-item>
  319. <el-form-item label="新增名医:" v-model="doctorform.image">
  320. <div class="flex-img">
  321. <div class="el-upload-list el-upload-list--picture-card" >
  322. <div class="el-upload-list__item is-success" v-for="(item,index) in this.docimages" :key="item.id">
  323. <img class="flex-img__image" :src="item.dochead">
  324. <label class="el-upload-list__item-status-label">
  325. <i class="el-icon-upload-success el-icon-check"></i>
  326. </label>
  327. <span class="el-upload-list__item-actions">
  328. <span class="el-upload-list__item-delete">
  329. <i class="el-icon-edit-outline" @click="editcenterDialogVisible = true;editImages(item.id);"></i>
  330. <i class="el-icon-delete" @click="deleteDoctor(item.id,index)"></i>
  331. </span>
  332. </span>
  333. </div>
  334. </div>
  335. <div class="addrot" @click="centerDialogVisible = true;getQueryDocInfo()">
  336. <div class="addrotone">
  337. <i class="el-icon-plus"></i>
  338. </div>
  339. <div class="addrotwo">
  340. <span>新增名医</span>
  341. </div>
  342. </div>
  343. <!-- <img src="static/images/u646.png" @click="centerDialogVisible = true"> -->
  344. </div>
  345. </el-form-item>
  346. </el-form>
  347. <span slot="footer" class="dialog-footer">
  348. <el-button @click="docVisible = false;">取 消</el-button>
  349. <el-button type="primary" @click="SaveDocdata('doctorform');">确 定</el-button>
  350. </span>
  351. </el-dialog>
  352. <!-- 编辑名医介绍 -->
  353. <el-dialog
  354. title="编辑医生介绍"
  355. :visible.sync="editcenterDialogVisible"
  356. width="50%"
  357. center>
  358. <el-form label-width="90px" class="clearfix" :model="editdocfrom" ref="editdocfrom" :rules="rules">
  359. <el-row :span=20>
  360. <el-col :span="10">
  361. <el-form-item label="医生姓名:" required prop="doc_name">
  362. <el-input v-model="editdocfrom.doc_name"></el-input>
  363. </el-form-item>
  364. </el-col>
  365. <el-col :span="12">
  366. <el-form-item label="医生职称:" required prop="doc_postion">
  367. <el-select v-model="editdocfrom.doc_postion" placeholder="请选择">
  368. <el-option
  369. v-for="item in positions"
  370. :key="item.index"
  371. :label="item.name"
  372. :value="item.index">
  373. </el-option>
  374. </el-select>
  375. </el-form-item>
  376. </el-col>
  377. </el-row>
  378. <el-row :span=20>
  379. <el-form-item label="医生头像:" required prop="dochead">
  380. <el-col :span="10">
  381. <el-upload
  382. :data="doctorDatatwo"
  383. class="avatar-uploader"
  384. action="https://upload.qiniup.com"
  385. :show-file-list="false"
  386. :on-success="handleAvatarSuccesstwo"
  387. :before-upload="beforeAvatarUploadtwo">
  388. <img v-if="editdocfrom.dochead" :src="editdocfrom.dochead" class="avatar">
  389. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  390. </el-upload>
  391. </el-col>
  392. <el-col :span="12">
  393. <el-form-item label="排序值:" required prop="doc_sort">
  394. <el-input v-model="editdocfrom.doc_sort" type="number"></el-input>
  395. </el-form-item>
  396. </el-col>
  397. </el-form-item>
  398. </el-row>
  399. <el-row :span=20>
  400. <el-form-item label="医生简介:" required prop="docintroduction">
  401. <keep-alive>
  402. <neditor ref="neditor"
  403. id="editor"
  404. v-bind:r_content="editdocfrom.docintroduction">
  405. </neditor>
  406. </keep-alive>
  407. </el-form-item>
  408. </el-row>
  409. </el-form>
  410. <span slot="footer" class="dialog-footer">
  411. <el-button @click="editdocVisible();editcenterDialogVisible = false;">取 消</el-button>
  412. <el-button type="primary" @click="saveDocInfo('editdocfrom')">确 定</el-button>
  413. </span>
  414. </el-dialog>
  415. <!-- 编辑页面 -->
  416. <el-dialog
  417. title="编辑医生介绍"
  418. :visible.sync="centerDialogVisible"
  419. width="50%"
  420. center>
  421. <el-form label-width="90px" class="clearfix" :model="eidtDoctorform" ref="eidtDoctorform" :rules="rules">
  422. <el-row :span=20>
  423. <el-col :span="12">
  424. <el-form-item label="医生姓名:">
  425. <el-select v-model="eidtDoctorform.name" placeholder="请选择" @change="change(eidtDoctorform.name)">
  426. <el-option
  427. v-for="item in docnames"
  428. :key="item.id"
  429. :label="item.name"
  430. :value="item.id"
  431. >
  432. </el-option>
  433. </el-select>
  434. </el-form-item>
  435. </el-col>
  436. <el-col :span="12">
  437. <el-form-item label="医生职称:" required prop="user_title">
  438. <el-select v-model="eidtDoctorform.user_title" placeholder="请选择">
  439. <el-option
  440. v-for="item in positions"
  441. :key="item.index"
  442. :label="item.name"
  443. :value="item.index">
  444. </el-option>
  445. </el-select>
  446. </el-form-item>
  447. </el-col>
  448. </el-row>
  449. <el-row :span=20>
  450. <el-form-item label="医生头像:" required prop="dochead">
  451. <el-col :span="5">
  452. <el-upload
  453. :data="doctorData"
  454. class="avatar-uploader"
  455. action="https://upload.qiniup.com"
  456. :show-file-list="false"
  457. :on-success="handleAvatarSuccess"
  458. :before-upload="beforeAvatarUpload">
  459. <img v-if="eidtDoctorform.dochead" :src="eidtDoctorform.dochead" class="avatar">
  460. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  461. </el-upload>
  462. </el-col>
  463. <el-col :span="16">
  464. <el-form-item label="排序值:" required prop="sort">
  465. <el-input v-model="eidtDoctorform.sort" type="number"></el-input>
  466. </el-form-item>
  467. </el-col>
  468. </el-form-item>
  469. </el-row>
  470. <el-row :span=20>
  471. <el-form-item label="医生简介:" required prop="content">
  472. <keep-alive>
  473. <neditor ref="neditor"
  474. id="editor"
  475. v-bind:r_content="eidtDoctorform.content">
  476. </neditor>
  477. </keep-alive>
  478. </el-form-item>
  479. </el-row>
  480. </el-form>
  481. <span slot="footer" class="dialog-footer">
  482. <el-button @click="centerDialogVisible = false">取 消</el-button>
  483. <el-button type="primary" @click="AddDoctorInfoTwo('eidtDoctorform')">确 定</el-button>
  484. </span>
  485. </el-dialog>
  486. <!-- 编辑科室环境 -->
  487. <el-dialog
  488. title="新增科室环境"
  489. :visible.sync="offficeEnviromentVisible"
  490. width="50%"
  491. center>
  492. <el-form ref="keform" :model="keform" label-width="110px" :rules="rules">
  493. <el-form-item label="模块标题: " required prop="title">
  494. <el-input v-model="keform.title"></el-input>
  495. </el-form-item>
  496. <el-form-item label="排序值: " required prop="sort">
  497. <el-input v-model="keform.sort" type="number"></el-input>
  498. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  499. </el-form-item>
  500. <el-form-item label="新增科室环境:">
  501. <div class="flex-img">
  502. <div class="el-upload-list el-upload-list--picture-card">
  503. <div class="el-upload-list__item is-success" v-for="(it,index) in this.rotationdata" :key="it.id">
  504. <img class="flex-img__image" :src="it.enviroimages">
  505. <label class="el-upload-list__item-status-label">
  506. <i class="el-icon-upload-success el-icon-check"></i>
  507. </label>
  508. <span class="el-upload-list__item-actions">
  509. <span class="el-upload-list__item-delete">
  510. <i class="el-icon-edit-outline" @click="officetwoVisbile(it.id);officetwoVisible = true"></i>
  511. <i class="el-icon-delete" @click="deleteOfficeById(it.id,index)"></i><br>
  512. </span>
  513. </span>
  514. </div>
  515. </div>
  516. <div class="addpicrot" @click="officethreeVisible = true">
  517. <div class="addpicones">
  518. <li class="el-icon-plus"></li>
  519. <div class="addpictwos">
  520. <span>新增图片</span>
  521. </div>
  522. </div>
  523. </div>
  524. </div>
  525. </el-form-item>
  526. </el-form>
  527. <span slot="footer" class="dialog-footer">
  528. <el-button @click="offficeEnviromentVisible = false">取 消</el-button>
  529. <el-button type="primary" @click="SaveOfficeEnvironment('keform')">确 定</el-button>
  530. </span>
  531. </el-dialog>
  532. <el-dialog
  533. title="图片编辑"
  534. :visible.sync="officetwoVisible"
  535. width="30%"
  536. center>
  537. <el-form label-width="90px" :model="officeformthree" ref="officeformthree" :rules="rules">
  538. <el-form-item label="图片编辑:" required prop="officeImages">
  539. <el-upload
  540. :data="keData"
  541. class="avatar-uploader"
  542. action="https://upload.qiniup.com"
  543. :show-file-list="false"
  544. :on-success="handleAvatarSuccessthree"
  545. :before-upload="beforeAvatarUploadthree">
  546. <img v-if="officeformthree.officeImages" :src="officeformthree.officeImages" class="avatar">
  547. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  548. </el-upload>
  549. </el-form-item>
  550. <el-form-item label="排序:" required="sort">
  551. <el-input v-model="officeformthree.sort"></el-input>
  552. </el-form-item>
  553. </el-form>
  554. <span slot="footer" class="dialog-footer">
  555. <el-button @click="officetwoVisible = false">取 消</el-button>
  556. <el-button type="primary" @click="AddOfficeTwo('officeformthree');officetwoVisible = false">确 定</el-button>
  557. </span>
  558. </el-dialog>
  559. <el-dialog
  560. title="添加图片"
  561. :visible.sync="officethreeVisible"
  562. width="30%"
  563. center>
  564. <el-form label-width="90px" :model="officeformtwo" ref="officeformtwo" :rules="rules">
  565. <el-form-item label="图片编辑:" required prop="officeImages">
  566. <el-upload
  567. :data="keData"
  568. class="avatar-uploader"
  569. action="https://upload.qiniup.com"
  570. :show-file-list="false"
  571. :on-success="imageKeuSccesstwo"
  572. :before-upload="beforekeUpload">
  573. <img v-if="officeformtwo.officeImages" :src="officeformtwo.officeImages" class="avatar">
  574. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  575. </el-upload>
  576. </el-form-item>
  577. <el-form-item label="排序:" required prop="sort">
  578. <el-input v-model="officeformtwo.sort"></el-input>
  579. </el-form-item>
  580. </el-form>
  581. <span slot="footer" class="dialog-footer">
  582. <el-button @click="officethreeVisible = false">取 消</el-button>
  583. <el-button type="primary" @click="AddOfficeThreeVisible('officeformtwo');officethreeVisible = false">确 定</el-button>
  584. </span>
  585. </el-dialog>
  586. <!-- 编辑文章列表 -->
  587. <el-dialog
  588. title="编辑文章列表"
  589. :visible.sync="ArticleVisible"
  590. width="50%"
  591. center>
  592. <el-form ref="articeform" :model="articeform" label-width="110px" :rules="rules">
  593. <el-form-item label="文章标题:" required prop="title">
  594. <el-input v-model="articeform.title"></el-input>
  595. </el-form-item>
  596. <el-form-item label="排序值:" required prop="sort">
  597. <el-input v-model="articeform.sort" type="number"></el-input>
  598. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  599. </el-form-item>
  600. <el-form-item label="首页展示条数:" required prop="number">
  601. <el-input v-model="articeform.number"></el-input>
  602. <p class="tips">请输入1-9的整数,最大数量为9</p>
  603. </el-form-item>
  604. </el-form>
  605. <span slot="footer" class="dialog-footer">
  606. <el-button @click="ArticleVisible = false">取 消</el-button>
  607. <el-button type="primary" @click="UpdatedArticeDetail('articeform');ArticleVisible = false">确 定</el-button>
  608. </span>
  609. </el-dialog>
  610. <!-- 编辑活动列表 -->
  611. <el-dialog
  612. title="编辑活动列表"
  613. :visible.sync="activityVisible"
  614. width="50%"
  615. center>
  616. <el-form label-width="110px" :model="activitform" ref="activitform" :rules="rules">
  617. <el-form-item label="模块标题:" required prop="title">
  618. <el-input v-model="activitform.title"></el-input>
  619. </el-form-item>
  620. <el-form-item label="排序:" required prop="sort">
  621. <el-input v-model="activitform.sort"></el-input>
  622. </el-form-item>
  623. <el-form-item label="首页展示条数:" required prop="number">
  624. <el-input v-model="activitform.number"></el-input>
  625. </el-form-item>
  626. </el-form>
  627. <span slot="footer" class="dialog-footer">
  628. <el-button @click="activityVisible = false">取 消</el-button>
  629. <el-button type="primary" @click="editActivit('activitform')">确 定</el-button>
  630. </span>
  631. </el-dialog>
  632. <!-- 编辑联系我们轮播图 -->
  633. <el-dialog
  634. title="编辑轮播图"
  635. :visible.sync="edialogVisible"
  636. width="30%"
  637. center>
  638. <el-form ref="rotationform" :model="rotationform" label-width="90px" :rules="rules" >
  639. <el-form-item label="模块标题:" required prop="title">
  640. <el-input v-model="rotationform.title" ></el-input>
  641. </el-form-item>
  642. <el-form-item label="排序值:" required prop="sort">
  643. <el-input v-model="rotationform.sort" type="number"></el-input>
  644. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  645. </el-form-item>
  646. <el-form-item label="添加图片:" v-model="rotationform.rotationImages">
  647. <div class="flex-img">
  648. <div class="el-upload-list el-upload-list--picture-card" >
  649. <div class="el-upload-list__item is-success" v-for="(item,index) in this.rotationdataThree" :key="item.id">
  650. <img class="flex-img__image" :src="item.images">
  651. <label class="el-upload-list__item-status-label">
  652. <i class="el-icon-upload-success el-icon-check"></i>
  653. </label>
  654. <span class="el-upload-list__item-actions">
  655. <span class="el-upload-list__item-delete">
  656. <i class="el-icon-edit-outline" @click="editVisible = true;editVisibleByid(item.id)"></i>
  657. <i class="el-icon-delete" @click="deleteImages(item.id,index)"></i>
  658. </span>
  659. </span>
  660. </div>
  661. </div>
  662. <div class="addpicrot" @click="addVisible = true">
  663. <div class="addpicones">
  664. <li class="el-icon-plus"></li>
  665. <div class="addpictwos">
  666. <span>新增图片</span>
  667. </div>
  668. </div>
  669. </div>
  670. </div>
  671. </el-form-item>
  672. </el-form>
  673. <span slot="footer" class="dialog-footer">
  674. <el-button @click="edialogVisible = false">取 消</el-button>
  675. <el-button type="primary" @click="AddedialogVisible('rotationform');edialogVisible = false">确 定</el-button>
  676. </span>
  677. </el-dialog>
  678. <!-- 编辑图片 -->
  679. <el-dialog
  680. title="编辑图片"
  681. :visible.sync="addVisible"
  682. width="30%"
  683. center>
  684. <el-form label-width="90px" ref="picform" :model="picform" :rules="rules">
  685. <el-form-item label="图片编辑:" required prop="images">
  686. <el-col :span="5">
  687. <el-upload
  688. :data="navigationData"
  689. class="avatar-uploader"
  690. action="https://upload.qiniup.com"
  691. :show-file-list="false"
  692. :on-success="handleEditSuccess"
  693. :before-upload="handleEditAvatarUpload">
  694. <img v-if="picform.images" :src="picform.images" class="avatar">
  695. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  696. </el-upload>
  697. <!-- <div class="addpicrot" @click="addVisibleTwo = true">
  698. <div class="addpicones">
  699. <li class="el-icon-plus"></li>
  700. <div class="addpictwos">
  701. <span>新增图片</span>
  702. </div>
  703. </div>
  704. </div> -->
  705. </el-col>
  706. </el-form-item>
  707. <el-form-item label="排序值:" required prop="sort">
  708. <el-input v-model="picform.sort" type="number"></el-input>
  709. </el-form-item>
  710. <el-form-item label="图片链接:">
  711. <el-radio-group v-model="picform.piclink" >
  712. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclink(gender.id)" >{{gender.name}}</el-radio>
  713. </el-radio-group>
  714. </el-form-item>
  715. <el-form-item label="链接地址:" v-show="showpiclink">
  716. <el-col :span="15">
  717. <el-input v-model="picform.linkaddress" :disabled="true"></el-input>
  718. </el-col>
  719. <el-col :span="4">
  720. <el-button size="medium" @click="linkaddressVisible = true">设置链接</el-button>
  721. </el-col>
  722. </el-form-item>
  723. </el-form>
  724. <span slot="footer" class="dialog-footer">
  725. <el-button @click="addVisible = false">取 消</el-button>
  726. <el-button type="primary" @click="addeditpic('picform');">确 定</el-button>
  727. </span>
  728. </el-dialog>
  729. <!-- <el-dialog
  730. title="新增图片"
  731. :visible.sync="addVisibleTwo"
  732. width="30%"
  733. :before-close="handleClose">
  734. <el-form>
  735. <el-form-item label="添加图片:">
  736. <el-upload
  737. :data="navigationData"
  738. class="avatar-uploader"
  739. action="https://upload.qiniup.com"
  740. :show-file-list="false"
  741. :on-success="handleEditSuccess"
  742. :before-upload="handleEditAvatarUpload">
  743. <img v-if="picform.images" :src="picform.images" class="avatar">
  744. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  745. </el-upload>
  746. </el-form-item>
  747. </el-form>
  748. <span slot="footer" class="dialog-footer">
  749. <el-button @click="addVisibleTwo = false">取 消</el-button>
  750. <el-button type="primary" @click="addVisibleTwo = false">确 定</el-button>
  751. </span>
  752. </el-dialog> -->
  753. <el-dialog
  754. title="设置图片链接地址"
  755. :visible.sync="linkaddressVisible"
  756. width="30%"
  757. center>
  758. <el-form :model="picformTwo" ref="picformTwo" label-width="120px">
  759. <el-form-item label="站外链接:">
  760. <el-input style="width:300px" v-model="picformTwo.defineaddress"></el-input>
  761. </el-form-item>
  762. </el-form>
  763. <span slot="footer" class="dialog-footer">
  764. <el-button @click="linkaddressVisible = false">取 消</el-button>
  765. <el-button type="primary" @click="AddPiCLink('picformTwo');linkaddressVisible = false">确 定</el-button>
  766. </span>
  767. </el-dialog>
  768. <!-- 编辑图片 -->
  769. <el-dialog
  770. title="编辑图片"
  771. :visible.sync="editVisible"
  772. width="30%"
  773. center>
  774. <el-form label-width="90px" ref="editpic" :model="editpic" :rules="rules">
  775. <el-form-item label="图片编辑:" required props="images">
  776. <el-upload
  777. :data="navigationData"
  778. class="avatar-uploader"
  779. action="https://upload.qiniup.com"
  780. :show-file-list="false"
  781. :on-success="handleEditpicSuccess"
  782. :before-upload="handleEditpicAvatarUpload">
  783. <img v-if="editpic.images" :src="editpic.images" class="avatar">
  784. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  785. </el-upload>
  786. </el-form-item>
  787. <el-form-item label="排序值:" required props="sort">
  788. <el-input v-model="editpic.sort" type="number"></el-input>
  789. </el-form-item>
  790. <el-form-item label="图片链接:">
  791. <el-radio-group v-model="editpic.piclink" >
  792. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclinkfour(gender.id)" >{{gender.name}}</el-radio>
  793. </el-radio-group>
  794. </el-form-item>
  795. <el-form-item label="链接地址:" v-show="showpiclink">
  796. <el-col :span="15">
  797. <el-input v-model="editpic.linkaddress" :disabled="true"></el-input>
  798. </el-col>
  799. <el-col :span="4">
  800. <el-button size="medium" @click="setlinkVisible = true;getLinkAddressDetail(editpic.linkid)">设置链接</el-button>
  801. </el-col>
  802. </el-form-item>
  803. </el-form>
  804. <span slot="footer" class="dialog-footer">
  805. <el-button @click="editVisible = false">取 消</el-button>
  806. <el-button type="primary" @click="SaveEditPic('editpic');editVisible = false">确 定</el-button>
  807. </span>
  808. </el-dialog>
  809. <!-- 设置链接 -->
  810. <el-dialog
  811. title="设置图片链接地址"
  812. :visible.sync="setlinkVisible"
  813. width="30%"
  814. center>
  815. <el-form :model="picformThree" ref="picformThree" label-width="120px">
  816. <el-form-item label="站外链接:">
  817. <el-input style="width:300px" v-model="picformThree.defineaddress"></el-input>
  818. </el-form-item>
  819. </el-form>
  820. <span slot="footer" class="dialog-footer">
  821. <el-button @click="setlinkVisible = false">取 消</el-button>
  822. <el-button type="primary" @click="UpdatePicFormThree('picformThree');">确 定</el-button>
  823. </span>
  824. </el-dialog>
  825. <!-- 编辑工作时间 -->
  826. <el-dialog
  827. title="编辑工作时间"
  828. :visible.sync="dialogVisiblefour"
  829. width="30%"
  830. center
  831. >
  832. <el-form label-width="90px" ref="workform" :model="workform" :rules="rules">
  833. <el-form-item label="模块标题:" required prop="title" >
  834. <el-input v-model="workform.title" ></el-input>
  835. </el-form-item>
  836. <el-form-item label="模块排序:" required prop="sort">
  837. <el-input v-model="workform.sort"></el-input>
  838. </el-form-item>
  839. <el-form-item label="工作时间:" required prop="worktime">
  840. <el-input type="textarea" v-model="workform.worktime">
  841. </el-input>
  842. </el-form-item>
  843. </el-form>
  844. <span slot="footer" class="dialog-footer">
  845. <el-button @click="dialogVisiblefour = false">取 消</el-button>
  846. <el-button type="primary" @click="SaveWorkTime('workform')">确 定</el-button>
  847. </span>
  848. </el-dialog>
  849. <!-- 编辑乘车方式 -->
  850. <el-dialog
  851. title="编辑乘车方式"
  852. :visible.sync="dialogVisiblefive"
  853. width="30%"
  854. center>
  855. <el-form label-width="90px" ref="rideform" :model="rideform">
  856. <el-form-item label="模块标题:" >
  857. <el-input v-model="rideform.title" required prop="title" ></el-input>
  858. </el-form-item>
  859. <el-form-item label="模块排序:">
  860. <el-input v-model="rideform.sort" required prop="sort"></el-input>
  861. </el-form-item>
  862. <el-form-item label="乘车方式:">
  863. <el-input type="textarea" v-model="rideform.ride_way" rquired prop="rideway">
  864. </el-input>
  865. </el-form-item>
  866. </el-form>
  867. <span slot="footer" class="dialog-footer">
  868. <el-button @click="dialogVisiblefive = false">取 消</el-button>
  869. <el-button type="primary" @click="saverideway('rideform')">确 定</el-button>
  870. </span>
  871. </el-dialog>
  872. <!--添加导航设置-->
  873. <el-dialog
  874. title="添加导航"
  875. :visible.sync="navigationVisible"
  876. width="50%"
  877. center>
  878. <el-form label-width="180px" ref="navigationform" :model="navigationform" :rules="rules">
  879. <el-form-item label="导航标题:" required prop="navtitle">
  880. <el-input v-model="navigationform.navtitle"></el-input>
  881. </el-form-item>
  882. <el-form-item label="导航图标(选中):" required prop="navigationImages">
  883. <el-upload
  884. :data="navigationData"
  885. class="avatar-uploader"
  886. action="https://upload.qiniup.com"
  887. :show-file-list="false"
  888. :on-success="navigationAvatarSuccess"
  889. :before-upload="navigationbeforeAvatarUpload">
  890. <img v-if="navigationform.navigationImages" :src="navigationform.navigationImages" class="avatar">
  891. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  892. </el-upload>
  893. </el-form-item>
  894. <el-form-item label="导航图标(未选中)">
  895. <el-upload
  896. :data="navigationData"
  897. class="avatar-uploader"
  898. action="https://upload.qiniup.com"
  899. :show-file-list="false"
  900. :on-success="navigationAvatarSuccessone"
  901. :before-upload="navigationbeforeAvatarUploadone">
  902. <img v-if="navigationform.nonavigationImages" :src="navigationform.nonavigationImages" class="avatar">
  903. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  904. </el-upload>
  905. </el-form-item>
  906. <el-form-item label="跳转设置:" required prop="jumpset">
  907. <el-radio-group v-model="navigationform.jumpset">
  908. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  909. </el-radio-group>
  910. </el-form-item>
  911. <el-form-item>
  912. <el-col :span="18" >
  913. <el-input v-show="define" v-model="navigationform.navigationaddress" :disabled="true"></el-input>
  914. </el-col>
  915. <el-col :span="4">
  916. <el-button size="medium" @click="linkVisible=true;" v-show="define">设置链接</el-button>
  917. </el-col>
  918. </el-form-item>
  919. </el-form>
  920. <span slot="footer" class="dialog-footer">
  921. <el-button @click="navigationVisible = false">取 消</el-button>
  922. <el-button type="primary" @click="addNavigation('navigationform')">确 定</el-button>
  923. </span>
  924. </el-dialog>
  925. <el-dialog
  926. title="设置链接地址"
  927. :visible.sync="linkVisible"
  928. width="30%"
  929. center>
  930. <el-form ref="navigationlinkform" :model="navigationlinkform">
  931. <el-form-item label="链接类型:">
  932. <el-radio-group v-model="navigationlinkform.linktype">
  933. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemThree(item.id)">{{item.name}}</el-radio>
  934. </el-radio-group>
  935. </el-form-item>
  936. <el-form-item label="链接类型:" v-show="definetwo">
  937. <el-select v-model="navigationlinkform.navitionlinktype" placeholder="请选择">
  938. <el-option
  939. v-for="item in navitionlinkType"
  940. :key="item.id"
  941. :label="item.name"
  942. :value="item.id">
  943. </el-option>
  944. </el-select>
  945. </el-form-item>
  946. <el-form-item label="电话号码:" v-show="definethree">
  947. <el-input style="width:400px" v-model="navigationlinkform.phone"></el-input>
  948. </el-form-item>
  949. <el-form-item label="站外链接:" v-show="definefour">
  950. <el-input style="width:400px" v-model="navigationlinkform.outstationlink"></el-input>
  951. </el-form-item>
  952. </el-form>
  953. <span slot="footer" class="dialog-footer">
  954. <el-button @click="linkVisible = false">取 消</el-button>
  955. <el-button type="primary" @click="addNavigationlinkform('navigationlinkform');">确 定</el-button>
  956. </span>
  957. </el-dialog>
  958. <!-- 编辑导航 -->
  959. <el-dialog
  960. title="编辑导航"
  961. :visible.sync="editNavigationVisible"
  962. width="50%"
  963. center>
  964. <el-form label-width="130px" ref="editNavigationform" :model="editNavigationform" :rules="rules">
  965. <el-form-item label="导航标题:" required prop="navtitle">
  966. <el-input v-model="editNavigationform.navtitle"></el-input>
  967. </el-form-item>
  968. <el-form-item label="导航图标(选中):" required="checkImages">
  969. <el-upload
  970. :data="editcheckdata"
  971. class="avatar-uploader"
  972. action="https://upload.qiniup.com"
  973. :show-file-list="false"
  974. :on-success="editNaviAvatarSuccess"
  975. :before-upload="editNaviAvatarUpload">
  976. <img v-if="editNavigationform.navimages" :src="editNavigationform.navimages" class="avatar">
  977. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  978. </el-upload>
  979. </el-form-item>
  980. <el-form-item label="导航图标(未选中)" required="nonavimages">
  981. <el-upload
  982. :data="editcheckdatatwo"
  983. class="avatar-uploader"
  984. action="https://upload.qiniup.com"
  985. :show-file-list="false"
  986. :on-success="editNaviAvatarSuccessone"
  987. :before-upload="editNaviAvatarUploadone">
  988. <img v-if="editNavigationform.nonavimages" :src="editNavigationform.nonavimages" class="avatar">
  989. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  990. </el-upload>
  991. </el-form-item>
  992. <el-form-item label="跳转设置:">
  993. <el-radio-group v-model="editNavigationform.jumpset">
  994. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  995. </el-radio-group>
  996. </el-form-item>
  997. <el-form-item>
  998. <el-col :span="18" >
  999. <el-input v-show="define" v-model="editNavigationform.navaddress" :disabled="true"></el-input>
  1000. </el-col>
  1001. <el-col :span="4">
  1002. <el-button size="medium" @click="dialogVisible=true;SetlinkAddress(editNavigationform.linkid)" v-show="define">设置链接</el-button>
  1003. </el-col>
  1004. </el-form-item>
  1005. </el-form>
  1006. <span slot="footer" class="dialog-footer">
  1007. <el-button @click="editNavigationVisible = false">取 消</el-button>
  1008. <el-button type="primary" @click="SaveNavigation('editNavigationform');">确 定</el-button>
  1009. </span>
  1010. </el-dialog>
  1011. <el-dialog
  1012. title="设置链接"
  1013. :visible.sync="dialogVisible"
  1014. width="30%"
  1015. center>
  1016. <el-form ref="editnavigationlinkform" :model="editnavigationlinkform">
  1017. <el-form-item label="链接类型:">
  1018. <el-radio-group v-model="editnavigationlinkform.linktype">
  1019. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemTwo(item.id)">{{item.name}}</el-radio>
  1020. </el-radio-group>
  1021. </el-form-item>
  1022. <el-form-item label="链接类型:" v-show="definetwo">
  1023. <el-select v-model="editnavigationlinkform.navitionlinktype" placeholder="请选择">
  1024. <el-option
  1025. v-for="item in navitionlinkTypeThree"
  1026. :key="item.id"
  1027. :label="item.name"
  1028. :value="item.id">
  1029. </el-option>
  1030. </el-select>
  1031. </el-form-item>
  1032. <el-form-item label="电话号码:" v-show="definethree">
  1033. <el-input style="width:400px" v-model="editnavigationlinkform.phone"></el-input>
  1034. </el-form-item>
  1035. <el-form-item label="站外链接:" v-show="definefour">
  1036. <el-input style="width:400px" v-model="editnavigationlinkform.outstationlink"></el-input>
  1037. </el-form-item>
  1038. </el-form>
  1039. <span slot="footer" class="dialog-footer">
  1040. <el-button @click="dialogVisible = false">取 消</el-button>
  1041. <el-button type="primary" @click="UpdateEditNavigationLinkform('editnavigationlinkform')">确 定</el-button>
  1042. </span>
  1043. </el-dialog>
  1044. <el-dialog
  1045. title="编辑魔方导航"
  1046. :visible.sync="edtimacdialogVisible"
  1047. width="50%"
  1048. center>
  1049. <el-form label-width="130px" :model="macform" ref="macform">
  1050. <el-form-item label="模块标题:">
  1051. <el-input v-model="macform.title"></el-input>
  1052. </el-form-item>
  1053. <el-form-item label="排序值:">
  1054. <el-input v-model="macform.sort" type="number"></el-input>
  1055. </el-form-item>
  1056. <el-form-item label="新增魔方导航:" v-model="macform.macimages">
  1057. <div class="flex-img">
  1058. <div class="el-upload-list el-upload-list--picture-card" v-for="(item,index) in macdataImages" :key="item.id">
  1059. <div class="el-upload-list__item is-success">
  1060. <img class="flex-img__image" :src="item.margimage">
  1061. <label class="el-upload-list__item-status-label">
  1062. <i class="el-icon-upload-success el-icon-check"></i>
  1063. </label>
  1064. <span class="el-upload-list__item-actions">
  1065. <span class="el-upload-list__item-delete">
  1066. <i class="el-icon-edit-outline" @click="EditMacImages(item.id);linkVisiblethree=true"></i>
  1067. <i class="el-icon-delete" @click="deleteMacImagesDetail(item.id,index)" ></i><br>
  1068. <i class="yangshi">{{item.margtitle}}</i>
  1069. </span>
  1070. </span>
  1071. </div>
  1072. </div>
  1073. <div class="addpicrot" @click="editImagesVisbile = true">
  1074. <div class="addpicones">
  1075. <li class="el-icon-plus"></li>
  1076. <div class="addpictwos">
  1077. <span>新增图片</span>
  1078. </div>
  1079. </div>
  1080. </div>
  1081. </div>
  1082. </el-form-item>
  1083. </el-form>
  1084. <span slot="footer" class="dialog-footer">
  1085. <el-button @click="edtimacdialogVisible = false">取 消</el-button>
  1086. <el-button type="primary" @click="UpdateMacform('macform');edtimacdialogVisible = false">确 定</el-button>
  1087. </span>
  1088. </el-dialog>
  1089. <el-dialog
  1090. title="新增魔法导航"
  1091. :visible.sync="editImagesVisbile"
  1092. width="30%"
  1093. center>
  1094. <el-form label-width="90px" ref="macgicform" :model="macgicform" :rules="rules">
  1095. <el-form-item label="导航标题:" required prop="title">
  1096. <el-input v-model="macgicform.title"></el-input>
  1097. </el-form-item>
  1098. <el-form-item label="导航图标:" required prop="macgicimages">
  1099. <el-upload
  1100. :data="editcheckdata"
  1101. class="avatar-uploader"
  1102. action="https://upload.qiniup.com"
  1103. :show-file-list="false"
  1104. :on-success="editNaviAvatarSuccesstwo"
  1105. :before-upload="editNaviAvatarUploadtwo">
  1106. <img v-if="macgicform.macgicimages" :src="macgicform.macgicimages" class="avatar">
  1107. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1108. </el-upload>
  1109. </el-form-item>
  1110. <el-form-item label="跳转设置:" required prop="jumpset">
  1111. <el-radio-group v-model="macgicform.jumpset">
  1112. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  1113. </el-radio-group>
  1114. </el-form-item>
  1115. <el-form-item v-show="define">
  1116. <el-col :span="18" >
  1117. <el-input v-model="macgicform.linkaddress" :disabled="true"></el-input>
  1118. </el-col>
  1119. <el-col :span="4">
  1120. <el-button size="medium" @click="linkVisibletwo=true">设置链接</el-button>
  1121. </el-col>
  1122. </el-form-item>
  1123. </el-form>
  1124. <span slot="footer" class="dialog-footer">
  1125. <el-button @click="editImagesVisbile = false">取 消</el-button>
  1126. <el-button type="primary" @click="AddMacgicform('macgicform');">确 定</el-button>
  1127. </span>
  1128. </el-dialog>
  1129. <el-dialog
  1130. title="设置链接地址"
  1131. :visible.sync="linkVisibletwo"
  1132. width="30%"
  1133. center>
  1134. <el-form ref="linkformtwo" :model="linkformtwo">
  1135. <el-form-item label="链接类型:" >
  1136. <el-radio-group v-model="linkformtwo.linktype">
  1137. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemEdit(item.id)">{{item.name}}</el-radio>
  1138. </el-radio-group>
  1139. </el-form-item>
  1140. <el-form-item label="链接类型:" v-show="definetwo">
  1141. <el-select v-model="linkformtwo.instationlink" placeholder="请选择">
  1142. <el-option
  1143. v-for="item in modelTtile"
  1144. :key="item.id"
  1145. :label="item.title"
  1146. :value="item.id">
  1147. </el-option>
  1148. </el-select>
  1149. </el-form-item>
  1150. <el-form-item label="电话号码:" v-show="definethree">
  1151. <el-input style="width:400px" v-model="linkformtwo.phone"></el-input>
  1152. </el-form-item>
  1153. <el-form-item label="站外链接:" v-show="definefour">
  1154. <el-input style="width:400px" v-model="linkformtwo.outstationlink"></el-input>
  1155. </el-form-item>
  1156. </el-form>
  1157. <span slot="footer" class="dialog-footer">
  1158. <el-button @click="linkVisibletwo = false">取 消</el-button>
  1159. <el-button type="primary" @click="AddMacLinkAddress('linkformtwo');">确 定</el-button>
  1160. </span>
  1161. </el-dialog>
  1162. <el-dialog
  1163. title="新增魔方导航"
  1164. :visible.sync="linkVisiblethree"
  1165. width="30%"
  1166. center>
  1167. <el-form label-width="90px" :model="editmacform" ref="editmacform">
  1168. <el-form-item label="导航标题:">
  1169. <el-input v-model="editmacform.margtitle"></el-input>
  1170. </el-form-item>
  1171. <el-form-item label="导航图标:">
  1172. <el-upload
  1173. :data="editcheckdata"
  1174. class="avatar-uploader"
  1175. action="https://upload.qiniup.com/"
  1176. :show-file-list="false"
  1177. :on-success="editNaviAvatarSuccessthree"
  1178. :before-upload="editNaviAvatarUploadthree">
  1179. <img v-if="editmacform.margimage" :src="editmacform.margimage" class="avatar">
  1180. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1181. </el-upload>
  1182. </el-form-item>
  1183. <el-form-item label="跳转设置:">
  1184. <el-radio-group v-model="editmacform.jumpset">
  1185. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGendertwo(gender.id)">{{gender.name}}</el-radio>
  1186. </el-radio-group>
  1187. </el-form-item>
  1188. <el-form-item v-show="definefive">
  1189. <el-col :span="18" >
  1190. <el-input v-model="editmacform.marginaddress" :disabled="true"></el-input>
  1191. </el-col>
  1192. <el-col :span="4">
  1193. <el-button size="medium" @click="linkVisiblefour=true;getLikeMacAddressById(editmacform.linkid);">设置链接</el-button>
  1194. </el-col>
  1195. </el-form-item>
  1196. </el-form>
  1197. <span slot="footer" class="dialog-footer">
  1198. <el-button @click="linkVisiblethree = false">取 消</el-button>
  1199. <el-button type="primary" @click="UpdateEditMacform('editmacform');linkVisiblethree = false">确 定</el-button>
  1200. </span>
  1201. </el-dialog>
  1202. <el-dialog
  1203. title="设置链接地址"
  1204. :visible.sync="linkVisiblefour"
  1205. width="30%"
  1206. center>
  1207. <el-form ref="linkformfive" :model="linkformfive">
  1208. <el-form-item label="链接类型:" >
  1209. <el-radio-group v-model="linkformfive.linktype">
  1210. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItem(item.id)">{{item.name}}</el-radio>
  1211. </el-radio-group>
  1212. </el-form-item>
  1213. <el-form-item label="链接类型:" v-show="definetwo">
  1214. <el-select v-model="linkformfive.instationlink" placeholder="请选择"
  1215. @change="changeOptionType">
  1216. <el-option
  1217. v-for="item in modelTtile"
  1218. :key="item.id"
  1219. :label="item.title"
  1220. :value="item.id">
  1221. </el-option>
  1222. </el-select>
  1223. </el-form-item>
  1224. <el-form-item label="电话号码:" v-show="definethree">
  1225. <el-input v-model="linkformfive.phone" style="width:400px"></el-input>
  1226. </el-form-item>
  1227. <el-form-item label="站外链接:" v-show="definefour">
  1228. <el-input v-model="linkformfive.outstationlink" style="width:400px"></el-input>
  1229. </el-form-item>
  1230. </el-form>
  1231. <span slot="footer" class="dialog-footer">
  1232. <el-button @click="linkVisiblefour = false">取 消</el-button>
  1233. <el-button type="primary" @click="UpdateLinkAddress('linkformfive');">确 定</el-button>
  1234. </span>
  1235. </el-dialog>
  1236. <el-dialog
  1237. title="编辑联系方式"
  1238. :visible.sync="contact"
  1239. width="30%"
  1240. center>
  1241. <el-form label-width="90px" :model="contactform" ref="contactform">
  1242. <el-form-item label="模块标题:">
  1243. <el-input v-model="contactform.title"></el-input>
  1244. </el-form-item>
  1245. <el-form-item label="排序值:">
  1246. <el-input v-model="contactform.sort" type="number"></el-input>
  1247. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  1248. </el-form-item>
  1249. <el-form-item label="联系方式:" v-for="(it,index) in this.Connectways" :key="it.id">
  1250. <div class="used">
  1251. <ul>
  1252. <li>
  1253. <span class="name">{{it.title}}</span>
  1254. <span class="icon">
  1255. <i class="el-icon-edit-outline" @click="editConnecway(it.id);contacttwo=true"></i>
  1256. <i class="el-icon-delete" @click="deleteConnecWay(it.id,index)"></i>
  1257. </span>
  1258. </li>
  1259. </ul>
  1260. </div>
  1261. </el-form-item>
  1262. </el-form>
  1263. <span slot="footer" class="dialog-footer">
  1264. <el-button @click="contactthree = true">添加联系方式</el-button>
  1265. <el-button @click="contact = false">取 消</el-button>
  1266. <el-button type="primary" @click="UpdateContactform('contactform');contact = false">确 定</el-button>
  1267. </span>
  1268. </el-dialog>
  1269. <el-dialog
  1270. title="编辑联系方式"
  1271. :visible.sync="contacttwo"
  1272. width="30%"
  1273. center>
  1274. <el-form label-width="90px" :model="connectform" ref="connectform">
  1275. <el-form-item label="标题:">
  1276. <el-input v-model="connectform.title"></el-input>
  1277. </el-form-item>
  1278. <el-form-item label="联系方式:">
  1279. <el-row>
  1280. <el-col :span="20">
  1281. <el-radio-group v-model="connectform.connecway">
  1282. <el-radio :label="way.id" :value="way.id" v-for="(way,index) in connections" :key="index">{{way.name}}</el-radio>
  1283. </el-radio-group>
  1284. </el-col>
  1285. </el-row>
  1286. </el-form-item>
  1287. <el-form-item label="内容:">
  1288. <el-input v-model="connectform.content"></el-input>
  1289. </el-form-item>
  1290. </el-form>
  1291. <span slot="footer" class="dialog-footer">
  1292. <el-button @click="contacttwo = false">取 消</el-button>
  1293. <el-button type="primary" @click="UpdateConnectform('connectform');contacttwo = false">确 定</el-button>
  1294. </span>
  1295. </el-dialog>
  1296. <el-dialog
  1297. title="新增联系方式"
  1298. :visible.sync="contactthree"
  1299. width="30%"
  1300. center>
  1301. <el-form label-width="90px" ref="contacthreeform" :model="contacthreeform">
  1302. <el-form-item label="标题:">
  1303. <el-input v-model="contacthreeform.title"></el-input>
  1304. </el-form-item>
  1305. <el-form-item label="联系方式:">
  1306. <el-row>
  1307. <el-col :span="20">
  1308. <el-radio-group v-model="contacthreeform.connecway">
  1309. <el-radio :label="way.id" :value="way.id" v-for="(way,index) in connections" :key="index">{{way.name}}</el-radio>
  1310. </el-radio-group>
  1311. </el-col>
  1312. </el-row>
  1313. </el-form-item>
  1314. <el-form-item label="内容:">
  1315. <el-input v-model="contacthreeform.content"></el-input>
  1316. </el-form-item>
  1317. </el-form>
  1318. <span slot="footer" class="dialog-footer">
  1319. <el-button @click="contactthree = false">取 消</el-button>
  1320. <el-button type="primary" @click="addConnectways('contacthreeform');contactthree = false">确 定</el-button>
  1321. </span>
  1322. </el-dialog>
  1323. <el-dialog
  1324. title="编辑医院地址"
  1325. :visible.sync="HospitalIntroduction"
  1326. width="30%"
  1327. center>
  1328. <el-form :model="hospitaladdress" ref="hospitaladdress" label-width="90px">
  1329. <el-form-item label="模块标题:">
  1330. <el-input v-model="hospitaladdress.title"></el-input>
  1331. </el-form-item>
  1332. <el-form-item label="排序:">
  1333. <el-input v-model="hospitaladdress.sort"></el-input>
  1334. </el-form-item>
  1335. <el-form-item label="医院地址:">
  1336. <el-input v-model="hospitaladdress.hosaddress" @input="changeInput($event)"></el-input>
  1337. </el-form-item>
  1338. <!-- <el-form-item label="医院地图:">
  1339. <baidu-map>
  1340. <bm-overview-map anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :isOpen="true"></bm-overview-map>
  1341. <bm-local-search :keyword="hospitaladdress.hosaddress" :auto-viewport="true" style="display:none" :center="location" :zoom="zoom"></bm-local-search>
  1342. <bm-view class="map"></bm-view>
  1343. </baidu-map>
  1344. </el-form-item> -->
  1345. </el-form>
  1346. <span slot="footer" class="dialog-footer">
  1347. <el-button @click="HospitalIntroduction = false">取 消</el-button>
  1348. <el-button type="primary" @click="UpdateHospitalAddress('hospitaladdress');HospitalIntroduction = false">确 定</el-button>
  1349. </span>
  1350. </el-dialog>
  1351. <!-- 手机模拟页面 -->
  1352. <el-col :span="9" class="text">
  1353. <div class="phone">
  1354. <div class="time">9:42</div>
  1355. <div class="xinhao"></div>
  1356. <div class="wifi"></div>
  1357. <div class="dian"></div>
  1358. <div class="scroll">
  1359. <div class="swiper-container bannerSwiper swiper-no-swiping">
  1360.     <div class="swiper-wrapper">
  1361. <div class="swiper-slide">
  1362. <div v-for="item in this.patientModels" :key="item.id" v-show="modelshowtwo">
  1363. <!-- 轮播图 -->
  1364. <div v-if="item.mode_type == 1" class="modeone">
  1365. <mt-swipe :auto="2000" class="swipertwo">
  1366. <mt-swipe-item v-for="it in item.PatientEditpiclink" :key="it.id">
  1367. <img :src="it.images" style="width:318px;height:9.4375rem">
  1368. </mt-swipe-item>
  1369. </mt-swipe>
  1370. </div>
  1371. <!-- 魔方导航 -->
  1372. <div class="btnList" v-if="item.mode_type== 8">
  1373. <div class="btnOne" v-for="it in item.Editmargin" :key="it.id" @click="NavigationClick(it.marginaddress)">
  1374. <div>
  1375. <img :src="it.margimage" alt />
  1376. </div>
  1377. <div>
  1378. <p class="title">{{it.margtitle}}</p>
  1379. </div>
  1380. </div>
  1381. </div>
  1382. <!-- 文章列表 -->
  1383. <div class="dynamic" v-if="item.mode_type == 6">
  1384. <div class="common_title">
  1385. <div class="one"></div>
  1386. <div class="dynamicTxt">{{item.title}}</div>
  1387. <div class="dymore">
  1388. <p>
  1389. 查看更多
  1390. <i class="iconfont">&#xe632;</i>
  1391. </p>
  1392. </div>
  1393. </div>
  1394. <div class="content">
  1395. <div class="contentOne" v-for="it in Articlelist" :key="it.id">
  1396. <div class="img">
  1397. <img :src="it.imgs" style="width:100%;height:100%" alt />
  1398. </div>
  1399. <div class="detail" v-if="it.title != ''">
  1400. <p class="detailTitle">{{it.title}}</p>
  1401. <!-- <p class="detailMessage"></p> -->
  1402. </div>
  1403. <div class="detail" v-else-if="it.title ==''">
  1404. <div class="noImg">
  1405. <img src="../../../static/images/none2.png" alt />
  1406. </div>
  1407. </div>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. <!-- 医院介绍 -->
  1412. <div class="common" v-if="item.mode_type == 2">
  1413. <div class="common_title">
  1414. <div class="one"></div>
  1415. <div class="dynamicTxt">{{item.title}}</div>
  1416. <div class="dymore">
  1417. <p>
  1418. 查看更多
  1419. <i class="iconfont">&#xe632;</i>
  1420. </p>
  1421. </div>
  1422. </div>
  1423. <div class="commonBox">
  1424. <div class="commonMessage" v-html="item.Hospitals.introduction" v-if="item.Hospitals.introduction != ''"></div>
  1425. <div class="noImg" v-else-if="item.Hospitals.introduction == ''">
  1426. <img src="../../../static/images/none2.png" alt/>
  1427. </div>
  1428. </div>
  1429. </div>
  1430. <!-- 科室介绍 -->
  1431. <div class="common" v-if="item.mode_type == 3">
  1432. <div class="common_title">
  1433. <div class="one"></div>
  1434. <div class="dynamicTxt">{{item.title}}</div>
  1435. <div class="dymore">
  1436. <p>
  1437. 查看更多
  1438. <i class="iconfont">&#xe632;</i>
  1439. </p>
  1440. </div>
  1441. </div>
  1442. <div class="commonBox">
  1443. <div class="commonMessage" v-html="item.Offices.introduction" v-if="item.Offices.introduction!=''"></div>
  1444. <div class="noImg" v-else-if="item.Offices.introduction == ''">
  1445. <img src="../../../static/images/none2.png" alt/>
  1446. </div>
  1447. </div>
  1448. </div>
  1449. <!-- 医护团队 -->
  1450. <div class="dynamic" v-if="item.mode_type == 4">
  1451. <div class="common_title">
  1452. <div class="one"></div>
  1453. <div class="dynamicTxt">{{item.title}}</div>
  1454. <div class="dymore">
  1455. <p>
  1456. 查看更多
  1457. <i class="iconfont">&#xe632;</i>
  1458. </p>
  1459. </div>
  1460. </div>
  1461. <div class="content">
  1462. <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
  1463. <div class="img">
  1464. <img :src="doc.dochead" style="width:100%;height:100%" alt />
  1465. </div>
  1466. <div class="detail" v-if="doc.docintroduction != ''">
  1467. <p class="detailTitle">{{doc.doc_name}}</p>
  1468. <p class="detailMessage" v-html="doc.docintroduction"></p>
  1469. </div>
  1470. <div class="detail" v-else-if="doc.docintroduction == ''">
  1471. <div class="noImg">
  1472. <img src="../../../static/images/none2.png" alt />
  1473. </div>
  1474. </div>
  1475. </div>
  1476. </div>
  1477. </div>
  1478. <!-- 科室环境 -->
  1479. <div class="dynamic" v-if="item.mode_type == 5">
  1480. <div class="common_title">
  1481. <div class="one"></div>
  1482. <div class="dynamicTxt">{{item.title}}</div>
  1483. </div>
  1484. <div class="imgs">
  1485. <div class="swiper-container imgSwiper">
  1486. <div class="swiper-wrapper">
  1487. <div class="swiper-slide carousel" v-for="itms in item.Enviroimages" :key="itms.id">
  1488. <img class="img" :src="itms.enviroimages" :preview="itms.modeid" />
  1489. </div>
  1490. </div>
  1491. </div>
  1492. </div>
  1493. </div>
  1494. <!-- 医院活动 -->
  1495. <div class="dynamic bottom" v-if="item.mode_type == 7">
  1496. <div class="common_title">
  1497. <div class="one"></div>
  1498. <div class="dynamicTxt">{{item.title}}</div>
  1499. <div class="dymore">
  1500. <p>
  1501. 查看更多
  1502. <i class="iconfont">&#xe632;</i>
  1503. </p>
  1504. </div>
  1505. </div>
  1506. <div class="content">
  1507. <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
  1508. <div class="img">
  1509. <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
  1510. </div>
  1511. <div class="detail" v-if="it.title !=''">
  1512. <p class="detailTitle">{{it.title}}</p>
  1513. </div>
  1514. <div class="detail" v-else-if="it.title == ''">
  1515. <div class="noImg">
  1516. <img src="../../../static/images/none2.png" alt />
  1517. </div>
  1518. </div>
  1519. </div>
  1520. </div>
  1521. </div>
  1522. </div>
  1523. <div v-show="modelshow">
  1524. <div v-for="item in this.ordmodel" :key="item.id">
  1525. <div v-if="item.mode_type == 1">
  1526. <mt-swipe :auto="4000" class="swipertwo">
  1527. <mt-swipe-item v-for="it in item.Conrotation" :key="it.id">
  1528. <img :src="it.images" style="width:318px;height:230px" >
  1529. </mt-swipe-item>
  1530. </mt-swipe>
  1531. </div>
  1532. <div v-if="item.mode_type == 2" class="oldmodetwo">
  1533. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Hosaddress.address}}</span></div>
  1534. </div>
  1535. <div v-if="item.mode_type == 3" class="oldmodethree">
  1536. <div v-for="it in Connectways" :key="it.id">
  1537. <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span><br>
  1538. </div>
  1539. </div>
  1540. <div class="oldmodefour" v-if="item.mode_type == 4">
  1541. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Worktime.worktime}}</span></div>
  1542. </div>
  1543. <div class="oldmodethree" v-if="item.mode_type == 5">
  1544. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Rideway.ride_way}}</span></div>
  1545. </div>
  1546. </div>
  1547. </div>
  1548. </div>
  1549. </div>
  1550.     </div>
  1551. </div>
  1552. <div class="scroll" v-show="defalutshow">暂无数据</div>
  1553. <!-- 医院介绍详情页-->
  1554. <div class="scroll" v-show="shows" v-html="hospitalform.introduction" id="target"></div>
  1555. <!-- <div class="xiangqing" v-show="shows" v-html="hospitalform.introduction"></div> -->
  1556. <!-- 科室介绍详情页 -->
  1557. <div class="scroll" v-html="officeform.introduction" v-show="keshow" id="targettwo"></div>
  1558. <!--名医介绍详情 -->
  1559. <div class="scroll" v-show="docshow" id="targetthree">
  1560. <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="GetDoctorDetail(item.id)">
  1561. <div class="doctwo">
  1562. <img :src="item.dochead" style="width:80px;height:80px">
  1563. </div>
  1564. <div class="docthree">
  1565. <span class="docfour">{{item.doc_name}}</span>
  1566. </div>
  1567. <div class="docfive">
  1568. <span class="docsix" v-html="item.docintroduction"></span>
  1569. </div>
  1570. </div>
  1571. </div>
  1572. <!--科室环境详情 -->
  1573. <div class="scroll" v-show="OfficeEnviromentShow" id="targetfour">
  1574. <div class="swiperimages">
  1575. <div class="swiper-container swiperfour" >
  1576. <div class="swiper-wrapper" id="wrappertwo" >
  1577. <div class="swiper-slide " v-for="it in keEnvironmentImages" :key="it.id">
  1578. <img :src="it.enviroimages" style="width:150px;height:140px;border-radius:5px;"/>
  1579. </div>
  1580. </div>
  1581. </div>
  1582. </div>
  1583. </div>
  1584. <!-- 文章列表详情 -->
  1585. <div class="scroll" v-show="ArticlelistShow" id="targetfive">
  1586. <div class="actilist" v-for="it in Articlelist" :key="it.id" @click="GetArticleListDetail(it.id)">
  1587. <div class="acthead">
  1588. <img :src="it.imgs" style="width:80px;height:80px">
  1589. </div>
  1590. <div class="actcontent">
  1591. <div class="actname"><span>{{it.title}}</span></div>
  1592. <!-- <div class="actcomments">阅读:{{it.real_read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div> -->
  1593. </div>
  1594. </div>
  1595. </div>
  1596. <!-- 活动列表详情 -->
  1597. <div class="scroll" v-show="ActivitieslistShow" id="targetsix">
  1598. <div class="actilist" v-for="it in Activitieslist" :key="it.id" @click="ActivitiesListInfo(it.id)">
  1599. <div class="acthead">
  1600. <img :src="it.poster_photo" style="width:80px;height:80px">
  1601. </div>
  1602. <div class="actcontent">
  1603. <div class="actname"><span>{{it.title}}</span></div>
  1604. <!-- <div class="actcomments">阅读:{{it.read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div>
  1605. <div class="progress">
  1606. <el-progress :percentage="0"></el-progress>
  1607. </div> -->
  1608. </div>
  1609. </div>
  1610. </div>
  1611. <!-- 单个医生详情页-->
  1612. <div class="scroll" v-show="docshowinfo">
  1613. <div class="docheadimages">
  1614. <div class="doctorhead">
  1615. <img :src="editdoctor.dochead" style="widht:100%;height:100%">
  1616. </div>
  1617. <div class="doctorname">
  1618. 姓名:{{editdoctor.doc_name}}
  1619. </div>
  1620. <div class="docposition">
  1621. 职位:{{editdoctor.doc_postion}}
  1622. </div>
  1623. </div>
  1624. <div class="doctorintroduction">
  1625. 医生简介:
  1626. </div>
  1627. <div class="doctorintroductiontwo" v-html="editdoctor.docintroduction">
  1628. </div>
  1629. </div>
  1630. <!-- 单个文章详情页 -->
  1631. <div class="scroll" v-show="articlelistshowinfo">
  1632. <div class="articletitle">
  1633. {{articlistinfo.title}}
  1634. </div>
  1635. <div class="aticlecontent" v-html="articlistinfo.content">
  1636. </div>
  1637. </div>
  1638. <!-- 单个活动详情页 -->
  1639. <div class="scroll" v-show="activitesShowinfo">
  1640. <div class="activitesimages">
  1641. <img :src="activitiesInfo.poster_photo" style="width:100%;height:100%">
  1642. </div>
  1643. <div class="activitestitle">
  1644. 活动标题:{{activitiesInfo.title}}
  1645. </div>
  1646. <div class="activitestitle">
  1647. 活动副标题:{{activitiesInfo.subtitle}}
  1648. </div>
  1649. <div class="activitestitle">
  1650. 活动详细地址:{{activitiesInfo.address}}
  1651. </div>
  1652. <div class="activitestitle">
  1653. 开始时间: {{staffCreateTime(activitiesInfo.start_time)}}
  1654. </div>
  1655. <div class="activitestitle">
  1656. 结束时间:{{staffCreateTime(activitiesInfo.end_time)}}
  1657. </div>
  1658. <div class="activitestitle">
  1659. 报名须知:{{activitiesInfo.sign_up_notice}}
  1660. </div>
  1661. <div class="activitestitle">
  1662. 联系方式:{{activitiesInfo.phone_number}}
  1663. </div>
  1664. <div class="activitestitle">
  1665. 限制人数:{{activitiesInfo.limit_num}}
  1666. </div>
  1667. <div class="activitestitle">
  1668. 已报名人数:{{activitiesInfo.join_num}}
  1669. </div>
  1670. </div>
  1671. <!-- 返回首页 -->
  1672. <!-- <div class="returnpage" v-show="returnshow" @click="returnClick()">
  1673. <div class="returnimages">
  1674. <img src="static/images/u373.png">
  1675. </div>
  1676. <div class="rebacktwo">
  1677. <span>返回</span>
  1678. </div>
  1679. </div> -->
  1680. <div class="reback" v-show="showback" @click="returnIndex()">
  1681. <div class="rebackone">
  1682. <img src="static/images/u373.png">
  1683. </div>
  1684. <div class="rebacktwo">
  1685. <span>首页</span>
  1686. </div>
  1687. </div>
  1688. <!-- 回到顶部 -->
  1689. <div class="reindex" v-show="showindex" @click="returntop()">
  1690. <div class="reindexone">
  1691. <img src="static/images/u378.png">
  1692. </div>
  1693. <div class="reindextwo">
  1694. <span>顶部</span>
  1695. </div>
  1696. </div>
  1697. <div id="qrcode" class="qrcode"></div>
  1698. <!-- 分享管理 -->
  1699. <!-- <div class="dfont">
  1700. <img src="static/images/u642.png">
  1701. </div> -->
  1702. <!-- <div class="done">
  1703. <span @click="sharemanage()">分享管理</span>
  1704. </div> -->
  1705. <div class="dfont2">
  1706. <img src="static/images/u645.png">
  1707. </div>
  1708. <div class="done2">
  1709. <span @click="navigationset()">导航设置</span>
  1710. </div>
  1711. </div>
  1712. <div class="macgic">
  1713. <div class="macgicone" v-for="item in this.navigationdatatwo" :key="item.id">
  1714. <div class="macgicfive">
  1715. <img :src="item.nonavimages" style="width:30px; height:30px">
  1716. </div>
  1717. <div class="macgicsix">
  1718. {{item.navtitle}}
  1719. </div>
  1720. <!-- <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)"> -->
  1721. </div>
  1722. </div>
  1723. <!-- <div class="tabs">
  1724. <ul class="tabList">
  1725. <li class="tabOne" v-for="item in this.navigationdatatwo" :key="item.id" @click="CallPhone(item.linktype,item.navaddress)">
  1726. <img :src="item.navimages" alt />
  1727. <span>{{item.navtitle}}</span>
  1728. </li>
  1729. </ul>
  1730. </div> -->
  1731. </el-col>
  1732. <el-col :span="7" >
  1733. <div class="share" v-show="navigation">
  1734. <div class="share2">
  1735. <span class="share3">导航设置</span>
  1736. </div>
  1737. <div class="navigacontent">
  1738. <div class="navigationone" v-for="(item,index) in this.navigationdata" :key="item.id">
  1739. <div class="navitwo">
  1740. <img :src="item.navimages" style="width:35px;height:35px">
  1741. </div>
  1742. <div class="navithree">
  1743. <span>{{item.navtitle}}</span>
  1744. </div>
  1745. <div class="navifour">
  1746. <span class="el-icon-edit-outline" @click="editNavigationVisible = true;editNavigation(item.id);"></span>
  1747. </div>
  1748. <div class="navifive">
  1749. <span class="el-icon-delete" @click="deleteNavigation(item.id,index)"></span>
  1750. </div>
  1751. </div>
  1752. <div class="addbutton">
  1753. <el-button size="medium" style="width:100px" @click="navigationVisible = true">添加</el-button>
  1754. </div>
  1755. </div>
  1756. </div>
  1757. </el-col>
  1758. <el-col :span="7">
  1759. <div class="share" v-show="share">
  1760. <div class="share2">
  1761. <span class="share3" >分享管理</span>
  1762. </div>
  1763. <div class="navigacontent">
  1764. <div class="sharecontent">
  1765. <div class="shareexam"><span>设置后效果实例:</span></div>
  1766. <div class="shareimg">
  1767. <div class="sharetwoimg">
  1768. <div class="sharefont">
  1769. <span class="sharefontone">{{shareInfo.share_title}}</span>
  1770. </div>
  1771. <div class="sharethree">
  1772. <span class="sharefour">{{shareInfo.share_introduction}}</span>
  1773. </div>
  1774. <div class="sharefive" v-show="sharefive">
  1775. <img :src="shareInfo.share_images" style="width:65px;height:70px">
  1776. </div>
  1777. </div>
  1778. <div class="triangle"></div>
  1779. <div class="sharepic" v-show="sharepic">
  1780. <img :src="shareInfo.share_images" style="width:50px;height:50px">
  1781. </div>
  1782. </div>
  1783. <div class="inputone">
  1784. <span class="inputfont">分享标题:</span>
  1785. </div>
  1786. <div class="inputwo">
  1787. <el-input :disabled="disabled" v-model="shareform.sharetitle"></el-input>
  1788. </div>
  1789. <div class="inputhree">
  1790. <span class="inputfont">分享简介:</span>
  1791. </div>
  1792. <div class="inpufive">
  1793. <el-input :disabled="disabled" v-model="shareform.shareintroduction"></el-input>
  1794. </div>
  1795. <div class="inputsix">
  1796. <span class="inputfont">分享图标:</span>
  1797. </div>
  1798. <div class="inputten">
  1799. <img :src="shareInfo.share_images" style="width:100px;height:100px">
  1800. </div>
  1801. <div class="inputserven">
  1802. <el-upload
  1803. :data="sharedata"
  1804. class="avatar-uploader"
  1805. action="https://upload.qiniup.com"
  1806. :show-file-list="false"
  1807. :on-success="shareAvatarSuccess"
  1808. :before-upload="shareAvatarUpload"
  1809. v-show="shareshow">
  1810. <img v-if="shareform.shareImages" :src="shareform.shareImages" class="avatar">
  1811. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1812. </el-upload>
  1813. </div>
  1814. </div>
  1815. <div class="addbuttontwo">
  1816. <el-button size="medium" type="primary" style="width:130px" @click="changbutton();"><span id="edit">编辑</span></el-button>
  1817. </div>
  1818. </div>
  1819. </div>
  1820. </el-col>
  1821. </el-row>
  1822. </div>
  1823. </div>
  1824. </template>
  1825. <script>
  1826. import BreadCrumb from "../components/bread-crumb";
  1827. import NewFeature from "./components/new-feature";
  1828. import UsedList from "./components/used-list";
  1829. import ContactUs from "./components/contact-us";
  1830. import AddContact from "./components/add-contact";
  1831. import { getToken } from '@/api/qiniu'
  1832. import { getFileExtension} from '@/utils/tools'
  1833. import { Swipe, SwipeItem } from 'mint-ui';
  1834. import Vue from 'vue';
  1835. import 'mint-ui/lib/style.css';
  1836. import {GetUserdModel,eidtmodel,editRideWay,SaveWorkTime,saverideway,editHospital,SaveHospital,editOffice,editDoc,
  1837. deleteModleById,SaveOffice,editImages,saveDocInfo,deleteDoctor,SaveDocdata,editOfficeEnviroment,SaveOfficeEnvironment,
  1838. getQueryNewModel,getHospital,getHospitaldata,hispitalmore,officemore,docmore,kemore,articlemore,Activitiesmore,kemoreaddNavigation,getNavigationList,addNavigation,
  1839. AddShareInfo,getShareInfo,deleteNavigation,deletemodle,editNavigation,SaveNavigation,getactivity,getMacImages,SaveActivit,getOrderModel,
  1840. GetRotationImages,getRotationDetail,editVisibleByid,deleteImages,deleteSingleImages,SaveEditPic,addeditpic,AddedialogVisible,geteditRotationImages,
  1841. editSingleVisible,UpdateSingleForm,addEditPicForm,getEditImages,AddRotationVisible,getActivities,getArticlelist,getArticleType,editGetArticlistDetail,UpdatedArticeDetail,
  1842. AddOfficeThreeVisible,getEnImages,getEnImagesTwo,officetwoVisbile,AddOfficetTwo,deleteOfficeById,GetArticleById,GetAllActivity,AddLinkAddress,getAllConnecWay,getConnecWay,editConnecway,
  1843. UpdateConnectform,deleteConnecWay,UpdateContactform,addConnectways,getHospitalIntroduction,UpdateHospitalAddress,AddPiCLink,getLinkAddressDetail,UpdatePicFormThree,getEnImagesThree,
  1844. AddMacgicform,getMacImagesDetail,deleteMacImagesDetail,UpdateMacform,getEditMacImageDetail,UpdateEditMacform,getLikeMacAddressById,GetArticleName,GetAllArticelist,UpdateLinkAddress,
  1845. AddMacLinkAddress,GetLinkAddress,addNavigationlinkform,getNavgitionlinkAddress,UpdateEditNavigationLinkform,getQueryDocInfo,change,AddDoctorInfoTwo,navigationset,GetNavigationData,getAllModelTitle,GetDoctorDetail,
  1846. GetArticleListDetail,ActivitiesListInfo,AddLinkAddressTwo,GetLinkAddressByLinkid,AddLinkAddressFour,GetMagicClickByLinkid} from '@/api/site/site'
  1847. import { IncomingMessage, get } from 'http';
  1848. import { isIP, isIPv4 } from 'net';
  1849. import Swiper from "swiper";
  1850. import { constants } from 'crypto';
  1851. import QRCode from 'qrcodejs2';
  1852. import newsInformationVue from './components/news-information.vue';
  1853. import Neditor from '@/components/Neditor'
  1854. import { rejects, fail, strictEqual } from 'assert';
  1855. import { copyFile } from 'fs';
  1856. import { truncateSync } from 'fs';
  1857. import { isAbsolute } from 'path';
  1858. import { stringify } from 'querystring';
  1859. import {checkNumber,uParseTime,checkSort} from "@/utils/tools";
  1860. export default {
  1861. name: "preview",
  1862. components: {
  1863. Neditor,
  1864. BreadCrumb,
  1865. NewFeature,
  1866. UsedList,
  1867. AddContact,
  1868. ContactUs,
  1869. },
  1870. data() {
  1871. var checkNumberRule = (rule, value, callback) => {
  1872. if (!checkNumber(value)) {
  1873. callback(new Error('请输入1-99的整数'));
  1874. }else {
  1875. callback();
  1876. }
  1877. };
  1878. var checkSortRule = (rule,value,callback)=>{
  1879. if(!checkSort(value)){
  1880. callback(new Error('请输入1-9的整数'));
  1881. }else{
  1882. callback();
  1883. }
  1884. }
  1885. return {
  1886. radio:3,
  1887. scrollTop: 0,
  1888. timer: null,
  1889. modeltitle:[],
  1890. hospitalform:[],
  1891. patientModels:[
  1892. {
  1893. images:[],
  1894. macimages:[],
  1895. mactitle:[],
  1896. }
  1897. ],
  1898. maclist:[{macimg:"",mactitle:""} ],
  1899. keEnvironmentImages:[],
  1900. ordrotaionImages:[],
  1901. doctors:[],
  1902. rotatationImages:[],
  1903. macImages:[],
  1904. Activitieslist:[],
  1905. Articlelist:[],
  1906. Connectways:[],
  1907. crumbs: [{ path: false, name: "预览" }],
  1908. activeName: 'first',
  1909. activeNameOne: 'index',
  1910. activeNameThree: 'three',
  1911. name: "car",
  1912. modelshow:false,
  1913. modelshowtwo:true,
  1914. show:true,
  1915. defalutshow:false,
  1916. shows:false,
  1917. keshow:false,
  1918. docshow:false,
  1919. OfficeEnviromentShow:false,
  1920. ArticlelistShow:false,
  1921. ActivitieslistShow:false,
  1922. MacnavigationShow:false,
  1923. showimages:true,
  1924. showimage:false,
  1925. edialogVisible:false,
  1926. dialogVisibletwo:false,
  1927. dialogVisiblefour:false,
  1928. dialogVisiblefive:false,
  1929. hosipitalVisible:false,
  1930. dialogVisible:false,
  1931. adddialogVisible:false,
  1932. officeVisible:false,
  1933. docVisible:false,
  1934. comshow:false,
  1935. centerDialogVisible:false,
  1936. editcenterDialogVisible:false,
  1937. offficeEnviromentVisible:false,
  1938. ArticleVisible:false,
  1939. navigation:false,
  1940. share:false,
  1941. navigationVisible:false,
  1942. linkVisible:false,
  1943. linkVisibletwo:false,
  1944. linkVisiblethree:false,
  1945. linkVisiblefour:false,
  1946. linkaddressVisible:false,
  1947. addressVisible:false,
  1948. addressVisibleTwo:false,
  1949. define:true,
  1950. definetwo:false,
  1951. definethree:false,
  1952. definefour:false,
  1953. definefive:false,
  1954. disabled:true,
  1955. showback:false,
  1956. showindex:false,
  1957. editNavigationVisible:false,
  1958. activityVisible:false,
  1959. addVisible:false,
  1960. addVisibleTwo:false,
  1961. picshow:false,
  1962. showpiclink:false,
  1963. linkTypeShow:false,
  1964. zhanShow:false,
  1965. definelinkShow:false,
  1966. editRotationVisible:false,
  1967. editVisible:false,
  1968. setlinkVisible:false,
  1969. singleVisible:false,
  1970. singformdialogVisible:false,
  1971. edtimacdialogVisible:false,
  1972. editImagesVisbile:false,
  1973. officetwoVisible:false,
  1974. officethreeVisible:false,
  1975. addpicdialogVisible:false,
  1976. addpicdialogVisibletwo:false,
  1977. HospitalIntroduction:false,
  1978. picshow:false,
  1979. contact:false,
  1980. contacttwo:false,
  1981. contactthree:false,
  1982. linkshow:false,
  1983. docshowinfo:false,
  1984. articlelistshowinfo:false,
  1985. activitesShowinfo:false,
  1986. returnshow:false,
  1987. ellipsis:'',
  1988. docnames:[],
  1989. articeType:[
  1990. {id:1,name:"SCRM"},
  1991. {id:2,name:"酷医云"},
  1992. ],
  1993. articeTypelist:[],
  1994. articeOptions: [
  1995. { id: 1 ,name:"文章"},
  1996. { id: 2, name:"活动"}
  1997. ],
  1998. articeTypeOptions:[],
  1999. optiontype: [
  2000. {id:1,name:"文章"},
  2001. {id:2,name:"活动"},
  2002. {id:3,name:"肾科咨询"},
  2003. {id:4,name:"肾科动态"},
  2004. {id:5,name:"肾科科普"},
  2005. {id:6,name:"生活"},
  2006. {id:7,name:"肾友故事"},
  2007. ],
  2008. navitionlinkType:[
  2009. {id:1,name:"首页"},
  2010. {id:2,name:"微商城"},
  2011. {id:3,name:"联系我们"},
  2012. ],
  2013. navitionlinkTypeThree:[
  2014. {id:1,name:"首页"},
  2015. {id:2,name:"微商城"},
  2016. {id:3,name:"联系我们"},
  2017. ],
  2018. option:[
  2019. ],
  2020. ops: {
  2021. vuescroll: {},
  2022. scrollPanel: {},
  2023. ail: {
  2024. keepShow:true
  2025. },
  2026. bar: {
  2027. hoverStyle: false,
  2028. onlyShowBarOnScroll: true, //是否只有滚动的时候才显示滚动条
  2029. background: 'red',
  2030. }
  2031. },
  2032. keEnvironmentImages:[],
  2033. qiniuDomain: 'https://images.shengws.com/',
  2034. rotationData: { token:'',key: '' },
  2035. doctorDatatwo: { token: '', key: '' },
  2036. doctorData:{ token:'',key:'' },
  2037. navigationData:{ token:'',key:''},
  2038. sharedata:{ token:'',key:''},
  2039. editcheckdata: { token:'',key:''},
  2040. editcheckdatatwo: { token:'',key:''},
  2041. picform:{
  2042. images:"",
  2043. sort:"",
  2044. piclink:1,
  2045. linkaddress:"",
  2046. modeid:"",
  2047. },
  2048. picformTwo:{
  2049. defineaddress:"",
  2050. },
  2051. picformThree:{
  2052. id:"",
  2053. defineaddress:"",
  2054. },
  2055. editpicform:{
  2056. images:"",
  2057. sort:"",
  2058. piclink:1,
  2059. linkaddress:"",
  2060. linkid:"",
  2061. },
  2062. editpic:{
  2063. images:"",
  2064. sort:"",
  2065. piclink:1,
  2066. modeid:"",
  2067. linkid:"",
  2068. },
  2069. officeform:{
  2070. title:"",
  2071. sort:"",
  2072. introduction:"",
  2073. },
  2074. officeformtwo:{
  2075. officeImages:"",
  2076. sort:"",
  2077. },
  2078. officeformthree:{
  2079. id:"",
  2080. officeImages:"",
  2081. sort:"",
  2082. modelid:"",
  2083. },
  2084. eidtDoctorform:{
  2085. name:"",
  2086. user_title:"",
  2087. dochead:"",
  2088. sort:"",
  2089. content:"",
  2090. },
  2091. rotationform:{
  2092. id:"",
  2093. title:"",
  2094. sort:"",
  2095. rotationImages:[],
  2096. },
  2097. workform:{
  2098. title:"",
  2099. sort:"",
  2100. worktime:"",
  2101. },
  2102. rideform:{
  2103. title:"",
  2104. sort:"",
  2105. ride_way:"",
  2106. },
  2107. doctorform:{
  2108. title:"",
  2109. sort:"",
  2110. image:"",
  2111. modleid:"",
  2112. },
  2113. docimages:[],
  2114. docimage:[],
  2115. model:{
  2116. id:"",
  2117. title:"",
  2118. sort:"",
  2119. },
  2120. officeform:{
  2121. title:"",
  2122. sort:"",
  2123. introduction:"",
  2124. },
  2125. modelform:{
  2126. id:"",
  2127. title:"",
  2128. sort:"",
  2129. },
  2130. hispitalform:{
  2131. title:"",
  2132. sort:"",
  2133. introduction:"",
  2134. },
  2135. editdocfrom:{
  2136. doc_name:"",
  2137. dochead:"",
  2138. doc_postion:"",
  2139. doc_sort:"",
  2140. docintroduction:"",
  2141. },
  2142. keform:{
  2143. title:"",
  2144. sort:"",
  2145. keImages:[],
  2146. },
  2147. navigationform:{
  2148. id:"",
  2149. navtitle:"",
  2150. navigationImages:"",
  2151. nonavigationImages:"",
  2152. navigationaddress:"",
  2153. jumpset:1,
  2154. linkid:"",
  2155. linktype:"",
  2156. },
  2157. shareform:{
  2158. sharetitle:"",
  2159. shareintroduction:"",
  2160. shareImages:"",
  2161. },
  2162. addform:{
  2163. id:"",
  2164. title:"",
  2165. sort:"",
  2166. images:[],
  2167. model_id:"",
  2168. },
  2169. singform:{
  2170. id:"",
  2171. images:"",
  2172. sort:"",
  2173. piclink:"",
  2174. linkaddress:"",
  2175. modeid:"",
  2176. linkid:"",
  2177. },
  2178. macform:{
  2179. id:"",
  2180. title:"",
  2181. sort:"",
  2182. macimages:[],
  2183. },
  2184. macgicform:{
  2185. title:"",
  2186. sort:"",
  2187. macgicimages:"",
  2188. jumpset:1,
  2189. linkaddress:"",
  2190. },
  2191. editmacform:{
  2192. margtitle:"",
  2193. margimage:"",
  2194. marginaddress:"",
  2195. jumpset:1,
  2196. linkid:"",
  2197. },
  2198. macdataImages:[],
  2199. images:"",
  2200. positions:[
  2201. { index: 1, name: '医士' },
  2202. { index: 2, name: '医师' },
  2203. { index: 3, name: '住院医师' },
  2204. { index: 4, name: '主治医师' },
  2205. { index: 5, name: '副主任医师' },
  2206. { index: 6, name: '主任医师' },
  2207. { index: 7, name: '护士' },
  2208. { index: 8, name: '护师' },
  2209. { index: 9, name: '主管护师' },
  2210. { index: 10, name: '副主任护师' },
  2211. { index: 11, name: '主任护师' },
  2212. { index: 12, name: '运营专员' },
  2213. ],
  2214. genderOptions:[
  2215. {id:1, name:'自定义'},
  2216. {id:2, name:'不跳转'},
  2217. ],
  2218. genderPicLink:[
  2219. {id:1,name:"无"},
  2220. {id:2,name:"自定义"},
  2221. ],
  2222. linkType:[
  2223. {id:1,name:"无"},
  2224. {id:2,name:"站内链接"},
  2225. {id:3,name:"站外链接"},
  2226. ],
  2227. defineOptions:[
  2228. {id:1,name:'无'},
  2229. {id:2,name:'站内链接'},
  2230. {id:3,name:'电话'},
  2231. {id:4,name:'站外链接'},
  2232. ],
  2233. neditorshow:true,
  2234. linkform:{
  2235. linktype:"",
  2236. linkdetail:"",
  2237. actitype:"",
  2238. phone:"",
  2239. offsitelink:"",
  2240. },
  2241. refform:{
  2242. defineaddress:"",
  2243. },
  2244. editNavigationform:{
  2245. navtitle:"",
  2246. navimages:"",
  2247. nonavimages:"",
  2248. jumpset:1,
  2249. navaddress:"",
  2250. linkid:"",
  2251. linktype:"",
  2252. },
  2253. activitform:{
  2254. ttile:"",
  2255. sort:"",
  2256. number:"",
  2257. },
  2258. contactform:{
  2259. title:"",
  2260. sort:"",
  2261. connectway:"",
  2262. },
  2263. connectform:{
  2264. title:"",
  2265. connecway:"",
  2266. cotent:"",
  2267. },
  2268. contacthreeform:{
  2269. title:"",
  2270. connecway:"",
  2271. content:"",
  2272. },
  2273. connections:[
  2274. {id:1,name:'电话'},
  2275. {id:2,name:'非电话'},
  2276. ],
  2277. hospitaladdress:{
  2278. title:"",
  2279. sort:"",
  2280. hosaddress:"",
  2281. },
  2282. rules: {
  2283. title: [{required: true, message: "请填写模块标题",},],
  2284. sort: [{required: true,message:"请填写排序值"},{validator:checkNumberRule}],
  2285. introduction: [{required: true,message:"请填写医院介绍"}],
  2286. image: [{required: true,message:"请填写新增名医"}],
  2287. docname: [{required:true,message:"请填写医生姓名"}],
  2288. docHead: [{required: true,message:"请填写医生头像"}],
  2289. dochead: [{required: true,message:"请填写医生头像"}],
  2290. docpositional:[{required:true,message:"请填写医生职位"}],
  2291. docintroduction:[{required:true,message:"请填写医生简介"}],
  2292. images:[{required:true,message:"请添加图片"}],
  2293. keimages:[{required:true,message:"请填写新增科室环境"}],
  2294. user_title:[{required:true,message:"请填写医生职称"}],
  2295. docimages:[{required:true,message:"请填写新增名医"}],
  2296. navtitle:[{required:true,message:"请填写导航标题"}],
  2297. navigationImages:[{required:true,message:"请填写导航图标"}],
  2298. worktime:[{required:true,message:"请填写工作时间"}],
  2299. rideway:[{required:true,message:"请填写乘车方式"}],
  2300. navigatitle:[{required:true,message:"请填写导航标题"}],
  2301. navimages:[{required:true,message:"导航图标选中"}],
  2302. nonavimages:[{required:true,message:"导航图标未选中"}],
  2303. officeImages:[{required:true,message:"请上传图片"}],
  2304. jumpset:[{required:true,message:"请选择跳转设置"}],
  2305. piclink:[{required:true,message:"请选择图片链接"}],
  2306. doc_name:[{required:true,message:"请编辑医生姓名"}],
  2307. defineaddress:[{required:true,message:"请填写站外地址"}],
  2308. number:[{required:true,message:"请填写活动条数"},{validator:checkSortRule}],
  2309. },
  2310. keData: { token: '' ,key: ''},
  2311. navigationdata:[],
  2312. navigationdatatwo:[],
  2313. shareInfo:[],
  2314. shareshow:false,
  2315. ordmodel:[
  2316. {
  2317. images:[],
  2318. }
  2319. ],
  2320. rotationdata:[],
  2321. rotationdatatwo:[],
  2322. rotationdataThree:[],
  2323. articeform:{
  2324. title:"",
  2325. sort:"",
  2326. category:"",
  2327. categoryone:"",
  2328. },
  2329. typeShow:false,
  2330. articeNamelist:[],
  2331. articeTitlelist:[],
  2332. linkformfive:{
  2333. id:"",
  2334. linktype:'',
  2335. instationlink:'',
  2336. articetype:'',
  2337. title:'',
  2338. phone:'',
  2339. outstationlink:'',
  2340. linkaddress:'',
  2341. },
  2342. linkformtwo:{
  2343. linktype:'',
  2344. instationlink:'',
  2345. phone:'',
  2346. outstationlink:'',
  2347. linkaddress:'',
  2348. },
  2349. uploadImages:0,
  2350. uploadimageshow:true,
  2351. navigationlinkform:{
  2352. id:"",
  2353. linktype:"",
  2354. navitionlinktype:"",
  2355. phone:"",
  2356. outstationlink:"",
  2357. instationlink:"",
  2358. linkaddress:"",
  2359. },
  2360. editnavigationlinkform:{
  2361. id:"",
  2362. linktype:1,
  2363. navitionlinktype:"",
  2364. phone:"",
  2365. outstationlink:"",
  2366. linkaddress:"",
  2367. },
  2368. sharefive:false,
  2369. sharepic:false,
  2370. showrotation:true,
  2371. modelTtile:[],
  2372. editdoctor:{},
  2373. articlistinfo:{},
  2374. activitiesInfo:{},
  2375. };
  2376. },
  2377. methods:{
  2378. initSwiper() {
  2379. var mySwiper1 = new Swiper(".bannerSwiper", {
  2380. loop: false, // 循环模式选项
  2381. // 如果需要分页器
  2382. pagination: {
  2383. el: ".swiper-pagination"
  2384. },
  2385. autoplay: {
  2386. disableOnInteraction: false
  2387. }
  2388. });
  2389. var mySwiper2 = new Swiper(".imgSwiper", {
  2390. slidesPerView: 2
  2391. });
  2392. },
  2393. staffCreateTime(time) {
  2394. return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
  2395. },
  2396. changeInput(e){
  2397. this.$forceUpdate();
  2398. },
  2399. changeType(id){
  2400. if(id == 1){
  2401. this.typeShow = true;
  2402. this.GetAllArticelist();
  2403. }
  2404. if(id == 2){
  2405. this.typeShow = false;
  2406. this.GetAllActivity();
  2407. // GetAllActivity().then(response=>{
  2408. // if(response.data.state == 1){
  2409. // var activtity = response.data.data.activtity;
  2410. // console.log("所有活动",activtity)
  2411. // this.articeNamelist = response.data.data.activtity;
  2412. // }
  2413. // })
  2414. }
  2415. },
  2416. changeTypetwo(id){
  2417. GetArticleById(id).then(response=>{
  2418. if(response.data.state == 1){
  2419. var articlelist = response.data.data.articlelist;
  2420. this.articeNamelist = response.data.data.articlelist;
  2421. }
  2422. })
  2423. },
  2424. AddLinkAddressTwo(formName){
  2425. console.log("站外地址:",this.refform.defineaddress)
  2426. this.$refs[formName].validate((valid)=>{
  2427. if(valid){
  2428. AddLinkAddressTwo(this.refform.defineaddress).then(response=>{
  2429. if(response.data.state == 1){
  2430. this.refform.defineaddress = "";
  2431. this.addressVisible = false;
  2432. var patientLinkaddress = response.data.data.patientLinkaddress;
  2433. this.singform.linkaddress = patientLinkaddress.defineaddress;
  2434. this.singform.linkid = patientLinkaddress.id;
  2435. console.log("数据数据返回",patientLinkaddress)
  2436. }
  2437. })
  2438. }
  2439. })
  2440. },
  2441. AddLinkAddressFour(formName){
  2442. this.$refs[formName].validate((valid)=>{
  2443. if(valid){
  2444. AddLinkAddressFour(this.refform.defineaddress).then(response=>{
  2445. if(response.data.state == 1){
  2446. this.addressVisibleTwo = false;
  2447. var linkaddress = response.data.data.linkaddress;
  2448. this.editpicform.linkaddress = linkaddress.defineaddress;
  2449. this.editpicform.linkid = linkaddress.id;
  2450. this.refform.defineaddress = "";
  2451. console.log("问问",linkaddress)
  2452. }
  2453. })
  2454. }
  2455. })
  2456. },
  2457. changeTypeThree(id){
  2458. if(id == 1){
  2459. this.linkshow = true;
  2460. }
  2461. if(id == 2){
  2462. this.linkshow = false;
  2463. GetAllActivity(this.articeNamelist).then(response=>{
  2464. if(response.data.state == 1){
  2465. var activtity = response.data.data.activtity;
  2466. console.log("所有活动",activtity)
  2467. this.articeNamelist = response.data.data.activtity;
  2468. }
  2469. })
  2470. }
  2471. },
  2472. changeOptionType(id){
  2473. if(id=1){
  2474. this.getArticleType();
  2475. }
  2476. if(id=2){
  2477. }
  2478. if(id=3){
  2479. }
  2480. if(id=4){
  2481. }
  2482. if(id=5){
  2483. }
  2484. if(id=6){
  2485. }
  2486. if(id=7){
  2487. }
  2488. },
  2489. AddPiCLink(formName){
  2490. this.$refs[formName].validate((valid)=>{
  2491. if(valid){
  2492. AddPiCLink(this.picformTwo).then(response=>{
  2493. if(response.data.state == 1){
  2494. var conlinkaddress = response.data.data.conlinkaddress;
  2495. console.log("小心得按",conlinkaddress)
  2496. this.picform.linkaddress = conlinkaddress.defineaddress;
  2497. }
  2498. })
  2499. }
  2500. })
  2501. },
  2502. getLinkAddressDetail(id){
  2503. getLinkAddressDetail(id,this.picformThree).then(response=>{
  2504. if(response.data.state == 1){
  2505. var conlinkaddress = response.data.data.conlinkaddress;
  2506. this.picformThree.defineaddress = conlinkaddress.defineaddress;
  2507. this.picformThree.id = conlinkaddress.id;
  2508. console.log("conlinkaddress是什么?",conlinkaddress)
  2509. }
  2510. })
  2511. },
  2512. UpdatePicFormThree(formName){
  2513. this.$refs[formName].validate((valid)=>{
  2514. UpdatePicFormThree(this.picformThree.id,this.picformThree).then(response=>{
  2515. if(response.data.state == 1){
  2516. this.setlinkVisible = false;
  2517. var conlinkaddress = response.data.data.conlinkaddress;
  2518. console.log("conlinkaddress",conlinkaddress)
  2519. this.editpic.linkaddress = conlinkaddress.defineaddress;
  2520. this.editpic.linkid = conlinkaddress.id;
  2521. }
  2522. })
  2523. })
  2524. },
  2525. getHospital(){
  2526. getHospital().then(response=>{
  2527. if(response.data.state == 1){
  2528. this.hospitalform = response.data.data.hostital;
  2529. }
  2530. })
  2531. },
  2532. getHospitaldata(){
  2533. getHospitaldata().then(response=>{
  2534. if(response.data.state == 1){
  2535. this.patientModels = response.data.data.patientModels;
  2536. var patientModels = response.data.data.patientModels;
  2537. // var articles = response.data.data.articles;
  2538. // this.Articlelist = articles;
  2539. // console.log("文章码子是",articles)
  2540. console.log("数据是什么",this.patientModels)
  2541. }
  2542. })
  2543. },
  2544. getOrderModel(){
  2545. getOrderModel().then(response=>{
  2546. if(response.data.state == 1){
  2547. var ordmodel = response.data.data.ordmodel;
  2548. this.ordmodel = response.data.data.ordmodel;
  2549. // var images = [];
  2550. // console.log("我爱你中国",this.ordmodel);
  2551. // for (let index = 0; index < this.ordmodel.length; index++) {
  2552. // var rotationImages = this.ordmodel[index].Oldration.rotation_images;
  2553. // console.log("rotationImages",rotationImages)
  2554. // var rotationImagess = rotationImages.split(",");
  2555. // console.log("rotationImagess",rotationImagess)
  2556. // images = rotationImagess;
  2557. // this.ordmodel[index]["images"] = images;
  2558. // }
  2559. console.log("mawenqiang",this.ordmodel)
  2560. }
  2561. })
  2562. },
  2563. myindex(){
  2564. this.modelshowtwo = true;
  2565. this.modelshow = false;
  2566. },
  2567. myindextwo(){
  2568. this.modelshowtwo= false;
  2569. this.modelshow = true;
  2570. },
  2571. handleClick(tab,event){
  2572. if(this.activeNameOne == "index"){
  2573. this.modelshowtwo = true;
  2574. this.modelshow = false;
  2575. }
  2576. if(this.activeNameOne == "contactus"){
  2577. this.modelshowtwo = false;
  2578. this.modelshow = true;
  2579. }
  2580. },
  2581. handleClickTwo(tab,event){
  2582. if(this.activeName == "used"){
  2583. this.getQueryNewModel();
  2584. }
  2585. },
  2586. handleClickThree(tab,event){
  2587. if(this.activeNameThree == "usedtwo"){
  2588. this.GetUserdModel();
  2589. }
  2590. },
  2591. sharemanage(){
  2592. this.navigation = false;
  2593. this.share = true;
  2594. },
  2595. navigationset(){
  2596. navigationset().then(response=>{
  2597. if(response.data.state == 1){
  2598. var sgjPatientNavigation = response.data.data.sgjPatientNavigation;
  2599. var navigations = response.data.data.navigations;
  2600. for (let index = 0; index < navigations.length; index++) {
  2601. navigations[0].nonavimages = "https://images.shengws.com/2089_o_1571990714383.png";
  2602. }
  2603. this.navigationdata = navigations;
  2604. this.navigationdatatwo = navigations;
  2605. console.log("this.navigationdatatwo是什么?",navigations)
  2606. this.navigation = true;
  2607. this.share = false;
  2608. }
  2609. })
  2610. },
  2611. handleEditSuccess(res,file){
  2612. this.picform.images = this.qiniuDomain + res.url;
  2613. this.picshow = true;
  2614. },
  2615. handleEditAvatarUpload(file){
  2616. var fileType = file.type
  2617. const isJPG = fileType.indexOf("image") > -1;
  2618. const isLt2M = file.size / 1024 / 1024 < 2;
  2619. if (!isJPG) {
  2620. this.$message.error("只能上传图片");
  2621. return false;
  2622. }
  2623. if (!isLt2M) {
  2624. this.$message.error("图片大小不能超过 2MB!");
  2625. return false;
  2626. }
  2627. var date = new Date()
  2628. var ext = getFileExtension(file.name)
  2629. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2630. this.loadingText = '封面图片上传中'
  2631. const _self = this
  2632. return new Promise((resolve, reject) => {
  2633. getToken().then(response => {
  2634. const token= response.data.data.uptoken
  2635. console.log("导航图标token是什么?",token)
  2636. _self._data.navigationData.token = token;
  2637. _self._data.navigationData.key = key;
  2638. resolve(true)
  2639. }).catch(err => {
  2640. reject(false)
  2641. })
  2642. })
  2643. return isJPG && isLt2M;
  2644. },
  2645. handleEditpicSuccess(res,file){
  2646. this.editpic.images = this.qiniuDomain + res.url;
  2647. },
  2648. handleEditpicAvatarUpload(file){
  2649. var fileType = file.type
  2650. const isJPG = fileType.indexOf("image") > -1;
  2651. const isLt2M = file.size / 1024 / 1024 < 2;
  2652. if (!isJPG) {
  2653. this.$message.error("只能上传图片");
  2654. return false;
  2655. }
  2656. if (!isLt2M) {
  2657. this.$message.error("图片大小不能超过 2MB!");
  2658. return false;
  2659. }
  2660. var date = new Date()
  2661. var ext = getFileExtension(file.name)
  2662. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2663. this.loadingText = '封面图片上传中'
  2664. const _self = this
  2665. return new Promise((resolve, reject) => {
  2666. getToken().then(response => {
  2667. const token= response.data.data.uptoken
  2668. console.log("导航图标token是什么?",token)
  2669. _self._data.navigationData.token = token;
  2670. _self._data.navigationData.key = key;
  2671. resolve(true)
  2672. }).catch(err => {
  2673. reject(false)
  2674. })
  2675. })
  2676. return isJPG && isLt2M;
  2677. },
  2678. //轮播图
  2679. RotationchartSuccess(res,file,filelist){
  2680. this.rotationform.rotationImages.push(this.qiniuDomain + res.url);
  2681. console.log("双层地址",file.url)
  2682. console.log("联系我们轮播图地址",this.rotationform.rotationImages);
  2683. },
  2684. beforeRotationUpload(file){
  2685. console.log("尺寸",file.size)
  2686. const isJPG = file.type === 'image/jpeg';
  2687. const isLt2M = file.size / 1024 / 1024 < 2;
  2688. if (!isJPG) {
  2689. this.$message.error('上传头像图片只能是 JPG 格式!');
  2690. }
  2691. if (!isLt2M) {
  2692. this.$message.error('上传头像图片大小不能超过 2MB!');
  2693. }
  2694. var date = new Date()
  2695. var ext = getFileExtension(file.name)
  2696. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2697. const _self = this
  2698. return new Promise((resolve, reject) => {
  2699. getToken().then(response => {
  2700. const token= response.data.data.uptoken
  2701. console.log("联系我们轮播图token是什么?",token)
  2702. _self._data.rotationData.token = token;
  2703. _self._data.rotationData.key = key;
  2704. resolve(true)
  2705. }).catch(err => {
  2706. reject(false)
  2707. })
  2708. })
  2709. return isJPG && isLt2M;
  2710. },
  2711. edithandleAvatarSuccess(res){
  2712. this.editpicform.images = this.qiniuDomain + res.url;
  2713. this.picshow = true;
  2714. },
  2715. editbeforeAvatarUpload(file){
  2716. console.log("上传类型",file.type)
  2717. var fileType = file.type
  2718. const isJPG = fileType.indexOf("image") > -1;
  2719. const isLt2M = file.size / 1024 / 1024 < 2;
  2720. if (!isJPG) {
  2721. this.$message.error("只能上传图片");
  2722. return false;
  2723. }
  2724. if (!isLt2M) {
  2725. this.$message.error("图片大小不能超过 2MB!");
  2726. return false;
  2727. }
  2728. var date = new Date()
  2729. var ext = getFileExtension(file.name)
  2730. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2731. const _self = this
  2732. return new Promise((resolve, reject) => {
  2733. getToken().then(response => {
  2734. const token= response.data.data.uptoken
  2735. console.log("token是什么?",token)
  2736. _self._data.navigationData.token = token;
  2737. _self._data.navigationData.key = key;
  2738. resolve(true)
  2739. }).catch(err => {
  2740. reject(false)
  2741. })
  2742. })
  2743. return isJPG && isLt2M;
  2744. },
  2745. handleAvatarSuccess(res, file) {
  2746. this.eidtDoctorform.dochead = this.qiniuDomain + res.url;
  2747. },
  2748. navigationAvatarSuccess(res,file){
  2749. this.navigationform.navigationImages = this.qiniuDomain + res.url;
  2750. },
  2751. navigationbeforeAvatarUpload(file){
  2752. var fileType = file.type
  2753. const isJPG = fileType.indexOf("image") > -1;
  2754. const isLt2M = file.size / 1024 / 1024 < 2;
  2755. if (!isJPG) {
  2756. this.$message.error("只能上传图片");
  2757. return false;
  2758. }
  2759. if (!isLt2M) {
  2760. this.$message.error("图片大小不能超过 2MB!");
  2761. return false;
  2762. }
  2763. var date = new Date()
  2764. var ext = getFileExtension(file.name)
  2765. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2766. this.loadingText = '封面图片上传中'
  2767. const _self = this
  2768. return new Promise((resolve, reject) => {
  2769. getToken().then(response => {
  2770. const token= response.data.data.uptoken
  2771. console.log("导航图标token是什么?",token)
  2772. _self._data.navigationData.token = token;
  2773. _self._data.navigationData.key = key;
  2774. resolve(true)
  2775. }).catch(err => {
  2776. reject(false)
  2777. })
  2778. })
  2779. return isJPG && isLt2M;
  2780. },
  2781. navigationAvatarSuccessone(res,file){
  2782. this.navigationform.nonavigationImages = this.qiniuDomain + res.url;
  2783. },
  2784. navigationbeforeAvatarUploadone(file){
  2785. var fileType = file.type
  2786. const isJPG = fileType.indexOf("image") > -1;
  2787. const isLt2M = file.size / 1024 / 1024 < 2;
  2788. if (!isJPG) {
  2789. this.$message.error("只能上传图片");
  2790. return false;
  2791. }
  2792. if (!isLt2M) {
  2793. this.$message.error("图片大小不能超过 2MB!");
  2794. return false;
  2795. }
  2796. var date = new Date()
  2797. var ext = getFileExtension(file.name)
  2798. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2799. this.loadingText = '封面图片上传中'
  2800. const _self = this
  2801. return new Promise((resolve, reject) => {
  2802. getToken().then(response => {
  2803. const token= response.data.data.uptoken
  2804. console.log("导航图标token是什么?",token)
  2805. _self._data.navigationData.token = token;
  2806. _self._data.navigationData.key = key;
  2807. resolve(true)
  2808. }).catch(err => {
  2809. reject(false)
  2810. })
  2811. })
  2812. return isJPG && isLt2M;
  2813. },
  2814. beforeAvatarUpload(file) {
  2815. var fileType = file.type
  2816. const isJPG = fileType.indexOf("image") > -1;
  2817. const isLt2M = file.size / 1024 / 1024 < 2;
  2818. if (!isJPG) {
  2819. this.$message.error("只能上传图片");
  2820. return false;
  2821. }
  2822. if (!isLt2M) {
  2823. this.$message.error("图片大小不能超过 2MB!");
  2824. return false;
  2825. }
  2826. var date = new Date()
  2827. var ext = getFileExtension(file.name)
  2828. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2829. this.uploading = true;
  2830. this.loadingText = '封面图片上传中'
  2831. const _self = this
  2832. return new Promise((resolve, reject) => {
  2833. getToken().then(response => {
  2834. const token= response.data.data.uptoken
  2835. console.log("医生头像token是什么?",token)
  2836. _self._data.doctorData.token = token;
  2837. _self._data.doctorData.key = key;
  2838. resolve(true)
  2839. }).catch(err => {
  2840. reject(false)
  2841. this.uploading = false;
  2842. })
  2843. })
  2844. return isJPG && isLt2M;
  2845. },
  2846. //分享管理
  2847. shareAvatarSuccess(res,file){
  2848. this.shareform.shareImages =this.qiniuDomain + res.url
  2849. },
  2850. shareAvatarUpload(file){
  2851. var fileType = file.type
  2852. const isJPG = fileType.indexOf("image") > -1;
  2853. const isLt2M = file.size / 1024 / 1024 < 2;
  2854. if (!isJPG) {
  2855. this.$message.error("只能上传图片");
  2856. return false;
  2857. }
  2858. if (!isLt2M) {
  2859. this.$message.error("图片大小不能超过 2MB!");
  2860. return false;
  2861. }
  2862. var date = new Date()
  2863. var ext = getFileExtension(file.name)
  2864. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2865. this.uploading = true;
  2866. this.loadingText = '封面图片上传中'
  2867. const _self = this
  2868. return new Promise((resolve, reject) => {
  2869. getToken().then(response => {
  2870. const token= response.data.data.uptoken
  2871. console.log("医生头像token是什么?",token)
  2872. _self._data.sharedata.token = token;
  2873. _self._data.sharedata.key = key;
  2874. resolve(true)
  2875. }).catch(err => {
  2876. reject(false)
  2877. this.uploading = false;
  2878. })
  2879. })
  2880. return isJPG && isLt2M;
  2881. },
  2882. editNaviAvatarSuccess(res,file){
  2883. this.editNavigationform.navimages = this.qiniuDomain + res.url;
  2884. },
  2885. editNaviAvatarUpload(file){
  2886. var fileType = file.type
  2887. const isJPG = fileType.indexOf("image") > -1;
  2888. const isLt2M = file.size / 1024 / 1024 < 2;
  2889. if (!isJPG) {
  2890. this.$message.error("只能上传图片");
  2891. return false;
  2892. }
  2893. if (!isLt2M) {
  2894. this.$message.error("图片大小不能超过 2MB!");
  2895. return false;
  2896. }
  2897. var date = new Date()
  2898. var ext = getFileExtension(file.name)
  2899. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2900. this.uploading = true;
  2901. this.loadingText = '封面图片上传中'
  2902. const _self = this
  2903. return new Promise((resolve, reject) => {
  2904. getToken().then(response => {
  2905. const token= response.data.data.uptoken
  2906. console.log("医生头像token是什么?",token)
  2907. _self._data.editcheckdata.token = token;
  2908. _self._data.editcheckdata.key = key;
  2909. resolve(true)
  2910. }).catch(err => {
  2911. reject(false)
  2912. this.uploading = false;
  2913. })
  2914. })
  2915. return isJPG && isLt2M;
  2916. },
  2917. editNaviAvatarSuccessone(res,file){
  2918. this.editNavigationform.nonavimages = this.qiniuDomain + res.url;
  2919. console.log("这是",this.qiniuDomain + res.url)
  2920. console.log("只是什么",this.editNavigationform.nonavimages)
  2921. },
  2922. editNaviAvatarUploadone(file){
  2923. var fileType = file.type
  2924. const isJPG = fileType.indexOf("image") > -1;
  2925. const isLt2M = file.size / 1024 / 1024 < 2;
  2926. if (!isJPG) {
  2927. this.$message.error("只能上传图片");
  2928. return false;
  2929. }
  2930. if (!isLt2M) {
  2931. this.$message.error("图片大小不能超过 2MB!");
  2932. return false;
  2933. }
  2934. var date = new Date()
  2935. var ext = getFileExtension(file.name)
  2936. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2937. const _self = this
  2938. return new Promise((resolve, reject) => {
  2939. getToken().then(response => {
  2940. const token= response.data.data.uptoken
  2941. console.log("token是什么?",token)
  2942. _self._data.editcheckdatatwo.token = token;
  2943. _self._data.editcheckdatatwo.key = key;
  2944. resolve(true)
  2945. }).catch(err => {
  2946. reject(false)
  2947. })
  2948. })
  2949. return isJPG && isLt2M;
  2950. },
  2951. singformAvatarSuccess(res,file){
  2952. this.singform.images = this.qiniuDomain + res.url;
  2953. },
  2954. singformAvatarUpload(file){
  2955. var fileType = file.type
  2956. const isJPG = fileType.indexOf("image") > -1;
  2957. const isLt2M = file.size / 1024 / 1024 < 2;
  2958. if (!isJPG) {
  2959. this.$message.error("只能上传图片");
  2960. return false;
  2961. }
  2962. if (!isLt2M) {
  2963. this.$message.error("图片大小不能超过 2MB!");
  2964. return false;
  2965. }
  2966. var date = new Date()
  2967. var ext = getFileExtension(file.name)
  2968. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  2969. this.uploading = true;
  2970. this.loadingText = '封面图片上传中'
  2971. const _self = this
  2972. return new Promise((resolve, reject) => {
  2973. getToken().then(response => {
  2974. const token= response.data.data.uptoken
  2975. console.log("医生头像token是什么?",token)
  2976. _self._data.editcheckdata.token = token;
  2977. _self._data.editcheckdata.key = key;
  2978. resolve(true)
  2979. }).catch(err => {
  2980. reject(false)
  2981. this.uploading = false;
  2982. })
  2983. })
  2984. return isJPG && isLt2M;
  2985. },
  2986. editNaviAvatarSuccesstwo(res,file){
  2987. this.macgicform.macgicimages = this.qiniuDomain + res.url;
  2988. },
  2989. editNaviAvatarUploadtwo(file){
  2990. var fileType = file.type
  2991. const isJPG = fileType.indexOf("image") > -1;
  2992. const isLt2M = file.size / 1024 / 1024 < 2;
  2993. if (!isJPG) {
  2994. this.$message.error("只能上传图片");
  2995. return false;
  2996. }
  2997. if (!isLt2M) {
  2998. this.$message.error("图片大小不能超过 2MB!");
  2999. return false;
  3000. }
  3001. var date = new Date()
  3002. var ext = getFileExtension(file.name)
  3003. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  3004. this.uploading = true;
  3005. this.loadingText = '封面图片上传中'
  3006. const _self = this
  3007. return new Promise((resolve, reject) => {
  3008. getToken().then(response => {
  3009. const token= response.data.data.uptoken
  3010. console.log("魔方导航token是什么?",token)
  3011. _self._data.editcheckdata.token = token;
  3012. _self._data.editcheckdata.key = key;
  3013. resolve(true)
  3014. }).catch(err => {
  3015. reject(false)
  3016. this.uploading = false;
  3017. })
  3018. })
  3019. return isJPG && isLt2M;
  3020. },
  3021. editNaviAvatarSuccessthree(res,file){
  3022. this.editmacform.margimage = this.qiniuDomain + res.url;
  3023. },
  3024. editNaviAvatarUploadthree(file){
  3025. var fileType = file.type
  3026. const isJPG = fileType.indexOf("image") > -1;
  3027. const isLt2M = file.size / 1024 / 1024 < 2;
  3028. if (!isJPG) {
  3029. this.$message.error("只能上传图片");
  3030. return false;
  3031. }
  3032. if (!isLt2M) {
  3033. this.$message.error("图片大小不能超过 2MB!");
  3034. return false;
  3035. }
  3036. var date = new Date()
  3037. var ext = getFileExtension(file.name)
  3038. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  3039. this.uploading = true;
  3040. this.loadingText = '封面图片上传中'
  3041. const _self = this
  3042. return new Promise((resolve, reject) => {
  3043. getToken().then(response => {
  3044. const token= response.data.data.uptoken
  3045. console.log("魔方导航token是什么?",token)
  3046. _self._data.editcheckdata.token = token;
  3047. _self._data.editcheckdata.key = key;
  3048. resolve(true)
  3049. }).catch(err => {
  3050. reject(false)
  3051. this.uploading = false;
  3052. })
  3053. })
  3054. return isJPG && isLt2M;
  3055. },
  3056. //添加轮播图
  3057. addRotationUpload(formName){
  3058. this.$refs[formName].validate((valid)=>{
  3059. if(valid){
  3060. addRotationUpload(this.rotationform).then(response=>{
  3061. if(response.data.state==1){
  3062. var connecmodel = response.data.data.connecmodel;
  3063. this.slideshow = false;
  3064. console.log("返回值",connecmodel);
  3065. }
  3066. });
  3067. }
  3068. })
  3069. },
  3070. addEditPicForm(formName){
  3071. if(this.editpicform.linkid == ""){
  3072. this.editpicform.linkid = 0;
  3073. }
  3074. var sorts = this.editpicform.sort;
  3075. var sort = parseInt(sorts);
  3076. this.editpicform.sort = sort;
  3077. this.$refs[formName].validate((valid)=>{
  3078. if(valid){
  3079. addEditPicForm(this.addform.id,this.editpicform).then(response=>{
  3080. if(response.data.state == 1){
  3081. this.editRotationVisible = false;
  3082. var editpiclink = response.data.data.editpiclink;
  3083. var editpiclinks = response.data.data.editpiclinks;
  3084. console.log("editpiclink是什么?",editpiclinks)
  3085. this.rotationdatatwo = editpiclinks;
  3086. var total = response.data.data.total;
  3087. this.uploadImages = response.data.data.total;
  3088. if(total>=9){
  3089. this.uploadimageshow = false;
  3090. }
  3091. // this.getEditImages();
  3092. // this.getEnImagesTwo();
  3093. this.editpicform.images = "";
  3094. this.editpicform.sort = "";
  3095. this.editpicform.piclink = "";
  3096. this.editpicform.linkaddress = "";
  3097. this.picshow = false;
  3098. console.log("返回数据",editpiclink);
  3099. }
  3100. })
  3101. }
  3102. })
  3103. },
  3104. AddRotationVisible(formName){
  3105. var sorts = this.addform.sort;
  3106. var sort = parseInt(sorts);
  3107. this.addform.sort = sort;
  3108. console.log("哈哈哈",this.addform.sort)
  3109. var images = [];
  3110. for (let index = 0; index < this.rotationdatatwo.length; index++) {
  3111. images.push(this.rotationdatatwo[index].images);
  3112. }
  3113. this.addform.images = images;
  3114. this.$refs[formName].validate((valid)=>{
  3115. if(valid){
  3116. AddRotationVisible(this.addform.id,this.addform).then(response=>{
  3117. if(response.data.state == 1){
  3118. this.adddialogVisible = false;
  3119. var patientRotation = response.data.data.patientRotation;
  3120. console.log("patientRotation是什么",patientRotation)
  3121. var model = response.data.data.model;
  3122. console.log("model是什么",model)
  3123. this.getQueryNewModel();
  3124. this.getHospitaldata();
  3125. this.getEnImagesTwo();
  3126. }
  3127. })
  3128. }
  3129. })
  3130. },
  3131. // 查看医院详情
  3132. hispitalmore(id){
  3133. hispitalmore(id).then(response=>{
  3134. if(response.data.state == 1){
  3135. var hospital = response.data.data.hospital;
  3136. this.hospitalform = response.data.data.hospital;
  3137. console.log("医院详情数据",hospital)
  3138. console.log("医院详情数据是",this.hospitalform)
  3139. this.modelshowtwo = false;
  3140. this.shows = true;
  3141. this.showback = true;
  3142. this.showindex = true;
  3143. }
  3144. })
  3145. },
  3146. returnIndex(){
  3147. this.defalutshow = false;
  3148. this.modelshowtwo = true;
  3149. this.shows = false;
  3150. this.showback = false;
  3151. this.showindex = false;
  3152. this.docshow = false;
  3153. this.shows = false;
  3154. this.keshow = false;
  3155. this.OfficeEnviromentShow = false;
  3156. this.ArticlelistShow = false;
  3157. this.ActivitieslistShow = false;
  3158. this.activitiesInfo = false;
  3159. this.articlistinfo = false;
  3160. this.docshowinfo = false;
  3161. },
  3162. //查看科室详情
  3163. officemore(id){
  3164. officemore(id).then(response=>{
  3165. if(response.data.state ==1){
  3166. var offices = response.data.data.offices;
  3167. this.officeform = response.data.data.offices;
  3168. console.log("科室详情数据",offices)
  3169. this.modelshowtwo = false;
  3170. this.keshow = true;
  3171. this.showback = true;
  3172. this.showindex = true;
  3173. }
  3174. })
  3175. },
  3176. // 查看名医详情
  3177. docmore(id){
  3178. docmore(id).then(response=>{
  3179. if(response.data.state == 1){
  3180. var editdoctor = response.data.data.editdoctor;
  3181. this.editdocfrom = response.data.data.editdoctor;
  3182. this.modelshowtwo = false;
  3183. this.docshow = true;
  3184. this.showback = true;
  3185. this.showindex = true;
  3186. console.log("编辑医生返回数据",editdoctor)
  3187. }
  3188. })
  3189. },
  3190. // 查看科室环境详情
  3191. kemore(id){
  3192. kemore(id).then(response=>{
  3193. if(response.data.state == 1 ){
  3194. var offenvironment = response.data.data.offenvironment;
  3195. this.keEnvironmentImages = offenvironment;
  3196. console.log("科室环境详情页",offenvironment)
  3197. this.modelshowtwo = false;
  3198. this.OfficeEnviromentShow = true;
  3199. this.showback = true;
  3200. this.showindex = true;
  3201. }
  3202. })
  3203. },
  3204. articlemore(id){
  3205. articlemore(id).then(response=>{
  3206. if(response.data.state == 1){
  3207. var articlelist = response.data.data.articlelists;
  3208. this.articlelist = response.data.data.articlelists;
  3209. this.modelshowtwo = false;
  3210. this.showback = true;
  3211. this.showindex = true;
  3212. this.ArticlelistShow = true;
  3213. console.log("得到获取文章列表",articlelist);
  3214. }
  3215. })
  3216. },
  3217. // 查看活动列表详情
  3218. Activitiesmore(id){
  3219. Activitiesmore(id).then(response=>{
  3220. if(response.data.state == 1){
  3221. var activity = response.data.data.activity;
  3222. this.Activitieslist = response.data.data.activity;
  3223. this.modelshowtwo = false;
  3224. this.ActivitieslistShow = true;
  3225. this.showback = true;
  3226. this.showindex = true;
  3227. console.log("获取活动列表",activity)
  3228. }
  3229. })
  3230. },
  3231. indexone(){
  3232. this.shows = false;
  3233. this.show = true;
  3234. },
  3235. // callback(){
  3236. // target.scrollIntoView();
  3237. // },
  3238. //查询联系我们已使用的模块
  3239. GetUserdModel(){
  3240. GetUserdModel().then(response=>{
  3241. if(response.data.state==1){
  3242. this.model = response.data.data.model;
  3243. // console.log("模型",this.model);
  3244. }
  3245. })
  3246. },
  3247. clickmodel(){
  3248. this.GetUserdModel();
  3249. },
  3250. clickAddmodel(){
  3251. this.getQueryNewModel();
  3252. },
  3253. //查询首页已使用的模块
  3254. getQueryNewModel(){
  3255. getQueryNewModel().then(response=>{
  3256. if(response.data.state ==1){
  3257. var model = response.data.data.model;
  3258. this.modelform = response.data.data.model;
  3259. console.log("这是啥",this.modelform)
  3260. }
  3261. });
  3262. },
  3263. editModelByID(id,modetype,index){
  3264. if(modetype == 1){
  3265. this.adddialogVisible = true;
  3266. geteditRotationImages(id,this.addform).then(response=>{
  3267. if(response.data.state == 1){
  3268. var model = response.data.data.model;
  3269. console.log("patient",model)
  3270. this.addform = response.data.data.model;
  3271. var editpiclink = response.data.data.editpiclink;
  3272. this.rotationdatatwo = response.data.data.editpiclink;
  3273. this.uploadImages = response.data.data.total;
  3274. console.log("海珍数据",editpiclink)
  3275. }
  3276. })
  3277. }
  3278. if(modetype == 2){
  3279. this.hosipitalVisible = true;
  3280. editHospital(id).then(response=>{
  3281. if(response.data.state == 1){
  3282. var hospital = response.data.data.hospital;
  3283. this.hispitalform = response.data.data.hospital;
  3284. }
  3285. });
  3286. }
  3287. if(modetype == 3){
  3288. this.officeVisible = true;
  3289. editOffice(id).then(response=>{
  3290. if(response.data.state == 1){
  3291. this.officeform = response.data.data.offices;
  3292. }
  3293. })
  3294. }
  3295. if(modetype == 4){
  3296. this.docVisible = true;
  3297. editDoc(id).then(response=>{
  3298. if(response.data.state == 1){
  3299. this.doctorform = response.data.data.editdoctor;
  3300. var editdoctor = response.data.data.editdoctor;
  3301. this.doctorform.modleid = this.doctorform.id;
  3302. console.log("我爱你中国",this.doctorform)
  3303. var editdoctors = response.data.data.editdoctors;
  3304. this.docimages = response.data.data.editdoctors;
  3305. }
  3306. })
  3307. }
  3308. if(modetype == 5){
  3309. this.offficeEnviromentVisible = true;
  3310. editOfficeEnviroment(id).then(response=>{
  3311. if(response.data.state ==1){
  3312. var model = response.data.data.model;
  3313. this.keform = model;
  3314. // var OfficeEnvironment = response.data.data.offenvironment;
  3315. // this.keform = response.data.data.offenvironment;
  3316. // console.log("科室环境",OfficeEnvironment);
  3317. this.rotationdata = response.data.data.patientenviroimages;
  3318. }
  3319. })
  3320. }
  3321. if(modetype == 6){
  3322. this.ArticleVisible = true;
  3323. console.log("id是说的",id)
  3324. editGetArticlistDetail(id).then(response=>{
  3325. if(response.data.state == 1){
  3326. var articlelist = response.data.data.articlelist;
  3327. this.articeform = response.data.data.articlelist;
  3328. console.log("articlelist",articlelist)
  3329. }
  3330. })
  3331. }
  3332. if(modetype == 7){
  3333. this.activityVisible = true;
  3334. getactivity(id).then(response=>{
  3335. if(response.data.state ==1){
  3336. var addactivity = response.data.data.addactivity;
  3337. this.activitform = response.data.data.addactivity;
  3338. console.log("数据",addactivity)
  3339. this.getHospitaldata();
  3340. }
  3341. })
  3342. }
  3343. if(modetype == 8){
  3344. this.edtimacdialogVisible = true;
  3345. getMacImages(id).then(response=>{
  3346. if(response.data.state == 1){
  3347. var macnavigation = response.data.data.macnavigation;
  3348. this.macdataImages = response.data.data.macnavigation;
  3349. var model = response.data.data.model;
  3350. console.log("model是什么",model)
  3351. this.macform = response.data.data.model;
  3352. console.log("返回查询数据",this.macdataImages)
  3353. }
  3354. })
  3355. }
  3356. },
  3357. editImages(id){
  3358. editImages(id).then(response=>{
  3359. if(response.data.state == 1){
  3360. var editdoctor = response.data.data.editdoctor;
  3361. this.editdocfrom = response.data.data.editdoctor;
  3362. console.log("数据",editdoctor);
  3363. }
  3364. })
  3365. },
  3366. editVisibleByid(id){
  3367. editVisibleByid(id).then(response=>{
  3368. if(response.data.state == 1){
  3369. var conrotation = response.data.data.conrotation;
  3370. console.log("hheh",conrotation)
  3371. this.editpic = conrotation;
  3372. }
  3373. })
  3374. },
  3375. deleteImages(id,index){
  3376. deleteImages(id,index).then(response=>{
  3377. if(response.data.state == 1){
  3378. var total = response.data.data.total;
  3379. this.uploadImages = total;
  3380. this.rotationdataThree.splice(index,1);
  3381. }
  3382. })
  3383. },
  3384. deleteSingleImages(id,modeid,index){
  3385. this.$confirm('确定要删除图片吗?删除后该图片将无法恢复','删除提示!',{
  3386. dangerouslyUseHTMLString:true,
  3387. confirmButtonText: '确定',
  3388. cancelButtonText: '取消',
  3389. type: 'warning'
  3390. }).then(()=>{
  3391. deleteSingleImages(id,modeid,index).then(response=>{
  3392. if(response.data.state ==1){
  3393. this.rotationdatatwo.splice(index,1);
  3394. var total = response.data.data.total;
  3395. console.log("total是什么",total)
  3396. this.uploadImages = total;
  3397. this.uploadimageshow = true;
  3398. }
  3399. })
  3400. })
  3401. },
  3402. SaveEditPic(formName){
  3403. this.$refs[formName].validate((valid)=>{
  3404. if(valid){
  3405. var sorts = this.editpic.sort;
  3406. var sort = parseInt(sorts);
  3407. this.editpic.sort = sort;
  3408. SaveEditPic(this.editpic.id,this.editpic).then(response=>{
  3409. if(response.data.state == 1){
  3410. var conrotation = response.data.data.conrotation;
  3411. var conrotations = response.data.data.conrotations;
  3412. console.log("conrotations是什么",conrotations)
  3413. this.rotationdataThree = response.data.data.conrotations;
  3414. // this.getEnImagesThree();
  3415. console.log("更新的数据",conrotation)
  3416. }
  3417. })
  3418. }
  3419. })
  3420. },
  3421. addeditpic(formName){
  3422. var sorts = this.picform.sort;
  3423. var sort = parseInt(sorts);
  3424. this.picform.sort = sort;
  3425. this.$refs[formName].validate((valid)=>{
  3426. if(valid){
  3427. addeditpic(this.rotationform.id,this.picform).then(response=>{
  3428. if(response.data.state == 1){
  3429. this.addVisible = false;
  3430. var conrotation = response.data.data.conrotation;
  3431. var conrotations = response.data.data.conrotations;
  3432. console.log("钟无艳",conrotations)
  3433. this.rotationdataThree = response.data.data.conrotations;
  3434. console.log("添加数据",conrotation)
  3435. // this.getEnImagesThree();
  3436. }
  3437. })
  3438. }
  3439. })
  3440. },
  3441. AddedialogVisible(formName){
  3442. var sorts = this.rotationform.sort;
  3443. var sort = parseInt(sorts);
  3444. this.rotationform.sort = sort;
  3445. var images = [];
  3446. for (let index = 0; index < this.rotationdataThree.length; index++) {
  3447. images.push(this.rotationdataThree[index].images);
  3448. }
  3449. this.rotationform.rotationImages = images;
  3450. this.$refs[formName].validate((valid)=>{
  3451. if(valid){
  3452. AddedialogVisible(this.rotationform.id,this.rotationform).then(response=>{
  3453. if(response.data.state == 1){
  3454. var oldrotation = response.data.data.oldrotation;
  3455. console.log(oldrotation)
  3456. var ordmodel = response.data.data.ordmodel;
  3457. console.log(ordmodel);
  3458. this.getOrderModel();
  3459. this.GetUserdModel();
  3460. }
  3461. })
  3462. }
  3463. })
  3464. },
  3465. GetRotationImages(){
  3466. GetRotationImages().then(response=>{
  3467. if(response.data.state == 1){
  3468. var conrotations = response.data.data.conrotations;
  3469. console.log("获取轮播图片",conrotations)
  3470. this.rotationdata = response.data.data.conrotations;
  3471. console.log("hheh",this.rotationdata);
  3472. }
  3473. })
  3474. },
  3475. getEditImages(){
  3476. getEditImages().then(response=>{
  3477. if(response.data.state == 1){
  3478. var editpiclinks = response.data.data.editpiclinks;
  3479. this.rotationdata = response.data.data.editpiclinks;
  3480. console.log("好嗨哦",editpiclinks)
  3481. }
  3482. })
  3483. },
  3484. getEnImages(){
  3485. getEnImages().then(response=>{
  3486. if(response.data.state == 1){
  3487. var enviroimages = response.data.data.enviroimages;
  3488. console.log("中国人",enviroimages)
  3489. this.rotationdata = response.data.data.enviroimages;
  3490. }
  3491. })
  3492. },
  3493. getEnImagesTwo(){
  3494. getEnImagesTwo().then(response=>{
  3495. if(response.data.state == 1){
  3496. var editpiclink = response.data.data.editpiclink;
  3497. console.log("图片是什么",editpiclink)
  3498. this.rotationdatatwo = editpiclink;
  3499. }
  3500. })
  3501. },
  3502. getEnImagesThree(){
  3503. getEnImagesThree().then(response=>{
  3504. if(response.data.state == 1){
  3505. var conrotation = response.data.data.conrotation;
  3506. console.log("conrotation",conrotation)
  3507. this.rotationdataThree = response.data.data.conrotation;
  3508. }
  3509. })
  3510. },
  3511. editSingleVisible(id){
  3512. editSingleVisible(id,this.addform).then(response=>{
  3513. if(response.data.state == 1){
  3514. var editpiclink = response.data.data.editpiclink;
  3515. console.log("我的数据是",editpiclink)
  3516. if(editpiclink.piclink == 1){
  3517. this.showpiclink = false;
  3518. }
  3519. if(editpiclink.piclink == 2){
  3520. this.showpiclink = true;
  3521. }
  3522. this.singform = response.data.data.editpiclink;
  3523. }
  3524. })
  3525. },
  3526. UpdateSingleForm(formName){
  3527. this.$refs[formName].validate((valid)=>{
  3528. if(valid){
  3529. var sorts = this.singform.sort;
  3530. var sort = parseInt(sorts);
  3531. this.singform.sort = sort;
  3532. console.log("轮播图排序值:",sorts)
  3533. UpdateSingleForm(this.singform.id,this.singform).then(response=>{
  3534. if(response.data.state == 1){
  3535. this.singleVisible = false;
  3536. var editpiclink = response.data.data.editpiclink;
  3537. console.log("更改数据",editpiclink);
  3538. var patientEditpiclink = response.data.data.patientEditpiclink;
  3539. console.log("这个是什么运营呢",patientEditpiclink)
  3540. this.rotationdatatwo = response.data.data.patientEditpiclink;
  3541. }
  3542. })
  3543. }
  3544. })
  3545. },
  3546. saveDocInfo(formName){
  3547. this.$refs[formName].validate((valid)=>{
  3548. if(valid){
  3549. var sorts = this.editdocfrom.doc_sort
  3550. var sort = parseInt(sorts)
  3551. this.editdocfrom.doc_sort = sort
  3552. this.editdocfrom.docintroduction = this.$refs.neditor.content;
  3553. saveDocInfo(this.editdocfrom.id,this.editdocfrom).then(response=>{
  3554. if(response.data.state == 1){
  3555. var doctor = response.data.data.editdoctor;
  3556. var editdoctors = response.data.data.editdoctors;
  3557. console.log("返回数据",doctor);
  3558. this.editcenterDialogVisible = false;
  3559. this.$message.success("保存成功")
  3560. // this.getQueryDoCHead();
  3561. this.docimages = editdoctors;
  3562. }
  3563. })
  3564. }
  3565. })
  3566. },
  3567. clickimgs(linkid){
  3568. GetLinkAddressByLinkid(linkid).then(response=>{
  3569. if(response.data.state == 1){
  3570. var linkaddress = response.data.data.linkaddress;
  3571. console.log("返回数据是什么",linkaddress)
  3572. window.location.href = linkaddress.defineaddress;
  3573. }
  3574. })
  3575. // window.location.href = "http://www.baidu.com";
  3576. },
  3577. deleteDoctor(id,index){
  3578. this.$confirm('确认要删除吗?删除后信息将无法恢复','删除提示!',{
  3579. dangerouslyUseHTMLString:true,
  3580. confirmButtonText: '确定',
  3581. cancelButtonText: '取消',
  3582. type: 'warning'
  3583. }).then(()=>{
  3584. deleteDoctor(id,index).then(response=>{
  3585. if(response.data.state == 1){
  3586. this.docimages.splice(index,1)
  3587. }
  3588. }).catch(e=>{});
  3589. }).catch(e=>{});
  3590. },
  3591. SaveDocdata(formName){
  3592. var images = [];
  3593. for (let index = 0; index < this.docimages.length; index++) {
  3594. images.push(this.docimages[index].dochead);
  3595. }
  3596. this.doctorform.image = images,
  3597. this.$refs[formName].validate((valid)=>{
  3598. if(valid){
  3599. var sorts = this.doctorform.sort
  3600. var sort = parseInt(sorts)
  3601. this.doctorform.sort = sort
  3602. SaveDocdata(this.doctorform.id,this.doctorform).then(response=>{
  3603. if(response.data.state == 1){
  3604. var docinofo = response.data.data.docinfo;
  3605. var model = response.data.data.model;
  3606. console.log("返回数据",docinofo)
  3607. console.log("返回数据",model)
  3608. this.$message.success("保存成功")
  3609. this.docVisible = false;
  3610. this.getQueryNewModel();
  3611. this.getHospitaldata();
  3612. }
  3613. })
  3614. }
  3615. })
  3616. },
  3617. editdocVisible(){
  3618. this.editcenterDialogVisible = false;
  3619. },
  3620. SaveHospital(formName){
  3621. this.hispitalform.introduction = this.$refs.neditor.content;
  3622. var sort = this.hispitalform.sort
  3623. var sor = parseInt(sort)
  3624. this.hispitalform.sort = sor;
  3625. console.log("文章内容",this.$refs.neditor.content)
  3626. this.$refs[formName].validate((valid)=>{
  3627. if(valid){
  3628. SaveHospital(this.hispitalform.id,this.hispitalform).then(response=>{
  3629. if(response.data.state ==1){
  3630. var hospital = response.data.data.hospital;
  3631. var model = response.data.data.model;
  3632. this.hosipitalVisible = false;
  3633. this.getQueryNewModel();
  3634. this.getHospitaldata();
  3635. }
  3636. })
  3637. }
  3638. })
  3639. },
  3640. deleteModleById(id,index){
  3641. this.$confirm('确认要删除该组件吗?删除后该组件将无法恢复','删除提示!',{
  3642. dangerouslyUseHTMLString:true,
  3643. confirmButtonText: '确定',
  3644. cancelButtonText: '取消',
  3645. type: 'warning'
  3646. }).then(()=>{
  3647. deleteModleById(id).then(response=>{
  3648. if(response.data.state == 1){
  3649. this.modelform.splice(index,1);
  3650. this.getHospitaldata();
  3651. }
  3652. }).catch(e=>{});
  3653. }).catch(e=>{});
  3654. },
  3655. SaveOffice(formName){
  3656. this.officeform.introduction = this.$refs.neditor.content;
  3657. var sort = this.officeform.sort
  3658. var sor = parseInt(sort)
  3659. this.officeform.sort = sor;
  3660. console.log("数据模块",this.officeform)
  3661. this.$refs[formName].validate((valid)=>{
  3662. if(valid){
  3663. SaveOffice(this.officeform.id,this.officeform).then(response=>{
  3664. if(response.data.state==1){
  3665. var office = response.data.data.offices;
  3666. var model = response.data.data.model;
  3667. console.log("返回数据",office)
  3668. console.log("返回数据",model)
  3669. this.officeVisible = false;
  3670. this.getQueryNewModel();
  3671. this.getHospitaldata();
  3672. }
  3673. })
  3674. }
  3675. })
  3676. },
  3677. eidtmodel(id,modetype,index){
  3678. if(modetype == 1){
  3679. this.edialogVisible = true;
  3680. getRotationDetail(id).then(response=>{
  3681. if(response.data.state == 1){
  3682. var oldrotation = response.data.data.oldrotation;
  3683. console.log("oldrotation是什么",oldrotation)
  3684. this.rotationform = response.data.data.oldrotation;
  3685. // console.log("rotationform",this.rotationform)
  3686. var conrotation = response.data.data.conrotation;
  3687. this.rotationdataThree = response.data.data.conrotation;
  3688. console.log("conrotation是什么",conrotation);
  3689. }
  3690. })
  3691. }
  3692. if(modetype == 2){
  3693. this.HospitalIntroduction = true;
  3694. getHospitalIntroduction(id,this.hospitaladdress).then(response=>{
  3695. if(response.data.state == 1){
  3696. var ordmodel = response.data.data.ordmodel;
  3697. this.hospitaladdress = response.data.data.ordmodel;
  3698. var hosaddress = response.data.data.hosaddress;
  3699. console.log("hosaddress是什么",hosaddress)
  3700. this.hospitaladdress.hosaddress = hosaddress.address;
  3701. }
  3702. })
  3703. }
  3704. if(modetype == 3){
  3705. this.contact = true;
  3706. getConnecWay(id).then(response=>{
  3707. if(response.data.state == 1){
  3708. var ordmodel = response.data.data.ordmodel;
  3709. this.contactform = response.data.data.ordmodel;
  3710. }
  3711. })
  3712. }
  3713. if(modetype == 4){
  3714. this.dialogVisiblefour = true;
  3715. eidtmodel(id).then(response=>{
  3716. if(response.data.state==1){
  3717. var worktime = response.data.data.worktime;
  3718. this.workform = response.data.data.worktime;
  3719. console.log("返回数据",worktime);
  3720. }
  3721. });
  3722. }
  3723. if(modetype == 5){
  3724. this.dialogVisiblefive = true;
  3725. editRideWay(id).then(response=>{
  3726. if(response.data.state == 1){
  3727. var rideway = response.data.data.rideway;
  3728. this.rideform = response.data.data.rideway;
  3729. console.log("乘车方式返回数据",rideway);
  3730. }
  3731. })
  3732. }
  3733. },
  3734. AddOfficeThreeVisible(formName){
  3735. var sort = this.officeformtwo.sort;
  3736. var sor = parseInt(sort);
  3737. this.officeformtwo.sort = sor;
  3738. this.$refs[formName].validate((valid)=>{
  3739. if(valid){
  3740. AddOfficeThreeVisible(this.keform.id,this.officeformtwo).then(response=>{
  3741. if(response.data.state == 1){
  3742. var enviroimages = response.data.data.enviroimages;
  3743. var patientenviroimages = response.data.data.patientEnviroimages;
  3744. this.rotationdata = patientenviroimages;
  3745. // this.getEnImages();
  3746. }
  3747. })
  3748. }
  3749. })
  3750. },
  3751. AddOfficeTwo(formName){
  3752. var sort = this.officeformthree.sort
  3753. var sor = parseInt(sort);
  3754. this.officeformthree.sort = sor;
  3755. this.$refs[formName].validate((valid)=>{
  3756. if(valid){
  3757. AddOfficetTwo(this.officeformthree.id,this.officeformthree).then(response=>{
  3758. if(response.data.state == 1){
  3759. var enviroimages = response.data.data.enviroimages;
  3760. var patientEnviroimages = response.data.data.patientEnviroimages;
  3761. // console.log("娃哈哈",patientEnviroimages)
  3762. this.rotationdata = response.data.data.patientEnviroimages;
  3763. // this.getEnImages();
  3764. }
  3765. })
  3766. }
  3767. })
  3768. },
  3769. officetwoVisbile(id){
  3770. officetwoVisbile(id,this.officeformthree).then(response=>{
  3771. if(response.data.state == 1){
  3772. // this.officeformthree = response.data.data.enviroimages;
  3773. var enviroimages = response.data.data.enviroimages;
  3774. console.log("中秋是什么",enviroimages)
  3775. this.officeformthree.id = enviroimages.id;
  3776. this.officeformthree.sort = enviroimages.sort;
  3777. this.officeformthree.officeImages = enviroimages.enviroimages;
  3778. this.officeformthree.modelid = enviroimages.modeid;
  3779. }
  3780. })
  3781. },
  3782. deleteOfficeById(id,index){
  3783. deleteOfficeById(id,index).then(response=>{
  3784. if(response.data.state == 1){
  3785. this.rotationdata.splice(index,1)
  3786. }
  3787. })
  3788. },
  3789. SaveOfficeEnvironment(formName){
  3790. var sort = this.keform.sort
  3791. var sor = parseInt(sort)
  3792. this.keform.sort = sor;
  3793. var images = [];
  3794. for (let index = 0; index < this.rotationdata.length; index++) {
  3795. images.push (this.rotationdata[index].enviroimages);
  3796. }
  3797. this.keform.keImages = images;
  3798. this.$refs[formName].validate((valid)=>{
  3799. if(valid){
  3800. SaveOfficeEnvironment(this.keform.id,this.keform).then(response=>{
  3801. if(response.data.state == 1){
  3802. var patientOffenvironment = response.data.data.patientOffenvironment;
  3803. var model = response.data.data.model;
  3804. this.offficeEnviromentVisible = false;
  3805. this.getQueryNewModel();
  3806. this.getHospitaldata();
  3807. }
  3808. })
  3809. }
  3810. })
  3811. },
  3812. UpdatedArticeDetail(formName){
  3813. var sort = this.articeform.sort;
  3814. var sor = parseInt(sort);
  3815. this.articeform.sort = sor;
  3816. var number = this.articeform.number;
  3817. var numbers = parseInt(number);
  3818. this.articeform.number = numbers;
  3819. UpdatedArticeDetail(this.articeform.id,this.articeform).then(response=>{
  3820. if(response.data.state == 1){
  3821. var articlelist = response.data.data.articlelist;
  3822. var model = response.data.data.model;
  3823. this.getQueryNewModel();
  3824. this.getHospitaldata();
  3825. this.getArticlelist();
  3826. }
  3827. })
  3828. },
  3829. editActivit(formName){
  3830. var sort = this.activitform.sort;
  3831. var sor = parseInt(sort);
  3832. this.activitform.sort =sor;
  3833. var number = this.activitform.number;
  3834. var number = parseInt(number);
  3835. this.activitform.number = number;
  3836. this.$refs[formName].validate((valid)=>{
  3837. if(valid){
  3838. SaveActivit(this.activitform.id,this.activitform).then(response=>{
  3839. if(response.data.state == 1){
  3840. var addactivity = response.data.data.addactivity;
  3841. console.log("数据返回",addactivity)
  3842. this.activityVisible = false;
  3843. this.getQueryNewModel();
  3844. this.getHospitaldata();
  3845. this.getActivities();
  3846. }
  3847. })
  3848. }
  3849. })
  3850. },
  3851. getActivities(){
  3852. getActivities(this.Activitieslist).then(response=>{
  3853. if(response.data.state ==1){
  3854. var activity = response.data.data.activity;
  3855. this.Activitieslist = response.data.data.activity;
  3856. console.log("活动列表",activity);
  3857. console.log(this.Activitieslist)
  3858. }
  3859. })
  3860. },
  3861. getArticlelist(){
  3862. getArticlelist(this.Articlelist).then(response=>{
  3863. if(response.data.state ==1){
  3864. var articlelist = response.data.data.articlelists;
  3865. this.Articlelist = response.data.data.articlelists;
  3866. console.log("得到文章列表",this.Articlelist);
  3867. }
  3868. })
  3869. },
  3870. handleAvatarSuccesstwo(res,file){
  3871. this.editdocfrom.dochead = this.qiniuDomain + res.url;
  3872. },
  3873. beforeAvatarUploadtwo(file) {
  3874. var fileType = file.type
  3875. const isJPG = fileType.indexOf("image") > -1;
  3876. const isLt2M = file.size / 1024 / 1024 < 2;
  3877. if (!isJPG) {
  3878. this.$message.error("只能上传图片");
  3879. return false;
  3880. }
  3881. if (!isLt2M) {
  3882. this.$message.error("图片大小不能超过 2MB!");
  3883. return false;
  3884. }
  3885. var date = new Date()
  3886. var ext = getFileExtension(file.name)
  3887. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  3888. this.uploading = true;
  3889. this.loadingText = '封面图片上传中'
  3890. const _self = this
  3891. return new Promise((resolve, reject) => {
  3892. getToken().then(response => {
  3893. const token= response.data.data.uptoken
  3894. console.log("医生头像token是什么?",token)
  3895. _self._data.doctorDatatwo.token = token;
  3896. _self._data.doctorDatatwo.key = key;
  3897. resolve(true)
  3898. }).catch(err => {
  3899. reject(false)
  3900. this.uploading = false;
  3901. })
  3902. })
  3903. return isJPG && isLt2M;
  3904. },
  3905. handleAvatarSuccessthree(res,file){
  3906. this.officeformthree.officeImages = this.qiniuDomain + res.url;
  3907. },
  3908. beforeAvatarUploadthree(file){
  3909. var fileType = file.type
  3910. const isJPG = fileType.indexOf("image") > -1;
  3911. const isLt2M = file.size / 1024 / 1024 < 2;
  3912. if (!isJPG) {
  3913. this.$message.error("只能上传图片");
  3914. return false;
  3915. }
  3916. if (!isLt2M) {
  3917. this.$message.error("图片大小不能超过 2MB!");
  3918. return false;
  3919. }
  3920. var date = new Date()
  3921. var ext = getFileExtension(file.name)
  3922. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  3923. const _self = this
  3924. return new Promise((resolve, reject) => {
  3925. getToken().then(response => {
  3926. const tokentree = response.data.data.uptoken
  3927. console.log("科室token是什么?",tokentree)
  3928. _self._data.keData.token = tokentree;
  3929. _self._data.keData.key = key;
  3930. resolve(true)
  3931. }).catch(err => {
  3932. reject(false)
  3933. })
  3934. })
  3935. },
  3936. imageKeuSccesstwo(res,file){
  3937. console.log("图片路径",this.qiniuDomain + res.url)
  3938. this.officeformtwo.officeImages = this.qiniuDomain + res.url;
  3939. // this.keform.keImages.push(this.keform.keimages);
  3940. // console.log("图片数组",this.keform.keImages)
  3941. },
  3942. beforekeUpload(file){
  3943. var fileType = file.type
  3944. const isJPG = fileType.indexOf("image") > -1;
  3945. const isLt2M = file.size / 1024 / 1024 < 2;
  3946. if (!isJPG) {
  3947. this.$message.error("只能上传图片");
  3948. return false;
  3949. }
  3950. if (!isLt2M) {
  3951. this.$message.error("图片大小不能超过 2MB!");
  3952. return false;
  3953. }
  3954. var date = new Date()
  3955. var ext = getFileExtension(file.name)
  3956. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() +'_o_' + file.uid + '.' + ext;
  3957. const _self = this
  3958. return new Promise((resolve, reject) => {
  3959. getToken().then(response => {
  3960. const tokentree = response.data.data.uptoken
  3961. console.log("科室token是什么?",tokentree)
  3962. _self._data.keData.token = tokentree;
  3963. _self._data.keData.key = key;
  3964. resolve(true)
  3965. }).catch(err => {
  3966. reject(false)
  3967. })
  3968. })
  3969. },
  3970. deletemodle(id,index){
  3971. this.$confirm('确认要删除该模块么?删除后该条信息将无法恢复','删除提示!',{
  3972. dangerouslyUseHTMLString:true,
  3973. confirmButtonText: '确定',
  3974. cancelButtonText: '取消',
  3975. type: 'warning'
  3976. }).then(()=>{
  3977. deletemodle(id).then(response=>{
  3978. if(response.data.state == 1){
  3979. this.model.splice(index,1);
  3980. this.getOrderModel();
  3981. }
  3982. }).catch(e=>{});
  3983. }).catch(e=>{});
  3984. },
  3985. SaveWorkTime(formName){
  3986. var sorts = this.workform.sort
  3987. var sort = parseInt(sorts)
  3988. this.workform.sort = sort
  3989. this.$refs[formName].validate((valid)=>{
  3990. if(valid){
  3991. SaveWorkTime(this.workform.id,this.workform).then(response=>{
  3992. if(response.data.state == 1){
  3993. var patientWorktime = response.data.data.patientWorktime;
  3994. console.log("返回数据",patientWorktime);
  3995. this.dialogVisiblefour = false;
  3996. this.$message.success('数据保存成功');
  3997. this.GetUserdModel();
  3998. this.getOrderModel();
  3999. }
  4000. })
  4001. }
  4002. })
  4003. },
  4004. saverideway(formName){
  4005. var sorts = this.rideform.sort
  4006. var sort = parseInt(sorts)
  4007. this.rideform.sort = sort
  4008. this.$refs[formName].validate((valid)=>{
  4009. if(valid){
  4010. saverideway(this.rideform.id,this.rideform).then(response=>{
  4011. this.dialogVisiblefive = false;
  4012. if(response.data.state ==1 ){
  4013. var ridewaymodel = response.data.data.ridewaymodel;
  4014. console.log("返回数据",ridewaymodel);
  4015. // this.$message.success("数据保存成功");
  4016. this.GetUserdModel();
  4017. this.getOrderModel();
  4018. }
  4019. })
  4020. }
  4021. })
  4022. },
  4023. MagicClick(linkid){
  4024. GetMagicClickByLinkid(linkid).then(response=>{
  4025. if(response.data.state ==1){
  4026. var magiclink = response.data.data.magiclink;
  4027. console.log("magiclink",magiclink)
  4028. window.location.href = magiclink.linkaddress;
  4029. }
  4030. })
  4031. },
  4032. selectpiclinktwo(id){
  4033. if(id == 1){
  4034. this.showpiclink = false;
  4035. this.singform.linkaddress = "";
  4036. }
  4037. if(id ==2){
  4038. this.showpiclink = true;
  4039. }
  4040. },
  4041. selectpiclinkfour(id){
  4042. if(id == 1){
  4043. this.showpiclink = false;
  4044. this.editpic.linkaddress = "";
  4045. }
  4046. if(id == 2){
  4047. this.showpiclink = true;
  4048. }
  4049. },
  4050. selectpiclink(id){
  4051. if(id == 1){
  4052. this.showpiclink = false;
  4053. }
  4054. if(id == 2){
  4055. this.showpiclink = true;
  4056. }
  4057. },
  4058. selectlinkType(id){
  4059. if(id == 1){
  4060. this.linkTypeShow = false;
  4061. this.zhanShow = false;
  4062. this.definelinkShow = false;
  4063. this.refform.contenttype = "";
  4064. }
  4065. if(id == 2){
  4066. this.linkTypeShow = false;
  4067. this.zhanShow = true;
  4068. this.definelinkShow = false;
  4069. this.refform.contenttype = "";
  4070. }
  4071. if(id == 3){
  4072. this.linkTypeShow = false;
  4073. this.zhanShow = false;
  4074. this.definelinkShow = true;
  4075. this.refform.contenttype = "";
  4076. }
  4077. },
  4078. selectlinkTypeTwo(id){
  4079. if(id == 1){
  4080. this.linkTypeShow = false;
  4081. this.zhanShow = false;
  4082. this.definelinkShow = false;
  4083. }
  4084. if(id == 2){
  4085. this.linkTypeShow = false;
  4086. this.zhanShow = true;
  4087. this.definelinkShow = false;
  4088. }
  4089. if(id == 3){
  4090. this.linkTypeShow = false;
  4091. this.zhanShow = false;
  4092. this.definelinkShow = true;
  4093. }
  4094. },
  4095. selectGender(id){
  4096. if(id == 1){
  4097. this.define = true;
  4098. }
  4099. if(id == 2){
  4100. this.define = false;
  4101. }
  4102. },
  4103. selectGendertwo(id){
  4104. if(id == 1){
  4105. this.definefive = true;
  4106. }
  4107. if(id == 2){
  4108. this.definefive = false;
  4109. }
  4110. },
  4111. selectItemThree(id){
  4112. if(id == 1){
  4113. this.definetwo = false;
  4114. this.definethree = false;
  4115. this.definefour = false;
  4116. this.navigationlinkform.navitionlinktype = "";
  4117. this.navigationlinkform.phone = "";
  4118. this.navigationlinkform.outstationlink = "";
  4119. this.navigationlinkform.linkaddress = "";
  4120. }
  4121. if(id==2){
  4122. this.definetwo = true;
  4123. this.definethree = false;
  4124. this.definefour = false;
  4125. this.navigationlinkform.phone = "";
  4126. this.navigationlinkform.outstationlink = "";
  4127. this.navigationlinkform.navitionlinktype = "";
  4128. this.navigationlinkform.linkaddress = "";
  4129. }
  4130. if(id==3){
  4131. this.definethree = true;
  4132. this.definetwo = false;
  4133. this.definefour = false;
  4134. this.navigationlinkform.navitionlinktype = "";
  4135. this.navigationlinkform.outstationlink = "";
  4136. this.navigationlinkform.phone = "";
  4137. this.navigationlinkform.linkaddress = "";
  4138. }
  4139. if(id==4){
  4140. this.definefour = true;
  4141. this.definetwo = false;
  4142. this.definethree = false;
  4143. this.navigationlinkform.navitionlinktype = "";
  4144. this.navigationlinkform.phone = "";
  4145. this.navigationlinkform.outstationlink = "";
  4146. this.navigationlinkform.linkaddress = "";
  4147. }
  4148. },
  4149. selectItem(id){
  4150. if(id == 1){
  4151. this.definetwo = false;
  4152. this.definethree = false;
  4153. this.definefour = false;
  4154. }
  4155. if(id==2){
  4156. this.definetwo = true;
  4157. this.definethree = false;
  4158. this.definefour = false;
  4159. }
  4160. if(id==3){
  4161. this.definethree = true;
  4162. this.definetwo = false;
  4163. this.definefour = false;
  4164. }
  4165. if(id==4){
  4166. this.definefour = true;
  4167. this.definetwo = false;
  4168. this.definethree = false;
  4169. }
  4170. },
  4171. selectItemEdit(id){
  4172. if(id == 1){
  4173. this.definetwo = false;
  4174. this.definethree = false;
  4175. this.definefour = false;
  4176. this.linkformtwo.instationlink = "";
  4177. this.linkformtwo.phone = "";
  4178. this.linkformtwo.outstationlink = "";
  4179. }
  4180. if(id==2){
  4181. this.definetwo = true;
  4182. this.definethree = false;
  4183. this.definefour = false;
  4184. this.linkformtwo.phone = "";
  4185. this.linkformtwo.outstationlink = "";
  4186. }
  4187. if(id==3){
  4188. this.definethree = true;
  4189. this.definetwo = false;
  4190. this.definefour = false;
  4191. this.linkformtwo.instationlink = "";
  4192. this.linkformtwo.outstationlink = "";
  4193. }
  4194. if(id==4){
  4195. this.definefour = true;
  4196. this.definetwo = false;
  4197. this.definethree = false;
  4198. this.linkformtwo.instationlink = "";
  4199. this.linkformtwo.phone = "";
  4200. }
  4201. },
  4202. selectItemTwo(id){
  4203. if(id == 1){
  4204. this.definetwo = false;
  4205. this.definethree = false;
  4206. this.definefour = false;
  4207. this.editnavigationlinkform.navitionlinktype = "";
  4208. this.editnavigationlinkform.phone = "";
  4209. this.editnavigationlinkform.outstationlink = "";
  4210. }
  4211. if(id==2){
  4212. this.definetwo = true;
  4213. this.definethree = false;
  4214. this.definefour = false;
  4215. this.editnavigationlinkform.navitionlinktype = "";
  4216. this.editnavigationlinkform.phone = "";
  4217. this.editnavigationlinkform.outstationlink = "";
  4218. this.editnavigationlinkform.linkaddress = "";
  4219. }
  4220. if(id==3){
  4221. this.definethree = true;
  4222. this.definetwo = false;
  4223. this.definefour = false;
  4224. this.editnavigationlinkform.navitionlinktype = "";
  4225. this.editnavigationlinkform.phone = "";
  4226. this.editnavigationlinkform.outstationlink = "";
  4227. this.editnavigationlinkform.linkaddress = "";
  4228. }
  4229. if(id==4){
  4230. this.definefour = true;
  4231. this.definetwo = false;
  4232. this.definethree = false;
  4233. this.editnavigationlinkform.navitionlinktype = 0;
  4234. this.editnavigationlinkform.phone = "";
  4235. this.editnavigationlinkform.outstationlink = "";
  4236. this.editnavigationlinkform.linkaddress = "";
  4237. }
  4238. },
  4239. qrcode () {
  4240. let qrcode = new QRCode('qrcode', {
  4241. width: 100,
  4242. height: 100, // 高度
  4243. // text:'http://microweb.kuyicloud.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
  4244. text:'http://jk.test.sgjyun.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
  4245. })
  4246. console.log(qrcode)
  4247. },
  4248. //添加导航设置
  4249. addNavigation(formName){
  4250. this.$refs[formName].validate((valid)=>{
  4251. if(valid){
  4252. addNavigation(this.navigationform).then(response=>{
  4253. if(response.data.state == 1){
  4254. var navigation = response.data.data.navigation;
  4255. this.navigationform = "",
  4256. console.log("返回数据",navigation)
  4257. this.navigationVisible = false;
  4258. this.getNavigationList();
  4259. }
  4260. })
  4261. }
  4262. })
  4263. },
  4264. //获取导航列表
  4265. getNavigationList(){
  4266. getNavigationList().then(response=>{
  4267. if(response.data.state ==1){
  4268. var navigation = response.data.data.navigation;
  4269. this.navigationdata = response.data.data.navigation;
  4270. console.log("查询数据",navigation)
  4271. }
  4272. })
  4273. },
  4274. deleteNavigation(id,index){
  4275. this.$confirm('确认要删除该导航吗?删除后该条信息将无法恢复','删除提示!',{
  4276. dangerouslyUseHTMLString:true,
  4277. confirmButtonText: '确定',
  4278. cancelButtonText: '取消',
  4279. type: 'warning'
  4280. }).then(()=>{
  4281. deleteNavigation(id).then(response=>{
  4282. if( response.data.state == 1){
  4283. this.navigationdata.splice(index,1)
  4284. this.navigationdatatwo.splice(index,1)
  4285. }
  4286. }).catch(e=>{});
  4287. }).catch(e=>{});
  4288. },
  4289. editNavigation(id){
  4290. editNavigation(id).then(response=>{
  4291. if(response.data.state==1){
  4292. var navigation = response.data.data.navigation;
  4293. this.editNavigationform = response.data.data.navigation;
  4294. console.log("返回的导航数据",navigation);
  4295. }
  4296. })
  4297. },
  4298. SaveNavigation(formName){
  4299. this.$refs[formName].validate((valid)=>{
  4300. if(valid){
  4301. SaveNavigation(this.editNavigationform.id,this.editNavigationform).then(response=>{
  4302. if(response.data.state == 1){
  4303. var navigation = response.data.data.navigation;
  4304. var navigations = response.data.data.navigations;
  4305. this.navigationdatatwo = navigations;
  4306. console.log("旺仔小牛奶",navigation)
  4307. this.editNavigationVisible = false;
  4308. console.log("更新的数据",navigation);
  4309. this.getNavigationList();
  4310. }
  4311. })
  4312. }
  4313. })
  4314. },
  4315. changbutton(){
  4316. var content = document.getElementById('edit').innerHTML;
  4317. if(content == "编辑"){
  4318. document.getElementById('edit').innerHTML = "确认";
  4319. this.disabled = false;
  4320. this.shareshow = true;
  4321. }
  4322. if(content == "确认"){
  4323. document.getElementById('edit').innerHTML = "编辑";
  4324. this.disabled = true;
  4325. this.shareshow = false;
  4326. AddShareInfo(this.shareform).then(response=>{
  4327. if(response.data.state == 1){
  4328. var share = response.data.data.share;
  4329. this.getShareInfo();
  4330. console.log("数据返回",share);
  4331. }
  4332. })
  4333. }
  4334. },
  4335. getShareInfo(){
  4336. getShareInfo().then(response=>{
  4337. if(response.data.state == 1){
  4338. var share = response.data.data.share;
  4339. this.shareInfo = response.data.data.share;
  4340. this.sharefive = true;
  4341. this.sharepic = true;
  4342. console.log("返回分享数据",share)
  4343. }
  4344. })
  4345. },
  4346. returntop(){
  4347. this.scrollToTopTimer();
  4348. },
  4349. getArticleType(){
  4350. getArticleType(this.articeTypelist).then(response=>{
  4351. if(response.data.state == 1){
  4352. var category = response.data.data.category;
  4353. this.articeTypelist = response.data.data.category;
  4354. this.articeTypeOptions = response.data.data.category;
  4355. console.log("文章分类是什么",this.articeTypelist);
  4356. }
  4357. })
  4358. },
  4359. getAllConnecWay(){
  4360. getAllConnecWay(this.Connectways).then(response=>{
  4361. if(response.data.state == 1){
  4362. var connect = response.data.data.connect;
  4363. console.log("联系是什么",connect)
  4364. this.Connectways = response.data.data.connect;
  4365. console.log("方法试试",this.Connectways)
  4366. }
  4367. })
  4368. },
  4369. editConnecway(id){
  4370. editConnecway(id).then(response=>{
  4371. if(response.data.state == 1){
  4372. var connection = response.data.data.connection;
  4373. this.connectform = response.data.data.connection;
  4374. }
  4375. })
  4376. },
  4377. UpdateConnectform(formName){
  4378. this.$refs[formName].validate((valid)=>{
  4379. UpdateConnectform(this.connectform.id,this.connectform).then(response=>{
  4380. if(response.data.state == 1){
  4381. var connection = response.data.data.connection;
  4382. this.getAllConnecWay();
  4383. }
  4384. })
  4385. })
  4386. },
  4387. deleteConnecWay(id,index){
  4388. deleteConnecWay(id).then(response=>{
  4389. if(response.data.state == 1){
  4390. this.Connectways.splice(index,1)
  4391. }
  4392. })
  4393. },
  4394. UpdateContactform(formName){
  4395. var sort = this.contactform.sort;
  4396. var sorts = parseInt(sort);
  4397. this.contactform.sort = sorts;
  4398. this.$refs[formName].validate((valid)=>{
  4399. if(valid){
  4400. UpdateContactform(this.contactform.id,this.contactform).then(response=>{
  4401. if(response.data.state == 1){
  4402. var ordmodel = response.data.data.ordmodel;
  4403. var connectway = response.data.data.connectway;
  4404. this.getOrderModel();
  4405. this.GetUserdModel();
  4406. }
  4407. })
  4408. }
  4409. })
  4410. },
  4411. addConnectways(formName){
  4412. this.$refs[formName].validate((valid)=>{
  4413. if(valid){
  4414. addConnectways(this.contacthreeform).then(response=>{
  4415. if(response.data.state == 1){
  4416. var connection = response.data.data.connection;
  4417. this.getAllConnecWay();
  4418. }
  4419. })
  4420. }
  4421. })
  4422. },
  4423. UpdateHospitalAddress(formName){
  4424. var sort = this.hospitaladdress.sort;
  4425. var sorts = parseInt(sort)
  4426. this.hospitaladdress.sort = sorts;
  4427. this.$refs[formName].validate((valid)=>{
  4428. if(valid){
  4429. UpdateHospitalAddress(this.hospitaladdress.id,this.hospitaladdress).then(response=>{
  4430. if(response.data.state ==1){
  4431. var ordmodel = response.data.data.ordmodel;
  4432. var hosaddress = response.data.data.hosaddress;
  4433. this.getOrderModel();
  4434. this.GetUserdModel();
  4435. }
  4436. })
  4437. }
  4438. })
  4439. },
  4440. AddMacgicform(formName){
  4441. this.$refs[formName].validate((valid)=>{
  4442. if(valid){
  4443. AddMacgicform(this.macform.id,this.macgicform).then(response=>{
  4444. if(response.data.state == 1){
  4445. var editmargin = response.data.data.editmargin;
  4446. this.editImagesVisbile = false;
  4447. this.getMacImagesDetail();
  4448. this.macgicform = "";
  4449. }
  4450. })
  4451. }
  4452. })
  4453. },
  4454. deleteMacImagesDetail(id,index){
  4455. deleteMacImagesDetail(id).then(response=>{
  4456. if(response.data.state == 1){
  4457. this.macdataImages.splice(index,1);
  4458. }
  4459. })
  4460. },
  4461. EditMacImages(id){
  4462. getEditMacImageDetail(id).then(response=>{
  4463. if(response.data.state == 1){
  4464. var editmargin = response.data.data.editmargin;
  4465. console.log("editmargin",editmargin)
  4466. if(editmargin.jumpset == 1){
  4467. this.definefive = true;
  4468. }
  4469. if(editmargin.jumpset == 2){
  4470. this.definefive = false
  4471. }
  4472. this.editmacform = editmargin;
  4473. }
  4474. })
  4475. },
  4476. getMacImagesDetail(){
  4477. getMacImagesDetail(this.macform.id).then(response=>{
  4478. if(response.data.state == 1){
  4479. this.macdataImages = response.data.data.editmargin;
  4480. }
  4481. })
  4482. },
  4483. UpdateMacform(formName){
  4484. var sort = this.macform.sort;
  4485. var sorts = parseInt(sort);
  4486. this.macform.sort = sorts;
  4487. this.$refs[formName].validate((valid)=>{
  4488. if(valid){
  4489. UpdateMacform(this.macform.id,this.macform).then(response=>{
  4490. if(response.data.state == 1){
  4491. var model = response.data.data.model;
  4492. this.getMacImagesDetail();
  4493. this.getQueryNewModel();
  4494. this.getHospitaldata();
  4495. }
  4496. })
  4497. }
  4498. })
  4499. },
  4500. UpdateEditMacform(formName){
  4501. this.$refs[formName].validate((valid)=>{
  4502. if(valid){
  4503. UpdateEditMacform(this.editmacform.id,this.editmacform).then(response=>{
  4504. if(response.data.state == 1 ){
  4505. var editmargin = response.data.data.editmargin;
  4506. this.getMacImagesDetail();
  4507. }
  4508. })
  4509. }
  4510. })
  4511. },
  4512. getLikeMacAddressById(id){
  4513. getLikeMacAddressById(id,this.linkform).then(response=>{
  4514. if(response.data.state ==1){
  4515. var magiclink = response.data.data.magiclink;
  4516. console.log("magiclink是什么",magiclink)
  4517. if(magiclink.linktype == 2){
  4518. this.definetwo = true;
  4519. }
  4520. if(magiclink.linktype ==3){
  4521. this.definethree = true;
  4522. }
  4523. if(magiclink.linktype == 4){
  4524. this.definefour = true;
  4525. }
  4526. this.linkformfive = magiclink;
  4527. console.log("中秋快乐",magiclink)
  4528. }
  4529. })
  4530. },
  4531. GetArticleName(id){
  4532. GetArticleName(id).then(response=>{
  4533. if(response.data.state == 1){
  4534. var articlelist = response.data.data.articlelist;
  4535. console.log("文章姓名列表",articlelist)
  4536. this.linkformfive.title = "";
  4537. this.articeTitlelist = articlelist;
  4538. }
  4539. })
  4540. },
  4541. getAllArticelist(){
  4542. GetAllArticelist().then(response=>{
  4543. if(response.data.state == 1){
  4544. var articles = response.data.data.articles;
  4545. console.log("article是什么",articles)
  4546. this.articeTitlelist = articles;
  4547. this.articeNamelist = articles;
  4548. }
  4549. })
  4550. },
  4551. UpdateLinkAddress(formName){
  4552. // if(this.linkformfive.instationlink == ""){
  4553. // this.linkformfive.instationlink = 0;
  4554. // }
  4555. var instationlink = this.linkformfive.instationlink;
  4556. var instationlinks = parseInt(instationlink);
  4557. this.linkformfive.instationlink = instationlinks;
  4558. this.linkformfive.linkaddress = this.linkformfive.instationlink;
  4559. console.log("哈哈哈哈哈哈哈", this.linkformfive.linkaddress)
  4560. this.$refs[formName].validate((valid)=>{
  4561. if(valid){
  4562. UpdateLinkAddress(this.linkformfive.id,this.linkformfive).then(response=>{
  4563. if(response.data.state == 1){
  4564. var magiclink = response.data.data.magiclink;
  4565. var model = response.data.data.model;
  4566. console.log("magiclink",magiclink)
  4567. console.log("model",model)
  4568. this.linkVisiblefour = false;
  4569. this.linkformfive.articetype = "";
  4570. this.linkformfive.instationlink = "";
  4571. this.linkformfive.phone = "";
  4572. this.linkformfive.outstationlink = "";
  4573. this.linkformfive.title = "";
  4574. this.editmacform.marginaddress = magiclink.linkaddress;
  4575. if(model.mode_type == 1){
  4576. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4577. }
  4578. if(model.mode_type == 2){
  4579. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4580. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4581. }
  4582. if(model.mode_type == 3){
  4583. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4584. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4585. }
  4586. if(model.mode_type == 4){
  4587. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4588. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4589. }
  4590. if(model.mode_type == 5){
  4591. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4592. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4593. }
  4594. if(model.mode_type == 6){
  4595. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4596. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4597. }
  4598. if(model.mode_type == 7){
  4599. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4600. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4601. }
  4602. if(model.mode_type == 8){
  4603. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4604. }
  4605. }
  4606. })
  4607. }
  4608. })
  4609. },
  4610. AddMacLinkAddress(formName){
  4611. if(this.linkformtwo.instationlink == ""){
  4612. this.linkformtwo.instationlink = 0;
  4613. }
  4614. var instationlink = this.linkformtwo.instationlink;
  4615. var instationlinks = parseInt(instationlink)
  4616. this.linkformtwo.instationlink = instationlinks;
  4617. // this.linkformtwo.linkaddress = this.linkformtwo.instationlink;
  4618. this.$refs[formName].validate((valid)=>{
  4619. if(valid){
  4620. AddMacLinkAddress(this.linkformtwo).then(response=>{
  4621. if(response.data.state == 1){
  4622. this.linkVisibletwo = false;
  4623. var magiclink = response.data.data.magiclink;
  4624. console.log("magiclink",magiclink)
  4625. var model = response.data.data.model;
  4626. console.log("model",model);
  4627. if(model.mode_type == 1){
  4628. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4629. }
  4630. if(model.mode_type == 2){
  4631. //this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4632. this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4633. }
  4634. if(model.mode_type == 3){
  4635. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4636. this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4637. }
  4638. if(model.mode_type == 4){
  4639. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4640. this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4641. }
  4642. if(model.mode_type == 5){
  4643. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4644. this.editmacform.marginaddress = "http://jk.test.sgjyun.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4645. }
  4646. if(model.mode_type == 6){
  4647. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4648. this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4649. }
  4650. if(model.mode_type == 7){
  4651. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4652. this.macgicform.linkaddress = "http://jk.test.sgjyun.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4653. }
  4654. if(model.mode_type == 8){
  4655. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4656. }
  4657. }
  4658. })
  4659. }
  4660. })
  4661. },
  4662. GetLinkAddress(id){
  4663. GetLinkAddress(id).then(response=>{
  4664. if(response.data.state == 1){
  4665. var linkaddress = response.data.data.linkaddress;
  4666. this.refform = linkaddress;
  4667. console.log("中秋快乐",linkaddress)
  4668. }
  4669. })
  4670. },
  4671. GetAllActivity(){
  4672. GetAllActivity().then(response=>{
  4673. if(response.data.state == 1){
  4674. var activtity = response.data.data.activtity;
  4675. console.log("所有活动",activtity)
  4676. this.articeNamelist = response.data.data.activtity;
  4677. }
  4678. })
  4679. },
  4680. addNavigationlinkform(formName){
  4681. var navitionlinktype = this.navigationlinkform.navitionlinktype;
  4682. console.log("navitionlinktype",navitionlinktype)
  4683. if(navitionlinktype == ""){
  4684. navitionlinktype = 0;
  4685. }
  4686. var navitionlinktype = parseInt(navitionlinktype)
  4687. this.navigationlinkform.navitionlinktype = navitionlinktype;
  4688. console.log('地址',this.navigationlinkform.navitionlinktype)
  4689. if(this.navigationlinkform.phone == ""){
  4690. this.navigationlinkform.phone = '0'+this.navigationlinkform.phone;
  4691. }
  4692. if(this.navigationlinkform.outstationlink == ""){
  4693. this.navigationlinkform.outstationlink = '0'+this.navigationlinkform.outstationlink;
  4694. }
  4695. if(this.navigationlinkform.navitionlinktype == 1){
  4696. // this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4697. this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4698. }
  4699. if(this.navigationlinkform.navitionlinktype == 2){
  4700. this.navigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
  4701. }
  4702. if(this.navigationlinkform.navitionlinktype == 3){
  4703. // this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
  4704. this.navigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
  4705. }
  4706. this.$refs[formName].validate((valid)=>{
  4707. if(valid){
  4708. addNavigationlinkform(this.navigationlinkform).then(response=>{
  4709. if(response.data.state == 1){
  4710. this.linkVisible = false;
  4711. var navgationlink = response.data.data.navgationlink;
  4712. console.log("address",navgationlink);
  4713. if(navgationlink.phone == "" && navgationlink.outstationlink == ""){
  4714. this.navigationform.navigationaddress = navgationlink.linkaddress;
  4715. }
  4716. if(navgationlink.outstationlink == "" && navgationlink.linkaddress == ""){
  4717. this.navigationform.navigationaddress = navgationlink.phone;
  4718. }
  4719. if(navgationlink.phone == "" && navgationlink.linkaddress == ""){
  4720. this.navigationform.navigationaddress = navgationlink.outstationlink;
  4721. }
  4722. this.navigationform.linkid = navgationlink.id;
  4723. this.navigationform.linktype = navgationlink.linktype;
  4724. }
  4725. })
  4726. }
  4727. })
  4728. },
  4729. SetlinkAddress(id){
  4730. getNavgitionlinkAddress(id).then(response=>{
  4731. if(response.data.state == 1){
  4732. var navgationlink = response.data.data.navgationlink;
  4733. console.log("navgationlink是什么",navgationlink)
  4734. this.editnavigationlinkform = navgationlink;
  4735. this.editnavigationlinkform.id = navgationlink.id;
  4736. if(navgationlink.linktype == 1){
  4737. this.definetwo = false;
  4738. this.definethree = false;
  4739. this.definefour = false;
  4740. }
  4741. if(navgationlink.linktype == 2){
  4742. this.definethree = false;
  4743. this.definefour = false;
  4744. this.definetwo = true;
  4745. }
  4746. if(navgationlink.linktype == 3){
  4747. this.definetwo = false;
  4748. this.definefour = false;
  4749. this.definethree = true;
  4750. }
  4751. if(navgationlink.linktype == 4){
  4752. this.definetwo = false;
  4753. this.definethree = false;
  4754. this.definefour = true;
  4755. }
  4756. }
  4757. })
  4758. },
  4759. UpdateEditNavigationLinkform(formName){
  4760. if(this.editnavigationlinkform.navitionlinktype == ""){
  4761. this.editnavigationlinkform.navitionlinktype = 0;
  4762. }
  4763. var navigationlinktype = this.editnavigationlinkform.navitionlinktype;
  4764. console.log("navigationlinktype",navigationlinktype)
  4765. var navigationlinktypes = parseInt(navigationlinktype)
  4766. this.editnavigationlinkform.navitionlinktype = navigationlinktypes;
  4767. if(this.editnavigationlinkform.navitionlinktype == 1){
  4768. // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4769. this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4770. }
  4771. if(this.editnavigationlinkform.navitionlinktype == 2){
  4772. this.editnavigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
  4773. // this.editnavigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
  4774. }
  4775. if(this.editnavigationlinkform.navitionlinktype == 3){
  4776. // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
  4777. this.editnavigationlinkform.linkaddress = "http://jk.test.sgjyun.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
  4778. }
  4779. this.$refs[formName].validate(response=>{
  4780. UpdateEditNavigationLinkform(this.editnavigationlinkform.id,this.editnavigationlinkform).then(response=>{
  4781. if(response.data.state == 1){
  4782. this.dialogVisible = false;
  4783. var navgationlink = response.data.data.navgationlink;
  4784. this.editNavigationform.linkid = navgationlink.id;
  4785. this.editNavigationform.linktype = navgationlink.linktype;
  4786. console.log("navgationlink",navgationlink)
  4787. console.log(this.editNavigationform.linkid)
  4788. if(navgationlink.outstationlink == "" && navgationlink.phone == ""){
  4789. this.editNavigationform.navaddress = navgationlink.linkaddress;
  4790. }
  4791. if(navgationlink.linkaddress == "" && navgationlink.outstationlink == ""){
  4792. this.editNavigationform.navaddress = navgationlink.phone;
  4793. }
  4794. if(navgationlink.linkaddress == "" && navgationlink.phone == ""){
  4795. this.editNavigationform.navaddress = navgationlink.outstationlink;
  4796. }
  4797. }
  4798. })
  4799. })
  4800. },
  4801. scrollToTop() {
  4802. this.scrollTop = document.getElementById('target').scrollTop
  4803. this.scrollTop = document.getElementById('targettwo').scrollTop
  4804. this.scrollTop = document.getElementById('targetthre').scrollTop
  4805. this.scrollTop = document.getElementById('targetfour').scrollTop
  4806. this.scrollTop = document.getElementById('targetfive').scrollTop
  4807. this.scrollTop = document.getElementById('targetsix').scrollTop
  4808. },
  4809. backTop() {
  4810. this.timer = setInterval(()=>{
  4811. this.scrollToTopTimer()
  4812. },20)
  4813. },
  4814. scrollToTopTimer() {
  4815. let scrollTop = this.scrollTop
  4816. console.log("scrollTop是什么?",scrollTop)
  4817. if(scrollTop > 0) {
  4818. scrollTop -= 100
  4819. if(scrollTop <= 0) {
  4820. scrollTop = 0
  4821. clearInterval(this.timer)
  4822. }
  4823. }
  4824. document.getElementById('target').scrollTop = scrollTop
  4825. document.getElementById('targettwo').scrollTop = scrollTop
  4826. document.getElementById('targetthree').scrollTop = scrollTop
  4827. document.getElementById('targetfour').scrollTop = scrollTop
  4828. document.getElementById('targetfive').scrollTop = scrollTop
  4829. document.getElementById('targetsix').scrollTop = scrollTop
  4830. },
  4831. getQueryDocInfo(){
  4832. getQueryDocInfo().then(response=>{
  4833. if(response.data.state==1){
  4834. this.docnames = response.data.data.doctor;
  4835. console.log("获取医生信息",response.data.data.doctor)
  4836. }
  4837. })
  4838. },
  4839. change(id){
  4840. change(id).then(response=>{
  4841. if(response.data.state == 1){
  4842. var docinfo = response.data.data.docinfo;
  4843. this.eidtDoctorform = response.data.data.docinfo;
  4844. console.log("编辑医生返回数据",docinfo);
  4845. }
  4846. })
  4847. },
  4848. AddDoctorInfoTwo(formName){
  4849. var sort = this.eidtDoctorform.sort;
  4850. var sorts = parseInt(sort);
  4851. this.eidtDoctorform.sort = sorts;
  4852. console.log("排序值",sorts)
  4853. this.$refs[formName].validate((valid)=>{
  4854. if(valid){
  4855. AddDoctorInfoTwo(this.doctorform.modleid,this.eidtDoctorform).then(response=>{
  4856. if(response.data.state == 1){
  4857. this.centerDialogVisible = false;
  4858. var editdoctor = response.data.data.editdoctor;
  4859. this.docimages = response.data.data.editdoctors;
  4860. }
  4861. })
  4862. }
  4863. })
  4864. },
  4865. GetNavigationData(){
  4866. GetNavigationData().then(response=>{
  4867. if(response.data.state == 1){
  4868. var navigation = response.data.data.navigation;
  4869. for (let index = 0; index < navigation.length; index++) {
  4870. navigation[0].nonavimages = "https://images.shengws.com/2089_o_1571990714383.png";
  4871. }
  4872. console.log("navigation是设么",navigation)
  4873. this.navigationdatatwo = navigation;
  4874. }
  4875. })
  4876. },
  4877. getAllModelTitle(){
  4878. getAllModelTitle().then(response=>{
  4879. if(response.data.state == 1){
  4880. var patientModels = response.data.data.patientModels;
  4881. this.modelTtile = patientModels;
  4882. console.log("模块标题是什么",patientModels)
  4883. }
  4884. })
  4885. },
  4886. callPhone(title,address){
  4887. if(title == "首页"){
  4888. this.modelshow = false
  4889. this.modelshowtwo = true;
  4890. this.getHospitaldata();
  4891. }
  4892. if(title == "联系我们"){
  4893. this.modelshowtwo = false;
  4894. this.modelshow = true;
  4895. this.getOrderModel();
  4896. }
  4897. if(title == "在线客服"){
  4898. window.location.href = 'tel://'+address+'';
  4899. }
  4900. if(title == "微商城"){
  4901. window.location.href = address;
  4902. }
  4903. },
  4904. GetDoctorDetail(id){
  4905. this.docshow = false;
  4906. this.docshowinfo = true;
  4907. this.returnshow = true;
  4908. GetDoctorDetail(id).then(response=>{
  4909. if(response.data.state ==1){
  4910. var editdoctor = response.data.data.editdoctor;
  4911. if(editdoctor.doc_postion == 1){
  4912. editdoctor.doc_postion = "医士"
  4913. }
  4914. if(editdoctor.doc_postion == 2){
  4915. editdoctor.doc_postion = "医师"
  4916. }
  4917. if(editdoctor.doc_postion == 3){
  4918. editdoctor.doc_postion = "住院医生"
  4919. }
  4920. if(editdoctor.doc_postion == 4){
  4921. editdoctor.doc_postion = "主治医生"
  4922. }
  4923. if(editdoctor.doc_postion == 5){
  4924. editdoctor.doc_postion = "副主任医生"
  4925. }
  4926. if(editdoctor.doc_postion == 6){
  4927. editdoctor.doc_postion = "主任医师"
  4928. }
  4929. if(editdoctor.doc_postion == 7){
  4930. editdoctor.doc_postion = "护士"
  4931. }
  4932. if(editdoctor.doc_postion == 8){
  4933. editdoctor.doc_postion = "护师"
  4934. }
  4935. if(editdoctor.doc_postion == 9){
  4936. editdoctor.doc_postion = "主管护师"
  4937. }
  4938. if(editdoctor.doc_postion == 10){
  4939. editdoctor.doc_postion = "副主任护师"
  4940. }
  4941. if(editdoctor.doc_postion == 11){
  4942. editdoctor.doc_postion = "主任护师"
  4943. }
  4944. this.editdoctor = editdoctor;
  4945. console.log('医生详情是',editdoctor)
  4946. }
  4947. })
  4948. },
  4949. GetArticleListDetail(id){
  4950. this.ArticlelistShow = false;
  4951. this.articlelistshowinfo = true;
  4952. this.returnshow = true;
  4953. GetArticleListDetail(id).then(response=>{
  4954. if(response.data.state ==1){
  4955. var articles = response.data.data.articles;
  4956. console.log("articels",articles)
  4957. this.articlistinfo = articles;
  4958. }
  4959. })
  4960. },
  4961. ActivitiesListInfo(id){
  4962. this.ActivitieslistShow = false;
  4963. this.activitesShowinfo = true;
  4964. this.returnshow = true;
  4965. ActivitiesListInfo(id).then(response=>{
  4966. if(response.data.state == 1){
  4967. var activity = response.data.data.activity
  4968. console.log("activity",activity)
  4969. this.activitiesInfo = activity;
  4970. }
  4971. })
  4972. },
  4973. // returnClick(){
  4974. // this.docshowinfo = false;
  4975. // this.articlelistshowinfo = false;
  4976. // this.activitesShowinfo = false;
  4977. // this.returnshow = false;
  4978. // this.docshow = true;
  4979. // this.ArticlelistShow = true;
  4980. // this.ActivitieslistShow = true;
  4981. // }
  4982. },
  4983. destroyed(){
  4984. clearInterval(this.timer)
  4985. document.getElementById('target').removeEventListener('scroll', this.scrollToTop);
  4986. document.getElementById('targettwo').removeEventListener('scroll', this.scrollToTop);
  4987. document.getElementById('targetthree').removeEventListener('scroll', this.scrollToTop);
  4988. document.getElementById('targetfour').removeEventListener('scroll', this.scrollToTop);
  4989. document.getElementById('targetfive').removeEventListener('scroll', this.scrollToTop);
  4990. document.getElementById('targetsix').removeEventListener('scroll', this.scrollToTop);
  4991. },
  4992. created(){
  4993. this.GetUserdModel();
  4994. this.getQueryNewModel();
  4995. this.getHospital();
  4996. this.getNavigationList();
  4997. this.getShareInfo();
  4998. this.getHospitaldata();
  4999. this.getOrderModel();
  5000. this.GetRotationImages();
  5001. this.getEditImages();
  5002. this.getActivities();
  5003. this.getArticlelist();
  5004. this.getArticleType();
  5005. this.getEnImages();
  5006. this.getAllConnecWay();
  5007. this.getEnImagesTwo();
  5008. this.getEnImagesThree();
  5009. this.getMacImagesDetail();
  5010. this.getAllArticelist();
  5011. this.GetAllActivity();
  5012. this.GetNavigationData();
  5013. this.getAllModelTitle();
  5014. // this.getData();
  5015. },
  5016. // updated(){
  5017. // let obj = document.getElementById('content');
  5018. // // console.log("obj谁什么?",obj)
  5019. // let imgs = obj.getElementsByTagName('img');
  5020. // console.log("imgs是什么?",imgs)
  5021. // for(let i=0;i<imgs.length;i++){
  5022. // imgs[i].style.width = '332px';
  5023. // imgs[i].style.height = '100px';
  5024. // }
  5025. // let ycontent = document.getElementById('ycontent');
  5026. // let ximgs = ycontent.getElementsByTagName('img');
  5027. // for(let j=0;j<ximgs.length;j++){
  5028. // ximgs[j].style.width = '332px';
  5029. // ximgs[j].style.height = '100px';
  5030. // }
  5031. // },
  5032. mounted(){
  5033. this.qrcode();
  5034. this.initSwiper();
  5035. },
  5036. updated(){
  5037. this.initSwiper();
  5038. // this.$previewRefresh();
  5039. }
  5040. }
  5041. </script>
  5042. <style rel="stylesheet/scss" lang="scss" scoped>
  5043. @import "../../assets/styles/mixin.scss";
  5044. .done{
  5045. position: absolute;
  5046. width: 80px;
  5047. height: 20px;
  5048. // border:solid 1px red;
  5049. margin-left: 430px;
  5050. margin-top: 460px;
  5051. font-size: 14px;
  5052. }
  5053. .done2{
  5054. position: absolute;
  5055. width: 80px;
  5056. height: 20px;
  5057. // border:solid 1px red;
  5058. margin-left: 416px;
  5059. margin-top: 510px;
  5060. font-size: 14px;
  5061. }
  5062. .dfont2{
  5063. position: absolute;
  5064. width: 40px;
  5065. height: 40px;
  5066. // border:solid 1px red;
  5067. margin-left: 376px;
  5068. margin-top: 500px;
  5069. }
  5070. .dfont{
  5071. position: absolute;
  5072. width: 40px;
  5073. height: 40px;
  5074. // border:solid 1px red;
  5075. margin-top: 450px;
  5076. margin-left: 390px;
  5077. // margin-left: 380px;
  5078. // margin-top: -200px;
  5079. }
  5080. .dfon{
  5081. position: absolute;
  5082. width: 70px;
  5083. height: 20px;
  5084. // border:solid 1px red;
  5085. margin-top: 675px;
  5086. margin-left: 920px;
  5087. }
  5088. .dtwo{
  5089. position: absolute;
  5090. width:50px;
  5091. height: 50px;
  5092. // border:solid 1px red;
  5093. margin-top: 670px;
  5094. }
  5095. .used {
  5096. ul {
  5097. li {
  5098. height: 44px;
  5099. line-height: 44px;
  5100. font-size: 14px;
  5101. display: flex;
  5102. color: #606266;
  5103. align-items: center;
  5104. justify-content: space-between;
  5105. border-bottom: 1px solid #e4e7ed;
  5106. i {
  5107. font-size: 19px;
  5108. margin: 0 6px;
  5109. cursor: pointer;
  5110. }
  5111. }
  5112. }
  5113. }
  5114. .el-row {
  5115. margin-bottom: 20px;
  5116. &:last-child {
  5117. margin-bottom: 0;
  5118. }
  5119. }
  5120. .el-col {
  5121. border-radius: 4px;
  5122. }
  5123. .qrcode{
  5124. position: absolute;
  5125. width: 110px;
  5126. height: 110px;
  5127. // border: solid 1px red;
  5128. margin-left: 380px;
  5129. margin-top: 50px;
  5130. }
  5131. .share{
  5132. position: relative;
  5133. width: 300px;
  5134. height: 720px;
  5135. border: solid 1px black;
  5136. // margin-left: -10px;
  5137. margin-top: 10px;
  5138. margin-left: 100px;
  5139. }
  5140. .share2{
  5141. position: absolute;
  5142. width: 300px;
  5143. height: 50px;
  5144. // border: solid 1px red;
  5145. background-color: #333333;
  5146. color: white;
  5147. }
  5148. .share3{
  5149. position: absolute;
  5150. margin-left: 120px;
  5151. margin-top: 15px;
  5152. }
  5153. .wrapper {
  5154. width: 314px;
  5155. // border: solid 1px green;
  5156. height: 660px;
  5157. }
  5158. .more{
  5159. position: absolute;
  5160. font-size: 14px;
  5161. color:black;
  5162. margin-left: 220px;
  5163. margin-top: -22px;
  5164. }
  5165. .text{
  5166. display: flex;
  5167. justify-content: space-around;
  5168. }
  5169. .phone{
  5170. float: left;
  5171. width: 380px;
  5172. height: 750px;
  5173. background: url(../../assets/img/phone.png) 50% no-repeat;
  5174. margin-top: -8px;
  5175. // border:solid 1px red;
  5176. }
  5177. .macgic{
  5178. @include border-top;
  5179. position: absolute;
  5180. width: 315px;
  5181. height:60px;
  5182. background-color: white;
  5183. // border: solid 1px #333333;
  5184. // margin-left: 32px;
  5185. margin-top: 654px;
  5186. z-index: 999;
  5187. border-radius: 12px 12px 30px 30px;
  5188. // border:solid 1px red;
  5189. }
  5190. .macgicone{
  5191. // position: absolute;
  5192. width: 30px;
  5193. height: 50px;
  5194. // border: solid 1px red;
  5195. margin-top: 10px;
  5196. margin-left: 40px;
  5197. display: inline-block;
  5198. }
  5199. .macgicfive{
  5200. width: 28px;
  5201. height: 20px;
  5202. // border: solid 1px blue;
  5203. margin-bottom: 8px;
  5204. }
  5205. .macgictwo{
  5206. position: absolute;
  5207. width: 30px;
  5208. height: 30px;
  5209. // border:solid 1px red;
  5210. margin-top:15px;
  5211. margin-left:100px;
  5212. }
  5213. .macgicsix{
  5214. position: absolute;
  5215. width: 60px;
  5216. height: 20px;
  5217. // border:solid 1px red;
  5218. font-size: 14px;
  5219. margin-left: -15px;
  5220. text-align: center;
  5221. // margin-left: 5px;
  5222. }
  5223. .macgicthree{
  5224. position: absolute;
  5225. width: 30px;
  5226. height: 30px;
  5227. // border:solid 1px red;
  5228. margin-left: 170px;
  5229. margin-top: 15px;
  5230. }
  5231. .macgicfour{
  5232. position: absolute;
  5233. width:30px;
  5234. height: 30px;
  5235. // border:solid 1px red;
  5236. margin-left: 240px;
  5237. margin-top: 15px;
  5238. }
  5239. .time{
  5240. width: 34px;
  5241. height: 20px;
  5242. margin-top: 44px;
  5243. margin-left: 55px;
  5244. font-size: 8px;
  5245. }
  5246. .xinhao{
  5247. width: 50px;
  5248. height: 50px;
  5249. background: url(../../assets/img/xinhao.png) 30% no-repeat;
  5250. margin-top: -40px;
  5251. margin-left: 270px;
  5252. background-size: 15px;
  5253. }
  5254. .wifi{
  5255. background: url(../../assets/img/wifi.png) 30% no-repeat;
  5256. width: 70px;
  5257. height: 60px;
  5258. background-size: 10px;
  5259. margin-top: -55px;
  5260. margin-left: 280px;
  5261. }
  5262. .dian{
  5263. background: url(../../assets/img/dian.png) 30% no-repeat;
  5264. width: 70px;
  5265. height: 60px;
  5266. background-size: 12px;
  5267. margin-top: -58px;
  5268. margin-left: 300px;
  5269. }
  5270. .mint-swipe{
  5271. height: 200px;
  5272. width: 318px;
  5273. top:-22px;
  5274. }
  5275. .mint-swipe-item{
  5276. &:nth-child(1){
  5277. background-color: white;
  5278. }
  5279. &:nth-child(2){
  5280. background-color: white;
  5281. }
  5282. &:nth-child(3){
  5283. background-color: white;
  5284. }
  5285. }
  5286. .lunimage{
  5287. width: 390px;
  5288. height: 180px;
  5289. // border:solid 1px red;
  5290. margin-left: -40px;
  5291. }
  5292. .scroll{
  5293. margin-left: 33px;
  5294. width: 314px;
  5295. height: 660px;
  5296. border: 1px;
  5297. margin-top:-22px;
  5298. overflow-y: auto;
  5299. position: absolute;
  5300. border-radius: 0 0 50px 50px;
  5301. // border: 1px solid red;
  5302. }
  5303. ::-webkit-scrollbar{width:0px;}
  5304. ::-webkit-scrollbar-track{background-color:white;}
  5305. ::-webkit-scrollbar-thumb{background-color:white;}
  5306. ::-webkit-scrollbar-thumb:hover {background-color:white}
  5307. ::-webkit-scrollbar-thumb:active {background-color:white}
  5308. #new{
  5309. position: relative;
  5310. width: 150px;
  5311. height: 200px;
  5312. border: solid red;
  5313. margin-top: -50px;
  5314. }
  5315. officexiangqing{
  5316. position: relative;
  5317. width: 315px;
  5318. height: 650px;
  5319. border: 1px solid red;
  5320. margin-left: 32px;
  5321. margin-top: -22px;
  5322. font-size: 14px;
  5323. overflow-y: auto;
  5324. color: black;
  5325. }
  5326. .backindex{
  5327. width: 50px;
  5328. height: 50px;
  5329. border: solid 1px red;
  5330. background-color: red;
  5331. margin-left: 850px;
  5332. margin-top: 350px;
  5333. }
  5334. .myjsfont{
  5335. font-size: 14px;
  5336. margin-top: -125px;
  5337. margin-bottom: 100px;
  5338. margin-left: 8px;
  5339. color: #FF6600;
  5340. }
  5341. .addbutton{
  5342. width: 104px;
  5343. height: 40px;
  5344. font-size: 14px;
  5345. color: #FF6600;
  5346. margin: 0 auto;
  5347. margin-top: 50px;
  5348. // margin-left: 150px;
  5349. // border: solid 1px red;
  5350. }
  5351. .addbuttontwo{
  5352. width: 104px;
  5353. height: 40px;
  5354. font-size: 14px;
  5355. color: #FF6600;
  5356. margin-top: 300px;
  5357. margin-left: 120px;
  5358. }
  5359. //编辑名医样式
  5360. .avatar-uploader{
  5361. border: 1px dashed #d9d9d9;
  5362. border-radius: 6px;
  5363. cursor: pointer;
  5364. position: relative;
  5365. overflow: hidden;
  5366. width: 100px;
  5367. height: 100px;
  5368. border-color: #409EFF;
  5369. // text-align: center;
  5370. // font-size: 14px;
  5371. }
  5372. .avatar-uploader-icon {
  5373. font-size: 28px;
  5374. color: #8c939d;
  5375. width: 50px;
  5376. height: 50px;
  5377. line-height: 50px;
  5378. margin-left: 25px;
  5379. margin-top: 25px;
  5380. text-align: center;
  5381. }
  5382. // 样式
  5383. .clickmore{
  5384. width: 200px;
  5385. height: 200px;
  5386. border: solid 1px red;
  5387. }
  5388. .parent{
  5389. width: 320px;
  5390. height: 230px;
  5391. /* background-color: rgba(204, 204, 204, 1); */
  5392. }
  5393. .box{
  5394. width: 320px;
  5395. height: 8px;
  5396. background-color: rgba(204, 204, 204, 1);
  5397. }
  5398. .modeone{
  5399. width:318px;
  5400. height: 9.4375rem;
  5401. // border:solid 1px red ;
  5402. }
  5403. .oldmodeone{
  5404. font-size: 1rem;
  5405. font-weight: 600;
  5406. color: rgba(7, 18, 40, 1);
  5407. width: 318px;
  5408. height: 100%;
  5409. // border: solid 1px red;
  5410. margin-bottom: 5px;
  5411. line-height: 2.375rem;
  5412. }
  5413. .swipertwo{
  5414. width:318px;
  5415. height: 9.4375rem;
  5416. margin-top: 25px;
  5417. // border:solid 1px red;
  5418. }
  5419. .modetwo{
  5420. width: 320px;
  5421. // border:solid 1px red;
  5422. // height: 250px;
  5423. // border:solid 1px red;
  5424. /* border: solid 1px red; */
  5425. /* background-color: red; */
  5426. }
  5427. .modethree{
  5428. width: 320px;
  5429. // height: 230px;
  5430. // /* border: solid 1px blue; */
  5431. // /* background-color: blue; */
  5432. }
  5433. .modefour{
  5434. width:320px;
  5435. height: 230px;
  5436. }
  5437. .modefive{
  5438. width:320px;
  5439. height: 200px;
  5440. // border: solid 1px red;
  5441. }
  5442. .modesix{
  5443. width:320px;
  5444. min-height: 250px;
  5445. // border: solid 1px red;
  5446. margin-bottom: 5px;
  5447. }
  5448. .modeseven{
  5449. width:320px;
  5450. min-height: 250px;
  5451. margin-bottom: 5px;
  5452. }
  5453. .actilist{
  5454. width:300px;
  5455. height: 90px;
  5456. // border:solid 1px red;
  5457. margin-left: 5px;
  5458. }
  5459. .acthead{
  5460. width: 80px;
  5461. height: 80px;
  5462. // border: solid 1px red;
  5463. margin-left: 5px;
  5464. margin-top: 5px;
  5465. }
  5466. .actcontent{
  5467. width: 200px;
  5468. height: 80px;
  5469. // border: solid 1px red;
  5470. margin-left: 90px;
  5471. margin-top: -82px;
  5472. }
  5473. .actname{
  5474. width:190px;
  5475. height: 16px;
  5476. // border:solid 1px red;
  5477. margin-left: 5px;
  5478. margin-top: 10px;
  5479. font-size: 14px;
  5480. overflow: hidden;
  5481. text-overflow: ellipsis;
  5482. display: -webkit-box;
  5483. -webkit-line-clamp: 1;
  5484. -webkit-box-orient: vertical;
  5485. }
  5486. .actcomments{
  5487. width: 190px;
  5488. height: 20px;
  5489. // border:solid 1px red;
  5490. margin-left: 5px;
  5491. margin-top: 2px;
  5492. font-size: 14px;
  5493. }
  5494. .progress{
  5495. width:190px;
  5496. height: 20px;
  5497. // border:solid 1px red;
  5498. margin-left: 5px;
  5499. margin-top: 2px;
  5500. font-size: 14px;
  5501. }
  5502. .modeeight{
  5503. width: 314px;
  5504. height:100%;
  5505. // border:solid 1px red;
  5506. }
  5507. .block{
  5508. width: 60px;
  5509. display: inline-block;
  5510. // border:solid 1px blue;
  5511. height: 80px;
  5512. margin-left:10px;
  5513. margin-right: 2px;
  5514. vertical-align: top;
  5515. margin-top: 5px;
  5516. }
  5517. .macimg{
  5518. width: 46px;
  5519. height: 50px;
  5520. // border:solid 1px red;
  5521. margin-top: 2px;
  5522. margin-bottom: 5px;
  5523. margin-left: 4px;
  5524. }
  5525. #macimgtwo{
  5526. width:58px;
  5527. height:18px;
  5528. font-size:14px;
  5529. position:absolute;
  5530. // overflow:hidden;
  5531. // border: solid 1px red;
  5532. text-align: center;
  5533. margin-left: -1px;
  5534. }
  5535. .mac{
  5536. position: absolute;
  5537. width: 300px;
  5538. height: 70px;
  5539. // border:solid 1px red;
  5540. margin-left: 5px;
  5541. }
  5542. .mactwo{
  5543. position: absolute;
  5544. width: 60px;
  5545. height: 70px;
  5546. // border: solid 1px red;
  5547. left: 80px;
  5548. }
  5549. .macthree{
  5550. position: absolute;
  5551. width: 60px;
  5552. height: 70px;
  5553. // border: solid 1px red;
  5554. left: 155px;
  5555. }
  5556. .macfour{
  5557. position: absolute;
  5558. width: 60px;
  5559. height: 70px;
  5560. // border: solid 1px red;
  5561. left: 230px;
  5562. }
  5563. .macone{
  5564. position: absolute;
  5565. width: 60px;
  5566. height: 70px;
  5567. // border: solid 1px red;
  5568. left: 5px;
  5569. }
  5570. .definemac{
  5571. position: absolute;
  5572. width: 300px;
  5573. height: 70px;
  5574. border: solid 1px red;
  5575. margin-top: 75px;
  5576. margin-left: 5px;
  5577. }
  5578. .definemacone{
  5579. position: absolute;
  5580. width: 60px;
  5581. height: 70px;
  5582. border:solid 1px red;
  5583. left: 5px;
  5584. float: left;
  5585. }
  5586. .deone{
  5587. width:45px;
  5588. height: 45px;
  5589. // border:solid 1px red;
  5590. margin-left: 8px;
  5591. margin-top: 5px;
  5592. }
  5593. .detwo{
  5594. width:60px;
  5595. height: 20px;
  5596. // border: solid 1px red;
  5597. margin-top: 2px;
  5598. font-size: 14px;
  5599. text-align: center;
  5600. // font-size: 14px;
  5601. // color: black;
  5602. }
  5603. .dethree{
  5604. font-size: 14px;
  5605. // color: black;
  5606. font-family: Arial, Helvetica, sans-serif;
  5607. }
  5608. .picone{
  5609. width: 45px;
  5610. height: 45px;
  5611. // border: solid 1px red;
  5612. margin-left: 8px;
  5613. margin-top: 5px;
  5614. }
  5615. .pictwo{
  5616. width:60px;
  5617. height: 20px;
  5618. // border: solid 1px red;
  5619. margin-top: 2px;
  5620. font-size: 14px;
  5621. text-align: center;
  5622. }
  5623. .logo{
  5624. position: absolute;
  5625. margin-left: 280px;
  5626. margin-top: -16px;
  5627. }
  5628. .kefont{
  5629. font-size: 14px;
  5630. color: red;
  5631. margin-left: 8px;
  5632. margin-top: -20px;
  5633. }
  5634. .more{
  5635. position: absolute;
  5636. font-size: 14px;
  5637. color:black;
  5638. margin-left: 220px;
  5639. margin-top: -15px;
  5640. }
  5641. .hoscontent{
  5642. height:auto!important;
  5643. height:200px;
  5644. min-height:200px;
  5645. font-size: 14px;
  5646. overflow: hidden;
  5647. text-overflow: ellipsis;
  5648. display: -webkit-box;
  5649. -webkit-line-clamp: 6;
  5650. -webkit-box-orient: vertical;
  5651. // border: solid 1px red;
  5652. margin-top: 7px;
  5653. }
  5654. .xcontent{
  5655. height:auto!important;
  5656. height:200px;
  5657. min-height:200px;
  5658. font-size: 14px;
  5659. overflow: hidden;
  5660. text-overflow: ellipsis;
  5661. display: -webkit-box;
  5662. -webkit-line-clamp: 6;
  5663. -webkit-box-orient: vertical;
  5664. // border: solid 1px red;
  5665. margin-top: 7px;
  5666. }
  5667. #yycontent{
  5668. overflow: hidden;
  5669. text-overflow: ellipsis;
  5670. display: -webkit-box;
  5671. -webkit-line-clamp: 6;
  5672. -webkit-box-orient: vertical;
  5673. }
  5674. #zzcontent{
  5675. overflow: hidden;
  5676. text-overflow: ellipsis;
  5677. display: -webkit-box;
  5678. -webkit-line-clamp: 5;
  5679. -webkit-box-orient: vertical;
  5680. }
  5681. .docborde{
  5682. width: 320px;
  5683. height: 200px;
  5684. // border: solid 1px red;
  5685. overflow: hidden;
  5686. }
  5687. .docborder{
  5688. width: 320px;
  5689. height: 100px;
  5690. /* border: solid 1px red; */
  5691. background-color: rgba(242, 242, 242, 1);
  5692. margin-top: 8px;
  5693. }
  5694. .docheart{
  5695. width: 310px;
  5696. height: 92px;
  5697. // border: solid 1px blue;
  5698. background-color: rgba(242, 242, 242, 1);
  5699. margin-top: 5px;
  5700. margin-left: 3px;
  5701. }
  5702. .docimage{
  5703. width: 80px;
  5704. height: 80px;
  5705. margin-left: 10px;
  5706. padding-top: 5px;
  5707. }
  5708. .doctitle{
  5709. width: 80px;
  5710. height: 20px;
  5711. // border: solid 1px blue;
  5712. float: right;
  5713. margin-right: 120px;
  5714. margin-top: -75px;
  5715. font-size: 14px;
  5716. }
  5717. .doccontent{
  5718. width: 180px;
  5719. height: 34px;
  5720. // border: solid 1px red;
  5721. margin-top: -50px;
  5722. margin-left: 108px;
  5723. font-size: 14px;
  5724. overflow: hidden;
  5725. }
  5726. .docnamefont{
  5727. font-size: 14px;
  5728. }
  5729. .dochead{
  5730. position:absolute;
  5731. width:80px;
  5732. height: 80px;
  5733. /* border:solid 1px green; */
  5734. margin-top: 10px;
  5735. margin-left: 10px;
  5736. }
  5737. .docname{
  5738. position: absolute;
  5739. width:50px;
  5740. height: 20px;
  5741. /* border: solid 1px green; */
  5742. margin-left: 130px;
  5743. margin-top: 20px;
  5744. font-size: 14px;
  5745. color:black;
  5746. }
  5747. .docintroduction{
  5748. font-size: 14px;
  5749. color: black;
  5750. }
  5751. .docone{
  5752. width:310px;
  5753. height:100px;
  5754. // border: solid red 1px;
  5755. margin-left: 5px;
  5756. overflow: hidden;
  5757. }
  5758. .doctwo{
  5759. width:80px;
  5760. height: 80px;
  5761. // border: solid red 1px;
  5762. margin-top: 10px;
  5763. margin-left: 5px;
  5764. }
  5765. .docthree{
  5766. width: 50px;
  5767. height: 20px;
  5768. // border:solid red 1px;
  5769. margin-left: 100px;
  5770. margin-top: -75px;
  5771. }
  5772. .docfour{
  5773. font-size: 14px;
  5774. }
  5775. .docfive{
  5776. width:200px;
  5777. height: 50px;
  5778. // border:solid 1px red;
  5779. margin-left: 100px;
  5780. margin-top: 5px;
  5781. }
  5782. .docsix{
  5783. font-size: 14px;
  5784. overflow: hidden;
  5785. text-overflow: ellipsis;
  5786. display: -webkit-box;
  5787. -webkit-line-clamp: 3;
  5788. -webkit-box-orient: vertical
  5789. }
  5790. .xxcontent{
  5791. overflow: hidden;
  5792. text-overflow: ellipsis;
  5793. display: -webkit-box;
  5794. -webkit-line-clamp: 2;
  5795. -webkit-box-orient: vertical;
  5796. }
  5797. #wrappertwo{
  5798. width: 50%;
  5799. }
  5800. #wrapperthree{
  5801. width: 50%;
  5802. margin-top: 5px;
  5803. }
  5804. .swiperimages{
  5805. width: 320px;
  5806. height: 150px;
  5807. // border: solid 1px red;
  5808. margin-top: 20px;
  5809. z-index: 999;
  5810. }
  5811. #swiperimagestwo{
  5812. width:314px;
  5813. height: 150px;
  5814. margin-top: 20px;
  5815. overflow: hidden;
  5816. // border: solid 1px red;
  5817. }
  5818. .navigationone{
  5819. position: relative;
  5820. width: 280px;
  5821. height: 50px;
  5822. border: solid 1px rgba(242, 242, 242, 1);
  5823. margin-top: 10px;
  5824. margin-left: 10px;
  5825. }
  5826. .navigacontent{
  5827. position: relative;
  5828. width:300px;
  5829. height: 670px;
  5830. border:solid 0.1px rgba(242, 242, 242, 1);
  5831. margin-top: 50px;
  5832. }
  5833. .navitwo{
  5834. width: 35px;
  5835. height: 35px;
  5836. // border: solid 1px blue;
  5837. margin-top: 7px;
  5838. margin-left: 10px;
  5839. }
  5840. .navithree{
  5841. width:120px;
  5842. height: 30px;
  5843. margin-left: 45px;
  5844. margin-top: -25px;
  5845. font-size: 14px;
  5846. }
  5847. .navifour{
  5848. width: 30px;
  5849. height: 30px;
  5850. margin-left: 230px;
  5851. margin-top: -27px;
  5852. // border: solid 1px red;
  5853. }
  5854. .navifive{
  5855. width: 30px;
  5856. height: 30px;
  5857. margin-left: 260px;
  5858. margin-top: -30px;
  5859. // border: solid 1px red;
  5860. }
  5861. .sharecontent{
  5862. width:345px;
  5863. height: 245px;
  5864. // border: solid 1px red;
  5865. }
  5866. .shareexam{
  5867. width:120px;
  5868. height:23px;
  5869. // border: solid 1px red;
  5870. margin-top: 10px;
  5871. margin-left: 10px;
  5872. }
  5873. .shareimg{
  5874. width:347px;
  5875. height:190px;
  5876. // border:solid 1px red;
  5877. background-color:rgba(242, 242, 242, 1);
  5878. }
  5879. .sharetwoimg{
  5880. position: absolute;
  5881. width:250px;
  5882. height: 160px;
  5883. // border:solid 1px red;
  5884. margin-left: 10px;
  5885. margin-top: 15px;
  5886. background-color: #d9d9d9;
  5887. border-radius: 5%;
  5888. }
  5889. .triangle{
  5890. margin: 0px;
  5891. border-width: 10px;
  5892. border-style: solid;
  5893. border-color: #d9d9d9 transparent transparent;
  5894. padding: 0px;
  5895. width: 0px;
  5896. height: 0px;
  5897. left: 260px;
  5898. top: 70px;
  5899. position: absolute;
  5900. transform:rotate(270deg);
  5901. }
  5902. .sharepic{
  5903. position: absolute;
  5904. width: 50px;
  5905. height: 50px;
  5906. // border: 1px solid red;
  5907. margin-left: 280px;
  5908. margin-top: 20px;
  5909. }
  5910. .sharefont{
  5911. position: absolute;
  5912. width:220px;
  5913. height: 65px;
  5914. // border: solid 1px red;
  5915. left: 10px;
  5916. top: 15px;
  5917. }
  5918. .sharefontone{
  5919. font-size: 16px;
  5920. font-weight: 100;
  5921. overflow: hidden;
  5922. text-overflow: ellipsis;
  5923. display: -webkit-box;
  5924. -webkit-line-clamp: 3;
  5925. -webkit-box-orient: vertical
  5926. }
  5927. .sharethree{
  5928. position: absolute;
  5929. width: 150px;
  5930. height: 70px;
  5931. // border:solid 1px red;
  5932. top: 75px;
  5933. left: 10px;
  5934. }
  5935. .sharefour{
  5936. font-size: 14px;
  5937. overflow: hidden;
  5938. text-overflow: ellipsis;
  5939. display: -webkit-box;
  5940. -webkit-line-clamp: 4;
  5941. -webkit-box-orient: vertical
  5942. }
  5943. .sharefive{
  5944. position: absolute;
  5945. width: 65px;
  5946. height: 70px;
  5947. // border: 1px solid red;
  5948. top: 75px;
  5949. left:165px;
  5950. }
  5951. .inputone{
  5952. position: relative;
  5953. width: 70px;
  5954. height: 25px;
  5955. // border: solid 1px red;
  5956. top:30px;
  5957. left:10px;
  5958. }
  5959. .inputfont{
  5960. font-size: 14px;
  5961. }
  5962. .inputwo{
  5963. position: relative;
  5964. width: 330px;
  5965. height: 40px;
  5966. // border: solid 1px red;
  5967. left: 10px;
  5968. top: 40px;
  5969. }
  5970. .inputhree{
  5971. position: relative;
  5972. width: 70px;
  5973. height: 25px;
  5974. // border: solid 1px red;
  5975. top:50px;
  5976. left:10px;
  5977. }
  5978. .inpufive{
  5979. position: relative;
  5980. width: 330px;
  5981. height: 40px;
  5982. // border: solid 1px red;
  5983. left: 10px;
  5984. top: 60px;
  5985. }
  5986. .inputsix{
  5987. position: relative;
  5988. width: 330px;
  5989. height: 40px;
  5990. // border: solid 1px red;
  5991. left: 10px;
  5992. top: 70px;
  5993. }
  5994. .inputserven{
  5995. position: relative;
  5996. width:100px;
  5997. height: 100px;
  5998. // border: solid 1px red;
  5999. top: 50px;
  6000. left:120px;
  6001. }
  6002. .inputten{
  6003. position: absolute;
  6004. width:100px;
  6005. height:100px;
  6006. // border: solid 1px red;
  6007. margin-top: 50px;
  6008. margin-left: 10px;
  6009. }
  6010. .returnpage{
  6011. position: absolute;
  6012. width: 50px;
  6013. height: 50px;
  6014. border:solid 1px rgb(255, 252, 252);
  6015. background-color: rgba(255, 255, 255, 1);
  6016. margin-top: 190px;
  6017. margin-left: 298px;
  6018. }
  6019. .returnimages{
  6020. position: absolute;
  6021. width: 20px;
  6022. height: 20px;
  6023. // border: solid 1px red;
  6024. left: 13px;
  6025. top: 5px;
  6026. }
  6027. .reback{
  6028. position: absolute;
  6029. width:50px;
  6030. height: 50px;
  6031. border:solid 1px rgb(255, 252, 252);
  6032. margin-left: 298px;
  6033. margin-top: 250px;
  6034. // margin-left: 298px;
  6035. // margin-top: -390px;
  6036. background-color: rgba(255, 255, 255, 1);
  6037. }
  6038. .rebackone{
  6039. position: absolute;
  6040. width:20px;
  6041. height: 20px;
  6042. // border: solid 1px red;
  6043. left: 13px;
  6044. top:5px;
  6045. }
  6046. .reindexone{
  6047. position: absolute;
  6048. width:20px;
  6049. height: 20px;
  6050. // border: solid 1px red;
  6051. left:13px;
  6052. top:5px;
  6053. }
  6054. .rebacktwo{
  6055. position: absolute;
  6056. width: 30px;
  6057. height: 20px;
  6058. // border:solid 1px red;
  6059. left: 10px;
  6060. top: 28px;
  6061. font-size: 14px;
  6062. color: #FF6600;
  6063. }
  6064. .reindextwo{
  6065. position: absolute;
  6066. width: 30px;
  6067. height: 20px;
  6068. left: 10px;
  6069. top:28px;
  6070. font-size: 14px;
  6071. color: #FF6600;
  6072. }
  6073. .reindex{
  6074. position: absolute;
  6075. width: 50px;
  6076. height: 50px;
  6077. border: solid 1px rgba(255, 255, 255, 1);
  6078. background-color: solid 1px rgba(255, 255, 255, 1);
  6079. margin-left: 300px;
  6080. margin-top: 310px;
  6081. }
  6082. .oldmodetwo{
  6083. width: 300px;
  6084. height: 100%;
  6085. /* border: solid 1px red; */
  6086. // margin-bottom: 5px;
  6087. font-size: 1rem;
  6088. font-weight: 600;
  6089. color: rgba(7, 18, 40, 1);
  6090. line-height: 2.375rem;
  6091. }
  6092. .oldmodethree{
  6093. width: 300px;
  6094. height: 100%;
  6095. font-size: 1rem;
  6096. font-weight: 600;
  6097. color: rgba(7, 18, 40, 1);
  6098. line-height: 2.375rem;
  6099. }
  6100. .oldmodefour{
  6101. width: 300px;
  6102. height: 30px;
  6103. /* border:solid 1px red; */
  6104. // margin-bottom: 5px;
  6105. font-size: 1rem;
  6106. font-weight: 600;
  6107. color: rgba(7, 18, 40, 1);
  6108. line-height: 2.375rem;
  6109. }
  6110. .oldmodethree{
  6111. width: 300px;
  6112. height: 100%;
  6113. /* border:solid 1px red; */
  6114. font-size: 14px;
  6115. // margin-bottom: 10px;
  6116. font-size: 1rem;
  6117. font-weight: 600;
  6118. color: rgba(7, 18, 40, 1);
  6119. line-height: 2.375rem;
  6120. }
  6121. .oldmodefive{
  6122. width:315px;
  6123. height: 200px;
  6124. /* border: solid 1px red; */
  6125. margin-bottom: 5px;
  6126. }
  6127. .addrot{
  6128. width: 100px;
  6129. height: 100px;
  6130. border: dashed 1px #409EFF;
  6131. }
  6132. .addrotone{
  6133. font-size: 30px;
  6134. width:50px;
  6135. height: 50px;
  6136. // border: solid 1px red;
  6137. margin-left: 35px;
  6138. margin-top: 35px;
  6139. }
  6140. .addrotwo{
  6141. width:60px;
  6142. height: 30px;
  6143. // border: solid 1px #409EFF;
  6144. margin-left: 25px;
  6145. margin-top: -25px;
  6146. }
  6147. .el-upload-list--picture-card .el-upload-list__item {
  6148. overflow: hidden;
  6149. background-color: #fff;
  6150. border: 1px solid #c0ccda;
  6151. border-radius: 6px;
  6152. -webkit-box-sizing: border-box;
  6153. box-sizing: border-box;
  6154. width: 100px;
  6155. height: 100px;
  6156. margin: 0 8px 8px 0;
  6157. display: inline-block;
  6158. }
  6159. .flex-img__image{
  6160. width: 100%;
  6161. height: 100%;
  6162. }
  6163. .addpicrot{
  6164. width: 100px;
  6165. height: 100px;
  6166. border: dashed 1px #409EFF;
  6167. }
  6168. .addpicones{
  6169. width: 30px;
  6170. height: 30px;
  6171. // border: solid 1px red;
  6172. margin-top: 30px;
  6173. margin-left: 30px;
  6174. font-size: 30px;
  6175. }
  6176. .addpictwos{
  6177. width: 70px;
  6178. height: 30px;
  6179. font-size: 14px;
  6180. // border: solid 1px red;
  6181. margin-left: -8px;
  6182. margin-top: -10px;
  6183. }
  6184. .avatar{
  6185. width:100px;
  6186. height: 100px;
  6187. }
  6188. .tpic{
  6189. margin-left: 50px;
  6190. }
  6191. .map {
  6192. width: 100%;
  6193. height: 400px;
  6194. }
  6195. .yangshi{
  6196. font-size: 14px;
  6197. margin-top: 25px;
  6198. }
  6199. .tips {
  6200. font-size: 12px;
  6201. line-height: 18px;
  6202. }
  6203. .tipstwo{
  6204. width:300px;
  6205. height: 20px;
  6206. // border:solid 1px red;
  6207. margin-left: 90px;
  6208. }
  6209. .modelshowtwo{
  6210. width: 100%;
  6211. height: 100%;
  6212. // border: solid 1px red;
  6213. }
  6214. .docheadimages{
  6215. width: 100%;
  6216. height: 80px;
  6217. // border:solid 1px red;
  6218. margin-top: 5px;
  6219. margin-left: 5px;
  6220. margin-bottom: 5px;
  6221. }
  6222. .doctorhead{
  6223. position: absolute;
  6224. width: 60px;
  6225. height: 60px;
  6226. // border: solid 1px red;
  6227. margin-left: 10px;
  6228. margin-top: 10px;
  6229. }
  6230. .doctorname{
  6231. position: absolute;
  6232. width: 100px;
  6233. height: 20px;
  6234. // border:solid 1px red;
  6235. margin-top: 15px;
  6236. margin-left: 80px;
  6237. font-size: 14px;
  6238. }
  6239. .docposition{
  6240. position: absolute;
  6241. width: 100px;
  6242. height: 20px;
  6243. // border:solid 1px red;
  6244. margin-top: 40px;
  6245. margin-left: 80px;
  6246. font-size: 14px;
  6247. }
  6248. .doctorintroduction{
  6249. margin-left: 15px;
  6250. height: 20px;
  6251. // border:solid 1px red;
  6252. margin-bottom: 5px;
  6253. font-size: 14px;
  6254. }
  6255. .doctorintroductiontwo{
  6256. margin-left: 16px;
  6257. height: 100%;
  6258. // border:solid 1px red;
  6259. font-size: 14px;
  6260. }
  6261. .articletitle{
  6262. width: 100%;
  6263. height: 20px;
  6264. font-size: 20px;
  6265. // border:solid 1px red;
  6266. // margin-left: 50px;
  6267. margin-left: 100px;
  6268. margin-top: 5px;
  6269. vertical-align: center;
  6270. }
  6271. .aticlecontent{
  6272. width: 100%;
  6273. height: 100%;
  6274. font-size: 14px;
  6275. }
  6276. .activitesimages{
  6277. width: 100%;
  6278. height: 200px;
  6279. // border:solid 1px red;
  6280. }
  6281. .activitestitle{
  6282. width: 100%;
  6283. min-height: 20px;
  6284. // border:solid 1px red;
  6285. font-size: 14px;
  6286. }
  6287. .banner {
  6288. height: 9.4375rem;
  6289. border:solid 1px red;
  6290. }
  6291. .btnList {
  6292. display: flex;
  6293. justify-content: space-around;
  6294. align-items: center;
  6295. flex-wrap: wrap;
  6296. width: 100%;
  6297. // height: 180px;
  6298. margin-top: 1.25rem;
  6299. // border:solid 1px yellow;
  6300. }
  6301. .btnOne {
  6302. display: block;
  6303. width: 25%;
  6304. text-align: center;
  6305. height: 5rem;
  6306. img {
  6307. margin-bottom: 0.3125rem;
  6308. text-align: center;
  6309. width: 3.125rem;
  6310. height: 3.125rem;
  6311. border-radius: 50%;
  6312. }
  6313. .title {
  6314. width: 100%;
  6315. height: 1.125rem;
  6316. line-height: 1.125rem;
  6317. font-size: 0.875rem;
  6318. text-align: center;
  6319. }
  6320. }
  6321. .dynamic {
  6322. margin-top: 3.0625rem;
  6323. // border: solid 1px red;
  6324. }
  6325. .common_title {
  6326. width: 20.9375rem;
  6327. height: 1.125rem;
  6328. margin: 0 auto;
  6329. }
  6330. .dynamicTxt {
  6331. float: left;
  6332. width: 6rem;
  6333. height: 1.125rem;
  6334. line-height: 1.125rem;
  6335. font-size: 1.125rem;
  6336. font-weight: 600;
  6337. color: rgba(7, 18, 40, 1);
  6338. }
  6339. .one {
  6340. margin-top: 0.125rem;
  6341. margin-right: 0.375rem;
  6342. float: left;
  6343. width: 0.125rem;
  6344. height: 0.875rem;
  6345. background: linear-gradient(
  6346. 0deg,
  6347. rgba(114, 182, 253, 1),
  6348. rgba(52, 119, 254, 1)
  6349. );
  6350. box-shadow: 0px 3px 12px 0px rgba(60, 127, 254, 0.2);
  6351. border-radius: 3px;
  6352. }
  6353. .dymore {
  6354. float: right;
  6355. margin-right: 20px;
  6356. p {
  6357. color: #b6bac1;
  6358. height: 1.125rem;
  6359. line-height: 1.125rem;
  6360. }
  6361. }
  6362. .contentOne {
  6363. margin: auto;
  6364. margin-top: 1.125rem;
  6365. width: 20.875rem;
  6366. height: 7.4375rem;
  6367. background: rgba(255, 255, 255, 1);
  6368. box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
  6369. border-radius: 1rem;
  6370. padding-left: 1rem;
  6371. padding-top: 1.125rem;
  6372. box-sizing: border-box;
  6373. .img {
  6374. float: left;
  6375. width: 5rem;
  6376. height: 5rem;
  6377. img {
  6378. border-radius: 0.75rem;
  6379. }
  6380. }
  6381. .detail {
  6382. float: left;
  6383. margin-left: 0.8125rem;
  6384. width: 13.125rem;
  6385. .detailTitle {
  6386. margin-top: 8px;
  6387. font-size: 15px;
  6388. margin-top: 0.5rem;
  6389. width: 12.6875rem;
  6390. height: 1rem;
  6391. line-height: 1rem;
  6392. font-size: 0.9375rem;
  6393. font-weight: 600;
  6394. color: rgba(7, 18, 40, 1);
  6395. overflow: hidden;
  6396. text-overflow: ellipsis;
  6397. display: -webkit-box;
  6398. -webkit-line-clamp: 1;
  6399. -webkit-box-orient: vertical;
  6400. }
  6401. .detailMessage {
  6402. margin-top: 0.25rem;
  6403. width: 13.25rem;
  6404. height: 3.3rem;
  6405. font-size: 0.75rem;
  6406. font-weight: 400;
  6407. color: rgba(155, 155, 155, 1);
  6408. line-height: 1.125rem;
  6409. overflow: hidden;
  6410. text-overflow: ellipsis;
  6411. display: -webkit-box;
  6412. -webkit-line-clamp: 1;
  6413. -webkit-box-orient: vertical;
  6414. // border: solid 1px red;
  6415. }
  6416. .noImg {
  6417. width: 6.25rem;
  6418. height: 6.25rem;
  6419. margin: 0 auto;
  6420. img {
  6421. width: 6.25rem;
  6422. height: 6.25rem;
  6423. }
  6424. }
  6425. }
  6426. // border: solid 1px red;
  6427. }
  6428. .common {
  6429. margin-top: 1.875rem;
  6430. .commonBox {
  6431. margin: auto;
  6432. margin-top: 1.25rem;
  6433. width: 20.875rem;
  6434. height: 20.3125rem;
  6435. background: rgba(255, 255, 255, 1);
  6436. box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
  6437. border-radius: 16px;
  6438. padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
  6439. overflow: hidden;
  6440. text-overflow: ellipsis;
  6441. .noImg {
  6442. width: 6.25rem;
  6443. height: 6.25rem;
  6444. margin: 0 auto;
  6445. img {
  6446. width: 6.25rem;
  6447. height: 6.25rem;
  6448. }
  6449. }
  6450. }
  6451. .commonImg {
  6452. width: 18.4375rem;
  6453. height: 10.5625rem;
  6454. border-radius: 10px;
  6455. }
  6456. .commonMessage {
  6457. margin-top: 1.375rem;
  6458. width: 17.75rem;
  6459. height: 15rem;
  6460. font-size: 0.875rem;
  6461. color: rgba(60, 60, 60, 1);
  6462. line-height: 1.375rem;
  6463. overflow: hidden;
  6464. // border: solid 1px red;
  6465. display: -webkit-box;
  6466. -webkit-line-clamp: 8;
  6467. -webkit-box-orient: vertical;
  6468. p {
  6469. height: 100%;
  6470. line-height: 1.375rem;
  6471. }
  6472. }
  6473. // border:solid 1px red;
  6474. }
  6475. .imgs {
  6476. margin-top: 1.875rem;
  6477. // height: 7.8125rem;
  6478. overflow-x: hidden;
  6479. img {
  6480. width: 10.75rem;
  6481. height: 7.8125rem;
  6482. border-radius: 10px;
  6483. }
  6484. .carousel {
  6485. width: 100%;
  6486. height: 100%;
  6487. float: left;
  6488. padding-left: 1.25rem;
  6489. }
  6490. }
  6491. .tabs {
  6492. @include border-top;
  6493. width: 100%;
  6494. margin-top: 660px;
  6495. margin-left: -400px;
  6496. height: 3.125rem;
  6497. box-sizing: border-box;
  6498. border:solid 1px red;
  6499. z-index: 999999;
  6500. }
  6501. .tabList {
  6502. display: flex;
  6503. justify-content: space-around;
  6504. height: 100%;
  6505. .tabOne {
  6506. display: flex;
  6507. flex-direction: column;
  6508. justify-content: center;
  6509. align-items: center;
  6510. img {
  6511. // margin-top: 0.5rem;
  6512. width: 1.875rem;
  6513. height: 1.875rem;
  6514. }
  6515. span {
  6516. font-size: 0.75rem;
  6517. color: #999;
  6518. // line-height: 1.3125rem;
  6519. }
  6520. }
  6521. // border:solid 1px blue;
  6522. }
  6523. </style>