processedDetail.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <view>
  3. <view class="timeBox flex justify-between align-center padding-lr-sm">
  4. <view class="time">{{this.getData.cl_time}}</view>
  5. <button class="cu-btn radius bg-green sm">{{this.getData.wtype}}</button>
  6. </view>
  7. <view >
  8. <!-- 基本信息start -->
  9. <view class="basic-info">
  10. <view class="info-tit margin-left-xs">
  11. <text class="cuIcon-titles margin-right-xs"></text>
  12. 基本信息
  13. </view>
  14. <view class="info-content">
  15. <view class="info-one-info ">
  16. <text>{{this.getData.artificial_code}}</text>
  17. </view>
  18. <view>
  19. <text>{{this.getData.content}}</text>
  20. </view>
  21. </view>
  22. </view>
  23. <!-- 基本信息end -->
  24. <!-- 处理信息start -->
  25. <view class="processStatus">
  26. <view class="info-tit margin-left-xs">
  27. <text class="cuIcon-titles margin-right-xs"></text>
  28. 处理信息
  29. </view>
  30. <view class="info-content">
  31. <view class="info-one-info ">
  32. <text>处理账号/电话:</text>
  33. <text>{{this.getData.clr_phone}}</text>
  34. </view>
  35. <view>
  36. <text>处理时间:</text>
  37. <text>{{this.getData.cl_time}}</text>
  38. </view>
  39. <view>
  40. <text>处理内容:</text>
  41. <text>{{this.getData.clnr}}</text>
  42. </view>
  43. </view>
  44. </view>
  45. <!-- 处理状态end -->
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {
  53. radio: 'A',
  54. radio: 'B',
  55. modalName: null,
  56. type: '0',
  57. getData:{},
  58. detailMessage2:{},
  59. }
  60. },
  61. onLoad: function(option) {
  62. this.getDetailData({
  63. "id": option.id,
  64. "company_code": uni.getStorageSync('selectedCode')
  65. })
  66. },
  67. methods: {
  68. async getDetailData(params = {}) {
  69. const res = await this.$myRequest({
  70. url: 'FireInspector/getManualInspectorDetails',
  71. data: params,
  72. showLoading: true
  73. })
  74. this.getData = res.data.data[0];
  75. console.log(this.getData)
  76. },
  77. submit() {
  78. uni.makePhoneCall({
  79. phoneNumber: '15122423833' //仅为示例
  80. });
  81. },
  82. RadioChange(e) {
  83. this.radio = e.detail.value
  84. },
  85. textareaAInput(e) {
  86. this.textareaAValue = e.detail.value
  87. },
  88. }
  89. }
  90. </script>
  91. <style lang="scss">
  92. .timeBox {
  93. height: 88rpx;
  94. background: #EFF4FF;
  95. line-height: 88rpx;
  96. .time {
  97. color: #333
  98. }
  99. }
  100. .info-tit {
  101. color: #4074E7;
  102. line-height: 90rpx;
  103. height: 90rpx;
  104. }
  105. // 基本信息
  106. .info-content>view {
  107. margin-left: 24rpx;
  108. border-bottom: 1px solid #EDEDED;
  109. line-height: 92rpx;
  110. color: #666;
  111. }
  112. .info-content view text:first-child {
  113. width: 160rpx;
  114. display: inline-block
  115. }
  116. </style>