index.vue 224 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  4. <el-form-item label="采样日期" prop="sampleDate">
  5. <el-date-picker
  6. v-model="sampleDate"
  7. type="daterange"
  8. value-format="yyyy-MM-dd"
  9. range-separator="至"
  10. start-placeholder="开始日期"
  11. end-placeholder="结束日期">
  12. </el-date-picker>
  13. </el-form-item>
  14. <el-form-item>
  15. <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  16. </el-form-item>
  17. </el-form>
  18. <el-row :gutter="10" class="mb8">
  19. <el-col :span="1.5">
  20. <el-button
  21. type="info"
  22. icon="el-icon-upload2"
  23. size="mini"
  24. @click="handleImport"
  25. v-hasPermi="['production:quality:add']"
  26. >批量导入</el-button>
  27. </el-col>
  28. <el-col :span="1.5">
  29. <el-button
  30. type="primary"
  31. icon="el-icon-s-data"
  32. size="mini"
  33. @click="handleAnalysis"
  34. v-hasPermi="['production:quality:list']"
  35. >趋势分析</el-button>
  36. </el-col>
  37. <el-col :span="1.5">
  38. <el-button
  39. type="success"
  40. icon="el-icon-document"
  41. size="mini"
  42. @click="handleReport"
  43. v-hasPermi="['production:quality:list']"
  44. >报告生成</el-button>
  45. </el-col>
  46. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  47. </el-row>
  48. <el-table v-loading="loadingS0501" :data="s0501List" border>
  49. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  50. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  51. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  52. <template slot-scope="scope">
  53. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  54. </template>
  55. </el-table-column>
  56. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  57. <el-table-column label="正构烷烃" align="center" prop="p" :show-overflow-tooltip="true"/>
  58. <el-table-column label="异构烷烃" align="center" prop="i" :show-overflow-tooltip="true"/>
  59. <el-table-column label="烯烃" align="center" prop="o" :show-overflow-tooltip="true"/>
  60. <el-table-column label="环烷烃" align="center" prop="n" :show-overflow-tooltip="true"/>
  61. <el-table-column label="芳烃" align="center" prop="a" :show-overflow-tooltip="true"/>
  62. <el-table-column label="正构烷烃+异构烷烃" align="center" prop="pi" :show-overflow-tooltip="true"/>
  63. <el-table-column label="密度" align="center" prop="density2" :show-overflow-tooltip="true"/>
  64. <el-table-column label="初馏点" align="center" prop="ibp" :show-overflow-tooltip="true"/>
  65. <el-table-column label="5%" align="center" prop="five" :show-overflow-tooltip="true"/>
  66. <el-table-column label="10%" align="center" prop="ten" :show-overflow-tooltip="true"/>
  67. <el-table-column label="30%" align="center" prop="thrity" :show-overflow-tooltip="true"/>
  68. <el-table-column label="50%" align="center" prop="fifty" :show-overflow-tooltip="true"/>
  69. <el-table-column label="70%" align="center" prop="seventy" :show-overflow-tooltip="true"/>
  70. <el-table-column label="90%" align="center" prop="ninety" :show-overflow-tooltip="true"/>
  71. <el-table-column label="95%" align="center" prop="ninetyFive" :show-overflow-tooltip="true"/>
  72. <el-table-column label="终馏点" align="center" prop="fbp" :show-overflow-tooltip="true"/>
  73. <el-table-column label="总硫" align="center" prop="totalSulfur" :show-overflow-tooltip="true"/>
  74. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  75. <template slot-scope="scope">
  76. <el-button
  77. size="mini"
  78. type="text"
  79. icon="el-icon-edit"
  80. @click="handleUpdate(scope.row)"
  81. v-hasPermi="['production:quality:edit']"
  82. >修改</el-button>
  83. <el-button
  84. size="mini"
  85. type="text"
  86. icon="el-icon-delete"
  87. @click="handleDelete(scope.row)"
  88. v-hasPermi="['production:quality:remove']"
  89. >删除</el-button>
  90. </template>
  91. </el-table-column>
  92. </el-table>
  93. <el-table v-loading="loadingS1301" :data="s1301List" border>
  94. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  95. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  96. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  97. <template slot-scope="scope">
  98. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  99. </template>
  100. </el-table-column>
  101. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  102. <el-table-column label="非芳烃" align="center" prop="na" :show-overflow-tooltip="true"/>
  103. <el-table-column label="苯" align="center" prop="benzene" :show-overflow-tooltip="true"/>
  104. <el-table-column label="甲苯" align="center" prop="toluene" :show-overflow-tooltip="true"/>
  105. <el-table-column label="乙苯" align="center" prop="ethylbenzene" :show-overflow-tooltip="true"/>
  106. <el-table-column label="对-二甲苯" align="center" prop="pXylene" :show-overflow-tooltip="true"/>
  107. <el-table-column label="间-二甲苯" align="center" prop="mXylene" :show-overflow-tooltip="true"/>
  108. <el-table-column label="邻-二甲苯" align="center" prop="oXylene" :show-overflow-tooltip="true"/>
  109. <el-table-column label="苯乙烯" align="center" prop="styrene" :show-overflow-tooltip="true"/>
  110. <el-table-column label="苯乙炔" align="center" prop="phenylacetylene" :show-overflow-tooltip="true"/>
  111. <el-table-column label="总芳烃" align="center" prop="totalAromatics" :show-overflow-tooltip="true"/>
  112. <el-table-column label="溴价" align="center" prop="brNumber" :show-overflow-tooltip="true"/>
  113. <el-table-column label="双烯值" align="center" prop="dieneValue" :show-overflow-tooltip="true"/>
  114. <el-table-column label="总氮" align="center" prop="totalNitrogen" :show-overflow-tooltip="true"/>
  115. <el-table-column label="入口温度" align="center" prop="temperatureIn" :show-overflow-tooltip="true"/>
  116. <el-table-column label="一段温升" align="center" prop="temperatureRaise" :show-overflow-tooltip="true"/>
  117. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  118. <template slot-scope="scope">
  119. <el-button
  120. size="mini"
  121. type="text"
  122. icon="el-icon-edit"
  123. @click="handleUpdate(scope.row)"
  124. v-hasPermi="['production:quality:edit']"
  125. >修改</el-button>
  126. <el-button
  127. size="mini"
  128. type="text"
  129. icon="el-icon-delete"
  130. @click="handleDelete(scope.row)"
  131. v-hasPermi="['production:quality:remove']"
  132. >删除</el-button>
  133. </template>
  134. </el-table-column>
  135. </el-table>
  136. <el-table v-loading="loadingS2002" :data="s2002List" border>
  137. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  138. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  139. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  140. <template slot-scope="scope">
  141. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  142. </template>
  143. </el-table-column>
  144. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  145. <el-table-column label="化学需氧量" align="center" prop="cod" :show-overflow-tooltip="true"/>
  146. <el-table-column label="pH值" align="center" prop="ph" :show-overflow-tooltip="true"/>
  147. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  148. <template slot-scope="scope">
  149. <el-button
  150. size="mini"
  151. type="text"
  152. icon="el-icon-edit"
  153. @click="handleUpdate(scope.row)"
  154. v-hasPermi="['production:quality:edit']"
  155. >修改</el-button>
  156. <el-button
  157. size="mini"
  158. type="text"
  159. icon="el-icon-delete"
  160. @click="handleDelete(scope.row)"
  161. v-hasPermi="['production:quality:remove']"
  162. >删除</el-button>
  163. </template>
  164. </el-table-column>
  165. </el-table>
  166. <el-table v-loading="loadingS2005" :data="s2005List" border>
  167. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  168. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  169. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  170. <template slot-scope="scope">
  171. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  172. </template>
  173. </el-table-column>
  174. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  175. <el-table-column label="pH值" align="center" prop="ph" :show-overflow-tooltip="true"/>
  176. <el-table-column label="油层比例" align="center" prop="oilRatio" :show-overflow-tooltip="true"/>
  177. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  178. <template slot-scope="scope">
  179. <el-button
  180. size="mini"
  181. type="text"
  182. icon="el-icon-edit"
  183. @click="handleUpdate(scope.row)"
  184. v-hasPermi="['production:quality:edit']"
  185. >修改</el-button>
  186. <el-button
  187. size="mini"
  188. type="text"
  189. icon="el-icon-delete"
  190. @click="handleDelete(scope.row)"
  191. v-hasPermi="['production:quality:remove']"
  192. >删除</el-button>
  193. </template>
  194. </el-table-column>
  195. </el-table>
  196. <el-table v-loading="loadingS2007" :data="s2007List" border>
  197. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  198. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  199. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  200. <template slot-scope="scope">
  201. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  202. </template>
  203. </el-table-column>
  204. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  205. <el-table-column label="运动粘度,50℃" align="center" prop="viscosity" :show-overflow-tooltip="true"/>
  206. <el-table-column label="汽油终馏点" align="center" prop="endPoint" :show-overflow-tooltip="true"/>
  207. <el-table-column label="汽油段压差" align="center" prop="pressureDifference" :show-overflow-tooltip="true"/>
  208. <el-table-column label="HVGO产量" align="center" prop="production" :show-overflow-tooltip="true"/>
  209. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  210. <template slot-scope="scope">
  211. <el-button
  212. size="mini"
  213. type="text"
  214. icon="el-icon-edit"
  215. @click="handleUpdate(scope.row)"
  216. v-hasPermi="['production:quality:edit']"
  217. >修改</el-button>
  218. <el-button
  219. size="mini"
  220. type="text"
  221. icon="el-icon-delete"
  222. @click="handleDelete(scope.row)"
  223. v-hasPermi="['production:quality:remove']"
  224. >删除</el-button>
  225. </template>
  226. </el-table-column>
  227. </el-table>
  228. <el-table v-loading="loadingS2011" :data="s2011List" border>
  229. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  230. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  231. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  232. <template slot-scope="scope">
  233. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  234. </template>
  235. </el-table-column>
  236. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  237. <el-table-column label="密度" align="center" prop="density1" :show-overflow-tooltip="true"/>
  238. <el-table-column label="初馏点" align="center" prop="ibp" :show-overflow-tooltip="true"/>
  239. <el-table-column label="终馏点" align="center" prop="fbp" :show-overflow-tooltip="true"/>
  240. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  241. <template slot-scope="scope">
  242. <el-button
  243. size="mini"
  244. type="text"
  245. icon="el-icon-edit"
  246. @click="handleUpdate(scope.row)"
  247. v-hasPermi="['production:quality:edit']"
  248. >修改</el-button>
  249. <el-button
  250. size="mini"
  251. type="text"
  252. icon="el-icon-delete"
  253. @click="handleDelete(scope.row)"
  254. v-hasPermi="['production:quality:remove']"
  255. >删除</el-button>
  256. </template>
  257. </el-table-column>
  258. </el-table>
  259. <el-table v-loading="loadingS2400" :data="s2400List" border>
  260. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  261. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  262. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  263. <template slot-scope="scope">
  264. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  265. </template>
  266. </el-table-column>
  267. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  268. <el-table-column label="化学需氧量" align="center" prop="cod" :show-overflow-tooltip="true"/>
  269. <el-table-column label="pH值" align="center" prop="ph" :show-overflow-tooltip="true"/>
  270. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  271. <template slot-scope="scope">
  272. <el-button
  273. size="mini"
  274. type="text"
  275. icon="el-icon-edit"
  276. @click="handleUpdate(scope.row)"
  277. v-hasPermi="['production:quality:edit']"
  278. >修改</el-button>
  279. <el-button
  280. size="mini"
  281. type="text"
  282. icon="el-icon-delete"
  283. @click="handleDelete(scope.row)"
  284. v-hasPermi="['production:quality:remove']"
  285. >删除</el-button>
  286. </template>
  287. </el-table-column>
  288. </el-table>
  289. <el-table v-loading="loadingS3004" :data="s3004List" border>
  290. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  291. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  292. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  293. <template slot-scope="scope">
  294. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  295. </template>
  296. </el-table-column>
  297. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  298. <el-table-column label="氢氧化钠" align="center" prop="naOh" :show-overflow-tooltip="true"/>
  299. <el-table-column label="碳酸钠" align="center" prop="na2Co3" :show-overflow-tooltip="true"/>
  300. <el-table-column label="硫化钠" align="center" prop="na2S" :show-overflow-tooltip="true"/>
  301. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  302. <template slot-scope="scope">
  303. <el-button
  304. size="mini"
  305. type="text"
  306. icon="el-icon-edit"
  307. @click="handleUpdate(scope.row)"
  308. v-hasPermi="['production:quality:edit']"
  309. >修改</el-button>
  310. <el-button
  311. size="mini"
  312. type="text"
  313. icon="el-icon-delete"
  314. @click="handleDelete(scope.row)"
  315. v-hasPermi="['production:quality:remove']"
  316. >删除</el-button>
  317. </template>
  318. </el-table-column>
  319. </el-table>
  320. <el-table v-loading="loadingS3009" :data="s3009List" border>
  321. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  322. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  323. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  324. <template slot-scope="scope">
  325. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  326. </template>
  327. </el-table-column>
  328. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  329. <el-table-column label="一氧化碳含量" align="center" prop="carbonMonoxide" :show-overflow-tooltip="true"/>
  330. <el-table-column label="甲烷" align="center" prop="methane" :show-overflow-tooltip="true"/>
  331. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  332. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  333. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  334. <el-table-column label="环丙烷" align="center" prop="cycPropane" :show-overflow-tooltip="true"/>
  335. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  336. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  337. <el-table-column label="乙炔" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  338. <el-table-column label="氢气" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
  339. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  340. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  341. <template slot-scope="scope">
  342. <el-button
  343. size="mini"
  344. type="text"
  345. icon="el-icon-edit"
  346. @click="handleUpdate(scope.row)"
  347. v-hasPermi="['production:quality:edit']"
  348. >修改</el-button>
  349. <el-button
  350. size="mini"
  351. type="text"
  352. icon="el-icon-delete"
  353. @click="handleDelete(scope.row)"
  354. v-hasPermi="['production:quality:remove']"
  355. >删除</el-button>
  356. </template>
  357. </el-table-column>
  358. </el-table>
  359. <el-table v-loading="loadingS3010" :data="s3010List" border>
  360. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  361. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  362. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  363. <template slot-scope="scope">
  364. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  365. </template>
  366. </el-table-column>
  367. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  368. <el-table-column label="乙炔含量 " align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  369. <el-table-column label="一氧化碳含量" align="center" prop="carbonMonoxide" :show-overflow-tooltip="true"/>
  370. <el-table-column label="甲烷 " align="center" prop="methane" :show-overflow-tooltip="true"/>
  371. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  372. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  373. <el-table-column label="丙烷 " align="center" prop="propane" :show-overflow-tooltip="true"/>
  374. <el-table-column label="环丙烷 " align="center" prop="cycPropane" :show-overflow-tooltip="true"/>
  375. <el-table-column label="丙烯 " align="center" prop="propylene" :show-overflow-tooltip="true"/>
  376. <el-table-column label="丙二烯 " align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  377. <el-table-column label="氢气" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
  378. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  379. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  380. <template slot-scope="scope">
  381. <el-button
  382. size="mini"
  383. type="text"
  384. icon="el-icon-edit"
  385. @click="handleUpdate(scope.row)"
  386. v-hasPermi="['production:quality:edit']"
  387. >修改</el-button>
  388. <el-button
  389. size="mini"
  390. type="text"
  391. icon="el-icon-delete"
  392. @click="handleDelete(scope.row)"
  393. v-hasPermi="['production:quality:remove']"
  394. >删除</el-button>
  395. </template>
  396. </el-table-column>
  397. </el-table>
  398. <el-table v-loading="loadingS3011" :data="s3011List" border>
  399. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  400. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  401. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  402. <template slot-scope="scope">
  403. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  404. </template>
  405. </el-table-column>
  406. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  407. <el-table-column label="一氧化碳含量" align="center" prop="carbonMonoxide" :show-overflow-tooltip="true"/>
  408. <el-table-column label="甲烷 " align="center" prop="methane" :show-overflow-tooltip="true"/>
  409. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  410. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  411. <el-table-column label="丙烷 " align="center" prop="propane" :show-overflow-tooltip="true"/>
  412. <el-table-column label="环丙烷 " align="center" prop="cycPropane" :show-overflow-tooltip="true"/>
  413. <el-table-column label="丙烯 " align="center" prop="propylene" :show-overflow-tooltip="true"/>
  414. <el-table-column label="丙二烯 " align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  415. <el-table-column label="乙炔" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  416. <el-table-column label="氢气" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
  417. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  418. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  419. <template slot-scope="scope">
  420. <el-button
  421. size="mini"
  422. type="text"
  423. icon="el-icon-edit"
  424. @click="handleUpdate(scope.row)"
  425. v-hasPermi="['production:quality:edit']"
  426. >修改</el-button>
  427. <el-button
  428. size="mini"
  429. type="text"
  430. icon="el-icon-delete"
  431. @click="handleDelete(scope.row)"
  432. v-hasPermi="['production:quality:remove']"
  433. >删除</el-button>
  434. </template>
  435. </el-table-column>
  436. </el-table>
  437. <el-table v-loading="loadingS3012" :data="s3012List" border>
  438. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  439. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  440. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  441. <template slot-scope="scope">
  442. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  443. </template>
  444. </el-table-column>
  445. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  446. <el-table-column label="乙炔含量" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  447. <el-table-column label="一氧化碳含量" align="center" prop="carbonMonoxide" :show-overflow-tooltip="true"/>
  448. <el-table-column label="甲烷" align="center" prop="methane" :show-overflow-tooltip="true"/>
  449. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  450. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  451. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  452. <el-table-column label="环丙烷" align="center" prop="cycPropane" :show-overflow-tooltip="true"/>
  453. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  454. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  455. <el-table-column label="氢气" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
  456. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  457. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  458. <template slot-scope="scope">
  459. <el-button
  460. size="mini"
  461. type="text"
  462. icon="el-icon-edit"
  463. @click="handleUpdate(scope.row)"
  464. v-hasPermi="['production:quality:edit']"
  465. >修改</el-button>
  466. <el-button
  467. size="mini"
  468. type="text"
  469. icon="el-icon-delete"
  470. @click="handleDelete(scope.row)"
  471. v-hasPermi="['production:quality:remove']"
  472. >删除</el-button>
  473. </template>
  474. </el-table-column>
  475. </el-table>
  476. <el-table v-loading="loadingS3022" :data="s3022List" border>
  477. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  478. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  479. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  480. <template slot-scope="scope">
  481. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  482. </template>
  483. </el-table-column>
  484. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  485. <el-table-column label="氢氧化钠" align="center" prop="naoh" :show-overflow-tooltip="true"/>
  486. <el-table-column label="碳酸钠" align="center" prop="na2co3" :show-overflow-tooltip="true"/>
  487. <el-table-column label="硫化钠" align="center" prop="na2s" :show-overflow-tooltip="true"/>
  488. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  489. <template slot-scope="scope">
  490. <el-button
  491. size="mini"
  492. type="text"
  493. icon="el-icon-edit"
  494. @click="handleUpdate(scope.row)"
  495. v-hasPermi="['production:quality:edit']"
  496. >修改</el-button>
  497. <el-button
  498. size="mini"
  499. type="text"
  500. icon="el-icon-delete"
  501. @click="handleDelete(scope.row)"
  502. v-hasPermi="['production:quality:remove']"
  503. >删除</el-button>
  504. </template>
  505. </el-table-column>
  506. </el-table>
  507. <el-table v-loading="loadingS4012" :data="s4012List" border>
  508. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  509. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  510. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  511. <template slot-scope="scope">
  512. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  513. </template>
  514. </el-table-column>
  515. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  516. <el-table-column label="甲烷" align="center" prop="methane" :show-overflow-tooltip="true"/>
  517. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  518. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  519. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  520. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  521. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  522. <template slot-scope="scope">
  523. <el-button
  524. size="mini"
  525. type="text"
  526. icon="el-icon-edit"
  527. @click="handleUpdate(scope.row)"
  528. v-hasPermi="['production:quality:edit']"
  529. >修改</el-button>
  530. <el-button
  531. size="mini"
  532. type="text"
  533. icon="el-icon-delete"
  534. @click="handleDelete(scope.row)"
  535. v-hasPermi="['production:quality:remove']"
  536. >删除</el-button>
  537. </template>
  538. </el-table-column>
  539. </el-table>
  540. <el-table v-loading="loadingS4013" :data="s4013List" border>
  541. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  542. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  543. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  544. <template slot-scope="scope">
  545. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  546. </template>
  547. </el-table-column>
  548. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  549. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  550. <el-table-column label="甲烷和乙烷含量" align="center" prop="methaneEthane" :show-overflow-tooltip="true"/>
  551. <el-table-column label="乙烯含量" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  552. <el-table-column label="乙炔含量" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  553. <el-table-column label="一氧化碳含量" align="center" prop="carbonMonoxide" :show-overflow-tooltip="true"/>
  554. <el-table-column label="二氧化碳含量" align="center" prop="carbonDioxide" :show-overflow-tooltip="true"/>
  555. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  556. <template slot-scope="scope">
  557. <el-button
  558. size="mini"
  559. type="text"
  560. icon="el-icon-edit"
  561. @click="handleUpdate(scope.row)"
  562. v-hasPermi="['production:quality:edit']"
  563. >修改</el-button>
  564. <el-button
  565. size="mini"
  566. type="text"
  567. icon="el-icon-delete"
  568. @click="handleDelete(scope.row)"
  569. v-hasPermi="['production:quality:remove']"
  570. >删除</el-button>
  571. </template>
  572. </el-table-column>
  573. </el-table>
  574. <el-table v-loading="loadingS4501" :data="s4501List" border>
  575. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  576. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  577. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  578. <template slot-scope="scope">
  579. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  580. </template>
  581. </el-table-column>
  582. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  583. <el-table-column label="苯" align="center" prop="benzene" :show-overflow-tooltip="true"/>
  584. <el-table-column label="甲苯" align="center" prop="toluene" :show-overflow-tooltip="true"/>
  585. <el-table-column label="乙苯" align="center" prop="ethylbenzene" :show-overflow-tooltip="true"/>
  586. <el-table-column label="间-二甲苯" align="center" prop="mXylene" :show-overflow-tooltip="true"/>
  587. <el-table-column label="邻-二甲苯" align="center" prop="oXylene" :show-overflow-tooltip="true"/>
  588. <el-table-column label="对-二甲苯" align="center" prop="pXylene" :show-overflow-tooltip="true"/>
  589. <el-table-column label="C5 非芳烃" align="center" prop="c5Na" :show-overflow-tooltip="true"/>
  590. <el-table-column label="C6 非芳烃" align="center" prop="c6Na" :show-overflow-tooltip="true"/>
  591. <el-table-column label="C7 非芳烃" align="center" prop="c7Na" :show-overflow-tooltip="true"/>
  592. <el-table-column label="C8 非芳烃" align="center" prop="c8Na" :show-overflow-tooltip="true"/>
  593. <el-table-column label="C9以上" align="center" prop="c9" :show-overflow-tooltip="true"/>
  594. <el-table-column label="C8 芳烃" align="center" prop="c8A" :show-overflow-tooltip="true"/>
  595. <el-table-column label="C4 -C5 非芳烃" align="center" prop="c4C5Na" :show-overflow-tooltip="true"/>
  596. <el-table-column label="C6 -C8 非芳烃" align="center" prop="c6C8Na" :show-overflow-tooltip="true"/>
  597. <el-table-column label="C4-C8非芳烃" align="center" prop="c4C8Na" :show-overflow-tooltip="true"/>
  598. <el-table-column label="溴指数" align="center" prop="brIndex" :show-overflow-tooltip="true"/>
  599. <el-table-column label="总硫" align="center" prop="totalSulfur" :show-overflow-tooltip="true"/>
  600. <el-table-column label="总氮" align="center" prop="totalNitrogen" :show-overflow-tooltip="true"/>
  601. <el-table-column label="入口温度" align="center" prop="temperatureIn" :show-overflow-tooltip="true"/>
  602. <el-table-column label="温升" align="center" prop="temperatureRaise" :show-overflow-tooltip="true"/>
  603. <el-table-column label="压差 100Pa" align="center" prop="pressureDiff" :show-overflow-tooltip="true"/>
  604. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  605. <template slot-scope="scope">
  606. <el-button
  607. size="mini"
  608. type="text"
  609. icon="el-icon-edit"
  610. @click="handleUpdate(scope.row)"
  611. v-hasPermi="['production:quality:edit']"
  612. >修改</el-button>
  613. <el-button
  614. size="mini"
  615. type="text"
  616. icon="el-icon-delete"
  617. @click="handleDelete(scope.row)"
  618. v-hasPermi="['production:quality:remove']"
  619. >删除</el-button>
  620. </template>
  621. </el-table-column>
  622. </el-table>
  623. <el-table v-loading="loadingS5001" :data="s5001List" border>
  624. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  625. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  626. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  627. <template slot-scope="scope">
  628. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  629. </template>
  630. </el-table-column>
  631. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  632. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  633. <el-table-column label="环丙烷" align="center" prop="cycPropane" :show-overflow-tooltip="true"/>
  634. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  635. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  636. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  637. <el-table-column label="丁烯" align="center" prop="butene" :show-overflow-tooltip="true"/>
  638. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  639. <template slot-scope="scope">
  640. <el-button
  641. size="mini"
  642. type="text"
  643. icon="el-icon-edit"
  644. @click="handleUpdate(scope.row)"
  645. v-hasPermi="['production:quality:edit']"
  646. >修改</el-button>
  647. <el-button
  648. size="mini"
  649. type="text"
  650. icon="el-icon-delete"
  651. @click="handleDelete(scope.row)"
  652. v-hasPermi="['production:quality:remove']"
  653. >删除</el-button>
  654. </template>
  655. </el-table-column>
  656. </el-table>
  657. <el-table v-loading="loadingS5003" :data="s5003List" border>
  658. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  659. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  660. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  661. <template slot-scope="scope">
  662. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  663. </template>
  664. </el-table-column>
  665. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  666. <el-table-column label="甲烷" align="center" prop="methane" :show-overflow-tooltip="true"/>
  667. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  668. <el-table-column label="乙烯含量" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  669. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  670. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  671. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  672. <el-table-column label="丁烯+1,3-丁二烯" align="center" prop="buteneButadiene" :show-overflow-tooltip="true"/>
  673. <el-table-column label="丙二烯和甲基乙炔含量" align="center" prop="propadieneMethylacetylene" :show-overflow-tooltip="true"/>
  674. <el-table-column label="总量" align="center" prop="totals" :show-overflow-tooltip="true"/>
  675. <el-table-column label="烷烃含量" align="center" prop="paraffine" :show-overflow-tooltip="true"/>
  676. <el-table-column label="丙烯含量" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  677. <el-table-column label="甲醇含量" align="center" prop="methanol" :show-overflow-tooltip="true"/>
  678. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  679. <template slot-scope="scope">
  680. <el-button
  681. size="mini"
  682. type="text"
  683. icon="el-icon-edit"
  684. @click="handleUpdate(scope.row)"
  685. v-hasPermi="['production:quality:edit']"
  686. >修改</el-button>
  687. <el-button
  688. size="mini"
  689. type="text"
  690. icon="el-icon-delete"
  691. @click="handleDelete(scope.row)"
  692. v-hasPermi="['production:quality:remove']"
  693. >删除</el-button>
  694. </template>
  695. </el-table-column>
  696. </el-table>
  697. <el-table v-loading="loadingS5010" :data="s5010List" border>
  698. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  699. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  700. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  701. <template slot-scope="scope">
  702. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  703. </template>
  704. </el-table-column>
  705. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  706. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  707. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  708. <el-table-column label="乙炔" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  709. <el-table-column label="1,2-丁二烯" align="center" prop="butadiene12" :show-overflow-tooltip="true"/>
  710. <el-table-column label="1,3-丁二烯" align="center" prop="butadiene13" :show-overflow-tooltip="true"/>
  711. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  712. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  713. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  714. <template slot-scope="scope">
  715. <el-button
  716. size="mini"
  717. type="text"
  718. icon="el-icon-edit"
  719. @click="handleUpdate(scope.row)"
  720. v-hasPermi="['production:quality:edit']"
  721. >修改</el-button>
  722. <el-button
  723. size="mini"
  724. type="text"
  725. icon="el-icon-delete"
  726. @click="handleDelete(scope.row)"
  727. v-hasPermi="['production:quality:remove']"
  728. >删除</el-button>
  729. </template>
  730. </el-table-column>
  731. </el-table>
  732. <el-table v-loading="loadingS5012" :data="s5012List" border>
  733. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  734. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  735. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  736. <template slot-scope="scope">
  737. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  738. </template>
  739. </el-table-column>
  740. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  741. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  742. <el-table-column label="丙二烯" align="center" prop="propadiene" :show-overflow-tooltip="true"/>
  743. <el-table-column label="乙炔" align="center" prop="acetylene" :show-overflow-tooltip="true"/>
  744. <el-table-column label="1,2-丁二烯" align="center" prop="butadiene12" :show-overflow-tooltip="true"/>
  745. <el-table-column label="1,3-丁二烯" align="center" prop="butadiene13" :show-overflow-tooltip="true"/>
  746. <el-table-column label="甲基乙炔" align="center" prop="methylacetylene" :show-overflow-tooltip="true"/>
  747. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  748. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  749. <template slot-scope="scope">
  750. <el-button
  751. size="mini"
  752. type="text"
  753. icon="el-icon-edit"
  754. @click="handleUpdate(scope.row)"
  755. v-hasPermi="['production:quality:edit']"
  756. >修改</el-button>
  757. <el-button
  758. size="mini"
  759. type="text"
  760. icon="el-icon-delete"
  761. @click="handleDelete(scope.row)"
  762. v-hasPermi="['production:quality:remove']"
  763. >删除</el-button>
  764. </template>
  765. </el-table-column>
  766. </el-table>
  767. <el-table v-loading="loadingS6101" :data="s6101List" border>
  768. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  769. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  770. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  771. <template slot-scope="scope">
  772. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  773. </template>
  774. </el-table-column>
  775. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  776. <el-table-column label="苯" align="center" prop="benzene" :show-overflow-tooltip="true"/>
  777. <el-table-column label="甲苯" align="center" prop="toluene" :show-overflow-tooltip="true"/>
  778. <el-table-column label="双环戊二烯" align="center" prop="dcpd" :show-overflow-tooltip="true"/>
  779. <el-table-column label="乙苯" align="center" prop="ethylbenzene" :show-overflow-tooltip="true"/>
  780. <el-table-column label="间-二甲苯" align="center" prop="mXylene" :show-overflow-tooltip="true"/>
  781. <el-table-column label="邻-二甲苯" align="center" prop="oXylene" :show-overflow-tooltip="true"/>
  782. <el-table-column label="对-二甲苯" align="center" prop="pXylene" :show-overflow-tooltip="true"/>
  783. <el-table-column label="苯乙烯" align="center" prop="styrene" :show-overflow-tooltip="true"/>
  784. <el-table-column label="C5 非芳烃" align="center" prop="c5Na" :show-overflow-tooltip="true"/>
  785. <el-table-column label="C6 非芳烃" align="center" prop="c6Na" :show-overflow-tooltip="true"/>
  786. <el-table-column label="C7 非芳烃" align="center" prop="c7Na" :show-overflow-tooltip="true"/>
  787. <el-table-column label="C8 非芳烃" align="center" prop="c8Na" :show-overflow-tooltip="true"/>
  788. <el-table-column label="C9以上" align="center" prop="c9" :show-overflow-tooltip="true"/>
  789. <el-table-column label="C8 芳烃" align="center" prop="c8A" :show-overflow-tooltip="true"/>
  790. <el-table-column label="C4 -C5 非芳烃" align="center" prop="c4C5Na" :show-overflow-tooltip="true"/>
  791. <el-table-column label="C6 -C8 非芳烃" align="center" prop="c6C8Na" :show-overflow-tooltip="true"/>
  792. <el-table-column label="C4-C8非芳烃" align="center" prop="c4C8Na" :show-overflow-tooltip="true"/>
  793. <el-table-column label="密度" align="center" prop="density1" :show-overflow-tooltip="true"/>
  794. <el-table-column label="溴价" align="center" prop="brNumber" :show-overflow-tooltip="true"/>
  795. <el-table-column label="总硫" align="center" prop="totalSulfur" :show-overflow-tooltip="true"/>
  796. <el-table-column label="总氮" align="center" prop="totalNitrogen" :show-overflow-tooltip="true"/>
  797. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  798. <template slot-scope="scope">
  799. <el-button
  800. size="mini"
  801. type="text"
  802. icon="el-icon-edit"
  803. @click="handleUpdate(scope.row)"
  804. v-hasPermi="['production:quality:edit']"
  805. >修改</el-button>
  806. <el-button
  807. size="mini"
  808. type="text"
  809. icon="el-icon-delete"
  810. @click="handleDelete(scope.row)"
  811. v-hasPermi="['production:quality:remove']"
  812. >删除</el-button>
  813. </template>
  814. </el-table-column>
  815. </el-table>
  816. <el-table v-loading="loadingS6107" :data="s6107List" border>
  817. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  818. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  819. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  820. <template slot-scope="scope">
  821. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  822. </template>
  823. </el-table-column>
  824. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  825. <el-table-column label="化学需氧量" align="center" prop="cod" :show-overflow-tooltip="true"/>
  826. <el-table-column label="pH值" align="center" prop="ph" :show-overflow-tooltip="true"/>
  827. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  828. <template slot-scope="scope">
  829. <el-button
  830. size="mini"
  831. type="text"
  832. icon="el-icon-edit"
  833. @click="handleUpdate(scope.row)"
  834. v-hasPermi="['production:quality:edit']"
  835. >修改</el-button>
  836. <el-button
  837. size="mini"
  838. type="text"
  839. icon="el-icon-delete"
  840. @click="handleDelete(scope.row)"
  841. v-hasPermi="['production:quality:remove']"
  842. >删除</el-button>
  843. </template>
  844. </el-table-column>
  845. </el-table>
  846. <el-table v-loading="loadingS6301" :data="s6301List" border>
  847. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  848. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  849. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  850. <template slot-scope="scope">
  851. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  852. </template>
  853. </el-table-column>
  854. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  855. <el-table-column label="异戊二烯" align="center" prop="ic5" :show-overflow-tooltip="true"/>
  856. <el-table-column label="双环戊二烯" align="center" prop="dcpd" :show-overflow-tooltip="true"/>
  857. <el-table-column label="C5总量" align="center" prop="c5" :show-overflow-tooltip="true"/>
  858. <el-table-column label="碳五共轭双烯烃+双环戊二烯>=30" align="center" prop="c5ConjugatedDienesDcpd30" :show-overflow-tooltip="true"/>
  859. <el-table-column label="间戊二烯+环戊二烯" align="center" prop="pentadieneCycc5" :show-overflow-tooltip="true"/>
  860. <el-table-column label="C4及C4以下组分含量" align="center" prop="c4" :show-overflow-tooltip="true"/>
  861. <el-table-column label="碳五共轭双烯烃+双环戊二烯>=40" align="center" prop="c5ConjugatedDienesDcpd40" :show-overflow-tooltip="true"/>
  862. <el-table-column label="C4及C4以下组分含量<10" align="center" prop="c410" :show-overflow-tooltip="true"/>
  863. <el-table-column label="总硫" align="center" prop="totalSulfur" :show-overflow-tooltip="true"/>
  864. <el-table-column label="总硫<=150" align="center" prop="totalSulfur150" :show-overflow-tooltip="true"/>
  865. <el-table-column label="硅" align="center" prop="silicon" :show-overflow-tooltip="true"/>
  866. <el-table-column label="C250 灵敏板T" align="center" prop="c250" :show-overflow-tooltip="true"/>
  867. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  868. <template slot-scope="scope">
  869. <el-button
  870. size="mini"
  871. type="text"
  872. icon="el-icon-edit"
  873. @click="handleUpdate(scope.row)"
  874. v-hasPermi="['production:quality:edit']"
  875. >修改</el-button>
  876. <el-button
  877. size="mini"
  878. type="text"
  879. icon="el-icon-delete"
  880. @click="handleDelete(scope.row)"
  881. v-hasPermi="['production:quality:remove']"
  882. >删除</el-button>
  883. </template>
  884. </el-table-column>
  885. </el-table>
  886. <el-table v-loading="loadingZ404" :data="z404List" border>
  887. <el-table-column label="装置名称" width="100" align="center" prop="locationName" :show-overflow-tooltip="true"/>
  888. <el-table-column label="采样点" width="100" align="center" prop="samplePoint" :show-overflow-tooltip="true"/>
  889. <el-table-column label="采样日期" align="center" prop="sampleDate" width="100">
  890. <template slot-scope="scope">
  891. <span>{{ parseTime(scope.row.sampleDate, '{y}-{m}-{d}') }}</span>
  892. </template>
  893. </el-table-column>
  894. <el-table-column label="样品名称" width="100" align="center" prop="sampleName" :show-overflow-tooltip="true"/>
  895. <el-table-column label="甲烷" align="center" prop="methane" :show-overflow-tooltip="true"/>
  896. <el-table-column label="乙烷" align="center" prop="ethane" :show-overflow-tooltip="true"/>
  897. <el-table-column label="乙烯" align="center" prop="ethylene" :show-overflow-tooltip="true"/>
  898. <el-table-column label="丙烷" align="center" prop="propane" :show-overflow-tooltip="true"/>
  899. <el-table-column label="丙烯" align="center" prop="propylene" :show-overflow-tooltip="true"/>
  900. <el-table-column label="未知组分" align="center" prop="unknown" :show-overflow-tooltip="true"/>
  901. <el-table-column label="氢气" align="center" prop="hydrogen" :show-overflow-tooltip="true"/>
  902. <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
  903. <template slot-scope="scope">
  904. <el-button
  905. size="mini"
  906. type="text"
  907. icon="el-icon-edit"
  908. @click="handleUpdate(scope.row)"
  909. v-hasPermi="['production:quality:edit']"
  910. >修改</el-button>
  911. <el-button
  912. size="mini"
  913. type="text"
  914. icon="el-icon-delete"
  915. @click="handleDelete(scope.row)"
  916. v-hasPermi="['production:quality:remove']"
  917. >删除</el-button>
  918. </template>
  919. </el-table-column>
  920. </el-table>
  921. <!-- 添加或修改质量月报S0501对话框 -->
  922. <el-dialog :title="title" :visible.sync="openS0501" width="500px" append-to-body>
  923. <el-form ref="formS0501" :model="formS0501" label-width="80px">
  924. <el-form-item label="装置名称" prop="locationName">
  925. <el-input v-model="formS0501.locationName" placeholder="请输入装置名称" />
  926. </el-form-item>
  927. <el-form-item label="采样点" prop="samplePoint">
  928. <el-input v-model="formS0501.samplePoint" placeholder="请输入采样点" />
  929. </el-form-item>
  930. <el-form-item label="采样日期" prop="sampleDate">
  931. <el-date-picker clearable size="small" style="width: 200px"
  932. v-model="formS0501.sampleDate"
  933. type="date"
  934. value-format="yyyy-MM-dd"
  935. placeholder="选择采样日期">
  936. </el-date-picker>
  937. </el-form-item>
  938. <el-form-item label="样品名称" prop="sampleName">
  939. <el-input v-model="formS0501.sampleName" placeholder="请输入样品名称" />
  940. </el-form-item>
  941. <el-form-item label="正构烷烃" prop="p">
  942. <el-input v-model="formS0501.p" placeholder="请输入正构烷烃" />
  943. </el-form-item>
  944. <el-form-item label="异构烷烃" prop="i">
  945. <el-input v-model="formS0501.i" placeholder="请输入异构烷烃" />
  946. </el-form-item>
  947. <el-form-item label="烯烃" prop="o">
  948. <el-input v-model="formS0501.o" placeholder="请输入烯烃" />
  949. </el-form-item>
  950. <el-form-item label="环烷烃" prop="n">
  951. <el-input v-model="formS0501.n" placeholder="请输入环烷烃" />
  952. </el-form-item>
  953. <el-form-item label="芳烃" prop="a">
  954. <el-input v-model="formS0501.a" placeholder="请输入芳烃" />
  955. </el-form-item>
  956. <el-form-item label="正构烷烃+异构烷烃" prop="pI">
  957. <el-input v-model="formS0501.pI" placeholder="请输入正构烷烃+异构烷烃" />
  958. </el-form-item>
  959. <el-form-item label="密度" prop="density2">
  960. <el-input v-model="formS0501.density2" placeholder="请输入密度" />
  961. </el-form-item>
  962. <el-form-item label="初馏点" prop="ibp">
  963. <el-input v-model="formS0501.ibp" placeholder="请输入初馏点" />
  964. </el-form-item>
  965. <el-form-item label="5%" prop="five">
  966. <el-input v-model="formS0501.five" placeholder="请输入5%" />
  967. </el-form-item>
  968. <el-form-item label="10%" prop="ten">
  969. <el-input v-model="formS0501.ten" placeholder="请输入10%" />
  970. </el-form-item>
  971. <el-form-item label="30%" prop="thrity">
  972. <el-input v-model="formS0501.thrity" placeholder="请输入30%" />
  973. </el-form-item>
  974. <el-form-item label="50%" prop="fifty">
  975. <el-input v-model="formS0501.fifty" placeholder="请输入50%" />
  976. </el-form-item>
  977. <el-form-item label="70%" prop="seventy">
  978. <el-input v-model="formS0501.seventy" placeholder="请输入70%" />
  979. </el-form-item>
  980. <el-form-item label="90%" prop="ninety">
  981. <el-input v-model="formS0501.ninety" placeholder="请输入90%" />
  982. </el-form-item>
  983. <el-form-item label="95%" prop="ninetyFive">
  984. <el-input v-model="formS0501.ninetyFive" placeholder="请输入95%" />
  985. </el-form-item>
  986. <el-form-item label="终馏点" prop="fbp">
  987. <el-input v-model="formS0501.fbp" placeholder="请输入终馏点" />
  988. </el-form-item>
  989. <el-form-item label="总硫" prop="totalSulfur">
  990. <el-input v-model="formS0501.totalSulfur" placeholder="请输入总硫" />
  991. </el-form-item>
  992. <el-form-item label="归属部门" prop="deptId">
  993. <treeselect v-model="formS0501.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  994. </el-form-item>
  995. </el-form>
  996. <div slot="footer" class="dialog-footer">
  997. <el-button type="primary" @click="submitForm">确 定</el-button>
  998. <el-button @click="cancel">取 消</el-button>
  999. </div>
  1000. </el-dialog>
  1001. <!-- 添加或修改质量月报S1301对话框 -->
  1002. <el-dialog :title="title" :visible.sync="openS1301" width="500px" append-to-body>
  1003. <el-form ref="formS1301" :model="formS1301" label-width="80px">
  1004. <el-form-item label="装置名称" prop="locationName">
  1005. <el-input v-model="formS1301.locationName" placeholder="请输入装置名称" />
  1006. </el-form-item>
  1007. <el-form-item label="采样点" prop="samplePoint">
  1008. <el-input v-model="formS1301.samplePoint" placeholder="请输入采样点" />
  1009. </el-form-item>
  1010. <el-form-item label="采样日期" prop="sampleDate">
  1011. <el-date-picker clearable size="small" style="width: 200px"
  1012. v-model="formS1301.sampleDate"
  1013. type="date"
  1014. value-format="yyyy-MM-dd"
  1015. placeholder="选择采样日期">
  1016. </el-date-picker>
  1017. </el-form-item>
  1018. <el-form-item label="样品名称" prop="sampleName">
  1019. <el-input v-model="formS1301.sampleName" placeholder="请输入样品名称" />
  1020. </el-form-item>
  1021. <el-form-item label="非芳烃" prop="na">
  1022. <el-input v-model="formS1301.na" placeholder="请输入非芳烃" />
  1023. </el-form-item>
  1024. <el-form-item label="苯" prop="benzene">
  1025. <el-input v-model="formS1301.benzene" placeholder="请输入苯" />
  1026. </el-form-item>
  1027. <el-form-item label="甲苯" prop="toluene">
  1028. <el-input v-model="formS1301.toluene" placeholder="请输入甲苯" />
  1029. </el-form-item>
  1030. <el-form-item label="乙苯" prop="ethylbenzene">
  1031. <el-input v-model="formS1301.ethylbenzene" placeholder="请输入乙苯" />
  1032. </el-form-item>
  1033. <el-form-item label="对-二甲苯" prop="pXylene">
  1034. <el-input v-model="formS1301.pXylene" placeholder="请输入对-二甲苯" />
  1035. </el-form-item>
  1036. <el-form-item label="间-二甲苯" prop="mXylene">
  1037. <el-input v-model="formS1301.mXylene" placeholder="请输入间-二甲苯" />
  1038. </el-form-item>
  1039. <el-form-item label="邻-二甲苯" prop="oXylene">
  1040. <el-input v-model="formS1301.oXylene" placeholder="请输入邻-二甲苯" />
  1041. </el-form-item>
  1042. <el-form-item label="苯乙烯" prop="styrene">
  1043. <el-input v-model="formS1301.styrene" placeholder="请输入苯乙烯" />
  1044. </el-form-item>
  1045. <el-form-item label="苯乙炔" prop="phenylacetylene">
  1046. <el-input v-model="formS1301.phenylacetylene" placeholder="请输入苯乙炔" />
  1047. </el-form-item>
  1048. <el-form-item label="总芳烃" prop="totalAromatics">
  1049. <el-input v-model="formS1301.totalAromatics" placeholder="请输入总芳烃" />
  1050. </el-form-item>
  1051. <el-form-item label="溴价" prop="brNumber">
  1052. <el-input v-model="formS1301.brNumber" placeholder="请输入溴价" />
  1053. </el-form-item>
  1054. <el-form-item label="双烯值" prop="dieneValue">
  1055. <el-input v-model="formS1301.dieneValue" placeholder="请输入双烯值" />
  1056. </el-form-item>
  1057. <el-form-item label="总氮" prop="totalNitrogen">
  1058. <el-input v-model="formS1301.totalNitrogen" placeholder="请输入总氮" />
  1059. </el-form-item>
  1060. <el-form-item label="归属部门" prop="deptId">
  1061. <treeselect v-model="formS1301.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1062. </el-form-item>
  1063. </el-form>
  1064. <div slot="footer" class="dialog-footer">
  1065. <el-button type="primary" @click="submitForm">确 定</el-button>
  1066. <el-button @click="cancel">取 消</el-button>
  1067. </div>
  1068. </el-dialog>
  1069. <!-- 添加或修改质量月报S2002对话框 -->
  1070. <el-dialog :title="title" :visible.sync="openS2002" width="500px" append-to-body>
  1071. <el-form ref="formS2002" :model="formS2002" label-width="80px">
  1072. <el-form-item label="装置名称" prop="locationName">
  1073. <el-input v-model="formS2002.locationName" placeholder="请输入装置名称" />
  1074. </el-form-item>
  1075. <el-form-item label="采样点" prop="samplePoint">
  1076. <el-input v-model="formS2002.samplePoint" placeholder="请输入采样点" />
  1077. </el-form-item>
  1078. <el-form-item label="采样日期" prop="sampleDate">
  1079. <el-date-picker clearable size="small" style="width: 200px"
  1080. v-model="formS2002.sampleDate"
  1081. type="date"
  1082. value-format="yyyy-MM-dd"
  1083. placeholder="选择采样日期">
  1084. </el-date-picker>
  1085. </el-form-item>
  1086. <el-form-item label="样品名称" prop="sampleName">
  1087. <el-input v-model="formS2002.sampleName" placeholder="请输入样品名称" />
  1088. </el-form-item>
  1089. <el-form-item label="化学需氧量" prop="cod">
  1090. <el-input v-model="formS2002.cod" placeholder="请输入化学需氧量" />
  1091. </el-form-item>
  1092. <el-form-item label="pH值" prop="ph">
  1093. <el-input v-model="formS2002.ph" placeholder="请输入pH值" />
  1094. </el-form-item>
  1095. <el-form-item label="归属部门" prop="deptId">
  1096. <treeselect v-model="formS2002.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1097. </el-form-item>
  1098. </el-form>
  1099. <div slot="footer" class="dialog-footer">
  1100. <el-button type="primary" @click="submitForm">确 定</el-button>
  1101. <el-button @click="cancel">取 消</el-button>
  1102. </div>
  1103. </el-dialog>
  1104. <!-- 添加或修改质量月报S2005对话框 -->
  1105. <el-dialog :title="title" :visible.sync="openS2005" width="500px" append-to-body>
  1106. <el-form ref="formS2005" :model="formS2005" label-width="80px">
  1107. <el-form-item label="装置名称" prop="locationName">
  1108. <el-input v-model="formS2005.locationName" placeholder="请输入装置名称" />
  1109. </el-form-item>
  1110. <el-form-item label="采样点" prop="samplePoint">
  1111. <el-input v-model="formS2005.samplePoint" placeholder="请输入采样点" />
  1112. </el-form-item>
  1113. <el-form-item label="采样日期" prop="sampleDate">
  1114. <el-date-picker clearable size="small" style="width: 200px"
  1115. v-model="formS2005.sampleDate"
  1116. type="date"
  1117. value-format="yyyy-MM-dd"
  1118. placeholder="选择采样日期">
  1119. </el-date-picker>
  1120. </el-form-item>
  1121. <el-form-item label="样品名称" prop="sampleName">
  1122. <el-input v-model="formS2005.sampleName" placeholder="请输入样品名称" />
  1123. </el-form-item>
  1124. <el-form-item label="pH值" prop="ph">
  1125. <el-input v-model="formS2005.ph" placeholder="请输入pH值" />
  1126. </el-form-item>
  1127. <el-form-item label="油层比例" prop="oilRatio">
  1128. <el-input v-model="formS2005.oilRatio" placeholder="请输入油层比例" />
  1129. </el-form-item>
  1130. <el-form-item label="归属部门" prop="deptId">
  1131. <treeselect v-model="formS2005.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1132. </el-form-item>
  1133. </el-form>
  1134. <div slot="footer" class="dialog-footer">
  1135. <el-button type="primary" @click="submitForm">确 定</el-button>
  1136. <el-button @click="cancel">取 消</el-button>
  1137. </div>
  1138. </el-dialog>
  1139. <!-- 添加或修改质量月报S2007对话框 -->
  1140. <el-dialog :title="title" :visible.sync="openS2007" width="500px" append-to-body>
  1141. <el-form ref="formS2007" :model="formS2007" label-width="80px">
  1142. <el-form-item label="装置名称" prop="locationName">
  1143. <el-input v-model="formS2007.locationName" placeholder="请输入装置名称" />
  1144. </el-form-item>
  1145. <el-form-item label="采样点" prop="samplePoint">
  1146. <el-input v-model="formS2007.samplePoint" placeholder="请输入采样点" />
  1147. </el-form-item>
  1148. <el-form-item label="采样日期" prop="sampleDate">
  1149. <el-date-picker clearable size="small" style="width: 200px"
  1150. v-model="formS2007.sampleDate"
  1151. type="date"
  1152. value-format="yyyy-MM-dd"
  1153. placeholder="选择采样日期">
  1154. </el-date-picker>
  1155. </el-form-item>
  1156. <el-form-item label="样品名称" prop="sampleName">
  1157. <el-input v-model="formS2007.sampleName" placeholder="请输入样品名称" />
  1158. </el-form-item>
  1159. <el-form-item label="运动粘度,50℃" prop="viscosity">
  1160. <el-input v-model="formS2007.viscosity" placeholder="请输入运动粘度,50℃" />
  1161. </el-form-item>
  1162. <el-form-item label="归属部门" prop="deptId">
  1163. <treeselect v-model="formS2007.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1164. </el-form-item>
  1165. </el-form>
  1166. <div slot="footer" class="dialog-footer">
  1167. <el-button type="primary" @click="submitForm">确 定</el-button>
  1168. <el-button @click="cancel">取 消</el-button>
  1169. </div>
  1170. </el-dialog>
  1171. <!-- 添加或修改质量月报S2011对话框 -->
  1172. <el-dialog :title="title" :visible.sync="openS2011" width="500px" append-to-body>
  1173. <el-form ref="formS2011" :model="formS2011" label-width="80px">
  1174. <el-form-item label="装置名称" prop="locationName">
  1175. <el-input v-model="formS2011.locationName" placeholder="请输入装置名称" />
  1176. </el-form-item>
  1177. <el-form-item label="采样点" prop="samplePoint">
  1178. <el-input v-model="formS2011.samplePoint" placeholder="请输入采样点" />
  1179. </el-form-item>
  1180. <el-form-item label="采样日期" prop="sampleDate">
  1181. <el-date-picker clearable size="small" style="width: 200px"
  1182. v-model="formS2011.sampleDate"
  1183. type="date"
  1184. value-format="yyyy-MM-dd"
  1185. placeholder="选择采样日期">
  1186. </el-date-picker>
  1187. </el-form-item>
  1188. <el-form-item label="样品名称" prop="sampleName">
  1189. <el-input v-model="formS2011.sampleName" placeholder="请输入样品名称" />
  1190. </el-form-item>
  1191. <el-form-item label="密度" prop="density1">
  1192. <el-input v-model="formS2011.density1" placeholder="请输入密度" />
  1193. </el-form-item>
  1194. <el-form-item label="初馏点" prop="ibp">
  1195. <el-input v-model="formS2011.ibp" placeholder="请输入初馏点" />
  1196. </el-form-item>
  1197. <el-form-item label="终馏点" prop="fbp">
  1198. <el-input v-model="formS2011.fbp" placeholder="请输入终馏点" />
  1199. </el-form-item>
  1200. <el-form-item label="归属部门" prop="deptId">
  1201. <treeselect v-model="formS2011.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1202. </el-form-item>
  1203. </el-form>
  1204. <div slot="footer" class="dialog-footer">
  1205. <el-button type="primary" @click="submitForm">确 定</el-button>
  1206. <el-button @click="cancel">取 消</el-button>
  1207. </div>
  1208. </el-dialog>
  1209. <!-- 添加或修改质量月报S2400对话框 -->
  1210. <el-dialog :title="title" :visible.sync="openS2400" width="500px" append-to-body>
  1211. <el-form ref="formS2400" :model="formS2400" label-width="80px">
  1212. <el-form-item label="装置名称" prop="locationName">
  1213. <el-input v-model="formS2400.locationName" placeholder="请输入装置名称" />
  1214. </el-form-item>
  1215. <el-form-item label="采样点" prop="samplePoint">
  1216. <el-input v-model="formS2400.samplePoint" placeholder="请输入采样点" />
  1217. </el-form-item>
  1218. <el-form-item label="采样日期" prop="sampleDate">
  1219. <el-date-picker clearable size="small" style="width: 200px"
  1220. v-model="formS2400.sampleDate"
  1221. type="date"
  1222. value-format="yyyy-MM-dd"
  1223. placeholder="选择采样日期">
  1224. </el-date-picker>
  1225. </el-form-item>
  1226. <el-form-item label="样品名称" prop="sampleName">
  1227. <el-input v-model="formS2400.sampleName" placeholder="请输入样品名称" />
  1228. </el-form-item>
  1229. <el-form-item label="化学需氧量" prop="cod">
  1230. <el-input v-model="formS2400.cod" placeholder="请输入化学需氧量" />
  1231. </el-form-item>
  1232. <el-form-item label="pH值" prop="ph">
  1233. <el-input v-model="formS2400.ph" placeholder="请输入pH值" />
  1234. </el-form-item>
  1235. <el-form-item label="归属部门" prop="deptId">
  1236. <treeselect v-model="formS2400.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1237. </el-form-item>
  1238. </el-form>
  1239. <div slot="footer" class="dialog-footer">
  1240. <el-button type="primary" @click="submitForm">确 定</el-button>
  1241. <el-button @click="cancel">取 消</el-button>
  1242. </div>
  1243. </el-dialog>
  1244. <!-- 添加或修改质量月报S3004对话框 -->
  1245. <el-dialog :title="title" :visible.sync="openS3004" width="500px" append-to-body>
  1246. <el-form ref="formS3004" :model="formS3004" label-width="80px">
  1247. <el-form-item label="装置名称" prop="locationName">
  1248. <el-input v-model="formS3004.locationName" placeholder="请输入装置名称" />
  1249. </el-form-item>
  1250. <el-form-item label="采样点" prop="samplePoint">
  1251. <el-input v-model="formS3004.samplePoint" placeholder="请输入采样点" />
  1252. </el-form-item>
  1253. <el-form-item label="采样日期" prop="sampleDate">
  1254. <el-date-picker clearable size="small" style="width: 200px"
  1255. v-model="formS3004.sampleDate"
  1256. type="date"
  1257. value-format="yyyy-MM-dd"
  1258. placeholder="选择采样日期">
  1259. </el-date-picker>
  1260. </el-form-item>
  1261. <el-form-item label="样品名称" prop="sampleName">
  1262. <el-input v-model="formS3004.sampleName" placeholder="请输入样品名称" />
  1263. </el-form-item>
  1264. <el-form-item label="氢氧化钠" prop="naOh">
  1265. <el-input v-model="formS3004.naOh" placeholder="请输入氢氧化钠" />
  1266. </el-form-item>
  1267. <el-form-item label="碳酸钠" prop="na2Co3">
  1268. <el-input v-model="formS3004.na2Co3" placeholder="请输入碳酸钠" />
  1269. </el-form-item>
  1270. <el-form-item label="硫化钠" prop="na2S">
  1271. <el-input v-model="formS3004.na2S" placeholder="请输入硫化钠" />
  1272. </el-form-item>
  1273. <el-form-item label="归属部门" prop="deptId">
  1274. <treeselect v-model="formS3004.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1275. </el-form-item>
  1276. </el-form>
  1277. <div slot="footer" class="dialog-footer">
  1278. <el-button type="primary" @click="submitForm">确 定</el-button>
  1279. <el-button @click="cancel">取 消</el-button>
  1280. </div>
  1281. </el-dialog>
  1282. <!-- 添加或修改质量月报S3009对话框 -->
  1283. <el-dialog :title="title" :visible.sync="openS3009" width="500px" append-to-body>
  1284. <el-form ref="formS3009" :model="formS3009" label-width="80px">
  1285. <el-form-item label="装置名称" prop="locationName">
  1286. <el-input v-model="formS3009.locationName" placeholder="请输入装置名称" />
  1287. </el-form-item>
  1288. <el-form-item label="采样点" prop="samplePoint">
  1289. <el-input v-model="formS3009.samplePoint" placeholder="请输入采样点" />
  1290. </el-form-item>
  1291. <el-form-item label="采样日期" prop="sampleDate">
  1292. <el-date-picker clearable size="small" style="width: 200px"
  1293. v-model="formS3009.sampleDate"
  1294. type="date"
  1295. value-format="yyyy-MM-dd"
  1296. placeholder="选择采样日期">
  1297. </el-date-picker>
  1298. </el-form-item>
  1299. <el-form-item label="样品名称" prop="sampleName">
  1300. <el-input v-model="formS3009.sampleName" placeholder="请输入样品名称" />
  1301. </el-form-item>
  1302. <el-form-item label="一氧化碳含量" prop="carbonMonoxide">
  1303. <el-input v-model="formS3009.carbonMonoxide" placeholder="请输入一氧化碳含量" />
  1304. </el-form-item>
  1305. <el-form-item label="甲烷" prop="methane">
  1306. <el-input v-model="formS3009.methane" placeholder="请输入甲烷" />
  1307. </el-form-item>
  1308. <el-form-item label="乙烷" prop="ethane">
  1309. <el-input v-model="formS3009.ethane" placeholder="请输入乙烷" />
  1310. </el-form-item>
  1311. <el-form-item label="乙烯" prop="ethylene">
  1312. <el-input v-model="formS3009.ethylene" placeholder="请输入乙烯" />
  1313. </el-form-item>
  1314. <el-form-item label="丙烷" prop="propane">
  1315. <el-input v-model="formS3009.propane" placeholder="请输入丙烷" />
  1316. </el-form-item>
  1317. <el-form-item label="环丙烷" prop="cycPropane">
  1318. <el-input v-model="formS3009.cycPropane" placeholder="请输入环丙烷" />
  1319. </el-form-item>
  1320. <el-form-item label="丙烯" prop="propylene">
  1321. <el-input v-model="formS3009.propylene" placeholder="请输入丙烯" />
  1322. </el-form-item>
  1323. <el-form-item label="丙二烯" prop="propadiene">
  1324. <el-input v-model="formS3009.propadiene" placeholder="请输入丙二烯" />
  1325. </el-form-item>
  1326. <el-form-item label="乙炔" prop="acetylene">
  1327. <el-input v-model="formS3009.acetylene" placeholder="请输入乙炔" />
  1328. </el-form-item>
  1329. <el-form-item label="氢气" prop="hydrogen">
  1330. <el-input v-model="formS3009.hydrogen" placeholder="请输入氢气" />
  1331. </el-form-item>
  1332. <el-form-item label="归属部门" prop="deptId">
  1333. <treeselect v-model="formS3009.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1334. </el-form-item>
  1335. </el-form>
  1336. <div slot="footer" class="dialog-footer">
  1337. <el-button type="primary" @click="submitForm">确 定</el-button>
  1338. <el-button @click="cancel">取 消</el-button>
  1339. </div>
  1340. </el-dialog>
  1341. <!-- 添加或修改质量月报S3010对话框 -->
  1342. <el-dialog :title="title" :visible.sync="openS3010" width="500px" append-to-body>
  1343. <el-form ref="formS3010" :model="formS3010" label-width="80px">
  1344. <el-form-item label="装置名称" prop="locationName">
  1345. <el-input v-model="formS3010.locationName" placeholder="请输入装置名称" />
  1346. </el-form-item>
  1347. <el-form-item label="采样点" prop="samplePoint">
  1348. <el-input v-model="formS3010.samplePoint" placeholder="请输入采样点" />
  1349. </el-form-item>
  1350. <el-form-item label="采样日期" prop="sampleDate">
  1351. <el-date-picker clearable size="small" style="width: 200px"
  1352. v-model="formS3010.sampleDate"
  1353. type="date"
  1354. value-format="yyyy-MM-dd"
  1355. placeholder="选择采样日期">
  1356. </el-date-picker>
  1357. </el-form-item>
  1358. <el-form-item label="样品名称" prop="sampleName">
  1359. <el-input v-model="formS3010.sampleName" placeholder="请输入样品名称" />
  1360. </el-form-item>
  1361. <el-form-item label="乙炔含量 " prop="acetylene">
  1362. <el-input v-model="formS3010.acetylene" placeholder="请输入乙炔含量 " />
  1363. </el-form-item>
  1364. <el-form-item label="一氧化碳含量" prop="carbonMonoxide">
  1365. <el-input v-model="formS3010.carbonMonoxide" placeholder="请输入一氧化碳含量" />
  1366. </el-form-item>
  1367. <el-form-item label="甲烷 " prop="methane">
  1368. <el-input v-model="formS3010.methane" placeholder="请输入甲烷 " />
  1369. </el-form-item>
  1370. <el-form-item label="乙烷" prop="ethane">
  1371. <el-input v-model="formS3010.ethane" placeholder="请输入乙烷" />
  1372. </el-form-item>
  1373. <el-form-item label="乙烯" prop="ethylene">
  1374. <el-input v-model="formS3010.ethylene" placeholder="请输入乙烯" />
  1375. </el-form-item>
  1376. <el-form-item label="丙烷 " prop="propane">
  1377. <el-input v-model="formS3010.propane" placeholder="请输入丙烷 " />
  1378. </el-form-item>
  1379. <el-form-item label="环丙烷 " prop="cycPropane">
  1380. <el-input v-model="formS3010.cycPropane" placeholder="请输入环丙烷 " />
  1381. </el-form-item>
  1382. <el-form-item label="丙烯 " prop="propylene">
  1383. <el-input v-model="formS3010.propylene" placeholder="请输入丙烯 " />
  1384. </el-form-item>
  1385. <el-form-item label="丙二烯 " prop="propadiene">
  1386. <el-input v-model="formS3010.propadiene" placeholder="请输入丙二烯 " />
  1387. </el-form-item>
  1388. <el-form-item label="氢气" prop="hydrogen">
  1389. <el-input v-model="formS3010.hydrogen" placeholder="请输入氢气" />
  1390. </el-form-item>
  1391. <el-form-item label="归属部门" prop="deptId">
  1392. <treeselect v-model="formS3010.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1393. </el-form-item>
  1394. </el-form>
  1395. <div slot="footer" class="dialog-footer">
  1396. <el-button type="primary" @click="submitForm">确 定</el-button>
  1397. <el-button @click="cancel">取 消</el-button>
  1398. </div>
  1399. </el-dialog>
  1400. <!-- 添加或修改质量月报S3011对话框 -->
  1401. <el-dialog :title="title" :visible.sync="openS3011" width="500px" append-to-body>
  1402. <el-form ref="formS3011" :model="formS3011" label-width="80px">
  1403. <el-form-item label="装置名称" prop="locationName">
  1404. <el-input v-model="formS3011.locationName" placeholder="请输入装置名称" />
  1405. </el-form-item>
  1406. <el-form-item label="采样点" prop="samplePoint">
  1407. <el-input v-model="formS3011.samplePoint" placeholder="请输入采样点" />
  1408. </el-form-item>
  1409. <el-form-item label="采样日期" prop="sampleDate">
  1410. <el-date-picker clearable size="small" style="width: 200px"
  1411. v-model="formS3011.sampleDate"
  1412. type="date"
  1413. value-format="yyyy-MM-dd"
  1414. placeholder="选择采样日期">
  1415. </el-date-picker>
  1416. </el-form-item>
  1417. <el-form-item label="样品名称" prop="sampleName">
  1418. <el-input v-model="formS3011.sampleName" placeholder="请输入样品名称" />
  1419. </el-form-item>
  1420. <el-form-item label="一氧化碳含量" prop="carbonMonoxide">
  1421. <el-input v-model="formS3011.carbonMonoxide" placeholder="请输入一氧化碳含量" />
  1422. </el-form-item>
  1423. <el-form-item label="甲烷 " prop="methane">
  1424. <el-input v-model="formS3011.methane" placeholder="请输入甲烷 " />
  1425. </el-form-item>
  1426. <el-form-item label="乙烷" prop="ethane">
  1427. <el-input v-model="formS3011.ethane" placeholder="请输入乙烷" />
  1428. </el-form-item>
  1429. <el-form-item label="乙烯" prop="ethylene">
  1430. <el-input v-model="formS3011.ethylene" placeholder="请输入乙烯" />
  1431. </el-form-item>
  1432. <el-form-item label="丙烷 " prop="propane">
  1433. <el-input v-model="formS3011.propane" placeholder="请输入丙烷 " />
  1434. </el-form-item>
  1435. <el-form-item label="环丙烷 " prop="cycPropane">
  1436. <el-input v-model="formS3011.cycPropane" placeholder="请输入环丙烷 " />
  1437. </el-form-item>
  1438. <el-form-item label="丙烯 " prop="propylene">
  1439. <el-input v-model="formS3011.propylene" placeholder="请输入丙烯 " />
  1440. </el-form-item>
  1441. <el-form-item label="丙二烯 " prop="propadiene">
  1442. <el-input v-model="formS3011.propadiene" placeholder="请输入丙二烯 " />
  1443. </el-form-item>
  1444. <el-form-item label="乙炔" prop="acetylene">
  1445. <el-input v-model="formS3011.acetylene" placeholder="请输入乙炔" />
  1446. </el-form-item>
  1447. <el-form-item label="氢气" prop="hydrogen">
  1448. <el-input v-model="formS3011.hydrogen" placeholder="请输入氢气" />
  1449. </el-form-item>
  1450. <el-form-item label="归属部门" prop="deptId">
  1451. <treeselect v-model="formS3011.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1452. </el-form-item>
  1453. </el-form>
  1454. <div slot="footer" class="dialog-footer">
  1455. <el-button type="primary" @click="submitForm">确 定</el-button>
  1456. <el-button @click="cancel">取 消</el-button>
  1457. </div>
  1458. </el-dialog>
  1459. <!-- 添加或修改质量月报S3012对话框 -->
  1460. <el-dialog :title="title" :visible.sync="openS3012" width="500px" append-to-body>
  1461. <el-form ref="formS3012" :model="formS3012" label-width="80px">
  1462. <el-form-item label="装置名称" prop="locationName">
  1463. <el-input v-model="formS3012.locationName" placeholder="请输入装置名称" />
  1464. </el-form-item>
  1465. <el-form-item label="采样点" prop="samplePoint">
  1466. <el-input v-model="formS3012.samplePoint" placeholder="请输入采样点" />
  1467. </el-form-item>
  1468. <el-form-item label="采样日期" prop="sampleDate">
  1469. <el-date-picker clearable size="small" style="width: 200px"
  1470. v-model="formS3012.sampleDate"
  1471. type="date"
  1472. value-format="yyyy-MM-dd"
  1473. placeholder="选择采样日期">
  1474. </el-date-picker>
  1475. </el-form-item>
  1476. <el-form-item label="样品名称" prop="sampleName">
  1477. <el-input v-model="formS3012.sampleName" placeholder="请输入样品名称" />
  1478. </el-form-item>
  1479. <el-form-item label="乙炔含量" prop="acetylene">
  1480. <el-input v-model="formS3012.acetylene" placeholder="请输入乙炔含量" />
  1481. </el-form-item>
  1482. <el-form-item label="一氧化碳含量" prop="carbonMonoxide">
  1483. <el-input v-model="formS3012.carbonMonoxide" placeholder="请输入一氧化碳含量" />
  1484. </el-form-item>
  1485. <el-form-item label="甲烷" prop="methane">
  1486. <el-input v-model="formS3012.methane" placeholder="请输入甲烷" />
  1487. </el-form-item>
  1488. <el-form-item label="乙烷" prop="ethane">
  1489. <el-input v-model="formS3012.ethane" placeholder="请输入乙烷" />
  1490. </el-form-item>
  1491. <el-form-item label="乙烯" prop="ethylene">
  1492. <el-input v-model="formS3012.ethylene" placeholder="请输入乙烯" />
  1493. </el-form-item>
  1494. <el-form-item label="丙烷" prop="propane">
  1495. <el-input v-model="formS3012.propane" placeholder="请输入丙烷" />
  1496. </el-form-item>
  1497. <el-form-item label="环丙烷" prop="cycPropane">
  1498. <el-input v-model="formS3012.cycPropane" placeholder="请输入环丙烷" />
  1499. </el-form-item>
  1500. <el-form-item label="丙烯" prop="propylene">
  1501. <el-input v-model="formS3012.propylene" placeholder="请输入丙烯" />
  1502. </el-form-item>
  1503. <el-form-item label="丙二烯" prop="propadiene">
  1504. <el-input v-model="formS3012.propadiene" placeholder="请输入丙二烯" />
  1505. </el-form-item>
  1506. <el-form-item label="氢气" prop="hydrogen">
  1507. <el-input v-model="formS3012.hydrogen" placeholder="请输入氢气" />
  1508. </el-form-item>
  1509. <el-form-item label="归属部门" prop="deptId">
  1510. <treeselect v-model="formS3012.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1511. </el-form-item>
  1512. </el-form>
  1513. <div slot="footer" class="dialog-footer">
  1514. <el-button type="primary" @click="submitForm">确 定</el-button>
  1515. <el-button @click="cancel">取 消</el-button>
  1516. </div>
  1517. </el-dialog>
  1518. <!-- 添加或修改质量月报S3022对话框 -->
  1519. <el-dialog :title="title" :visible.sync="openS3022" width="500px" append-to-body>
  1520. <el-form ref="formS3022" :model="formS3022" label-width="80px">
  1521. <el-form-item label="装置名称" prop="locationName">
  1522. <el-input v-model="formS3022.locationName" placeholder="请输入装置名称" />
  1523. </el-form-item>
  1524. <el-form-item label="采样点" prop="samplePoint">
  1525. <el-input v-model="formS3022.samplePoint" placeholder="请输入采样点" />
  1526. </el-form-item>
  1527. <el-form-item label="采样日期" prop="sampleDate">
  1528. <el-date-picker clearable size="small" style="width: 200px"
  1529. v-model="formS3022.sampleDate"
  1530. type="date"
  1531. value-format="yyyy-MM-dd"
  1532. placeholder="选择采样日期">
  1533. </el-date-picker>
  1534. </el-form-item>
  1535. <el-form-item label="样品名称" prop="sampleName">
  1536. <el-input v-model="formS3022.sampleName" placeholder="请输入样品名称" />
  1537. </el-form-item>
  1538. <el-form-item label="氢氧化钠" prop="naoh">
  1539. <el-input v-model="formS3022.naoh" placeholder="请输入氢氧化钠" />
  1540. </el-form-item>
  1541. <el-form-item label="碳酸钠" prop="na2co3">
  1542. <el-input v-model="formS3022.na2co3" placeholder="请输入碳酸钠" />
  1543. </el-form-item>
  1544. <el-form-item label="硫化钠" prop="na2s">
  1545. <el-input v-model="formS3022.na2s" placeholder="请输入硫化钠" />
  1546. </el-form-item>
  1547. <el-form-item label="归属部门" prop="deptId">
  1548. <treeselect v-model="formS3022.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1549. </el-form-item>
  1550. </el-form>
  1551. <div slot="footer" class="dialog-footer">
  1552. <el-button type="primary" @click="submitForm">确 定</el-button>
  1553. <el-button @click="cancel">取 消</el-button>
  1554. </div>
  1555. </el-dialog>
  1556. <!-- 添加或修改质量月报S4012对话框 -->
  1557. <el-dialog :title="title" :visible.sync="openS4012" width="500px" append-to-body>
  1558. <el-form ref="formS4012" :model="formS4012" label-width="80px">
  1559. <el-form-item label="装置名称" prop="locationName">
  1560. <el-input v-model="formS4012.locationName" placeholder="请输入装置名称" />
  1561. </el-form-item>
  1562. <el-form-item label="采样点" prop="samplePoint">
  1563. <el-input v-model="formS4012.samplePoint" placeholder="请输入采样点" />
  1564. </el-form-item>
  1565. <el-form-item label="采样日期" prop="sampleDate">
  1566. <el-date-picker clearable size="small" style="width: 200px"
  1567. v-model="formS4012.sampleDate"
  1568. type="date"
  1569. value-format="yyyy-MM-dd"
  1570. placeholder="选择采样日期">
  1571. </el-date-picker>
  1572. </el-form-item>
  1573. <el-form-item label="样品名称" prop="sampleName">
  1574. <el-input v-model="formS4012.sampleName" placeholder="请输入样品名称" />
  1575. </el-form-item>
  1576. <el-form-item label="甲烷" prop="methane">
  1577. <el-input v-model="formS4012.methane" placeholder="请输入甲烷" />
  1578. </el-form-item>
  1579. <el-form-item label="乙烷" prop="ethane">
  1580. <el-input v-model="formS4012.ethane" placeholder="请输入乙烷" />
  1581. </el-form-item>
  1582. <el-form-item label="乙烯" prop="ethylene">
  1583. <el-input v-model="formS4012.ethylene" placeholder="请输入乙烯" />
  1584. </el-form-item>
  1585. <el-form-item label="丙烷" prop="propane">
  1586. <el-input v-model="formS4012.propane" placeholder="请输入丙烷" />
  1587. </el-form-item>
  1588. <el-form-item label="丙烯" prop="propylene">
  1589. <el-input v-model="formS4012.propylene" placeholder="请输入丙烯" />
  1590. </el-form-item>
  1591. <el-form-item label="归属部门" prop="deptId">
  1592. <treeselect v-model="formS4012.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1593. </el-form-item>
  1594. </el-form>
  1595. <div slot="footer" class="dialog-footer">
  1596. <el-button type="primary" @click="submitForm">确 定</el-button>
  1597. <el-button @click="cancel">取 消</el-button>
  1598. </div>
  1599. </el-dialog>
  1600. <!-- 添加或修改质量月报S4013对话框 -->
  1601. <el-dialog :title="title" :visible.sync="openS4013" width="500px" append-to-body>
  1602. <el-form ref="formS4013" :model="formS4013" label-width="80px">
  1603. <el-form-item label="装置名称" prop="locationName">
  1604. <el-input v-model="formS4013.locationName" placeholder="请输入装置名称" />
  1605. </el-form-item>
  1606. <el-form-item label="采样点" prop="samplePoint">
  1607. <el-input v-model="formS4013.samplePoint" placeholder="请输入采样点" />
  1608. </el-form-item>
  1609. <el-form-item label="采样日期" prop="sampleDate">
  1610. <el-date-picker clearable size="small" style="width: 200px"
  1611. v-model="formS4013.sampleDate"
  1612. type="date"
  1613. value-format="yyyy-MM-dd"
  1614. placeholder="选择采样日期">
  1615. </el-date-picker>
  1616. </el-form-item>
  1617. <el-form-item label="样品名称" prop="sampleName">
  1618. <el-input v-model="formS4013.sampleName" placeholder="请输入样品名称" />
  1619. </el-form-item>
  1620. <el-form-item label="乙烷" prop="ethane">
  1621. <el-input v-model="formS4013.ethane" placeholder="请输入乙烷" />
  1622. </el-form-item>
  1623. <el-form-item label="甲烷和乙烷含量" prop="methaneEthane">
  1624. <el-input v-model="formS4013.methaneEthane" placeholder="请输入甲烷和乙烷含量" />
  1625. </el-form-item>
  1626. <el-form-item label="乙烯含量" prop="ethylene">
  1627. <el-input v-model="formS4013.ethylene" placeholder="请输入乙烯含量" />
  1628. </el-form-item>
  1629. <el-form-item label="乙炔含量" prop="acetylene">
  1630. <el-input v-model="formS4013.acetylene" placeholder="请输入乙炔含量" />
  1631. </el-form-item>
  1632. <el-form-item label="一氧化碳含量" prop="carbonMonoxide">
  1633. <el-input v-model="formS4013.carbonMonoxide" placeholder="请输入一氧化碳含量" />
  1634. </el-form-item>
  1635. <el-form-item label="二氧化碳含量" prop="carbonDioxide">
  1636. <el-input v-model="formS4013.carbonDioxide" placeholder="请输入二氧化碳含量" />
  1637. </el-form-item>
  1638. <el-form-item label="归属部门" prop="deptId">
  1639. <treeselect v-model="formS4013.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1640. </el-form-item>
  1641. </el-form>
  1642. <div slot="footer" class="dialog-footer">
  1643. <el-button type="primary" @click="submitForm">确 定</el-button>
  1644. <el-button @click="cancel">取 消</el-button>
  1645. </div>
  1646. </el-dialog>
  1647. <!-- 添加或修改质量月报S4501对话框 -->
  1648. <el-dialog :title="title" :visible.sync="openS4501" width="500px" append-to-body>
  1649. <el-form ref="formS4501" :model="formS4501" label-width="80px">
  1650. <el-form-item label="装置名称" prop="locationName">
  1651. <el-input v-model="formS4501.locationName" placeholder="请输入装置名称" />
  1652. </el-form-item>
  1653. <el-form-item label="采样点" prop="samplePoint">
  1654. <el-input v-model="formS4501.samplePoint" placeholder="请输入采样点" />
  1655. </el-form-item>
  1656. <el-form-item label="采样日期" prop="sampleDate">
  1657. <el-date-picker clearable size="small" style="width: 200px"
  1658. v-model="formS4501.sampleDate"
  1659. type="date"
  1660. value-format="yyyy-MM-dd"
  1661. placeholder="选择采样日期">
  1662. </el-date-picker>
  1663. </el-form-item>
  1664. <el-form-item label="样品名称" prop="sampleName">
  1665. <el-input v-model="formS4501.sampleName" placeholder="请输入样品名称" />
  1666. </el-form-item>
  1667. <el-form-item label="苯" prop="benzene">
  1668. <el-input v-model="formS4501.benzene" placeholder="请输入苯" />
  1669. </el-form-item>
  1670. <el-form-item label="甲苯" prop="toluene">
  1671. <el-input v-model="formS4501.toluene" placeholder="请输入甲苯" />
  1672. </el-form-item>
  1673. <el-form-item label="乙苯" prop="ethylbenzene">
  1674. <el-input v-model="formS4501.ethylbenzene" placeholder="请输入乙苯" />
  1675. </el-form-item>
  1676. <el-form-item label="间-二甲苯" prop="mXylene">
  1677. <el-input v-model="formS4501.mXylene" placeholder="请输入间-二甲苯" />
  1678. </el-form-item>
  1679. <el-form-item label="邻-二甲苯" prop="oXylene">
  1680. <el-input v-model="formS4501.oXylene" placeholder="请输入邻-二甲苯" />
  1681. </el-form-item>
  1682. <el-form-item label="对-二甲苯" prop="pXylene">
  1683. <el-input v-model="formS4501.pXylene" placeholder="请输入对-二甲苯" />
  1684. </el-form-item>
  1685. <el-form-item label="C5 非芳烃" prop="c5Na">
  1686. <el-input v-model="formS4501.c5Na" placeholder="请输入C5 非芳烃" />
  1687. </el-form-item>
  1688. <el-form-item label="C6 非芳烃" prop="c6Na">
  1689. <el-input v-model="formS4501.c6Na" placeholder="请输入C6 非芳烃" />
  1690. </el-form-item>
  1691. <el-form-item label="C7 非芳烃" prop="c7Na">
  1692. <el-input v-model="formS4501.c7Na" placeholder="请输入C7 非芳烃" />
  1693. </el-form-item>
  1694. <el-form-item label="C8 非芳烃" prop="c8Na">
  1695. <el-input v-model="formS4501.c8Na" placeholder="请输入C8 非芳烃" />
  1696. </el-form-item>
  1697. <el-form-item label="C9以上" prop="c9">
  1698. <el-input v-model="formS4501.c9" placeholder="请输入C9以上" />
  1699. </el-form-item>
  1700. <el-form-item label="C8 芳烃" prop="c8A">
  1701. <el-input v-model="formS4501.c8A" placeholder="请输入C8 芳烃" />
  1702. </el-form-item>
  1703. <el-form-item label="C4 -C5 非芳烃" prop="c4C5Na">
  1704. <el-input v-model="formS4501.c4C5Na" placeholder="请输入C4 -C5 非芳烃" />
  1705. </el-form-item>
  1706. <el-form-item label="C6 -C8 非芳烃" prop="c6C8Na">
  1707. <el-input v-model="formS4501.c6C8Na" placeholder="请输入C6 -C8 非芳烃" />
  1708. </el-form-item>
  1709. <el-form-item label="C4-C8非芳烃" prop="c4C8Na">
  1710. <el-input v-model="formS4501.c4C8Na" placeholder="请输入C4-C8非芳烃" />
  1711. </el-form-item>
  1712. <el-form-item label="归属部门" prop="deptId">
  1713. <treeselect v-model="formS4501.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1714. </el-form-item>
  1715. </el-form>
  1716. <div slot="footer" class="dialog-footer">
  1717. <el-button type="primary" @click="submitForm">确 定</el-button>
  1718. <el-button @click="cancel">取 消</el-button>
  1719. </div>
  1720. </el-dialog>
  1721. <!-- 添加或修改质量月报S5001对话框 -->
  1722. <el-dialog :title="title" :visible.sync="openS5001" width="500px" append-to-body>
  1723. <el-form ref="formS5001" :model="formS5001" label-width="80px">
  1724. <el-form-item label="装置名称" prop="locationName">
  1725. <el-input v-model="formS5001.locationName" placeholder="请输入装置名称" />
  1726. </el-form-item>
  1727. <el-form-item label="采样点" prop="samplePoint">
  1728. <el-input v-model="formS5001.samplePoint" placeholder="请输入采样点" />
  1729. </el-form-item>
  1730. <el-form-item label="采样日期" prop="sampleDate">
  1731. <el-date-picker clearable size="small" style="width: 200px"
  1732. v-model="formS5001.sampleDate"
  1733. type="date"
  1734. value-format="yyyy-MM-dd"
  1735. placeholder="选择采样日期">
  1736. </el-date-picker>
  1737. </el-form-item>
  1738. <el-form-item label="样品名称" prop="sampleName">
  1739. <el-input v-model="formS5001.sampleName" placeholder="请输入样品名称" />
  1740. </el-form-item>
  1741. <el-form-item label="丙烷" prop="propane">
  1742. <el-input v-model="formS5001.propane" placeholder="请输入丙烷" />
  1743. </el-form-item>
  1744. <el-form-item label="环丙烷" prop="cycPropane">
  1745. <el-input v-model="formS5001.cycPropane" placeholder="请输入环丙烷" />
  1746. </el-form-item>
  1747. <el-form-item label="丙烯" prop="propylene">
  1748. <el-input v-model="formS5001.propylene" placeholder="请输入丙烯" />
  1749. </el-form-item>
  1750. <el-form-item label="丙二烯" prop="propadiene">
  1751. <el-input v-model="formS5001.propadiene" placeholder="请输入丙二烯" />
  1752. </el-form-item>
  1753. <el-form-item label="甲基乙炔" prop="methylacetylene">
  1754. <el-input v-model="formS5001.methylacetylene" placeholder="请输入甲基乙炔" />
  1755. </el-form-item>
  1756. <el-form-item label="归属部门" prop="deptId">
  1757. <treeselect v-model="formS5001.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1758. </el-form-item>
  1759. </el-form>
  1760. <div slot="footer" class="dialog-footer">
  1761. <el-button type="primary" @click="submitForm">确 定</el-button>
  1762. <el-button @click="cancel">取 消</el-button>
  1763. </div>
  1764. </el-dialog>
  1765. <!-- 添加或修改质量月报S5003对话框 -->
  1766. <el-dialog :title="title" :visible.sync="openS5003" width="500px" append-to-body>
  1767. <el-form ref="formS5003" :model="formS5003" label-width="80px">
  1768. <el-form-item label="装置名称" prop="locationName">
  1769. <el-input v-model="formS5003.locationName" placeholder="请输入装置名称" />
  1770. </el-form-item>
  1771. <el-form-item label="采样点" prop="samplePoint">
  1772. <el-input v-model="formS5003.samplePoint" placeholder="请输入采样点" />
  1773. </el-form-item>
  1774. <el-form-item label="采样日期" prop="sampleDate">
  1775. <el-date-picker clearable size="small" style="width: 200px"
  1776. v-model="formS5003.sampleDate"
  1777. type="date"
  1778. value-format="yyyy-MM-dd"
  1779. placeholder="选择采样日期">
  1780. </el-date-picker>
  1781. </el-form-item>
  1782. <el-form-item label="样品名称" prop="sampleName">
  1783. <el-input v-model="formS5003.sampleName" placeholder="请输入样品名称" />
  1784. </el-form-item>
  1785. <el-form-item label="甲烷" prop="methane">
  1786. <el-input v-model="formS5003.methane" placeholder="请输入甲烷" />
  1787. </el-form-item>
  1788. <el-form-item label="乙烷" prop="ethane">
  1789. <el-input v-model="formS5003.ethane" placeholder="请输入乙烷" />
  1790. </el-form-item>
  1791. <el-form-item label="乙烯含量" prop="ethylene">
  1792. <el-input v-model="formS5003.ethylene" placeholder="请输入乙烯含量" />
  1793. </el-form-item>
  1794. <el-form-item label="丙烷" prop="propane">
  1795. <el-input v-model="formS5003.propane" placeholder="请输入丙烷" />
  1796. </el-form-item>
  1797. <el-form-item label="丙二烯" prop="propadiene">
  1798. <el-input v-model="formS5003.propadiene" placeholder="请输入丙二烯" />
  1799. </el-form-item>
  1800. <el-form-item label="甲基乙炔" prop="methylacetylene">
  1801. <el-input v-model="formS5003.methylacetylene" placeholder="请输入甲基乙炔" />
  1802. </el-form-item>
  1803. <el-form-item label="丁烯+1,3-丁二烯" prop="buteneButadiene">
  1804. <el-input v-model="formS5003.buteneButadiene" placeholder="请输入丁烯+1,3-丁二烯" />
  1805. </el-form-item>
  1806. <el-form-item label="丙二烯和甲基乙炔含量" prop="propadieneMethylacetylene">
  1807. <el-input v-model="formS5003.propadieneMethylacetylene" placeholder="请输入丙二烯和甲基乙炔含量" />
  1808. </el-form-item>
  1809. <el-form-item label="总量" prop="totals">
  1810. <el-input v-model="formS5003.totals" placeholder="请输入总量" />
  1811. </el-form-item>
  1812. <el-form-item label="烷烃含量" prop="paraffine">
  1813. <el-input v-model="formS5003.paraffine" placeholder="请输入烷烃含量" />
  1814. </el-form-item>
  1815. <el-form-item label="丙烯含量" prop="propylene">
  1816. <el-input v-model="formS5003.propylene" placeholder="请输入丙烯含量" />
  1817. </el-form-item>
  1818. <el-form-item label="甲醇含量" prop="methanol">
  1819. <el-input v-model="formS5003.methanol" placeholder="请输入甲醇含量" />
  1820. </el-form-item>
  1821. <el-form-item label="归属部门" prop="deptId">
  1822. <treeselect v-model="formS5003.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1823. </el-form-item>
  1824. </el-form>
  1825. <div slot="footer" class="dialog-footer">
  1826. <el-button type="primary" @click="submitForm">确 定</el-button>
  1827. <el-button @click="cancel">取 消</el-button>
  1828. </div>
  1829. </el-dialog>
  1830. <!-- 添加或修改质量月报S5010对话框 -->
  1831. <el-dialog :title="title" :visible.sync="openS5010" width="500px" append-to-body>
  1832. <el-form ref="formS5010" :model="formS5010" label-width="80px">
  1833. <el-form-item label="装置名称" prop="locationName">
  1834. <el-input v-model="formS5010.locationName" placeholder="请输入装置名称" />
  1835. </el-form-item>
  1836. <el-form-item label="采样点" prop="samplePoint">
  1837. <el-input v-model="formS5010.samplePoint" placeholder="请输入采样点" />
  1838. </el-form-item>
  1839. <el-form-item label="采样日期" prop="sampleDate">
  1840. <el-date-picker clearable size="small" style="width: 200px"
  1841. v-model="formS5010.sampleDate"
  1842. type="date"
  1843. value-format="yyyy-MM-dd"
  1844. placeholder="选择采样日期">
  1845. </el-date-picker>
  1846. </el-form-item>
  1847. <el-form-item label="样品名称" prop="sampleName">
  1848. <el-input v-model="formS5010.sampleName" placeholder="请输入样品名称" />
  1849. </el-form-item>
  1850. <el-form-item label="丙烯" prop="propylene">
  1851. <el-input v-model="formS5010.propylene" placeholder="请输入丙烯" />
  1852. </el-form-item>
  1853. <el-form-item label="丙二烯" prop="propadiene">
  1854. <el-input v-model="formS5010.propadiene" placeholder="请输入丙二烯" />
  1855. </el-form-item>
  1856. <el-form-item label="乙炔" prop="acetylene">
  1857. <el-input v-model="formS5010.acetylene" placeholder="请输入乙炔" />
  1858. </el-form-item>
  1859. <el-form-item label="1,2-丁二烯" prop="butadiene12">
  1860. <el-input v-model="formS5010.butadiene12" placeholder="请输入1,2-丁二烯" />
  1861. </el-form-item>
  1862. <el-form-item label="1,3-丁二烯" prop="butadiene13">
  1863. <el-input v-model="formS5010.butadiene13" placeholder="请输入1,3-丁二烯" />
  1864. </el-form-item>
  1865. <el-form-item label="甲基乙炔" prop="methylacetylene">
  1866. <el-input v-model="formS5010.methylacetylene" placeholder="请输入甲基乙炔" />
  1867. </el-form-item>
  1868. <el-form-item label="归属部门" prop="deptId">
  1869. <treeselect v-model="formS5010.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1870. </el-form-item>
  1871. </el-form>
  1872. <div slot="footer" class="dialog-footer">
  1873. <el-button type="primary" @click="submitForm">确 定</el-button>
  1874. <el-button @click="cancel">取 消</el-button>
  1875. </div>
  1876. </el-dialog>
  1877. <!-- 添加或修改质量月报S5012对话框 -->
  1878. <el-dialog :title="title" :visible.sync="openS5012" width="500px" append-to-body>
  1879. <el-form ref="formS5012" :model="formS5012" label-width="80px">
  1880. <el-form-item label="装置名称" prop="locationName">
  1881. <el-input v-model="formS5012.locationName" placeholder="请输入装置名称" />
  1882. </el-form-item>
  1883. <el-form-item label="采样点" prop="samplePoint">
  1884. <el-input v-model="formS5012.samplePoint" placeholder="请输入采样点" />
  1885. </el-form-item>
  1886. <el-form-item label="采样日期" prop="sampleDate">
  1887. <el-date-picker clearable size="small" style="width: 200px"
  1888. v-model="formS5012.sampleDate"
  1889. type="date"
  1890. value-format="yyyy-MM-dd"
  1891. placeholder="选择采样日期">
  1892. </el-date-picker>
  1893. </el-form-item>
  1894. <el-form-item label="样品名称" prop="sampleName">
  1895. <el-input v-model="formS5012.sampleName" placeholder="请输入样品名称" />
  1896. </el-form-item>
  1897. <el-form-item label="丙烯" prop="propylene">
  1898. <el-input v-model="formS5012.propylene" placeholder="请输入丙烯" />
  1899. </el-form-item>
  1900. <el-form-item label="丙二烯" prop="propadiene">
  1901. <el-input v-model="formS5012.propadiene" placeholder="请输入丙二烯" />
  1902. </el-form-item>
  1903. <el-form-item label="乙炔" prop="acetylene">
  1904. <el-input v-model="formS5012.acetylene" placeholder="请输入乙炔" />
  1905. </el-form-item>
  1906. <el-form-item label="1,2-丁二烯" prop="butadiene12">
  1907. <el-input v-model="formS5012.butadiene12" placeholder="请输入1,2-丁二烯" />
  1908. </el-form-item>
  1909. <el-form-item label="1,3-丁二烯" prop="butadiene13">
  1910. <el-input v-model="formS5012.butadiene13" placeholder="请输入1,3-丁二烯" />
  1911. </el-form-item>
  1912. <el-form-item label="甲基乙炔" prop="methylacetylene">
  1913. <el-input v-model="formS5012.methylacetylene" placeholder="请输入甲基乙炔" />
  1914. </el-form-item>
  1915. <el-form-item label="归属部门" prop="deptId">
  1916. <treeselect v-model="formS5012.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  1917. </el-form-item>
  1918. </el-form>
  1919. <div slot="footer" class="dialog-footer">
  1920. <el-button type="primary" @click="submitForm">确 定</el-button>
  1921. <el-button @click="cancel">取 消</el-button>
  1922. </div>
  1923. </el-dialog>
  1924. <!-- 添加或修改质量月报S6101对话框 -->
  1925. <el-dialog :title="title" :visible.sync="openS6101" width="500px" append-to-body>
  1926. <el-form ref="formS6101" :model="formS6101" label-width="80px">
  1927. <el-form-item label="装置名称" prop="locationName">
  1928. <el-input v-model="formS6101.locationName" placeholder="请输入装置名称" />
  1929. </el-form-item>
  1930. <el-form-item label="采样点" prop="samplePoint">
  1931. <el-input v-model="formS6101.samplePoint" placeholder="请输入采样点" />
  1932. </el-form-item>
  1933. <el-form-item label="采样日期" prop="sampleDate">
  1934. <el-date-picker clearable size="small" style="width: 200px"
  1935. v-model="formS6101.sampleDate"
  1936. type="date"
  1937. value-format="yyyy-MM-dd"
  1938. placeholder="选择采样日期">
  1939. </el-date-picker>
  1940. </el-form-item>
  1941. <el-form-item label="样品名称" prop="sampleName">
  1942. <el-input v-model="formS6101.sampleName" placeholder="请输入样品名称" />
  1943. </el-form-item>
  1944. <el-form-item label="苯" prop="benzene">
  1945. <el-input v-model="formS6101.benzene" placeholder="请输入苯" />
  1946. </el-form-item>
  1947. <el-form-item label="甲苯" prop="toluene">
  1948. <el-input v-model="formS6101.toluene" placeholder="请输入甲苯" />
  1949. </el-form-item>
  1950. <el-form-item label="双环戊二烯" prop="dcpd">
  1951. <el-input v-model="formS6101.dcpd" placeholder="请输入双环戊二烯" />
  1952. </el-form-item>
  1953. <el-form-item label="乙苯" prop="ethylbenzene">
  1954. <el-input v-model="formS6101.ethylbenzene" placeholder="请输入乙苯" />
  1955. </el-form-item>
  1956. <el-form-item label="间-二甲苯" prop="mXylene">
  1957. <el-input v-model="formS6101.mXylene" placeholder="请输入间-二甲苯" />
  1958. </el-form-item>
  1959. <el-form-item label="邻-二甲苯" prop="oXylene">
  1960. <el-input v-model="formS6101.oXylene" placeholder="请输入邻-二甲苯" />
  1961. </el-form-item>
  1962. <el-form-item label="对-二甲苯" prop="pXylene">
  1963. <el-input v-model="formS6101.pXylene" placeholder="请输入对-二甲苯" />
  1964. </el-form-item>
  1965. <el-form-item label="苯乙烯" prop="styrene">
  1966. <el-input v-model="formS6101.styrene" placeholder="请输入苯乙烯" />
  1967. </el-form-item>
  1968. <el-form-item label="C5 非芳烃" prop="c5Na">
  1969. <el-input v-model="formS6101.c5Na" placeholder="请输入C5 非芳烃" />
  1970. </el-form-item>
  1971. <el-form-item label="C6 非芳烃" prop="c6Na">
  1972. <el-input v-model="formS6101.c6Na" placeholder="请输入C6 非芳烃" />
  1973. </el-form-item>
  1974. <el-form-item label="C7 非芳烃" prop="c7Na">
  1975. <el-input v-model="formS6101.c7Na" placeholder="请输入C7 非芳烃" />
  1976. </el-form-item>
  1977. <el-form-item label="C8 非芳烃" prop="c8Na">
  1978. <el-input v-model="formS6101.c8Na" placeholder="请输入C8 非芳烃" />
  1979. </el-form-item>
  1980. <el-form-item label="C9以上" prop="c9">
  1981. <el-input v-model="formS6101.c9" placeholder="请输入C9以上" />
  1982. </el-form-item>
  1983. <el-form-item label="C8 芳烃" prop="c8A">
  1984. <el-input v-model="formS6101.c8A" placeholder="请输入C8 芳烃" />
  1985. </el-form-item>
  1986. <el-form-item label="C4 -C5 非芳烃" prop="c4C5Na">
  1987. <el-input v-model="formS6101.c4C5Na" placeholder="请输入C4 -C5 非芳烃" />
  1988. </el-form-item>
  1989. <el-form-item label="C6 -C8 非芳烃" prop="c6C8Na">
  1990. <el-input v-model="formS6101.c6C8Na" placeholder="请输入C6 -C8 非芳烃" />
  1991. </el-form-item>
  1992. <el-form-item label="C4-C8非芳烃" prop="c4C8Na">
  1993. <el-input v-model="formS6101.c4C8Na" placeholder="请输入C4-C8非芳烃" />
  1994. </el-form-item>
  1995. <el-form-item label="密度" prop="density1">
  1996. <el-input v-model="formS6101.density1" placeholder="请输入密度" />
  1997. </el-form-item>
  1998. <el-form-item label="溴价" prop="brNumber">
  1999. <el-input v-model="formS6101.brNumber" placeholder="请输入溴价" />
  2000. </el-form-item>
  2001. <el-form-item label="总硫" prop="totalSulfur">
  2002. <el-input v-model="formS6101.totalSulfur" placeholder="请输入总硫" />
  2003. </el-form-item>
  2004. <el-form-item label="总氮" prop="totalNitrogen">
  2005. <el-input v-model="formS6101.totalNitrogen" placeholder="请输入总氮" />
  2006. </el-form-item>
  2007. <el-form-item label="归属部门" prop="deptId">
  2008. <treeselect v-model="formS6101.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  2009. </el-form-item>
  2010. </el-form>
  2011. <div slot="footer" class="dialog-footer">
  2012. <el-button type="primary" @click="submitForm">确 定</el-button>
  2013. <el-button @click="cancel">取 消</el-button>
  2014. </div>
  2015. </el-dialog>
  2016. <!-- 添加或修改质量月报S6107对话框 -->
  2017. <el-dialog :title="title" :visible.sync="openS6107" width="500px" append-to-body>
  2018. <el-form ref="formS6107" :model="formS6107" label-width="80px">
  2019. <el-form-item label="装置名称" prop="locationName">
  2020. <el-input v-model="formS6107.locationName" placeholder="请输入装置名称" />
  2021. </el-form-item>
  2022. <el-form-item label="采样点" prop="samplePoint">
  2023. <el-input v-model="formS6107.samplePoint" placeholder="请输入采样点" />
  2024. </el-form-item>
  2025. <el-form-item label="采样日期" prop="sampleDate">
  2026. <el-date-picker clearable size="small" style="width: 200px"
  2027. v-model="formS6107.sampleDate"
  2028. type="date"
  2029. value-format="yyyy-MM-dd"
  2030. placeholder="选择采样日期">
  2031. </el-date-picker>
  2032. </el-form-item>
  2033. <el-form-item label="样品名称" prop="sampleName">
  2034. <el-input v-model="formS6107.sampleName" placeholder="请输入样品名称" />
  2035. </el-form-item>
  2036. <el-form-item label="化学需氧量" prop="cod">
  2037. <el-input v-model="formS6107.cod" placeholder="请输入化学需氧量" />
  2038. </el-form-item>
  2039. <el-form-item label="pH值" prop="ph">
  2040. <el-input v-model="formS6107.ph" placeholder="请输入pH值" />
  2041. </el-form-item>
  2042. <el-form-item label="归属部门" prop="deptId">
  2043. <treeselect v-model="formS6107.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  2044. </el-form-item>
  2045. </el-form>
  2046. <div slot="footer" class="dialog-footer">
  2047. <el-button type="primary" @click="submitForm">确 定</el-button>
  2048. <el-button @click="cancel">取 消</el-button>
  2049. </div>
  2050. </el-dialog>
  2051. <!-- 添加或修改质量月报S6301对话框 -->
  2052. <el-dialog :title="title" :visible.sync="openS6301" width="500px" append-to-body>
  2053. <el-form ref="formS6301" :model="formS6301" label-width="80px">
  2054. <el-form-item label="装置名称" prop="locationName">
  2055. <el-input v-model="formS6301.locationName" placeholder="请输入装置名称" />
  2056. </el-form-item>
  2057. <el-form-item label="采样点" prop="samplePoint">
  2058. <el-input v-model="formS6301.samplePoint" placeholder="请输入采样点" />
  2059. </el-form-item>
  2060. <el-form-item label="采样日期" prop="sampleDate">
  2061. <el-date-picker clearable size="small" style="width: 200px"
  2062. v-model="formS6301.sampleDate"
  2063. type="date"
  2064. value-format="yyyy-MM-dd"
  2065. placeholder="选择采样日期">
  2066. </el-date-picker>
  2067. </el-form-item>
  2068. <el-form-item label="样品名称" prop="sampleName">
  2069. <el-input v-model="formS6301.sampleName" placeholder="请输入样品名称" />
  2070. </el-form-item>
  2071. <el-form-item label="异戊二烯" prop="ic5">
  2072. <el-input v-model="formS6301.ic5" placeholder="请输入异戊二烯" />
  2073. </el-form-item>
  2074. <el-form-item label="双环戊二烯" prop="dcpd">
  2075. <el-input v-model="formS6301.dcpd" placeholder="请输入双环戊二烯" />
  2076. </el-form-item>
  2077. <el-form-item label="C5总量" prop="c5">
  2078. <el-input v-model="formS6301.c5" placeholder="请输入C5总量" />
  2079. </el-form-item>
  2080. <el-form-item label="碳五共轭双烯烃+双环戊二烯>=30" prop="c5ConjugatedDienesDcpd30">
  2081. <el-input v-model="formS6301.c5ConjugatedDienesDcpd30" placeholder="请输入碳五共轭双烯烃+双环戊二烯>=30" />
  2082. </el-form-item>
  2083. <el-form-item label="间戊二烯+环戊二烯" prop="pentadieneCycc5">
  2084. <el-input v-model="formS6301.pentadieneCycc5" placeholder="请输入间戊二烯+环戊二烯" />
  2085. </el-form-item>
  2086. <el-form-item label="碳五共轭双烯烃+双环戊二烯>=40" prop="c5ConjugatedDienesDcpd40">
  2087. <el-input v-model="formS6301.c5ConjugatedDienesDcpd40" placeholder="请输入碳五共轭双烯烃+双环戊二烯>=40" />
  2088. </el-form-item>
  2089. <el-form-item label="总硫" prop="totalSulfur">
  2090. <el-input v-model="formS6301.totalSulfur" placeholder="请输入总硫" />
  2091. </el-form-item>
  2092. <el-form-item label="硅" prop="silicon">
  2093. <el-input v-model="formS6301.silicon" placeholder="请输入硅" />
  2094. </el-form-item>
  2095. <el-form-item label="归属部门" prop="deptId">
  2096. <treeselect v-model="formS6301.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  2097. </el-form-item>
  2098. </el-form>
  2099. <div slot="footer" class="dialog-footer">
  2100. <el-button type="primary" @click="submitForm">确 定</el-button>
  2101. <el-button @click="cancel">取 消</el-button>
  2102. </div>
  2103. </el-dialog>
  2104. <!-- 添加或修改质量月报Z404对话框 -->
  2105. <el-dialog :title="title" :visible.sync="openZ404" width="500px" append-to-body>
  2106. <el-form ref="formZ404" :model="formZ404" label-width="80px">
  2107. <el-form-item label="装置名称" prop="locationName">
  2108. <el-input v-model="formZ404.locationName" placeholder="请输入装置名称" />
  2109. </el-form-item>
  2110. <el-form-item label="采样点" prop="samplePoint">
  2111. <el-input v-model="formZ404.samplePoint" placeholder="请输入采样点" />
  2112. </el-form-item>
  2113. <el-form-item label="采样日期" prop="sampleDate">
  2114. <el-date-picker clearable size="small" style="width: 200px"
  2115. v-model="formZ404.sampleDate"
  2116. type="date"
  2117. value-format="yyyy-MM-dd"
  2118. placeholder="选择采样日期">
  2119. </el-date-picker>
  2120. </el-form-item>
  2121. <el-form-item label="样品名称" prop="sampleName">
  2122. <el-input v-model="formZ404.sampleName" placeholder="请输入样品名称" />
  2123. </el-form-item>
  2124. <el-form-item label="甲烷" prop="methane">
  2125. <el-input v-model="formZ404.methane" placeholder="请输入甲烷" />
  2126. </el-form-item>
  2127. <el-form-item label="乙烷" prop="ethane">
  2128. <el-input v-model="formZ404.ethane" placeholder="请输入乙烷" />
  2129. </el-form-item>
  2130. <el-form-item label="乙烯" prop="ethylene">
  2131. <el-input v-model="formZ404.ethylene" placeholder="请输入乙烯" />
  2132. </el-form-item>
  2133. <el-form-item label="丙烷" prop="propane">
  2134. <el-input v-model="formZ404.propane" placeholder="请输入丙烷" />
  2135. </el-form-item>
  2136. <el-form-item label="丙烯" prop="propylene">
  2137. <el-input v-model="formZ404.propylene" placeholder="请输入丙烯" />
  2138. </el-form-item>
  2139. <el-form-item label="未知组分" prop="unknown">
  2140. <el-input v-model="formZ404.unknown" placeholder="请输入未知组分" />
  2141. </el-form-item>
  2142. <el-form-item label="氢气" prop="hydrogen">
  2143. <el-input v-model="formZ404.hydrogen" placeholder="请输入氢气" />
  2144. </el-form-item>
  2145. <el-form-item label="归属部门" prop="deptId">
  2146. <treeselect v-model="formZ404.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
  2147. </el-form-item>
  2148. </el-form>
  2149. <div slot="footer" class="dialog-footer">
  2150. <el-button type="primary" @click="submitForm">确 定</el-button>
  2151. <el-button @click="cancel">取 消</el-button>
  2152. </div>
  2153. </el-dialog>
  2154. <!-- 批量导入对话框 -->
  2155. <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
  2156. <el-upload
  2157. ref="upload"
  2158. :limit="1"
  2159. accept=".xlsx, .xls"
  2160. :headers="upload.headers"
  2161. :action="upload.url + '?updateSupport=' + upload.updateSupport"
  2162. :disabled="upload.isUploading"
  2163. :on-progress="handleFileUploadProgress"
  2164. :on-success="handleFileSuccess"
  2165. :auto-upload="false"
  2166. drag
  2167. >
  2168. <i class="el-icon-upload"></i>
  2169. <div class="el-upload__text">
  2170. 将文件拖到此处,或
  2171. <em>点击上传</em>
  2172. </div>
  2173. <div class="el-upload__tip" slot="tip">
  2174. <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
  2175. </div>
  2176. <form ref="downloadFileForm" :action="upload.downloadAction" target="FORMSUBMIT">
  2177. <input name="type" :value="upload.type" hidden />
  2178. </form>
  2179. <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
  2180. </el-upload>
  2181. <div slot="footer" class="dialog-footer">
  2182. <el-button type="primary" @click="submitFileForm">确 定</el-button>
  2183. <el-button @click="upload.open = false">取 消</el-button>
  2184. </div>
  2185. </el-dialog>
  2186. <!-- 趋势分析对话框 -->
  2187. <el-dialog :title="analysis.title" :visible.sync="analysis.open" width="1000px" append-to-body @close="disposeChart">
  2188. <el-form :model="analysisQueryParams" ref="analysisQueryParams" :inline="true" label-width="68px">
  2189. <el-form-item label="采样日期" prop="sampleDate">
  2190. <el-date-picker
  2191. v-model="analysisSampleDate"
  2192. type="daterange"
  2193. value-format="yyyy-MM-dd"
  2194. range-separator="至"
  2195. start-placeholder="开始日期"
  2196. end-placeholder="结束日期">
  2197. </el-date-picker>
  2198. </el-form-item>
  2199. <el-form-item label="内容" prop="analysisValue">
  2200. <el-select v-model="analysisValue" placeholder="请选择内容">
  2201. <el-option
  2202. v-for="item in analysisOptions"
  2203. :key="item.dictValue"
  2204. :label="item.dictLabel"
  2205. :value="item.dictValue">
  2206. </el-option>
  2207. </el-select>
  2208. </el-form-item>
  2209. <el-form-item>
  2210. <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleAnalysisQuery">搜索</el-button>
  2211. </el-form-item>
  2212. </el-form>
  2213. <div id="chart" :style="{width:width,height:height}"></div>
  2214. <table id="tableC2" v-if="showC2Table">
  2215. <tr>
  2216. <td colspan="5" class="td-transparent">BYC performance of C2 reactor</td>
  2217. </tr>
  2218. <tr>
  2219. <td class="td-transparent"></td>
  2220. <td class="td-transparent">1st inlet</td>
  2221. <td class="td-transparent">2nd inlet</td>
  2222. <td class="td-transparent">3rd inlet</td>
  2223. <td class="td-transparent">3rd outlet</td>
  2224. </tr>
  2225. <tr>
  2226. <td class="td-dark-blue">ethane</td>
  2227. <td class="td-dark-blue">{{c2ReactorTableData.ethane1InAvg}}</td>
  2228. <td class="td-dark-blue">{{c2ReactorTableData.ethane2InAvg}}</td>
  2229. <td class="td-dark-blue">{{c2ReactorTableData.ethane3InAvg}}</td>
  2230. <td class="td-dark-blue">{{c2ReactorTableData.ethane3OutAvg}}</td>
  2231. </tr>
  2232. <tr>
  2233. <td class="td-dark-blue">ethylene</td>
  2234. <td class="td-dark-blue">{{c2ReactorTableData.ethylene1InAvg}}</td>
  2235. <td class="td-dark-blue">{{c2ReactorTableData.ethylene2InAvg}}</td>
  2236. <td class="td-dark-blue">{{c2ReactorTableData.ethylene3InAvg}}</td>
  2237. <td class="td-dark-blue">{{c2ReactorTableData.ethylene3OutAvg}}</td>
  2238. </tr>
  2239. <tr>
  2240. <td class="td-dark-blue">acetylene</td>
  2241. <td class="td-dark-blue">{{c2ReactorTableData.acetylene1InAvg}}</td>
  2242. <td class="td-dark-blue">{{c2ReactorTableData.acetylene2InAvg}}</td>
  2243. <td class="td-dark-blue">{{c2ReactorTableData.acetylene3InAvg}}</td>
  2244. <td class="td-dark-blue">{{c2ReactorTableData.acetylene3OutAvg}}</td>
  2245. </tr>
  2246. <tr>
  2247. <td class="td-dark-blue">propane</td>
  2248. <td class="td-dark-blue">{{c2ReactorTableData.propane1InAvg}}</td>
  2249. <td class="td-dark-blue">{{c2ReactorTableData.propane2InAvg}}</td>
  2250. <td class="td-dark-blue">{{c2ReactorTableData.propane3InAvg}}</td>
  2251. <td class="td-dark-blue">{{c2ReactorTableData.propane3OutAvg}}</td>
  2252. </tr>
  2253. <tr>
  2254. <td class="td-dark-blue">propylene</td>
  2255. <td class="td-dark-blue">{{c2ReactorTableData.propylene1InAvg}}</td>
  2256. <td class="td-dark-blue">{{c2ReactorTableData.propylene2InAvg}}</td>
  2257. <td class="td-dark-blue">{{c2ReactorTableData.propylene3InAvg}}</td>
  2258. <td class="td-dark-blue">{{c2ReactorTableData.propylene3OutAvg}}</td>
  2259. </tr>
  2260. <tr>
  2261. <td class="td-dark-blue">PD</td>
  2262. <td class="td-dark-blue">{{c2ReactorTableData.pd1InAvg}}</td>
  2263. <td class="td-dark-blue">{{c2ReactorTableData.pd2InAvg}}</td>
  2264. <td class="td-dark-blue">{{c2ReactorTableData.pd3InAvg}}</td>
  2265. <td class="td-dark-blue">{{c2ReactorTableData.pd3OutAvg}}</td>
  2266. </tr>
  2267. <tr>
  2268. <td class="td-dark-blue">MA</td>
  2269. <td class="td-dark-blue">{{c2ReactorTableData.ma1InAvg}}</td>
  2270. <td class="td-dark-blue">{{c2ReactorTableData.ma2InAvg}}</td>
  2271. <td class="td-dark-blue">{{c2ReactorTableData.ma3InAvg}}</td>
  2272. <td class="td-dark-blue">{{c2ReactorTableData.ma3OutAvg}}</td>
  2273. </tr>
  2274. <tr>
  2275. <td class="td-dark-green">acetylene Conversion</td>
  2276. <td class="td-transparent">{{c2ReactorTableData.acetyleneConversion1stIn}}%</td>
  2277. <td class="td-transparent">{{c2ReactorTableData.acetyleneConversion2ndIn}}%</td>
  2278. <td class="td-transparent">{{c2ReactorTableData.acetyleneConversion3rdIn}}%</td>
  2279. <td class="td-dark-green">{{c2ReactorTableData.acetyleneConversion3rdOut}}%</td>
  2280. </tr>
  2281. <tr>
  2282. <td class="td-dark-green">Conversion load%</td>
  2283. <td class="td-transparent">{{c2ReactorTableData.conversionLoad1stIn}}%</td>
  2284. <td class="td-transparent">{{c2ReactorTableData.conversionLoad2ndIn}}%</td>
  2285. <td class="td-transparent">{{c2ReactorTableData.conversionLoad3rdIn}}%</td>
  2286. <td class="td-dark-green"></td>
  2287. </tr>
  2288. <tr>
  2289. <td class="td-dark-green">Ethylene Selectivity</td>
  2290. <td class="td-transparent">{{c2ReactorTableData.ethyleneSelectivity1stIn}}%</td>
  2291. <td class="td-transparent">{{c2ReactorTableData.ethyleneSelectivity2ndIn}}%</td>
  2292. <td class="td-transparent">{{c2ReactorTableData.ethyleneSelectivity3rdIn}}%</td>
  2293. <td class="td-dark-green">{{c2ReactorTableData.ethyleneSelectivity3rdOut}}%</td>
  2294. </tr>
  2295. <tr>
  2296. <td class="td-dark-green">MAPD Conversion</td>
  2297. <td class="td-transparent">{{c2ReactorTableData.mapdConversion1stIn}}%</td>
  2298. <td class="td-transparent">{{c2ReactorTableData.mapdConversion2ndIn}}%</td>
  2299. <td class="td-transparent">{{c2ReactorTableData.mapdConversion3rdIn}}%</td>
  2300. <td class="td-yellow">{{c2ReactorTableData.mapdConversion3rdOut}}%</td>
  2301. </tr>
  2302. <tr>
  2303. <td class="td-dark-green">Propylene Selectivity</td>
  2304. <td class="td-transparent">{{c2ReactorTableData.propyleneSelectivity1stIn}}%</td>
  2305. <td class="td-transparent">{{c2ReactorTableData.propyleneSelectivity2ndIn}}%</td>
  2306. <td class="td-transparent">{{c2ReactorTableData.propyleneSelectivity3rdIn}}%</td>
  2307. <td class="td-yellow">{{c2ReactorTableData.propyleneSelectivity3rdOut}}%</td>
  2308. </tr>
  2309. </table>
  2310. <table id="tableC3" v-if="showC3Table">
  2311. <tr>
  2312. <td colspan="2" class="td-transparent">BYC performance of C3 reactor </td>
  2313. <td class="td-transparent">R520B</td>
  2314. </tr>
  2315. <tr>
  2316. <td class="td-blue"></td>
  2317. <td class="td-blue">reactor inlet</td>
  2318. <td class="td-blue">reactor outlet</td>
  2319. </tr>
  2320. <tr>
  2321. <td class="td-blue">propane</td>
  2322. <td class="td-blue">{{c3ReactorTableData.propaneInAvg}}</td>
  2323. <td class="td-blue">{{c3ReactorTableData.propaneOutAvg}}</td>
  2324. </tr>
  2325. <tr>
  2326. <td class="td-blue">propylene</td>
  2327. <td class="td-blue">{{c3ReactorTableData.propyleneInAvg}}</td>
  2328. <td class="td-blue">{{c3ReactorTableData.propyleneOutAvg}}</td>
  2329. </tr>
  2330. <tr>
  2331. <td class="td-blue">PD</td>
  2332. <td class="td-blue">{{c3ReactorTableData.pdInAvg}}</td>
  2333. <td class="td-blue">{{c3ReactorTableData.pdOutAvg}}</td>
  2334. </tr>
  2335. <tr>
  2336. <td class="td-blue">MA</td>
  2337. <td class="td-blue">{{c3ReactorTableData.maInAvg}}</td>
  2338. <td class="td-blue">{{c3ReactorTableData.maOutAvg}}</td>
  2339. </tr>
  2340. <tr>
  2341. <td class="td-green">conversion</td>
  2342. <td class="td-green">{{c3ReactorTableData.conversion}}%</td>
  2343. <td class="td-transparent"></td>
  2344. </tr>
  2345. <tr>
  2346. <td class="td-green">Propylene Selectivity</td>
  2347. <td class="td-green">{{c3ReactorTableData.propyleneSelectivity}}%</td>
  2348. <td class="td-transparent"></td>
  2349. </tr>
  2350. </table>
  2351. <div style="white-space: pre-wrap; margin: 0px auto; margin-top: 25px;text-align: center;">{{analysisDescription}}</div>
  2352. <el-input type="textarea" :rows="6" placeholder="请输入内容" v-model="comment" style="margin-top: 25px;"></el-input>
  2353. <div slot="footer" class="dialog-footer">
  2354. <el-button type="primary" @click="submitComment">确 定</el-button>
  2355. </div>
  2356. </el-dialog>
  2357. </div>
  2358. </template>
  2359. <script>
  2360. import { listS0501, listS0501Month, getS0501, delS0501, addS0501, updateS0501, exportS0501 } from "@/api/production/s0501";
  2361. import { listS1301, getS1301, delS1301, addS1301, updateS1301, exportS1301 } from "@/api/production/s1301";
  2362. import { listS2002, getS2002, delS2002, addS2002, updateS2002, exportS2002 } from "@/api/production/s2002";
  2363. import { listS2005, getS2005, delS2005, addS2005, updateS2005, exportS2005 } from "@/api/production/s2005";
  2364. import { listS2007, getS2007, delS2007, addS2007, updateS2007, exportS2007 } from "@/api/production/s2007";
  2365. import { listS2011, getS2011, delS2011, addS2011, updateS2011, exportS2011 } from "@/api/production/s2011";
  2366. import { listS2400, getS2400, delS2400, addS2400, updateS2400, exportS2400 } from "@/api/production/s2400";
  2367. import { listS3004, getS3004, delS3004, addS3004, updateS3004, exportS3004 } from "@/api/production/s3004";
  2368. import { listS3009, getS3009, delS3009, addS3009, updateS3009, exportS3009 } from "@/api/production/s3009";
  2369. import { listS3010, getS3010, delS3010, addS3010, updateS3010, exportS3010 } from "@/api/production/s3010";
  2370. import { listS3011, getS3011, delS3011, addS3011, updateS3011, exportS3011 } from "@/api/production/s3011";
  2371. import { listS3012, getS3012, delS3012, addS3012, updateS3012, exportS3012 } from "@/api/production/s3012";
  2372. import { listS3022, getS3022, delS3022, addS3022, updateS3022, exportS3022 } from "@/api/production/s3022";
  2373. import { listS4012, getS4012, delS4012, addS4012, updateS4012, exportS4012 } from "@/api/production/s4012";
  2374. import { listS4013, getS4013, delS4013, addS4013, updateS4013, exportS4013 } from "@/api/production/s4013";
  2375. import { listS4501, getS4501, delS4501, addS4501, updateS4501, exportS4501 } from "@/api/production/s4501";
  2376. import { listS5001, getS5001, delS5001, addS5001, updateS5001, exportS5001 } from "@/api/production/s5001";
  2377. import { listS5003, getS5003, delS5003, addS5003, updateS5003, exportS5003 } from "@/api/production/s5003";
  2378. import { listS5010, getS5010, delS5010, addS5010, updateS5010, exportS5010 } from "@/api/production/s5010";
  2379. import { listS5012, getS5012, delS5012, addS5012, updateS5012, exportS5012 } from "@/api/production/s5012";
  2380. import { listS6101, getS6101, delS6101, addS6101, updateS6101, exportS6101 } from "@/api/production/s6101";
  2381. import { listS6107, getS6107, delS6107, addS6107, updateS6107, exportS6107 } from "@/api/production/s6107";
  2382. import { listS6301, getS6301, delS6301, addS6301, updateS6301, exportS6301 } from "@/api/production/s6301";
  2383. import { listZ404, getZ404, delZ404, addZ404, updateZ404, exportZ404 } from "@/api/production/z404";
  2384. import { exportQuality, c3ReactorTable, c3ReactorAnalysis, c2ReactorAnalysis, c2ReactorTable } from "@/api/production/quality";
  2385. import { submitComment, getCommentInfo } from "@/api/production/comment";
  2386. import { treeselect } from "@/api/system/dept";
  2387. import { getToken } from "@/utils/auth";
  2388. import Treeselect from "@riophae/vue-treeselect";
  2389. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  2390. export default {
  2391. props: {
  2392. width: {
  2393. type: String,
  2394. default: '100%'
  2395. },
  2396. height: {
  2397. type: String,
  2398. default: '400px'
  2399. },
  2400. },
  2401. name: "MonthlyQualityReport",
  2402. components: { Treeselect },
  2403. data() {
  2404. return {
  2405. comment: '',
  2406. analysisDescription: null,
  2407. c3ReactorTableData: {},
  2408. c2ReactorTableData: {},
  2409. showC3Table: false,
  2410. showC2Table: false,
  2411. chart: null,
  2412. chartData : [],
  2413. analysisOptions: [],
  2414. analysisValue: '',
  2415. // 遮罩层
  2416. loadingS0501: true,
  2417. loadingS1301: true,
  2418. loadingS2002: true,
  2419. loadingS2005: true,
  2420. loadingS2007: true,
  2421. loadingS2011: true,
  2422. loadingS2400: true,
  2423. loadingS3004: true,
  2424. loadingS3009: true,
  2425. loadingS3010: true,
  2426. loadingS3011: true,
  2427. loadingS3012: true,
  2428. loadingS3022: true,
  2429. loadingS4012: true,
  2430. loadingS4013: true,
  2431. loadingS4501: true,
  2432. loadingS5001: true,
  2433. loadingS5003: true,
  2434. loadingS5010: true,
  2435. loadingS5012: true,
  2436. loadingS6101: true,
  2437. loadingS6107: true,
  2438. loadingS6301: true,
  2439. loadingZ404: true,
  2440. // 显示搜索条件
  2441. showSearch: true,
  2442. // 质量月报表格数据
  2443. s0501List: [],
  2444. s1301List: [],
  2445. s2002List: [],
  2446. s2005List: [],
  2447. s2007List: [],
  2448. s2011List: [],
  2449. s2400List: [],
  2450. s3004List: [],
  2451. s3009List: [],
  2452. s3010List: [],
  2453. s3011List: [],
  2454. s3012List: [],
  2455. s3022List: [],
  2456. s4012List: [],
  2457. s4013List: [],
  2458. s4501List: [],
  2459. s5001List: [],
  2460. s5003List: [],
  2461. s5010List: [],
  2462. s5012List: [],
  2463. s6101List: [],
  2464. s6107List: [],
  2465. s6301List: [],
  2466. z404List: [],
  2467. // 弹出层标题
  2468. title: "",
  2469. // 部门树选项
  2470. deptOptions: undefined,
  2471. // 是否显示弹出层
  2472. openS0501: false,
  2473. openS1301: false,
  2474. openS2002: false,
  2475. openS2005: false,
  2476. openS2007: false,
  2477. openS2011: false,
  2478. openS2400: false,
  2479. openS3004: false,
  2480. openS3009: false,
  2481. openS3010: false,
  2482. openS3011: false,
  2483. openS3012: false,
  2484. openS3022: false,
  2485. openS4012: false,
  2486. openS4013: false,
  2487. openS4501: false,
  2488. openS5001: false,
  2489. openS5003: false,
  2490. openS5010: false,
  2491. openS5012: false,
  2492. openS6101: false,
  2493. openS6107: false,
  2494. openS6301: false,
  2495. openZ404: false,
  2496. // 用户导入参数
  2497. upload: {
  2498. //下载模板请求地址
  2499. downloadAction: process.env.VUE_APP_BASE_API + '/common/template',
  2500. //下载模板类型
  2501. type: 'quality',
  2502. // 是否显示弹出层(用户导入)
  2503. open: false,
  2504. // 弹出层标题(用户导入)
  2505. title: "",
  2506. // 是否禁用上传
  2507. isUploading: false,
  2508. // 是否更新已经存在的用户数据
  2509. updateSupport: 0,
  2510. // 设置上传的请求头部
  2511. headers: { Authorization: "Bearer " + getToken() },
  2512. // 上传的地址
  2513. url: process.env.VUE_APP_BASE_API + "/production/quality/importData"
  2514. },
  2515. // 趋势分析参数
  2516. analysis: {
  2517. open: false,
  2518. title: "",
  2519. },
  2520. // 查询参数
  2521. queryParams: {
  2522. startDate: null,
  2523. endDate: null,
  2524. },
  2525. analysisQueryParams: {
  2526. startDate: null,
  2527. endDate: null,
  2528. },
  2529. sampleDate: [],
  2530. analysisSampleDate: [],
  2531. samplePoint: null,
  2532. // 表单参数
  2533. formS0501: {},
  2534. formS1301: {},
  2535. formS2002: {},
  2536. formS2005: {},
  2537. formS2007: {},
  2538. formS2011: {},
  2539. formS2400: {},
  2540. formS3004: {},
  2541. formS3009: {},
  2542. formS3010: {},
  2543. formS3011: {},
  2544. formS3012: {},
  2545. formS3022: {},
  2546. formS4012: {},
  2547. formS4013: {},
  2548. formS4501: {},
  2549. formS5001: {},
  2550. formS5003: {},
  2551. formS5010: {},
  2552. formS5012: {},
  2553. formS6101: {},
  2554. formS6107: {},
  2555. formS6301: {},
  2556. formZ404: {},
  2557. };
  2558. },
  2559. watch: {
  2560. // 根据名称筛选部门树
  2561. deptName(val) {
  2562. this.$refs.tree.filter(val);
  2563. }
  2564. },
  2565. created() {
  2566. this.setDefaultSampleDate();
  2567. this.setAnalysisDefaultSampleDate();
  2568. //设置表格高度对应屏幕高度
  2569. this.$nextTick(() => {
  2570. this.clientHeight = document.body.clientHeight -250
  2571. })
  2572. this.getList();
  2573. this.getTreeselect();
  2574. // 加载质量月报趋势分析内容字典
  2575. this.getDicts("quality_analysis_content").then(response => {
  2576. this.analysisOptions = response.data;
  2577. });
  2578. },
  2579. methods: {
  2580. /** 处理评价提交 */
  2581. submitComment() {
  2582. submitComment({
  2583. "commentType": this.analysisValue,
  2584. "startDate": this.sampleDate[0],
  2585. "endDate": this.sampleDate[1],
  2586. "qualityComment": this.comment
  2587. }).then(response => {
  2588. this.msgSuccess("修改成功");
  2589. });
  2590. },
  2591. /** 销毁趋势图 */
  2592. disposeChart() {
  2593. this.showC3Table = false;
  2594. this.showC2Table = false;
  2595. if(this.chart != null) {
  2596. this.echarts.dispose(this.chart);
  2597. }
  2598. },
  2599. /** 设置默认时间范围 */
  2600. setDefaultSampleDate() {
  2601. let startDate = new Date();
  2602. startDate.setMonth(startDate.getMonth() - 1);
  2603. startDate.setDate(1);
  2604. this.sampleDate[0] = startDate.getFullYear() + "-" + Number(startDate.getMonth() + 1) + "-" + startDate.getDate();
  2605. let endDate = new Date();
  2606. endDate.setDate(0);
  2607. this.sampleDate[1] = endDate.getFullYear() + "-" + Number(endDate.getMonth() + 1) + "-" + endDate.getDate();
  2608. },
  2609. setAnalysisDefaultSampleDate() {
  2610. let startDate = new Date();
  2611. startDate.setMonth(startDate.getMonth() - 1);
  2612. startDate.setDate(1);
  2613. this.analysisSampleDate[0] = startDate.getFullYear() + "-" + Number(startDate.getMonth() + 1) + "-" + startDate.getDate();
  2614. let endDate = new Date();
  2615. endDate.setDate(0);
  2616. this.analysisSampleDate[1] = endDate.getFullYear() + "-" + Number(endDate.getMonth() + 1) + "-" + endDate.getDate();
  2617. },
  2618. /** 查询质量月报列表 */
  2619. getList() {
  2620. this.queryParams.startDate = this.sampleDate[0];
  2621. this.queryParams.endDate = this.sampleDate[1];
  2622. this.getListS0501();
  2623. this.getListS1301();
  2624. this.getListS2002();
  2625. this.getListS2005();
  2626. this.getListS2007();
  2627. this.getListS2011();
  2628. this.getListS2400();
  2629. this.getListS3004();
  2630. this.getListS3009();
  2631. this.getListS3010();
  2632. this.getListS3011();
  2633. this.getListS3012();
  2634. this.getListS3022();
  2635. this.getListS4012();
  2636. this.getListS4013();
  2637. this.getListS4501();
  2638. this.getListS5001();
  2639. this.getListS5003();
  2640. this.getListS5010();
  2641. this.getListS5012();
  2642. this.getListS6101();
  2643. this.getListS6107();
  2644. this.getListS6301();
  2645. this.getListZ404();
  2646. },
  2647. getListS0501() {
  2648. this.loadingS0501 = true;
  2649. listS0501(this.queryParams).then(response => {
  2650. this.s0501List = response.data.dataList;
  2651. this.loadingS0501 = false;
  2652. });
  2653. },
  2654. getListS1301() {
  2655. this.loadingS1301 = true;
  2656. listS1301(this.queryParams).then(response => {
  2657. this.s1301List = response.data.dataList;
  2658. this.loadingS1301 = false;
  2659. });
  2660. },
  2661. getListS2002() {
  2662. this.loadingS2002 = true;
  2663. listS2002(this.queryParams).then(response => {
  2664. this.s2002List = response.data.dataList;
  2665. this.loadingS2002 = false;
  2666. });
  2667. },
  2668. getListS2005() {
  2669. this.loadingS2005 = true;
  2670. listS2005(this.queryParams).then(response => {
  2671. this.s2005List = response.data;
  2672. this.loadingS2005 = false;
  2673. });
  2674. },
  2675. getListS2007() {
  2676. this.loadingS2007 = true;
  2677. listS2007(this.queryParams).then(response => {
  2678. this.s2007List = response.data.dataList;
  2679. this.loadingS2007 = false;
  2680. });
  2681. },
  2682. getListS2011() {
  2683. this.loadingS2011 = true;
  2684. listS2011(this.queryParams).then(response => {
  2685. this.s2011List = response.data;
  2686. this.loadingS2011 = false;
  2687. });
  2688. },
  2689. getListS2400() {
  2690. this.loadingS2400 = true;
  2691. listS2400(this.queryParams).then(response => {
  2692. this.s2400List = response.data.dataList;
  2693. this.loadingS2400 = false;
  2694. });
  2695. },
  2696. getListS3004() {
  2697. this.loadingS3004 = true;
  2698. listS3004(this.queryParams).then(response => {
  2699. this.s3004List = response.data.dataList;
  2700. this.loadingS3004 = false;
  2701. });
  2702. },
  2703. getListS3009() {
  2704. this.loadingS3009 = true;
  2705. listS3009(this.queryParams).then(response => {
  2706. this.s3009List = response.data;
  2707. this.loadingS3009 = false;
  2708. });
  2709. },
  2710. getListS3010() {
  2711. this.loadingS3010 = true;
  2712. listS3010(this.queryParams).then(response => {
  2713. this.s3010List = response.data;
  2714. this.loadingS3010 = false;
  2715. });
  2716. },
  2717. getListS3011() {
  2718. this.loadingS3011 = true;
  2719. listS3011(this.queryParams).then(response => {
  2720. this.s3011List = response.data;
  2721. this.loadingS3011 = false;
  2722. });
  2723. },
  2724. getListS3012() {
  2725. this.loadingS3012 = true;
  2726. listS3012(this.queryParams).then(response => {
  2727. this.s3012List = response.data;
  2728. this.loadingS3012 = false;
  2729. });
  2730. },
  2731. getListS3022() {
  2732. this.loadingS3022 = true;
  2733. listS3022(this.queryParams).then(response => {
  2734. this.s3022List = response.data;
  2735. this.loadingS3022 = false;
  2736. });
  2737. },
  2738. getListS4012() {
  2739. this.loadingS4012 = true;
  2740. listS4012(this.queryParams).then(response => {
  2741. this.s4012List = response.data.dataList;
  2742. this.loadingS4012 = false;
  2743. });
  2744. },
  2745. getListS4013() {
  2746. this.loadingS4013 = true;
  2747. listS4013(this.queryParams).then(response => {
  2748. this.s4013List = response.data.dataList;
  2749. this.loadingS4013 = false;
  2750. });
  2751. },
  2752. getListS4501() {
  2753. this.loadingS4501 = true;
  2754. listS4501(this.queryParams).then(response => {
  2755. this.s4501List = response.data.dataList;
  2756. this.loadingS4501 = false;
  2757. });
  2758. },
  2759. getListS5001() {
  2760. this.loadingS5001 = true;
  2761. listS5001(this.queryParams).then(response => {
  2762. this.s5001List = response.data.dataList;
  2763. this.loadingS5001 = false;
  2764. });
  2765. },
  2766. getListS5003() {
  2767. this.loadingS5003 = true;
  2768. listS5003(this.queryParams).then(response => {
  2769. this.s5003List = response.data.dataList;
  2770. this.loadingS5003 = false;
  2771. });
  2772. },
  2773. getListS5010() {
  2774. this.loadingS5010 = true;
  2775. listS5010(this.queryParams).then(response => {
  2776. this.s5010List = response.data;
  2777. this.loadingS5010 = false;
  2778. });
  2779. },
  2780. getListS5012() {
  2781. this.loadingS5012 = true;
  2782. listS5012(this.queryParams).then(response => {
  2783. this.s5012List = response.data;
  2784. this.loadingS5012 = false;
  2785. });
  2786. },
  2787. getListS6101() {
  2788. this.loadingS6101 = true;
  2789. listS6101(this.queryParams).then(response => {
  2790. this.s6101List = response.data.dataList;
  2791. this.loadingS6101 = false;
  2792. });
  2793. },
  2794. getListS6107() {
  2795. this.loadingS6107 = true;
  2796. listS6107(this.queryParams).then(response => {
  2797. this.s6107List = response.data.dataList;
  2798. this.loadingS6107 = false;
  2799. });
  2800. },
  2801. getListS6301() {
  2802. this.loadingS6301 = true;
  2803. listS6301(this.queryParams).then(response => {
  2804. this.s6301List = response.data.dataList;
  2805. this.loadingS6301 = false;
  2806. });
  2807. },
  2808. getListZ404() {
  2809. this.loadingZ404 = true;
  2810. listZ404(this.queryParams).then(response => {
  2811. this.z404List = response.data;
  2812. this.loadingZ404 = false;
  2813. });
  2814. },
  2815. /** 查询部门下拉树结构 */
  2816. getTreeselect() {
  2817. treeselect().then(response => {
  2818. this.deptOptions = response.data;
  2819. });
  2820. },
  2821. // 取消按钮
  2822. cancel() {
  2823. if (this.openS0501 == true) {
  2824. this.openS0501 = false;
  2825. this.resetS0501();
  2826. } else if (this.openS1301 == true) {
  2827. this.openS1301 = false;
  2828. this.resetS1301();
  2829. } else if (this.openS2002 == true) {
  2830. this.openS2002 = false;
  2831. this.resetS2002();
  2832. } else if (this.openS2005 == true) {
  2833. this.openS2005 = false;
  2834. this.resetS2005();
  2835. } else if (this.openS2007 == true) {
  2836. this.openS2007 = false;
  2837. this.resetS2007();
  2838. } else if (this.openS2011 == true) {
  2839. this.openS2011 = false;
  2840. this.resetS2011();
  2841. } else if (this.openS2400 == true) {
  2842. this.openS2400 = false;
  2843. this.resetS2400();
  2844. } else if (this.openS3004 == true) {
  2845. this.openS3004 = false;
  2846. this.resetS3004();
  2847. } else if (this.openS3009 == true) {
  2848. this.openS3009 = false;
  2849. this.resetS3009();
  2850. } else if (this.openS3010 == true) {
  2851. this.openS3010 = false;
  2852. this.resetS3010();
  2853. } else if (this.openS3011 == true) {
  2854. this.openS3011 = false;
  2855. this.resetS3011();
  2856. } else if (this.openS3012 == true) {
  2857. this.openS3012 = false;
  2858. this.resetS3012();
  2859. } else if (this.openS3022 == true) {
  2860. this.openS3022 = false;
  2861. this.resetS3022();
  2862. } else if (this.openS4012 == true) {
  2863. this.openS4012 = false;
  2864. this.resetS4012();
  2865. } else if (this.openS4013 == true) {
  2866. this.openS4013 = false;
  2867. this.resetS4013();
  2868. } else if (this.openS4501 == true) {
  2869. this.openS4501 = false;
  2870. this.resetS4501();
  2871. } else if (this.openS5001 == true) {
  2872. this.openS5001 = false;
  2873. this.resetS5001();
  2874. } else if (this.openS5003 == true) {
  2875. this.openS5003 = false;
  2876. this.resetS5003();
  2877. } else if (this.openS5010 == true) {
  2878. this.openS5010 = false;
  2879. this.resetS5010();
  2880. } else if (this.openS5012 == true) {
  2881. this.openS5012 = false;
  2882. this.resetS5012();
  2883. } else if (this.openS6101 == true) {
  2884. this.openS6101 = false;
  2885. this.resetS6101();
  2886. } else if (this.openS6107 == true) {
  2887. this.openS6107 = false;
  2888. this.resetS6107();
  2889. } else if (this.openS6301 == true) {
  2890. this.openS6301 = false;
  2891. this.resetS6301();
  2892. } else if (this.openZ404 == true) {
  2893. this.openZ404 = false;
  2894. this.resetZ404();
  2895. }
  2896. },
  2897. // 表单重置
  2898. resetS0501() {
  2899. this.formS0501 = {
  2900. id: null,
  2901. locationName: null,
  2902. samplePoint: null,
  2903. sampleDate: null,
  2904. sampleName: null,
  2905. p: null,
  2906. i: null,
  2907. o: null,
  2908. n: null,
  2909. a: null,
  2910. pI: null,
  2911. density2: null,
  2912. ibp: null,
  2913. five: null,
  2914. ten: null,
  2915. thrity: null,
  2916. fifty: null,
  2917. seventy: null,
  2918. ninety: null,
  2919. ninetyFive: null,
  2920. fbp: null,
  2921. totalSulfur: null,
  2922. deptId: null,
  2923. delFlag: null,
  2924. createBy: null,
  2925. createTime: null,
  2926. updateBy: null,
  2927. updateTime: null
  2928. };
  2929. this.resetForm("formS0501");
  2930. },
  2931. resetS1301() {
  2932. this.formS1301 = {
  2933. id: null,
  2934. locationName: null,
  2935. samplePoint: null,
  2936. sampleDate: null,
  2937. sampleName: null,
  2938. na: null,
  2939. benzene: null,
  2940. toluene: null,
  2941. ethylbenzene: null,
  2942. pXylene: null,
  2943. mXylene: null,
  2944. oXylene: null,
  2945. styrene: null,
  2946. phenylacetylene: null,
  2947. totalAromatics: null,
  2948. brNumber: null,
  2949. dieneValue: null,
  2950. totalNitrogen: null,
  2951. deptId: null,
  2952. delFlag: null,
  2953. createBy: null,
  2954. createTime: null,
  2955. updateBy: null,
  2956. updateTime: null
  2957. };
  2958. this.resetForm("formS1301");
  2959. },
  2960. resetS2002() {
  2961. this.formS2002 = {
  2962. id: null,
  2963. locationName: null,
  2964. samplePoint: null,
  2965. sampleDate: null,
  2966. sampleName: null,
  2967. cod: null,
  2968. ph: null,
  2969. deptId: null,
  2970. delFlag: null,
  2971. createBy: null,
  2972. createTime: null,
  2973. updateBy: null,
  2974. updateTime: null
  2975. };
  2976. this.resetForm("formS2002");
  2977. },
  2978. resetS2005() {
  2979. this.formS2005 = {
  2980. id: null,
  2981. locationName: null,
  2982. samplePoint: null,
  2983. sampleDate: null,
  2984. sampleName: null,
  2985. ph: null,
  2986. oilRatio: null,
  2987. deptId: null,
  2988. delFlag: null,
  2989. createBy: null,
  2990. createTime: null,
  2991. updateBy: null,
  2992. updateTime: null
  2993. };
  2994. this.resetForm("formS2005");
  2995. },
  2996. resetS2007() {
  2997. this.formS2007 = {
  2998. id: null,
  2999. locationName: null,
  3000. samplePoint: null,
  3001. sampleDate: null,
  3002. sampleName: null,
  3003. viscosity: null,
  3004. deptId: null,
  3005. delFlag: null,
  3006. createBy: null,
  3007. createTime: null,
  3008. updateBy: null,
  3009. updateTime: null
  3010. };
  3011. this.resetForm("formS2007");
  3012. },
  3013. resetS2011() {
  3014. this.formS2011 = {
  3015. id: null,
  3016. locationName: null,
  3017. samplePoint: null,
  3018. sampleDate: null,
  3019. sampleName: null,
  3020. density1: null,
  3021. ibp: null,
  3022. fbp: null,
  3023. deptId: null,
  3024. delFlag: null,
  3025. createBy: null,
  3026. createTime: null,
  3027. updateBy: null,
  3028. updateTime: null
  3029. };
  3030. this.resetForm("formS2011");
  3031. },
  3032. resetS2400() {
  3033. this.formS2400 = {
  3034. id: null,
  3035. locationName: null,
  3036. samplePoint: null,
  3037. sampleDate: null,
  3038. sampleName: null,
  3039. cod: null,
  3040. ph: null,
  3041. deptId: null,
  3042. delFlag: null,
  3043. createBy: null,
  3044. createTime: null,
  3045. updateBy: null,
  3046. updateTime: null
  3047. };
  3048. this.resetForm("formS2400");
  3049. },
  3050. resetS3004() {
  3051. this.formS3004 = {
  3052. id: null,
  3053. locationName: null,
  3054. samplePoint: null,
  3055. sampleDate: null,
  3056. sampleName: null,
  3057. naOh: null,
  3058. na2Co3: null,
  3059. na2S: null,
  3060. deptId: null,
  3061. delFlag: null,
  3062. createBy: null,
  3063. createTime: null,
  3064. updateBy: null,
  3065. updateTime: null
  3066. };
  3067. this.resetForm("formS3004");
  3068. },
  3069. resetS3009() {
  3070. this.formS3009 = {
  3071. id: null,
  3072. locationName: null,
  3073. samplePoint: null,
  3074. sampleDate: null,
  3075. sampleName: null,
  3076. carbonMonoxide: null,
  3077. methane: null,
  3078. ethane: null,
  3079. ethylene: null,
  3080. propane: null,
  3081. cycPropane: null,
  3082. propylene: null,
  3083. propadiene: null,
  3084. acetylene: null,
  3085. hydrogen: null,
  3086. deptId: null,
  3087. delFlag: null,
  3088. createBy: null,
  3089. createTime: null,
  3090. updateBy: null,
  3091. updateTime: null
  3092. };
  3093. this.resetForm("formS3009");
  3094. },
  3095. resetS3010() {
  3096. this.formS3010 = {
  3097. id: null,
  3098. locationName: null,
  3099. samplePoint: null,
  3100. sampleDate: null,
  3101. sampleName: null,
  3102. acetylene: null,
  3103. carbonMonoxide: null,
  3104. methane: null,
  3105. ethane: null,
  3106. ethylene: null,
  3107. propane: null,
  3108. cycPropane: null,
  3109. propylene: null,
  3110. propadiene: null,
  3111. hydrogen: null,
  3112. deptId: null,
  3113. delFlag: null,
  3114. createBy: null,
  3115. createTime: null,
  3116. updateBy: null,
  3117. updateTime: null
  3118. };
  3119. this.resetForm("formS3010");
  3120. },
  3121. resetS3011() {
  3122. this.formS3011 = {
  3123. id: null,
  3124. locationName: null,
  3125. samplePoint: null,
  3126. sampleDate: null,
  3127. sampleName: null,
  3128. carbonMonoxide: null,
  3129. methane: null,
  3130. ethane: null,
  3131. ethylene: null,
  3132. propane: null,
  3133. cycPropane: null,
  3134. propylene: null,
  3135. propadiene: null,
  3136. acetylene: null,
  3137. hydrogen: null,
  3138. deptId: null,
  3139. delFlag: null,
  3140. createBy: null,
  3141. createTime: null,
  3142. updateBy: null,
  3143. updateTime: null
  3144. };
  3145. this.resetForm("formS3011");
  3146. },
  3147. resetS3012() {
  3148. this.formS3012 = {
  3149. id: null,
  3150. locationName: null,
  3151. samplePoint: null,
  3152. sampleDate: null,
  3153. sampleName: null,
  3154. acetylene: null,
  3155. carbonMonoxide: null,
  3156. methane: null,
  3157. ethane: null,
  3158. ethylene: null,
  3159. propane: null,
  3160. cycPropane: null,
  3161. propylene: null,
  3162. propadiene: null,
  3163. hydrogen: null,
  3164. deptId: null,
  3165. delFlag: null,
  3166. createBy: null,
  3167. createTime: null,
  3168. updateBy: null,
  3169. updateTime: null
  3170. };
  3171. this.resetForm("formS3012");
  3172. },
  3173. resetS3022() {
  3174. this.formS3022 = {
  3175. id: null,
  3176. locationName: null,
  3177. samplePoint: null,
  3178. sampleDate: null,
  3179. sampleName: null,
  3180. naoh: null,
  3181. na2co3: null,
  3182. na2s: null,
  3183. deptId: null,
  3184. delFlag: null,
  3185. createBy: null,
  3186. createTime: null,
  3187. updateBy: null,
  3188. updateTime: null
  3189. };
  3190. this.resetForm("formS3022");
  3191. },
  3192. resetS4012() {
  3193. this.formS4012 = {
  3194. id: null,
  3195. locationName: null,
  3196. samplePoint: null,
  3197. sampleDate: null,
  3198. sampleName: null,
  3199. methane: null,
  3200. ethane: null,
  3201. ethylene: null,
  3202. propane: null,
  3203. propylene: null,
  3204. deptId: null,
  3205. delFlag: null,
  3206. createBy: null,
  3207. createTime: null,
  3208. updateBy: null,
  3209. updateTime: null
  3210. };
  3211. this.resetForm("formS4012");
  3212. },
  3213. resetS4013() {
  3214. this.formS4013 = {
  3215. id: null,
  3216. locationName: null,
  3217. samplePoint: null,
  3218. sampleDate: null,
  3219. sampleName: null,
  3220. ethane: null,
  3221. methaneEthane: null,
  3222. ethylene: null,
  3223. acetylene: null,
  3224. carbonMonoxide: null,
  3225. carbonDioxide: null,
  3226. deptId: null,
  3227. delFlag: null,
  3228. createBy: null,
  3229. createTime: null,
  3230. updateBy: null,
  3231. updateTime: null
  3232. };
  3233. this.resetForm("formS4013");
  3234. },
  3235. resetS4501() {
  3236. this.formS4501 = {
  3237. id: null,
  3238. locationName: null,
  3239. samplePoint: null,
  3240. sampleDate: null,
  3241. sampleName: null,
  3242. benzene: null,
  3243. toluene: null,
  3244. ethylbenzene: null,
  3245. mXylene: null,
  3246. oXylene: null,
  3247. pXylene: null,
  3248. c5Na: null,
  3249. c6Na: null,
  3250. c7Na: null,
  3251. c8Na: null,
  3252. c9: null,
  3253. c8A: null,
  3254. c4C5Na: null,
  3255. c6C8Na: null,
  3256. c4C8Na: null,
  3257. deptId: null,
  3258. delFlag: null,
  3259. createBy: null,
  3260. createTime: null,
  3261. updateBy: null,
  3262. updateTime: null
  3263. };
  3264. this.resetForm("formS4501");
  3265. },
  3266. resetS5001() {
  3267. this.formS5001 = {
  3268. id: null,
  3269. locationName: null,
  3270. samplePoint: null,
  3271. sampleDate: null,
  3272. sampleName: null,
  3273. propane: null,
  3274. cycPropane: null,
  3275. propylene: null,
  3276. propadiene: null,
  3277. methylacetylene: null,
  3278. deptId: null,
  3279. delFlag: null,
  3280. createBy: null,
  3281. createTime: null,
  3282. updateBy: null,
  3283. updateTime: null
  3284. };
  3285. this.resetForm("formS5001");
  3286. },
  3287. resetS5003() {
  3288. this.formS5003 = {
  3289. id: null,
  3290. locationName: null,
  3291. samplePoint: null,
  3292. sampleDate: null,
  3293. sampleName: null,
  3294. methane: null,
  3295. ethane: null,
  3296. ethylene: null,
  3297. propane: null,
  3298. propadiene: null,
  3299. methylacetylene: null,
  3300. buteneButadiene: null,
  3301. propadieneMethylacetylene: null,
  3302. totals: null,
  3303. paraffine: null,
  3304. propylene: null,
  3305. methanol: null,
  3306. deptId: null,
  3307. delFlag: null,
  3308. createBy: null,
  3309. createTime: null,
  3310. updateBy: null,
  3311. updateTime: null
  3312. };
  3313. this.resetForm("formS5003");
  3314. },
  3315. resetS5010() {
  3316. this.formS5010 = {
  3317. id: null,
  3318. locationName: null,
  3319. samplePoint: null,
  3320. sampleDate: null,
  3321. sampleName: null,
  3322. propylene: null,
  3323. propadiene: null,
  3324. acetylene: null,
  3325. butadiene12: null,
  3326. butadiene13: null,
  3327. methylacetylene: null,
  3328. deptId: null,
  3329. delFlag: null,
  3330. createBy: null,
  3331. createTime: null,
  3332. updateBy: null,
  3333. updateTime: null
  3334. };
  3335. this.resetForm("formS5010");
  3336. },
  3337. resetS5012() {
  3338. this.formS5012 = {
  3339. id: null,
  3340. locationName: null,
  3341. samplePoint: null,
  3342. sampleDate: null,
  3343. sampleName: null,
  3344. propylene: null,
  3345. propadiene: null,
  3346. acetylene: null,
  3347. butadiene12: null,
  3348. butadiene13: null,
  3349. methylacetylene: null,
  3350. deptId: null,
  3351. delFlag: null,
  3352. createBy: null,
  3353. createTime: null,
  3354. updateBy: null,
  3355. updateTime: null
  3356. };
  3357. this.resetForm("formS5012");
  3358. },
  3359. resetS6101() {
  3360. this.formS6101 = {
  3361. id: null,
  3362. locationName: null,
  3363. samplePoint: null,
  3364. sampleDate: null,
  3365. sampleName: null,
  3366. benzene: null,
  3367. toluene: null,
  3368. dcpd: null,
  3369. ethylbenzene: null,
  3370. mXylene: null,
  3371. oXylene: null,
  3372. pXylene: null,
  3373. styrene: null,
  3374. c5Na: null,
  3375. c6Na: null,
  3376. c7Na: null,
  3377. c8Na: null,
  3378. c9: null,
  3379. c8A: null,
  3380. c4C5Na: null,
  3381. c6C8Na: null,
  3382. c4C8Na: null,
  3383. density1: null,
  3384. brNumber: null,
  3385. totalSulfur: null,
  3386. totalNitrogen: null,
  3387. deptId: null,
  3388. delFlag: null,
  3389. createBy: null,
  3390. createTime: null,
  3391. updateBy: null,
  3392. updateTime: null
  3393. };
  3394. this.resetForm("formS6101");
  3395. },
  3396. resetS6107() {
  3397. this.formS6107 = {
  3398. id: null,
  3399. locationName: null,
  3400. samplePoint: null,
  3401. sampleDate: null,
  3402. sampleName: null,
  3403. cod: null,
  3404. ph: null,
  3405. deptId: null,
  3406. delFlag: null,
  3407. createBy: null,
  3408. createTime: null,
  3409. updateBy: null,
  3410. updateTime: null
  3411. };
  3412. this.resetForm("formS6107");
  3413. },
  3414. resetS6301() {
  3415. this.formS6301 = {
  3416. id: null,
  3417. locationName: null,
  3418. samplePoint: null,
  3419. sampleDate: null,
  3420. sampleName: null,
  3421. ic5: null,
  3422. dcpd: null,
  3423. c5: null,
  3424. c5ConjugatedDienesDcpd30: null,
  3425. pentadieneCycc5: null,
  3426. c5ConjugatedDienesDcpd40: null,
  3427. totalSulfur: null,
  3428. silicon: null,
  3429. deptId: null,
  3430. delFlag: null,
  3431. createBy: null,
  3432. createTime: null,
  3433. updateBy: null,
  3434. updateTime: null
  3435. };
  3436. this.resetForm("formS6301");
  3437. },
  3438. resetZ404() {
  3439. this.formZ404 = {
  3440. id: null,
  3441. locationName: null,
  3442. samplePoint: null,
  3443. sampleDate: null,
  3444. sampleName: null,
  3445. methane: null,
  3446. ethane: null,
  3447. ethylene: null,
  3448. propane: null,
  3449. propylene: null,
  3450. unknown: null,
  3451. hydrogen: null,
  3452. deptId: null,
  3453. delFlag: null,
  3454. createBy: null,
  3455. createTime: null,
  3456. updateBy: null,
  3457. updateTime: null
  3458. };
  3459. this.resetForm("formZ404");
  3460. },
  3461. handleAnalysisQuery() {
  3462. this.analysisDescription = null;
  3463. this.comment = null;
  3464. this.analysisQueryParams.startDate = this.analysisSampleDate[0];
  3465. this.analysisQueryParams.endDate = this.analysisSampleDate[1];
  3466. let dictLabel = "";
  3467. for(let i = 0; i < this.analysisOptions.length; i++) {
  3468. if (this.analysisOptions[i].dictValue == this.analysisValue) {
  3469. dictLabel = this.analysisOptions[i].dictLabel;
  3470. }
  3471. }
  3472. switch (this.analysisValue) {
  3473. case "1":
  3474. this.disposeChart();
  3475. listS0501Month(this.analysisQueryParams).then(response => {
  3476. let data = response.data.dataMap;
  3477. this.analysisDescription = response.data.description;
  3478. let pArray = [];
  3479. let iArray = [];
  3480. let oArray = [];
  3481. let nArray = [];
  3482. let fiftyArray = [];
  3483. let sampleDateArray = [];
  3484. for(const key in data) {
  3485. sampleDateArray.push(key);
  3486. pArray.push(data[key].p);
  3487. iArray.push(data[key].i);
  3488. oArray.push(data[key].o);
  3489. nArray.push(data[key].n);
  3490. fiftyArray.push(data[key].fifty);
  3491. }
  3492. let option = {
  3493. title: {
  3494. text: dictLabel,
  3495. left: 'center',
  3496. textStyle: {
  3497. fontSize: 16
  3498. }
  3499. },
  3500. tooltip: {
  3501. trigger: 'axis'
  3502. },
  3503. legend: {
  3504. x: 'center',
  3505. y: 'bottom',
  3506. data: ['正构烷烃', '异构烷烃', '芳烃', '烷烃', '50%BP']
  3507. },
  3508. grid: {
  3509. top: '10%',
  3510. left: '3%',
  3511. right: '4%',
  3512. bottom: '10%',
  3513. containLabel: true
  3514. },
  3515. toolbox: {
  3516. feature: {
  3517. saveAsImage: {}
  3518. }
  3519. },
  3520. xAxis: {
  3521. type: 'category',
  3522. boundaryGap: false,
  3523. data: sampleDateArray,
  3524. axisLabel: {
  3525. interval: 0,
  3526. rotate: 45
  3527. }
  3528. },
  3529. yAxis: {
  3530. type: 'value'
  3531. },
  3532. series: [
  3533. {
  3534. name: '正构烷烃',
  3535. type: 'line',
  3536. data: pArray
  3537. },
  3538. {
  3539. name: '异构烷烃',
  3540. type: 'line',
  3541. data: iArray
  3542. },
  3543. {
  3544. name: '芳烃',
  3545. type: 'line',
  3546. data: oArray
  3547. },
  3548. {
  3549. name: '烷烃',
  3550. type: 'line',
  3551. data: nArray
  3552. },
  3553. {
  3554. name: '50%BP',
  3555. type: 'line',
  3556. data: fiftyArray
  3557. }
  3558. ]
  3559. };
  3560. this.chart = this.echarts.init(document.getElementById('chart'));
  3561. this.chart.setOption(option);
  3562. });
  3563. break;
  3564. case "2":
  3565. this.disposeChart();
  3566. listS0501(this.analysisQueryParams).then(response => {
  3567. let data = response.data.dataList;
  3568. this.analysisDescription = response.data.description;
  3569. let pArray = [];
  3570. let iArray = [];
  3571. let aArray = [];
  3572. let nArray = [];
  3573. let fiftyArray = [];
  3574. let sampleDateArray = [];
  3575. for(let i = 0 ; i < data.length; i++){
  3576. pArray.push(data[i].p);
  3577. iArray.push(data[i].i);
  3578. aArray.push(data[i].a);
  3579. nArray.push(data[i].n);
  3580. fiftyArray.push(data[i].fifty);
  3581. sampleDateArray.push(data[i].sampleDate);
  3582. }
  3583. let option = {
  3584. title: {
  3585. text: dictLabel,
  3586. left: 'center',
  3587. textStyle: {
  3588. fontSize: 16
  3589. }
  3590. },
  3591. tooltip: {
  3592. trigger: 'axis'
  3593. },
  3594. legend: {
  3595. x: 'center',
  3596. y: 'bottom',
  3597. data: ['正构烷烃', '异构烷烃', '芳烃', '烷烃', '50%BP']
  3598. },
  3599. grid: {
  3600. top: '10%',
  3601. left: '3%',
  3602. right: '4%',
  3603. bottom: '10%',
  3604. containLabel: true
  3605. },
  3606. toolbox: {
  3607. feature: {
  3608. saveAsImage: {}
  3609. }
  3610. },
  3611. xAxis: {
  3612. type: 'category',
  3613. boundaryGap: false,
  3614. data: sampleDateArray,
  3615. axisLabel: {
  3616. interval: 0,
  3617. rotate: 45
  3618. }
  3619. },
  3620. yAxis: {
  3621. type: 'value'
  3622. },
  3623. series: [
  3624. {
  3625. name: '正构烷烃',
  3626. type: 'line',
  3627. data: pArray
  3628. },
  3629. {
  3630. name: '异构烷烃',
  3631. type: 'line',
  3632. data: iArray
  3633. },
  3634. {
  3635. name: '芳烃',
  3636. type: 'line',
  3637. data: aArray
  3638. },
  3639. {
  3640. name: '烷烃',
  3641. type: 'line',
  3642. data: nArray
  3643. },
  3644. {
  3645. name: '50%BP',
  3646. type: 'line',
  3647. data: fiftyArray
  3648. }
  3649. ]
  3650. };
  3651. this.chart = this.echarts.init(document.getElementById('chart'));
  3652. this.chart.setOption(option);
  3653. });
  3654. break;
  3655. case "3":
  3656. this.disposeChart();
  3657. listS4013(this.analysisQueryParams).then(response => {
  3658. let data = response.data.dataList;
  3659. let description4013 = response.data.description;
  3660. let ethyleneArray = [];
  3661. let ethyleneIndexArray = [];
  3662. let propyleneArray = [];
  3663. let propyleneIndexArray = [];
  3664. let sampleDateArray = [];
  3665. for(let i = 0 ; i < data.length; i++){
  3666. ethyleneArray.push(data[i].ethylene);
  3667. ethyleneIndexArray.push("99.95");
  3668. sampleDateArray.push(data[i].sampleDate);
  3669. }
  3670. listS5003(this.analysisQueryParams).then(response => {
  3671. let data = response.data.dataList;
  3672. let description5003 = response.data.description;
  3673. this.analysisDescription = description4013 + description5003;
  3674. for(let i = 0 ; i < data.length; i++){
  3675. propyleneArray.push(data[i].propylene);
  3676. propyleneIndexArray.push("99.6");
  3677. }
  3678. let option = {
  3679. title: {
  3680. text: dictLabel,
  3681. left: 'center',
  3682. textStyle: {
  3683. fontSize: 16
  3684. }
  3685. },
  3686. tooltip: {
  3687. trigger: 'axis'
  3688. },
  3689. legend: {
  3690. x: 'center',
  3691. y: 'bottom',
  3692. data: ['Ethylene', '乙烯指标', 'Propylene', '丙烯指标']
  3693. },
  3694. grid: {
  3695. top: '10%',
  3696. left: '3%',
  3697. right: '4%',
  3698. bottom: '10%',
  3699. containLabel: true
  3700. },
  3701. toolbox: {
  3702. feature: {
  3703. saveAsImage: {}
  3704. }
  3705. },
  3706. xAxis: {
  3707. type: 'category',
  3708. boundaryGap: false,
  3709. data: sampleDateArray,
  3710. axisLabel: {
  3711. interval: 0,
  3712. rotate: 45
  3713. }
  3714. },
  3715. yAxis: {
  3716. type: 'value',
  3717. min: 99.5,
  3718. max: 100,
  3719. },
  3720. series: [
  3721. {
  3722. name: 'Ethylene',
  3723. type: 'line',
  3724. data: ethyleneArray
  3725. },
  3726. {
  3727. name: '乙烯指标',
  3728. type: 'line',
  3729. data: ethyleneIndexArray
  3730. },
  3731. {
  3732. name: 'Propylene',
  3733. type: 'line',
  3734. data: propyleneArray
  3735. },
  3736. {
  3737. name: '丙烯指标',
  3738. type: 'line',
  3739. data: propyleneIndexArray
  3740. }
  3741. ]
  3742. };
  3743. this.chart = this.echarts.init(document.getElementById('chart'));
  3744. this.chart.setOption(option);
  3745. });
  3746. });
  3747. break;
  3748. case "4":
  3749. this.disposeChart();
  3750. listS2007(this.analysisQueryParams).then(response => {
  3751. let data = response.data.dataList;
  3752. this.analysisDescription = response.data.description;
  3753. let viscosityArray = [];
  3754. let endPointArray = [];
  3755. let pressureDifferenceArray = [];
  3756. let productionArray = [];
  3757. let sampleDateArray = [];
  3758. for(let i = 0 ; i < data.length; i++){
  3759. viscosityArray.push(data[i].viscosity);
  3760. endPointArray.push(data[i].endPoint);
  3761. pressureDifferenceArray.push(data[i].pressureDifference);
  3762. productionArray.push(data[i].production);
  3763. sampleDateArray.push(data[i].sampleDate);
  3764. }
  3765. let option = {
  3766. title: {
  3767. text: dictLabel,
  3768. left: 'center',
  3769. textStyle: {
  3770. fontSize: 16
  3771. }
  3772. },
  3773. tooltip: {
  3774. trigger: 'axis'
  3775. },
  3776. legend: {
  3777. x: 'center',
  3778. y: 'bottom',
  3779. data: ['QO粘度', '汽油终馏点', '汽油段压差', 'HVGO产量']
  3780. },
  3781. grid: {
  3782. top: '10%',
  3783. left: '3%',
  3784. right: '4%',
  3785. bottom: '10%',
  3786. containLabel: true
  3787. },
  3788. toolbox: {
  3789. feature: {
  3790. saveAsImage: {}
  3791. }
  3792. },
  3793. xAxis: {
  3794. type: 'category',
  3795. boundaryGap: false,
  3796. data: sampleDateArray,
  3797. axisLabel: {
  3798. interval: 0,
  3799. rotate: 45
  3800. }
  3801. },
  3802. yAxis: {
  3803. type: 'value'
  3804. },
  3805. series: [
  3806. {
  3807. name: 'QO粘度',
  3808. type: 'line',
  3809. data: viscosityArray
  3810. },
  3811. {
  3812. name: '汽油终馏点',
  3813. type: 'line',
  3814. data: endPointArray
  3815. },
  3816. {
  3817. name: '汽油段压差',
  3818. type: 'line',
  3819. data: pressureDifferenceArray
  3820. },
  3821. {
  3822. name: 'HVGO产量',
  3823. type: 'line',
  3824. data: productionArray
  3825. }
  3826. ]
  3827. };
  3828. this.chart = this.echarts.init(document.getElementById('chart'));
  3829. this.chart.setOption(option);
  3830. });
  3831. break;
  3832. case "5":
  3833. listS2002(this.analysisQueryParams).then(response => {
  3834. let data = response.data.dataList;
  3835. let description2002 = response.data.description;
  3836. let cod2002Array = [];
  3837. let ph2002Array = [];
  3838. let cod2400Array = [];
  3839. let ph2400Array = [];
  3840. let codIndexArray = [];
  3841. let phIndexArray = [];
  3842. let sampleDateArray = [];
  3843. for(let i = 0 ; i < data.length; i++){
  3844. cod2002Array.push(data[i].cod);
  3845. ph2002Array.push(data[i].ph);
  3846. codIndexArray .push("1400");
  3847. phIndexArray .push("8.5");
  3848. sampleDateArray.push(data[i].sampleDate);
  3849. }
  3850. listS2400(this.analysisQueryParams).then(response => {
  3851. let data = response.data.dataList;
  3852. let description2400 = response.data.description;
  3853. this.analysisDescription = description2002 + description2400;
  3854. for(let i = 0 ; i < data.length; i++){
  3855. cod2400Array.push(data[i].cod);
  3856. ph2400Array.push(data[i].ph);
  3857. }
  3858. let option = {
  3859. title: {
  3860. text: dictLabel,
  3861. left: 'center',
  3862. textStyle: {
  3863. fontSize: 16
  3864. }
  3865. },
  3866. tooltip: {
  3867. trigger: 'axis'
  3868. },
  3869. legend: {
  3870. x: 'center',
  3871. y: 'bottom',
  3872. data: ['C270 COD', 'C290 COD', 'COD指标', 'C270 PH', 'C290 PH', 'PH指标',]
  3873. },
  3874. grid: {
  3875. top: '10%',
  3876. left: '3%',
  3877. right: '4%',
  3878. bottom: '10%',
  3879. containLabel: true
  3880. },
  3881. toolbox: {
  3882. feature: {
  3883. saveAsImage: {}
  3884. }
  3885. },
  3886. xAxis: {
  3887. type: 'category',
  3888. boundaryGap: false,
  3889. data: sampleDateArray,
  3890. axisLabel: {
  3891. interval: 0,
  3892. rotate: 45
  3893. }
  3894. },
  3895. yAxis: [
  3896. {
  3897. type: 'value',
  3898. position: 'left'
  3899. },
  3900. {
  3901. type: 'value',
  3902. position: 'right'
  3903. }
  3904. ],
  3905. series: [
  3906. {
  3907. name: 'C270 COD',
  3908. type: 'line',
  3909. data: cod2002Array,
  3910. yAxisIndex: 0
  3911. },
  3912. {
  3913. name: 'C290 COD',
  3914. type: 'line',
  3915. data: cod2400Array,
  3916. yAxisIndex: 0
  3917. },
  3918. {
  3919. name: 'COD指标',
  3920. type: 'line',
  3921. data: codIndexArray,
  3922. yAxisIndex: 0
  3923. },
  3924. {
  3925. name: 'C270 PH',
  3926. type: 'line',
  3927. data: ph2002Array,
  3928. yAxisIndex: 1
  3929. },
  3930. {
  3931. name: 'C290 PH',
  3932. type: 'line',
  3933. data: ph2400Array,
  3934. yAxisIndex: 1
  3935. },
  3936. {
  3937. name: 'PH指标',
  3938. type: 'line',
  3939. data: phIndexArray,
  3940. yAxisIndex: 1
  3941. }
  3942. ]
  3943. };
  3944. this.chart = this.echarts.init(document.getElementById('chart'));
  3945. this.chart.setOption(option);
  3946. });
  3947. });
  3948. break;
  3949. case "6":
  3950. this.disposeChart();
  3951. listS3004(this.analysisQueryParams).then(response => {
  3952. let data = response.data.dataList;
  3953. this.analysisDescription = response.data.description;
  3954. let naOhArray = [];
  3955. let controlArray = [];
  3956. let sampleDateArray = [];
  3957. for(let i = 0 ; i < data.length; i++){
  3958. naOhArray.push(data[i].naOh);
  3959. controlArray.push(1);
  3960. sampleDateArray.push(data[i].sampleDate);
  3961. }
  3962. let option = {
  3963. title: {
  3964. text: dictLabel,
  3965. left: 'center',
  3966. textStyle: {
  3967. fontSize: 16
  3968. }
  3969. },
  3970. tooltip: {
  3971. trigger: 'axis'
  3972. },
  3973. legend: {
  3974. x: 'center',
  3975. y: 'bottom',
  3976. data: ['弱碱段NaOH浓度', 'C340排出NaOH控制']
  3977. },
  3978. grid: {
  3979. top: '10%',
  3980. left: '3%',
  3981. right: '4%',
  3982. bottom: '10%',
  3983. containLabel: true
  3984. },
  3985. toolbox: {
  3986. feature: {
  3987. saveAsImage: {}
  3988. }
  3989. },
  3990. xAxis: {
  3991. type: 'category',
  3992. boundaryGap: false,
  3993. data: sampleDateArray,
  3994. axisLabel: {
  3995. interval: 0,
  3996. rotate: 45
  3997. }
  3998. },
  3999. yAxis: {
  4000. type: 'value'
  4001. },
  4002. series: [
  4003. {
  4004. name: '弱碱段NaOH浓度',
  4005. type: 'line',
  4006. data: naOhArray
  4007. },
  4008. {
  4009. name: 'C340排出NaOH控制',
  4010. type: 'line',
  4011. data: controlArray
  4012. }
  4013. ]
  4014. };
  4015. this.chart = this.echarts.init(document.getElementById('chart'));
  4016. this.chart.setOption(option);
  4017. });
  4018. break;
  4019. case "7":
  4020. this.disposeChart();
  4021. listS6107(this.analysisQueryParams).then(response => {
  4022. let data = response.data.dataList;
  4023. this.analysisDescription = response.data.description;
  4024. let codArray = [];
  4025. let controlArray = [];
  4026. let phArray = [];
  4027. let sampleDateArray = [];
  4028. for(let i = 0 ; i < data.length; i++){
  4029. codArray.push(data[i].cod);
  4030. controlArray.push(1000);
  4031. phArray.push(data[i].ph);
  4032. sampleDateArray.push(data[i].sampleDate);
  4033. }
  4034. let option = {
  4035. title: {
  4036. text: dictLabel,
  4037. left: 'center',
  4038. textStyle: {
  4039. fontSize: 16
  4040. }
  4041. },
  4042. tooltip: {
  4043. trigger: 'axis'
  4044. },
  4045. legend: {
  4046. x: 'center',
  4047. y: 'bottom',
  4048. data: ['废碱处理pH', 'COD控制', '废碱处理COD']
  4049. },
  4050. grid: {
  4051. top: '10%',
  4052. left: '3%',
  4053. right: '4%',
  4054. bottom: '10%',
  4055. containLabel: true
  4056. },
  4057. toolbox: {
  4058. feature: {
  4059. saveAsImage: {}
  4060. }
  4061. },
  4062. xAxis: {
  4063. type: 'category',
  4064. boundaryGap: false,
  4065. data: sampleDateArray,
  4066. axisLabel: {
  4067. interval: 0,
  4068. rotate: 45
  4069. }
  4070. },
  4071. yAxis: [
  4072. {
  4073. type: 'value',
  4074. position: 'left'
  4075. },
  4076. {
  4077. type: 'value',
  4078. position: 'right'
  4079. }
  4080. ],
  4081. series: [
  4082. {
  4083. name: '废碱处理pH',
  4084. type: 'line',
  4085. data: codArray,
  4086. yAxisIndex: 0
  4087. },
  4088. {
  4089. name: 'COD控制',
  4090. type: 'line',
  4091. data: controlArray,
  4092. yAxisIndex: 0
  4093. },
  4094. {
  4095. name: '废碱处理COD',
  4096. type: 'line',
  4097. data: phArray,
  4098. yAxisIndex: 1
  4099. }
  4100. ]
  4101. };
  4102. this.chart = this.echarts.init(document.getElementById('chart'));
  4103. this.chart.setOption(option);
  4104. });
  4105. break;
  4106. case "8":
  4107. this.disposeChart();
  4108. listS4012(this.analysisQueryParams).then(response => {
  4109. let data = response.data.dataList;
  4110. this.analysisDescription = response.data.description;
  4111. let ethyleneArray = [];
  4112. let propyleneArray = [];
  4113. let sampleDateArray = [];
  4114. for(let i = 0 ; i < data.length; i++){
  4115. ethyleneArray.push(data[i].ethylene);
  4116. propyleneArray.push(data[i].propylene);
  4117. sampleDateArray.push(data[i].sampleDate);
  4118. }
  4119. let option = {
  4120. title: {
  4121. text: dictLabel,
  4122. left: 'center',
  4123. textStyle: {
  4124. fontSize: 16
  4125. }
  4126. },
  4127. tooltip: {
  4128. trigger: 'axis'
  4129. },
  4130. legend: {
  4131. x: 'center',
  4132. y: 'bottom',
  4133. data: ['乙烯', '丙烯']
  4134. },
  4135. grid: {
  4136. top: '10%',
  4137. left: '3%',
  4138. right: '4%',
  4139. bottom: '10%',
  4140. containLabel: true
  4141. },
  4142. toolbox: {
  4143. feature: {
  4144. saveAsImage: {}
  4145. }
  4146. },
  4147. xAxis: {
  4148. type: 'category',
  4149. boundaryGap: false,
  4150. data: sampleDateArray,
  4151. axisLabel: {
  4152. interval: 0,
  4153. rotate: 45
  4154. }
  4155. },
  4156. yAxis: {
  4157. type: 'value'
  4158. },
  4159. series: [
  4160. {
  4161. name: '乙烯',
  4162. type: 'line',
  4163. data: ethyleneArray
  4164. },
  4165. {
  4166. name: '丙烯',
  4167. type: 'line',
  4168. data: propyleneArray
  4169. }
  4170. ]
  4171. };
  4172. this.chart = this.echarts.init(document.getElementById('chart'));
  4173. this.chart.setOption(option);
  4174. });
  4175. break;
  4176. case "9":
  4177. this.disposeChart();
  4178. listS5001(this.analysisQueryParams).then(response => {
  4179. let data = response.data.dataList;
  4180. this.analysisDescription = response.data.description;
  4181. let buteneArray = [];
  4182. let propyleneArray = [];
  4183. let sampleDateArray = [];
  4184. let mapdArray = [];
  4185. for(let i = 0 ; i < data.length; i++){
  4186. buteneArray.push(data[i].butene);
  4187. propyleneArray.push(data[i].propylene);
  4188. mapdArray.push(data[i].mapd);
  4189. sampleDateArray.push(data[i].sampleDate);
  4190. }
  4191. let option = {
  4192. title: {
  4193. text: dictLabel,
  4194. left: 'center',
  4195. textStyle: {
  4196. fontSize: 16
  4197. }
  4198. },
  4199. tooltip: {
  4200. trigger: 'axis'
  4201. },
  4202. legend: {
  4203. x: 'center',
  4204. y: 'bottom',
  4205. data: ['丁烯', '丙烯', "MAPD"]
  4206. },
  4207. grid: {
  4208. top: '10%',
  4209. left: '3%',
  4210. right: '4%',
  4211. bottom: '10%',
  4212. containLabel: true
  4213. },
  4214. toolbox: {
  4215. feature: {
  4216. saveAsImage: {}
  4217. }
  4218. },
  4219. xAxis: {
  4220. type: 'category',
  4221. boundaryGap: false,
  4222. data: sampleDateArray,
  4223. axisLabel: {
  4224. interval: 0,
  4225. rotate: 45
  4226. }
  4227. },
  4228. yAxis: [
  4229. {
  4230. type: 'value',
  4231. position: 'left'
  4232. },
  4233. {
  4234. type: 'value',
  4235. position: 'right'
  4236. }
  4237. ],
  4238. series: [
  4239. {
  4240. name: '丁烯',
  4241. type: 'line',
  4242. data: buteneArray,
  4243. yAxisIndex: 0
  4244. },
  4245. {
  4246. name: '丙烯',
  4247. type: 'line',
  4248. data: propyleneArray,
  4249. yAxisIndex: 0
  4250. },
  4251. {
  4252. name: 'MAPD',
  4253. type: 'line',
  4254. data: mapdArray,
  4255. yAxisIndex: 1
  4256. }
  4257. ]
  4258. };
  4259. this.chart = this.echarts.init(document.getElementById('chart'));
  4260. this.chart.setOption(option);
  4261. });
  4262. break;
  4263. case "10":
  4264. this.disposeChart();
  4265. c2ReactorAnalysis(this.analysisQueryParams).then(response => {
  4266. let data = response.data.dataMap;
  4267. this.analysisDescription = response.data.description;
  4268. let ethyleneSelectivity3rdOutArray = [];
  4269. let mapdConversion3rdOutArray = [];
  4270. let sampleDateArray = [];
  4271. for(const key in data) {
  4272. sampleDateArray.push(key);
  4273. ethyleneSelectivity3rdOutArray.push(data[key].ethyleneSelectivity3rdOut);
  4274. mapdConversion3rdOutArray.push(data[key].mapdConversion3rdOut);
  4275. }
  4276. let option = {
  4277. title: {
  4278. text: dictLabel,
  4279. left: 'center',
  4280. textStyle: {
  4281. fontSize: 16
  4282. }
  4283. },
  4284. tooltip: {
  4285. trigger: 'axis'
  4286. },
  4287. legend: {
  4288. x: 'center',
  4289. y: 'bottom',
  4290. data: ['Ethylene Selectivity', 'MAPD Conversion']
  4291. },
  4292. grid: {
  4293. top: '10%',
  4294. left: '3%',
  4295. right: '4%',
  4296. bottom: '10%',
  4297. containLabel: true
  4298. },
  4299. toolbox: {
  4300. feature: {
  4301. saveAsImage: {}
  4302. }
  4303. },
  4304. xAxis: {
  4305. type: 'category',
  4306. boundaryGap: false,
  4307. data: sampleDateArray,
  4308. axisLabel: {
  4309. interval: 0,
  4310. rotate: 45
  4311. }
  4312. },
  4313. yAxis: {
  4314. type: 'value'
  4315. },
  4316. series: [
  4317. {
  4318. name: 'Ethylene Selectivity',
  4319. type: 'line',
  4320. data: ethyleneSelectivity3rdOutArray
  4321. },
  4322. {
  4323. name: 'MAPD Conversion',
  4324. type: 'line',
  4325. data: mapdConversion3rdOutArray
  4326. }
  4327. ]
  4328. };
  4329. this.chart = this.echarts.init(document.getElementById('chart'));
  4330. this.chart.setOption(option);
  4331. });
  4332. c2ReactorTable({
  4333. "startDate": this.analysisSampleDate[0],
  4334. "endDate": this.analysisSampleDate[1]
  4335. }).then(response => {
  4336. let data = response.data;
  4337. this.c2ReactorTableData = data;
  4338. this.showC2Table = true;
  4339. });
  4340. break;
  4341. case "11":
  4342. this.disposeChart();
  4343. c3ReactorAnalysis(this.analysisQueryParams).then(response => {
  4344. let data = response.data.dataMap;
  4345. this.analysisDescription = response.data.description;
  4346. let conversionArray = [];
  4347. let propyleneSelectivityArray = [];
  4348. let sampleDateArray = [];
  4349. for(const key in data) {
  4350. sampleDateArray.push(key);
  4351. conversionArray.push(data[key].conversion);
  4352. propyleneSelectivityArray.push(data[key].propyleneSelectivity);
  4353. }
  4354. let option = {
  4355. title: {
  4356. text: dictLabel,
  4357. left: 'center',
  4358. textStyle: {
  4359. fontSize: 16
  4360. }
  4361. },
  4362. tooltip: {
  4363. trigger: 'axis'
  4364. },
  4365. legend: {
  4366. x: 'center',
  4367. y: 'bottom',
  4368. data: ['conversion', 'Selectivity']
  4369. },
  4370. grid: {
  4371. top: '10%',
  4372. left: '3%',
  4373. right: '4%',
  4374. bottom: '10%',
  4375. containLabel: true
  4376. },
  4377. toolbox: {
  4378. feature: {
  4379. saveAsImage: {}
  4380. }
  4381. },
  4382. xAxis: {
  4383. type: 'category',
  4384. boundaryGap: false,
  4385. data: sampleDateArray,
  4386. axisLabel: {
  4387. interval: 0,
  4388. rotate: 45
  4389. }
  4390. },
  4391. yAxis: {
  4392. type: 'value'
  4393. },
  4394. series: [
  4395. {
  4396. name: 'conversion',
  4397. type: 'line',
  4398. data: conversionArray
  4399. },
  4400. {
  4401. name: 'Selectivity',
  4402. type: 'line',
  4403. data: propyleneSelectivityArray
  4404. }
  4405. ]
  4406. };
  4407. this.chart = this.echarts.init(document.getElementById('chart'));
  4408. this.chart.setOption(option);
  4409. });
  4410. c3ReactorTable({
  4411. "startDate": this.analysisSampleDate[0],
  4412. "endDate": this.analysisSampleDate[1]
  4413. }).then(response => {
  4414. let data = response.data;
  4415. this.c3ReactorTableData = data;
  4416. this.showC3Table = true;
  4417. });
  4418. break;
  4419. case "12":
  4420. this.disposeChart();
  4421. listS6301(this.analysisQueryParams).then(response => {
  4422. let data = response.data.dataList;
  4423. this.analysisDescription = response.data.description;
  4424. let c5ConjugatedDienesDcpdArray = [];
  4425. let c250Array = [];
  4426. let c4Array = [];
  4427. let sampleDateArray = [];
  4428. for(let i = 0 ; i < data.length; i++){
  4429. let c5ConjugatedDienesDcpd30 = data[i].c5ConjugatedDienesDcpd30;
  4430. let c5ConjugatedDienesDcpd40 = data[i].c5ConjugatedDienesDcpd40;
  4431. if (c5ConjugatedDienesDcpd30 != null) {
  4432. c5ConjugatedDienesDcpdArray.push(c5ConjugatedDienesDcpd30);
  4433. } else if (c5ConjugatedDienesDcpd40 != null) {
  4434. c5ConjugatedDienesDcpdArray.push(c5ConjugatedDienesDcpd40);
  4435. } else {
  4436. c5ConjugatedDienesDcpdArray.push("");
  4437. }
  4438. c250Array.push(data[i].c250);
  4439. let c4 = data[i].c4;
  4440. let c410 = data[i].c410;
  4441. if (c4 != null) {
  4442. c4Array.push(c4);
  4443. } else if (c410 != null) {
  4444. c4Array.push(c410);
  4445. } else {
  4446. c4Array.push("");
  4447. }
  4448. sampleDateArray.push(data[i].sampleDate);
  4449. }
  4450. let option = {
  4451. title: {
  4452. text: dictLabel,
  4453. left: 'center',
  4454. textStyle: {
  4455. fontSize: 16
  4456. }
  4457. },
  4458. tooltip: {
  4459. trigger: 'axis'
  4460. },
  4461. legend: {
  4462. x: 'center',
  4463. y: 'bottom',
  4464. data: ['碳五共轭双烯烃+双环戊二烯', 'C250 灵敏板T', 'C4及C4以下组分含量']
  4465. },
  4466. grid: {
  4467. top: '10%',
  4468. left: '3%',
  4469. right: '4%',
  4470. bottom: '10%',
  4471. containLabel: true
  4472. },
  4473. toolbox: {
  4474. feature: {
  4475. saveAsImage: {}
  4476. }
  4477. },
  4478. xAxis: {
  4479. type: 'category',
  4480. boundaryGap: false,
  4481. data: sampleDateArray,
  4482. axisLabel: {
  4483. interval: 0,
  4484. rotate: 45
  4485. }
  4486. },
  4487. yAxis: [
  4488. {
  4489. type: 'value',
  4490. position: 'left'
  4491. },
  4492. {
  4493. type: 'value',
  4494. position: 'right'
  4495. }
  4496. ],
  4497. series: [
  4498. {
  4499. name: '碳五共轭双烯烃+双环戊二烯',
  4500. type: 'line',
  4501. data: c5ConjugatedDienesDcpdArray,
  4502. yAxisIndex: 0
  4503. },
  4504. {
  4505. name: 'C250 灵敏板T',
  4506. type: 'line',
  4507. data: c250Array,
  4508. yAxisIndex: 0
  4509. },
  4510. {
  4511. name: 'C4及C4以下组分含量',
  4512. type: 'line',
  4513. data: c4Array,
  4514. yAxisIndex: 1
  4515. }
  4516. ]
  4517. };
  4518. this.chart = this.echarts.init(document.getElementById('chart'));
  4519. this.chart.setOption(option);
  4520. });
  4521. break;
  4522. case "13":
  4523. this.disposeChart();
  4524. listS6101(this.analysisQueryParams).then(response => {
  4525. let data = response.data.dataList;
  4526. this.analysisDescription = response.data.description;
  4527. let brNumberArray = [];
  4528. let totalSulfurArray = [];
  4529. let totalNitrogenArray = [];
  4530. let sampleDateArray = [];
  4531. for(let i = 0 ; i < data.length; i++){
  4532. brNumberArray.push(data[i].brNumber);
  4533. totalSulfurArray.push(data[i].totalSulfur);
  4534. totalNitrogenArray.push(data[i].totalNitrogen);
  4535. sampleDateArray.push(data[i].sampleDate);
  4536. }
  4537. let option = {
  4538. title: {
  4539. text: dictLabel,
  4540. left: 'center',
  4541. textStyle: {
  4542. fontSize: 16
  4543. }
  4544. },
  4545. tooltip: {
  4546. trigger: 'axis'
  4547. },
  4548. legend: {
  4549. x: 'center',
  4550. y: 'bottom',
  4551. data: ['溴价gBr/100g', '总硫mg/kg', '总氮mg/kg']
  4552. },
  4553. grid: {
  4554. top: '10%',
  4555. left: '3%',
  4556. right: '4%',
  4557. bottom: '10%',
  4558. containLabel: true
  4559. },
  4560. toolbox: {
  4561. feature: {
  4562. saveAsImage: {}
  4563. }
  4564. },
  4565. xAxis: {
  4566. type: 'category',
  4567. boundaryGap: false,
  4568. data: sampleDateArray,
  4569. axisLabel: {
  4570. interval: 0,
  4571. rotate: 45
  4572. }
  4573. },
  4574. yAxis: {
  4575. type: 'value'
  4576. },
  4577. series: [
  4578. {
  4579. name: '溴价gBr/100g',
  4580. type: 'scatter',
  4581. data: brNumberArray
  4582. },
  4583. {
  4584. name: '总硫mg/kg',
  4585. type: 'scatter',
  4586. data: totalSulfurArray
  4587. },
  4588. {
  4589. name: '总氮mg/kg',
  4590. type: 'scatter',
  4591. data: totalNitrogenArray
  4592. }
  4593. ]
  4594. };
  4595. this.chart = this.echarts.init(document.getElementById('chart'));
  4596. this.chart.setOption(option);
  4597. });
  4598. break;
  4599. case "14":
  4600. this.disposeChart();
  4601. listS1301(this.analysisQueryParams).then(response => {
  4602. let data = response.data.dataList;
  4603. this.analysisDescription = response.data.description;
  4604. let temperatureInArray = [];
  4605. let temperatureRaiseArray = [];
  4606. let styreneArray = [];
  4607. let dieneValueArray = [];
  4608. let sampleDateArray = [];
  4609. for(let i = 0 ; i < data.length; i++){
  4610. temperatureInArray.push(data[i].temperatureIn);
  4611. temperatureRaiseArray.push(data[i].temperatureRaise);
  4612. styreneArray.push(data[i].styrene);
  4613. dieneValueArray.push(data[i].dieneValue);
  4614. sampleDateArray.push(data[i].sampleDate);
  4615. }
  4616. let option = {
  4617. title: {
  4618. text: dictLabel,
  4619. left: 'center',
  4620. textStyle: {
  4621. fontSize: 16
  4622. }
  4623. },
  4624. tooltip: {
  4625. trigger: 'axis'
  4626. },
  4627. legend: {
  4628. x: 'center',
  4629. y: 'bottom',
  4630. data: ['入口温度', '一段温升', '苯乙烯(0.18-0.8)', '双烯值(0.2-1.5)']
  4631. },
  4632. grid: {
  4633. top: '10%',
  4634. left: '3%',
  4635. right: '4%',
  4636. bottom: '10%',
  4637. containLabel: true
  4638. },
  4639. toolbox: {
  4640. feature: {
  4641. saveAsImage: {}
  4642. }
  4643. },
  4644. xAxis: {
  4645. type: 'category',
  4646. boundaryGap: false,
  4647. data: sampleDateArray,
  4648. axisLabel: {
  4649. interval: 0,
  4650. rotate: 45
  4651. }
  4652. },
  4653. yAxis: [
  4654. {
  4655. type: 'value',
  4656. position: 'left'
  4657. },
  4658. {
  4659. type: 'value',
  4660. position: 'right'
  4661. }
  4662. ],
  4663. series: [
  4664. {
  4665. name: '入口温度',
  4666. type: 'line',
  4667. data: temperatureInArray,
  4668. yAxisIndex: 0
  4669. },
  4670. {
  4671. name: '一段温升',
  4672. type: 'line',
  4673. data: temperatureRaiseArray,
  4674. yAxisIndex: 0
  4675. },
  4676. {
  4677. name: '苯乙烯(0.18-0.8)',
  4678. type: 'line',
  4679. data: styreneArray,
  4680. yAxisIndex: 1
  4681. },
  4682. {
  4683. name: '双烯值(0.2-1.5)',
  4684. type: 'line',
  4685. data: dieneValueArray,
  4686. yAxisIndex: 1
  4687. }
  4688. ]
  4689. };
  4690. this.chart = this.echarts.init(document.getElementById('chart'));
  4691. this.chart.setOption(option);
  4692. });
  4693. break;
  4694. case "15":
  4695. this.disposeChart();
  4696. listS4501(this.analysisQueryParams).then(response => {
  4697. let data = response.data.dataList;
  4698. this.analysisDescription = response.data.description;
  4699. let temperatureInArray = [];
  4700. let temperatureRaiseArray = [];
  4701. let pressureDiffArray = [];
  4702. let c6C8NaArray = [];
  4703. let brNumberArray = [];
  4704. let sampleDateArray = [];
  4705. for(let i = 0 ; i < data.length; i++){
  4706. temperatureInArray.push(data[i].temperatureIn);
  4707. temperatureRaiseArray.push(data[i].temperatureRaise);
  4708. pressureDiffArray.push(data[i].pressureDiff);
  4709. c6C8NaArray.push(data[i].c6C8Na);
  4710. brNumberArray.push(data[i].brNumber);
  4711. sampleDateArray.push(data[i].sampleDate);
  4712. }
  4713. let option = {
  4714. title: {
  4715. text: dictLabel,
  4716. left: 'center',
  4717. textStyle: {
  4718. fontSize: 16
  4719. }
  4720. },
  4721. tooltip: {
  4722. trigger: 'axis'
  4723. },
  4724. legend: {
  4725. x: 'center',
  4726. y: 'bottom',
  4727. data: ['入口温度', '温升', '压差 100Pa', '新鲜C6-C8', '溴价指数']
  4728. },
  4729. grid: {
  4730. top: '10%',
  4731. left: '3%',
  4732. right: '4%',
  4733. bottom: '10%',
  4734. containLabel: true
  4735. },
  4736. toolbox: {
  4737. feature: {
  4738. saveAsImage: {}
  4739. }
  4740. },
  4741. xAxis: {
  4742. type: 'category',
  4743. boundaryGap: false,
  4744. data: sampleDateArray,
  4745. axisLabel: {
  4746. interval: 0,
  4747. rotate: 45
  4748. }
  4749. },
  4750. yAxis: [
  4751. {
  4752. type: 'value',
  4753. position: 'left'
  4754. },
  4755. {
  4756. type: 'value',
  4757. position: 'right'
  4758. }
  4759. ],
  4760. series: [
  4761. {
  4762. name: '入口温度',
  4763. type: 'line',
  4764. data: temperatureInArray,
  4765. yAxisIndex: 0
  4766. },
  4767. {
  4768. name: '温升',
  4769. type: 'line',
  4770. data: temperatureRaiseArray,
  4771. yAxisIndex: 0
  4772. },
  4773. {
  4774. name: '压差 100Pa',
  4775. type: 'line',
  4776. data: pressureDiffArray,
  4777. yAxisIndex: 0
  4778. },
  4779. {
  4780. name: '新鲜C6-C8',
  4781. type: 'line',
  4782. data: c6C8NaArray,
  4783. yAxisIndex: 1
  4784. },
  4785. {
  4786. name: '溴价指数',
  4787. type: 'line',
  4788. data: brNumberArray,
  4789. yAxisIndex: 1
  4790. }
  4791. ]
  4792. };
  4793. this.chart = this.echarts.init(document.getElementById('chart'));
  4794. this.chart.setOption(option);
  4795. });
  4796. break;
  4797. }
  4798. getCommentInfo({
  4799. "commentType": this.analysisValue,
  4800. "startDate": this.sampleDate[0],
  4801. "endDate": this.sampleDate[1]
  4802. }).then(response => {
  4803. this.comment = response.data.qualityComment;
  4804. });
  4805. },
  4806. /** 搜索按钮操作 */
  4807. handleQuery() {
  4808. this.getList();
  4809. },
  4810. /** 修改按钮操作 */
  4811. handleUpdate(row) {
  4812. if (row.samplePoint == 'S0501' || row.samplePoint == 'S-0501') {
  4813. this.resetS0501();
  4814. getS0501(row.id).then(response => {
  4815. this.formS0501 = response.data;
  4816. this.openS0501 = true;
  4817. this.title = "修改质量月报";
  4818. });
  4819. } else if (row.samplePoint == 'S1301' || row.samplePoint == 'S-1301') {
  4820. this.resetS1301();
  4821. getS1301(row.id).then(response => {
  4822. this.formS1301 = response.data;
  4823. this.openS1301 = true;
  4824. this.title = "修改质量月报";
  4825. });
  4826. } else if (row.samplePoint == 'S2002' || row.samplePoint == 'S-2002') {
  4827. this.resetS2002();
  4828. getS2002(row.id).then(response => {
  4829. this.formS2002 = response.data;
  4830. this.openS2002 = true;
  4831. this.title = "修改质量月报";
  4832. });
  4833. } else if (row.samplePoint == 'S2005' || row.samplePoint == 'S-2005') {
  4834. this.resetS2005();
  4835. getS2005(row.id).then(response => {
  4836. this.formS2005 = response.data;
  4837. this.openS2005 = true;
  4838. this.title = "修改质量月报";
  4839. });
  4840. } else if (row.samplePoint == 'S2007' || row.samplePoint == 'S-2007') {
  4841. this.resetS2007();
  4842. getS2007(row.id).then(response => {
  4843. this.formS2007 = response.data;
  4844. this.openS2007 = true;
  4845. this.title = "修改质量月报";
  4846. });
  4847. } else if (row.samplePoint == 'S2011' || row.samplePoint == 'S-2011') {
  4848. this.resetS2011();
  4849. getS2011(row.id).then(response => {
  4850. this.formS2011 = response.data;
  4851. this.openS2011 = true;
  4852. this.title = "修改质量月报";
  4853. });
  4854. } else if (row.samplePoint == 'S2400' || row.samplePoint == 'S-2400') {
  4855. this.resetS2400();
  4856. getS2400(row.id).then(response => {
  4857. this.formS2400 = response.data;
  4858. this.openS2400 = true;
  4859. this.title = "修改质量月报";
  4860. });
  4861. } else if (row.samplePoint == 'S3004' || row.samplePoint == 'S-3004') {
  4862. this.resetS3004();
  4863. getS3004(row.id).then(response => {
  4864. this.formS3004 = response.data;
  4865. this.openS3004 = true;
  4866. this.title = "修改质量月报";
  4867. });
  4868. } else if (row.samplePoint == 'S3009' || row.samplePoint == 'S-3009') {
  4869. this.resetS3009();
  4870. getS3009(row.id).then(response => {
  4871. this.formS3009 = response.data;
  4872. this.openS3009 = true;
  4873. this.title = "修改质量月报";
  4874. });
  4875. } else if (row.samplePoint == 'S3010' || row.samplePoint == 'S-3010') {
  4876. this.resetS3010();
  4877. getS3010(row.id).then(response => {
  4878. this.formS3010 = response.data;
  4879. this.openS3010 = true;
  4880. this.title = "修改质量月报";
  4881. });
  4882. } else if (row.samplePoint == 'S3011' || row.samplePoint == 'S-3011') {
  4883. this.resetS3011();
  4884. getS3011(row.id).then(response => {
  4885. this.formS3011 = response.data;
  4886. this.openS3011 = true;
  4887. this.title = "修改质量月报";
  4888. });
  4889. } else if (row.samplePoint == 'S3012' || row.samplePoint == 'S-3012') {
  4890. this.resetS3012();
  4891. getS3012(row.id).then(response => {
  4892. this.formS3012 = response.data;
  4893. this.openS3012 = true;
  4894. this.title = "修改质量月报";
  4895. });
  4896. } else if (row.samplePoint == 'S3022' || row.samplePoint == 'S-3022') {
  4897. this.resetS3022();
  4898. getS3022(row.id).then(response => {
  4899. this.formS3022 = response.data;
  4900. this.openS3022 = true;
  4901. this.title = "修改质量月报";
  4902. });
  4903. } else if (row.samplePoint == 'S4012' || row.samplePoint == 'S-4012') {
  4904. this.resetS4012();
  4905. getS4012(row.id).then(response => {
  4906. this.formS4012 = response.data;
  4907. this.openS4012 = true;
  4908. this.title = "修改质量月报";
  4909. });
  4910. } else if (row.samplePoint == 'S4013' || row.samplePoint == 'S-4013') {
  4911. this.resetS4013();
  4912. getS4013(row.id).then(response => {
  4913. this.formS4013 = response.data;
  4914. this.openS4013 = true;
  4915. this.title = "修改质量月报";
  4916. });
  4917. } else if (row.samplePoint == 'S4501' || row.samplePoint == 'S-4501') {
  4918. this.resetS4501();
  4919. getS4501(row.id).then(response => {
  4920. this.formS4501 = response.data;
  4921. this.openS4501 = true;
  4922. this.title = "修改质量月报";
  4923. });
  4924. } else if (row.samplePoint == 'S5001' || row.samplePoint == 'S-5001') {
  4925. this.resetS5001();
  4926. getS5001(row.id).then(response => {
  4927. this.formS5001 = response.data;
  4928. this.openS5001 = true;
  4929. this.title = "修改质量月报";
  4930. });
  4931. } else if (row.samplePoint == 'S5003' || row.samplePoint == 'S-5003') {
  4932. this.resetS5003();
  4933. getS5003(row.id).then(response => {
  4934. this.formS5003 = response.data;
  4935. this.openS5003 = true;
  4936. this.title = "修改质量月报";
  4937. });
  4938. } else if (row.samplePoint == 'S5010' || row.samplePoint == 'S-5010') {
  4939. this.resetS5010();
  4940. getS5010(row.id).then(response => {
  4941. this.formS5010 = response.data;
  4942. this.openS5010 = true;
  4943. this.title = "修改质量月报";
  4944. });
  4945. } else if (row.samplePoint == 'S5012' || row.samplePoint == 'S-5012') {
  4946. this.resetS5012();
  4947. getS5012(row.id).then(response => {
  4948. this.formS5012 = response.data;
  4949. this.openS5012 = true;
  4950. this.title = "修改质量月报";
  4951. });
  4952. } else if (row.samplePoint == 'S6101' || row.samplePoint == 'S-6101') {
  4953. this.resetS6101();
  4954. getS6101(row.id).then(response => {
  4955. this.formS6101 = response.data;
  4956. this.openS6101 = true;
  4957. this.title = "修改质量月报";
  4958. });
  4959. } else if (row.samplePoint == 'S6107' || row.samplePoint == 'S-6107') {
  4960. this.resetS6107();
  4961. getS6107(row.id).then(response => {
  4962. this.formS6107 = response.data;
  4963. this.openS6107 = true;
  4964. this.title = "修改质量月报";
  4965. });
  4966. } else if (row.samplePoint == 'S6301' || row.samplePoint == 'S-6301') {
  4967. this.resetS6301();
  4968. getS6301(row.id).then(response => {
  4969. this.formS6301 = response.data;
  4970. this.openS6301 = true;
  4971. this.title = "修改质量月报";
  4972. });
  4973. } else if (row.samplePoint == 'Z404' || row.samplePoint == 'Z-404') {
  4974. this.resetZ404();
  4975. getZ404(row.id).then(response => {
  4976. this.formZ404 = response.data;
  4977. this.openZ404 = true;
  4978. this.title = "修改质量月报";
  4979. });
  4980. }
  4981. },
  4982. /** 提交按钮 */
  4983. submitForm() {
  4984. if (this.openS0501 == true) {
  4985. this.$refs["formS0501"].validate(valid => {
  4986. if (valid) {
  4987. if (this.formS0501.id != null) {
  4988. updateS0501(this.formS0501).then(response => {
  4989. this.msgSuccess("修改成功");
  4990. this.openS0501 = false;
  4991. this.getListS0501();
  4992. });
  4993. }
  4994. }
  4995. });
  4996. } else if (this.openS1301 == true) {
  4997. this.$refs["formS1301"].validate(valid => {
  4998. if (valid) {
  4999. if (this.formS1301.id != null) {
  5000. updateS1301(this.formS1301).then(response => {
  5001. this.msgSuccess("修改成功");
  5002. this.openS1301 = false;
  5003. this.getListS1301();
  5004. });
  5005. }
  5006. }
  5007. });
  5008. } else if (this.openS2002 == true) {
  5009. this.$refs["formS2002"].validate(valid => {
  5010. if (valid) {
  5011. if (this.formS2002.id != null) {
  5012. updateS2002(this.formS2002).then(response => {
  5013. this.msgSuccess("修改成功");
  5014. this.openS2002 = false;
  5015. this.getListS2002();
  5016. });
  5017. }
  5018. }
  5019. });
  5020. } else if (this.openS2005 == true) {
  5021. this.$refs["formS2005"].validate(valid => {
  5022. if (valid) {
  5023. if (this.formS2005.id != null) {
  5024. updateS2005(this.formS2005).then(response => {
  5025. this.msgSuccess("修改成功");
  5026. this.openS2005 = false;
  5027. this.getListS2005();
  5028. });
  5029. }
  5030. }
  5031. });
  5032. } else if (this.openS2007 == true) {
  5033. this.$refs["formS2007"].validate(valid => {
  5034. if (valid) {
  5035. if (this.formS2007.id != null) {
  5036. updateS2007(this.formS2007).then(response => {
  5037. this.msgSuccess("修改成功");
  5038. this.openS2007 = false;
  5039. this.getListS2007();
  5040. });
  5041. }
  5042. }
  5043. });
  5044. } else if (this.openS2011 == true) {
  5045. this.$refs["formS2011"].validate(valid => {
  5046. if (valid) {
  5047. if (this.formS2011.id != null) {
  5048. updateS2011(this.formS2011).then(response => {
  5049. this.msgSuccess("修改成功");
  5050. this.openS2011 = false;
  5051. this.getListS2011();
  5052. });
  5053. }
  5054. }
  5055. });
  5056. } else if (this.openS2400 == true) {
  5057. this.$refs["formS2400"].validate(valid => {
  5058. if (valid) {
  5059. if (this.formS2400.id != null) {
  5060. updateS2400(this.formS2400).then(response => {
  5061. this.msgSuccess("修改成功");
  5062. this.openS2400 = false;
  5063. this.getListS2400();
  5064. });
  5065. }
  5066. }
  5067. });
  5068. } else if (this.openS3004 == true) {
  5069. this.$refs["formS3004"].validate(valid => {
  5070. if (valid) {
  5071. if (this.formS3004.id != null) {
  5072. updateS3004(this.formS3004).then(response => {
  5073. this.msgSuccess("修改成功");
  5074. this.openS3004 = false;
  5075. this.getListS3004();
  5076. });
  5077. }
  5078. }
  5079. });
  5080. } else if (this.openS3009 == true) {
  5081. this.$refs["formS3009"].validate(valid => {
  5082. if (valid) {
  5083. if (this.formS3009.id != null) {
  5084. updateS3009(this.formS3009).then(response => {
  5085. this.msgSuccess("修改成功");
  5086. this.openS3009 = false;
  5087. this.getListS3009();
  5088. });
  5089. }
  5090. }
  5091. });
  5092. } else if (this.openS3010 == true) {
  5093. this.$refs["formS3010"].validate(valid => {
  5094. if (valid) {
  5095. if (this.formS3010.id != null) {
  5096. updateS3010(this.formS3010).then(response => {
  5097. this.msgSuccess("修改成功");
  5098. this.openS3010 = false;
  5099. this.getListS3010();
  5100. });
  5101. }
  5102. }
  5103. });
  5104. } else if (this.openS3011 == true) {
  5105. this.$refs["formS3011"].validate(valid => {
  5106. if (valid) {
  5107. if (this.formS3011.id != null) {
  5108. updateS3011(this.formS3011).then(response => {
  5109. this.msgSuccess("修改成功");
  5110. this.openS3011 = false;
  5111. this.getListS3011();
  5112. });
  5113. }
  5114. }
  5115. });
  5116. } else if (this.openS3012 == true) {
  5117. this.$refs["formS3012"].validate(valid => {
  5118. if (valid) {
  5119. if (this.formS3012.id != null) {
  5120. updateS3012(this.formS3012).then(response => {
  5121. this.msgSuccess("修改成功");
  5122. this.openS3012 = false;
  5123. this.getListS3012();
  5124. });
  5125. }
  5126. }
  5127. });
  5128. } else if (this.openS3022 == true) {
  5129. this.$refs["formS3022"].validate(valid => {
  5130. if (valid) {
  5131. if (this.formS3022.id != null) {
  5132. updateS3022(this.formS3022).then(response => {
  5133. this.msgSuccess("修改成功");
  5134. this.openS3022 = false;
  5135. this.getListS3022();
  5136. });
  5137. }
  5138. }
  5139. });
  5140. } else if (this.openS4012 == true) {
  5141. this.$refs["formS4012"].validate(valid => {
  5142. if (valid) {
  5143. if (this.formS4012.id != null) {
  5144. updateS4012(this.formS4012).then(response => {
  5145. this.msgSuccess("修改成功");
  5146. this.openS4012 = false;
  5147. this.getListS4012();
  5148. });
  5149. }
  5150. }
  5151. });
  5152. } else if (this.openS4013 == true) {
  5153. this.$refs["formS4013"].validate(valid => {
  5154. if (valid) {
  5155. if (this.formS4013.id != null) {
  5156. updateS4013(this.formS4013).then(response => {
  5157. this.msgSuccess("修改成功");
  5158. this.openS4013 = false;
  5159. this.getListS4013();
  5160. });
  5161. }
  5162. }
  5163. });
  5164. } else if (this.openS4501 == true) {
  5165. this.$refs["formS4501"].validate(valid => {
  5166. if (valid) {
  5167. if (this.formS4501.id != null) {
  5168. updateS4501(this.formS4501).then(response => {
  5169. this.msgSuccess("修改成功");
  5170. this.openS4501 = false;
  5171. this.getListS4501();
  5172. });
  5173. }
  5174. }
  5175. });
  5176. } else if (this.openS5001 == true) {
  5177. this.$refs["formS5001"].validate(valid => {
  5178. if (valid) {
  5179. if (this.formS5001.id != null) {
  5180. updateS5001(this.formS5001).then(response => {
  5181. this.msgSuccess("修改成功");
  5182. this.openS5001 = false;
  5183. this.getListS5001();
  5184. });
  5185. }
  5186. }
  5187. });
  5188. } else if (this.openS5003 == true) {
  5189. this.$refs["formS5003"].validate(valid => {
  5190. if (valid) {
  5191. if (this.formS5003.id != null) {
  5192. updateS5003(this.formS5003).then(response => {
  5193. this.msgSuccess("修改成功");
  5194. this.openS5003 = false;
  5195. this.getListS5003();
  5196. });
  5197. }
  5198. }
  5199. });
  5200. } else if (this.openS5010 == true) {
  5201. this.$refs["formS5010"].validate(valid => {
  5202. if (valid) {
  5203. if (this.formS5010.id != null) {
  5204. updateS5010(this.formS5010).then(response => {
  5205. this.msgSuccess("修改成功");
  5206. this.openS5010 = false;
  5207. this.getListS5010();
  5208. });
  5209. }
  5210. }
  5211. });
  5212. } else if (this.openS5012 == true) {
  5213. this.$refs["formS5012"].validate(valid => {
  5214. if (valid) {
  5215. if (this.formS5012.id != null) {
  5216. updateS5012(this.formS5012).then(response => {
  5217. this.msgSuccess("修改成功");
  5218. this.openS5012 = false;
  5219. this.getListS5012();
  5220. });
  5221. }
  5222. }
  5223. });
  5224. } else if (this.openS6101 == true) {
  5225. this.$refs["formS6101"].validate(valid => {
  5226. if (valid) {
  5227. if (this.formS6101.id != null) {
  5228. updateS6101(this.formS6101).then(response => {
  5229. this.msgSuccess("修改成功");
  5230. this.openS6101 = false;
  5231. this.getListS6101();
  5232. });
  5233. }
  5234. }
  5235. });
  5236. } else if (this.openS6107 == true) {
  5237. this.$refs["formS6107"].validate(valid => {
  5238. if (valid) {
  5239. if (this.formS6107.id != null) {
  5240. updateS6107(this.formS6107).then(response => {
  5241. this.msgSuccess("修改成功");
  5242. this.openS6107 = false;
  5243. this.getListS6107();
  5244. });
  5245. }
  5246. }
  5247. });
  5248. } else if (this.openS6301 == true) {
  5249. this.$refs["formS6301"].validate(valid => {
  5250. if (valid) {
  5251. if (this.formS6301.id != null) {
  5252. updateS6301(this.formS6301).then(response => {
  5253. this.msgSuccess("修改成功");
  5254. this.openS6301 = false;
  5255. this.getListS6301();
  5256. });
  5257. }
  5258. }
  5259. });
  5260. } else if (this.openZ404 == true) {
  5261. this.$refs["formZ404"].validate(valid => {
  5262. if (valid) {
  5263. if (this.formZ404.id != null) {
  5264. updateZ404(this.formZ404).then(response => {
  5265. this.msgSuccess("修改成功");
  5266. this.openZ404 = false;
  5267. this.getListZ404();
  5268. });
  5269. }
  5270. }
  5271. });
  5272. }
  5273. },
  5274. /** 删除按钮操作 */
  5275. handleDelete(row) {
  5276. this.$confirm('是否确认删除?', "警告", {
  5277. confirmButtonText: "确定",
  5278. cancelButtonText: "取消",
  5279. type: "warning"
  5280. }).then(function() {
  5281. if (row.samplePoint == 'S0501') {
  5282. return delS0501(row.id);
  5283. } else if (row.samplePoint == 'S1301') {
  5284. return delS1301(row.id);
  5285. } else if (row.samplePoint == 'S2002') {
  5286. return delS2002(row.id);
  5287. } else if (row.samplePoint == 'S2005') {
  5288. return delS2005(row.id);
  5289. } else if (row.samplePoint == 'S2007') {
  5290. return delS2007(row.id);
  5291. } else if (row.samplePoint == 'S2011') {
  5292. return delS2011(row.id);
  5293. } else if (row.samplePoint == 'S2400') {
  5294. return delS2400(row.id);
  5295. } else if (row.samplePoint == 'S3004') {
  5296. return delS3004(row.id);
  5297. } else if (row.samplePoint == 'S3009') {
  5298. return delS3009(row.id);
  5299. } else if (row.samplePoint == 'S3010') {
  5300. return delS3010(row.id);
  5301. } else if (row.samplePoint == 'S3011') {
  5302. return delS3011(row.id);
  5303. } else if (row.samplePoint == 'S3012') {
  5304. return delS3012(row.id);
  5305. } else if (row.samplePoint == 'S3022') {
  5306. return delS3022(row.id);
  5307. } else if (row.samplePoint == 'S4012') {
  5308. return delS4012(row.id);
  5309. } else if (row.samplePoint == 'S4013') {
  5310. return delS4013(row.id);
  5311. } else if (row.samplePoint == 'S4501') {
  5312. return delS4501(row.id);
  5313. } else if (row.samplePoint == 'S5001') {
  5314. return delS5001(row.id);
  5315. } else if (row.samplePoint == 'S5003') {
  5316. return delS5003(row.id);
  5317. } else if (row.samplePoint == 'S5010') {
  5318. return delS5010(row.id);
  5319. } else if (row.samplePoint == 'S5012') {
  5320. return delS5012(row.id);
  5321. } else if (row.samplePoint == 'S6101') {
  5322. return delS6101(row.id);
  5323. } else if (row.samplePoint == 'S6107') {
  5324. return delS6107(row.id);
  5325. } else if (row.samplePoint == 'S6301') {
  5326. return delS6301(row.id);
  5327. } else if (row.samplePoint == 'Z404') {
  5328. return delZ404(row.id);
  5329. }
  5330. }).then(() => {
  5331. if (row.samplePoint == 'S0501') {
  5332. this.getListS0501();
  5333. } else if (row.samplePoint == 'S1301') {
  5334. this.getListS1301();
  5335. } else if (row.samplePoint == 'S2002') {
  5336. this.getListS2002();
  5337. } else if (row.samplePoint == 'S2005') {
  5338. this.getListS2005();
  5339. } else if (row.samplePoint == 'S2007') {
  5340. this.getListS2007();
  5341. } else if (row.samplePoint == 'S2011') {
  5342. this.getListS2011();
  5343. } else if (row.samplePoint == 'S2400') {
  5344. this.getListS2400();
  5345. } else if (row.samplePoint == 'S3004') {
  5346. this.getListS3004();
  5347. } else if (row.samplePoint == 'S3009') {
  5348. this.getListS3009();
  5349. } else if (row.samplePoint == 'S3010') {
  5350. this.getListS3010();
  5351. } else if (row.samplePoint == 'S3011') {
  5352. this.getListS3011();
  5353. } else if (row.samplePoint == 'S3012') {
  5354. this.getListS3012();
  5355. } else if (row.samplePoint == 'S3022') {
  5356. this.getListS3022();
  5357. } else if (row.samplePoint == 'S4012') {
  5358. this.getListS4012();
  5359. } else if (row.samplePoint == 'S4013') {
  5360. this.getListS4013();
  5361. } else if (row.samplePoint == 'S4501') {
  5362. this.getListS4501();
  5363. } else if (row.samplePoint == 'S5001') {
  5364. this.getListS5001();
  5365. } else if (row.samplePoint == 'S5003') {
  5366. this.getListS5003();
  5367. } else if (row.samplePoint == 'S5010') {
  5368. this.getListS5010();
  5369. } else if (row.samplePoint == 'S5012') {
  5370. this.getListS5012();
  5371. } else if (row.samplePoint == 'S6101') {
  5372. this.getListS6101();
  5373. } else if (row.samplePoint == 'S6107') {
  5374. this.getListS6107();
  5375. } else if (row.samplePoint == 'S6301') {
  5376. this.getListS6301();
  5377. } else if (row.samplePoint == 'Z404') {
  5378. this.getListZ404();
  5379. }
  5380. this.msgSuccess("删除成功");
  5381. })
  5382. },
  5383. /** 趋势分析 */
  5384. handleAnalysis() {
  5385. this.analysis.open = true;
  5386. this.analysis.title = "趋势分析";
  5387. this.setAnalysisDefaultSampleDate();
  5388. this.analysisValue = "1";
  5389. this.handleAnalysisQuery();
  5390. },
  5391. /** 生成报告 */
  5392. handleReport(){
  5393. this.$router.push({
  5394. name: "report",
  5395. params: this.sampleDate
  5396. });
  5397. },
  5398. /** 导出按钮操作 */
  5399. handleExport() {
  5400. const queryParams = this.queryParams;
  5401. this.$confirm('是否确认导出所有质量月报数据项?', "警告", {
  5402. confirmButtonText: "确定",
  5403. cancelButtonText: "取消",
  5404. type: "warning"
  5405. }).then(function() {
  5406. return exportQuality(queryParams);
  5407. }).then(response => {
  5408. this.download(response.msg);
  5409. })
  5410. },
  5411. /** 导入按钮操作 */
  5412. handleImport() {
  5413. this.upload.title = "批量导入";
  5414. this.upload.open = true;
  5415. },
  5416. /** 下载模板操作 */
  5417. importTemplate() {
  5418. this.$refs['downloadFileForm'].submit()
  5419. },
  5420. // 文件上传中处理
  5421. handleFileUploadProgress(event, file, fileList) {
  5422. this.upload.isUploading = true;
  5423. },
  5424. // 文件上传成功处理
  5425. handleFileSuccess(response, file, fileList) {
  5426. this.upload.open = false;
  5427. this.upload.isUploading = false;
  5428. this.$refs.upload.clearFiles();
  5429. this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
  5430. this.getList();
  5431. },
  5432. // 提交上传文件
  5433. submitFileForm() {
  5434. this.$refs.upload.submit();
  5435. }
  5436. }
  5437. };
  5438. </script>
  5439. <style scoped>
  5440. table {
  5441. border-collapse: collapse;
  5442. border-spacing: 0;
  5443. }
  5444. .td-blue{
  5445. background-color: #00CCFF;
  5446. color: black;
  5447. border: 1px solid;
  5448. padding: 5px;
  5449. }
  5450. .td-green{
  5451. background-color: #00FF00;
  5452. color: black;
  5453. border: 1px solid;
  5454. padding: 5px;
  5455. }
  5456. .td-yellow{
  5457. background-color: #FFFF00;
  5458. color: black;
  5459. border: 1px solid;
  5460. padding: 5px;
  5461. }
  5462. .td-dark-green{
  5463. background-color: #92D050;
  5464. color: black;
  5465. border: 1px solid;
  5466. padding: 5px;
  5467. }
  5468. .td-dark-blue{
  5469. background-color: #00B0F0;
  5470. color: black;
  5471. border: 1px solid;
  5472. padding: 5px;
  5473. }
  5474. .td-transparent{
  5475. background-color: transparent;
  5476. color: black;
  5477. border: 1px solid;
  5478. padding: 5px;
  5479. }
  5480. #tableC2,#tableC3{
  5481. width: 80%;
  5482. margin: 0px auto;
  5483. margin-top: 25px;
  5484. }
  5485. </style>