Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

rescind-carId-select-details.vue 7.7KB

pirms 5 mēnešiem
pirms 2 nedēļām
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 2 nedēļām
pirms 2 nedēļām
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 5 mēnešiem
pirms 2 nedēļām
pirms 2 nedēļām
pirms 2 nedēļām
pirms 5 mēnešiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. <template>
  2. <view class="have-bottom">
  3. <view class="bg">
  4. <view class="title">提交信息</view>
  5. <view class="detail-option">
  6. <view class="detail-option-item">
  7. <view class="label">提交日期</view>
  8. <view class="value">{{ state.detail.applyTime }}</view>
  9. </view>
  10. <view class="detail-option-item">
  11. <view class="label">审核状态</view>
  12. <view
  13. class="value"
  14. :class="{
  15. statusdsh: state.detail.orderStep === 'WAITING_AUDIT',
  16. statusbtg: state.detail.orderStep === 'AUDIT_FAIL',
  17. statusywc: state.detail.orderStep === 'COMPLETED',
  18. }"
  19. >{{ getCodeName('ASS_ORDER_STEP', state.detail.orderStep) }}</view>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="bg">
  24. <view class="title">身份证信息</view>
  25. <view class="detail-option">
  26. <view class="detail-option-item">
  27. <view class="label">姓名</view>
  28. <view class="value">{{ state.applyInfo.name }}</view>
  29. </view>
  30. <view class="detail-option-item">
  31. <view class="label">身份证照片</view>
  32. </view>
  33. <view class="detail-option-item">
  34. <image class="car-photo" :src="state.applyInfo.userPosImagesUrl" mode="aspectFill"></image>
  35. <image class="car-photo" :src="state.applyInfo.userNegImagesUrl" mode="aspectFill"></image>
  36. </view>
  37. <view class="detail-option-item">
  38. <view class="label">手机号</view>
  39. <view class="value">{{ state.applyInfo.mobile }}</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="bg">
  44. <view class="title">车辆信息</view>
  45. <view class="detail-option">
  46. <view class="detail-option-item">
  47. <view class="label">车牌号</view>
  48. <view class="value">{{ state.drivingInfo.plateNum }}</view>
  49. </view>
  50. <view class="detail-option-item">
  51. <view class="label">车辆颜色</view>
  52. <view class="value">{{ getVehiclePlateColor(state.drivingInfo.plateColor) }}</view>
  53. </view>
  54. <view class="detail-option-item">
  55. <view class="label">车主姓名</view>
  56. <view class="value">{{ state.drivingInfo.vehicleOwnerName }}</view>
  57. </view>
  58. <view class="detail-option-item">
  59. <view class="label">驾驶证信息</view>
  60. </view>
  61. <view class="detail-option-item">
  62. <image class="car-photo" :src="state.drivingInfo.vehPosImgUrl" mode="aspectFill"></image>
  63. <image class="car-photo" :src="state.drivingInfo.vehNegImgUrl" mode="aspectFill"></image>
  64. </view>
  65. </view>
  66. </view>
  67. <view class="bg" v-if="state.ownerInfo && state.ownerInfo.ownerName">
  68. <view class="title">车主信息</view>
  69. <view class="detail-option">
  70. <view class="detail-option-item">
  71. <view class="label">车主姓名</view>
  72. <view class="value">{{ state.ownerInfo.ownerName }}</view>
  73. </view>
  74. <view class="detail-option-item">
  75. <view class="label">车主身份证号</view>
  76. <view class="value">{{ state.ownerInfo.ownerIdNum }}</view>
  77. </view>
  78. <view class="detail-option-item">
  79. <view class="label">车主身份证</view>
  80. </view>
  81. <view class="detail-option-item">
  82. <image class="car-photo" :src="state.ownerInfo.ownerPosImgUrl" mode="aspectFill"></image>
  83. <image class="car-photo" :src="state.ownerInfo.ownerNegImgUrl" mode="aspectFill"></image>
  84. </view>
  85. <view class="detail-option-item">
  86. <view class="label">授权书</view>
  87. </view>
  88. <view class="detail-option-item">
  89. <image class="proxy-url" :src="state.ownerInfo.proxyUrl" mode="aspectFill"></image>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </template>
  95. <script setup lang="ts">
  96. import { reactive} from "vue";
  97. import {releasePlateaView} from "@/utils/network/api.js";
  98. import {requestNew} from "@/utils/network/request.js";
  99. import { onLoad } from "@dcloudio/uni-app";
  100. import { getVehiclePlateColor } from "@/datas/vehiclePlateColor.js"
  101. import { getCodeName } from '@/datas/queryKey.js'
  102. const leftIcon = {
  103. height: '100%',
  104. width: '8rpx',
  105. display: 'flex',
  106. 'align-items': 'center',
  107. 'margin-right': '4rpx',
  108. }
  109. const labelStyle = {
  110. color: "#004576",
  111. fontSize: "28rpx",
  112. }
  113. const state = reactive({
  114. detail: {
  115. plateNum: '',
  116. plateColor: '',
  117. vehicleOwnerName: '',
  118. applyTime: '',
  119. auditStatus: '',
  120. orderStep: ''
  121. },
  122. drivingInfo: {
  123. plateColor: "",
  124. plateNum: "",
  125. vehNegImgUrl: "",
  126. vehPosImgUrl: "",
  127. vehicleOwnerName: "",
  128. },
  129. applyInfo: {
  130. mobile: '',
  131. name: '',
  132. userNegImagesUrl: '',
  133. userPosImagesUrl: ''
  134. },
  135. ownerInfo: {
  136. ownerName: '',
  137. ownerIdNum: '',
  138. ownerNegImgUrl: '',
  139. ownerPosImgUrl: '',
  140. proxyUrl: ''
  141. }
  142. })
  143. onLoad((option) => {
  144. if (option.orderNo) {
  145. getDetail(option.orderNo)
  146. } else {
  147. uni.navigateBack()
  148. }
  149. });
  150. const getDetail = (orderNo: string) => {
  151. const options = {
  152. type: 2,
  153. data: {
  154. orderNo
  155. },
  156. method: "POST",
  157. showLoading: true,
  158. };
  159. requestNew(releasePlateaView, options).then((res) => {
  160. state.detail = res
  161. state.drivingInfo = res.drivingInfo
  162. state.applyInfo = res.applyInfo
  163. state.ownerInfo = res.ownerInfo
  164. });
  165. };
  166. </script>
  167. <style lang="scss" scoped>
  168. .bg {
  169. background-color: white;
  170. margin: 0 32rpx;
  171. margin-top: 20rpx;
  172. border-radius: 12px;
  173. border: 1px solid #FFFFFF;
  174. padding: 20rpx;
  175. overflow: hidden;
  176. .title {
  177. font-weight: bold;
  178. font-size: 30rpx;
  179. color: #000000;
  180. }
  181. .dot_wrap {
  182. display: flex;
  183. margin: 30rpx 0;
  184. .dot_wrap_left {
  185. display: flex;
  186. flex-direction: column;
  187. align-items: center;
  188. margin-right: 20rpx;
  189. margin-top: 20rpx;
  190. .dot {
  191. width: 24rpx;
  192. height: 24rpx;
  193. background: #01243A;
  194. border-radius: 50%;
  195. }
  196. .line {
  197. height: 126rpx;
  198. background-color: transparent;
  199. border-left: 2rpx dashed #01243A;
  200. }
  201. }
  202. .dot_wrap_right {
  203. .item {
  204. background: #F7F7F7;
  205. border-radius: 12rpx;
  206. height: 120rpx;
  207. display: flex;
  208. padding: 10rpx 20rpx;
  209. box-sizing: border-box;
  210. width: 600rpx;
  211. margin-bottom: 30rpx;
  212. .destion {
  213. margin: 0 60rpx 0 20rpx;
  214. font-weight: 400;
  215. .destion1 {
  216. font-size: 28rpx;
  217. color: #01243A;
  218. }
  219. .destion2 {
  220. font-size: 22rpx;
  221. color: #999999;
  222. line-height: 50rpx;
  223. }
  224. }
  225. image {
  226. width: 46rpx;
  227. height: 47rpx;
  228. }
  229. }
  230. }
  231. }
  232. .des {
  233. font-weight: 400;
  234. font-size: 28rpx;
  235. color: #01243A;
  236. line-height: 56rpx;
  237. margin-top: 10rpx;
  238. text-indent: 1rem;
  239. }
  240. .cailiao {
  241. width: 100%;
  242. display: flex;
  243. flex-wrap: wrap;
  244. justify-content: space-between;
  245. .list {
  246. width: 48%;
  247. margin-top: 30rpx;
  248. view {
  249. text-align: center;
  250. margin-bottom: 15rpx;
  251. font-size: 28rpx;
  252. color: #01243A;
  253. }
  254. .icon {
  255. width: 100%;
  256. height: 190rpx;
  257. background-image: var(--bgimg);
  258. background-size: 100% 100%;
  259. background-repeat: no-repeat;
  260. }
  261. }
  262. }
  263. }
  264. .action {
  265. position: absolute;
  266. left: 0;
  267. height: 270rpx;
  268. background-color: #fff;
  269. border-radius: 30rpx 30rpx 0 0;
  270. width: 100vw;
  271. display: flex;
  272. align-items: center;
  273. justify-content: space-evenly;
  274. flex-direction: column;
  275. margin-top: 20rpx;
  276. }
  277. .detail-option{
  278. .detail-option-item{
  279. display: flex;
  280. padding: 20rpx 0;
  281. min-height: 70rpx;
  282. display: flex;
  283. align-items: center;
  284. justify-content: space-between;
  285. font-size: 28rpx;
  286. .label{
  287. color: #004576;
  288. width: 150rpx;
  289. flex-shrink: 0;
  290. flex-grow: 0;
  291. }
  292. // 待审核
  293. .statusdsh{
  294. font-size: 24rpx;
  295. color: #1458E5;
  296. }
  297. // 不通过
  298. .statusbtg{
  299. font-size: 24rpx;
  300. color: #C2A760;
  301. }
  302. // 已完成
  303. .statusywc{
  304. font-size: 24rpx;
  305. color: #42D175;
  306. }
  307. }
  308. }
  309. .car-photo{
  310. width: 280rpx;
  311. height: 175rpx;
  312. }
  313. .have-bottom{
  314. padding-bottom: 100rpx;
  315. }
  316. .proxy-url{
  317. width: 560rpx;
  318. height: 250rpx;
  319. }
  320. </style>