infoPage.vue 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!-- 历史记录详情 -->
  2. <template>
  3. <view class="historicalRecordsInfoPage">
  4. <view class="title-p" style="margin-top:20rpx;">基础信息</view>
  5. <view class="title-weight-p">报备单编号:{{newData.listNewData1}}</view>
  6. <view class="text-p">报备实验室:{{newData.listNewData2}}</view>
  7. <view class="text-p">上门回收日期:{{newData.listNewData3}}</view>
  8. <view class="text-p">报备人:{{newData.listNewData4}}</view>
  9. <view class="text-p">报备时间:{{newData.listNewData5}}</view>
  10. <view class="title-p">报备内容</view>
  11. <view class="positon-p" :class="newData.listNewData0==1?'colorA':(newData.listNewData0==2?'colorB':(newData.listNewData0==3?'colorC':''))">{{newData.listNewData0==1?'已报备待回收':(newData.listNewData0==2?'已回收':(newData.listNewData0==3?'超期未回收':''))}}</view>
  12. <view class="text-weight-box">
  13. <view>危险废物种类</view>
  14. <view>共{{dataList.length}}种</view>
  15. </view>
  16. <view class="text-box" v-for="(item,index) in dataList" :key="index">
  17. <view>{{item.name}}</view>
  18. <view>{{item.value}}{{item.unit}}</view>
  19. </view>
  20. <view class="remark-box">
  21. <view>备注说明</view>
  22. <view>{{newData.listNewData6}}</view>
  23. </view>
  24. <view class="flex-null-p"></view>
  25. <view class="bottom-button-p" v-if="newData.listNewData0==1">修改报备单</view>
  26. <view class="bottom-button-p" v-if="newData.listNewData0==2">称重登记单</view>
  27. </view>
  28. </template>
  29. <script>
  30. import {
  31. demo1,
  32. demo2
  33. } from '@/pages_hazardousWasteRecycling/api/index.js'
  34. export default {
  35. data() {
  36. return {
  37. newData:{
  38. listNewData0:'1',
  39. listNewData1:'HW202510400001',
  40. listNewData2:'植物营养实验室(A201)',
  41. listNewData3:'2025-11-05(星期四)',
  42. listNewData4:'王二小(2020110010)',
  43. listNewData5:'2025-11-04 10:10:09',
  44. listNewData6:'若为空则显示无,若有值则显示对应的备注内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容。若为空则显示无,若有值则显示对应的备注内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容,若为空则显示无,若有值则显示对应的数据内容。',
  45. },
  46. dataList:[
  47. {name:'实验室废液',value:'1',unit:'桶'},
  48. {name:'实验室废固',value:'2',unit:'袋'},
  49. {name:'动物解剖废弃物',value:'3',unit:'袋'},
  50. {name:'废旧试剂',value:'4',unit:'支'},
  51. {name:'剧毒废弃化学品',value:'5',unit:'瓶'},
  52. {name:'电池',value:'6',unit:'枚'},
  53. ],
  54. }
  55. },
  56. onLoad(option) {
  57. },
  58. onShow() {
  59. },
  60. mounted() {
  61. },
  62. methods: {
  63. },
  64. }
  65. </script>
  66. <style lang="stylus" scoped>
  67. .historicalRecordsInfoPage{
  68. height: 100%;
  69. display flex;
  70. flex-direction column;
  71. background-color: #fff;
  72. position: relative;
  73. overflow-x: hidden;
  74. overflow-y: scroll;
  75. .title-p{
  76. line-height:80rpx;
  77. font-size:32rpx;
  78. padding:0 30rpx;
  79. color:#666;
  80. }
  81. .title-weight-p{
  82. line-height:60rpx;
  83. font-size:32rpx;
  84. padding:0 50rpx;
  85. color:#333;
  86. font-weight:700;
  87. }
  88. .text-p{
  89. line-height:60rpx;
  90. font-size:32rpx;
  91. padding:0 50rpx;
  92. color:#333;
  93. }
  94. .positon-p{
  95. position: absolute;
  96. top:20rpx;
  97. right:30rpx;
  98. }
  99. .text-weight-box{
  100. display: flex;
  101. line-height:60rpx;
  102. font-size:32rpx;
  103. padding:0 50rpx;
  104. color:#333;
  105. font-weight:700;
  106. view:nth-child(1){
  107. flex:1;
  108. }
  109. view:nth-child(2){
  110. }
  111. }
  112. .text-box{
  113. display: flex;
  114. line-height:60rpx;
  115. font-size:32rpx;
  116. padding:0 50rpx;
  117. color:#333;
  118. view:nth-child(1){
  119. flex:1;
  120. }
  121. view:nth-child(2){
  122. }
  123. }
  124. .remark-box{
  125. line-height:60rpx;
  126. font-size:32rpx;
  127. padding:0 30rpx;
  128. color:#333;
  129. view:nth-child(1){
  130. line-height:80rpx;
  131. font-size:32rpx;
  132. color:#333;
  133. font-weight:700;
  134. }
  135. view:nth-child(2){
  136. padding:0 20rpx;
  137. line-height:50rpx;
  138. font-size:32rpx;
  139. color:#333;
  140. }
  141. }
  142. .flex-null-p{
  143. flex:1;
  144. }
  145. .bottom-button-p{
  146. width:700rpx;
  147. height:80rpx;
  148. line-height:80rpx;
  149. font-size:34rpx;
  150. color:#fff;
  151. background-color: #0183FA;
  152. margin:40rpx 25rpx;
  153. border-radius:10rpx;
  154. text-align: center;
  155. }
  156. .colorA{
  157. color:#0183FA;
  158. }
  159. .colorB{
  160. color:#00CD66;
  161. }
  162. .colorC{
  163. color:#FF6A6A;
  164. }
  165. }
  166. </style>