processedDetail.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <template>
  2. <view>
  3. <view class="timeBox flex justify-between align-center padding-lr-sm">
  4. <view class="time">2021-01-18 15:16:45</view>
  5. <button class="cu-btn radius bg-green sm">已处理</button>
  6. </view>
  7. <!-- 基本信息start -->
  8. <view class="basic-info">
  9. <view class="info-tit margin-left-xs">
  10. <text class="cuIcon-titles margin-right-xs"></text>
  11. 基本信息
  12. </view>
  13. <view class="info-content">
  14. <view class="info-one-info ">
  15. <text>站点名称:</text>
  16. <text>测试站点一</text>
  17. </view>
  18. <view>
  19. <text>线路名称:</text>
  20. <text>进线一</text>
  21. </view>
  22. <view>
  23. <text>警告信息:</text>
  24. <text>母线停电</text>
  25. </view>
  26. <view>
  27. <text>警告状态:</text>
  28. <text>复归</text>
  29. </view>
  30. <view>
  31. <text>采集终端:</text>
  32. <text>DA00012784</text>
  33. </view>
  34. <view>
  35. <text>站点地址:</text>
  36. <text>沪太路8786弄155号<text class="icon iconfont map" @click="mapLocation()">&#xe612;</text></text>
  37. </view>
  38. <view>
  39. <text>联系人:</text>
  40. <text>韩正义</text>
  41. </view>
  42. <view>
  43. <text>联系方式:</text>
  44. <text>15122423833<text class="phone icon iconfont" @click="submit()">&#xe61d;</text></text>
  45. </view>
  46. <view>
  47. <text>运行数据:</text>
  48. <text class="checkMore">点击查看</text>
  49. </view>
  50. <view>
  51. <text>视频:</text>
  52. <text class="checkMore">点击查看</text>
  53. </view>
  54. </view>
  55. </view>
  56. <!-- 基本信息end -->
  57. <!-- 处理信息start -->
  58. <view class="processStatus">
  59. <view class="info-tit margin-left-xs">
  60. <text class="cuIcon-titles margin-right-xs"></text>
  61. 处理信息
  62. </view>
  63. <view class="info-content">
  64. <view class="info-one-info ">
  65. <text>是否误报:</text>
  66. <text>误报</text>
  67. </view>
  68. <view>
  69. <text>处理人:</text>
  70. <text>13262908415</text>
  71. </view>
  72. <view>
  73. <text>处理时间:</text>
  74. <text>2021-01-27 09:41:12</text>
  75. </view>
  76. <view>
  77. <text>处理内容:</text>
  78. <text>测试</text>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 处理状态end -->
  83. </view>
  84. </template>
  85. <script>
  86. export default {
  87. data() {
  88. return {
  89. radio: 'A',
  90. radio: 'B',
  91. modalName: null,
  92. }
  93. },
  94. methods: {
  95. submit() {
  96. uni.makePhoneCall({
  97. phoneNumber: '15122423833' //仅为示例
  98. });
  99. },
  100. mapLocation(){
  101. uni.getLocation({
  102. type: 'gcj02', //返回可以用于uni.openLocation的经纬度
  103. success: function (res) {
  104. const latitude =31.469465;
  105. const longitude = 121.327514;
  106. console.log(latitude);
  107. uni.openLocation({
  108. latitude: latitude,
  109. longitude: longitude,
  110. success: function () {
  111. console.log('success');
  112. }
  113. });
  114. }
  115. });
  116. },
  117. RadioChange(e) {
  118. this.radio = e.detail.value
  119. },
  120. textareaAInput(e) {
  121. this.textareaAValue = e.detail.value
  122. },
  123. }
  124. }
  125. </script>
  126. <style lang="scss">
  127. .timeBox {
  128. height: 88rpx;
  129. background: #EFF4FF;
  130. line-height: 88rpx;
  131. .time {
  132. color: #333
  133. }
  134. }
  135. .info-tit {
  136. color: #4074E7;
  137. line-height: 90rpx;
  138. height: 90rpx;
  139. }
  140. // 基本信息
  141. .info-content>view {
  142. margin-left: 24rpx;
  143. border-bottom: 1px solid #EDEDED;
  144. line-height: 92rpx;
  145. color: #666;
  146. }
  147. .info-content view text:first-child {
  148. width: 160rpx;
  149. display: inline-block
  150. }
  151. </style>