count: { | count: { | ||||
/* 图片上传数量*/ | /* 图片上传数量*/ | ||||
type: Number, | type: Number, | ||||
default: 8, | |||||
default: 5, | |||||
}, | }, | ||||
showTxt: { | showTxt: { | ||||
/* 是否显示上传图片文字*/ | /* 是否显示上传图片文字*/ | ||||
for (var i = 0; i < tempFilePaths.length; i++) { | for (var i = 0; i < tempFilePaths.length; i++) { | ||||
uploadFile(tempFilePaths[i], "", "").then((data) => { | uploadFile(tempFilePaths[i], "", "").then((data) => { | ||||
_this.imageList.push(data); | _this.imageList.push(data); | ||||
if (_this.imageList.length > 8) { | |||||
var newImg = _this.imageList.slice(0, 8) | |||||
if (_this.imageList.length > 5) { | |||||
var newImg = _this.imageList.slice(0, 5) | |||||
for (var k = 0; k < newImg.length; k++) { | for (var k = 0; k < newImg.length; k++) { | ||||
newImg[k] = this.strReplace(newImg[k]) | newImg[k] = this.strReplace(newImg[k]) | ||||
} | } |
<view class="content"> | <view class="content"> | ||||
<image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image> | <image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image> | ||||
<view class="title"> | <view class="title"> | ||||
办理成功 | |||||
待审核 | |||||
</view> | </view> | ||||
<view class=""> | <view class=""> | ||||
您办理的卡签注销业务已完成 | |||||
请到【查询服务】的【业务审核查询】查看进度 | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
left: 50%; | left: 50%; | ||||
transform: translate(-50%); | transform: translate(-50%); | ||||
} | } | ||||
</style> | |||||
</style> |
<view class="content"> | <view class="content"> | ||||
<view class="list-item" v-for="(item,index) in state.tableData"> | <view class="list-item" v-for="(item,index) in state.tableData"> | ||||
<view><text>卡号:</text><text>{{item.cardId}}</text></view> | <view><text>卡号:</text><text>{{item.cardId}}</text></view> | ||||
<view><text>反白时间:</text><text>{{item.createTime}}</text></view> | |||||
<view><text>反白原因:</text><text>{{item.reasonOut}}</text></view> | |||||
<view><text>下黑时间:</text><text>{{item.creationTime}}</text></view> | <view><text>下黑时间:</text><text>{{item.creationTime}}</text></view> | ||||
<view><text>下黑原因:</text><text>{{item.reasonIn}}</text></view> | |||||
<view v-if="item.reasonIn"><text>下黑原因:</text><text>{{item.reasonIn}}</text></view> | |||||
<view><text>黑名单类型:</text><text>{{item.typeC}}</text></view> | <view><text>黑名单类型:</text><text>{{item.typeC}}</text></view> | ||||
<view><text>状态:</text><text>{{item.status == '1'?'在黑':'已反白'}}</text></view> | <view><text>状态:</text><text>{{item.status == '1'?'在黑':'已反白'}}</text></view> | ||||
</view> | </view> |
<image class="right" src="../../../static/image/icon-back.png" mode=""></image> | <image class="right" src="../../../static/image/icon-back.png" mode=""></image> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="uni-container" style="text-align: center;" v-if="state.noData">暂无数据</view> | |||||
<view class="bottom-line" v-if="state.flags">我是有底线的~~~</view> | <view class="bottom-line" v-if="state.flags">我是有底线的~~~</view> | ||||
</view> | </view> | ||||
vehiclePlateColor: "", | vehiclePlateColor: "", | ||||
status: "", | status: "", | ||||
statusArr: [], //AUDIT_STATUS | statusArr: [], //AUDIT_STATUS | ||||
vehiclePlateColorArr: [] | |||||
vehiclePlateColorArr: [], | |||||
noData: false | |||||
}) | }) | ||||
onLoad((option) => { | onLoad((option) => { | ||||
} | } | ||||
state.listData = getData | state.listData = getData | ||||
state.total = data.data.length | state.total = data.data.length | ||||
if (state.listData.length > 0) { | |||||
state.noData = false | |||||
} else { | |||||
state.noData = true | |||||
} | |||||
console.log("业务完成日志", state.listData, state.pageNo,) | console.log("业务完成日志", state.listData, state.pageNo,) | ||||
}); | }); | ||||
} | } | ||||
padding: 0 20rpx 20rpx 20rpx; | padding: 0 20rpx 20rpx 20rpx; | ||||
box-sizing: border-box; | box-sizing: border-box; | ||||
z-index: 999999; | z-index: 999999; | ||||
height: 170rpx; | |||||
} | } | ||||
.content { | .content { | ||||
font-size: 32rpx; | font-size: 32rpx; | ||||
padding: 20rpx 30rpx; | padding: 20rpx 30rpx; | ||||
background-color: #EEF7F7; | background-color: #EEF7F7; | ||||
min-height: 100vh; | |||||
min-height: calc(100vh - 40rpx); | |||||
} | } | ||||
.card { | .card { |
}); | }); | ||||
//type:1用户信息变更,2车辆信息变更3,异常上报,4卡签注销,5挂失,6设备更换,7退货,8解挂 , | //type:1用户信息变更,2车辆信息变更3,异常上报,4卡签注销,5挂失,6设备更换,7退货,8解挂 , | ||||
// 9有两个 1个是解除车牌占用 2个ETC设备更换车牌 | // 9有两个 1个是解除车牌占用 2个ETC设备更换车牌 | ||||
// 20 设备升级 21增补OBU设备 22卡续期 23欠费补缴 24余额补领 25公务车发行 26补卡额 27解锁卡 | |||||
// 20 设备升级 21增补OBU设备 22卡续期 23欠费补缴 24余额补领 25公务车发行 26补卡额 27解锁卡 28激活 29通行流水 30黑名单查询 | |||||
// 31发票 32月结单查询 | |||||
onLoad((options) => { | onLoad((options) => { | ||||
state.type = options.type | state.type = options.type | ||||
state.userIdNum = options.userIdNum | state.userIdNum = options.userIdNum | ||||
state.mobile = options.mobile | state.mobile = options.mobile | ||||
console.log("options", options) | console.log("options", options) | ||||
// state.vehicleId = "贵ZXCV32_0" | |||||
silentLogin().then(() => { | silentLogin().then(() => { | ||||
quanCheckActionTrue().then((item : any) => { | quanCheckActionTrue().then((item : any) => { | ||||
console.log("item====", item, item.data.length) | console.log("item====", item, item.data.length) | ||||
jump() | jump() | ||||
} else { | } else { | ||||
msg('暂无车辆') | msg('暂无车辆') | ||||
setTimeout(() => { | |||||
uni.switchTab({ | |||||
url: "/pages/index/index" | |||||
}) | |||||
}, 1500) | |||||
} | } | ||||
}) | }) | ||||
} else if (state.type == "5" || state.type == "8") { | } else if (state.type == "5" || state.type == "8") { | ||||
navTo(`/subpackage/after-sale/card-loss-reporting/cardloss-confirm?id=${state.id}`) | navTo(`/subpackage/after-sale/card-loss-reporting/cardloss-confirm?id=${state.id}`) | ||||
} else if (state.type == "9" && state.name == '解除车牌占用') { | } else if (state.type == "9" && state.name == '解除车牌占用') { | ||||
navTo('/subpackage/after-sale/card-deactivation-activation/deactivation-activation-confirm') | |||||
navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select') | |||||
} else if (state.type == "20") { | } else if (state.type == "20") { | ||||
searchVehicleInfoQuery().then((item : any) => { | |||||
console.log("====", item.vehicles[0]) | |||||
state.customerId = item.vehicles[0]['customerId'] | |||||
state.vehiclePlate = item.vehicles[0]['vehiclePlate'] | |||||
state.vehiclePlateColor = item.vehicles[0]['vehiclePlateColor'] | |||||
isWorkOrder().then((item : any) => { | |||||
console.log("查询是否有工单", item) | |||||
if (item.data) { | |||||
if (item.data[0]['status'] == '0') { | |||||
navTo(`/subpackage/after-sale/equipment-upgrade/upgrade-confirm?id=${state.id}&workId=${item.data[0]['id']}`) | |||||
} | |||||
} else { | |||||
msg('暂无工单') | |||||
} | |||||
}) | |||||
uni.switchTab({ | |||||
url: "/pages/user/user" | |||||
}) | }) | ||||
// searchVehicleInfoQuery().then((item : any) => { | |||||
// console.log("====", item.vehicles[0]) | |||||
// state.customerId = item.vehicles[0]['customerId'] | |||||
// state.vehiclePlate = item.vehicles[0]['vehiclePlate'] | |||||
// state.vehiclePlateColor = item.vehicles[0]['vehiclePlateColor'] | |||||
// isWorkOrder().then((item : any) => { | |||||
// console.log("查询是否有工单", item) | |||||
// if (item.data) { | |||||
// if (item.data[0]['status'] == '0') { | |||||
// navTo(`/subpackage/after-sale/equipment-upgrade/upgrade-confirm?id=${state.id}&workId=${item.data[0]['id']}`) | |||||
// } | |||||
// } else { | |||||
// msg('暂无工单') | |||||
// } | |||||
// }) | |||||
// }) | |||||
} else if (state.type == "21") { | } else if (state.type == "21") { | ||||
navTo(`/subpackage/after-sale/additional-equipment/additional-equipment-confirm?id=${state.id}`) | navTo(`/subpackage/after-sale/additional-equipment/additional-equipment-confirm?id=${state.id}`) | ||||
} else if (state.type == "22") { | } else if (state.type == "22") { | ||||
navTo(`/subpackage/orders/flowingWater?vehicleId=${state.vehicleId}`) | navTo(`/subpackage/orders/flowingWater?vehicleId=${state.vehicleId}`) | ||||
} else if (state.type == "27") { | } else if (state.type == "27") { | ||||
navTo(`/subpackage/after-sale/pin-code-deblocking/pin-code-confirm?id=${state.id}`) | navTo(`/subpackage/after-sale/pin-code-deblocking/pin-code-confirm?id=${state.id}`) | ||||
} else if (state.type == "28") { | |||||
navTo(`/subpackage/personal-center/install-activation-order`) | |||||
} else if (state.type == "29") { | |||||
navTo(`/subpackage/personal-center/search/select-card?vehicleId=${state.vehicleId}`) | |||||
} else if (state.type == "30") { | |||||
var vehiclePlate = state.vehicleId.split("_")[0] | |||||
var vehiclePlateColor = state.vehicleId.split("_")[1] | |||||
navTo(`/subpackage/after-sale/blacklist-query/list?vehiclePlate=${vehiclePlate}&vehiclePlateColor=${vehiclePlateColor}`) | |||||
} else if (state.type == "31") { | |||||
navTo(`/subpackage/orders/invoiceApply/Invoice-mannager`) | |||||
} else if (state.type == "32") { | |||||
navTo(`/subpackage/after-sale/month-statement/month-statement-query-list?vehicleId=${state.vehicleId}`) | |||||
} else if (state.type == "33") { | |||||
var vehiclePlate = state.vehicleId.split("_")[0] | |||||
var vehiclePlateColor = state.vehicleId.split("_")[1] | |||||
navTo(`/subpackage/after-sale/progress-query/progress-query-business?vehiclePlate=${vehiclePlate}&vehiclePlateColor=${vehiclePlateColor}`) | |||||
} | } | ||||
} | } | ||||
ordersArr: [], | ordersArr: [], | ||||
checked: false, | checked: false, | ||||
checkedAll: false, | checkedAll: false, | ||||
flags: false | |||||
flags: false, | |||||
customerIdNum: "" | |||||
}) | }) | ||||
onLoad((option) => { | onLoad((option) => { | ||||
state.type = option.type | state.type = option.type | ||||
const data = stringToJson(res.bizContent); | const data = stringToJson(res.bizContent); | ||||
console.log(data, "用户信息"); | console.log(data, "用户信息"); | ||||
state.userMobile = data.customerTel | state.userMobile = data.customerTel | ||||
state.customerIdNum = data.customerIdNum | |||||
if (state.type == 1) { | if (state.type == 1) { | ||||
etcOrder(1) | etcOrder(1) | ||||
} | } | ||||
} | } | ||||
const params = encodeURIComponent(JSON.stringify(newArr)) | const params = encodeURIComponent(JSON.stringify(newArr)) | ||||
if (state.ordersArr.length >= 1) { | if (state.ordersArr.length >= 1) { | ||||
navTo(`/subpackage/orders/invoiceApply/invoice-step1?type=${state.type}&&ordersArr=${params}&&userMobile=${state.userMobile}`) | |||||
navTo(`/subpackage/orders/invoiceApply/invoice-step1?type=${state.type}&&ordersArr=${params}&&userMobile=${state.userMobile}&&customerIdNum=${state.customerIdNum}`) | |||||
} else { | } else { | ||||
msg("请选择订单开票") | msg("请选择订单开票") | ||||
} | } |
<view class="from_item"> | <view class="from_item"> | ||||
<text><text style="color: red;">*</text>车辆所有人证件号后6位:</text> | <text><text style="color: red;">*</text>车辆所有人证件号后6位:</text> | ||||
<view style="display: flex;"> | <view style="display: flex;"> | ||||
<u-input v-model="state.subIdentNo" class="input" maxlength="6" type="number" /> | |||||
<u-input v-model="state.subIdentNo" class="input" maxlength="6" type="number" disabled /> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</u-form-item> | </u-form-item> | ||||
let ordersArr = JSON.parse(decodeURIComponent(option.ordersArr)) | let ordersArr = JSON.parse(decodeURIComponent(option.ordersArr)) | ||||
state.type = option.type | state.type = option.type | ||||
state.userMobile = option.userMobile | state.userMobile = option.userMobile | ||||
state.subIdentNo = option.customerIdNum.slice(-6) | |||||
console.log("ordersArr", ordersArr) | console.log("ordersArr", ordersArr) | ||||
for (var i = 0; i < ordersArr.length; i++) { | for (var i = 0; i < ordersArr.length; i++) { | ||||
let obj = {} | let obj = {} | ||||
}; | }; | ||||
request(ETCProductInvoiceApi, options).then((res) => { | request(ETCProductInvoiceApi, options).then((res) => { | ||||
const data = stringToJson(res.bizContent); | const data = stringToJson(res.bizContent); | ||||
msg("开票成功") | |||||
msg("开票申请成功") | |||||
setTimeout(() => { | setTimeout(() => { | ||||
uni.navigateBack({ | |||||
delta: 3 | |||||
}) | |||||
// uni.navigateBack({ | |||||
// delta: 3 | |||||
// }) | |||||
navTo(`/subpackage/orders/invoiceApply/invoiceList?userMobile=${state.userMobile}`) | |||||
}, 1500) | }, 1500) | ||||
console.log(data, "通行"); | console.log(data, "通行"); | ||||
}); | }); | ||||
}; | }; | ||||
request(flowServiceFee, options).then((res) => { | request(flowServiceFee, options).then((res) => { | ||||
const data = stringToJson(res.bizContent); | const data = stringToJson(res.bizContent); | ||||
msg("开票成功") | |||||
msg("开票申请成功") | |||||
setTimeout(() => { | setTimeout(() => { | ||||
uni.navigateBack({ | |||||
delta: 3 | |||||
}) | |||||
navTo(`/subpackage/orders/invoiceApply/invoiceList?userMobile=${state.userMobile}`) | |||||
}, 1500) | }, 1500) | ||||
console.log(data, "通行"); | console.log(data, "通行"); | ||||
}); | }); |
</view> | </view> | ||||
</view> | </view> | ||||
<view class="listbox"> | |||||
<view class="listbox" v-if="state.data.length>0"> | |||||
<view class="card-no-active" v-for="(item,index) in state.data"> | <view class="card-no-active" v-for="(item,index) in state.data"> | ||||
<view class="head"> | <view class="head"> | ||||
<!-- <image :src="`${$imgUrl}order/icon-star-green.png`" mode=""></image> --> | <!-- <image :src="`${$imgUrl}order/icon-star-green.png`" mode=""></image> --> | ||||
</view> | </view> | ||||
<!-- <view class="bottom-line" v-if="state.flags">我是有底线的~~~</view> --> | <!-- <view class="bottom-line" v-if="state.flags">我是有底线的~~~</view> --> | ||||
</view> | </view> | ||||
<view v-else class="listbox" style="text-align: center;font-size: 32rpx;"> | |||||
暂无数据 | |||||
</view> | |||||
</template> | </template> | ||||
<script setup lang="ts"> | <script setup lang="ts"> | ||||
}) | }) | ||||
onLoad((options) => { | onLoad((options) => { | ||||
state.userMobile = options.userMobile | state.userMobile = options.userMobile | ||||
query(1) | |||||
}) | }) | ||||
const search = () => { | const search = () => { | ||||
query(1) | query(1) |
<view class="shibie-wrapper"> | <view class="shibie-wrapper"> | ||||
<view class="title"> 识别内容如下 </view> | <view class="title"> 识别内容如下 </view> | ||||
<u-form label-width="230" :model="state.form" ref="uForm"> | <u-form label-width="230" :model="state.form" ref="uForm"> | ||||
<u-form-item label="姓名"> | |||||
<!-- <u-form-item label="姓名"> | |||||
<u-input v-model="state.form.userName" placeholder='请输入姓名' :disabled="state.isEnableOCRData" | <u-input v-model="state.form.userName" placeholder='请输入姓名' :disabled="state.isEnableOCRData" | ||||
maxlength="20" @input="replaceInput" /> | maxlength="20" @input="replaceInput" /> | ||||
</u-form-item> | |||||
</u-form-item> --> | |||||
<u-form-item label="身份证号"> | <u-form-item label="身份证号"> | ||||
<u-input placeholder='请输入身份证' type="idcard" v-model="state.form.userIdNum" | <u-input placeholder='请输入身份证' type="idcard" v-model="state.form.userIdNum" | ||||
:disabled="state.isEnableOCRData" maxlength="18" /> | :disabled="state.isEnableOCRData" maxlength="18" /> |
<template> | <template> | ||||
<view v-if="state.list.length!=0"> | |||||
<view v-if="state.list.length!=0" style="padding-bottom:30rpx ;"> | |||||
<view class="car-item" v-for="(item,index) in state.list"> | <view class="car-item" v-for="(item,index) in state.list"> | ||||
<image :src="`${$imgUrl}che.png`" class="car-pic" @click="carDetails(item)"></image> | <image :src="`${$imgUrl}che.png`" class="car-pic" @click="carDetails(item)"></image> | ||||
<view class="car-info" @click="carDetails(item)"> | <view class="car-info" @click="carDetails(item)"> |