This commit is contained in:
许允枞 2025-03-14 18:10:12 +08:00
parent f2a2898a7e
commit ffc25489d0
2 changed files with 71 additions and 70 deletions

View File

@ -480,7 +480,8 @@
carIdNo: this.zjData.Vin, carIdNo: this.zjData.Vin,
carNo: this.zjData.PlateNo, carNo: this.zjData.PlateNo,
couponId: this.couponId, couponId: this.couponId,
pickCarId: this.pickCarId pickCarId: this.pickCarId,
appointmentId: restime.data,
} }
let res = await request({ let res = await request({
@ -635,7 +636,7 @@
}) })
}, },
// //
open() { open() {
console.log('open'); console.log('open');
}, },
@ -1249,7 +1250,7 @@
} }
// //
.ail-box { .ail-box {
width: 100%; width: 100%;
border-radius: 8px; border-radius: 8px;
@ -1475,4 +1476,4 @@
background-color: #1c3d9c; background-color: #1c3d9c;
color: #fff; color: #fff;
} }
</style> </style>

View File

@ -17,14 +17,14 @@
<image src="http://www.nuoyunr.com/lananRsc/detection/touxiang.png" mode=""></image> <image src="http://www.nuoyunr.com/lananRsc/detection/touxiang.png" mode=""></image>
</view> </view>
<view v-else> <view v-else>
<image :src="baseUrl+detailData.workerAvatar" mode=""></image> <image :src="baseUrl+detailData.workerAvatar" mode=""></image>
</view> </view>
<view class="sanniu"> <view class="sanniu">
<text>{{detailData.workerName}}</text> <text>{{detailData.workerName}}</text>
</view> </view>
</view> </view>
</view> </view>
<view class="box-dis"> <view class="box-dis">
<view class="shop-img"> <view class="shop-img">
@ -48,7 +48,7 @@
<text>车牌号</text> <text>车牌号</text>
<text>{{detailData.carNum}}</text> <text>{{detailData.carNum}}</text>
</view> </view>
</view> </view>
</view> </view>
<view class="bd-tel" @click="callUser(detailData.workerPhone)"> <view class="bd-tel" @click="callUser(detailData.workerPhone)">
@ -76,7 +76,7 @@
<text>{{detailData.endTime || ''}}</text> <text>{{detailData.endTime || ''}}</text>
</view> </view>
</view> </view>
<view class="di-bottom"> <view class="di-bottom">
<view class="dix"> <view class="dix">
<view class="h-title">{{detailData.remark || ''}}</view> <view class="h-title">{{detailData.remark || ''}}</view>
@ -89,7 +89,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- Mzhan --> <!-- Mzhan -->
<view class="zdxdbt" v-if="detailData.isPass == '0'"> <view class="zdxdbt" v-if="detailData.isPass == '0'">
<view class="">推荐M站</view> <view class="">推荐M站</view>
@ -100,13 +100,13 @@
</view> </view>
<view class="d-box" v-for="(item,index) in listarr" :key="index" v-if="detailData.isPass == '0'"> <view class="d-box" v-for="(item,index) in listarr" :key="index" v-if="detailData.isPass == '0'">
<view class="box-top"> <view class="box-top">
<view class="top-tile"> <view class="top-tile">
<view class="dix"> <view class="dix">
<view class="da">{{item.siteName}}</view> <view class="da">{{item.siteName}}</view>
<view class="dda">{{item.siteAddress}}</view> <view class="dda">{{item.siteAddress}}</view>
<!-- <view class="huang">{{item.averageScore}} <uni-icons type="star-filled" color= "#FF9600" size="14"></uni-icons></view> --> <!-- <view class="huang">{{item.averageScore}} <uni-icons type="star-filled" color= "#FF9600" size="14"></uni-icons></view> -->
</view> </view>
<view class="dix"> <view class="dix">
@ -114,12 +114,12 @@
<view class="xhui">联系人:</view> <view class="xhui">联系人:</view>
<view class="dda">{{item.siteContractName}}</view> <view class="dda">{{item.siteContractName}}</view>
</view> </view>
<view class="sanyuan"> <view class="sanyuan">
<view class="xhui">联系人电话:</view> <view class="xhui">联系人电话:</view>
<view class="dda">{{item.siteContractPhone}}</view> <view class="dda">{{item.siteContractPhone}}</view>
</view> </view>
</view> </view>
</view> </view>
<view class="" @click="fang(item.latitude,item.longitude)"> <view class="" @click="fang(item.latitude,item.longitude)">
@ -138,7 +138,7 @@
<view class="jus">{{items.price / 100}}</view> <view class="jus">{{items.price / 100}}</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<!-- jieshu --> <!-- jieshu -->
</view> </view>
@ -214,7 +214,7 @@
pageNum:that.pageNum pageNum:that.pageNum
} }
request({ request({
url: '/inspection/info/list', url: '/inspection/info/list',
method: 'get', method: 'get',
params: data params: data
@ -225,7 +225,7 @@
that.listarr = res.rows that.listarr = res.rows
} }
let total = res.total let total = res.total
that.totalPages = Math.ceil(total / that.pageSize); that.totalPages = Math.ceil(total / that.pageSize);
}) })
},fail(e) { },fail(e) {
let data = { let data = {
@ -236,7 +236,7 @@
pageNum:that.pageNum pageNum:that.pageNum
} }
request({ request({
url: '/inspection/info/list', url: '/inspection/info/list',
method: 'get', method: 'get',
params: data params: data
@ -247,14 +247,14 @@
that.listarr = res.rows that.listarr = res.rows
} }
let total = res.total let total = res.total
that.totalPages = Math.ceil(total / that.pageSize); that.totalPages = Math.ceil(total / that.pageSize);
}) })
} }
}); });
}, },
// M // M
callUser(phone){ callUser(phone){
uni.makePhoneCall({ uni.makePhoneCall({
@ -276,13 +276,13 @@
url:'/partnerOwn/partner/stopInspection', url:'/partnerOwn/partner/stopInspection',
method: 'post', method: 'post',
data:inspectionInfo data:inspectionInfo
}) })
if(res.code == 200){ if(res.code == 200){
this.closehge() this.closehge()
uni.showToast({ uni.showToast({
title:"成功", title:"成功",
}) })
uni.reLaunch({ uni.reLaunch({
url:'/pages/staff/staff' url:'/pages/staff/staff'
}); });
@ -305,8 +305,8 @@
url:'/partnerOwn/partner/addStepInfo', url:'/partnerOwn/partner/addStepInfo',
method: 'post', method: 'post',
data:this.stepInfo data:this.stepInfo
}) })
if(res.code == 200){ if(res.code == 200){
this.fileList1 =[] this.fileList1 =[]
this.fileList2 =[] this.fileList2 =[]
@ -314,36 +314,36 @@
this.xling = false this.xling = false
uni.showToast({ uni.showToast({
title:"成功", title:"成功",
}) })
this.getindex() this.getindex()
uni.reLaunch({ uni.reLaunch({
url:'/pages/index/ordermanage' url:'/pages/index/ordermanage'
}) })
} }
if(res.code == 500){ if(res.code == 500){
uni.showToast({ uni.showToast({
title:"已结束", title:"已结束",
}) })
uni.reLaunch({ uni.reLaunch({
url:'/pages/index/ordermanage' url:'/pages/index/ordermanage'
}) })
} }
}, },
async getindex(){ async getindex(){
let res = await request({ let res = await request({
url:'/appInspection/order/inspectionDetail', url:'/appInspection/order/inspectionDetail',
method: 'get', method: 'get',
params:{ params:{
inspectionInfoId:this.inspectionInfoId inspectionInfoId:this.inspectionInfoId
} }
}) })
this.detailData = res.data this.detailData = res.data
}, },
getback(){ getback(){
uni.navigateBack() uni.navigateBack()
}, },
@ -354,7 +354,7 @@
closexl(e){ closexl(e){
this.xling = false this.xling = false
console.log('n'); console.log('n');
}, },
openxl(e){ openxl(e){
console.log('y'); console.log('y');
@ -386,7 +386,7 @@
lists.map((item) => { lists.map((item) => {
this[`fileList${event.name}`].push({ this[`fileList${event.name}`].push({
...item, ...item,
}) })
}) })
for (let i = 0; i < lists.length; i++) { for (let i = 0; i < lists.length; i++) {
@ -402,15 +402,15 @@
}, },
uploadFilePromise(url) { uploadFilePromise(url) {
console.log(url); console.log(url);
upload({ upload({
url:'/common/upload', url:'/common/upload',
filePath: url, filePath: url,
}).then((res)=>{ }).then((res)=>{
// this.newsCover = res.fileName // this.newsCover = res.fileName
this.fileList2.push(res.fileName) this.fileList2.push(res.fileName)
console.log(res); console.log(res);
}) })
}, },
deletePic1(event) { deletePic1(event) {
this[`fileList${event.name}`].splice(event.index, 1) this[`fileList${event.name}`].splice(event.index, 1)
@ -430,7 +430,7 @@
height: 100%; height: 100%;
background: #F4F4F4; background: #F4F4F4;
} }
.top-heder{ .top-heder{
width: 100%; width: 100%;
// height: 46px; // height: 46px;
@ -492,13 +492,13 @@
border-radius: 50%; border-radius: 50%;
overflow: hidden; overflow: hidden;
margin: 10px auto; margin: 10px auto;
} }
.sanniu{ .sanniu{
width: 105px; width: 105px;
height: 35px; height: 35px;
background: #0D2E8D; background: #0D2E8D;
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -512,7 +512,7 @@
width: 90%; width: 90%;
height: 45px; height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%); background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -526,7 +526,7 @@
width: 20%; width: 20%;
height: 30px; height: 30px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%); background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -535,7 +535,7 @@
color: #FFFFFF; color: #FFFFFF;
} }
.box{ .box{
} }
.zdxdbt{ .zdxdbt{
width: 100%; width: 100%;
@ -595,21 +595,21 @@
border-radius: 6px; border-radius: 6px;
box-sizing: border-box; box-sizing: border-box;
padding: 2px 5px ; padding: 2px 5px ;
} }
.on-input{ .on-input{
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin: 15px auto; margin: 15px auto;
} }
.on-inputx{ .on-inputx{
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
margin: 15px auto; margin: 15px auto;
} }
.bottom-input{ .bottom-input{
border-top: 1px solid #F4F4F4; border-top: 1px solid #F4F4F4;
@ -696,7 +696,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #0D2E8D; color: #0D2E8D;
} }
.imgs-warp{ .imgs-warp{
width: 100%; width: 100%;
@ -713,7 +713,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.anniu{ .anniu{
box-sizing: border-box; box-sizing: border-box;
@ -733,7 +733,7 @@
padding: 2px 10px; padding: 2px 10px;
margin: 0px 10px; margin: 0px 10px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%) !important; background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%) !important;
border-radius: 23px; border-radius: 23px;
font-size: 15px; font-size: 15px;
color: white !important; color: white !important;
@ -809,9 +809,9 @@
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
} }
.huang{ .huang{
margin-left: 20px; margin-left: 20px;
color: #FF9600; color: #FF9600;
@ -875,7 +875,7 @@
// display: flex; // display: flex;
// justify-content: space-between; // justify-content: space-between;
// align-items: center; // align-items: center;
} }
.santu{ .santu{
width: 32%; width: 32%;
@ -895,7 +895,7 @@
} }
.ming{ .ming{
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 15px; font-size: 15px;
@ -933,7 +933,7 @@
font-size: 18px; font-size: 18px;
font-weight: bold font-weight: bold
} }
.top-list { .top-list {
width: 100%; width: 100%;
height: 88rpx; height: 88rpx;
@ -942,16 +942,16 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.list-box { .list-box {
height: 100%; height: 100%;
width: 33%; width: 33%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
/* 遮罩 */ /* 遮罩 */
.xuanx { .xuanx {
position: fixed; position: fixed;
@ -963,7 +963,7 @@
.nbian{ .nbian{
padding-top: 45px; padding-top: 45px;
} }
.x-xiang { .x-xiang {
width: 100%; width: 100%;
background: white; background: white;
@ -977,9 +977,9 @@
background: white; background: white;
box-sizing: border-box; box-sizing: border-box;
padding: 30rpx; padding: 30rpx;
} }
.ann { .ann {
display: flex; display: flex;
align-items: center; align-items: center;
@ -993,13 +993,13 @@
margin-right: 20rpx; margin-right: 20rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
.ax { .ax {
font-size: 28rpx; font-size: 28rpx;
background: #0D2E8D; background: #0D2E8D;
color: white !important; color: white !important;
} }
.xsanniu { .xsanniu {
border-top: 1px solid #EEEEEE; border-top: 1px solid #EEEEEE;
background: white; background: white;
@ -1009,7 +1009,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.wc { .wc {
width: 436rpx; width: 436rpx;
height: 80rpx; height: 80rpx;
@ -1021,7 +1021,7 @@
font-size: 32rpx; font-size: 32rpx;
justify-content: center; justify-content: center;
} }
.fanhu { .fanhu {
width: 224rpx; width: 224rpx;
height: 80rpx; height: 80rpx;
@ -1034,4 +1034,4 @@
color: #0D2E8D; color: #0D2E8D;
justify-content: center; justify-content: center;
} }
</style> </style>