statistics.vue 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541
  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. <scroll-view :scroll-x="true" class="view_bg_build" v-if="roomList.length > 0">
  170. <view class="HuaDongBiao">
  171. <view class="NeiRong" v-for="(item,index) in roomList" :key="index">
  172. <view class="Fang" v-for="(item2, index2) in roomList[index]" :key="index2">
  173. <view v-if="item2.roomStatus=='施工中'" class="ShiGongZhong" @click="goHistory(item2)">
  174. {{ item2.roomName }}
  175. </view>
  176. <view v-else-if="item2.roomStatus=='未施工'" class="WeiShiGong">{{ item2.roomName }}
  177. </view>
  178. <view v-else class="JunGong" @click="goHistory(item2)">{{ item2.roomName }}</view>
  179. </view>
  180. </view>
  181. </view>
  182. <view style=" width: 48rpx;height: 63rpx;background: #C7EAFF; position:relative; left: 50%; transform:
  183. translateX(-50%); bottom: -10rpx;">
  184. </view>
  185. </scroll-view>
  186. <view v-if="roomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
  187. <view style="align-items: center; margin-top: 20rpx;">
  188. <view style="display: flex;align-items: center;justify-content:center">
  189. <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
  190. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  191. <div class="block-iv" style="background-color: #80d9ae;"></div>
  192. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  193. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  194. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  195. <div class="block-iv" style="background-color: #ffc881;"></div>
  196. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  197. </view>
  198. </view>
  199. </view>
  200. </scroll-view>
  201. </view>
  202. <view v-else-if="isLeader=='app_user'">
  203. <!-- <view class="grid-body">
  204. <view class="Grid">
  205. <view class="Grid-Item" v-for="item in List" :key="item.id" @click="changeTab(item.id)"
  206. hover-class="click-hover" hover-start-time="50" hover-stay-time="50"
  207. v-if="userRole.includes(item.title)">
  208. <button class="icon-item" v-if="item.title == '民用工程'">民用工程</button>
  209. <button class="icon-item" v-if="item.title == '工业工程'">工业工程</button>
  210. <button class="icon-item" v-if="item.title == '市政工程'">市政工程</button>
  211. <button class="icon-item" v-if="item.title == '危险作业工程'">危险作业工程</button>
  212. <button class="icon-item" v-if="item.title == '顶管工程'">顶管工程</button>
  213. <button class="icon-item" v-if="item.title == '基建工程'">基建工程</button>
  214. <button class="icon-item" v-if="item.title == '开栓'">开栓</button>
  215. </view>
  216. </view>
  217. </view> -->
  218. <view class="background">
  219. <view>
  220. <view
  221. style="font-size: 16px;margin-left: 10px;margin-top: 10px;display: flex; justify-content: space-between;margin-bottom: 10px;">
  222. 筛选
  223. <image v-if="change==false" :src="loadImgSrc('icon_user_open.png')" @click='change1'
  224. style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
  225. </image>
  226. <image v-if="change==true" :src="loadImgSrc('icon_user_close.png')" @click='change1'
  227. style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
  228. </image>
  229. </view>
  230. </view>
  231. <view v-show="change" style="padding-right: 10px;">
  232. <view class="uni-list">
  233. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  234. <view>
  235. 行政区
  236. </view>
  237. <view v-if="this.isEmpty(this.XZQValue3.dictValue)" style="margin-top: 10;"
  238. @click="pickerShow('xzq3')">
  239. <span style="color: darkgray;">请选择行政区</span>
  240. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  241. </view>
  242. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('xzq3')">
  243. <span style="color: black;">{{XZQValue3.dictLabel}}</span>
  244. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  245. </view>
  246. </view>
  247. </view>
  248. <view class="uni-list">
  249. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  250. <view>
  251. 小区
  252. </view>
  253. <view v-if="this.isEmpty(this.XQValue3.id)" class="uni-list-cell-db" style="margin-top: 10;"
  254. @click="pickerShow('xq3')">
  255. <span style="color: darkgray;">请选择小区</span>
  256. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  257. </view>
  258. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('xq3')">
  259. <span style="color: black;">{{XQValue3.name}}</span>
  260. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  261. </view>
  262. </view>
  263. </view>
  264. <view class="uni-list">
  265. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  266. <view class="uni-list-cell-left">
  267. 楼栋
  268. </view>
  269. <view v-if="this.isEmpty(this.LDValue3.id)" class="uni-list-cell-db" style="margin-top: 10;"
  270. @click="pickerShow('ld3')">
  271. <span style="color: darkgray;">请选择楼栋</span>
  272. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  273. </view>
  274. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('ld3')">
  275. <span style="color: black;">{{LDValue3.name}}</span>
  276. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  277. </view>
  278. </view>
  279. </view>
  280. <view class="uni-list" style="margin-top: 10;">
  281. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  282. <view class="uni-list-cell-left">
  283. 单元
  284. </view>
  285. <view v-if="this.isEmpty(this.DYValue3.id)" class="uni-list-cell-db" style="margin-top: 10;"
  286. @click="pickerShow('dy3')">
  287. <span style="color: darkgray;">请选择单元</span>
  288. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  289. </view>
  290. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('dy3')">
  291. <span style="color: black;">{{DYValue3.name}}</span>
  292. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  293. </view>
  294. </view>
  295. </view>
  296. <view class="uni-list">
  297. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  298. <view class="uni-list-cell-left">
  299. 房间
  300. </view>
  301. <view v-if="this.isEmpty(this.FJValue3.id)" class="uni-list-cell-db" style="margin-top: 10;"
  302. @click="pickerShow('fj3')">
  303. <span style="color: darkgray;">请选择房间</span>
  304. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  305. </view>
  306. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('fj3')">
  307. <span style="color: black;">{{FJValue3.name}}</span>
  308. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  309. </view>
  310. </view>
  311. </view>
  312. <view class="uni-list">
  313. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  314. <view class="uni-list-cell-left">
  315. 工程类型
  316. </view>
  317. <view v-if="this.isEmpty(this.ProjectType.dictValue)" class="uni-list-cell-db"
  318. style="margin-top: 10;" @click="pickerShow('gclx')">
  319. <span style="color: darkgray;">请选择工程类型</span>
  320. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  321. </view>
  322. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gclx')">
  323. <span style="color: black;">{{ProjectType.dictLabel}}</span>
  324. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  325. </view>
  326. </view>
  327. </view>
  328. <view class="uni-list">
  329. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  330. <view class="uni-list-cell-left">
  331. 工程分类
  332. </view>
  333. <view v-if="this.isEmpty(this.ProjectClassification.dictValue)" class="uni-list-cell-db"
  334. style="margin-top: 10;" @click="pickerShow('gcfl')">
  335. <span style="color: darkgray;">请选择工程分类</span>
  336. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  337. </view>
  338. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcfl')">
  339. <span style="color: black;">{{ProjectClassification.dictLabel}}</span>
  340. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  341. </view>
  342. </view>
  343. </view>
  344. <view class="uni-list">
  345. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  346. <view class="uni-list-cell-left">
  347. 工程步骤
  348. </view>
  349. <view v-if="this.isEmpty(this.ProjectSteps.dictValue)" class="uni-list-cell-db"
  350. style="margin-top: 10;" @click="pickerShow('gcbz')">
  351. <span style="color: darkgray;">请选择工程步骤</span>
  352. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  353. </view>
  354. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcbz')">
  355. <span style="color: black;">{{ProjectSteps.dictLabel}}</span>
  356. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  357. </view>
  358. </view>
  359. </view>
  360. <view class="uni-list">
  361. <view class="container" style="border-bottom: 1px solid #f8f8f8;">
  362. <view class="uni-list-cell-left">
  363. 审核状态
  364. </view>
  365. <view v-if="this.isEmpty(this.ReviewStatus.dictValue)" class="uni-list-cell-db"
  366. style="margin-top: 10;" @click="pickerShow('shzt')">
  367. <span style="color: darkgray;">请选择审核状态</span>
  368. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  369. </view>
  370. <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('shzt')">
  371. <span style="color: black;">{{ReviewStatus.dictLabel}}</span>
  372. <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
  373. </view>
  374. </view>
  375. </view>
  376. <button class="tj-btn" style="margin: 40rpx 90rpx;" @click="serch"> 搜索</button>
  377. </view>
  378. </view>
  379. <cc-pullScroolView class="pullScrollView" ref="pullScroll" :pullDown="pullDown" :isDownLoading="true">
  380. <view class="notice" v-for="(item,index) in list" :key="index">
  381. <view class="justify-content" @click="chooseNode(item)">
  382. <view class="font-forty">
  383. {{item.areaName+item.buildingName+item.unitName+item.houseName+(item.enginType=='new_built'? '-新建':'-旧改')+'-'+item.enginClassificationName}}
  384. </view>
  385. <view class="font-twenty-eight gray" v-for="(state,stateIndex) in item.nodeReViewStateList"
  386. :key="stateIndex" v-if="state.Type!='开栓'">
  387. {{state.Type}}-{{state.state == 1 ? '审核通过': (state.content == '暂未审核' ? '暂未审核':'审核未通过')}}
  388. <view v-if="state.content != '暂未审核'">原因:{{state.content}}</view>
  389. </view>
  390. <view class="font-twenty-eight gray">
  391. {{item.createTime}}
  392. </view>
  393. </view>
  394. </view>
  395. </cc-pullScroolView>
  396. </view>
  397. <view class="share">
  398. <view :class="{'share-box': shareState}" @click="handleHiddenShare">
  399. </view>
  400. <view class="share-item" :class="{'share-show': shareState}">
  401. <view class="share-to">
  402. <text>请选择</text>
  403. </view>
  404. <scroll-view scroll-y="true" class="scroll-Y">
  405. <view class="content">
  406. <view class="block" v-for="(item, index) in typeList" :key="index" @click="showTypeSheet(item)"
  407. v-if="item.Type!='开栓'">
  408. <text>{{item.Type}}</text>
  409. </view>
  410. </view>
  411. </scroll-view>
  412. <view class="cancel" @click.stop="handleHiddenShare">
  413. <text>取消</text>
  414. </view>
  415. </view>
  416. </view>
  417. <bottom-sheet ref="refShare" :data="historyList"></bottom-sheet>
  418. <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
  419. subtitleKey="id" v-model="name"></SelectPicker>
  420. <SelectPicker :list="dictOptions" @change="changeSelect" v-if="openDict" @close="closeDict" titleKey="dictLabel"
  421. subtitleKey="dictValue" v-model="dictLabel"></SelectPicker>
  422. </view>
  423. </template>
  424. <script>
  425. import SelectPicker from '../../components/selectPicker/select_picker.vue'
  426. import bottomSheet from '../../components/bottomSheet/bottomSheet.vue'
  427. import CCBProjectList from '../../uni_modules/cc-pullScroolView/components/cc-pullScroolView/cc-pullScroolView.vue';
  428. import {
  429. gethistoryList,
  430. } from '@/api/common'
  431. import {
  432. getUserType,
  433. getUserRole
  434. } from '@/utils/auth';
  435. import {
  436. getDicts
  437. } from "@/api/system/dict/data";
  438. import user from '@/store/modules/user'
  439. import {
  440. getAreaList,
  441. getBuildingList,
  442. getUnitList,
  443. getHousesList,
  444. getEnginMaterialQualityList,
  445. getEnginSpecificationsList,
  446. getMunicipalStatisticsData,
  447. getObtainRoomcCompletionInformationList,
  448. getRoomProjectId,
  449. getRoomProjectList,
  450. } from '@/api/common'
  451. export default {
  452. components: {
  453. SelectPicker,
  454. CCBProjectList,
  455. bottomSheet
  456. },
  457. data() {
  458. return {
  459. historyList: {}, //历史数据
  460. userRole: getUserRole(),
  461. tabValue: ['旧改', '新建'],
  462. tabIndex: 0,
  463. isLeader: '',
  464. list: [],
  465. newlist: [],
  466. pageSize: 10,
  467. totalNum: '',
  468. pageNum: 1,
  469. typeList: '',
  470. villageIndex: 0,
  471. specificationIndex: 0,
  472. materialIndex: 0,
  473. villageIndex2: 0,
  474. buildIndex: 0,
  475. unitIndex: 0,
  476. open: false,
  477. openDict: false,
  478. selectList: [],
  479. dictOptions: [],
  480. XQList: [],
  481. LDList: [],
  482. DYList: [],
  483. projectValue: {
  484. 'dictValue': '0'
  485. },
  486. XZQValue: {},
  487. XQValue: {},
  488. XQList2: [],
  489. LDList2: [],
  490. DYList2: [],
  491. XQList3: [],
  492. LDList3: [],
  493. DYList3: [],
  494. FJList3: [],
  495. projectValue2: {
  496. 'dictValue': '0'
  497. },
  498. shareState: false,
  499. XZQValue2: {},
  500. XQValue2: {},
  501. LDValue2: {},
  502. DYValue2: {},
  503. XZQValue3: {},
  504. XQValue3: {},
  505. LDValue3: {},
  506. DYValue3: {},
  507. FJValue3: {},
  508. ProjectType: {},
  509. ProjectClassification: {},
  510. ProjectSteps: {},
  511. ReviewStatus: {},
  512. change: false,
  513. specificationValue: {},
  514. specificationList: [],
  515. materialValue: {},
  516. materialList: [],
  517. materialUsageList: [],
  518. roomList: [],
  519. roomCount: 4,
  520. nodeId: '',
  521. nodeType: '',
  522. roomItem: {},
  523. roomId: '',
  524. }
  525. },
  526. created() {},
  527. onLoad() {
  528. this.isLeader = getUserType()
  529. if (this.isLeader == 'app_user') {
  530. this.changeTab();
  531. }
  532. },
  533. // 上拉加载
  534. onReachBottom() {
  535. if (this.pageNum * 10 >= this.totalNum) {
  536. } else {
  537. this.$refs.pullScroll.showUpLoading();
  538. this.pageNum++;
  539. this.requestData();
  540. }
  541. },
  542. methods: {
  543. goHistory(item) {
  544. this.roomItem = item;
  545. getDicts(item.enginCycle + '_indoor_engin').then(response => {
  546. this.typeList = response.data;
  547. let result = JSON.parse(JSON.stringify(this.typeList).replace(/dictValue/g, 'Type'));
  548. this.typeList = result;
  549. this.handleShowSheet();
  550. });
  551. },
  552. serch() {
  553. this.changeTab();
  554. },
  555. change1() {
  556. this.change = !this.change
  557. },
  558. isEmpty(str) {
  559. return (!str || 0 === str.length);
  560. },
  561. handleShowSheet() {
  562. this.shareState = true;
  563. },
  564. handleHiddenShare() {
  565. this.shareState = false;
  566. },
  567. chooseNode(item) {
  568. this.typeList = item.nodeReViewStateList
  569. this.nodeId = item.id;
  570. this.nodeType = item.enginClassification;
  571. this.roomId = item.houseId;
  572. if (this.nodeType == 'bottom_leg') { //底腿
  573. let obj = {
  574. id: this.nodeId,
  575. type: item.Type
  576. };
  577. uni.navigateTo({
  578. url: '/pages/statistics/history_details_bottom_leg?params=' + encodeURIComponent(JSON
  579. .stringify(
  580. obj))
  581. })
  582. } else {
  583. this.handleShowSheet();
  584. }
  585. },
  586. showHistoryList() {
  587. this.$refs.refShare.handleShowShare();
  588. },
  589. showTypeSheet(item) {
  590. if (this.isLeader == 'sys_user') {
  591. let param = {
  592. areaId: this.roomItem.areaId,
  593. buildingId: this.roomItem.buildingId,
  594. unitId: this.roomItem.unitId,
  595. houseId: this.roomItem.roomId,
  596. enginCycle: this.projectValue2.dictValue, // 工程周期
  597. enginType: this.roomItem.enginCycle,
  598. enginClassification: 'indoor_engin', //写死 室内
  599. }
  600. getRoomProjectId(param).then(res => {
  601. if (res.code == '200') {
  602. if (res.data != null) {
  603. getRoomProjectList(res.data.id, item.Type).then(res => {
  604. if (res.data.zEngineeringNodeBo != null) {
  605. this.historyList = res.data
  606. this.showHistoryList();
  607. } else {
  608. this.$modal.msg("暂无历史信息")
  609. }
  610. })
  611. } else {
  612. this.$modal.msg("暂无工程信息")
  613. }
  614. } else {
  615. this.$modal.msg(res.msg)
  616. }
  617. })
  618. } else {
  619. let obj = {
  620. id: this.nodeId,
  621. type: item.Type,
  622. roomId: this.roomId,
  623. };
  624. this.handleHiddenShare();
  625. if (this.nodeType == 'indoor_engin') { //室内
  626. uni.navigateTo({
  627. url: '/pages/statistics/historyDetails?params=' + encodeURIComponent(JSON
  628. .stringify(
  629. obj))
  630. })
  631. } else if (this.nodeType == 'overhead') { //架空
  632. uni.navigateTo({
  633. url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
  634. .stringify(
  635. obj))
  636. })
  637. } else if (this.nodeType == 'courtyard') { //庭院
  638. uni.navigateTo({
  639. url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
  640. .stringify(
  641. obj))
  642. })
  643. }
  644. }
  645. },
  646. pickerShow(e) {
  647. this.type = e;
  648. if (e == 'gczq') {
  649. this.openDict = true;
  650. getDicts("engin_cycle").then(response => {
  651. this.dictOptions = response.data;
  652. });
  653. } else if (e == 'gclx') {
  654. this.openDict = true;
  655. getDicts('indoor_engin_type').then(response => {
  656. this.dictOptions = response.data;
  657. });
  658. } else if (e == 'gcfl') {
  659. if (this.isEmpty(this.ProjectType.dictValue)) {
  660. this.$modal.msg('请选择工程类型')
  661. } else {
  662. this.openDict = true;
  663. getDicts(this.ProjectType.dictValue).then(response => {
  664. this.dictOptions = response.data;
  665. });
  666. }
  667. } else if (e == 'gcbz') {
  668. if (this.isEmpty(this.ProjectClassification.dictValue)) {
  669. this.$modal.msg('请选择工程分类')
  670. } else {
  671. this.openDict = true;
  672. getDicts(this.ProjectType.dictValue + "_" + this.ProjectClassification.dictValue).then(
  673. response => {
  674. this.dictOptions = response.data;
  675. });
  676. }
  677. } else if (e == 'shzt') {
  678. if (this.isEmpty(this.ProjectSteps.dictValue)) {
  679. this.$modal.msg('请选择工程步骤')
  680. } else {
  681. this.openDict = true;
  682. getDicts('state_options').then(
  683. response => {
  684. this.dictOptions = response.data;
  685. });
  686. }
  687. } else if (e == 'xzq') {
  688. if (this.isEmpty(this.projectValue.dictValue)) {
  689. this.$modal.msg('请选择工程周期')
  690. } else {
  691. this.openDict = true;
  692. getDicts("district").then(response => {
  693. this.dictOptions = response.data;
  694. });
  695. }
  696. } else if (e == 'xq') {
  697. if (this.isEmpty(this.XZQValue.dictValue)) {
  698. this.$modal.msg('请选择行政区')
  699. } else {
  700. this.open = true;
  701. this.selectList = this.XQList;
  702. }
  703. } else if (e == 'ld') {
  704. if (this.isEmpty(this.XQValue.id)) {
  705. this.$modal.msg('请选择小区')
  706. } else {
  707. this.open = true;
  708. this.selectList = this.LDList;
  709. }
  710. } else if (e == 'dy') {
  711. if (this.isEmpty(this.LDValue.id)) {
  712. this.$modal.msg('请选择楼栋')
  713. } else {
  714. this.open = true;
  715. this.selectList = this.DYList;
  716. }
  717. } else if (e == 'gczq2') {
  718. this.openDict = true;
  719. getDicts("engin_cycle").then(response => {
  720. this.dictOptions = response.data;
  721. });
  722. } else if (e == 'xzq2' || e == 'xzq3') {
  723. if (this.isEmpty(this.projectValue2.dictValue)) {
  724. this.$modal.msg('请选择工程周期')
  725. } else {
  726. this.openDict = true;
  727. getDicts("district").then(response => {
  728. this.dictOptions = response.data;
  729. });
  730. }
  731. } else if (e == 'xq2') {
  732. if (this.isEmpty(this.XZQValue2.dictValue)) {
  733. this.$modal.msg('请选择行政区')
  734. } else {
  735. this.open = true;
  736. this.selectList = this.XQList2;
  737. }
  738. } else if (e == 'ld2') {
  739. if (this.isEmpty(this.XQValue2.id)) {
  740. this.$modal.msg('请选择小区')
  741. } else {
  742. this.open = true;
  743. this.selectList = this.LDList2;
  744. }
  745. } else if (e == 'dy2') {
  746. if (this.isEmpty(this.LDValue2.id)) {
  747. this.$modal.msg('请选择楼栋')
  748. } else {
  749. this.open = true;
  750. this.selectList = this.DYList2;
  751. }
  752. } else if (e == 'xq3') {
  753. if (this.isEmpty(this.XZQValue3.dictValue)) {
  754. this.$modal.msg('请选择行政区')
  755. } else {
  756. this.open = true;
  757. this.selectList = this.XQList3;
  758. }
  759. } else if (e == 'ld3') {
  760. if (this.isEmpty(this.XQValue3.id)) {
  761. this.$modal.msg('请选择小区')
  762. } else {
  763. this.open = true;
  764. this.selectList = this.LDList3;
  765. }
  766. } else if (e == 'dy3') {
  767. if (this.isEmpty(this.LDValue2.id)) {
  768. this.$modal.msg('请选择楼栋')
  769. } else {
  770. this.open = true;
  771. this.selectList = this.DYList3;
  772. }
  773. } else if (e == 'fj3') {
  774. if (this.isEmpty(this.LDValue3.id)) {
  775. this.$modal.msg('请选择楼栋')
  776. } else {
  777. this.open = true;
  778. this.selectList = this.FJList3;
  779. }
  780. } else if (e == 'gg') {
  781. if (this.isEmpty(this.materialValue.id)) {
  782. this.$modal.msg('请选择材料')
  783. } else {
  784. this.open = true;
  785. this.selectList = this.materialList;
  786. }
  787. } else if (e == 'cz') {
  788. this.open = true;
  789. getEnginMaterialQualityList("民用工程").then(response => {
  790. this.selectList = response.data;
  791. });
  792. }
  793. },
  794. changeSelect(item, index) {
  795. this.open = false;
  796. this.openDict = false;
  797. if (this.type == 'xzq') {
  798. this.XZQValue = item;
  799. this.XQValue = '';
  800. this.LDValue = '';
  801. this.DYValue = '';
  802. this.FJValue = '';
  803. getAreaList(item.dictValue).then(res => {
  804. this.XQList = res.data;
  805. })
  806. } else if (this.type == 'gczq') {
  807. this.projectValue = item
  808. } else if (this.type == 'gclx') {
  809. this.ProjectType = item
  810. this.ProjectClassification = '';
  811. this.ProjectSteps = '';
  812. this.ReviewStatus = '';
  813. } else if (this.type == 'gcfl') {
  814. this.ProjectClassification = item
  815. this.ProjectSteps = '';
  816. this.ReviewStatus = '';
  817. } else if (this.type == 'gcbz') {
  818. this.ProjectSteps = item
  819. this.ReviewStatus = '';
  820. } else if (this.type == 'shzt') {
  821. this.ReviewStatus = item
  822. } else if (this.type == 'xq') {
  823. this.XQValue = item;
  824. this.LDValue = '';
  825. this.DYValue = '';
  826. this.FJValue = '';
  827. this.queryMaterialsUsedList();
  828. } else if (this.type == 'ld') {
  829. this.LDValue = item;
  830. this.DYValue = '';
  831. this.FJValue = '';
  832. getUnitList(item.id).then(res => {
  833. this.DYList = res.data
  834. })
  835. } else if (this.type == 'dy') {
  836. this.DYValue = item;
  837. } else if (this.type == 'gczq2') {
  838. this.projectValue2 = item
  839. } else if (this.type == 'xzq2') {
  840. this.XZQValue2 = item;
  841. this.XQValue2 = '';
  842. this.LDValue2 = '';
  843. this.DYValue2 = '';
  844. this.FJValue2 = '';
  845. getAreaList(item.dictValue).then(res => {
  846. this.XQList2 = res.data;
  847. })
  848. } else if (this.type == 'xzq3') {
  849. this.XZQValue3 = item;
  850. this.XQValue3 = '';
  851. this.LDValue3 = '';
  852. this.DYValue3 = '';
  853. this.FJValue3 = '';
  854. getAreaList(item.dictValue).then(res => {
  855. this.XQList3 = res.data;
  856. })
  857. } else if (this.type == 'xq2') {
  858. this.XQValue2 = item;
  859. this.LDValue2 = '';
  860. this.DYValue2 = '';
  861. this.FJValue2 = '';
  862. getBuildingList(item.id).then(res => {
  863. this.LDList2 = res.data
  864. })
  865. } else if (this.type == 'xq3') {
  866. this.XQValue3 = item;
  867. this.LDValue3 = '';
  868. this.DYValue3 = '';
  869. this.FJValue3 = '';
  870. getBuildingList(item.id).then(res => {
  871. this.LDList3 = res.data
  872. })
  873. } else if (this.type == 'ld2') {
  874. this.LDValue2 = item;
  875. this.DYValue2 = '';
  876. this.FJValue2 = '';
  877. getUnitList(item.id).then(res => {
  878. this.DYList2 = res.data
  879. })
  880. } else if (this.type == 'ld3') {
  881. this.LDValue3 = item;
  882. this.DYValue3 = '';
  883. this.FJValue3 = '';
  884. getUnitList(item.id).then(res => {
  885. this.DYList3 = res.data
  886. })
  887. } else if (this.type == 'dy3') {
  888. this.DYValue3 = item;
  889. this.FJValue3 = '';
  890. getHousesList(item.id).then(res => {
  891. this.FJList3 = res.data
  892. })
  893. } else if (this.type == 'dy2') {
  894. this.DYValue2 = item;
  895. this.queryProjectStatisticsList();
  896. } else if (this.type == 'gg') {
  897. this.specificationValue = item;
  898. this.queryMaterialsUsedList();
  899. } else if (this.type == 'cz') {
  900. this.materialValue = item;
  901. this.specificationValue = '';
  902. this.queryMaterialsUsedList();
  903. getEnginSpecificationsList(item.id).then(res => {
  904. this.materialList = res.data
  905. })
  906. }
  907. },
  908. close(e) {
  909. this.open = false
  910. },
  911. closeDict(e) {
  912. this.openDict = false
  913. },
  914. queryMaterialsUsedList() {
  915. if (this.isEmpty(this.XQValue.id)) {
  916. this.$modal.msg('请选择小区')
  917. return;
  918. }
  919. let param = {
  920. enginCycle: this.projectValue.dictValue, //工程周期
  921. areaId: this.XQValue.id,
  922. realityQuality: this.materialValue.id,
  923. realitySpecifications: this.specificationValue.id,
  924. };
  925. getMunicipalStatisticsData(param).then(res => {
  926. this.materialUsageList = res.data;
  927. })
  928. },
  929. queryProjectStatisticsList() {
  930. let param = {
  931. enginCycle: this.projectValue.dictValue, //工程周期
  932. areaId: this.XQValue2.id,
  933. buildingId: this.LDValue2.id,
  934. unitId: this.DYValue2.id,
  935. };
  936. getObtainRoomcCompletionInformationList(param).then(res => {
  937. this.roomList = res.data[0].roomStatusVoList;
  938. this.roomCount = res.data[0].roomStatusVoList.length;
  939. })
  940. },
  941. getColorByStatus(status) {
  942. if (this.isEmpty(status)) {
  943. return "#fff";
  944. }
  945. if (status == '施工中') {
  946. return "#5bd3ff";
  947. } else if (status == '未施工') {
  948. return "#ffc881";
  949. } else if (status == '竣工') {
  950. return "#80d9ae";
  951. }
  952. },
  953. clearMaterialInfo() {
  954. this.materialValue = '';
  955. this.specificationValue = '';
  956. this.queryMaterialsUsedList();
  957. },
  958. clearSpecificationInfo() {
  959. this.specificationValue = '';
  960. this.queryMaterialsUsedList();
  961. },
  962. pullDown(pullScroll) {
  963. this.pageNum = 1;
  964. setTimeout(() => {
  965. this.requestData(pullScroll);
  966. }, 1000);
  967. },
  968. getList() {
  969. let myThis = this;
  970. this.$nextTick(() => {
  971. myThis.$refs.pullScroll.refresh();
  972. });
  973. },
  974. changeTab() {
  975. this.pageSize = 10;
  976. this.totalNum = '';
  977. this.pageNum = 1;
  978. this.requestData();
  979. },
  980. requestData() {
  981. uni.showLoading()
  982. let type = ''
  983. let param = {
  984. district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
  985. areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
  986. buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
  987. unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
  988. houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
  989. enginType: this.ProjectType.dictValue == undefined ? '' : this.ProjectType.dictValue,
  990. enginCycle: '0',
  991. enginClassification: this.ProjectClassification.dictValue == undefined ? '' : this
  992. .ProjectClassification.dictValue,
  993. type: this.ProjectSteps.dictValue == undefined ? '' : this.ProjectSteps.dictValue,
  994. completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
  995. createBy: user.state.name,
  996. pageNum: this.pageNum,
  997. pageSize: this.pageSize
  998. }
  999. gethistoryList(param).then(res => {
  1000. this.totalNum = res.total
  1001. if (res.code == '200') {
  1002. uni.hideLoading()
  1003. if (res.rows.length !== 0) {
  1004. if (this.pageNum == 1) {
  1005. this.list = [];
  1006. this.list = res.rows
  1007. } else {
  1008. this.list = this.list.concat(res.rows)
  1009. }
  1010. if (this.pageNum * 10 >= this.totalNum) {
  1011. this.$refs.pullScroll.finish();
  1012. } else {
  1013. this.$refs.pullScroll.success();
  1014. }
  1015. } else {
  1016. this.list = [];
  1017. this.$refs.pullScroll.empty();
  1018. }
  1019. } else {
  1020. this.$modal.msg(res.msg + "")
  1021. this.$refs.pullScroll.error();
  1022. }
  1023. })
  1024. },
  1025. }
  1026. }
  1027. </script>
  1028. <style lang="scss">
  1029. .to-right-icon {
  1030. width: 15px;
  1031. height: 15px;
  1032. position: absolute;
  1033. top: 50%;
  1034. transform: translateY(-50%);
  1035. }
  1036. .uni-media-list {
  1037. width: 100%;
  1038. }
  1039. .no-click {
  1040. pointer-events: none;
  1041. }
  1042. .marginLeft5 {
  1043. margin-left: 5px;
  1044. }
  1045. .title-txt {
  1046. font-size: 15px;
  1047. font-weight: bold;
  1048. color: black;
  1049. padding: 20rpx 0;
  1050. }
  1051. .content-txt {
  1052. font-size: 10px;
  1053. font-weight: bold;
  1054. color: black;
  1055. }
  1056. .view-bg {
  1057. margin-left: 8px;
  1058. margin-right: 8px;
  1059. margin-top: 8px;
  1060. background-color: #fff;
  1061. border-radius: 5px;
  1062. padding: 20px;
  1063. display: flex;
  1064. flex-direction: column;
  1065. }
  1066. .uni-list {
  1067. background-color: #FFFFFF;
  1068. position: relative;
  1069. width: 100%;
  1070. display: flex;
  1071. flex-direction: column;
  1072. }
  1073. .uni-list-cell {
  1074. display: flex;
  1075. align-items: center;
  1076. justify-content: space-between;
  1077. padding: 10px 0;
  1078. position: relative;
  1079. }
  1080. .uni-list-cell-left {
  1081. white-space: nowrap;
  1082. font-size: 28rpx;
  1083. }
  1084. .centered {
  1085. text-align: center;
  1086. background-color: #e2f4ff;
  1087. }
  1088. .text {
  1089. background-color: #e2f4ff;
  1090. height: 20rpx;
  1091. }
  1092. .view_bg_build {
  1093. background-color: #e2f4ff;
  1094. padding: 10px 10px 0 10px;
  1095. margin: 0 auto;
  1096. border: 1px solid #5bd3ff;
  1097. white-space: nowrap;
  1098. position: relative;
  1099. z-index: 2;
  1100. }
  1101. .grid-text {
  1102. font-size: 14px;
  1103. color: #000000;
  1104. text-align: center;
  1105. padding-left: 30rpx;
  1106. padding-right: 30rpx;
  1107. padding-top: 20rpx;
  1108. padding-bottom: 20rpx;
  1109. }
  1110. .name {
  1111. flex: 0;
  1112. font-size: 14px;
  1113. color: #000000;
  1114. overflow: hidden;
  1115. text-overflow: ellipsis;
  1116. white-space: nowrap;
  1117. }
  1118. .table-item {
  1119. overflow: hidden;
  1120. text-overflow: ellipsis;
  1121. white-space: nowrap;
  1122. }
  1123. .block-iv {
  1124. width: 20px;
  1125. height: 20px;
  1126. }
  1127. .table {
  1128. width: 100%;
  1129. border-radius: 8rpx;
  1130. background: #FFFFFF;
  1131. /* border: 1rpx solid #EFEFEF; */
  1132. font-size: 28rpx;
  1133. margin-top: 40rpx;
  1134. }
  1135. .felx-row {
  1136. width: 100%;
  1137. display: flex;
  1138. justify-content: space-between;
  1139. align-items: center;
  1140. }
  1141. .h-tr {
  1142. box-sizing: border-box;
  1143. display: flex;
  1144. flex-direction: row;
  1145. flex-wrap: nowrap;
  1146. justify-content: center;
  1147. align-items: center;
  1148. align-content: center;
  1149. border-color: #ccc;
  1150. border-style: solid;
  1151. border-width: 0;
  1152. border-width: 1px;
  1153. color: #3d7dd7;
  1154. }
  1155. .h-td {
  1156. box-sizing: border-box;
  1157. padding: 3px;
  1158. word-break: break-all;
  1159. border-color: #ccc;
  1160. border-style: solid;
  1161. border-width: 1px;
  1162. border-right-width: 1px;
  1163. display: flex;
  1164. flex-direction: row;
  1165. flex-wrap: nowrap;
  1166. justify-content: center;
  1167. align-items: center;
  1168. align-content: center;
  1169. min-height: 64rpx;
  1170. }
  1171. .LouCeng {
  1172. font-size: 30rpx;
  1173. background-color: #4a4b52;
  1174. color: #FFEB3B;
  1175. font-weight: bold;
  1176. }
  1177. .Fang {
  1178. width: 100%;
  1179. display: inline-block;
  1180. line-height: 50rpx;
  1181. text-align: center;
  1182. margin-right: 10px;
  1183. margin-bottom: 10px;
  1184. background-color: red;
  1185. }
  1186. .HuaDongBiao {
  1187. display: flex;
  1188. flex-direction: column-reverse;
  1189. position: relative;
  1190. }
  1191. .NeiRong {
  1192. display: flex;
  1193. flex-wrap: nowrap;
  1194. }
  1195. .NeiRong :last-child {
  1196. margin-right: 0 !important;
  1197. }
  1198. .ShiGongZhong {
  1199. background-color: #5bd3ff;
  1200. color: #000;
  1201. }
  1202. .WeiShiGong {
  1203. background-color: #ffc881;
  1204. color: #000;
  1205. }
  1206. .JunGong {
  1207. background-color: #80d9ae;
  1208. color: #000;
  1209. }
  1210. .container {
  1211. display: flex;
  1212. margin-left: 10px;
  1213. width: 100%;
  1214. margin-top: 10px;
  1215. margin-right: 10px;
  1216. justify-content: space-between;
  1217. }
  1218. .notice {
  1219. margin: 20rpx;
  1220. padding: 20rpx;
  1221. background: #FFFFFF;
  1222. box-shadow: 0rpx 8rpx 17rpx 0rpx rgba(0, 0, 0, 0.04);
  1223. border-radius: 10rpx;
  1224. }
  1225. .text {
  1226. border-left: 15rpx solid #3857F3;
  1227. padding-left: 20rpx;
  1228. }
  1229. .share {
  1230. width: 100%;
  1231. height: 100%;
  1232. }
  1233. .share-box {
  1234. width: 100%;
  1235. height: 100%;
  1236. position: fixed;
  1237. top: 0rpx;
  1238. left: 0rpx;
  1239. bottom: 0rpx;
  1240. right: 0rpx;
  1241. background-color: rgba(0, 0, 0, 0.4);
  1242. transition: .3s;
  1243. z-index: 999;
  1244. }
  1245. .share-show {
  1246. transition: all 0.3s ease;
  1247. transform: translateY(0%) !important;
  1248. }
  1249. .scroll-Y {
  1250. height: 350rpx;
  1251. }
  1252. .share-item {
  1253. position: fixed;
  1254. left: 0;
  1255. bottom: 0;
  1256. width: 100%;
  1257. height: auto;
  1258. background-color: #FFFFFF;
  1259. transition: all 0.3s ease;
  1260. transform: translateY(100%);
  1261. z-index: 1999;
  1262. border-top-left-radius: 40rpx;
  1263. border-top-right-radius: 40rpx;
  1264. .share-to {
  1265. width: 100%;
  1266. height: 3rem;
  1267. display: flex;
  1268. justify-content: center;
  1269. align-items: center;
  1270. &::after {
  1271. content: '';
  1272. width: 240rpx;
  1273. height: 0rpx;
  1274. border-top: 1px solid #E4E7ED;
  1275. -webkit-transform: scaleY(0.5);
  1276. transform: scaleY(0.5);
  1277. margin-left: 30rpx;
  1278. }
  1279. &::before {
  1280. content: '';
  1281. width: 240rpx;
  1282. height: 0rpx;
  1283. border-top: 1px solid #E4E7ED;
  1284. -webkit-transform: scaleY(0.5);
  1285. transform: scaleY(0.5);
  1286. margin-right: 30rpx;
  1287. }
  1288. }
  1289. .content {
  1290. width: 100%;
  1291. height: 50%;
  1292. display: flex;
  1293. flex-wrap: wrap;
  1294. .block {
  1295. width: 100%;
  1296. display: flex;
  1297. flex-direction: column;
  1298. justify-content: center;
  1299. align-items: center;
  1300. height: 80rpx;
  1301. text {
  1302. margin-top: 16rpx;
  1303. font-size: 28rpx;
  1304. color: #606266;
  1305. }
  1306. }
  1307. }
  1308. .cancel {
  1309. width: 100%;
  1310. height: 3rem;
  1311. display: flex;
  1312. justify-content: center;
  1313. align-items: center;
  1314. border-top: 1rpx solid #E4E7ED;
  1315. }
  1316. }
  1317. .background {
  1318. // border: 15px solid hsla(0, 0%, 100%, .5);
  1319. background: white;
  1320. background-clip: padding-box;
  1321. padding: 20rpx;
  1322. border-radius: 20rpx;
  1323. margin: 20rpx 10rpx;
  1324. /*从padding开始往外面裁剪背景*/
  1325. }
  1326. </style>