report-details.vue 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <template>
  2. <view class="container qualifications" :style="{ paddingBottom: isIphoneX ? '68rpx' : '0' }">
  3. <view class="remarks-content">
  4. <view class="list-view-title">
  5. <view class="list-view-h1"
  6. >机构名称:<text>{{ reportParams.questionMan }}</text></view
  7. >
  8. </view>
  9. <view class="list-view-title">
  10. <view class="list-view-h1"
  11. >联系人:<text>{{ reportParams.questionMan }}</text></view
  12. >
  13. </view>
  14. <view class="list-view-title">
  15. <view class="list-view-h1">咨询人:{{ reportParams.questionMan }}</view>
  16. </view>
  17. <view class="list-view-title"> <view class="list-view-h1">报备时间:2020-08-08</view> </view>
  18. <view class="list-view-title"> <view class="list-view-h1">报备商品:</view> </view>
  19. <view class="tui-remarks-content">
  20. <view class="tui-remarks-goods">
  21. <view class="goods-image">
  22. <image
  23. src="https://img.caimei365.com/group1/M00/03/FC/rB-lGGInLUKAJAR0AAOvlb8lQKk394.jpg"
  24. mode=""
  25. ></image>
  26. </view>
  27. <view class="goods-main">
  28. <view class="name">
  29. 易可美贻贝粘蛋白私密修复精华水易可美贻贝粘蛋白私密修复精华水易可美贻贝粘蛋白私密修复精华水
  30. </view>
  31. <view class="shop"> 供应商:华熙生物 </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="list-view-title">
  36. <view class="list-view-h1"
  37. >报备事由:<text
  38. >报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由报备事由</text
  39. ></view
  40. >
  41. </view>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. import { mapState, mapMutations } from 'vuex'
  47. import authorize from '@/common/config/authorize.js'
  48. import { uploadFileImage, uploadFilePdfDocDocx } from '@/services/public.js'
  49. var isPreviewImg
  50. export default {
  51. data() {
  52. return {
  53. isIphoneX: this.$store.state.isIphoneX,
  54. productActions: [],
  55. reportParams: {},
  56. reportId: 0,
  57. categorys: '产品,二手,耗材'
  58. }
  59. },
  60. onLoad(option) {
  61. console.log(option)
  62. this.reportId = option.reportId
  63. this.userReportDetails(this.reportId)
  64. },
  65. filters: {
  66. followupFilters(value) {
  67. // 订单来源
  68. const map = {
  69. 1: '跟进中',
  70. 2: '跟进完成',
  71. 3: '已放弃'
  72. }
  73. return map[value]
  74. },
  75. pinceFilters(value) {
  76. // 意向
  77. const map = {
  78. 1: '敏感',
  79. 2: '适中',
  80. 3: '不敏感',
  81. 4: '不明确'
  82. }
  83. return map[value]
  84. },
  85. intenActionsFilters(value) {
  86. // 意向
  87. const map = {
  88. 1: '意向强烈',
  89. 2: '意向一般',
  90. 3: '意向平淡',
  91. 4: '随便看看'
  92. }
  93. return map[value]
  94. }
  95. },
  96. methods: {
  97. ...mapMutations(['login']),
  98. userReportDetails(reportId) {
  99. //报备详情
  100. this.UserService.userReportDetails({
  101. reportId: reportId
  102. })
  103. .then(response => {
  104. this.reportParams = response.data
  105. })
  106. .catch(error => {
  107. this.$util.msg(error.msg, 2000)
  108. })
  109. }
  110. },
  111. onShow() {}
  112. }
  113. </script>
  114. <style lang="scss">
  115. page {
  116. height: auto;
  117. background: #ffffff;
  118. }
  119. .remarks-content {
  120. width: 100%;
  121. height: auto;
  122. box-sizing: border-box;
  123. padding: 0 24rpx;
  124. padding-bottom: 80rpx;
  125. .list-view-title {
  126. width: 100%;
  127. height: auto;
  128. margin-bottom: 16rpx;
  129. margin-top: 40rpx;
  130. .list-view-h1 {
  131. line-height: 40rpx;
  132. font-size: $font-size-30;
  133. color: #333333;
  134. text-align: left;
  135. font-weight: bold;
  136. text {
  137. color: #666666;
  138. font-weight: normal;
  139. }
  140. }
  141. }
  142. .tui-remarks-content {
  143. width: 100%;
  144. height: auto;
  145. margin-bottom: 24rpx;
  146. .tui-remarks-goods{
  147. width: 100%;
  148. height: 180rpx;
  149. box-sizing: border-box;
  150. background-color: #F7F7F7;
  151. padding: 26rpx;
  152. border-radius: 6rpx;
  153. .goods-image{
  154. width: 128rpx;
  155. height: 128rpx;
  156. float: left;
  157. image{
  158. width: 128rpx;
  159. height: 128rpx;
  160. display: block;
  161. border-radius: 4rpx;
  162. }
  163. }
  164. .goods-main{
  165. width: 522rpx;
  166. height: 128rpx;
  167. box-sizing: border-box;
  168. padding: 0 32rpx;
  169. float: right;
  170. .name{
  171. width: 100%;
  172. height: 60rpx;
  173. box-sizing: border-box;
  174. line-height: 60rpx;
  175. color: #333333;
  176. text-overflow: ellipsis;
  177. overflow: hidden;
  178. display: -webkit-box;
  179. -webkit-line-clamp: 1;
  180. line-clamp: 1;
  181. -webkit-box-orient: vertical;
  182. font-size: 26rpx;
  183. }
  184. .shop{
  185. line-height: 60rpx;
  186. color: #999999;
  187. font-size: 26rpx;
  188. }
  189. }
  190. }
  191. }
  192. .list-view {
  193. width: 100%;
  194. height: auto;
  195. margin-top: 20rpx;
  196. .list-view-text {
  197. width: 100%;
  198. float: left;
  199. .input {
  200. width: 500rpx;
  201. height: 50rpx;
  202. box-sizing: border-box;
  203. line-height: 50rpx;
  204. color: #333333;
  205. text-overflow: ellipsis;
  206. overflow: hidden;
  207. display: -webkit-box;
  208. -webkit-line-clamp: 1;
  209. line-clamp: 1;
  210. -webkit-box-orient: vertical;
  211. float: left;
  212. font-size: 26rpx;
  213. }
  214. .delbtn {
  215. width: 96rpx;
  216. height: 44rpx;
  217. border-radius: 8rpx;
  218. font-size: $font-size-24;
  219. color: #e15616;
  220. line-height: 44rpx;
  221. text-align: center;
  222. float: left;
  223. &.down {
  224. color: #1890f9;
  225. }
  226. }
  227. }
  228. }
  229. }
  230. </style>