This commit is contained in:
许允枞 2025-03-14 13:42:24 +08:00
parent 5889251294
commit 86a9a682bb
4 changed files with 53 additions and 28 deletions

View File

@ -40,7 +40,7 @@
</view>
<view class="three_box2">
<view class="">已完成</view>
<view class="num_">{{ threenum.workedNum }}</view>
<view class="num_">{{ threenum.workedNum }}</view>
</view>
<view class="three_box3">
<view class="">未完成</view>
@ -117,7 +117,7 @@
<view class="box_ds">
<view class="box_title">{{ item.goodsTitle }}</view>
<u-tag :text="item.skuName" plain size="mini" style=" height: 44rpx; "></u-tag>
<!-- <image src="/static/imgs/ns.png" mode=""></image>-->
<!-- <image src="/static/imgs/ns.png" mode=""></image>-->
</view>
<view class="box_bd">
<view class="box_ds">
@ -196,6 +196,7 @@ export default {
pageSize: 10,
totalPages: 0,
timer: null,
timer2: null,
}
},
onShow() {
@ -209,10 +210,19 @@ export default {
this.getUserInfo()
this.getWarnCount()
this.getAppointAndPickNum()
this.getappointment()
//
this.timeWeekFormat();
// //
// this.timeWeekFormat();
let that = this
that.timeWeekFormat();
this.timer = setInterval(function () {
that.getappointment()
}, 10000);
},
onHide() {
clearInterval(this.timer);
clearInterval(this.timer2);
},
onLoad() {
this.partnerId = uni.getStorageSync('partnerId')
@ -241,6 +251,8 @@ export default {
} else {
this.pageNum++
this.getappointment()
clearInterval(this.timer);
this.timer = null;
}
},
@ -261,7 +273,7 @@ export default {
url: '/pages/xiaoxi/notice'
})
},
goordercount(){
goordercount() {
uni.navigateTo({
url: '/pages/index/neworderStatistic'
})
@ -481,7 +493,11 @@ export default {
params: data
})
if (res.code == 200) {
this.goodsList = this.goodsList.concat(res.rows)
if (this.pageNum == 1) {
this.goodsList = res.rows
} else {
this.goodsList = this.goodsList.concat(res.rows)
}
let total = res.total
this.totalPages = Math.ceil(total / this.pageSize);
}
@ -504,9 +520,12 @@ export default {
minutes = minutes < 10 ? "0" + minutes : minutes;
second = second < 10 ? "0" + second : second;
this.dateStr = `${year}-${month}-${day}`;
this.week = `星期${dayCycle}`;
this.time = `${hours}:${minutes}:${second}`;
this.$nextTick(() => {
this.dateStr = `${year}-${month}-${day}`;
this.week = `星期${dayCycle}`;
this.time = `${hours}:${minutes}:${second}`;
});
}
}
}
@ -578,6 +597,7 @@ image {
width: 56rpx;
height: 56rpx;
margin-left: 30rpx;
.msg-num {
position: absolute;
right: -15rpx;

View File

@ -212,7 +212,7 @@ export default {
queryParams: {
queryTime: null,
pageNum: 1,
pageSize: 10,
pageSize: 50,
chooseStatus: "1",
payType: "",
startTime: null,

View File

@ -1,15 +1,18 @@
<template>
<view class="content">
<view style="width: 100%; height: 44px;"></view>
<view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="t-title">
<text>选择检测内容</text>
</view>
<view class="t-you"></view>
</view>
<!-- <view style="width: 100%; height: 44px;"></view>-->
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getback()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="t-title">-->
<!-- <text>选择检测内容</text>-->
<!-- </view>-->
<!-- <view class="t-you"></view>-->
<!-- </view>-->
<headersVue titles="选择检测内容" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="cont_box">
<view class="title_">
@ -51,8 +54,10 @@
<script>
import request from '../../utils/request';
import headersVue from "@/components/header/headers.vue";
export default {
components: {headersVue},
data() {
return {
iconSize: 130,
@ -142,7 +147,7 @@
.box_button_x {
border-radius: 6px;
border: 1px solid #0D2E8D;
border: 1px solid #0174F6;
display: flex;
align-items: center;
justify-content: center;
@ -151,7 +156,7 @@
padding: 10px 15px;
margin-right: 15px;
margin-bottom: 15px;
background: #0D2E8D;
background: #0174F6;
color: #fff;
}
@ -172,7 +177,7 @@
.dlanniu {
width: 80%;
height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
background: linear-gradient(180deg, #3F61C0 0%, #0174F6 100%);
border-radius: 50px;
display: flex;
align-items: center;
@ -223,7 +228,7 @@
color: #fff;
font-weight: bold;
font-size: 18px;
background: #0D2E8D;
background: #0174F6;
border-radius: 50%;
margin-right: 10px;
}
@ -234,7 +239,7 @@
display: flex;
align-items: center;
justify-content: center;
color: #0D2E8D;
color: #0174F6;
font-size: 22px;
font-weight: bold;
}

View File

@ -82,7 +82,7 @@
<view class="on-input" @click="showLeadMan = true">
<view class="o-left">
<text style="color: red;font-weight: bold;text-align: center;">*</text>
<!-- <text style="color: red;font-weight: bold;text-align: center;">*</text>-->
引车员
<text class="xixi">点击选择</text>
</view>
@ -408,7 +408,7 @@ image {
.banniu {
width: 20%;
height: 30px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
background: linear-gradient(180deg, #3F61C0 0%, #0174F6 100%);
border-radius: 50px;
display: flex;
align-items: center;