This commit is contained in:
2024-01-24 21:26:15 +08:00
parent efc4bff1e0
commit d534334c5c
23 changed files with 411 additions and 763 deletions

View File

@@ -8,20 +8,18 @@ var a;
getDetail: function (t) {
var e = this,
o = { orderid: t };
a.getdata(o, "sfzhyid").then((a) => {
a.getdata(o, "sfzhy/order").then((a) => {
if ((console.log("回调数据:", a), a)) {
e.setData({ cardata: a.data, orderid: t });
var o = JSON.parse(a.data.record);
console.log(o), e.setData({ records: o.result });
}
});
},
onReady: function () {},
onShow: function () {},
onHide: function () {},
onUnload: function () {},
onPullDownRefresh: function () {},
onReachBottom: function () {},
onReady: function () { },
onShow: function () { },
onHide: function () { },
onUnload: function () { },
onPullDownRefresh: function () { },
onReachBottom: function () { },
onShareAppMessage: function () {
return {
title: this.data.cardata.name + "身份核验报告",

View File

@@ -9,11 +9,11 @@
<view class="top-box">
<view class="box-text">
<view style="width: 130%;">
<text class="brand-text" style="display: inline;">{{records.result.idcard}}</text>
<text class="brand-text" style="display: inline;">{{cardata.cardNo}}</text>
</view>
<text class="order-text">姓名:{{cardata.name}}</text>
<text class="order-text">身份证:{{records.result.idcard}}</text>
<text class="type-text">核验状况:{{records.result.isok==true?'身份证姓名一致':records.verifyResult==false?'身份证姓名核验不一致':'无法查验'}}</text>
<text class="order-text">身份证:{{cardata.cardNo}}</text>
<text class="type-text">核验状况:{{cardata.verifyresult==0?'待验验,请稍后..':cardata.verifyresult==1?'身份证信息一致,身份正确':'身份证信息核验不一致'}}</text>
</view>
<view class="box-img">
<image class="logo-img" mode="widthFix" src="{{cardata.logo}}"></image>
@@ -21,7 +21,7 @@
</view>
<view class="content-view">
<view class="content-desc">
<text class="content-title">车牌姓名情况</text>
<text class="content-title">查询情况</text>
<text class="content-shuo">* 数据来自第三方,仅作参考</text>
</view>
<view data-index="{{index}}">
@@ -33,15 +33,23 @@
<view class="veibao-text">
<view class="veibao-xiangmu">
<text class="xiangmu-title">身份证号</text>
<text class="xiangmu-detail">{{records.result.idcard}}</text>
<text class="xiangmu-detail">{{cardata.cardNo}}</text>
</view>
<view class="veibao-xiangmu">
<text class="xiangmu-title">姓名</text>
<text class="xiangmu-detail">{{cardata.name}}</text>
</view>
<view class="veibao-xiangmu">
<text class="xiangmu-title">开始日期</text>
<text class="xiangmu-detail">{{cardata.start_date}}</text>
</view>
<view class="veibao-xiangmu">
<text class="xiangmu-title">截止日期</text>
<text class="xiangmu-detail">{{cardata.end_date}}</text>
</view>
<view class="veibao-xiangmu">
<text class="xiangmu-title">身份核验</text>
<text class="xiangmu-detail">{{records.result.isok==true?'身份证姓名一致,身份正确':records.verifyResult==false?'身份证姓名核验不一致':'无法查验'}}</text>
<text class="xiangmu-detail">{{cardata.verifyresult==0?'待验验,请稍后..':cardata.verifyresult==1?'身份证信息一致,身份正确':'身份证信息核验不一致'}}</text>
</view>
<view class="veibao-xiangmu">
<text class="xiangmu-title">核验时间</text>
@@ -52,4 +60,4 @@
</view>
</view>
</view>
</view>
</view>

View File

@@ -9,11 +9,24 @@
var t = this.data.query,
a = e.detail.value,
c = this.trim(a);
(t.license_plate = c), this.setData({ query: t });
(t.cardNo = c), this.setData({ query: t });
},
name: function (e) {
var t = e.detail.value;
this.setData({ name: t });
var t = this.data.query,
a = e.detail.value;
(t.name = a), this.setData({ query: t });
},
start_date: function (e) {
var t = this.data.query,
a = e.detail.value,
c = this.trim(a);
(t.start_date = c), this.setData({ query: t });
},
end_date: function (e) {
var t = this.data.query,
a = e.detail.value,
c = this.trim(a);
(t.end_date = c), this.setData({ query: t });
},
trim: function (e) {
return (e = (e = e.replace(/\s+/gi, "")).replace(
@@ -26,13 +39,13 @@
switch (a) {
case 1:
1 == t
? this.setData({ "query.license_plate_code": e.title })
? this.setData({ "query.cardNo_code": e.title })
: this.setData({ "query.province_small": e.province_small });
break;
case 2:
this.setData({
"query.license_plate_type": e.id,
license_plate_type: e.title,
"query.cardNo_type": e.id,
cardNo_type: e.title,
});
break;
case 3:
@@ -46,13 +59,13 @@
try {
-1 != a[0][e].province_small.indexOf("粤")
? (c = c.filter(function (e) {
return "X" != e.title && "Y" != e.title;
}))
return "X" != e.title && "Y" != e.title;
}))
: "Y" != c[c.length - 1].title &&
(c = c.concat([
{ checked: !1, title: "X" },
{ checked: !1, title: "Y" },
]));
(c = c.concat([
{ checked: !1, title: "X" },
{ checked: !1, title: "Y" },
]));
} catch (e) {
"Y" != c[c.length - 1].title &&
(c = c.concat([
@@ -115,11 +128,12 @@
this.setData({ mileage: e.detail.value });
},
sumbin: function () {
this.tongzhi();
// this.tongzhi();
var t = this.data.query;
if (t.license_plate)
if (18 == t.license_plate.length)
if (this.data.name)
if (t.cardNo)
if (18 == t.cardNo.length)
if (t.name)
if ("iosb" == e.getSystemPlatform())
wx.showModal({
title: "温馨提示",
@@ -127,10 +141,10 @@
success: function (e) {
e.confirm
? wx.navigateTo({
url:
"/pages/website/website?url=https://mp.weixin.qq.com/s?__biz=MzIwOTYxMTI2Nw==&mid=2247483888&idx=1&sn=1f5deda3e1a2d5e109dfaf8000520030&chksm=97707e9ca007f78a7ade8b1b57eda40183c6de47a6a115836fdb77748fc248c320a29e3309c6&token=1742855998&lang=zh_CN#rd&img=" +
wx.getStorageSync("gzhurl"),
})
url:
"/pages/website/website?url=https://mp.weixin.qq.com/s?__biz=MzIwOTYxMTI2Nw==&mid=2247483888&idx=1&sn=1f5deda3e1a2d5e109dfaf8000520030&chksm=97707e9ca007f78a7ade8b1b57eda40183c6de47a6a115836fdb77748fc248c320a29e3309c6&token=1742855998&lang=zh_CN#rd&img=" +
wx.getStorageSync("gzhurl"),
})
: console.log("点击取消回调");
},
});
@@ -138,29 +152,26 @@
var a = this,
c = {
content:
a.data.mileage +
a.data.engine +
a.data.chepai +
a.data.name +
a.data.query.license_plate,
a.data.query.name +
a.data.query.cardNo +
a.data.query.start_date +
a.data.query.end_date,
};
e.getdata(c, "checkContent").then((e) => {
console.log("文本回调数据:", e),
0 == e.errcode
? a.queryVin()
: wx.showModal({
title: "温馨提示",
content:
"你输入的文本检测存在违规,请检测文本内容后重新输入。",
success: function (e) {
e.confirm || console.log("点击取消回调");
},
});
200 == e.code ? a.queryVin() : wx.showModal({
title: "温馨提示",
content:
"你输入的文本检测存在违规,请检测文本内容后重新输入。",
success: function (e) {
e.confirm || console.log("点击取消回调");
},
});
});
}
else
wx.showToast({
title: "请输入车主姓名",
title: "请输入姓名",
icon: "none",
duration: 2e3,
});
@@ -186,76 +197,60 @@
if (wx.getStorageSync("uid")) {
var e = this;
e.orderid(),
console.log(wx.getStorageSync("uid")),
wx.getStorageSync("uid")
? (console.log(wx.getStorageSync("uid")),
t.util.request({
url: "entry/wxapp/paynum",
url: "tool/sfzhy/createOrder",
method: "post",
dataType: "json",
data: {
type: "sfzhy_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
postcardata: JSON.stringify(e.data),
data: e.data.query,
},
success: function (a) {
a.data && a.data.data && 1e3 == a.data.message
? t.util.request({
url: "entry/wxapp/Api",
data: {
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
},
success: function (t) {
wx.showModal({ content: t.data.message }),
e.setData({
weizhang_num: 1 * e.data.weizhang_num + 10,
}),
e.getDetailpay();
},
})
: a.data &&
a.data.data &&
a.data.code!=200 &&
wx.requestPayment({
timeStamp: a.data.data.timeStamp,
nonceStr: a.data.data.nonceStr,
package: a.data.data.package,
signType: "MD5",
paySign: a.data.data.paySign,
success: function (c) {
t.util.request({
url: "entry/wxapp/Api",
data: {
if (a.data && a.data.data) {
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
},
success: function (t) {
e.setData({
weizhang_num: 1 * e.data.weizhang_num + 10,
}),
wx.showModal({ content: t.data.message }),
e.getDetailpay();
},
});
},
});
if (a.data.data.ispay && a.data.data.ispay == 1) {
e.getDetailpay();
return true;
}
a.data.data.config && wx.requestPayment({
timeStamp: a.data.data.config.timeStamp,
nonceStr: a.data.data.config.nonceStr,
package: a.data.data.config.package,
signType: a.data.data.config.signType,
paySign: a.data.data.config.paySign,
success: function (c) {
t.util.request({
url: "tool/pay/callback",
data: {
uid: wx.getStorageSync("uid"),
orderid: a.data.data.orderid,
},
success: function (t) {
e.setData({ weizhang_num: 1 * e.data.weizhang_num + 10 }),
wx.showModal({ content: t.data.message }),
e.getDetailpay();
},
});
},
});
return true;
}
wx.showModal({ content: a.data.message });
},
}))
: wx.showModal({
title: "温馨提醒",
content: "使用本功能请先登录后在使用~",
showCancel: !1,
success: function (e) {
e.confirm && wx.reLaunch({ url: "/pages/mine/index" });
},
});
title: "温馨提醒",
content: "使用本功能请先登录后在使用~",
showCancel: !1,
success: function (e) {
e.confirm && wx.reLaunch({ url: "/pages/mine/index" });
},
});
} else
wx.showModal({
title: "温馨提示",
@@ -283,27 +278,26 @@
},
tongzhi: function (t) {
e.getdata({ type: "4" }, "getdyxx").then((t) => {
console.log(t.data),
wx.requestSubscribeMessage({
tmplIds: [t.data],
success(a) {
"accept" == a[t.data]
? (wx.showToast({ title: "订阅成功" }),
e.util.request({
url: "entry/wxapp/addtemplateid",
data: { templateid: t.data, uid: wx.getStorageSync("uid") },
header: { "content-type": "application/json" },
success: function (e) {
console.log(e);
},
}))
: wx.showToast({ title: "订阅失败" });
},
});
wx.requestSubscribeMessage({
tmplIds: [t.data],
success(a) {
"accept" == a[t.data]
? (wx.showToast({ title: "订阅成功" }),
e.util.request({
url: "entry/wxapp/addtemplateid",
data: { templateid: t.data, uid: wx.getStorageSync("uid") },
header: { "content-type": "application/json" },
success: function (e) {
console.log(e);
},
}))
: wx.showToast({ title: "订阅失败" });
},
});
});
},
toDetailExample: function () {
wx.navigateTo({ url: "../sfzhy/carcxjl?orderid=D167040592841545146692" });
wx.navigateTo({ url: "../sfzhy/carcxjl?orderid=demo" });
},
toSelectCar: function () {
wx.navigateTo({ url: "/pages/selectCar/selectCar" });
@@ -327,15 +321,15 @@
wx.removeStorageSync("cartime"),
wx.removeStorageSync("cardatawx");
},
onReady: function () {},
onReady: function () { },
onShow: function () {
e.appdengl(), this.getDetail(1);
var t = wx.getStorageSync("cardata");
if ((console.log("行驶证数据", t), t)) {
this.setData({
"query.province_small": t.号牌号码.words.substring(0, 1),
"query.license_plate_code": t.号牌号码.words.substring(1, 2),
"query.license_plate": t.号牌号码.words.substring(2, 8),
"query.cardNo_code": t.号牌号码.words.substring(1, 2),
"query.cardNo": t.号牌号码.words.substring(2, 8),
});
for (
var a = t.车辆类型.words, c = this.data.carKind, i = 0;
@@ -344,8 +338,8 @@
)
c[i].title == a &&
this.setData({
license_plate_type: c[i].title,
"query.license_plate_type": c[i].id,
cardNo_type: c[i].title,
"query.cardNo_type": c[i].id,
});
}
var d = wx.getStorageSync("carvehicle"),
@@ -356,9 +350,9 @@
"" != l && null != l && (o = n.name + "-" + l.name),
console.log("" == d),
"" != d &&
"" != r &&
parseInt(r.split("-")[0]) < parseInt(d.makeyear) &&
(r = ""),
"" != r &&
parseInt(r.split("-")[0]) < parseInt(d.makeyear) &&
(r = ""),
this.setData({
carName: d.salesdesc,
cityName: o,
@@ -379,318 +373,23 @@
provid: 0,
carId: 0,
banner: [],
carHeadList: [
{
checked: !1,
license_plate_code: "A",
province_small: "云",
id: 1,
create_date: "2021-04-29 01:13:58",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 2,
license_plate_code: "A,C,E,F,H,J,K,L,M",
province_small: "京",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 3,
license_plate_code: "A,B,C,D,E,F,G,H,J,R,T",
province_small: "冀",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 4,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M",
province_small: "内蒙古",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 5,
license_plate_code: "A,B,C,D,E,F,G,H,J,K",
province_small: "吉",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 6,
license_plate_code: "A,B,C,D,E",
province_small: "宁",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 7,
license_plate_code: "A,B,C,D,E,F,H,J,K,L,M,Q,R,S,T,U,V,W,X,Y,Z",
province_small: "川",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 8,
license_plate_code: "A,B,C,D,E,F,J,K,L,M,N,Q",
province_small: "新",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 9,
license_plate_code: "A,B,C,D,E,F,G,J,K,L,M,N,P,R",
province_small: "桂",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 10,
license_plate_code: "A,B",
province_small: "沪",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 11,
license_plate_code: "A",
province_small: "津",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 12,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L",
province_small: "浙",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 13,
license_plate_code: "A,D",
province_small: "渝",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 14,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,U",
province_small: "湘",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 15,
license_plate_code: "A,B",
province_small: "琼",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 16,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,P",
province_small: "甘",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 17,
license_plate_code: "A,B,D,E,F,H,K,L,M,P,R",
province_small: "皖",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 18,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,P,Q,R,S,T,U,V,W",
province_small: "粤",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 19,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,U",
province_small: "苏",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 20,
license_plate_code: "A",
province_small: "藏",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 21,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,P,Q,R",
province_small: "豫",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 22,
license_plate_code: "A,B,C,D,E,F,G,H,J",
province_small: "贵",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 23,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L",
province_small: "赣",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 24,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,M,N",
province_small: "辽",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 25,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,P,Q,R,S",
province_small: "鄂",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 26,
license_plate_code: "A,B,C,D,E,F,G",
province_small: "闽",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 27,
license_plate_code: "A,B,C,D,E,G,H,J,K,U",
province_small: "陕",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 28,
license_plate_code: "A,B,C,D,E,F,H",
province_small: "青",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 29,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,L,M,N,P,Q,R,V",
province_small: "鲁",
update_date: "2021-04-29 01:13:58",
},
{
checked: !1,
create_date: "2021-04-29 01:13:58",
id: 30,
license_plate_code: "A,B,C,D,E,F,G,H,J,K,M,N,P",
province_small: "黑",
update_date: "2021-04-29 01:13:58",
},
],
carKind: [
{ id: "02", checked: !1, title: "小型轿车" },
{ id: "02", checked: !1, title: "小型普通客车" },
{ id: "52", checked: !1, title: "新能源小型车" },
{ id: "01", checked: !1, title: "大型货车" },
{ id: "01", checked: !1, title: "中型客车" },
],
circular: 1500,
conditions: [{ checked: !1, title: "不含4" }],
hot_type: "任意号码",
isAuthorized: !0,
isHighBol: !1,
letter: [
{ checked: !1, title: "A" },
{ checked: !1, title: "B" },
{ checked: !1, title: "C" },
{ checked: !1, title: "D" },
{ checked: !1, title: "E" },
{ checked: !1, title: "F" },
{ checked: !1, title: "G" },
{ checked: !1, title: "H" },
{ checked: !1, title: "J" },
{ checked: !1, title: "K" },
{ checked: !1, title: "L" },
{ checked: !1, title: "M" },
{ checked: !1, title: "N" },
{ checked: !1, title: "P" },
{ checked: !1, title: "Q" },
{ checked: !1, title: "R" },
{ checked: !1, title: "S" },
{ checked: !1, title: "T" },
{ checked: !1, title: "U" },
{ checked: !1, title: "V" },
{ checked: !1, title: "W" },
{ checked: !1, title: "X" },
{ checked: !1, title: "Y" },
],
license_plate_type: "",
cardNo_type: "",
pickerArray: [],
pickerBol: !1,
piclerNum: [],
query: {
hot_type: "",
lazy_typ: 0,
license_plate: "",
license_plate_code: "",
license_plate_type: "",
not_four_type: 1,
pageIndex: 1,
pageSize: 10,
province_small: "",
name: "",
cardNo: "",
start_date: "",
end_date: "",
},
rules: [
{ checked: !1, id: "", title: "任意号码" },
{ checked: !1, id: "1", title: "豹子号666、888" },
{ checked: !1, id: "2", title: "顺子号123、789" },
{ checked: !1, id: "3", title: "规则AAAA8888" },
{ checked: !1, id: "4", title: "规则AABB6688" },
{ checked: !1, id: "5", title: "规则ABAB1212" },
{ checked: !1, id: "6", title: "规则ABBA8998" },
{ checked: !1, id: "7", title: "规则ABA868" },
{ checked: !1, id: "8", title: "规则AA88、99" },
],
typeName: { num: 0, title: "" },
},
onPullDownRefresh: function () {
this.clearCache(), this.getArticles(1);
},
onReachBottom: function () {
console.log("加上"), this.getDetail(this.data.page);
// console.log("加上"), this.getDetail(this.data.page);
},
clearCache: function () {
this.setData({ repairList: [], page: 1 });
@@ -698,19 +397,14 @@
getDetail: function (t) {
var a = this,
c = { uid: wx.getStorageSync("uid"), type: a.data.type, page: t };
e.getdata(c, "carqxcx").then((e) => {
e.getdata(c, "sfzhy").then((e) => {
if ((console.log("回调数据:", e), e.data && 200 == e.code))
if (1 == t) a.setData({ repairList: e.data, page: a.data.page + 1 });
else {
var c = a.data.repairList;
c.push.apply(c, e.data),
a.setData({ repairList: c, page: a.data.page + 1 });
}
a.setData({ repairList: e.data, page: a.data.page + 1 });
});
},
onHide: function () {},
onUnload: function () {},
onShareAppMessage: function () {},
onHide: function () { },
onUnload: function () { },
onShareAppMessage: function () { },
showRenMsg: function () {
wx.showToast({
title: "人工查询中,请稍等",
@@ -729,7 +423,7 @@
var t = e.currentTarget.dataset.orderid;
wx.navigateTo({
url: "/packageA/pages/sfzhy/carcxjl?orderid=" + t,
success: function () {},
success: function () { },
});
},
});

View File

@@ -19,34 +19,25 @@
<view class="select-white-wrap">
<view class="title">
<text></text>
<view bindtap="saoys" class="select-type">{{isHighBol?'普通查询':'行驶证识别'}}</view>
<view class="select-type">{{isHighBol?'普通查询':'身份证查询'}}</view>
</view>
<view class="ul-wrap">
<view class="primary" wx:if="{{!isHighBol}}">
<view class="li">
<text>姓名</text>
<input bindinput="name" class="number" controlled="{{true}}" maxlength="20" placeholder="输入车主姓名" value="{{name}}"></input>
<input bindinput="name" class="number" controlled="{{true}}" maxlength="20" placeholder="输入车主姓名" value="{{query.name}}"></input>
</view>
<view class="li">
<text>身份证号</text>
<input bindinput="change" class="number" controlled="{{true}}" maxlength="18" placeholder="输入查询身份证" value="{{query.license_plate}}"></input>
</view>
</view>
<view class="primary" wx:if="{{isHighBol}}">
<view bindtap="openPick" class="li" data-index="3">
<text>查找规则</text>
<view class="result {{hot_type?'checked':''}}">{{hot_type?hot_type:'请选择查找规则'}} <image mode="scaleToFill" src="/assets/icon/right-icon.png"></image>
</view>
<input bindinput="change" class="number" controlled="{{true}}" maxlength="18" placeholder="输入查询身份证" value="{{query.cardNo}}"></input>
</view>
<view class="li">
<text>包含号码</text>
<input bindinput="change" class="number" controlled="{{true}}" maxlength="5" placeholder="输入包含的号码,选填" value="{{query.license_plate}}"></input>
<text>有效期开始日期</text>
<input bindinput="start_date" class="number" controlled="{{true}}" maxlength="18" placeholder="格式:20230101" value="{{query.start_date}}"></input>
</view>
<view class="condition">
<view class="tit">其他条件</view>
<view class="list-wrap">
<view bindtap="selectRules" class="{{item.checked?'active':''}}" data-num="{{index}}" wx:for="{{conditions}}" wx:key="index">{{item.title}}</view>
</view>
<view class="li">
<text>有效期截止日期</text>
<input bindinput="end_date" class="number" controlled="{{true}}" maxlength="18" placeholder="格式:20230101" value="{{query.end_date}}"></input>
</view>
</view>
</view>
@@ -57,24 +48,23 @@
</view>
<view class="help-view">
<text bindtap="toDetailExample" class="help-example">样例报告</text>
<text bindtap="saoys" class="help-wht">扫一扫识别更快</text>
<!-- <text bindtap="saoys" class="help-wht">扫一扫识别更快</text> -->
</view>
<view class="topbb">
<view class="title">
<view class="main">身份证验证记录{{repairList.length}}条</view>
<view class="main">身份证验证记录{{ repairList.length ||0 }}条</view>
</view>
<view data-index="{{index}}" wx:for="{{repairList}}" wx:key="index">
<view class="contentView">
<text bindtap="copyText" class="orderNum" data-text="{{item.vin}}">订单编号:{{item.orderid}}</text>
<view class="lineView"></view>
<view bindtap="{{item.queryStatus=='2'?'getDangerDetail':item.queryStatus=='4'?'showRenMsg':item.queryStatus=='3'?'showGaoMsg':''}}" data-brand="{{item.car}}" data-logo="{{item.logo}}" data-orderid="{{item.orderid}}" data-querytype="{{item.queryType}}" data-time="{{item.queryTimeStr}}" data-version="{{item.queryVersion}}">
<image class="logo-img" mode="widthFix" src="{{item.logo}}"></image>
<view bindtap="{{item.status=='1'?'getDangerDetail':item.status=='3'?'showRenMsg':item.status=='3'?'showGaoMsg':''}}" data-brand="{{item.car}}" data-logo="{{item.logo}}" data-orderid="{{item.orderid}}" data-querytype="{{item.queryType}}" data-time="{{item.queryTimeStr}}" data-version="{{item.queryVersion}}">
<view class="text-view">
<text class="name-text">{{item.name}}</text>
<text class="statusView {{item.queryStatus=='1'?'underwayView':item.queryStatus=='2'?'ingView':item.queryStatus=='4'?'underwayView':'successView'}}">{{item.queryStatus=='1'?'查询中...':item.queryStatus=='2'?'已出报告':item.queryStatus=='4'?'人工处理':'无记录'}}</text>
<text class="{{item.hasRefund=='2'?'refundView successView':'noneView'}}">{{item.hasRefund=='2'?'已退款':'退款中...'}}</text>
<text class="name-text">{{item.data.name}}</text>
<text class="statusView {{item.status=='0'?'underwayView':item.status=='1'?'ingView':item.status=='3'?'underwayView':'successView'}}">{{item.status=='0'?'查询中...':item.status=='1'?'已出报告':item.status=='3'?'人工处理':'无记录'}}</text>
<text class="{{item.status=='-2'?'refundView successView':'noneView'}}">{{item.status=='-2'?'已退款':'退款中...'}}</text>
<text class="hui-text" style="width: 480rpx;">身份证:*******************</text>
<text class="hui-text">{{item.time}}</text>
<text class="hui-text">{{item.timestamp}}</text>
</view>
</view>
</view>