diff --git a/components/orderCard.vue b/components/orderCard.vue
index 4819bd7..53f25a5 100644
--- a/components/orderCard.vue
+++ b/components/orderCard.vue
@@ -118,7 +118,7 @@ export default {
border-radius: 8rpx 8rpx 8rpx 8rpx;
border-left: 4rpx solid #FFB323;
padding: 0 30rpx;
- margin-bottom: 30rpx;
+ margin: 15rpx 0;
}
.order-top {
diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue
index 29ad98e..9f0e8f6 100644
--- a/components/tabBar/tabBar.vue
+++ b/components/tabBar/tabBar.vue
@@ -12,7 +12,7 @@
- 工单处理
+ 工单
@@ -172,8 +172,6 @@
}
},
getgogo(index) {
-
-
if (index == 1) {
this.aindex = index
uni.reLaunch({
diff --git a/pages-home/home/home.vue b/pages-home/home/home.vue
index 4827412..516bd19 100644
--- a/pages-home/home/home.vue
+++ b/pages-home/home/home.vue
@@ -35,6 +35,9 @@
+
+
+
@@ -68,7 +71,7 @@ export default {
imgUrlPrex:config.baseImageUrl,
userInfo: {
avatar: undefined,
- nickname: '曾廷'
+ nickname: ''
},
menuList: [
{
@@ -77,7 +80,12 @@ export default {
icon: require('@/static/icons/homeMenuIcon/menu1.png'),
path: '/pages-order/addOrder/addOrder'
},
- {title: '预约开单', desc: '查询预约记录', icon: require('@/static/icons/homeMenuIcon/menu1.png'), path: '/pages-order/appointOrder/appointOrder'}
+ {
+ title: '预约开单',
+ desc: '查询预约记录',
+ icon: require('@/static/icons/homeMenuIcon/menu1.png'),
+ path: '/pages-order/appointOrder/appointOrder'
+ }
],
bannerIndex: 0,
shopList: [],
@@ -89,34 +97,6 @@ export default {
//下来刷新状态
isTriggered:false,
orderList: [
- {
- orderNo: '1209840149750105501',
- flag: 1, flagStr: '待处理', carNum: '川A 184AO1',
- carModel: '一汽奥迪 2024款 A6L',
- projectList: [
- { name: '清洗内饰', id: 1 },
- { name: '内饰精洗除臭', id: 2 },
- { name: '烘干底板胶及脚垫', id: 3 }
- ],
- userName: '张三',
- userPhone: '157****6879',
- appointDate: '2024-10-20 12:00',
- counselorName: '李相东'
- },
- {
- orderNo: '1209840149750105501',
- flag: 1, flagStr: '待处理', carNum: '川A 184AO1',
- carModel: '一汽奥迪 2024款 A6L',
- projectList: [
- { name: '清洗内饰', id: 1 },
- { name: '内饰精洗除臭', id: 2 },
- { name: '烘干底板胶及脚垫', id: 3 }
- ],
- userName: '张三',
- userPhone: '157****6879',
- appointDate: '2024-10-20 12:00',
- counselorName: '李相东'
- }
],
defaultAvatar: require('@/static/icons/avatar.png')
}
@@ -130,8 +110,6 @@ export default {
if(!this.$msgSocket){
this.$startMsgSocket(getTenantId(),getStrData("userId"))
}
- this.orderList = []
- this.getOrderList()
}
},
onShow() {
@@ -142,6 +120,7 @@ export default {
}else{
//直接取缓存中的用户信息
this.userInfo = getUserInfo()
+ this.onRefresherrefresh()
}
},
methods: {
@@ -173,11 +152,11 @@ export default {
* 查本人待处理工单
*/
getOrderList(){
- this.orderList = []
+ let paramsObj = {pageNo: this.pageNo, pageSize: this.pageSize, isFinish: "0"}
request({
url: '/admin-api/repair/tickets/pageType',
method: 'get',
- params:{pageNo:this.pageNo,pageSize:this.pageSize,isFinish:"0"}
+ params:paramsObj
}).then((res) => {
console.log(res)
if (res.code == 200) {
diff --git a/pages-order/orderList/orderList.vue b/pages-order/orderList/orderList.vue
index 07ed080..c617186 100644
--- a/pages-order/orderList/orderList.vue
+++ b/pages-order/orderList/orderList.vue
@@ -2,8 +2,9 @@
@@ -15,9 +16,13 @@
-
-
-
+
+
+
+
+
+
@@ -25,10 +30,17 @@
@@ -288,7 +270,9 @@ export default {
}
.orderList {
- padding: 30rpx 0;
+ //padding: 30rpx 0;
+ padding-top: 10rpx;
+ height: calc(100% - 90rpx);
display: flex;
flex-direction: column;
row-gap: 20rpx;
diff --git a/static/images/nothing.png b/static/images/nothing.png
new file mode 100644
index 0000000..85907e6
Binary files /dev/null and b/static/images/nothing.png differ