From 0a20809e8f2244081bd829faa5934d6a4f3e412a Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Tue, 22 Sep 2026 08:22:54 +0800
Subject: [PATCH] 1
---
src/api/index.js | 10 +
.../business/deliverytruck/deliveryTruck.vue | 2 +-
.../expressCompany/expressCompany.vue | 2 +-
.../app/business/logistics/logistics.vue | 201 ++++++++++++++++--
src/views/app/shop/shop.vue | 1 -
src/views/sys/order-manage/orderManage.vue | 4 +-
6 files changed, 197 insertions(+), 23 deletions(-)
diff --git a/src/api/index.js b/src/api/index.js
index cbdaedd..13e957c 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -774,6 +774,16 @@ export const runshOrder = (params) => {
return postRequest('/mall/delivery/reassignWorker', params)
}
+// 指派/接取中转配送单
+export const transferAccept = (params) => {
+ return postRequest('/mall/delivery/transferAccept', params)
+}
+
+// 改派中转配送单
+export const transferReassign = (params) => {
+ return postRequest('/mall/delivery/transferReassign', params)
+}
+
// 配送单转单记录
export const getDeliveryReassignRecords = (params) => {
return getRequest('/mall/delivery/reassignRecords', params)
diff --git a/src/views/app/business/deliverytruck/deliveryTruck.vue b/src/views/app/business/deliverytruck/deliveryTruck.vue
index 30ac74c..4edb9b3 100644
--- a/src/views/app/business/deliverytruck/deliveryTruck.vue
+++ b/src/views/app/business/deliverytruck/deliveryTruck.vue
@@ -298,7 +298,7 @@ export default {
{ title: '发布人', key: 'userName', width: 130 },
{ title: '类型', width: 120, render: (h, p) => h('Tag', p.row.postType === 'partner' ? this.partnerText(p.row.partnerType) : '校园墙') },
{ title: '分类', key: 'categoryName', width: 120 },
- { title: '审核', key: 'auditStatus', width: 90, render: (h, p) => h('Tag', { props: { color: this.auditColor(p.row.auditStatus) } }, this.auditText(p.row.auditStatus)) },
+ { title: '审核', key: 'auditStatus', width: 110, render: (h, p) => h('Tag', { props: { color: this.auditColor(p.row.auditStatus) } }, this.auditText(p.row.auditStatus)) },
{ title: '热度', key: 'hotScore', width: 90, sortable: true },
{ title: '赞/评/举报', width: 120, render: (h, p) => h('span', `${p.row.likeCount || 0}/${p.row.commentCount || 0}/${p.row.complaintCount || 0}`) },
{ title: '浏览', key: 'browseCount', width: 80 },
diff --git a/src/views/app/business/expressCompany/expressCompany.vue b/src/views/app/business/expressCompany/expressCompany.vue
index 764fc2d..a5f04ef 100644
--- a/src/views/app/business/expressCompany/expressCompany.vue
+++ b/src/views/app/business/expressCompany/expressCompany.vue
@@ -299,7 +299,7 @@ export default {
{ title: "发布人", key: "userName", width: 130 },
{ title: "分类", key: "categoryName", width: 100 },
{ title: "价格", key: "price", width: 90 },
- { title: "审核", key: "auditStatus", width: 90, render: (h, p) => h("Tag", { props: { color: this.auditColor(p.row.auditStatus) } }, this.auditText(p.row.auditStatus)) },
+ { title: "审核", key: "auditStatus", width: 110, render: (h, p) => h("Tag", { props: { color: this.auditColor(p.row.auditStatus) } }, this.auditText(p.row.auditStatus)) },
{ title: "状态", key: "status", width: 100, render: (h, p) => h("Tag", { props: { color: this.goodsStatusColor(p.row.status) } }, this.goodsStatusText(p.row.status)) },
{ title: "举报", key: "complaintCount", width: 80 },
{ title: "浏览", key: "browseCount", width: 80 },
diff --git a/src/views/app/business/logistics/logistics.vue b/src/views/app/business/logistics/logistics.vue
index 10e382b..23fd5a6 100644
--- a/src/views/app/business/logistics/logistics.vue
+++ b/src/views/app/business/logistics/logistics.vue
@@ -99,6 +99,8 @@