更换版本
This commit is contained in:
465
pages/reporlist/reporlist.js
Normal file
465
pages/reporlist/reporlist.js
Normal file
@@ -0,0 +1,465 @@
|
||||
var t, a;
|
||||
(t = getApp()),
|
||||
(a = getApp()),
|
||||
Page({
|
||||
data: {
|
||||
winWidth: 0,
|
||||
winHeight: 0,
|
||||
currentTab: 0,
|
||||
autoplay: !1,
|
||||
circular: !0,
|
||||
indicatorDots: !0,
|
||||
scrollTop: "",
|
||||
navFixed: !1,
|
||||
currentData: 888,
|
||||
repairList: [],
|
||||
dangerList: [],
|
||||
detailList: [],
|
||||
valutionList: [],
|
||||
theInterval: null,
|
||||
type: 888,
|
||||
page: 1,
|
||||
inputValue: "",
|
||||
inputVal: "",
|
||||
animationData: {},
|
||||
tipText: "",
|
||||
showPrivacy: !1,
|
||||
},
|
||||
onLoad: function (t) {
|
||||
t.type
|
||||
? (this.setData({ currentData: t.type, type: t.type }),
|
||||
this.getDetail())
|
||||
: this.getDetail(0),
|
||||
this._notice();
|
||||
},
|
||||
info_notice: function (t) {
|
||||
this.setData({ showPrivacy: !0 });
|
||||
},
|
||||
info_off: function (t) {
|
||||
this.setData({ showPrivacy: !1 });
|
||||
},
|
||||
bindKeyInput: function (t) {
|
||||
var a = t.detail.value;
|
||||
this.setData({ inputVal: a });
|
||||
},
|
||||
clickcx: function (a) {
|
||||
if (this.data.inputVal) {
|
||||
this.setData({ repairList: [], page: 1 });
|
||||
var e = this,
|
||||
n = { content: this.data.inputVal };
|
||||
t.getdata(n, "checkContent").then((t) => {
|
||||
if ((console.log("文本回调数据:", t), 0 != t.errcode))
|
||||
return (
|
||||
e.setData({ inputVal: "" }),
|
||||
void wx.showModal({
|
||||
title: "温馨提示",
|
||||
content: "你输入的文本检测存在违规,请检测文本内容后重新输入。",
|
||||
success: function (t) {
|
||||
t.confirm || console.log("点击取消回调");
|
||||
},
|
||||
})
|
||||
);
|
||||
e.getDetail();
|
||||
});
|
||||
} else
|
||||
wx.showToast({
|
||||
title: "请输入车架号查询",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
});
|
||||
},
|
||||
zrg: function (t) {
|
||||
var a = this;
|
||||
wx.showModal({
|
||||
title: "温馨提示",
|
||||
content: "此订单查询太久是否转人工。",
|
||||
success: function (e) {
|
||||
e.confirm ? a.zrgpost(t) : console.log("点击取消回调");
|
||||
},
|
||||
});
|
||||
},
|
||||
zrgpost: function (a) {
|
||||
var e = this,
|
||||
n = { orderid: a.currentTarget.dataset.orderid };
|
||||
t.getdata(n, "zrg").then((t) => {
|
||||
console.log("文本回调数据:", t),
|
||||
repairList,
|
||||
e.setData({ repairList: [] }),
|
||||
e.getDetail();
|
||||
});
|
||||
},
|
||||
_notice: function () {
|
||||
var t = this;
|
||||
a.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
data: { m: "monai_market", r: "home.index.home1" },
|
||||
cachetime: "0",
|
||||
success: function (a) {
|
||||
console.log(a),
|
||||
a.data.data.info_name.name &&
|
||||
wx.setNavigationBarTitle({
|
||||
title: a.data.data.info_name.name + "",
|
||||
}),
|
||||
t.setData({
|
||||
banner: a.data.data.banner,
|
||||
market: a.data.data.market,
|
||||
brand: a.data.data.brand,
|
||||
textJson: a.data.data.notice,
|
||||
info_name: a.data.data.info_name.name,
|
||||
recom: a.data.data.info_name.recom,
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
showModal: function (t) {
|
||||
wx.getStorageSync("showModal"),
|
||||
console.log("phone", this.data.uesrdata.phone),
|
||||
this.data.uesrdata.phone ||
|
||||
wx.showModal({
|
||||
title: "温馨提示",
|
||||
content:
|
||||
"绑定手机号码后,查询完成将收到短信通知,否则查询完成后无法通知,绑定成功后不再提醒",
|
||||
showCancel: !0,
|
||||
cancelText: "我知道了",
|
||||
confirmText: "立即设置",
|
||||
success: function (t) {
|
||||
t.cancel
|
||||
? (console.log("您点击了取消"),
|
||||
wx.setStorageSync("showModal", 1))
|
||||
: t.confirm && wx.navigateTo({ url: "/pages/mine/info/index" });
|
||||
},
|
||||
});
|
||||
},
|
||||
previewImage: function (t) {
|
||||
console.log(t),
|
||||
wx.showToast({
|
||||
title: "长按图片保存截图",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
}),
|
||||
wx.previewImage({
|
||||
current: t.currentTarget.dataset.id,
|
||||
urls: [t.currentTarget.dataset.id],
|
||||
});
|
||||
},
|
||||
previewImageb: function (t) {
|
||||
console.log(t),
|
||||
wx.showToast({
|
||||
title: "长按图片保存截图",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
}),
|
||||
wx.previewImage({
|
||||
current: JSON.parse(t.currentTarget.dataset.id)[0],
|
||||
urls: [JSON.parse(t.currentTarget.dataset.id)[0]],
|
||||
});
|
||||
},
|
||||
checkCurrent: function (a) {
|
||||
if (
|
||||
(t.appdengl(),
|
||||
console.log("点击切换"),
|
||||
console.log(a.target.dataset.current),
|
||||
this.data.currentData === a.target.dataset.current)
|
||||
)
|
||||
return !1;
|
||||
var e = a.target.dataset.current;
|
||||
this.setData({
|
||||
currentData: a.target.dataset.current,
|
||||
type: e,
|
||||
repairList: [],
|
||||
inputVal: "",
|
||||
page: 1,
|
||||
}),
|
||||
a.currentTarget.dataset.current,
|
||||
wx.createAnimation({ duration: 100, timingFunction: "ease" }),
|
||||
this.getDetail();
|
||||
},
|
||||
onReachBottom: function () {
|
||||
console.log("加上"),
|
||||
888 != this.data.type
|
||||
? this.getDetail()
|
||||
: wx.showToast({
|
||||
title: "查看更多请点击分类",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
});
|
||||
},
|
||||
getDetail: function () {
|
||||
var a = this.data.type,
|
||||
e = this,
|
||||
n = {
|
||||
uid: wx.getStorageSync("uid"),
|
||||
type: a,
|
||||
page: this.data.page,
|
||||
keyword: this.data.inputVal,
|
||||
};
|
||||
t.getdata(n, "carqxcx").then((t) => {
|
||||
if ((console.log("回调数据:", t), t.data)) {
|
||||
if (1 == e.data.page) var a = t.data;
|
||||
else
|
||||
e.data.repairList.length > 1 && (a = e.data.repairList),
|
||||
t.data.length > 1 && a.push.apply(a, t.data);
|
||||
e.setData({ repairList: a, page: e.data.page + 1 });
|
||||
}
|
||||
});
|
||||
},
|
||||
layoutScroll: function (t) {
|
||||
(this.data.scrollTop = 1 * this.data.scrollTop + 1 * t.detail.deltaY),
|
||||
this.data.scrollTop <= -160
|
||||
? this.setData({ navFixed: !0 })
|
||||
: this.setData({ navFixed: !1 });
|
||||
},
|
||||
tongzhi: function (a) {
|
||||
t.getdata({ type: "4" }, "getdyxx").then((a) => {
|
||||
console.log(a.data),
|
||||
wx.requestSubscribeMessage({
|
||||
tmplIds: [a.data],
|
||||
success(e) {
|
||||
"accept" == e[a.data]
|
||||
? (wx.showToast({ title: "订阅成功" }),
|
||||
t.util.request({
|
||||
url: "entry/wxapp/addtemplateid",
|
||||
data: { templateid: a.data, uid: wx.getStorageSync("uid") },
|
||||
header: { "content-type": "application/json" },
|
||||
success: function (t) {
|
||||
console.log(t);
|
||||
},
|
||||
}))
|
||||
: wx.showToast({ title: "订阅失败" });
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
showRenMsg: function () {
|
||||
this.tongzhi();
|
||||
var t = this;
|
||||
wx.showModal({
|
||||
title: "温馨提示",
|
||||
content:
|
||||
"人工查询时间:早上9点-晚上10点-20分钟左右出结果,其他时间第二天早上9点出结果,绑定手机号后获得查询通知",
|
||||
success: function (a) {
|
||||
a.confirm
|
||||
? (console.log("点击确认回调"),
|
||||
t.data.uesrdata.phone ||
|
||||
wx.navigateTo({ url: "/pages/mine/info/index" }))
|
||||
: console.log("点击取消回调");
|
||||
},
|
||||
});
|
||||
},
|
||||
showGaoMsg: function () {
|
||||
wx.showToast({
|
||||
title: "查不到记录,建议使用高级出险查询。",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
});
|
||||
},
|
||||
getgscx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/gscx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getvin: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carvin/carvin?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getcpcx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/cpcx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getjqx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carjqx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getsyx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carsyx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
njcx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carnj/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
wzcx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/cphy/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
dcbg: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/dcbg/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getRepairDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carwbjzb/carwxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getDangerDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carcx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getdzbdDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/cardzbd/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getcarclztDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carclzt/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getBaseDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.vin,
|
||||
e = t.currentTarget.dataset.logo,
|
||||
n = t.currentTarget.dataset.time,
|
||||
r = t.currentTarget.dataset.brand;
|
||||
t.currentTarget.dataset.version,
|
||||
wx.navigateTo({
|
||||
url:
|
||||
"/pages/carinfoDetail/carinfoDetail?vin=" +
|
||||
a +
|
||||
"&logo=" +
|
||||
e +
|
||||
"&brand=" +
|
||||
r +
|
||||
"&time=" +
|
||||
n,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getallDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.page;
|
||||
wx.navigateTo({ url: a, success: function () {} });
|
||||
},
|
||||
getValuationDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.id;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/caresgz/carpg/carpg?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toRepairExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carwbjzb/carwxjl?orderid=D167578460646744394799",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toDangerExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carcx/carcxjl?orderid=D166847888078046949494",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toBaseExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/pages/carinfoDetail/carinfoDetail",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toValuationExample: function () {
|
||||
wx.navigateTo({ url: "/pages/carpg/carpg", success: function () {} });
|
||||
},
|
||||
onReady: function () {},
|
||||
onShow: function () {
|
||||
var t = this;
|
||||
wx.getSystemInfo({
|
||||
success: function (a) {
|
||||
t.setData({
|
||||
pixelRatio: a.pixelRatio,
|
||||
winHeight: a.windowHeight,
|
||||
winWidth: a.windowWidth,
|
||||
page: 1,
|
||||
});
|
||||
},
|
||||
}),
|
||||
this.userdata(),
|
||||
this.getDetail();
|
||||
},
|
||||
userdata: function () {
|
||||
var a = this;
|
||||
t.util.getUserInfo(function (t) {
|
||||
console.log("yh", t),
|
||||
t.memberInfo
|
||||
? (a.setData({ memberInfo: t.memberInfo }),
|
||||
wx.setStorageSync("uid", t.memberInfo.uid),
|
||||
a.firstin(t.memberInfo, 0))
|
||||
: a.setData({ isShow: !0 });
|
||||
});
|
||||
},
|
||||
firstin: function (a, e) {
|
||||
var n = this;
|
||||
console.log("提交数据", a),
|
||||
t.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
data: {
|
||||
m: "monai_market",
|
||||
r: "me.detail",
|
||||
uid: a.uid,
|
||||
type: e,
|
||||
head_image: a.avatar,
|
||||
nickname: a.nickname,
|
||||
},
|
||||
success: function (t) {
|
||||
console.log(t),
|
||||
n.setData({
|
||||
detail: t.data.data,
|
||||
admin: t.data.data.user.is_admin,
|
||||
uesrdata: t.data.data.user,
|
||||
}),
|
||||
n.showModal();
|
||||
},
|
||||
});
|
||||
},
|
||||
copyText: function (t) {
|
||||
console.log(t),
|
||||
wx.setClipboardData({
|
||||
data: t.currentTarget.dataset.text,
|
||||
success: function (t) {
|
||||
wx.getClipboardData({
|
||||
success: function (t) {
|
||||
wx.showToast({ title: "订单号复制成功" });
|
||||
},
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
onHide: function () {
|
||||
clearInterval(this.data.theInterval);
|
||||
},
|
||||
onUnload: function () {
|
||||
clearInterval(this.data.theInterval);
|
||||
},
|
||||
onPullDownRefresh: function () {
|
||||
this.onShow();
|
||||
},
|
||||
onShareAppMessage: function () {},
|
||||
});
|
1
pages/reporlist/reporlist.json
Normal file
1
pages/reporlist/reporlist.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "usingComponents": {} }
|
583
pages/reporlist/reporlist.wxml
Normal file
583
pages/reporlist/reporlist.wxml
Normal file
@@ -0,0 +1,583 @@
|
||||
<view class="xiaoxi">
|
||||
<view class="xiaoxi_zhezhao"></view>
|
||||
<image class="xiaoxi_leftImg" src="../image/shouchedj_btn.png"></image>
|
||||
<swiper autoplay="{{autoplay}}" circular="{{true}}" class="update_scroll_modle" duration="1500" indicatorDots="{{false}}" interval="2000" vertical="{{true}}">
|
||||
<swiper-item style="color:#3688FF;"> 下面导航点击切换查询类型,按照您付款的类型 </swiper-item>
|
||||
</swiper>
|
||||
<view bindtap="info_notice" class="xiaoxi_right_btn">教程</view>
|
||||
</view>
|
||||
<view class="page__mask" wx:if="{{showPrivacy}}"></view>
|
||||
<view class="privacy-dialog" wx:if="{{showPrivacy}}">
|
||||
<view class="privacy-dialog__title">报告查看教程</view>
|
||||
<text class="privacy-dialog__content">1.查询维保记录,需要点击维保记录,查询出险记录,就点击出险记录。
|
||||
2.你也可以在查询项目里面下拉查看报告</text>
|
||||
<button bindtap="info_off" class="privacy-dialog__button" id="agree-btn" openType="agreePrivacyAuthorization">我知道了</button>
|
||||
</view>
|
||||
<view style="height: {{windowHeight}}px;">
|
||||
<view style="height: 100vh;">
|
||||
<view class="nav {{navFixed?'positionFixed':''}}">
|
||||
<view class="topTabSwiper">
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="888">
|
||||
<view class="xiaoxi_right_btnc {{currentData==888?'tab-title-select':'tab-title'}}" data-current="888">全部查询</view>
|
||||
<view class="{{currentData==888?'one-tab-line':''}}" data-current="888"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="0">
|
||||
<view class="xiaoxi_right_btnc {{currentData==0?'tab-title-select':'tab-title'}}" data-current="0">维修保养</view>
|
||||
<view class="{{currentData==0?'one-tab-line':''}}" data-current="0"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==1?'tab-title-select':'tab-title'}}" data-current="1">出险记录</view>
|
||||
<view class="{{currentData==1?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==9?'tab-title-select':'tab-title'}}" data-current="9">车辆状态</view>
|
||||
<view class="{{currentData==9?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==3?'tab-title-select':'tab-title'}}" data-current="3">车辆估值</view>
|
||||
<view class="{{currentData==3?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==4?'tab-title-select':'tab-title'}}" data-current="4">车辆信息</view>
|
||||
<view class="{{currentData==4?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==5?'tab-title-select':'tab-title'}}" data-current="5">查交强险</view>
|
||||
<view class="{{currentData==5?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab " data-current="26">
|
||||
<view class="xiaoxi_right_btnc {{currentData==26?'tab-title-select':'tab-title'}} " data-current="26">查商业险</view>
|
||||
<view class="{{currentData==26?'two-tab-line':''}}" data-current="26"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==6?'tab-title-select':'tab-title'}}" data-current="6">年检查询</view>
|
||||
<view class="{{currentData==6?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab" data-current="1">
|
||||
<view class="xiaoxi_right_btnc {{currentData==20?'tab-title-select':'tab-title'}}" data-current="20">车牌核验</view>
|
||||
<view class="{{currentData==20?'two-tab-line':''}}" data-current="1"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab " data-current="22">
|
||||
<view class="xiaoxi_right_btnc {{currentData==22?'tab-title-select':'tab-title'}} " data-current="22">车牌查车</view>
|
||||
<view class="{{currentData==22?'two-tab-line':''}}" data-current="22"></view>
|
||||
</view>
|
||||
<view bindtap="checkCurrent" class="center-tab " data-current="24">
|
||||
<view class="xiaoxi_right_btnc {{currentData==24?'tab-title-select':'tab-title'}} " data-current="24">公司查询</view>
|
||||
<view class="{{currentData==24?'two-tab-line':''}}" data-current="24"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<form bindsubmit="formSubmit">
|
||||
<view class="serch_view">
|
||||
<view class="serch_border">
|
||||
<text class="serch_border_img" wx:if="{{type==888}}">全部</text>
|
||||
<text class="serch_border_img" wx:if="{{type==0}}">维保</text>
|
||||
<text class="serch_border_img" wx:if="{{type==1}}">出险</text>
|
||||
<text class="serch_border_img" wx:if="{{type==8}}">保单</text>
|
||||
<text class="serch_border_img" wx:if="{{type==9}}">状态</text>
|
||||
<text class="serch_border_img" wx:if="{{type==3}}">估值</text>
|
||||
<text class="serch_border_img" wx:if="{{type==4}}">信息</text>
|
||||
<text class="serch_border_img" wx:if="{{type==5}}">交强</text>
|
||||
<text class="serch_border_img" wx:if="{{type==6}}">年检</text>
|
||||
<text class="serch_border_img" wx:if="{{type==20}}">核验</text>
|
||||
<text class="serch_border_img" wx:if="{{type==23}}">电车</text>
|
||||
<text class="serch_border_img" wx:if="{{type==26}}">商业</text>
|
||||
<text class="serch_border_img" wx:if="{{type==22}}">车牌</text>
|
||||
<text class="serch_border_img" wx:if="{{type==24}}">公司</text>
|
||||
<input bindinput="bindKeyInput" class="serch_border_text" name="name" placeholder="请输入车架号搜索,支持模糊搜索" placeholderStyle="font-size: 24rpx;color: #B2B2B2;" type="text" value="{{inputVal}}"></input>
|
||||
</view>
|
||||
<button bindtap="clickcx" class="serch_border_btn btn_active" wx:if="{{inputVal}}">搜索</button>
|
||||
<button bindtap="clickcx" class="serch_border_btn" wx:else>搜索</button>
|
||||
</view>
|
||||
</form>
|
||||
<view class="pageView" wx:if="{{currentData==888}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">{{item.cxtitle}}-订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getallDetail':item.queryStatus=='4'?'showRenMsg':item.queryStatus=='3'?'showGaoMsg':''}}" data-page="{{item.page}}">
|
||||
<image class="logo-img" mode="widthFix" src="{{item.logo}}"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text" wx:if="{{item.cars}}">{{item.cars}}</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="hui-text" wx:if="{{item.vin}}">{{item.vin}}</text>
|
||||
<text class="hui-text" style="width:320rpx">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<text bindtap="previewImageb" class="statusViewdown underwayView" data-id="{{item.recordimgs}}" wx:if="{{item.recordimgs}}">下载截图</text>
|
||||
<text bindtap="previewImage" class="statusViewdown underwayView" data-id="{{item.cbszt}}" wx:if="{{item.cbszt}}">下载截图</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==0}}">
|
||||
<view wx:if="{{repairList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:A72BDEBDF1654377526454FA4A19B5EB</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toRepairExample">
|
||||
<image class="logo-img" mode="widthFix" src="https://file.bigfishfarming.com/file/car_icon/C10000191.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">北汽新能源</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text">VIN:TRUDD28J3820983930</text>
|
||||
<text class="hui-text">2020-12-23 15:36</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getRepairDetail':item.queryStatus=='4'?'showRenMsg':item.queryStatus=='3'?'showGaoMsg':''}}" data-logo="{{item.logo}}" data-orderid="{{item.orderid}}" data-time="{{item.queryTimeStr}}" data-version="{{item.queryVersion}}">
|
||||
<image class="logo-img" mode="widthFix" src="{{item.logo}}"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text" wx:if="{{item.cars}}">{{item.cars}}</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="hui-text" wx:if="{{item.vin}}">{{item.vin}}</text>
|
||||
<text class="hui-text" wx:if="{{item.time}}">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<text bindtap="previewImage" class="statusViewdown underwayView" data-id="{{item.cbszt}}" wx:if="{{item.cbszt}}">下载截图</text>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=1&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=1&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='1'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<view bindtap="zrg" class="grace-button" data-orderid="{{item.orderid}}" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>转人工查询:{{item.orderid}} </view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==1}}">
|
||||
<view wx:if="{{repairList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:D166847888078046949494</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toDangerExample">
|
||||
<image class="logo-img" mode="widthFix" src="http://pic1.jisuapi.cn/car/static/images/logo/300/38224.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">丰田出险记录</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text">VIN:TRUDD28J3820983930</text>
|
||||
<text class="hui-text">2022-11-15 10:21:28</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{item.queryStatus=='2'}}">
|
||||
<text bindtap="previewImageb" class="statusViewdown underwayView" data-id="{{item.recordimgs}}" wx:if="{{item.recordimgs}}">下载截图</text>
|
||||
</block>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=1&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==23}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'dcbg':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{item.queryStatus=='2'}}">
|
||||
<text bindtap="previewImageb" class="statusViewdown underwayView" data-id="{{item.recordimgs}}" wx:if="{{item.recordimgs}}">下载截图</text>
|
||||
</block>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=1&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==3}}">
|
||||
<view wx:if="{{repairList==null||gzList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:A72BDEBDF1654377526454FA4A19B5EB</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toValuationExample">
|
||||
<image class="logo-img" mode="widthFix" src="https://file.bigfishfarming.com/file/car_icon/C10000139.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">奥迪</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text"></text>
|
||||
<text class="hui-text" style="width:320rpx">2020-12-23 15:36</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单编号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getValuationDetail':''}}" data-id="{{item.orderid}}">
|
||||
<image class="logo-img" mode="widthFix" src="{{item.logo}}"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">{{item.carName}}</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="hui-text"></text>
|
||||
<text class="hui-text" style="width:320rpx">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==4}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单编号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getvin':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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 bindtap="copyText" class="hui-text" data-text="{{item.vin}}">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus!='2'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=4&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==22}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getcpcx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text" style="width: 380rpx;">车型:{{item.cars}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==24}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getgscx':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 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" style="width: 480rpx;">{{item.car}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==5}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单编号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getjqx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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 bindtap="copyText" class="hui-text" data-text="{{item.vin}}">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=5&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=5&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==26}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getsyx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=26&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=26&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==6}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'njcx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">车型:{{item.cars}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==20}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'wzcx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">车型:{{item.cars}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==8}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getdzbdDetail':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=8&orderid={{item.orderid}}&typeid=8&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=8&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==9}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.orderid}}">订单号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getcarclztDetail':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=9&orderid={{item.orderid}}&typeid=9&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=9&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<navigator hoverClass="none" url="/pages/mine/info/index" wx:if="{{!uesrdata.phone}}">
|
||||
<view class="contact_box" style="background-color: rgba(102, 159, 224, 0.63);">
|
||||
<view class="contact">
|
||||
<view class="contact_icon">
|
||||
<image class="weixin_icon" lazyLoad="{{true}}" mode="widthFix" src="/assets/images/ser-repair@1.png" style="border-radius: 80rpx"></image>
|
||||
</view>
|
||||
<view class="contact_content"> 设置手机号,开启查询短信通知~ </view>
|
||||
<view class="contact_copy_box">
|
||||
<view class="contact_copy">立即开启</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
188
pages/reporlist/reporlist.wxss
Normal file
188
pages/reporlist/reporlist.wxss
Normal file
@@ -0,0 +1,188 @@
|
||||
@import "/graceUI/reporlist.wxss";
|
||||
page {
|
||||
background-color: #f1f5f6;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
.page__mask {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 9998;
|
||||
}
|
||||
.privacy-dialog {
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.2);
|
||||
left: 50%;
|
||||
max-width: 500rpx;
|
||||
padding: 20rpx;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 80%;
|
||||
z-index: 9999;
|
||||
}
|
||||
.privacy-dialog__content {
|
||||
font-size: 28rpx;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.privacy-dialog__title {
|
||||
color: #000;
|
||||
}
|
||||
.privacy-dialog__text,
|
||||
.privacy-dialog__title {
|
||||
background-color: #fff;
|
||||
border-radius: 5rpx;
|
||||
display: block;
|
||||
font-size: 36rpx;
|
||||
line-height: 2;
|
||||
padding: 10rpx;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.privacy-dialog__text {
|
||||
color: #007bff;
|
||||
}
|
||||
.privacy-dialog__button {
|
||||
background-color: #007bff;
|
||||
border-radius: 5rpx;
|
||||
color: #fff;
|
||||
display: block;
|
||||
font-size: 36rpx;
|
||||
line-height: 1;
|
||||
padding: 10rpx;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.update_scroll_modle {
|
||||
color: #555;
|
||||
float: left;
|
||||
font-size: 24rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: 505rpx;
|
||||
word-break: keep-all;
|
||||
}
|
||||
.xiaoxi {
|
||||
background: #fff;
|
||||
border-bottom: 15rpx solid #f2f2f2;
|
||||
display: block;
|
||||
height: 80rpx;
|
||||
margin: 0 auto;
|
||||
padding-top: 1rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.xiaoxi_leftImg {
|
||||
float: left;
|
||||
height: 40rpx;
|
||||
margin-top: 20rpx;
|
||||
padding-left: 30rpx;
|
||||
padding-right: 15rpx;
|
||||
width: 40rpx;
|
||||
}
|
||||
.xiaoxi_right_btnc {
|
||||
border: 1px solid #3688ff;
|
||||
border-radius: 5rpx;
|
||||
color: #3688ff;
|
||||
width: auto;
|
||||
}
|
||||
.xiaoxi_right_btn {
|
||||
border: 1px solid #3d61f0;
|
||||
color: #3d61f0;
|
||||
height: 45rpx;
|
||||
}
|
||||
.xiaoxi_right_btn,
|
||||
.xiaoxi_right_btnb {
|
||||
border-radius: 5rpx;
|
||||
float: left;
|
||||
font-size: 24rpx;
|
||||
line-height: 45rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-top: 17.5rpx;
|
||||
text-align: center;
|
||||
width: 100rpx;
|
||||
}
|
||||
.xiaoxi_right_btnb {
|
||||
height: 5rpx;
|
||||
}
|
||||
.xiaoxi_zhezhao {
|
||||
height: 80rpx;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 590rpx;
|
||||
z-index: 50;
|
||||
}
|
||||
.statusViewdown {
|
||||
align-items: center;
|
||||
border-radius: 8rpx;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
text-align: center;
|
||||
top: 174rpx;
|
||||
width: 60px;
|
||||
}
|
||||
.serch_view {
|
||||
background: #fff;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
height: 68rpx;
|
||||
padding: 1rpx 3% 20rpx;
|
||||
width: 94%;
|
||||
}
|
||||
.serch_nav {
|
||||
height: 83rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.serch_border {
|
||||
background: #f5f5f5;
|
||||
border-radius: 100px;
|
||||
float: left;
|
||||
height: 60rpx;
|
||||
margin-top: 5rpx;
|
||||
width: 82%;
|
||||
}
|
||||
.serch_border_img {
|
||||
border-right: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
color: #1990ff;
|
||||
float: left;
|
||||
font-size: 13px;
|
||||
height: 40rpx;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 13rpx;
|
||||
padding-right: 10rpx;
|
||||
width: 88rpx;
|
||||
}
|
||||
.serch_border_text {
|
||||
color: #b2b2b2;
|
||||
float: left;
|
||||
font-size: 24rpx;
|
||||
height: 60rpx;
|
||||
line-height: 60rpx;
|
||||
padding-left: 15rpx;
|
||||
width: 76%;
|
||||
}
|
||||
.serch_border_btn {
|
||||
background: #1990ff;
|
||||
border: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 30rpx;
|
||||
color: #fff;
|
||||
float: right;
|
||||
font-size: 24rpx;
|
||||
height: 60rpx;
|
||||
line-height: 58rpx;
|
||||
margin: 5rpx 0rpx 0rpx;
|
||||
padding: 0rpx;
|
||||
text-align: center;
|
||||
width: 100rpx;
|
||||
}
|
367
pages/reporlist/reporlistor.js
Normal file
367
pages/reporlist/reporlistor.js
Normal file
@@ -0,0 +1,367 @@
|
||||
var t, a;
|
||||
(t = getApp()),
|
||||
(a = getApp()),
|
||||
Page({
|
||||
data: {
|
||||
winWidth: 0,
|
||||
winHeight: 0,
|
||||
currentTab: 0,
|
||||
autoplay: !1,
|
||||
circular: !0,
|
||||
indicatorDots: !0,
|
||||
scrollTop: "",
|
||||
navFixed: !1,
|
||||
currentData: 0,
|
||||
repairList: [],
|
||||
dangerList: [],
|
||||
detailList: [],
|
||||
valutionList: [],
|
||||
theInterval: null,
|
||||
type: 0,
|
||||
page: 1,
|
||||
inputValue: "",
|
||||
inputVal: "",
|
||||
},
|
||||
onLoad: function (t) {
|
||||
t.type
|
||||
? (this.setData({ currentData: t.type, type: t.type }),
|
||||
this.getDetail())
|
||||
: this.getDetail(0),
|
||||
this.showModal(),
|
||||
this._notice();
|
||||
},
|
||||
bindKeyInput: function (t) {
|
||||
var a = t.detail.value;
|
||||
this.setData({ inputVal: a });
|
||||
},
|
||||
clickcx: function (t) {
|
||||
this.data.inputVal
|
||||
? (this.setData({ repairList: [], page: 1 }), this.getDetail())
|
||||
: wx.showToast({
|
||||
title: "请输入车架号查询",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
});
|
||||
},
|
||||
_notice: function () {
|
||||
var t = this;
|
||||
a.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
data: { m: "monai_market", r: "home.index.home1" },
|
||||
cachetime: "0",
|
||||
success: function (a) {
|
||||
console.log(a),
|
||||
a.data.data.info_name.name &&
|
||||
wx.setNavigationBarTitle({
|
||||
title: a.data.data.info_name.name + "",
|
||||
}),
|
||||
t.setData({
|
||||
banner: a.data.data.banner,
|
||||
market: a.data.data.market,
|
||||
brand: a.data.data.brand,
|
||||
textJson: a.data.data.notice,
|
||||
info_name: a.data.data.info_name.name,
|
||||
recom: a.data.data.info_name.recom,
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
showModal: function (t) {
|
||||
1 != wx.getStorageSync("showModal") &&
|
||||
wx.showModal({
|
||||
title: "温馨提示",
|
||||
content: "绑定手机号码后,查询完成将收到短信通知更加及时~",
|
||||
showCancel: !0,
|
||||
cancelText: "不再提示",
|
||||
confirmText: "立即设置",
|
||||
success: function (t) {
|
||||
t.cancel
|
||||
? (console.log("您点击了取消"), wx.setStorageSync("showModal", 1))
|
||||
: t.confirm && wx.navigateTo({ url: "/pages/mine/info/index" });
|
||||
},
|
||||
});
|
||||
},
|
||||
previewImage: function (t) {
|
||||
console.log(t),
|
||||
wx.showToast({
|
||||
title: "长按图片保存截图",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
}),
|
||||
wx.previewImage({
|
||||
current: t.currentTarget.dataset.id,
|
||||
urls: [t.currentTarget.dataset.id],
|
||||
});
|
||||
},
|
||||
previewImageb: function (t) {
|
||||
console.log(t),
|
||||
wx.showToast({
|
||||
title: "长按图片保存截图",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
}),
|
||||
wx.previewImage({
|
||||
current: JSON.parse(t.currentTarget.dataset.id)[0],
|
||||
urls: [JSON.parse(t.currentTarget.dataset.id)[0]],
|
||||
});
|
||||
},
|
||||
checkCurrent: function (a) {
|
||||
if (
|
||||
(t.appdengl(),
|
||||
console.log("点击切换"),
|
||||
console.log(a.target.dataset.current),
|
||||
this.data.currentData === a.target.dataset.current)
|
||||
)
|
||||
return !1;
|
||||
var e = a.target.dataset.current;
|
||||
this.setData({
|
||||
currentData: a.target.dataset.current,
|
||||
type: e,
|
||||
repairList: [],
|
||||
inputVal: "",
|
||||
page: 1,
|
||||
}),
|
||||
this.getDetail();
|
||||
},
|
||||
onReachBottom: function () {
|
||||
console.log("加上"), this.getDetail();
|
||||
},
|
||||
getDetail: function () {
|
||||
var a = this.data.type,
|
||||
e = this,
|
||||
n = {
|
||||
uid: wx.getStorageSync("uid"),
|
||||
type: a,
|
||||
page: this.data.page,
|
||||
keyword: this.data.inputVal,
|
||||
};
|
||||
t.getdata(n, "carorder").then((t) => {
|
||||
if ((console.log("回调数据:", t), t.data)) {
|
||||
if (1 == e.data.page) var a = t.data;
|
||||
else (a = e.data.repairList).push.apply(a, t.data);
|
||||
e.setData({ repairList: a, page: e.data.page + 1 });
|
||||
}
|
||||
});
|
||||
},
|
||||
layoutScroll: function (t) {
|
||||
(this.data.scrollTop = 1 * this.data.scrollTop + 1 * t.detail.deltaY),
|
||||
this.data.scrollTop <= -160
|
||||
? this.setData({ navFixed: !0 })
|
||||
: this.setData({ navFixed: !1 });
|
||||
},
|
||||
tongzhi: function (a) {
|
||||
t.getdata({ type: "4" }, "getdyxx").then((a) => {
|
||||
console.log(a.data),
|
||||
wx.requestSubscribeMessage({
|
||||
tmplIds: [a.data],
|
||||
success(e) {
|
||||
"accept" == e[a.data]
|
||||
? (wx.showToast({ title: "订阅成功" }),
|
||||
t.util.request({
|
||||
url: "entry/wxapp/addtemplateid",
|
||||
data: { templateid: a.data, uid: wx.getStorageSync("uid") },
|
||||
header: { "content-type": "application/json" },
|
||||
success: function (t) {
|
||||
console.log(t);
|
||||
},
|
||||
}))
|
||||
: wx.showToast({ title: "订阅失败" });
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
showRenMsg: function () {
|
||||
this.tongzhi(),
|
||||
wx.showModal({
|
||||
title: "温馨提示",
|
||||
content:
|
||||
"人工线下查询比较耗时,请耐心等待,一般晚上11点以后的订单次日10点前出完",
|
||||
success: function (t) {
|
||||
t.confirm
|
||||
? console.log("点击确认回调")
|
||||
: console.log("点击取消回调");
|
||||
},
|
||||
});
|
||||
},
|
||||
showGaoMsg: function () {
|
||||
wx.showToast({
|
||||
title: "查不到记录,建议使用高级出险查询。",
|
||||
icon: "none",
|
||||
duration: 3e3,
|
||||
});
|
||||
},
|
||||
getvin: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carvin/carvin?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getjqx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carjqx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
njcx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carnj/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
wzcx: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/cphy/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getRepairDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carwbjzb/carwxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getDangerDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carcx/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getdzbdDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/cardzbd/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getcarclztDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.orderid;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carclzt/carcxjl?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getBaseDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.vin,
|
||||
e = t.currentTarget.dataset.logo,
|
||||
n = t.currentTarget.dataset.time,
|
||||
i = t.currentTarget.dataset.brand;
|
||||
t.currentTarget.dataset.version,
|
||||
wx.navigateTo({
|
||||
url:
|
||||
"/pages/carinfoDetail/carinfoDetail?vin=" +
|
||||
a +
|
||||
"&logo=" +
|
||||
e +
|
||||
"&brand=" +
|
||||
i +
|
||||
"&time=" +
|
||||
n,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
getValuationDetail: function (t) {
|
||||
var a = t.currentTarget.dataset.id;
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/caresgz/carpg/carpg?orderid=" + a,
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toRepairExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carwbjzb/carwxjl?orderid=D167578460646744394799",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toDangerExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/packageA/pages/carcx/carcxjl?orderid=D166847888078046949494",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toBaseExample: function () {
|
||||
wx.navigateTo({
|
||||
url: "/pages/carinfoDetail/carinfoDetail",
|
||||
success: function () {},
|
||||
});
|
||||
},
|
||||
toValuationExample: function () {
|
||||
wx.navigateTo({ url: "/pages/carpg/carpg", success: function () {} });
|
||||
},
|
||||
onReady: function () {},
|
||||
onShow: function () {
|
||||
var t = this;
|
||||
wx.getSystemInfo({
|
||||
success: function (a) {
|
||||
t.setData({
|
||||
pixelRatio: a.pixelRatio,
|
||||
winHeight: a.windowHeight,
|
||||
winWidth: a.windowWidth,
|
||||
page: 1,
|
||||
});
|
||||
},
|
||||
}),
|
||||
this.userdata(),
|
||||
this.getDetail();
|
||||
},
|
||||
userdata: function () {
|
||||
var a = this;
|
||||
t.util.getUserInfo(function (t) {
|
||||
t.memberInfo
|
||||
? (a.setData({ memberInfo: t.memberInfo }),
|
||||
wx.setStorageSync("uid", t.memberInfo.uid),
|
||||
a.firstin(t.memberInfo, 0))
|
||||
: a.setData({ isShow: !0 });
|
||||
});
|
||||
},
|
||||
firstin: function (a, e) {
|
||||
var n = this;
|
||||
console.log("提交数据", a),
|
||||
t.util.request({
|
||||
url: "entry/wxapp/Api",
|
||||
data: {
|
||||
m: "monai_market",
|
||||
r: "me.detail",
|
||||
uid: a.uid,
|
||||
type: e,
|
||||
head_image: a.avatar,
|
||||
nickname: a.nickname,
|
||||
},
|
||||
success: function (t) {
|
||||
console.log(t),
|
||||
n.setData({
|
||||
detail: t.data.data,
|
||||
admin: t.data.data.user.is_admin,
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
copyText: function (t) {
|
||||
console.log(t),
|
||||
wx.setClipboardData({
|
||||
data: t.currentTarget.dataset.text,
|
||||
success: function (t) {
|
||||
wx.getClipboardData({
|
||||
success: function (t) {
|
||||
wx.showToast({ title: "订单号复制成功" });
|
||||
},
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
onHide: function () {
|
||||
clearInterval(this.data.theInterval);
|
||||
},
|
||||
onUnload: function () {
|
||||
clearInterval(this.data.theInterval);
|
||||
},
|
||||
onPullDownRefresh: function () {
|
||||
this.onShow();
|
||||
},
|
||||
onShareAppMessage: function () {},
|
||||
});
|
1
pages/reporlist/reporlistor.json
Normal file
1
pages/reporlist/reporlistor.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "usingComponents": {} }
|
336
pages/reporlist/reporlistor.wxml
Normal file
336
pages/reporlist/reporlistor.wxml
Normal file
@@ -0,0 +1,336 @@
|
||||
<view style="height: {{windowHeight}}px;">
|
||||
<view style="height: 100vh;">
|
||||
<view class="pageView" wx:if="{{currentData==0}}">
|
||||
<view wx:if="{{repairList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:A72BDEBDF1654377526454FA4A19B5EB</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toRepairExample">
|
||||
<image class="logo-img" mode="widthFix" src="https://file.bigfishfarming.com/file/car_icon/C10000191.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">北汽新能源</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text">VIN:TRUDD28J3820983930</text>
|
||||
<text class="hui-text">2020-12-23 15:36</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.transactionId}}">订单编号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getRepairDetail':item.queryStatus=='4'?'showRenMsg':item.queryStatus=='3'?'showGaoMsg':''}}" data-logo="{{item.logo}}" data-orderid="{{item.orderid}}" data-time="{{item.queryTimeStr}}" data-version="{{item.queryVersion}}" style="width: 715rpx; height: 153rpx; display: block; box-sizing: border-box">
|
||||
<image class="logo-img" mode="widthFix" src="{{item.logo?item.logo:'/static/images/icon_insurance_10.png'}}"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text" style="width: 286rpx; height: 54rpx; display: block; box-sizing: border-box">{{item.pay_title}}</text>
|
||||
<text class="statusView successView">支付成功'</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<text bindtap="previewImage" class="statusViewdown underwayView" data-id="{{item.cbszt}}" wx:if="{{item.cbszt}}">下载截图</text>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=1&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=1&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==1}}">
|
||||
<view wx:if="{{repairList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:D166847888078046949494</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toDangerExample">
|
||||
<image class="logo-img" mode="widthFix" src="http://pic1.jisuapi.cn/car/static/images/logo/300/38224.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">丰田出险记录</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text">VIN:TRUDD28J3820983930</text>
|
||||
<text class="hui-text">2022-11-15 10:21:28</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<block wx:if="{{item.queryStatus=='2'}}">
|
||||
<text bindtap="previewImageb" class="statusViewdown underwayView" data-id="{{item.recordimgs}}" wx:if="{{item.recordimgs}}">下载截图</text>
|
||||
</block>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=1&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=2&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==3}}">
|
||||
<view wx:if="{{repairList==null||gzList.length<1}}">
|
||||
<view class="contentView">
|
||||
<text class="orderNum">订单编号:A72BDEBDF1654377526454FA4A19B5EB</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="toValuationExample">
|
||||
<image class="logo-img" mode="widthFix" src="https://file.bigfishfarming.com/file/car_icon/C10000139.jpg"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">奥迪</text>
|
||||
<text class="statusView ingView">样例报告</text>
|
||||
<text class="hui-text"></text>
|
||||
<text class="hui-text" style="width:320rpx">2020-12-23 15:36</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" wx:for="{{repairList}}" wx:key="index">
|
||||
<view class="contentView">
|
||||
<text bindtap="copyText" class="orderNum" data-text="{{item.transactionId}}">订单编号:{{item.orderid}}</text>
|
||||
<view class="lineView"></view>
|
||||
<view bindtap="{{item.queryStatus=='2'?'getValuationDetail':''}}" data-id="{{item.orderid}}">
|
||||
<image class="logo-img" mode="widthFix" src="{{item.logo}}"></image>
|
||||
<view class="text-view">
|
||||
<text class="name-text">{{item.carName}}</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="hui-text"></text>
|
||||
<text class="hui-text" style="width:320rpx">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==4}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'getvin':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==5}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'getjqx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=5&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=5&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==6}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'njcx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">车型:{{item.cars}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==20}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'wzcx':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">车型:{{item.cars}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==8}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'getdzbdDetail':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=8&orderid={{item.orderid}}&typeid=8&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=8&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pageView" wx:if="{{currentData==9}}">
|
||||
<view data-index="{{index}}" wx:if="{{repairList.length>0}}" 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'?'getcarclztDetail':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 class="text-view">
|
||||
<text class="name-text">{{item.car}}</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="hui-text">VIN:{{item.vin}}</text>
|
||||
<text class="hui-text">{{item.time}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.queryStatus=='4'}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=9&orderid={{item.orderid}}&typeid=9&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>人工处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="contentView" wx:if="{{item.hasRefund=='2'&&item.beizhu}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>备注:{{item.beizhu}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.cxpoenid}}">
|
||||
<view class="contentView" wx:if="{{admin==1}}">
|
||||
<view class="demobutong">
|
||||
<navigator class="grace-button" hoverClass="none" url="/packageA/pages/rengong/rengong?type=9&orderid={{item.orderid}}&typeid=0&vin={{item.vin}}">
|
||||
<text class="grace-icons icon-link" style="padding-right:12rpx;"></text>错误处理:{{item.orderid}} </navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<navigator hoverClass="none" url="/pages/gzh/gzh">
|
||||
<view class="contact_box">
|
||||
<view class="contact">
|
||||
<view class="contact_icon">
|
||||
<image class="weixin_icon" lazyLoad="{{true}}" mode="widthFix" src="/assets/images/ser-repair@1.png" style="border-radius: 80rpx"></image>
|
||||
</view>
|
||||
<view class="contact_content"> 关注公众号,开启查询通知~ </view>
|
||||
<view class="contact_copy_box">
|
||||
<view class="contact_copy">立即开启</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
72
pages/reporlist/reporlistor.wxss
Normal file
72
pages/reporlist/reporlistor.wxss
Normal file
@@ -0,0 +1,72 @@
|
||||
@import "/graceUI/reporlist.wxss";
|
||||
page {
|
||||
background-color: #f1f5f6;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
.statusViewdown {
|
||||
align-items: center;
|
||||
border-radius: 8rpx;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
text-align: center;
|
||||
top: 174rpx;
|
||||
width: 60px;
|
||||
}
|
||||
.serch_view {
|
||||
background: #fff;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
height: 68rpx;
|
||||
padding: 1rpx 3% 20rpx;
|
||||
width: 94%;
|
||||
}
|
||||
.serch_nav {
|
||||
height: 83rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.serch_border {
|
||||
background: #f5f5f5;
|
||||
border-radius: 100px;
|
||||
float: left;
|
||||
height: 60rpx;
|
||||
margin-top: 5rpx;
|
||||
width: 82%;
|
||||
}
|
||||
.serch_border_img {
|
||||
border-right: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
color: #1990ff;
|
||||
float: left;
|
||||
font-size: 13px;
|
||||
height: 40rpx;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 13rpx;
|
||||
padding-right: 10rpx;
|
||||
width: 88rpx;
|
||||
}
|
||||
.serch_border_text {
|
||||
color: #b2b2b2;
|
||||
float: left;
|
||||
font-size: 24rpx;
|
||||
height: 60rpx;
|
||||
line-height: 60rpx;
|
||||
padding-left: 15rpx;
|
||||
width: 76%;
|
||||
}
|
||||
.serch_border_btn {
|
||||
background: #1990ff;
|
||||
border: 1rpx solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 30rpx;
|
||||
color: #fff;
|
||||
float: right;
|
||||
font-size: 24rpx;
|
||||
height: 60rpx;
|
||||
line-height: 58rpx;
|
||||
margin: 5rpx 0rpx 0rpx;
|
||||
padding: 0rpx;
|
||||
text-align: center;
|
||||
width: 100rpx;
|
||||
}
|
Reference in New Issue
Block a user