Browse Source

解除车牌占用

master
yangteng 1 month ago
parent
commit
10b0d6119f

+ 1
- 0
App.vue View File

@@ -171,5 +171,6 @@
page {
font-family: "Microsoft Yahei";
background-color: #E9EDF0;
font-size: 32rpx;
}
</style>

+ 22
- 2
pages.json View File

@@ -69,7 +69,20 @@
"subPackages": [{
"root": "subpackage/after-sale", //售后相关
"pages": [
{
"path": "work-order/add-work-list",
"style": {
"navigationBarTitleText": "自助工单",
"enablePullDownRefresh": false
}
},
{
"path": "work-order/add-work-order",
"style": {
"navigationBarTitleText": "新增自助工单",
"enablePullDownRefresh": false
}
},
{
"path": "wxWebView",
"style": {
@@ -673,6 +686,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "rescind-carId/rescind-carId-select-direction",
"style": {
"navigationBarTitleText": "解除车牌占用-引导页",
"enablePullDownRefresh": false
}
},
{
"path": "rescind-carId/verification",
"style": {
@@ -697,7 +717,7 @@
{
"path": "rescind-carId/result",
"style": {
"navigationBarTitleText": "解除车牌占用-验证",
"navigationBarTitleText": "解除车牌占用-结果",
"enablePullDownRefresh": false
}
},

+ 2
- 8
subpackage/after-sale/account-recharge/open-account.vue View File

@@ -263,18 +263,12 @@
sourceType: ["camera", "album"], //从相册选择
success: function (res) {
uploadFile(res.tempFilePaths[0], "", ocrAllQuery).then((data) => {
if (data.result) {
state.form.url2 = '';
state.form.companyName = stringToJson(data.result
.businessLicense)[
'名称'];
state.form.code = stringToJson(data.result
.businessLicense)[
'统一社会信用代码'];
state.form.companyName =data.unitName;
state.form.code = data.screditCode;
uploadFile(res.tempFilePaths[0], "", "").then((data) => {
state.form.url1 = data;
})
}
})
},
});

+ 7
- 0
subpackage/after-sale/deviceInfo/deviceInfo.vue View File

@@ -218,7 +218,14 @@
const getCardId = () => {
//执行0015文件
tools.showLoadingAlert("执行指令");
// var arr=['00A40000023F00','00A40000021001','0020000006313233343536','00B201C400','00B202C400','00B203C400','00B204C400','00B205C400','00B206C400','00B207C400','00B208C400','00B209C400','00B20aC400','00B20bC400','00B20cC400','00B20dC400','00B20eC400','00B20fC400','00B210C400','00B211C400','00B212C400','00B213C400','00B214C400','00B215C400','00B216C400','00B217C400','00B218C400','00B219C400','00B21aC400','00B21bC400','00B21cC400','00B21dC400','00B21eC400','00B21fC400','00B220C400','00B221C400','00B222C400','00B223C400','00B224C400','00B225C400','00B226C400','00B227C400','00B228C400','00B229C400','00B22aC400','00B22bC400','00B22cC400','00B22dC400','00B22eC400','00B22fC400','00B230C400','00B231C400','00B232C400']
// console.log("通行流水进来")
// var arr = ['00A40000023F00','00A40000021001','0020000006313233343536','00B201C400','00B202C400',]

// bluetoothUtil.transCmd(arr, '10', function(res) { //10:写卡 20:写OBU
// console.log("通行流水出来",res)
// })
// return;
let cmdArr = [cmd.HOME_DIRECTORY, cmd.APPLICATION_DIRECTORY, cmd.CMD_READBINARY, cmd.CMD_GETBALANCE];
console.log(cmdArr);
console.log(bluetoothUtil);

+ 204
- 0
subpackage/after-sale/rescind-carId/rescind-carId-select-direction.vue View File

@@ -0,0 +1,204 @@
<template>
<view class="bg">
<view class="title">使用场景</view>
<view class="des">车牌号被上任车主办理的黔通智联发行的ETC设备占用,无法新办ETC。</view>
</view>
<view class="bg">
<view class="title"> 需要准备的材料 </view>
<view class="cailiao">
<view class="list" v-for="(item,index) in list">
<view>{{item.name}}</view>
<image class="icon" :src="`${$imgUrl}${item.img}`"
:style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png)`}">
</image>
</view>
</view>
</view>
<view class="bg">
<view class="title"> 办理流程 </view>
<view class="dot_wrap">
<view class="dot_wrap_left">
<text class="dot"></text>
<text class="line"></text>
<text class="dot"></text>
<text class="line"></text>
<text class="dot"></text>
</view>
<view class="dot_wrap_right">
<view class="item">
<image :src="`${$imgUrl}issuance/direction1.png`"></image>
<view class="destion">
<view class="destion1">解除车牌占用申请</view>
<view class="destion2">业务员提交申请。</view>
</view>
<image :src="`${$imgUrl}issuance/direction4.png`"></image>
</view>
<view class="item">
<image :src="`${$imgUrl}issuance/direction2.png`"></image>
<view class="destion">
<view class="destion1">资料审核</view>
<view class="destion2">辅助说明</view>
</view>
</view>
<view class="item" style="margin-bottom: 0;">
<image :src="`${$imgUrl}issuance/direction3.png`"></image>
<view class="destion">
<view class="destion1">解除车牌占用</view>
<view class="destion2">辅助说明</view>
</view>
</view>
</view>
</view>
</view>
<view class="action">
<button type="default" class="ui-btn" @click="savaHandle()">
解除车牌占用申请
</button>
</view>
</template>

<script setup lang="ts">
import {navTo} from "@/utils/utils";
import {
ref
} from "vue";
const list=ref([
{'name':"申请人身份证正面",'img':"issuance/sfz.png"},
{'name':"申请人身份证反面",'img':"issuance/sff.png"},
{'name':"车辆行驶证主页",'img':"issuance/xz.png"},
{'name':"车辆行驶证副页",'img':"issuance/xf.png"},
{'name':"营业执照(单位必传)",'img':"applyCard/zhizhao.png"},
])
const savaHandle = () => {
navTo(`/subpackage/after-sale/rescind-carId/rescind-carId-select`)
}
</script>

<style lang="scss" scoped>
.bg {
background-color: white;
width: 88%;
margin: 0 auto;
margin-top: 20rpx;
border-radius: 12px;
border: 1px solid #FFFFFF;
padding: 20rpx;
overflow: hidden;

.title {
font-weight: 400;
font-size: 30rpx;
color: #01243A;
}

.dot_wrap {
display: flex;
margin: 30rpx 0;

.dot_wrap_left {
display: flex;
flex-direction: column;
align-items: center;
margin-right: 20rpx;
margin-top: 20rpx;

.dot {
width: 24rpx;
height: 24rpx;
background: #01243A;
border-radius: 50%;
}

.line {
height: 126rpx;
background-color: transparent;
border-left: 2rpx dashed #01243A;
}
}

.dot_wrap_right {
.item {
background: #F7F7F7;
border-radius: 12rpx;
height: 120rpx;
display: flex;
padding: 10rpx 20rpx;
box-sizing: border-box;
width: 600rpx;
margin-bottom: 30rpx;

.destion {
margin: 0 60rpx 0 20rpx;
font-weight: 400;

.destion1 {
font-size: 28rpx;
color: #01243A;
}

.destion2 {
font-size: 22rpx;
color: #999999;
line-height: 50rpx;
}
}

image {
width: 46rpx;
height: 47rpx;
}
}
}
}

.des {
font-weight: 400;
font-size: 28rpx;
color: #01243A;
line-height: 56rpx;
margin-top: 10rpx;
text-indent: 1rem;
}

.cailiao {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;

.list {
width: 48%;
margin-top: 30rpx;

view {
text-align: center;
margin-bottom: 15rpx;
font-size: 28rpx;
color: #01243A;
}

.icon {
width: 100%;
height: 190rpx;
background-image: var(--bgimg);
background-size: 100% 100%;
background-repeat: no-repeat;
}
}
}
}

.action {
position: absolute;
left: 0;
height: 188rpx;
background-color: #fff;
border-radius: 30rpx 30rpx 0 0;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 20rpx;
}
</style>

+ 438
- 472
subpackage/after-sale/rescind-carId/rescind-carId-select.vue
File diff suppressed because it is too large
View File


+ 31
- 68
subpackage/after-sale/rescind-carId/result.vue View File

@@ -1,39 +1,23 @@
<template>
<view class="oderPage">
<view class="content">
<image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image>
<view class="title">
待审核
</view>
<view class="">
您的车辆{{}}解除车牌占用申请已提交,请到【查询服务】的【业务审核查询】查看进度
</view>
<view class="content">
<image :src="`${$imgUrl}ETCcancellation/bgNew.png`" mode=""></image>
<view class="title">
提交成功
</view>
<view class="">
预计1-3日完成资料审核
</view>
</view>
<button class="submit" @click="submit">返回</button>
<button class="ui-btn" @click="submit">完成</button>
</template>

<script setup lang="ts">
import {
ref,
} from "vue";

import {
onLoad,
} from "@dcloudio/uni-app";

const carid = ref('')

const submit = () => {
console.log(11);
uni.reLaunch({
url: '/pages/index/index'
})
}

onLoad((option) => {
carid.value = option.carid
})
</script>


@@ -43,55 +27,34 @@
height: 100%;
display: flex;
flex-direction: column;
background-color: white;
}
</style>
<style lang="scss" scoped>
.oderPage {
flex: 1;
width: 100%;

.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 130rpx;

image {
width: 390rpx;
height: 307rpx;
margin-bottom: 20rpx;
}

.title {
font-size: 38rpx;
font-weight: 600;
font-size: 40rpx;
font-family: Microsoft YaHei UI;
color: #2A2A2A;
}
.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 80rpx;

image {
width: 390rpx;
height: 307rpx;
margin-bottom: 20rpx;
}

view {
margin: 15rpx 0;
font-size: 28rpx;
font-family: Microsoft YaHei UI;
font-weight: 400;
color: #717171;
}
.title {
font-weight: 400;
font-size: 40rpx;
color: #01243A;
margin: 20rpx 0 30rpx 0;
}
}

.submit {
background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
width: 670rpx;
height: 80rpx;
line-height: 80rpx;
font-size: 32rpx;
color: #fff;
border-radius: 100rpx;
position: fixed;
bottom: 60rpx;
left: 50%;
transform: translate(-50%);
view {
font-weight: 400;
font-size: 28rpx;
color: #999999;
}
}
</style>

+ 28
- 0
subpackage/after-sale/work-order/add-work-list.vue View File

@@ -0,0 +1,28 @@
<template>
<view class="content">
<view class="list">
<view>1</view>
<view>1</view>
<view>1</view>
</view>
</view>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
.content{
padding-top: 30rpx;
box-sizing: border-box;
}
.list{
background: #FFFFFF;
border-radius: 12rpx;
border: 1px solid #FFFFFF;
width: 90%;
margin: 0 auto;
}
</style>

+ 75
- 0
subpackage/after-sale/work-order/add-work-order.vue View File

@@ -0,0 +1,75 @@
<template>
<view class="bg">
<view class="title_wrap"><text class="title">基本信息</text><text class="supplement">待补充</text></view>
<view class="des">车牌号被上任车主办理的黔通智联发行的ETC设备占用,无法新办ETC。</view>
</view>
<view class="bg">
<view class="title"> 需要准备的材料 </view>
</view>
<view class="bg">
<view class="title"> 办理流程 </view>
</view>
<view class="action">
<button type="default" class="ui-btn" @click="savaHandle()">
提交
</button>
</view>
</template>

<script setup lang="ts">
import {navTo} from "@/utils/utils";

const savaHandle = () => {
navTo(`/subpackage/after-sale/rescind-carId/rescind-carId-select`)
}
</script>

<style lang="scss" scoped>
.bg {
background-color: white;
width: 88%;
margin: 0 auto;
margin-top: 20rpx;
border-radius: 12px;
border: 1px solid #FFFFFF;
padding: 20rpx;
overflow: hidden;
.title_wrap{
display: flex;
justify-content: space-between;
font-weight: 400;
.title {
font-size: 30rpx;
color: #01243A;
}
.supplement{
font-size: 24rpx;
color: #CCB375;
}
}
.des {
font-weight: 400;
font-size: 28rpx;
color: #01243A;
line-height: 56rpx;
margin-top: 10rpx;
text-indent: 1rem;
}
}

.action {
position: absolute;
left: 0;
height: 188rpx;
background-color: #fff;
border-radius: 30rpx 30rpx 0 0;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 20rpx;
}
</style>

+ 3
- 8
subpackage/orders/opening-account-unit.vue View File

@@ -336,19 +336,14 @@
sourceType: ["camera", "album"], //从相册选择
success: function (res) {
uploadFile(res.tempFilePaths[0], "", ocrAllQuery).then((data) => {
if (data.result) {
state.form.userName = stringToJson(data.result
.businessLicense)[
'名称'];
state.form.userIdNum = stringToJson(data.result
.businessLicense)[
'统一社会信用代码'];
state.form.userName =data.unitName;
state.form.userIdNum = data.screditCode;
state.form.userAddress=data.adress
uploadFile(res.tempFilePaths[0], "", "").then((data) => {
state.form.posImgUrl = data;
state.form.userNegImgUrl = data;
state.form.userPosImgUrl = data;
})
}
})
},
});

+ 4
- 2
utils/network/api.js View File

@@ -293,7 +293,7 @@ export const customerInfoChangeCancel= "/iaw/aftersale/customerInfoChange/cancel
// ocr
export const idCardOcr= "/iaw/ocr/idCardOcr" //身份证OCR识别
export const vehicleLicenseOcr= "/iaw/ocr/vehicleLicenseOcr" //车辆行驶证OCR识别
export const ocrAllQuery = '/iaw/ocr/businessLicenseOcr'; //8.76.BDS-OCR证照识别接口
export const ocrAllQuery = '/iaw/ocr/businessLicenseOcrNew'; //8.76.BDS-OCR证照识别接口
// 公用得接口
export const commQueryCourier= "/iaw/api/afterSale/comm/queryCourier" //获取快递公司列表
// 收货地址管理
@@ -463,4 +463,6 @@ export const cardObuQueryinLog = "/iaw/ass/query/cardObuQueryInLog"; //卡签信

export const hexToStrig = "/iaw/api/afterSale/comm/hexToStrig"; //解密信息 十六进制转汉字

export const pinCodeUnlock = "/iaw/api/afterSale/order/cardUnBlock" //ASS-卡PIN解锁
export const pinCodeUnlock = "/iaw/api/afterSale/order/cardUnBlock" //ASS-卡PIN解锁
// 解除车牌占用
export const releasePlateaApply = "/iaw/api/afterSale/releasePlate/apply" //解除车牌占用订单申请

+ 4
- 2
utils/utils.ts View File

@@ -546,10 +546,12 @@ export const uploadFile = (tempImagePath, imageType, code) => {
console.log("17", uploadFileImage)
resolve(uploadFileImage)
return;
} else if (code == '/iaw/ocr/businessLicenseOcr') { //营业执照
} else if (code == '/iaw/ocr/businessLicenseOcrNew') { //营业执照
var data = {
type: 'business_license',
url: uploadFileImage
url: uploadFileImage,
agencyId: agentId,
fileName: tempImagePath,
};
console.log("91", uploadFileImage)
}

Loading…
Cancel
Save