statistics.vue 90 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961
  1. <template>
  2. <view>
  3. <view v-if="isLeader=='sys_user'">
  4. <scroll-view>
  5. <view class="view-bg">
  6. <text class="title-txt">工程用料统计</text>
  7. <view>
  8. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  9. <view class="uni-list-cell-left">
  10. 行政区
  11. </view>
  12. <view class="uni-list-cell-db">
  13. <view v-if="this.isEmpty(this.XZQValue.dictValue)" style="margin-top: 10;"
  14. @click="pickerShow('xzq')">
  15. <span style="color: darkgray;">请选择行政区</span>
  16. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  17. </view>
  18. <view v-else style="margin-top: 10;" @click="pickerShow('xzq')">
  19. <span style="color: black;">{{XZQValue.dictLabel}}</span>
  20. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  25. <view class="uni-list-cell-left">
  26. 小区
  27. </view>
  28. <view class="uni-list-cell-db">
  29. <view v-if="this.isEmpty(this.XQValue.id)" style="margin-top: 10;"
  30. @click="pickerShow('xq')">
  31. <span style="color: darkgray;">请选择小区</span>
  32. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  33. </view>
  34. <view v-else style="margin-top: 10;" @click="pickerShow('xq')">
  35. <span style="color: black;">{{XQValue.name}}</span>
  36. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  41. <view class="uni-list-cell-left">
  42. 材料
  43. </view>
  44. <view class="uni-list-cell-db">
  45. <view v-if="this.isEmpty(this.materialValue.name)" style="margin-top: 10;"
  46. @click="pickerShow('cz')">
  47. <span style="color: darkgray;">请选择材料</span>
  48. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  49. </view>
  50. <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
  51. <view style="margin-top: 10; " @click="pickerShow('cz')">
  52. <span style="color: black;">{{materialValue.name}}</span>
  53. <!-- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image> -->
  54. </view>
  55. <image :src="loadImgSrc('icon_close.png')"
  56. style=" width: 15px; height: 15px;margin-left:20rpx ;margin-right: -20rpx;"
  57. @click="clearMaterialInfo">
  58. </image>
  59. </view>
  60. </view>
  61. </view>
  62. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  63. <view class="uni-list-cell-left">
  64. 规格
  65. </view>
  66. <view class="uni-list-cell-db">
  67. <view v-if="this.isEmpty(this.specificationValue.name)" style="margin-top: 10;"
  68. @click="pickerShow('gg')">
  69. <span style="color: darkgray;">请选择规格</span>
  70. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  71. </view>
  72. <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
  73. <view style="margin-top: 10;" @click="pickerShow('gg')">
  74. <span style="color: black;">{{specificationValue.name}}</span>
  75. <!-- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image> -->
  76. </view>
  77. <image :src="loadImgSrc('icon_close.png')"
  78. style=" width: 15px; height: 15px;margin-left:20rpx ;margin-right: -20rpx;"
  79. @click="clearSpecificationInfo">
  80. </image>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="table">
  86. <view class="felx-row">
  87. <view class="h-tr" style="flex: 1">名称</view>
  88. <view class="h-tr" style="flex: 1">材料</view>
  89. <view class="h-tr" style="flex: 1;align-items: center;">预计用量</view>
  90. <view class="h-tr" style="flex: 1">实际用量</view>
  91. </view>
  92. </view>
  93. <view class="felx-row" v-for="(item, index) in materialUsageList" :key="index">
  94. <view class="h-td" style="flex: 1">{{ item.realityQuality }}</view>
  95. <view class="h-td" style="flex: 1">{{ item.realitySpecifications }}</view>
  96. <view class="h-td" style="flex: 1">{{ item.estimatedSize }}</view>
  97. <view class="h-td" style="flex: 1">{{ item.realitySize }}</view>
  98. </view>
  99. </view>
  100. <view class="view-bg" style="margin-bottom: 40rpx;">
  101. <text class="title-txt">室内工程进度统计</text>
  102. <view>
  103. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  104. <view class="uni-list-cell-left">
  105. 行政区
  106. </view>
  107. <view class="uni-list-cell-db">
  108. <view v-if="this.isEmpty(this.XZQValue2.dictValue)" style="margin-top: 10;"
  109. @click="pickerShow('xzq2')">
  110. <span style="color: darkgray;">请选择行政区</span>
  111. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  112. </view>
  113. <view v-else style="margin-top: 10;" @click="pickerShow('xzq2')">
  114. <span style="color: black;">{{XZQValue2.dictLabel}}</span>
  115. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  116. </view>
  117. </view>
  118. </view>
  119. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  120. <view class="uni-list-cell-left"> 小区</view>
  121. <view class="uni-list-cell-db">
  122. <view v-if="this.isEmpty(this.XQValue2.id)" style="margin-top: 10;"
  123. @click="pickerShow('xq2')">
  124. <span style="color: darkgray;">请选择小区</span>
  125. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  126. </view>
  127. <view v-else style="margin-top: 10;" @click="pickerShow('xq2')">
  128. <span style="color: black;">{{XQValue2.name}}</span>
  129. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  130. </view>
  131. </view>
  132. </view>
  133. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  134. <view class="uni-list-cell-left">楼栋</view>
  135. <view class="uni-list-cell-db">
  136. <view v-if="this.isEmpty(this.LDValue2.id)" style="margin-top: 10;"
  137. @click="pickerShow('ld2')">
  138. <span style="color: darkgray;">请选择楼栋</span>
  139. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  140. </view>
  141. <view style="margin-top: 10;" @click="pickerShow('ld2')">
  142. <span style="color: black;">{{LDValue2.name}}</span>
  143. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  144. </view>
  145. </view>
  146. </view>
  147. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  148. <view class="uni-list-cell-left">单元</view>
  149. <view class="uni-list-cell-db">
  150. <view v-if="this.isEmpty(this.DYValue2.id)" style="margin-top: 10;"
  151. @click="pickerShow('dy2')">
  152. <span style="color: darkgray;">请选择单元</span>
  153. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  154. </view>
  155. <view v-else style="margin-top: 10;" @click="pickerShow('dy2')">
  156. <span style="color: black;">{{DYValue2.name}}</span>
  157. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <!-- <image :src="loadImgSrc('lou-img-bg.png')" style="width: 110%;
  163. height: 121px;
  164. position: absolute;
  165. bottom: 15px;
  166. left: -5px;
  167. z-index: 1;
  168. "></image> -->
  169. <view class="felx-row" v-if="!isEmpty(XQValue2.id)" style="margin-top: 10px;">
  170. <view class="h-td" style="flex: 1;">规模(户)</view>
  171. <view class="h-td" style="flex: 1;">未施工(户)</view>
  172. <view class="h-td" style="flex: 1;">施工中(户)</view>
  173. <view class="h-td" style="flex: 1;">竣工(户)</view>
  174. </view>
  175. <view class="felx-row" v-for="(item, index) in areaData" :key="index" v-if="!isEmpty(XQValue2.id)">
  176. <view class="h-td" style="flex: 1">{{ item.scale }}</view>
  177. <view class="h-td" style="flex: 1">{{ item.notstart }}</view>
  178. <view class="h-td" style="flex: 1">{{ item.willDone }}</view>
  179. <view class="h-td" style="flex: 1">{{ item.done }}</view>
  180. </view>
  181. <scroll-view :scroll-x="true" class="view_bg_build" v-if="roomList.length > 0"
  182. style="margin-top: 10px;">
  183. <view class="HuaDongBiao">
  184. <view class="NeiRong" v-for="(item,index) in roomList" :key="index">
  185. <view class="Fang" v-for="(item2, index2) in roomList[index]" :key="index2">
  186. <view v-if="item2.roomStatus=='施工中'" class="ShiGongZhong"
  187. @click="goHistory(item2,'Room')">
  188. {{ item2.roomName }}
  189. </view>
  190. <view v-else-if="item2.roomStatus=='未施工'" class="WeiShiGong">{{ item2.roomName }}
  191. </view>
  192. <view v-else class="JunGong" @click="goHistory(item2,'Room')">{{ item2.roomName }}
  193. </view>
  194. </view>
  195. </view>
  196. </view>
  197. <view style=" width: 48rpx;height: 63rpx;background: #C7EAFF; position:relative; left: 50%; transform:
  198. translateX(-50%); bottom: -10rpx;">
  199. </view>
  200. </scroll-view>
  201. <view v-if="roomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
  202. <view style="align-items: center; margin-top: 20rpx;">
  203. <view style="display: flex;align-items: center;justify-content:center">
  204. <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
  205. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  206. <div class="block-iv" style="background-color: #80d9ae;"></div>
  207. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  208. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  209. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  210. <div class="block-iv" style="background-color: #ffc881;"></div>
  211. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  212. </view>
  213. </view>
  214. </view>
  215. <view class="view-bg" style="margin-bottom: 40rpx;">
  216. <text class="title-txt">庭院工程进度统计</text>
  217. <view>
  218. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  219. <view class="uni-list-cell-left">
  220. 行政区
  221. </view>
  222. <view class="uni-list-cell-db">
  223. <view v-if="this.isEmpty(this.XZQValueCourtyard.dictValue)" style="margin-top: 10;"
  224. @click="pickerShow('xzqCourtyard')">
  225. <span style="color: darkgray;">请选择行政区</span>
  226. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  227. </view>
  228. <view v-else style="margin-top: 10;" @click="pickerShow('xzqCourtyard')">
  229. <span style="color: black;">{{XZQValueCourtyard.dictLabel}}</span>
  230. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  231. </view>
  232. </view>
  233. </view>
  234. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  235. <view class="uni-list-cell-left"> 小区</view>
  236. <view class="uni-list-cell-db">
  237. <view v-if="this.isEmpty(this.XQValueCourtyard.id)" style="margin-top: 10;"
  238. @click="pickerShow('xqCourtyard')">
  239. <span style="color: darkgray;">请选择小区</span>
  240. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  241. </view>
  242. <view v-else style="margin-top: 10;" @click="pickerShow('xqCourtyard')">
  243. <span style="color: black;">{{XQValueCourtyard.name}}</span>
  244. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  245. </view>
  246. </view>
  247. </view>
  248. </view>
  249. <scroll-view :scroll-x="true" class="view_bg_build" v-if="CourtyardRoomList.length > 0"
  250. style="margin-top: 10px;">
  251. <view class="HuaDongBiao flex-col">
  252. <view class="NeiRong dong" v-for="(item,index) in CourtyardRoomList" :key="index">
  253. <view class="Fang">
  254. <view v-if="item.unitStatus=='施工中'" class="ShiGongZhong"
  255. @click="goHistory(item,'Courtyard')">
  256. {{ item.unitName }}
  257. </view>
  258. <view v-else-if="item.unitStatus=='未施工'" class="WeiShiGong">
  259. {{ item.unitName }}
  260. </view>
  261. <view v-else class="JunGong" @click="goHistory(item,'Courtyard')">
  262. {{ item.unitName }}
  263. </view>
  264. </view>
  265. </view>
  266. </view>
  267. </scroll-view>
  268. <view v-if="CourtyardRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
  269. <view style="align-items: center; margin-top: 20rpx;">
  270. <view style="display: flex;align-items: center;justify-content:center">
  271. <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
  272. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  273. <div class="block-iv" style="background-color: #80d9ae;"></div>
  274. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  275. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  276. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  277. <div class="block-iv" style="background-color: #ffc881;"></div>
  278. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  279. </view>
  280. </view>
  281. </view>
  282. <view class="view-bg" style="margin-bottom: 40rpx;">
  283. <text class="title-txt">架空工程进度统计</text>
  284. <view>
  285. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  286. <view class="uni-list-cell-left">
  287. 行政区
  288. </view>
  289. <view class="uni-list-cell-db">
  290. <view v-if="this.isEmpty(this.XZQValueOverhead.dictValue)" style="margin-top: 10;"
  291. @click="pickerShow('xzqOverhead')">
  292. <span style="color: darkgray;">请选择行政区</span>
  293. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  294. </view>
  295. <view v-else style="margin-top: 10;" @click="pickerShow('xzqOverhead')">
  296. <span style="color: black;">{{XZQValueOverhead.dictLabel}}</span>
  297. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  298. </view>
  299. </view>
  300. </view>
  301. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  302. <view class="uni-list-cell-left"> 小区</view>
  303. <view class="uni-list-cell-db">
  304. <view v-if="this.isEmpty(this.XQValueOverhead.id)" style="margin-top: 10;"
  305. @click="pickerShow('xqOverhead')">
  306. <span style="color: darkgray;">请选择小区</span>
  307. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  308. </view>
  309. <view v-else style="margin-top: 10;" @click="pickerShow('xqOverhead')">
  310. <span style="color: black;">{{XQValueOverhead.name}}</span>
  311. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  312. </view>
  313. </view>
  314. </view>
  315. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  316. <view class="uni-list-cell-left">楼栋</view>
  317. <view class="uni-list-cell-db">
  318. <view v-if="this.isEmpty(this.LDValueOverhead.id)" style="margin-top: 10;"
  319. @click="pickerShow('ldOverhead')">
  320. <span style="color: darkgray;">请选择楼栋</span>
  321. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  322. </view>
  323. <view style="margin-top: 10;" @click="pickerShow('ldOverhead')">
  324. <span style="color: black;">{{LDValueOverhead.name}}</span>
  325. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  326. </view>
  327. </view>
  328. </view>
  329. </view>
  330. <scroll-view :scroll-x="true" class="view_bg_build" v-if="OverheadRoomList.length > 0"
  331. style="margin-top: 10px;">
  332. <view class="HuaDongBiao flex-col">
  333. <view class="NeiRong dong" v-for="(item,index) in OverheadRoomList" :key="index">
  334. <view class="Fang">
  335. <view v-if="item.unitStatus=='施工中'" class="ShiGongZhong"
  336. @click="goHistory(item,'Overhead')">
  337. {{ item.unitName }}
  338. </view>
  339. <view v-else-if="item.unitStatus=='未施工'" class="WeiShiGong">{{ item.unitName }}
  340. </view>
  341. <view v-else class="JunGong" @click="goHistory(item,'Overhead')">{{ item.unitName }}
  342. </view>
  343. </view>
  344. </view>
  345. </view>
  346. </scroll-view>
  347. <view v-if="OverheadRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
  348. <view style="align-items: center; margin-top: 20rpx;">
  349. <view style="display: flex;align-items: center;justify-content:center">
  350. <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
  351. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  352. <div class="block-iv" style="background-color: #80d9ae;"></div>
  353. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  354. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  355. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  356. <div class="block-iv" style="background-color: #ffc881;"></div>
  357. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  358. </view>
  359. </view>
  360. </view>
  361. <view class="view-bg" style="margin-bottom: 40rpx;">
  362. <text class="title-txt">底腿工程进度统计</text>
  363. <view>
  364. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  365. <view class="uni-list-cell-left">
  366. 行政区
  367. </view>
  368. <view class="uni-list-cell-db">
  369. <view v-if="this.isEmpty(this.XZQValueBottomLeg.dictValue)" style="margin-top: 10;"
  370. @click="pickerShow('xzqBottomLeg')">
  371. <span style="color: darkgray;">请选择行政区</span>
  372. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  373. </view>
  374. <view v-else style="margin-top: 10;" @click="pickerShow('xzqBottomLeg')">
  375. <span style="color: black;">{{XZQValueBottomLeg.dictLabel}}</span>
  376. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  377. </view>
  378. </view>
  379. </view>
  380. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  381. <view class="uni-list-cell-left"> 小区</view>
  382. <view class="uni-list-cell-db">
  383. <view v-if="this.isEmpty(this.XQValueBottomLeg.id)" style="margin-top: 10;"
  384. @click="pickerShow('xqBottomLeg')">
  385. <span style="color: darkgray;">请选择小区</span>
  386. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  387. </view>
  388. <view v-else style="margin-top: 10;" @click="pickerShow('xqBottomLeg')">
  389. <span style="color: black;">{{XQValueBottomLeg.name}}</span>
  390. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  391. </view>
  392. </view>
  393. </view>
  394. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  395. <view class="uni-list-cell-left">楼栋</view>
  396. <view class="uni-list-cell-db">
  397. <view v-if="this.isEmpty(this.LDValueBottomLeg.id)" style="margin-top: 10;"
  398. @click="pickerShow('ldBottomLeg')">
  399. <span style="color: darkgray;">请选择楼栋</span>
  400. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  401. </view>
  402. <view style="margin-top: 10;" @click="pickerShow('ldBottomLeg')">
  403. <span style="color: black;">{{LDValueBottomLeg.name}}</span>
  404. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  405. </view>
  406. </view>
  407. </view>
  408. </view>
  409. <scroll-view :scroll-x="true" class="view_bg_build" v-if="BottomLegRoomList.length > 0"
  410. style="margin-top: 10px;">
  411. <view class="HuaDongBiao flex-col">
  412. <view class="NeiRong dong" v-for="(item,index) in BottomLegRoomList" :key="index">
  413. <view class="Fang">
  414. <view v-if="item.unitStatus=='施工中'" class="ShiGongZhong"
  415. @click="goHistory(item,'BottomLeg')">
  416. {{ item.unitName }}
  417. </view>
  418. <view v-else-if="item.unitStatus=='未施工'" class="WeiShiGong">{{ item.unitName }}
  419. </view>
  420. <view v-else class="JunGong" @click="goHistory(item,'BottomLeg')">
  421. {{ item.unitName }}
  422. </view>
  423. </view>
  424. </view>
  425. </view>
  426. </scroll-view>
  427. <view v-if="BottomLegRoomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
  428. <view style="align-items: center; margin-top: 20rpx;">
  429. <view style="display: flex;align-items: center;justify-content:center">
  430. <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
  431. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  432. <div class="block-iv" style="background-color: #80d9ae;"></div>
  433. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  434. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  435. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  436. <div class="block-iv" style="background-color: #ffc881;"></div>
  437. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  438. </view>
  439. </view>
  440. </view>
  441. <view class="view-bg" style="margin-bottom: 40rpx;">
  442. <text class="title-txt">工业工程</text>
  443. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  444. <view class="uni-list-cell-left">工程名称</view>
  445. <view class="uni-list-cell-db">
  446. <view v-if="isEmpty(projectObj01.name)" style="margin-top: 10;"
  447. @click="getProjectTypeList('engineeringIndustry')">
  448. <span style="color: darkgray;">请选择工程</span>
  449. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  450. </view>
  451. <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringIndustry')">
  452. <span style="color: black;">{{projectObj01.name}}</span>
  453. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  454. </view>
  455. </view>
  456. </view>
  457. <view v-if="!isEmpty(projectObj01.name)">
  458. <!-- v-if="!isEmpty(projectObj01.id)" -->
  459. <!-- <view class="table">
  460. <view class="felx-row">
  461. <view class="h-tr" style="flex: 1">名称</view>
  462. <view class="h-tr" style="flex: 1">实际用料</view>
  463. <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
  464. <view class="h-tr" style="flex: 1">占比</view>
  465. </view>
  466. </view>
  467. <view class="felx-row">
  468. <view class="h-td" style="flex: 1">PE材料</view>
  469. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.actuality }}</view>
  470. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.anticipation }}
  471. </view>
  472. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.percentage }}
  473. </view>
  474. </view>
  475. <view class="felx-row">
  476. <view class="h-td" style="flex: 1">钢材</view>
  477. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.actuality }}
  478. </view>
  479. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.anticipation }}
  480. </view>
  481. <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.percentage }}
  482. </view>
  483. </view>
  484. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  485. <view class="uni-list-cell-left">工程进度</view>
  486. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
  487. </view>
  488. <view class="felx-row" v-for="(item, index) in projectBody01.nodeCheck" :key="index">
  489. <view class="h-td" style="flex: 1">{{ item.name }}</view>
  490. <view class="h-td" style="flex: 1" @click="industryItemClick(item)">{{ item.value }}</view>
  491. </view> -->
  492. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  493. <view class="uni-list-cell-left">工程进度</view>
  494. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
  495. </view>
  496. <view class="felx-row">
  497. <view class="h-td" style="flex: 1;">名称</view>
  498. <view class="h-td" style="flex: 1;">占比</view>
  499. </view>
  500. <view class="felx-row" v-for="(item, index) in projectBody01.nodeCheck" :key="index">
  501. <view class="h-td" style="flex: 1">{{ item.enginClassification }}</view>
  502. <view class="h-td" style="flex: 1">{{ item.percentage }}</view>
  503. </view>
  504. </view>
  505. </view>
  506. <view class="view-bg" style="margin-bottom: 40rpx;">
  507. <text class="title-txt">市政工程</text>
  508. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  509. <view class="uni-list-cell-left">工程名称</view>
  510. <view class="uni-list-cell-db">
  511. <view v-if="isEmpty(projectObj02.id)" style="margin-top: 10;"
  512. @click="getProjectTypeList('engineeringMunicipal')">
  513. <span style="color: darkgray;">请选择工程</span>
  514. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  515. </view>
  516. <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringMunicipal')">
  517. <span style="color: black;">{{projectObj02.name}}</span>
  518. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  519. </view>
  520. </view>
  521. </view>
  522. <view v-if="!isEmpty(projectObj02.id)">
  523. <view class="table">
  524. <view class="felx-row">
  525. <view class="h-tr" style="flex: 1">名称</view>
  526. <view class="h-tr" style="flex: 1">实际用料</view>
  527. <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
  528. <view class="h-tr" style="flex: 1">占比</view>
  529. </view>
  530. </view>
  531. <view class="felx-row">
  532. <view class="h-td" style="flex: 1">PE材料</view>
  533. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.actuality }}</view>
  534. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.anticipation }}
  535. </view>
  536. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.percentage }}
  537. </view>
  538. </view>
  539. <view class="felx-row">
  540. <view class="h-td" style="flex: 1">钢材</view>
  541. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.actuality }}
  542. </view>
  543. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.anticipation }}
  544. </view>
  545. <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.percentage }}
  546. </view>
  547. </view>
  548. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  549. <view class="uni-list-cell-left">工程进度</view>
  550. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
  551. </view>
  552. <view class="felx-row" v-for="(item, index) in projectBody02.nodeCheck" :key="index">
  553. <view class="h-td" style="flex: 1">{{ item.name }}</view>
  554. <view class="h-td" style="flex: 1" @click="municipalItemClick(item)">{{ item.value }}</view>
  555. </view>
  556. </view>
  557. </view>
  558. <view class="view-bg" style="margin-bottom: 40rpx;">
  559. <text class="title-txt">顶管工程</text>
  560. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  561. <view class="uni-list-cell-left">工程名称</view>
  562. <view class="uni-list-cell-db">
  563. <view v-if="isEmpty(projectObj03.id)" style="margin-top: 10;"
  564. @click="getProjectTypeList('engineeringPipeJacking')">
  565. <span style="color: darkgray;">请选择工程</span>
  566. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  567. </view>
  568. <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringPipeJacking')">
  569. <span style="color: black;">{{projectObj03.name}}</span>
  570. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  571. </view>
  572. </view>
  573. </view>
  574. <view v-if="!isEmpty(projectObj03.id)">
  575. <view class="table">
  576. <view class="felx-row">
  577. <view class="h-tr" style="flex: 1">名称</view>
  578. <view class="h-tr" style="flex: 1">实际用料</view>
  579. <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
  580. <view class="h-tr" style="flex: 1">占比</view>
  581. </view>
  582. </view>
  583. <view class="felx-row">
  584. <view class="h-td" style="flex: 1">PE材料</view>
  585. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.actuality }}</view>
  586. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.anticipation }}
  587. </view>
  588. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.percentage }}
  589. </view>
  590. </view>
  591. <view class="felx-row">
  592. <view class="h-td" style="flex: 1">钢材</view>
  593. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.actuality }}
  594. </view>
  595. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.anticipation }}
  596. </view>
  597. <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.percentage }}
  598. </view>
  599. </view>
  600. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  601. <view class="uni-list-cell-left">工程进度</view>
  602. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
  603. </view>
  604. <view class="felx-row" v-for="(item, index) in projectBody03.nodeCheck" :key="index">
  605. <view class="h-td" style="flex: 1">{{ item.name }}</view>
  606. <view class="h-td" style="flex: 1" @click="topTubeItemClick(item)">{{ item.value }}</view>
  607. </view>
  608. </view>
  609. </view>
  610. <view class="view-bg" style="margin-bottom: 40rpx;">
  611. <text class="title-txt">碰口工程</text>
  612. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  613. <view class="uni-list-cell-left">工程名称</view>
  614. <view class="uni-list-cell-db">
  615. <view v-if="isEmpty(projectObj04.id)" style="margin-top: 10;"
  616. @click="getProjectTypeList('touchOperationEngineering')">
  617. <span style="color: darkgray;">请选择工程</span>
  618. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  619. </view>
  620. <view v-else style="margin-top: 10;"
  621. @click="getProjectTypeList('touchOperationEngineering')">
  622. <span style="color: black;">{{projectObj04.name}}</span>
  623. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  624. </view>
  625. </view>
  626. </view>
  627. <view v-if="!isEmpty(projectObj04.id)">
  628. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
  629. <view class="uni-list-cell-left">工程进度</view>
  630. <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
  631. </view>
  632. <view class="felx-row" v-for="(item, index) in projectBody04.nodeCheck" :key="index">
  633. <view class="h-td" style="flex: 1">{{ item.name }}</view>
  634. <view class="h-td" style="flex: 1" @click="collisionItemClick(item)">{{ item.value }}</view>
  635. </view>
  636. </view>
  637. </view>
  638. </scroll-view>
  639. </view>
  640. <view v-else-if="isLeader=='app_user'">
  641. <view class="background">
  642. <view>
  643. <view
  644. style="font-size: 16px;margin-left: 10px;margin-top: 10px;display: flex; justify-content: space-between;margin-bottom: 10px;">
  645. 筛选
  646. <image v-if="change==false" :src="loadImgSrc('icon_user_open.png')" @click='change1'
  647. style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
  648. </image>
  649. <image v-if="change==true" :src="loadImgSrc('icon_user_close.png')" @click='change1'
  650. style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
  651. </image>
  652. </view>
  653. </view>
  654. <view v-show="change" style="padding-right: 10px;">
  655. <view class="uni-list">
  656. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  657. <view class="uni-list-cell-left">
  658. 工程项
  659. </view>
  660. <view v-if="this.isEmpty(this.EngineeringValue)" class="uni-list-cell-db"
  661. style="margin-top: 10;" @click="pickerShow('gcx')">
  662. <span style="color: darkgray;">请选择工程项</span>
  663. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  664. </view>
  665. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcx')">
  666. <span style="color: black;">{{EngineeringValue}}</span>
  667. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  668. </view>
  669. </view>
  670. </view>
  671. <view v-if="EngineeringValue=='民用工程'||EngineeringValue=='开栓'">
  672. <view class="uni-list">
  673. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  674. <view>
  675. 行政区
  676. </view>
  677. <view v-if="this.isEmpty(this.XZQValue3.dictValue)" style="margin-top: 10;"
  678. @click="pickerShow('xzq3')">
  679. <span style="color: darkgray;">请选择行政区</span>
  680. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  681. </view>
  682. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  683. @click="pickerShow('xzq3')">
  684. <span style="color: black;">{{XZQValue3.dictLabel}}</span>
  685. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  686. </view>
  687. </view>
  688. </view>
  689. <view class="uni-list">
  690. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  691. <view>
  692. 小区
  693. </view>
  694. <view v-if="this.isEmpty(this.XQValue3.id)" class="uni-list-cell-db"
  695. style="margin-top: 10;" @click="pickerShow('xq3')">
  696. <span style="color: darkgray;">请选择小区</span>
  697. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  698. </view>
  699. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  700. @click="pickerShow('xq3')">
  701. <span style="color: black;">{{XQValue3.name}}</span>
  702. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  703. </view>
  704. </view>
  705. </view>
  706. <view class="uni-list">
  707. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  708. <view class="uni-list-cell-left">
  709. 楼栋
  710. </view>
  711. <view v-if="this.isEmpty(this.LDValue3.id)" class="uni-list-cell-db"
  712. style="margin-top: 10;" @click="pickerShow('ld3')">
  713. <span style="color: darkgray;">请选择楼栋</span>
  714. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  715. </view>
  716. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  717. @click="pickerShow('ld3')">
  718. <span style="color: black;">{{LDValue3.name}}</span>
  719. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  720. </view>
  721. </view>
  722. </view>
  723. <view class="uni-list" style="margin-top: 10;">
  724. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  725. <view class="uni-list-cell-left">
  726. 单元
  727. </view>
  728. <view v-if="this.isEmpty(this.DYValue3.id)" class="uni-list-cell-db"
  729. style="margin-top: 10;" @click="pickerShow('dy3')">
  730. <span style="color: darkgray;">请选择单元</span>
  731. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  732. </view>
  733. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  734. @click="pickerShow('dy3')">
  735. <span style="color: black;">{{DYValue3.name}}</span>
  736. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  737. </view>
  738. </view>
  739. </view>
  740. <view class="uni-list">
  741. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  742. <view class="uni-list-cell-left">
  743. 房间
  744. </view>
  745. <view v-if="this.isEmpty(this.FJValue3.id)" class="uni-list-cell-db"
  746. style="margin-top: 10;" @click="pickerShow('fj3')">
  747. <span style="color: darkgray;">请选择房间</span>
  748. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  749. </view>
  750. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  751. @click="pickerShow('fj3')">
  752. <span style="color: black;">{{FJValue3.name}}</span>
  753. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  754. </view>
  755. </view>
  756. </view>
  757. <view class="uni-list" v-if="EngineeringValue=='民用工程'">
  758. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  759. <view class="uni-list-cell-left">
  760. 工程类型
  761. </view>
  762. <view v-if="this.isEmpty(this.ProjectType.dictValue)" class="uni-list-cell-db"
  763. style="margin-top: 10;" @click="pickerShow('gclx')">
  764. <span style="color: darkgray;">请选择工程类型</span>
  765. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  766. </view>
  767. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  768. @click="pickerShow('gclx')">
  769. <span style="color: black;">{{ProjectType.dictLabel}}</span>
  770. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  771. </view>
  772. </view>
  773. </view>
  774. </view>
  775. <view v-if="EngineeringValue!='开栓'">
  776. <view class="container" style="border-bottom: 1px solid #f8f8f8;"
  777. v-if="EngineeringValue!='民用工程'">
  778. <view class="uni-list-cell-left">
  779. 工程名称
  780. </view>
  781. <view class="uni-list-cell-db" style="margin-top: 10;">
  782. <input class="uni-input" type="text" v-model="EngineeringName" maxlength="80"
  783. placeholder="请输入工程名称"
  784. style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
  785. </view>
  786. </view>
  787. <view class="uni-list"
  788. v-if="EngineeringValue=='工业工程'||EngineeringValue=='带气封堵施工'||EngineeringValue=='民用工程'">
  789. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  790. <view class="uni-list-cell-left">
  791. 工程分类
  792. </view>
  793. <view v-if="this.isEmpty(this.ProjectClassification.dictValue)" class="uni-list-cell-db"
  794. style="margin-top: 10;" @click="pickerShow('gcfl')">
  795. <span style="color: darkgray;">请选择工程分类</span>
  796. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  797. </view>
  798. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  799. @click="pickerShow('gcfl')">
  800. <span style="color: black;">{{ProjectClassification.dictLabel}}</span>
  801. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  802. </view>
  803. </view>
  804. </view>
  805. <view class="uni-list"
  806. v-if="EngineeringValue=='市政工程'||EngineeringValue=='顶管工程'||EngineeringValue=='民用工程'||EngineeringValue=='基建工程'">
  807. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  808. <view class="uni-list-cell-left">
  809. 工程步骤
  810. </view>
  811. <view v-if="this.isEmpty(this.ProjectSteps.dictValue)" class="uni-list-cell-db"
  812. style="margin-top: 10;" @click="pickerShow('gcbz')">
  813. <span style="color: darkgray;">请选择工程步骤</span>
  814. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  815. </view>
  816. <view v-else class="uni-list-cell-db" style="margin-top: 10;"
  817. @click="pickerShow('gcbz')">
  818. <span style="color: black;">{{ProjectSteps.dictLabel}}</span>
  819. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  820. </view>
  821. </view>
  822. </view>
  823. </view>
  824. <view class="uni-list">
  825. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  826. <view class="uni-list-cell-left">
  827. 审核状态
  828. </view>
  829. <view v-if="this.isEmpty(this.ReviewStatus.dictValue)" class="uni-list-cell-db"
  830. style="margin-top: 10;" @click="pickerShow('shzt')">
  831. <span style="color: darkgray;">请选择审核状态</span>
  832. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  833. </view>
  834. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('shzt')">
  835. <span style="color: black;">{{ReviewStatus.dictLabel}}</span>
  836. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  837. </view>
  838. </view>
  839. </view>
  840. <button class="tj-btn" style="margin: 40rpx 90rpx;" @click="serch"> 搜索</button>
  841. <button class="sc-btn" style="margin: 40rpx 90rpx;" @click="clear">重置筛选</button>
  842. </view>
  843. </view>
  844. <cc-pullScroolView class="pullScrollView" ref="pullScroll" :pullDown="pullDown" :isDownLoading="true">
  845. <view class="notice" v-for="(item,index) in list" :key="index">
  846. <view class="justify-content" @click="chooseNode(item)">
  847. <view v-if="EngineeringValue=='民用工程'">
  848. <view class="font-forty">
  849. {{item.areaName+item.buildingName+item.unitName+item.houseName+(item.enginType=='new_built'? '-新建':'-旧改')+'-'+item.enginClassificationName}}
  850. </view>
  851. <view class="font-twenty-eight gray" v-for="(state,stateIndex) in item.nodeReViewStateList"
  852. :key="stateIndex" v-if="state.Type!='开栓'">
  853. {{state.Type}}-{{state.state == 1 ? '审核通过': state.state == 0 ? '审核未通过': state.state == 3 ? '前后照片不一致' : '暂未审核'}}
  854. <view v-if="state.state != 1">原因:{{state.content}}</view>
  855. </view>
  856. </view>
  857. <view v-if="EngineeringValue=='开栓'">
  858. <view class="font-forty">
  859. {{item.areaName+item.buildingName+item.unitName+item.houseName}}
  860. </view>
  861. <view class="font-twenty-eight gray">
  862. {{item.state == 0 ? '审核不通过': (item.state == 1?'审核通过':'未审核')}}
  863. </view>
  864. </view>
  865. <view
  866. v-if="EngineeringValue=='顶管工程'||EngineeringValue=='基建工程'||EngineeringValue=='碰口作业'||EngineeringValue=='市政工程'||EngineeringValue=='工业工程'||EngineeringValue=='带气封堵施工'">
  867. <view class="font-forty">
  868. 工程名称:{{item.enginName}}
  869. </view>
  870. <view class="font-twenty-eight gray" v-for="(state,stateIndex) in item.status"
  871. :key="stateIndex">
  872. <view>{{state.type}}-{{state.reviewStatus}}</view>
  873. </view>
  874. </view>
  875. <view class="font-twenty-eight gray">
  876. {{item.createTime}}
  877. </view>
  878. </view>
  879. </view>
  880. </cc-pullScroolView>
  881. </view>
  882. <view class="share">
  883. <view :class="{'share-box': shareState}" @click="handleHiddenShare">
  884. </view>
  885. <view class="share-item" :class="{'share-show': shareState}">
  886. <view class="share-to">
  887. <text>请选择</text>
  888. </view>
  889. <scroll-view scroll-y="true" class="scroll-Y">
  890. <view class="content">
  891. <view class="block" v-for="(item, index) in typeList" :key="index" @click="showTypeSheet(item)"
  892. v-if="item.Type!='开栓'">
  893. <text>{{item.Type}}</text>
  894. </view>
  895. </view>
  896. </scroll-view>
  897. <view class="cancel" @click.stop="handleHiddenShare">
  898. <text>取消</text>
  899. </view>
  900. </view>
  901. </view>
  902. <bottomSheet ref="refShare" :data="historyList"></bottomSheet>
  903. <BottomSheetNew ref="refShareNew" :data="historyListNew" :TitleType="bottomSheetTitle"></BottomSheetNew>
  904. <bottomSheetMore ref="refShareMore" :data="historyListMore" :TitleType="bottomSheetTitle"></bottomSheetMore>
  905. <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
  906. subtitleKey="id" v-model="name"></SelectPicker>
  907. <SelectPicker :list="dictOptions" @change="changeSelect" v-if="openDict" @close="closeDict" titleKey="dictLabel"
  908. subtitleKey="dictValue" v-model="dictLabel"></SelectPicker>
  909. <SelectPicker :list="projectList" @change="changeSelectP" v-if="openP" @close="closeP" titleKey="name"
  910. subtitleKey="id" v-model="name"></SelectPicker>
  911. </view>
  912. </template>
  913. <script>
  914. import SelectPicker from '../../components/selectPicker/select_picker.vue'
  915. import bottomSheet from '../../components/bottomSheet/bottomSheet.vue'
  916. import CCBProjectList from '../../uni_modules/cc-pullScroolView/components/cc-pullScroolView/cc-pullScroolView.vue';
  917. import bottomSheetNew from '../../components/bottomSheet/bottomSheetMoreNew.vue'
  918. import bottomSheetMore from '../../components/bottomSheet/bottomSheetMore.vue'
  919. import {
  920. gethistoryList,
  921. getKShistoryList,
  922. getProjectStatisticsData
  923. } from '@/api/common'
  924. import {
  925. getUserType,
  926. getUserRole
  927. } from '@/utils/auth';
  928. import {
  929. getDicts
  930. } from "@/api/system/dict/data";
  931. import user from '@/store/modules/user'
  932. import {
  933. getAreaList,
  934. getBuildingList,
  935. getUnitList,
  936. getHousesList,
  937. getEnginMaterialQualityList,
  938. getEnginSpecificationsList,
  939. getMunicipalStatisticsData,
  940. getObtainRoomcCompletionInformationList,
  941. getObtainUnitCompletionInformationList,
  942. getRoomProjectId,
  943. getRoomProjectList,
  944. getHistoryByUserList,
  945. getByUserListAndDicts,
  946. getEnginProjectList,
  947. getengineeringNameList,
  948. getTopPipeNameList,
  949. getProjectName,
  950. getIndustryProjectScheduleDetails,
  951. getMunicipalProjectScheduleDetails,
  952. getTopTubeProjectScheduleDetails,
  953. getCollisionProjectScheduleDetails,
  954. getAreaCompletionInformationList
  955. } from '@/api/common'
  956. export default {
  957. components: {
  958. SelectPicker,
  959. CCBProjectList,
  960. bottomSheet,
  961. bottomSheetNew,
  962. bottomSheetMore
  963. },
  964. data() {
  965. return {
  966. bottomSheetTitle: "",
  967. historyList: {}, //历史数据
  968. historyListNew: {}, //历史数据
  969. historyListMore: {}, //历史数据
  970. userRole: getUserRole(),
  971. tabValue: ['旧改', '新建'],
  972. tabIndex: 0,
  973. isLeader: '',
  974. list: [],
  975. newlist: [],
  976. pageSize: 10,
  977. totalNum: '',
  978. pageNum: 1,
  979. typeList: '',
  980. villageIndex: 0,
  981. specificationIndex: 0,
  982. materialIndex: 0,
  983. villageIndex2: 0,
  984. buildIndex: 0,
  985. unitIndex: 0,
  986. open: false,
  987. openDict: false,
  988. selectList: [],
  989. dictOptions: [],
  990. XQList: [],
  991. LDList: [],
  992. DYList: [],
  993. projectValue: {
  994. 'dictValue': '0'
  995. },
  996. XZQValue: {},
  997. XQValue: {},
  998. XQList2: [],
  999. LDList2: [],
  1000. DYList2: [],
  1001. XQList3: [],
  1002. LDList3: [],
  1003. DYList3: [],
  1004. FJList3: [],
  1005. projectValue2: {
  1006. 'dictValue': '0'
  1007. },
  1008. EngineeringValue: '',
  1009. EngineeringName: '',
  1010. EngineeringList: [],
  1011. shareState: false,
  1012. XZQValue2: {},
  1013. XQValue2: {},
  1014. LDValue2: {},
  1015. DYValue2: {},
  1016. XZQValue3: {},
  1017. XQValue3: {},
  1018. LDValue3: {},
  1019. DYValue3: {},
  1020. FJValue3: {},
  1021. //庭院
  1022. XZQValueCourtyard: {},
  1023. XQValueCourtyard: {},
  1024. XQListCourtyard: [],
  1025. //架空
  1026. XZQValueOverhead: {},
  1027. XQValueOverhead: {},
  1028. LDValueOverhead: {},
  1029. XQListOverhead: [],
  1030. LDListOverhead: [],
  1031. //底腿
  1032. XZQValueBottomLeg: {},
  1033. XQValueBottomLeg: {},
  1034. LDValueBottomLeg: {},
  1035. XQListBottomLeg: [],
  1036. LDListBottomLeg: [],
  1037. ProjectType: {},
  1038. ProjectClassification: {},
  1039. ProjectSteps: {},
  1040. ReviewStatus: {},
  1041. change: false,
  1042. specificationValue: {},
  1043. specificationList: [],
  1044. materialValue: {},
  1045. materialList: [],
  1046. materialUsageList: [],
  1047. roomList: [],
  1048. CourtyardRoomList: [],
  1049. OverheadRoomList: [],
  1050. BottomLegRoomList: [],
  1051. roomCount: 4,
  1052. nodeId: '',
  1053. nodeType: '',
  1054. roomItem: {},
  1055. roomType: '',
  1056. roomId: '',
  1057. projectList: [],
  1058. projectBody01: {},
  1059. projectBody02: {
  1060. 'materialPercentagePE': {
  1061. 'actuality': '',
  1062. 'anticipation': '',
  1063. 'percentage': ''
  1064. },
  1065. 'materialPercentageIron': {
  1066. 'actuality': '',
  1067. 'anticipation': '',
  1068. 'percentage': ''
  1069. }
  1070. },
  1071. projectBody03: {
  1072. 'materialPercentagePE': {
  1073. 'actuality': '',
  1074. 'anticipation': '',
  1075. 'percentage': ''
  1076. },
  1077. 'materialPercentageIron': {
  1078. 'actuality': '',
  1079. 'anticipation': '',
  1080. 'percentage': ''
  1081. }
  1082. },
  1083. projectBody04: {
  1084. 'materialPercentagePE': {
  1085. 'actuality': '',
  1086. 'anticipation': '',
  1087. 'percentage': ''
  1088. },
  1089. 'materialPercentageIron': {
  1090. 'actuality': '',
  1091. 'anticipation': '',
  1092. 'percentage': ''
  1093. }
  1094. },
  1095. projectObj01: {},
  1096. projectObj02: {},
  1097. projectObj03: {},
  1098. projectObj04: {},
  1099. openP: false,
  1100. currentProjectType: '',
  1101. areaData: [],
  1102. }
  1103. },
  1104. created() {},
  1105. onLoad() {
  1106. this.isLeader = getUserType()
  1107. this.EngineeringValue = this.userRole[0];
  1108. if (this.isLeader == 'app_user') {
  1109. this.changeTab();
  1110. }
  1111. },
  1112. // 上拉加载
  1113. onReachBottom() {
  1114. if (this.pageNum * 10 >= this.totalNum) {} else {
  1115. this.$refs.pullScroll.showUpLoading();
  1116. this.pageNum++;
  1117. this.requestData();
  1118. }
  1119. },
  1120. methods: {
  1121. industryItemClick(item) {
  1122. if ("未上传" == item.value) {
  1123. return;
  1124. }
  1125. getIndustryProjectScheduleDetails(this.projectObj01.id, item.name).then(res => {
  1126. this.historyListNew = res.data;
  1127. this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
  1128. this.showHistoryNewList();
  1129. })
  1130. },
  1131. municipalItemClick(item) {
  1132. if ("未上传" == item.value) {
  1133. return;
  1134. }
  1135. getMunicipalProjectScheduleDetails(this.projectObj02.id, item.name).then(res => {
  1136. this.historyListNew = res.data;
  1137. this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
  1138. this.showHistoryNewList();
  1139. })
  1140. },
  1141. topTubeItemClick(item) {
  1142. if ("未上传" == item.value) {
  1143. return;
  1144. }
  1145. getTopTubeProjectScheduleDetails(this.projectObj03.id, item.name).then(res => {
  1146. this.historyListMore = res.data;
  1147. this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
  1148. this.showHistoryMoreList();
  1149. })
  1150. },
  1151. collisionItemClick(item) {
  1152. if ("未上传" == item.value) {
  1153. return;
  1154. }
  1155. getCollisionProjectScheduleDetails(this.projectObj04.id, item.name).then(res => {
  1156. this.historyListNew = res.data;
  1157. this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
  1158. this.showHistoryNewList();
  1159. })
  1160. },
  1161. changeSelectP(item, index) {
  1162. this.openP = false;
  1163. let type = this.currentProjectType;
  1164. if (type == 'engineeringIndustry') { // 工业工程
  1165. this.projectObj01 = item;
  1166. this.getProjectData(item.name, type);
  1167. } else if (type == 'engineeringMunicipal') { // 市政工程
  1168. this.projectObj02 = item;
  1169. this.getProjectData(item.id, type);
  1170. } else if (type == 'engineeringPipeJacking') { // 顶管工程
  1171. this.projectObj03 = item;
  1172. this.getProjectData(item.id, type);
  1173. } else if (type == 'touchOperationEngineering') { // 碰口作业
  1174. this.projectObj04 = item;
  1175. this.getProjectData(item.id, type);
  1176. }
  1177. },
  1178. getProjectTypeList(type) {
  1179. this.currentProjectType = type;
  1180. if (type == 'engineeringIndustry') {
  1181. this.projectList = null;
  1182. getEnginProjectList().then(res => {
  1183. this.projectList = res.data;
  1184. this.openP = true;
  1185. })
  1186. } else if (type == 'engineeringMunicipal') {
  1187. this.projectList = null;
  1188. getengineeringNameList("", "", "").then(res => {
  1189. this.projectList = res.data;
  1190. this.openP = true;
  1191. })
  1192. } else if (type == 'engineeringPipeJacking') {
  1193. this.projectList = null;
  1194. getTopPipeNameList("", "").then(res => {
  1195. this.projectList = res.data;
  1196. this.openP = true;
  1197. })
  1198. } else if (type == 'touchOperationEngineering') {
  1199. this.projectList = null;
  1200. getProjectName("", 999999).then(res => {
  1201. let result = JSON.parse(JSON.stringify(res.rows).replace(/enginName/g, 'name'));
  1202. this.projectList = result;
  1203. this.openP = true;
  1204. })
  1205. }
  1206. },
  1207. getProjectData(id, type) {
  1208. getProjectStatisticsData(id, type).then(response => {
  1209. if (type == 'engineeringIndustry') { // 工业工程
  1210. this.projectBody01 = response.data;
  1211. } else if (type == 'engineeringMunicipal') { // 市政工程
  1212. this.projectBody02 = response.data;
  1213. } else if (type == 'engineeringPipeJacking') { // 顶管工程
  1214. this.projectBody03 = response.data;
  1215. } else if (type == 'touchOperationEngineering') { // 碰口作业
  1216. this.projectBody04 = response.data;
  1217. }
  1218. })
  1219. },
  1220. goHistory(item, type) {
  1221. this.roomType = type;
  1222. this.roomItem = item;
  1223. if (type != 'BottomLeg') {
  1224. let label = '';
  1225. switch (type) {
  1226. case 'Room': //室内
  1227. label = item.enginCycle + '_indoor_engin';
  1228. break
  1229. case 'Courtyard': //庭院
  1230. label = 'old_renovation_courtyard';
  1231. break
  1232. case 'Overhead': //架空
  1233. label = 'old_renovation_overhead';
  1234. break
  1235. }
  1236. getDicts(label).then(response => {
  1237. this.typeList = response.data;
  1238. let result = JSON.parse(JSON.stringify(this.typeList).replace(/dictValue/g, 'Type'));
  1239. this.typeList = result;
  1240. this.handleShowSheet();
  1241. });
  1242. } else { //底腿
  1243. let param = {
  1244. areaId: item.areaId, // 小区id
  1245. buildingId: item.buildingId, // 楼宇id
  1246. unitId: item.unitId, // 单元id
  1247. enginCycle: this.projectValue2.dictValue, // 工程周期
  1248. enginType: item.enginCycle,
  1249. enginClassification: 'bottom_leg',
  1250. }
  1251. getRoomProjectId(param).then(res => {
  1252. if (res.code == '200') {
  1253. if (res.data != null) {
  1254. getRoomProjectList(res.data.id, '底腿').then(res => {
  1255. if (res.data.zEngineeringNodeBo != null) {
  1256. this.historyList = res.data
  1257. this.showHistoryList();
  1258. } else {
  1259. this.$modal.msg("暂无历史信息")
  1260. }
  1261. })
  1262. } else {
  1263. this.$modal.msg("暂无工程信息")
  1264. }
  1265. } else {
  1266. this.$modal.msg(res.msg)
  1267. }
  1268. })
  1269. }
  1270. },
  1271. serch() {
  1272. this.changeTab();
  1273. },
  1274. change1() {
  1275. this.change = !this.change
  1276. },
  1277. isEmpty(str) {
  1278. return (!str || 0 === str.length);
  1279. },
  1280. handleShowSheet() {
  1281. this.shareState = true;
  1282. },
  1283. handleHiddenShare() {
  1284. this.shareState = false;
  1285. },
  1286. chooseNode(item) {
  1287. if (this.EngineeringValue == '民用工程') {
  1288. this.typeList = item.nodeReViewStateList
  1289. this.nodeId = item.id;
  1290. this.nodeType = item.enginClassification;
  1291. this.roomId = item.houseId;
  1292. if (this.nodeType == 'bottom_leg') { //底腿
  1293. let obj = {
  1294. id: this.nodeId,
  1295. type: item.Type
  1296. };
  1297. uni.navigateTo({
  1298. url: '/pages/statistics/history_details_bottom_leg?params=' + encodeURIComponent(JSON
  1299. .stringify(
  1300. obj))
  1301. })
  1302. }
  1303. // else if (this.nodeType == 'pressure_regulating') { //调压柜
  1304. // let obj = {
  1305. // id: this.nodeId,
  1306. // type: item.enginClassificationName
  1307. // };
  1308. // uni.navigateTo({
  1309. // url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(
  1310. // JSON
  1311. // .stringify(
  1312. // obj))
  1313. // })
  1314. // }
  1315. else {
  1316. this.handleShowSheet();
  1317. }
  1318. } else if (this.EngineeringValue == '开栓') {
  1319. this.nodeId = item.id;
  1320. let obj = {
  1321. type: 'edit',
  1322. id: this.nodeId,
  1323. };
  1324. uni.navigateTo({
  1325. url: '/pages/open_bolt/open_bolt?params=' + encodeURIComponent(JSON
  1326. .stringify(
  1327. obj))
  1328. })
  1329. } else if (this.EngineeringValue == '市政工程' || this.EngineeringValue == '基建工程' || this.EngineeringValue ==
  1330. '顶管工程' || this.EngineeringValue == '工业工程' || this.EngineeringValue == '碰口作业') {
  1331. this.nodeId = item.id;
  1332. let result = JSON.parse(JSON.stringify(item.status).replace(/type/g, 'Type'));
  1333. this.typeList = result;
  1334. if (item.enginClassification == '调压柜') {
  1335. let obj = {
  1336. id: this.nodeId,
  1337. type: '调压柜',
  1338. };
  1339. uni.navigateTo({
  1340. url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
  1341. .stringify(
  1342. obj))
  1343. })
  1344. } else {
  1345. this.handleShowSheet();
  1346. }
  1347. }
  1348. // else if (this.EngineeringValue == '工业工程') {
  1349. // this.nodeId = item.id;
  1350. // let obj = {
  1351. // id: this.nodeId,
  1352. // type: '历史数据'
  1353. // };
  1354. // uni.navigateTo({
  1355. // url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
  1356. // .stringify(
  1357. // obj))
  1358. // })
  1359. // }
  1360. else if (this.EngineeringValue == '带气封堵施工') {
  1361. this.nodeId = item.id;
  1362. let obj = {
  1363. id: this.nodeId,
  1364. type: item.dictvalue
  1365. };
  1366. uni.navigateTo({
  1367. url: '/pages/statistics/history_gas_sealing?params=' + encodeURIComponent(JSON
  1368. .stringify(
  1369. obj))
  1370. })
  1371. }
  1372. },
  1373. showHistoryList() {
  1374. this.$refs.refShare.handleShowShare();
  1375. },
  1376. showHistoryNewList() {
  1377. this.$refs.refShareNew.handleShowShare();
  1378. },
  1379. showHistoryMoreList() {
  1380. this.$refs.refShareMore.handleShowShare();
  1381. },
  1382. showTypeSheet(item) {
  1383. if (this.isLeader == 'sys_user') {
  1384. let param = '';
  1385. console.log("====", this.roomType, item.Type)
  1386. if (this.roomType == 'Room') { //室内
  1387. param = {
  1388. areaId: this.roomItem.areaId,
  1389. buildingId: this.roomItem.buildingId,
  1390. unitId: this.roomItem.unitId,
  1391. houseId: this.roomItem.roomId,
  1392. enginCycle: this.projectValue2.dictValue, // 工程周期
  1393. enginType: this.roomItem.enginCycle,
  1394. enginClassification: 'indoor_engin', //写死 室内
  1395. }
  1396. } else if (this.roomType == 'Courtyard') {
  1397. //庭院
  1398. param = {
  1399. areaId: this.roomItem.areaId,
  1400. buildingId: this.roomItem.buildingId,
  1401. // unitId: this.roomItem.unitId,
  1402. // houseId: this.roomItem.roomId,
  1403. enginCycle: this.projectValue2.dictValue, // 工程周期
  1404. enginType: this.roomItem.enginCycle,
  1405. enginClassification: 'courtyard', //写死 室内
  1406. }
  1407. } else if (this.roomType == 'Overhead') {
  1408. //架空
  1409. param = {
  1410. areaId: this.roomItem.areaId,
  1411. buildingId: this.roomItem.buildingId,
  1412. unitId: this.roomItem.unitId,
  1413. // houseId: this.roomItem.roomId,
  1414. enginCycle: this.projectValue2.dictValue, // 工程周期
  1415. enginType: this.roomItem.enginCycle,
  1416. enginClassification: 'overhead', //写死 室内
  1417. }
  1418. }
  1419. getRoomProjectId(param).then(res => {
  1420. if (res.code == '200') {
  1421. if (res.data != null) {
  1422. getRoomProjectList(res.data.id, item.Type).then(res => {
  1423. if (res.data.zEngineeringNodeBo != null) {
  1424. this.bottomSheetTitle = item.Type
  1425. if (item.Type == '下沟' || item.Type == '全貌照片' || item.Type ==
  1426. '焊接') {
  1427. this.historyListMore = res.data
  1428. this.showHistoryMoreList();
  1429. } else {
  1430. this.historyList = res.data
  1431. this.showHistoryList();
  1432. }
  1433. } else {
  1434. this.$modal.msg("暂无历史信息")
  1435. }
  1436. })
  1437. } else {
  1438. this.$modal.msg("暂无工程信息")
  1439. }
  1440. } else {
  1441. this.$modal.msg(res.msg)
  1442. }
  1443. })
  1444. } else {
  1445. if (this.EngineeringValue == '民用工程') {
  1446. let obj = {
  1447. id: this.nodeId,
  1448. type: item.Type,
  1449. roomId: this.roomId,
  1450. };
  1451. this.handleHiddenShare();
  1452. if (this.nodeType == 'indoor_engin') { //室内
  1453. uni.navigateTo({
  1454. url: '/pages/statistics/historyDetails?params=' + encodeURIComponent(JSON
  1455. .stringify(
  1456. obj))
  1457. })
  1458. } else if (this.nodeType == 'overhead') { //架空
  1459. uni.navigateTo({
  1460. url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
  1461. .stringify(
  1462. obj))
  1463. })
  1464. } else if (this.nodeType == 'courtyard') { //庭院
  1465. uni.navigateTo({
  1466. url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
  1467. .stringify(
  1468. obj))
  1469. })
  1470. }
  1471. } else if (this.EngineeringValue == '顶管工程') {
  1472. let obj = {
  1473. id: this.nodeId,
  1474. type: item.Type,
  1475. };
  1476. uni.navigateTo({
  1477. url: '/pages/statistics/historyDetailsTopTube?params=' + encodeURIComponent(JSON
  1478. .stringify(
  1479. obj))
  1480. })
  1481. this.handleHiddenShare();
  1482. } else if (this.EngineeringValue == '基建工程') {
  1483. let obj = {
  1484. id: this.nodeId,
  1485. type: item.Type,
  1486. };
  1487. uni.navigateTo({
  1488. url: '/pages/statistics/historyDetailsInfrastructure?params=' + encodeURIComponent(JSON
  1489. .stringify(
  1490. obj))
  1491. })
  1492. this.handleHiddenShare();
  1493. } else if (this.EngineeringValue == '市政工程') {
  1494. let obj = {
  1495. id: this.nodeId,
  1496. type: item.Type,
  1497. };
  1498. uni.navigateTo({
  1499. url: '/pages/statistics/historyDetailMunicipal?params=' + encodeURIComponent(JSON
  1500. .stringify(
  1501. obj))
  1502. })
  1503. this.handleHiddenShare();
  1504. } else if (this.EngineeringValue == '工业工程') {
  1505. let obj = {
  1506. id: this.nodeId,
  1507. type: item.Type,
  1508. };
  1509. uni.navigateTo({
  1510. url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
  1511. .stringify(
  1512. obj))
  1513. })
  1514. this.handleHiddenShare();
  1515. } else if (this.EngineeringValue == '碰口作业') {
  1516. let obj = {
  1517. id: this.nodeId,
  1518. type: item.Type,
  1519. };
  1520. console.log("===", obj)
  1521. uni.navigateTo({
  1522. url: '/pages/statistics/historyDetailsMouth?params=' + encodeURIComponent(JSON
  1523. .stringify(
  1524. obj))
  1525. })
  1526. this.handleHiddenShare();
  1527. }
  1528. }
  1529. },
  1530. pickerShow(e) {
  1531. this.type = e;
  1532. if (e == 'gcx') {
  1533. this.open = true;
  1534. this.EngineeringList = [];
  1535. this.userRole.forEach((item, index) => {
  1536. // if (item != '危险作业工程') {
  1537. // console.log("===", item)
  1538. this.EngineeringList.push({
  1539. 'id': index,
  1540. 'name': item
  1541. })
  1542. //}
  1543. });
  1544. this.selectList = this.EngineeringList;
  1545. } else if (e == 'gczq') {
  1546. this.openDict = true;
  1547. getDicts("engin_cycle").then(response => {
  1548. this.dictOptions = response.data;
  1549. });
  1550. } else if (e == 'gclx') {
  1551. this.openDict = true;
  1552. getDicts('indoor_engin_type').then(response => {
  1553. this.dictOptions = response.data;
  1554. });
  1555. } else if (e == 'gcfl') {
  1556. if (this.EngineeringValue == '民用工程') {
  1557. if (this.isEmpty(this.ProjectType.dictValue)) {
  1558. this.$modal.msg('请选择工程类型')
  1559. } else {
  1560. this.openDict = true;
  1561. getDicts(this.ProjectType.dictValue).then(response => {
  1562. this.dictOptions = response.data;
  1563. });
  1564. }
  1565. } else {
  1566. //工业5 带起封堵施工3
  1567. let nodeType = '';
  1568. if (this.EngineeringValue == '工业工程') {
  1569. nodeType = '5';
  1570. } else if (this.EngineeringValue == '带气封堵施工') {
  1571. nodeType = '3';
  1572. }
  1573. this.openDict = true;
  1574. getByUserListAndDicts(nodeType).then(
  1575. response => {
  1576. this.dictOptions = response.data;
  1577. });
  1578. }
  1579. } else if (e == 'gcbz') {
  1580. if (this.EngineeringValue == '民用工程') {
  1581. if (this.isEmpty(this.ProjectClassification.dictValue)) {
  1582. this.$modal.msg('请选择工程分类')
  1583. } else {
  1584. this.openDict = true;
  1585. getDicts(this.ProjectType.dictValue + "_" + this.ProjectClassification.dictValue).then(
  1586. response => {
  1587. this.dictOptions = response.data;
  1588. });
  1589. }
  1590. } else {
  1591. let nodeType = '';
  1592. if (this.EngineeringValue == '市政工程') {
  1593. nodeType = '4';
  1594. } else if (this.EngineeringValue == '基建工程') {
  1595. nodeType = '2';
  1596. } else if (this.EngineeringValue == '顶管工程') {
  1597. nodeType = '1';
  1598. }
  1599. this.openDict = true;
  1600. getByUserListAndDicts(nodeType).then(
  1601. response => {
  1602. this.dictOptions = response.data;
  1603. });
  1604. }
  1605. } else if (e == 'shzt') {
  1606. if (this.EngineeringValue == '民用工程') {
  1607. if (this.isEmpty(this.ProjectSteps.dictValue)) {
  1608. this.$modal.msg('请选择工程步骤')
  1609. } else {
  1610. this.openDict = true;
  1611. getDicts('state_options').then(
  1612. response => {
  1613. this.dictOptions = response.data;
  1614. });
  1615. }
  1616. } else {
  1617. this.openDict = true;
  1618. getDicts('state_options').then(
  1619. response => {
  1620. this.dictOptions = response.data;
  1621. });
  1622. }
  1623. } else if (e == 'xzq') {
  1624. if (this.isEmpty(this.projectValue.dictValue)) {
  1625. this.$modal.msg('请选择工程周期')
  1626. } else {
  1627. this.openDict = true;
  1628. getDicts("district").then(response => {
  1629. this.dictOptions = response.data;
  1630. });
  1631. }
  1632. } else if (e == 'xq') {
  1633. if (this.isEmpty(this.XZQValue.dictValue)) {
  1634. getAreaList('').then(res => {
  1635. this.XQList = res.data;
  1636. this.open = true;
  1637. this.selectList = this.XQList;
  1638. })
  1639. } else {
  1640. this.open = true;
  1641. this.selectList = this.XQList;
  1642. }
  1643. } else if (e == 'ld') {
  1644. if (this.isEmpty(this.XQValue.id)) {
  1645. this.$modal.msg('请选择小区')
  1646. } else {
  1647. this.open = true;
  1648. this.selectList = this.LDList;
  1649. }
  1650. } else if (e == 'dy') {
  1651. if (this.isEmpty(this.LDValue.id)) {
  1652. this.$modal.msg('请选择楼栋')
  1653. } else {
  1654. this.open = true;
  1655. this.selectList = this.DYList;
  1656. }
  1657. } else if (e == 'gczq2') {
  1658. this.openDict = true;
  1659. getDicts("engin_cycle").then(response => {
  1660. this.dictOptions = response.data;
  1661. });
  1662. } else if (e == 'xzq2' || e == 'xzq3' || e == 'xzqCourtyard' || e == 'xzqOverhead' || e ==
  1663. 'xzqBottomLeg') {
  1664. if (this.isEmpty(this.projectValue2.dictValue)) {
  1665. this.$modal.msg('请选择工程周期')
  1666. } else {
  1667. this.openDict = true;
  1668. getDicts("district").then(response => {
  1669. this.dictOptions = response.data;
  1670. });
  1671. }
  1672. } else if (e == 'xq2') {
  1673. if (this.isEmpty(this.XZQValue2.dictValue)) {
  1674. getAreaList('').then(res => {
  1675. this.XQList2 = res.data;
  1676. this.open = true;
  1677. this.selectList = this.XQList2;
  1678. })
  1679. } else {
  1680. this.open = true;
  1681. this.selectList = this.XQList2;
  1682. }
  1683. } else if (e == 'xqCourtyard') {
  1684. if (this.isEmpty(this.XZQValueCourtyard.dictValue)) {
  1685. getAreaList('').then(res => {
  1686. this.XQListCourtyard = res.data;
  1687. this.open = true;
  1688. this.selectList = this.XQListCourtyard;
  1689. })
  1690. } else {
  1691. this.open = true;
  1692. this.selectList = this.XQListCourtyard;
  1693. }
  1694. } else if (e == 'xqOverhead') {
  1695. if (this.isEmpty(this.XZQValueOverhead.dictValue)) {
  1696. getAreaList('').then(res => {
  1697. this.XQListOverhead = res.data;
  1698. this.open = true;
  1699. this.selectList = this.XQListOverhead;
  1700. })
  1701. } else {
  1702. this.open = true;
  1703. this.selectList = this.XQListOverhead;
  1704. }
  1705. } else if (e == 'xqBottomLeg') {
  1706. if (this.isEmpty(this.XZQValueBottomLeg.dictValue)) {
  1707. getAreaList('').then(res => {
  1708. this.XQListBottomLeg = res.data;
  1709. this.open = true;
  1710. this.selectList = this.XQListBottomLeg;
  1711. })
  1712. } else {
  1713. this.open = true;
  1714. this.selectList = this.XQListBottomLeg;
  1715. }
  1716. } else if (e == 'ld2') {
  1717. if (this.isEmpty(this.XQValue2.id)) {
  1718. this.$modal.msg('请选择小区')
  1719. } else {
  1720. this.open = true;
  1721. this.selectList = this.LDList2;
  1722. }
  1723. } else if (e == 'ldCourtyard') {
  1724. if (this.isEmpty(this.XQValueCourtyard.id)) {
  1725. this.$modal.msg('请选择小区')
  1726. } else {
  1727. this.open = true;
  1728. this.selectList = this.LDListCourtyard;
  1729. }
  1730. } else if (e == 'ldOverhead') {
  1731. if (this.isEmpty(this.XQValueOverhead.id)) {
  1732. this.$modal.msg('请选择小区')
  1733. } else {
  1734. this.open = true;
  1735. this.selectList = this.LDListOverhead;
  1736. }
  1737. } else if (e == 'ldBottomLeg') {
  1738. if (this.isEmpty(this.XQValueBottomLeg.id)) {
  1739. this.$modal.msg('请选择小区')
  1740. } else {
  1741. this.open = true;
  1742. this.selectList = this.LDListBottomLeg;
  1743. }
  1744. } else if (e == 'dy2') {
  1745. if (this.isEmpty(this.LDValue2.id)) {
  1746. this.$modal.msg('请选择楼栋')
  1747. } else {
  1748. this.open = true;
  1749. this.selectList = this.DYList2;
  1750. }
  1751. } else if (e == 'dyOverhead') {
  1752. if (this.isEmpty(this.LDValueOverhead.id)) {
  1753. this.$modal.msg('请选择楼栋')
  1754. } else {
  1755. this.open = true;
  1756. this.selectList = this.DYListOverhead;
  1757. }
  1758. } else if (e == 'dyBottomLeg') {
  1759. if (this.isEmpty(this.LDValueBottomLeg.id)) {
  1760. this.$modal.msg('请选择楼栋')
  1761. } else {
  1762. this.open = true;
  1763. this.selectList = this.DYListBottomLeg;
  1764. }
  1765. } else if (e == 'xq3') {
  1766. if (this.isEmpty(this.XZQValue3.dictValue)) {
  1767. getAreaList('').then(res => {
  1768. this.XQList3 = res.data;
  1769. this.open = true;
  1770. this.selectList = this.XQList3;
  1771. })
  1772. } else {
  1773. this.open = true;
  1774. this.selectList = this.XQList3;
  1775. }
  1776. } else if (e == 'ld3') {
  1777. if (this.isEmpty(this.XQValue3.id)) {
  1778. this.$modal.msg('请选择小区')
  1779. } else {
  1780. this.open = true;
  1781. this.selectList = this.LDList3;
  1782. }
  1783. } else if (e == 'dy3') {
  1784. if (this.isEmpty(this.LDValue3.id)) {
  1785. this.$modal.msg('请选择楼栋')
  1786. } else {
  1787. this.open = true;
  1788. this.selectList = this.DYList3;
  1789. }
  1790. } else if (e == 'fj3') {
  1791. if (this.isEmpty(this.DYValue3.id)) {
  1792. this.$modal.msg('请选择单元')
  1793. } else {
  1794. this.open = true;
  1795. this.selectList = this.FJList3;
  1796. }
  1797. } else if (e == 'gg') {
  1798. if (this.isEmpty(this.materialValue.id)) {
  1799. this.$modal.msg('请选择材料')
  1800. } else {
  1801. this.open = true;
  1802. this.selectList = this.materialList;
  1803. }
  1804. } else if (e == 'cz') {
  1805. this.open = true;
  1806. getEnginMaterialQualityList("民用工程").then(response => {
  1807. let list = response.data;
  1808. let mList = [];
  1809. list.forEach((item, index) => {
  1810. mList.push({
  1811. name: (item.enginSortName !=null ? item.name +'-' +item.enginSortName + item.enginNodeName:item.name),
  1812. id: item.id
  1813. })
  1814. })
  1815. this.selectList = mList;
  1816. });
  1817. }
  1818. },
  1819. clear() {
  1820. //清空所有筛选项
  1821. this.XZQValue3 = '';
  1822. this.XQValue3 = '';
  1823. this.LDValue3 = '';
  1824. this.DYValue3 = '';
  1825. this.FJValue3 = '';
  1826. this.ProjectType = {
  1827. dictValue: '',
  1828. dictLabel: ''
  1829. };
  1830. this.ProjectClassification = {
  1831. dictValue: '',
  1832. dictLabel: ''
  1833. };
  1834. this.ProjectSteps = {
  1835. dictValue: '',
  1836. dictLabel: ''
  1837. };
  1838. this.ReviewStatus = {
  1839. dictValue: '',
  1840. dictLabel: ''
  1841. };
  1842. this.EngineeringName = '';
  1843. this.changeTab();
  1844. },
  1845. closeP(item, index) {
  1846. this.openP = false;
  1847. },
  1848. changeSelect(item, index) {
  1849. this.open = false;
  1850. this.openDict = false;
  1851. if (this.type == 'gcx') {
  1852. this.EngineeringValue = item.name
  1853. this.clear();
  1854. } else if (this.type == 'xzq') {
  1855. this.XZQValue = item;
  1856. this.XQValue = '';
  1857. this.LDValue = '';
  1858. this.DYValue = '';
  1859. this.FJValue = '';
  1860. getAreaList(item.dictValue).then(res => {
  1861. this.XQList = res.data;
  1862. })
  1863. } else if (this.type == 'gczq') {
  1864. this.projectValue = item
  1865. } else if (this.type == 'gclx') {
  1866. this.ProjectType = item
  1867. this.ProjectClassification = '';
  1868. this.ProjectSteps = '';
  1869. this.ReviewStatus = '';
  1870. } else if (this.type == 'gcfl') {
  1871. this.ProjectClassification = item
  1872. this.ProjectSteps = '';
  1873. this.ReviewStatus = '';
  1874. } else if (this.type == 'gcbz') {
  1875. this.ProjectSteps = item
  1876. this.ReviewStatus = '';
  1877. } else if (this.type == 'shzt') {
  1878. this.ReviewStatus = item
  1879. } else if (this.type == 'xq') {
  1880. this.XQValue = item;
  1881. this.LDValue = '';
  1882. this.DYValue = '';
  1883. this.FJValue = '';
  1884. this.queryMaterialsUsedList();
  1885. } else if (this.type == 'ld') {
  1886. this.LDValue = item;
  1887. this.DYValue = '';
  1888. this.FJValue = '';
  1889. getUnitList(item.id).then(res => {
  1890. this.DYList = res.data
  1891. })
  1892. } else if (this.type == 'dy') {
  1893. this.DYValue = item;
  1894. } else if (this.type == 'gczq2') {
  1895. this.projectValue2 = item
  1896. } else if (this.type == 'xzq2') {
  1897. this.XZQValue2 = item;
  1898. this.XQValue2 = '';
  1899. this.LDValue2 = '';
  1900. this.DYValue2 = '';
  1901. this.FJValue2 = '';
  1902. getAreaList(item.dictValue).then(res => {
  1903. this.XQList2 = res.data;
  1904. })
  1905. } else if (this.type == 'xzq3') {
  1906. this.XZQValue3 = item;
  1907. this.XQValue3 = '';
  1908. this.LDValue3 = '';
  1909. this.DYValue3 = '';
  1910. this.FJValue3 = '';
  1911. getAreaList(item.dictValue).then(res => {
  1912. this.XQList3 = res.data;
  1913. })
  1914. } else if (this.type == 'xzqCourtyard') {
  1915. this.XZQValueCourtyard = item;
  1916. this.XQValueCourtyard = '';
  1917. getAreaList(item.dictValue).then(res => {
  1918. this.XQListCourtyard = res.data;
  1919. })
  1920. } else if (this.type == 'xzqOverhead') {
  1921. this.XZQValueOverhead = item;
  1922. this.XQValueOverhead = '';
  1923. this.LDValueOverhead = '';
  1924. getAreaList(item.dictValue).then(res => {
  1925. this.XQListOverhead = res.data;
  1926. })
  1927. } else if (this.type == 'xzqBottomLeg') {
  1928. this.XZQValueBottomLeg = item;
  1929. this.XQValueBottomLeg = '';
  1930. this.LDValueBottomLeg = '';
  1931. getAreaList(item.dictValue).then(res => {
  1932. this.XQListBottomLeg = res.data;
  1933. })
  1934. } else if (this.type == 'xq2') {
  1935. this.XZQValue2 = {
  1936. dictValue: item.district,
  1937. dictLabel: item.districtName
  1938. };
  1939. this.XQValue2 = item;
  1940. this.LDValue2 = '';
  1941. this.DYValue2 = '';
  1942. this.FJValue2 = '';
  1943. getBuildingList(item.id).then(res => {
  1944. this.LDList2 = res.data
  1945. })
  1946. getAreaCompletionInformationList(item.id, 0).then(res => {
  1947. this.areaData = res.rows;
  1948. })
  1949. } else if (this.type == 'xq3') {
  1950. this.XZQValue3 = {
  1951. dictValue: item.district,
  1952. dictLabel: item.districtName
  1953. };
  1954. this.XQValue3 = item;
  1955. this.LDValue3 = '';
  1956. this.DYValue3 = '';
  1957. this.FJValue3 = '';
  1958. getBuildingList(item.id).then(res => {
  1959. this.LDList3 = res.data
  1960. })
  1961. } else if (this.type == 'xqBottomLeg') {
  1962. this.XZQValueBottomLeg = {
  1963. dictValue: item.district,
  1964. dictLabel: item.districtName
  1965. };
  1966. this.XQValueBottomLeg = item;
  1967. this.LDValueBottomLeg = '';
  1968. getBuildingList(item.id).then(res => {
  1969. this.LDListBottomLeg = res.data
  1970. })
  1971. } else if (this.type == 'xqCourtyard') {
  1972. this.XZQValueCourtyard = {
  1973. dictValue: item.district,
  1974. dictLabel: item.districtName
  1975. };
  1976. this.XQValueCourtyard = item;
  1977. this.getCourtyardList();
  1978. } else if (this.type == 'xqOverhead') {
  1979. this.XZQValueOverhead = {
  1980. dictValue: item.district,
  1981. dictLabel: item.districtName
  1982. };
  1983. this.XQValueOverhead = item;
  1984. this.LDValueOverhead = '';
  1985. getBuildingList(item.id).then(res => {
  1986. this.LDListOverhead = res.data
  1987. })
  1988. } else if (this.type == 'ld2') {
  1989. this.LDValue2 = item;
  1990. this.DYValue2 = '';
  1991. this.FJValue2 = '';
  1992. getUnitList(item.id).then(res => {
  1993. this.DYList2 = res.data
  1994. })
  1995. } else if (this.type == 'ld3') {
  1996. this.LDValue3 = item;
  1997. this.DYValue3 = '';
  1998. this.FJValue3 = '';
  1999. getUnitList(item.id).then(res => {
  2000. this.DYList3 = res.data
  2001. })
  2002. } else if (this.type == 'ldOverhead') {
  2003. this.LDValueOverhead = item;
  2004. this.getOverheadList();
  2005. } else if (this.type == 'ldBottomLeg') {
  2006. this.LDValueBottomLeg = item;
  2007. this.getBottomLegList();
  2008. } else if (this.type == 'dy3') {
  2009. this.DYValue3 = item;
  2010. this.FJValue3 = '';
  2011. getHousesList(item.id).then(res => {
  2012. this.FJList3 = res.data
  2013. })
  2014. } else if (this.type == 'fj3') {
  2015. this.FJValue3 = item;
  2016. } else if (this.type == 'dy2') {
  2017. this.DYValue2 = item;
  2018. this.queryProjectStatisticsList();
  2019. } else if (this.type == 'gg') {
  2020. this.specificationValue = item;
  2021. this.queryMaterialsUsedList();
  2022. } else if (this.type == 'cz') {
  2023. this.materialValue = item;
  2024. this.specificationValue = '';
  2025. this.queryMaterialsUsedList();
  2026. getEnginSpecificationsList(item.id).then(res => {
  2027. this.materialList = res.data
  2028. })
  2029. }
  2030. },
  2031. getCourtyardList() {
  2032. let param = {
  2033. enginCycle: this.projectValue2.dictValue, //工程周期
  2034. areaId: this.XQValueCourtyard.id,
  2035. enginClassification: 'courtyard',
  2036. };
  2037. getObtainUnitCompletionInformationList(param).then(res => {
  2038. if (res.hasOwnProperty('data') && res.data != null && res.data.length > 0) {
  2039. this.CourtyardRoomList = res.data[0].buildingStatusVoList;
  2040. }
  2041. })
  2042. },
  2043. getOverheadList() {
  2044. let param = {
  2045. enginCycle: this.projectValue2.dictValue, //工程周期
  2046. areaId: this.XQValueOverhead.id,
  2047. buildingId: this.LDValueOverhead.id,
  2048. enginClassification: 'overhead',
  2049. };
  2050. getObtainUnitCompletionInformationList(param).then(res => {
  2051. if (res.hasOwnProperty('data') && res.data != null && res.data.length > 0) {
  2052. this.OverheadRoomList = res.data[0].unitStatusVoList;
  2053. }
  2054. })
  2055. },
  2056. getBottomLegList() {
  2057. let param = {
  2058. enginCycle: this.projectValue2.dictValue, //工程周期
  2059. areaId: this.XQValueBottomLeg.id,
  2060. buildingId: this.LDValueBottomLeg.id,
  2061. enginClassification: 'bottom_leg',
  2062. };
  2063. getObtainUnitCompletionInformationList(param).then(res => {
  2064. if (res.hasOwnProperty('data') && res.data != null && res.data.length > 0) {
  2065. this.BottomLegRoomList = res.data[0].unitStatusVoList;
  2066. }
  2067. })
  2068. },
  2069. close(e) {
  2070. this.open = false
  2071. },
  2072. closeDict(e) {
  2073. this.openDict = false
  2074. },
  2075. queryMaterialsUsedList() {
  2076. if (this.isEmpty(this.XQValue.id)) {
  2077. this.$modal.msg('请选择小区')
  2078. return;
  2079. }
  2080. let param = {
  2081. enginCycle: this.projectValue.dictValue, //工程周期
  2082. areaId: this.XQValue.id,
  2083. realityQuality: this.materialValue.id,
  2084. realitySpecifications: this.specificationValue.id,
  2085. };
  2086. this.XZQValue = {
  2087. dictValue: this.XQValue.district,
  2088. dictLabel: this.XQValue.districtName
  2089. };
  2090. getMunicipalStatisticsData(param).then(res => {
  2091. this.materialUsageList = res.data;
  2092. })
  2093. },
  2094. queryProjectStatisticsList() {
  2095. let param = {
  2096. enginCycle: this.projectValue.dictValue, //工程周期
  2097. areaId: this.XQValue2.id,
  2098. buildingId: this.LDValue2.id,
  2099. unitId: this.DYValue2.id,
  2100. };
  2101. getObtainRoomcCompletionInformationList(param).then(res => {
  2102. this.roomList = res.data[0].roomStatusVoList;
  2103. this.roomCount = res.data[0].roomStatusVoList.length;
  2104. })
  2105. },
  2106. getColorByStatus(status) {
  2107. if (this.isEmpty(status)) {
  2108. return "#fff";
  2109. }
  2110. if (status == '施工中') {
  2111. return "#5bd3ff";
  2112. } else if (status == '未施工') {
  2113. return "#ffc881";
  2114. } else if (status == '竣工') {
  2115. return "#80d9ae";
  2116. }
  2117. },
  2118. clearMaterialInfo() {
  2119. this.materialValue = '';
  2120. this.specificationValue = '';
  2121. this.queryMaterialsUsedList();
  2122. },
  2123. clearSpecificationInfo() {
  2124. this.specificationValue = '';
  2125. this.queryMaterialsUsedList();
  2126. },
  2127. pullDown(pullScroll) {
  2128. this.pageNum = 1;
  2129. setTimeout(() => {
  2130. this.requestData(pullScroll);
  2131. }, 1000);
  2132. },
  2133. getList() {
  2134. let myThis = this;
  2135. this.$nextTick(() => {
  2136. myThis.$refs.pullScroll.refresh();
  2137. });
  2138. },
  2139. changeTab() {
  2140. this.pageSize = 10;
  2141. this.totalNum = '';
  2142. this.pageNum = 1;
  2143. this.requestData();
  2144. },
  2145. requestData() {
  2146. uni.showLoading()
  2147. if (this.EngineeringValue == '民用工程') {
  2148. let type = ''
  2149. let param = {
  2150. district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
  2151. areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
  2152. buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
  2153. unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
  2154. houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
  2155. enginType: this.ProjectType.dictValue == undefined ? '' : this.ProjectType.dictValue,
  2156. enginCycle: '0',
  2157. enginClassification: this.ProjectClassification.dictValue == undefined ? '' : this
  2158. .ProjectClassification.dictValue,
  2159. type: this.ProjectSteps.dictValue == undefined ? '' : this.ProjectSteps.dictValue,
  2160. completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
  2161. createBy: user.state.name,
  2162. pageNum: this.pageNum,
  2163. pageSize: this.pageSize
  2164. }
  2165. gethistoryList(param).then(res => {
  2166. this.totalNum = res.total
  2167. if (res.code == '200') {
  2168. uni.hideLoading()
  2169. if (res.rows.length !== 0) {
  2170. if (this.pageNum == 1) {
  2171. this.list = [];
  2172. this.list = res.rows
  2173. } else {
  2174. this.list = this.list.concat(res.rows)
  2175. }
  2176. if (this.pageNum * 10 >= this.totalNum) {
  2177. this.$refs.pullScroll.finish();
  2178. } else {
  2179. this.$refs.pullScroll.success();
  2180. }
  2181. } else {
  2182. this.list = [];
  2183. this.$refs.pullScroll.empty();
  2184. }
  2185. } else {
  2186. this.$modal.msg(res.msg + "")
  2187. this.$refs.pullScroll.error();
  2188. }
  2189. })
  2190. } else if (this.EngineeringValue == '开栓') {
  2191. let type = ''
  2192. let param = {
  2193. district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
  2194. areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
  2195. buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
  2196. unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
  2197. houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
  2198. completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
  2199. createBy: user.state.name,
  2200. pageNum: this.pageNum,
  2201. pageSize: this.pageSize
  2202. }
  2203. getKShistoryList(param).then(res => {
  2204. this.totalNum = res.total
  2205. if (res.code == '200') {
  2206. uni.hideLoading()
  2207. if (res.rows.length !== 0) {
  2208. if (this.pageNum == 1) {
  2209. this.list = [];
  2210. this.list = res.rows
  2211. } else {
  2212. this.list = this.list.concat(res.rows)
  2213. }
  2214. if (this.pageNum * 10 >= this.totalNum) {
  2215. this.$refs.pullScroll.finish();
  2216. } else {
  2217. this.$refs.pullScroll.success();
  2218. }
  2219. } else {
  2220. this.list = [];
  2221. this.$refs.pullScroll.empty();
  2222. }
  2223. } else {
  2224. this.$modal.msg(res.msg + "")
  2225. this.$refs.pullScroll.error();
  2226. }
  2227. })
  2228. } else if (this.EngineeringValue == '顶管工程' || this.EngineeringValue == '基建工程' || this.EngineeringValue ==
  2229. '碰口作业' || this.EngineeringValue == '市政工程' || this.EngineeringValue == '工业工程' || this
  2230. .EngineeringValue == '带气封堵施工') {
  2231. //type 1 = 顶管, 2=基建 3=危险 4= 市政 5= 工业 type=6 是带气封堵
  2232. let chooseType = '';
  2233. switch (this.EngineeringValue) {
  2234. case '顶管工程':
  2235. chooseType = '1';
  2236. break
  2237. case '基建工程':
  2238. chooseType = '2';
  2239. break
  2240. case '碰口作业':
  2241. chooseType = '7';
  2242. break
  2243. case '市政工程':
  2244. chooseType = '4';
  2245. break
  2246. case '工业工程':
  2247. chooseType = '5';
  2248. break
  2249. case '带气封堵施工':
  2250. chooseType = '6';
  2251. break
  2252. }
  2253. let param = {
  2254. type: chooseType,
  2255. enginName: this.EngineeringName,
  2256. enginType: this.ProjectClassification.dictValue == undefined ? '' : this
  2257. .ProjectClassification.dictValue,
  2258. nodeType: this.ProjectSteps.dictLabel == undefined ? '' : this.ProjectSteps.dictLabel,
  2259. enginStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
  2260. district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
  2261. areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
  2262. buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
  2263. unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
  2264. houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
  2265. completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
  2266. createBy: user.state.name,
  2267. pageNum: this.pageNum,
  2268. pageSize: this.pageSize
  2269. }
  2270. getHistoryByUserList(param).then(res => {
  2271. this.totalNum = res.data.total
  2272. if (res.code == '200') {
  2273. uni.hideLoading()
  2274. if (res.data.rows.length !== 0) {
  2275. if (this.pageNum == 1) {
  2276. this.list = [];
  2277. this.list = res.data.rows
  2278. } else {
  2279. this.list = this.list.concat(res.data.rows)
  2280. }
  2281. if (this.pageNum * 10 >= this.totalNum) {
  2282. this.$refs.pullScroll.finish();
  2283. } else {
  2284. this.$refs.pullScroll.success();
  2285. }
  2286. } else {
  2287. this.list = [];
  2288. this.$refs.pullScroll.empty();
  2289. }
  2290. } else {
  2291. this.$modal.msg(res.msg + "")
  2292. this.$refs.pullScroll.error();
  2293. }
  2294. })
  2295. }
  2296. },
  2297. }
  2298. }
  2299. </script>
  2300. <style lang="scss">
  2301. .to-right-icon {
  2302. width: 15px;
  2303. height: 15px;
  2304. position: absolute;
  2305. top: 50%;
  2306. transform: translateY(-50%);
  2307. }
  2308. .uni-media-list {
  2309. width: 100%;
  2310. }
  2311. .no-click {
  2312. pointer-events: none;
  2313. }
  2314. .marginLeft5 {
  2315. margin-left: 5px;
  2316. }
  2317. .title-txt {
  2318. font-size: 15px;
  2319. font-weight: bold;
  2320. color: black;
  2321. padding: 20rpx 0;
  2322. }
  2323. .content-txt {
  2324. font-size: 10px;
  2325. font-weight: bold;
  2326. color: black;
  2327. }
  2328. .view-bg {
  2329. margin-left: 8px;
  2330. margin-right: 8px;
  2331. margin-top: 8px;
  2332. background-color: #fff;
  2333. border-radius: 5px;
  2334. padding: 20px;
  2335. display: flex;
  2336. flex-direction: column;
  2337. }
  2338. .uni-list {
  2339. background-color: #FFFFFF;
  2340. position: relative;
  2341. width: 100%;
  2342. display: flex;
  2343. flex-direction: column;
  2344. }
  2345. .uni-list-cell {
  2346. display: flex;
  2347. align-items: center;
  2348. justify-content: space-between;
  2349. padding: 10px 0;
  2350. position: relative;
  2351. }
  2352. .uni-list-cell-left {
  2353. white-space: nowrap;
  2354. font-size: 28rpx;
  2355. }
  2356. .centered {
  2357. text-align: center;
  2358. background-color: #e2f4ff;
  2359. }
  2360. .text {
  2361. background-color: #e2f4ff;
  2362. height: 20rpx;
  2363. }
  2364. .view_bg_build {
  2365. background-color: #e2f4ff;
  2366. padding: 10px 10px 0 10px;
  2367. margin: 0 auto;
  2368. border: 1px solid #5bd3ff;
  2369. white-space: nowrap;
  2370. position: relative;
  2371. z-index: 2;
  2372. }
  2373. .grid-text {
  2374. font-size: 14px;
  2375. color: #000000;
  2376. text-align: center;
  2377. padding-left: 30rpx;
  2378. padding-right: 30rpx;
  2379. padding-top: 20rpx;
  2380. padding-bottom: 20rpx;
  2381. }
  2382. .name {
  2383. flex: 0;
  2384. font-size: 14px;
  2385. color: #000000;
  2386. overflow: hidden;
  2387. text-overflow: ellipsis;
  2388. white-space: nowrap;
  2389. }
  2390. .table-item {
  2391. overflow: hidden;
  2392. text-overflow: ellipsis;
  2393. white-space: nowrap;
  2394. }
  2395. .block-iv {
  2396. width: 20px;
  2397. height: 20px;
  2398. }
  2399. .table {
  2400. width: 100%;
  2401. border-radius: 8rpx;
  2402. background: #FFFFFF;
  2403. /* border: 1rpx solid #EFEFEF; */
  2404. font-size: 28rpx;
  2405. margin-top: 40rpx;
  2406. }
  2407. .felx-row {
  2408. width: 100%;
  2409. display: flex;
  2410. justify-content: space-between;
  2411. align-items: center;
  2412. }
  2413. .h-tr {
  2414. box-sizing: border-box;
  2415. display: flex;
  2416. flex-direction: row;
  2417. flex-wrap: nowrap;
  2418. justify-content: center;
  2419. align-items: center;
  2420. align-content: center;
  2421. border-color: #ccc;
  2422. border-style: solid;
  2423. border-width: 0;
  2424. border-width: 1px;
  2425. color: #3d7dd7;
  2426. }
  2427. .h-td {
  2428. box-sizing: border-box;
  2429. padding: 3px;
  2430. word-break: break-all;
  2431. border-color: #ccc;
  2432. border-style: solid;
  2433. border-width: 1px;
  2434. border-right-width: 1px;
  2435. display: flex;
  2436. flex-direction: row;
  2437. flex-wrap: nowrap;
  2438. justify-content: center;
  2439. align-items: center;
  2440. align-content: center;
  2441. min-height: 64rpx;
  2442. }
  2443. .LouCeng {
  2444. font-size: 30rpx;
  2445. background-color: #4a4b52;
  2446. color: #FFEB3B;
  2447. font-weight: bold;
  2448. }
  2449. .Fang {
  2450. width: 100%;
  2451. display: inline-block;
  2452. line-height: 50rpx;
  2453. text-align: center;
  2454. margin-right: 10px;
  2455. margin-bottom: 10px;
  2456. background-color: red;
  2457. }
  2458. .HuaDongBiao {
  2459. display: flex;
  2460. flex-direction: column-reverse;
  2461. position: relative;
  2462. }
  2463. .NeiRong {
  2464. display: flex;
  2465. flex-wrap: nowrap;
  2466. }
  2467. .NeiRong :last-child {
  2468. margin-right: 0 !important;
  2469. }
  2470. .ShiGongZhong {
  2471. background-color: #5bd3ff;
  2472. color: #000;
  2473. }
  2474. .WeiShiGong {
  2475. background-color: #ffc881;
  2476. color: #000;
  2477. }
  2478. .JunGong {
  2479. background-color: #80d9ae;
  2480. color: #000;
  2481. }
  2482. .container {
  2483. display: flex;
  2484. margin-left: 10px;
  2485. width: 100%;
  2486. margin-top: 10px;
  2487. margin-right: 10px;
  2488. justify-content: space-between;
  2489. }
  2490. .notice {
  2491. margin: 20rpx;
  2492. padding: 20rpx;
  2493. background: #FFFFFF;
  2494. box-shadow: 0rpx 8rpx 17rpx 0rpx rgba(0, 0, 0, 0.04);
  2495. border-radius: 10rpx;
  2496. }
  2497. .text {
  2498. border-left: 15rpx solid #3857F3;
  2499. padding-left: 20rpx;
  2500. }
  2501. .share {
  2502. width: 100%;
  2503. height: 100%;
  2504. }
  2505. .share-box {
  2506. width: 100%;
  2507. height: 100%;
  2508. position: fixed;
  2509. top: 0rpx;
  2510. left: 0rpx;
  2511. bottom: 0rpx;
  2512. right: 0rpx;
  2513. background-color: rgba(0, 0, 0, 0.4);
  2514. transition: .3s;
  2515. z-index: 999;
  2516. }
  2517. .share-show {
  2518. transition: all 0.3s ease;
  2519. transform: translateY(0%) !important;
  2520. }
  2521. .scroll-Y {
  2522. height: 350rpx;
  2523. }
  2524. .share-item {
  2525. position: fixed;
  2526. left: 0;
  2527. bottom: 0;
  2528. width: 100%;
  2529. height: auto;
  2530. background-color: #FFFFFF;
  2531. transition: all 0.3s ease;
  2532. transform: translateY(100%);
  2533. z-index: 1999;
  2534. border-top-left-radius: 40rpx;
  2535. border-top-right-radius: 40rpx;
  2536. .share-to {
  2537. width: 100%;
  2538. height: 3rem;
  2539. display: flex;
  2540. justify-content: center;
  2541. align-items: center;
  2542. &::after {
  2543. content: '';
  2544. width: 240rpx;
  2545. height: 0rpx;
  2546. border-top: 1px solid #E4E7ED;
  2547. -webkit-transform: scaleY(0.5);
  2548. transform: scaleY(0.5);
  2549. margin-left: 30rpx;
  2550. }
  2551. &::before {
  2552. content: '';
  2553. width: 240rpx;
  2554. height: 0rpx;
  2555. border-top: 1px solid #E4E7ED;
  2556. -webkit-transform: scaleY(0.5);
  2557. transform: scaleY(0.5);
  2558. margin-right: 30rpx;
  2559. }
  2560. }
  2561. .content {
  2562. width: 100%;
  2563. height: 50%;
  2564. display: flex;
  2565. flex-wrap: wrap;
  2566. .block {
  2567. width: 100%;
  2568. display: flex;
  2569. flex-direction: column;
  2570. justify-content: center;
  2571. align-items: center;
  2572. height: 80rpx;
  2573. text {
  2574. margin-top: 16rpx;
  2575. font-size: 28rpx;
  2576. color: #606266;
  2577. }
  2578. }
  2579. }
  2580. .cancel {
  2581. width: 100%;
  2582. height: 3rem;
  2583. display: flex;
  2584. justify-content: center;
  2585. align-items: center;
  2586. border-top: 1rpx solid #E4E7ED;
  2587. }
  2588. }
  2589. .background {
  2590. // border: 15px solid hsla(0, 0%, 100%, .5);
  2591. background: white;
  2592. background-clip: padding-box;
  2593. padding: 20rpx;
  2594. border-radius: 20rpx;
  2595. margin: 20rpx 10rpx;
  2596. /*从padding开始往外面裁剪背景*/
  2597. }
  2598. .dong {
  2599. width: 31%;
  2600. margin: 0 2px;
  2601. }
  2602. .flex-col {
  2603. display: flex;
  2604. flex-direction: row !important;
  2605. flex-wrap: wrap;
  2606. }
  2607. </style>