</view> | </view> | ||||
</view> --> | </view> --> | ||||
</view> | </view> | ||||
<view class="tips" v-else> | <view class="tips" v-else> | ||||
~暂无数据~ | ~暂无数据~ |
<template> | <template> | ||||
<view class="selectCar-box"> | <view class="selectCar-box"> | ||||
<view class="item" v-for="(item,i) in list" :key="i"> | |||||
<view class="item" v-for="(item,i) in list" :key="i" @click="choose(i,item)"> | |||||
<view class="iten-left"> | <view class="iten-left"> | ||||
<image :src="`${$imgUrl}che.png`" mode=""></image> | <image :src="`${$imgUrl}che.png`" mode=""></image> | ||||
<text>{{item.name}}</text> | <text>{{item.name}}</text> | ||||
</view> | </view> | ||||
<view class="choose-item" @click="choose(i,item)"> | |||||
<view class="choose-item" > | |||||
<view class="active" v-if="flag==i"> | <view class="active" v-if="flag==i"> | ||||
</view> | </view> | ||||
</view> | </view> |
justify-content: flex-end; | justify-content: flex-end; | ||||
display: flex; | display: flex; | ||||
padding: 0rpx 30rpx; | padding: 0rpx 30rpx; | ||||
margin-top: 20rpx; | |||||
margin: 20rpx 0; | |||||
.createBtn { | .createBtn { | ||||
padding: 6rpx 27rpx; | padding: 6rpx 27rpx; |
<template> | <template> | ||||
<view class="content"> | <view class="content"> | ||||
如果您是我们的ETC用户,需要导出个人的用户信息、车辆信息、银行卡信息和邮寄信息等,请通过联系客服进行处理并提供您的邮箱,我们会在15个工作日内发送到您的指定邮箱 | |||||
<!-- 如果您是我们的ETC用户,需要导出个人的用户信息、车辆信息、银行卡信息和邮寄信息等,请通过联系客服进行处理并提供您的邮箱,我们会在15个工作日内发送到您的指定邮箱 --> | |||||
{{textContent}} | |||||
</view> | </view> | ||||
</template> | </template> | ||||
<script> | |||||
<script setup lang="ts"> | |||||
import { | |||||
reactive, | |||||
ref | |||||
} from "vue"; | |||||
import { | |||||
navTo | |||||
} from "@/utils/utils" | |||||
import { | |||||
onLoad, | |||||
onShow | |||||
} from "@dcloudio/uni-app"; | |||||
import { | |||||
stringToJson | |||||
} from "../../utils/network/encryption.js"; | |||||
import { | |||||
request | |||||
} from "../../utils/network/request.js"; | |||||
import { | |||||
infoQuery | |||||
} from "@/utils/network/api.js" | |||||
const textContent = ref('') | |||||
// 获取文本信息---- | |||||
const getInfo = (type) => { | |||||
//参数说明 | |||||
let options = { | |||||
type: 2, //type: 2,JSON格式提交数据(默认表单形式提交) | |||||
data: { | |||||
businessType: 'INFORMATION_COPY' | |||||
}, //请求参数 | |||||
method: "POST", //提交方式(默认POST) | |||||
showLoading: true, //是否显示加载中(默认显示) | |||||
}; | |||||
//调用方式 | |||||
request(infoQuery, options) | |||||
.then((res) => { | |||||
let data = stringToJson(res.bizContent) | |||||
console.log(data); | |||||
textContent.value = data.text | |||||
}) | |||||
.catch((err) => { | |||||
console.log(err); | |||||
}); | |||||
} | |||||
onLoad(() => { | |||||
}) | |||||
onShow(() => { | |||||
getInfo() | |||||
console.log(1); | |||||
}) | |||||
</script> | </script> | ||||
<style lang="scss" scoped> | <style lang="scss" scoped> | ||||
.content { | .content { | ||||
padding: 98rpx 50rpx 0rpx 50rpx; | padding: 98rpx 50rpx 0rpx 50rpx; |
title:'基础信息', | title:'基础信息', | ||||
columns:[ | columns:[ | ||||
{title:'用户信息变更',path:'personal-information/user-change',login:true}, | {title:'用户信息变更',path:'personal-information/user-change',login:true}, | ||||
{title:'补传身份证',path:'personal-information/user-card',login:true}, | |||||
// {title:'补传身份证',path:'personal-information/user-card',login:true}, | |||||
] | ] | ||||
}, | }, | ||||
] | ] |
<template> | <template> | ||||
<view class="content"> | <view class="content"> | ||||
<u-field required labelWidth="180" v-model="state.ocrData.conmpany" input-align='right' label="姓名" disabled=true | |||||
<u-field required labelWidth="180" v-model="state.ocrData.name" input-align='right' label="姓名" disabled | |||||
:fieldStyle="fieldStyle"> | :fieldStyle="fieldStyle"> | ||||
</u-field> | </u-field> | ||||
<u-field required labelWidth="180" v-model="state.ocrData.type" input-align='right' label="性别" | |||||
<!-- <u-field required labelWidth="180" v-model="state.ocrData.gender" input-align='right' label="性别" | |||||
:fieldStyle="fieldStyle"> | :fieldStyle="fieldStyle"> | ||||
</u-field> --> | |||||
<u-field required labelWidth="180" v-model="state.ocrData.userCardId" input-align='right' label="身份证号" | |||||
:fieldStyle="fieldStyle" disabled> | |||||
</u-field> | </u-field> | ||||
<u-field required labelWidth="180" v-model="state.ocrData.card" input-align='right' label="身份证号" | |||||
<!-- <u-field required labelWidth="180" v-model="state.ocrData.add" input-align='right' label="地址" | |||||
:fieldStyle="fieldStyle"> | :fieldStyle="fieldStyle"> | ||||
</u-field> --> | |||||
</u-field> | |||||
<u-field required labelWidth="180" v-model="state.ocrData.type" input-align='right' label="地址" | |||||
:fieldStyle="fieldStyle"> | |||||
</u-field> | |||||
<u-cell-item required title="证件有效期" :borderBottom="false" @click="timeClick" | |||||
<!-- <u-cell-item required title="证件有效期" :borderBottom="false" @click="timeClick" | |||||
:titleStyle="{fontSize:'28rpx',color:'#777777'}" :valueStyle="{fontSize:'28rpx',color:'#333333'}" | :titleStyle="{fontSize:'28rpx',color:'#777777'}" :valueStyle="{fontSize:'28rpx',color:'#333333'}" | ||||
:value="state.ocrData.type"></u-cell-item> | |||||
<u-field required labelWidth="180" :borderTop="true" v-model="state.ocrData.type" input-align='right' | |||||
label="联系方式" :fieldStyle="fieldStyle"> | |||||
:value="state.ocrData.type"></u-cell-item> --> | |||||
<u-field required labelWidth="180" :borderTop="true" v-model="state.ocrData.tel" input-align='right' | |||||
label="联系方式" :fieldStyle="fieldStyle" disabled> | |||||
</u-field> | </u-field> | ||||
</view> | </view> | ||||
<view class="subBtn"> | <view class="subBtn"> | ||||
<submit-button title="提交绑定" form-type="submit" @submit="formSubmit"> | |||||
</submit-button> | |||||
<!-- <submit-button title="提交绑定" form-type="submit" @submit="formSubmit"> | |||||
</submit-button> --> | |||||
</view> | </view> | ||||
</template> | </template> | ||||
<script setup lang="ts"> | <script setup lang="ts"> | ||||
stringToJson | stringToJson | ||||
} from "@/utils/network/encryption"; | } from "@/utils/network/encryption"; | ||||
import { | import { | ||||
userInfoQuery | |||||
} from "@/utils/network/api.js"; | } from "@/utils/network/api.js"; | ||||
import{ | |||||
getItem | |||||
} from "@/utils/storage.ts" | |||||
import { | import { | ||||
request | request | ||||
} from "@/utils/network/request.js"; | } from "@/utils/network/request.js"; | ||||
color: '#333333', | color: '#333333', | ||||
fontSize: '28rpx' | fontSize: '28rpx' | ||||
}; | }; | ||||
import {onLoad} from"@dcloudio/uni-app" | |||||
const state = reactive({ | const state = reactive({ | ||||
ocrData: { | ocrData: { | ||||
// 'conmpany': '贵州市空间加快速度公司', | |||||
// 'type': '企业营业执照', | |||||
// 'card': 'GZ2364174132894' | |||||
name:'', | |||||
gender:'', | |||||
userCardId:'', | |||||
add:"", | |||||
tel:'' | |||||
}, | }, | ||||
buchongData: { | buchongData: { | ||||
'phone': '' | 'phone': '' | ||||
}, | }, | ||||
}) | }) | ||||
var data = { | |||||
// openId: getItem(StorageKeys.OpenId), | |||||
}; | |||||
const options = { | |||||
type: 2, | |||||
data: data, | |||||
method: "POST", | |||||
showLoading: true, | |||||
}; | |||||
request(151, options).then((res) => { | |||||
state.addressArray = [] | |||||
const data = stringToJson(res.bizContent); | |||||
if (data.data == null) { | |||||
console.log("这是空"); | |||||
state.addressArray = [] | |||||
} else { | |||||
state.addressArray = data.data; | |||||
console.log(state.addressArray, "列表数组"); | |||||
} | |||||
}); | |||||
const getUserinfo = () => { | |||||
const options = { | |||||
type: 2, | |||||
data: {openId: getItem('openId')}, | |||||
method: "POST", | |||||
showLoading: true, | |||||
}; | |||||
request(userInfoQuery, options).then((res) => { | |||||
const data = stringToJson(res.bizContent); | |||||
console.log(data,"用户信息"); | |||||
state.ocrData.name=data.list[0].customerName | |||||
state.ocrData.userCardId=data.list[0].customerIdNum | |||||
state.ocrData.tel=data.list[0].tel | |||||
}); | |||||
} | |||||
const timeClick = () => { | const timeClick = () => { | ||||
msg('证件有效期') | msg('证件有效期') | ||||
const formSubmit = () => { | const formSubmit = () => { | ||||
msg('提交绑定') | msg('提交绑定') | ||||
}; | }; | ||||
onLoad(()=>{ | |||||
getUserinfo() | |||||
}) | |||||
</script> | </script> | ||||
<style> | <style> |
{title:'个人信息更正',path:'personal-information/corrections',login:true}, | {title:'个人信息更正',path:'personal-information/corrections',login:true}, | ||||
{title:'个人信息删除',path:'information-deletion',login:true}, | {title:'个人信息删除',path:'information-deletion',login:true}, | ||||
{title:'权限管理',path:'permission-management',login:true}, | {title:'权限管理',path:'permission-management',login:true}, | ||||
{title:'撤销权限管理',path:'revoke-permission',login:true}, //无 UI | |||||
// {title:'撤销权限管理',path:'revoke-permission',login:true}, //无 UI | |||||
{title:'信息副本导出',path:'info-export',login:true}, //无 UI | {title:'信息副本导出',path:'info-export',login:true}, //无 UI | ||||
{title:'注销账户',path:'account-cancellation',login:true}, | {title:'注销账户',path:'account-cancellation',login:true}, | ||||
{title:'车辆信息管理',path:'car-information/corrections',login:true}, //无 UI | {title:'车辆信息管理',path:'car-information/corrections',login:true}, //无 UI | ||||
{title:'收货地址管理',path:'addressManager',login:true}, //有 UI 无界面 | {title:'收货地址管理',path:'addressManager',login:true}, //有 UI 无界面 | ||||
{title:'银行卡',path:'bank-card/bank-card',login:true},//有 UI 无界面 | |||||
// {title:'银行卡',path:'bank-card/bank-card',login:true},//有 UI 无界面 | |||||
] | ] | ||||
}, | }, | ||||
{ | { |
export const selectCarInfo = "1030"; //车辆管理信息查询 | export const selectCarInfo = "1030"; //车辆管理信息查询 | ||||
export const delCarInfo = "1031"; //车辆管理信息删除 | export const delCarInfo = "1031"; //车辆管理信息删除 | ||||
export const infoQuery= "935"; //8.212.文本信息查询接口 | export const infoQuery= "935"; //8.212.文本信息查询接口 | ||||
export const userInfoQuery= "510"; //-用户信息变更查询接口 | |||||
// 售后管理 | // 售后管理 |