statistics.vue 21 KB

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