statistics.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. <template>
  2. <view>
  3. <view class="view-bg">
  4. <text class="title-txt">工程用料统计</text>
  5. <view>
  6. <view class="uni-list-cell">
  7. <view class="uni-list-cell-left">
  8. 工程周期
  9. </view>
  10. <view class="uni-list-cell-db">
  11. <view v-if="this.isEmpty(this.projectValue.dictValue)" style="margin-top: 10;"
  12. @click="pickerShow('gczq')">
  13. <span style="color: darkgray;">请选择工程周期</span>
  14. <image src="../../static/images/icon_right.png"
  15. style=" position: absolute; width: 15px;height: 15px;"></image>
  16. </view>
  17. <view v-else style="margin-top: 10;" @click="pickerShow('gczq')">
  18. <span style="color: black;">{{projectValue.dictLabel}}</span>
  19. <image src="../../static/images/icon_right.png"
  20. style=" position: absolute; width: 15px;height: 15px;"></image>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="uni-list-cell">
  25. <view class="uni-list-cell-left">
  26. 行政区
  27. </view>
  28. <view class="uni-list-cell-db">
  29. <view v-if="this.isEmpty(this.XZQValue.dictValue)" style="margin-top: 10;"
  30. @click="pickerShow('xzq')">
  31. <span style="color: darkgray;">请选择行政区</span>
  32. <image src="../../static/images/icon_right.png"
  33. style=" position: absolute; width: 15px;height: 15px;"></image>
  34. </view>
  35. <view v-else style="margin-top: 10;" @click="pickerShow('xzq')">
  36. <span style="color: black;">{{XZQValue.dictLabel}}</span>
  37. <image src="../../static/images/icon_right.png"
  38. style=" position: absolute; width: 15px;height: 15px;"></image>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="uni-list-cell">
  43. <view class="uni-list-cell-left">
  44. 小区
  45. </view>
  46. <view class="uni-list-cell-db">
  47. <view v-if="this.isEmpty(this.XQValue.id)" style="margin-top: 10;" @click="pickerShow('xq')">
  48. <span style="color: darkgray;">请选择小区</span>
  49. <image src="../../static/images/icon_right.png"
  50. style=" position: absolute; width: 15px;height: 15px;"></image>
  51. </view>
  52. <view v-else style="margin-top: 10;" @click="pickerShow('xq')">
  53. <span style="color: black;">{{XQValue.name}}</span>
  54. <image src="../../static/images/icon_right.png"
  55. style=" position: absolute; width: 15px;height: 15px;"></image>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="uni-list-cell">
  60. <view class="uni-list-cell-left">
  61. 材料
  62. </view>
  63. <view class="uni-list-cell-db">
  64. <view v-if="this.isEmpty(this.materialValue.name)" style="margin-top: 10;"
  65. @click="pickerShow('cz')">
  66. <span style="color: darkgray;">请选择材料</span>
  67. <image src="../../static/images/icon_right.png"
  68. style=" position: absolute; width: 15px;height: 15px;"></image>
  69. </view>
  70. <view v-else style="margin-top: 10;" @click="pickerShow('cz')">
  71. <span style="color: black;">{{materialValue.name}}</span>
  72. <image src="../../static/images/icon_right.png"
  73. style=" position: absolute; width: 15px;height: 15px;"></image>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="uni-list-cell">
  78. <view class="uni-list-cell-left">
  79. 规格
  80. </view>
  81. <view class="uni-list-cell-db">
  82. <view v-if="this.isEmpty(this.specificationValue.name)" style="margin-top: 10;"
  83. @click="pickerShow('gg')">
  84. <span style="color: darkgray;">请选择规格</span>
  85. <image src="../../static/images/icon_right.png"
  86. style=" position: absolute; width: 15px;height: 15px;"></image>
  87. </view>
  88. <view v-else style="margin-top: 10;" @click="pickerShow('gg')">
  89. <span style="color: black;">{{specificationValue.name}}</span>
  90. <image src="../../static/images/icon_right.png"
  91. style=" position: absolute; width: 15px;height: 15px;"></image>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="table">
  97. <view class="felx-row">
  98. <view class="h-tr" style="flex: 1">名称</view>
  99. <view class="h-tr" style="flex: 1;align-items: center;">预计用量</view>
  100. <view class="h-tr" style="flex: 1">实际用量</view>
  101. </view>
  102. </view>
  103. <view class="felx-row" v-for="(item, index) in materialUsageList" :key="index">
  104. <view class="h-td" style="flex: 1">{{ item.materialQuality }}</view>
  105. <view class="h-td" style="flex: 1">{{ item.estimatedSize }}</view>
  106. <view class="h-td" style="flex: 1">{{ item.realitySize }}</view>
  107. </view>
  108. </view>
  109. <view class="view-bg">
  110. <text class="title-txt">工程进度统计</text>
  111. <view>
  112. <view class="uni-list-cell">
  113. <view class="uni-list-cell-left">工程周期</view>
  114. <view class="uni-list-cell-db">
  115. <view v-if="this.isEmpty(this.projectValue2.dictValue)" style="margin-top: 10;"
  116. @click="pickerShow('gczq2')">
  117. <span style="color: darkgray;">请选择工程周期</span>
  118. <image src="../../static/images/icon_right.png"
  119. style=" position: absolute; width: 15px;height: 15px;"></image>
  120. </view>
  121. <view v-else style="margin-top: 10;" @click="pickerShow('gczq2')">
  122. <span style="color: black;">{{projectValue2.dictLabel}}</span>
  123. <image src="../../static/images/icon_right.png"
  124. style=" position: absolute; width: 15px;height: 15px;"></image>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="uni-list-cell">
  129. <view class="uni-list-cell-left">
  130. 行政区
  131. </view>
  132. <view class="uni-list-cell-db">
  133. <view v-if="this.isEmpty(this.XZQValue2.dictValue)" style="margin-top: 10;"
  134. @click="pickerShow('xzq2')">
  135. <span style="color: darkgray;">请选择行政区</span>
  136. <image src="../../static/images/icon_right.png"
  137. style=" position: absolute; width: 15px;height: 15px;"></image>
  138. </view>
  139. <view v-else style="margin-top: 10;" @click="pickerShow('xzq2')">
  140. <span style="color: black;">{{XZQValue2.dictLabel}}</span>
  141. <image src="../../static/images/icon_right.png"
  142. style=" position: absolute; width: 15px;height: 15px;"></image>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="uni-list-cell">
  147. <view class="uni-list-cell-left"> 小区</view>
  148. <view class="uni-list-cell-db">
  149. <view v-if="this.isEmpty(this.XQValue2.id)" style="margin-top: 10;" @click="pickerShow('xq2')">
  150. <span style="color: darkgray;">请选择小区</span>
  151. <image src="../../static/images/icon_right.png"
  152. style=" position: absolute; width: 15px;height: 15px;"></image>
  153. </view>
  154. <view v-else style="margin-top: 10;" @click="pickerShow('xq2')">
  155. <span style="color: black;">{{XQValue2.name}}</span>
  156. <image src="../../static/images/icon_right.png"
  157. style=" position: absolute; width: 15px;height: 15px;"></image>
  158. </view>
  159. </view>
  160. </view>
  161. <view class="uni-list-cell">
  162. <view class="uni-list-cell-left">楼栋</view>
  163. <view class="uni-list-cell-db">
  164. <view v-if="this.isEmpty(this.LDValue2.id)" style="margin-top: 10;" @click="pickerShow('ld2')">
  165. <span style="color: darkgray;">请选择楼栋</span>
  166. <image src="../../static/images/icon_right.png"
  167. style=" position: absolute; width: 15px;height: 15px;"></image>
  168. </view>
  169. <view style="margin-top: 10;" @click="pickerShow('ld2')">
  170. <span style="color: black;">{{LDValue2.name}}</span>
  171. <image src="../../static/images/icon_right.png"
  172. style=" position: absolute; width: 15px;height: 15px;"></image>
  173. </view>
  174. </view>
  175. </view>
  176. <view class="uni-list-cell">
  177. <view class="uni-list-cell-left">单元</view>
  178. <view class="uni-list-cell-db">
  179. <view v-if="this.isEmpty(this.DYValue2.id)" style="margin-top: 10;" @click="pickerShow('dy2')">
  180. <span style="color: darkgray;">请选择单元</span>
  181. <image src="../../static/images/icon_right.png"
  182. style=" position: absolute; width: 15px;height: 15px;"></image>
  183. </view>
  184. <view v-else style="margin-top: 10;" @click="pickerShow('dy2')">
  185. <span style="color: black;">{{DYValue2.name}}</span>
  186. <image src="../../static/images/icon_right.png"
  187. style=" position: absolute; width: 15px;height: 15px;"></image>
  188. </view>
  189. </view>
  190. </view>
  191. </view>
  192. <!-- <uni-divider></uni-divider>
  193. <view class="view_bg_build" v-if="roomList.length > 0">
  194. <view v-for="(item,index) in roomList" :key="index">
  195. <uni-grid :column="roomCount">
  196. <uni-grid-item class="no-click" v-for="(item2, index2) in roomList[index]" :index="index2" :key="index2">
  197. <view :style="{backgroundColor: getColorByStatus(item2.roomStatus)}">
  198. <text class="grid-text">{{item2.roomName}}</text>
  199. </view>
  200. </uni-grid-item>
  201. </uni-grid>
  202. </view>
  203. </view> -->
  204. <view class="view_bg_build" v-if="roomList.length > 0">
  205. <view class="HuaDongBiao">
  206. <view class="NeiRong" v-for="(item,index) in roomList" :key="index">
  207. <view class="Fang" v-for="(item2, index2) in roomList[index]" :key="index2">
  208. <view v-if="item2.roomStatus=='施工中'" class="ShiGongZhong">{{ item2.roomName }}</view>
  209. <view v-else-if="item2.roomStatus=='未开工'" class="WeiShiGong">{{ item2.roomName }}</view>
  210. <view v-else class="JunGong">{{ item2.roomName }}</view>
  211. </view>
  212. </view>
  213. </view>
  214. </view>
  215. <view v-if="roomList.length == 0">暂无数据</view>
  216. <view style="align-items: center;">
  217. <view style="display: flex;align-items: center;">
  218. <image class="block-iv" src="../../static/images/ic_legend.png"></image>
  219. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  220. <div class="block-iv" style="background-color: #80d9ae;"></div>
  221. <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
  222. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  223. <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
  224. <div class="block-iv" style="background-color: #ffc881;"></div>
  225. <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
  226. </view>
  227. </view>
  228. </view>
  229. <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
  230. subtitleKey="id" v-model="name"></SelectPicker>
  231. <SelectPicker :list="dictOptions" @change="changeSelect" v-if="openDict" @close="closeDict" titleKey="dictLabel"
  232. subtitleKey="dictValue" v-model="dictLabel"></SelectPicker>
  233. </view>
  234. </template>
  235. <script>
  236. import SelectPicker from '../../components/selectPicker/select_picker.vue'
  237. import {
  238. getDicts
  239. } from "@/api/system/dict/data";
  240. import {
  241. getAreaList,
  242. getBuildingList,
  243. getUnitList,
  244. getHousesList,
  245. getEnginMaterialQualityList,
  246. getEnginSpecificationsList,
  247. getMunicipalStatisticsData,
  248. getObtainRoomcCompletionInformationList,
  249. } from '@/api/common'
  250. export default {
  251. components: {
  252. SelectPicker
  253. },
  254. data() {
  255. return {
  256. villageIndex: 0,
  257. specificationIndex: 0,
  258. materialIndex: 0,
  259. villageIndex2: 0,
  260. buildIndex: 0,
  261. unitIndex: 0,
  262. open: false,
  263. openDict: false,
  264. selectList: [],
  265. dictOptions: [],
  266. XQList: [],
  267. LDList: [],
  268. DYList: [],
  269. projectValue: {},
  270. XZQValue: {},
  271. XQValue: {},
  272. XQList2: [],
  273. LDList2: [],
  274. DYList2: [],
  275. projectValue2: {},
  276. XZQValue2: {},
  277. XQValue2: {},
  278. LDValue2: {},
  279. DYValue2: {},
  280. specificationValue: {},
  281. specificationList: [],
  282. materialValue: {},
  283. materialList: [],
  284. materialUsageList: [],
  285. roomList: [],
  286. roomCount: 4
  287. }
  288. },
  289. created() {},
  290. methods: {
  291. isEmpty(str) {
  292. return (!str || 0 === str.length);
  293. },
  294. pickerShow(e) {
  295. this.type = e; //赋值类型
  296. if (e == 'gczq') { //工程周期
  297. this.openDict = true;
  298. getDicts("engin_cycle").then(response => {
  299. this.dictOptions = response.data;
  300. });
  301. } else if (e == 'xzq') {
  302. if (this.isEmpty(this.projectValue.dictValue)) {
  303. this.$modal.msg('请选择工程周期')
  304. } else {
  305. this.openDict = true;
  306. getDicts("district").then(response => {
  307. this.dictOptions = response.data;
  308. });
  309. }
  310. } else if (e == 'xq') { //小区
  311. if (this.isEmpty(this.XZQValue.dictValue)) {
  312. this.$modal.msg('请选择行政区')
  313. } else {
  314. this.open = true;
  315. this.selectList = this.XQList;
  316. }
  317. } else if (e == 'ld') { //楼栋
  318. if (this.isEmpty(this.XQValue.id)) {
  319. this.$modal.msg('请选择小区')
  320. } else {
  321. this.open = true;
  322. this.selectList = this.LDList;
  323. }
  324. } else if (e == 'dy') { //单元
  325. if (this.isEmpty(this.LDValue.id)) {
  326. this.$modal.msg('请选择楼栋')
  327. } else {
  328. this.open = true;
  329. this.selectList = this.DYList;
  330. }
  331. } else if (e == 'gczq2') { //工程周期
  332. this.openDict = true;
  333. getDicts("engin_cycle").then(response => {
  334. this.dictOptions = response.data;
  335. });
  336. } else if (e == 'xzq2') { //行政区2
  337. if (this.isEmpty(this.projectValue2.dictValue)) {
  338. this.$modal.msg('请选择工程周期')
  339. } else {
  340. this.openDict = true;
  341. getDicts("district").then(response => {
  342. this.dictOptions = response.data;
  343. });
  344. }
  345. } else if (e == 'xq2') { //小区2
  346. if (this.isEmpty(this.XZQValue2.dictValue)) {
  347. this.$modal.msg('请选择行政区')
  348. } else {
  349. this.open = true;
  350. this.selectList = this.XQList2;
  351. }
  352. } else if (e == 'ld2') { //楼栋2
  353. if (this.isEmpty(this.XQValue2.id)) {
  354. this.$modal.msg('请选择小区')
  355. } else {
  356. this.open = true;
  357. this.selectList = this.LDList2;
  358. }
  359. } else if (e == 'dy2') { //单元2
  360. if (this.isEmpty(this.LDValue2.id)) {
  361. this.$modal.msg('请选择楼栋')
  362. } else {
  363. this.open = true;
  364. this.selectList = this.DYList2;
  365. }
  366. } else if (e == 'gg') { //规格
  367. if (this.isEmpty(this.materialValue.id)) {
  368. this.$modal.msg('请选择材料')
  369. } else {
  370. this.open = true;
  371. this.selectList = this.materialList;
  372. }
  373. } else if (e == 'cz') { //材料
  374. this.open = true;
  375. getEnginMaterialQualityList("民用工程").then(response => {
  376. this.selectList = response.data;
  377. });
  378. }
  379. },
  380. changeSelect(item, index) {
  381. // this.index = index;
  382. // this.address = item.communityName;
  383. this.open = false;
  384. this.openDict = false;
  385. if (this.type == 'xzq') {
  386. this.XZQValue = item;
  387. //根据行政区id获取小区数据
  388. this.XQValue = ''; //重置小区数据
  389. this.LDValue = ''; //重置楼栋数据
  390. this.DYValue = ''; //重置单元数据
  391. this.FJValue = ''; //重置房间数据
  392. getAreaList(item.dictValue).then(res => {
  393. this.XQList = res.data;
  394. })
  395. } else if (this.type == 'gczq') {
  396. this.projectValue = item
  397. } else if (this.type == 'xq') {
  398. this.XQValue = item;
  399. //根据小区id 获取楼栋数据
  400. this.LDValue = ''; //重置楼栋数据
  401. this.DYValue = ''; //重置单元数据
  402. this.FJValue = ''; //重置房间数据
  403. // getBuildingList(item.id).then(res => {
  404. // this.LDList = res.data
  405. // // console.log("楼栋=", res)
  406. // })
  407. this.queryMaterialsUsedList();
  408. } else if (this.type == 'ld') {
  409. this.LDValue = item;
  410. //根据楼栋ID 获取单元数据
  411. this.DYValue = ''; //重置单元数据
  412. this.FJValue = ''; //重置房间数据
  413. getUnitList(item.id).then(res => {
  414. this.DYList = res.data
  415. // console.log("单元=", res)
  416. })
  417. } else if (this.type == 'dy') {
  418. this.DYValue = item;
  419. } else if (this.type == 'gczq2') {
  420. this.projectValue2 = item
  421. } else if (this.type == 'xzq2') {
  422. this.XZQValue2 = item;
  423. //根据行政区id获取小区数据
  424. this.XQValue2 = ''; //重置小区数据
  425. this.LDValue2 = ''; //重置楼栋数据
  426. this.DYValue2 = ''; //重置单元数据
  427. this.FJValue2 = ''; //重置房间数据
  428. getAreaList(item.dictValue).then(res => {
  429. this.XQList2 = res.data;
  430. })
  431. } else if (this.type == 'xq2') { //小区2
  432. this.XQValue2 = item;
  433. //根据小区id 获取楼栋数据
  434. this.LDValue2 = ''; //重置楼栋数据
  435. this.DYValue2 = ''; //重置单元数据
  436. this.FJValue2 = ''; //重置房间数据
  437. getBuildingList(item.id).then(res => {
  438. this.LDList2 = res.data
  439. // console.log("楼栋=", res)
  440. })
  441. } else if (this.type == 'ld2') {
  442. this.LDValue2 = item;
  443. //根据楼栋ID 获取单元数据
  444. this.DYValue2 = ''; //重置单元数据
  445. this.FJValue2 = ''; //重置房间数据
  446. getUnitList(item.id).then(res => {
  447. this.DYList2 = res.data
  448. // console.log("单元=", res)
  449. })
  450. } else if (this.type == 'dy2') {
  451. this.DYValue2 = item;
  452. this.queryProjectStatisticsList();
  453. } else if (this.type == 'gg') { //规格
  454. this.specificationValue = item;
  455. this.queryMaterialsUsedList();
  456. } else if (this.type == 'cz') { //材料
  457. this.materialValue = item;
  458. this.specificationValue = ''; //重置规格
  459. //根据材质ID 获取规格数据
  460. getEnginSpecificationsList(item.id).then(res => {
  461. this.materialList = res.data
  462. })
  463. }
  464. },
  465. //关闭弹窗
  466. close(e) {
  467. this.open = false
  468. },
  469. //关闭弹窗
  470. closeDict(e) {
  471. this.openDict = false
  472. },
  473. queryMaterialsUsedList() {
  474. if (this.isEmpty(this.XQValue.id)) {
  475. this.$modal.msg('请选择小区')
  476. return;
  477. }
  478. if (this.isEmpty(this.specificationValue.id)) {
  479. this.$modal.msg('请选择规格')
  480. return;
  481. }
  482. let param = {
  483. enginCycle: this.projectValue.dictValue, //工程周期
  484. areaId: this.XQValue.id,
  485. realityQuality: this.materialValue.id,
  486. realitySpecifications: this.specificationValue.id,
  487. };
  488. getMunicipalStatisticsData(param).then(res => {
  489. this.materialUsageList = res.data;
  490. })
  491. },
  492. queryProjectStatisticsList() {
  493. let param = {
  494. enginCycle: this.projectValue.dictValue, //工程周期
  495. areaId: this.XQValue2.id,
  496. buildingId: this.LDValue2.id,
  497. unitId: this.DYValue2.id,
  498. };
  499. getObtainRoomcCompletionInformationList(param).then(res => {
  500. this.roomList = res.data[0].roomStatusVoList;
  501. this.roomCount = res.data[0].roomStatusVoList.length;
  502. })
  503. },
  504. getColorByStatus(status) {
  505. if (this.isEmpty(status)) {
  506. return "#fff";
  507. }
  508. if (status == '施工中') {
  509. return "#5bd3ff";
  510. } else if (status == '未施工') {
  511. return "#ffc881";
  512. } else if (status == '竣工') {
  513. return "#80d9ae";
  514. }
  515. }
  516. }
  517. }
  518. </script>
  519. <style>
  520. .no-click {
  521. pointer-events: none;
  522. }
  523. .marginLeft5 {
  524. margin-left: 5px;
  525. }
  526. .title-txt {
  527. font-size: 15px;
  528. font-weight: bold;
  529. color: black;
  530. }
  531. .content-txt {
  532. font-size: 10px;
  533. font-weight: bold;
  534. color: black;
  535. }
  536. .view-bg {
  537. margin-left: 8px;
  538. margin-right: 8px;
  539. margin-top: 8px;
  540. background-color: #fff;
  541. border-radius: 5px;
  542. padding: 10px 20px 10px 10px;
  543. }
  544. .uni-list {
  545. background-color: #FFFFFF;
  546. position: relative;
  547. width: 100%;
  548. display: flex;
  549. flex-direction: column;
  550. }
  551. .uni-list-cell {
  552. position: relative;
  553. display: flex;
  554. flex-direction: row;
  555. justify-content: space-between;
  556. align-items: center;
  557. }
  558. .uni-list-cell-left {
  559. white-space: nowrap;
  560. font-size: 28rpx;
  561. }
  562. .centered {
  563. text-align: center;
  564. background-color: #e2f4ff;
  565. }
  566. .text {
  567. background-color: #e2f4ff;
  568. height: 20rpx;
  569. }
  570. .view_bg_build {
  571. background-color: #e2f4ff;
  572. padding: 10px;
  573. margin: 20rpx;
  574. }
  575. .grid-text {
  576. font-size: 14px;
  577. color: #000000;
  578. text-align: center;
  579. padding-left: 30rpx;
  580. padding-right: 30rpx;
  581. padding-top: 20rpx;
  582. padding-bottom: 20rpx;
  583. }
  584. .name {
  585. flex: 0;
  586. font-size: 14px;
  587. color: #000000;
  588. overflow: hidden;
  589. text-overflow: ellipsis;
  590. white-space: nowrap;
  591. }
  592. .table-item {
  593. overflow: hidden;
  594. text-overflow: ellipsis;
  595. white-space: nowrap;
  596. }
  597. .block-iv {
  598. width: 10px;
  599. height: 10px;
  600. }
  601. .table {
  602. width: 100%;
  603. border-radius: 8rpx;
  604. background: #FFFFFF;
  605. /* border: 1rpx solid #EFEFEF; */
  606. font-size: 28rpx;
  607. }
  608. .felx-row {
  609. width: 100%;
  610. display: flex;
  611. justify-content: space-between;
  612. align-items: center;
  613. }
  614. .h-tr {
  615. box-sizing: border-box;
  616. display: flex;
  617. flex-direction: row;
  618. flex-wrap: nowrap;
  619. justify-content: center;
  620. align-items: center;
  621. align-content: center;
  622. border-color: #ccc;
  623. border-style: solid;
  624. border-width: 0;
  625. border-width: 1px;
  626. color: #333;
  627. }
  628. .h-td {
  629. box-sizing: border-box;
  630. padding: 3px;
  631. word-break: break-all;
  632. border-color: #ccc;
  633. border-style: solid;
  634. border-width: 1px;
  635. border-right-width: 1px;
  636. display: flex;
  637. flex-direction: row;
  638. flex-wrap: nowrap;
  639. justify-content: center;
  640. align-items: center;
  641. align-content: center;
  642. min-height: 64rpx;
  643. }
  644. .LouCeng {
  645. font-size: 30rpx;
  646. background-color: #4a4b52;
  647. color: #FFEB3B;
  648. font-weight: bold;
  649. }
  650. .Fang {
  651. width: 60px;
  652. display: inline-block;
  653. line-height: 50rpx;
  654. text-align: center;
  655. margin-right: 10px;
  656. margin-bottom: 10px;
  657. background-color: red;
  658. }
  659. .HuaDongBiao {
  660. overflow: hidden;
  661. display: inline-block;
  662. }
  663. .NeiRong {
  664. overflow: auto;
  665. }
  666. .ShiGongZhong {
  667. background-color: #5bd3ff;
  668. color: #000;
  669. }
  670. .WeiShiGong {
  671. background-color: #ffc881;
  672. color: #000;
  673. }
  674. .JunGong {
  675. background-color: #80d9ae;
  676. color: #000;
  677. }
  678. </style>