diff --git a/src/api/order/orderInfo.js b/src/api/order/orderInfo.js
index 3d8d86a..fe07c14 100644
--- a/src/api/order/orderInfo.js
+++ b/src/api/order/orderInfo.js
@@ -76,6 +76,22 @@ export default {
data: orderInfo
})
},
+ getMainDataOne() {
+ // 首页订单数据
+ return request({
+ url: `/${service_name}/${group_name}/getMainData1`,
+ method: 'post'
+ // data: orderInfo
+ })
+ },
+ getMainDataTwo(time) {
+ // 首页订单统计
+ return request({
+ url: `/${service_name}/${group_name}/getMainData2`,
+ method: 'post',
+ data: time
+ })
+ },
exportExcel(page) {
// 导出
return request({
@@ -85,6 +101,15 @@ export default {
responseType: 'blob'
})
},
+ RefundexportExcel(page) {
+ // 导出
+ return request({
+ url: `/${service_name}/${group_name}/getRefundOrderExport`,
+ method: 'post',
+ data: page,
+ responseType: 'blob'
+ })
+ },
deleteById(id) {
// 根据id删除
return request({
diff --git a/src/views/dashboard/admin/index.vue b/src/views/dashboard/admin/index.vue
index f4e1628..42b3152 100644
--- a/src/views/dashboard/admin/index.vue
+++ b/src/views/dashboard/admin/index.vue
@@ -12,25 +12,25 @@
今日订单总数
-
200
+
{{ orderData.total }}
- 待核销订单
- (10)
+ 待退款订单
+ ({{ orderData.daiTuiKuan }})
- 已核销订单
- (10)
+ 待核销订单
+ ({{ orderData.daiHeXiao }})
- 已完成订单
- (10)
+ 已核销订单
+ ({{ orderData.yiHeXiao }})
- 待退款订单
- (10)
+ 已退款订单
+ ({{ orderData.yiTuiKuan }})
@@ -104,12 +104,12 @@
本月订单总数
-
10000
+
{{ month }}
10% 同比上周
本周订单数量
-
10000
+
{{ week }}
10% 同比上周
@@ -128,7 +128,7 @@
:picker-options="pickerOptions"
>
- 查询
+ 查询
@@ -142,6 +142,7 @@
diff --git a/src/views/order/orderListDetail.vue b/src/views/order/orderListDetail.vue
index fc2abd4..7fdbc76 100644
--- a/src/views/order/orderListDetail.vue
+++ b/src/views/order/orderListDetail.vue
@@ -4,7 +4,7 @@
当前订单状态:{{ detailData.orderStatus | orderStatus }}
-
+
{{ detailData.orderCode }}
{{ detailData.customerPhone }}
{{ detailData.integral }}
@@ -13,13 +13,13 @@
{{ detailData.takeCode }}
-
+
{{ detailData.customerName }}
{{ detailData.customerPhone }}
{{ detailData.remark || '暂无' }}
- 商品信息
+ 商品信息
- 操作信息
+ 操作信息
@@ -291,7 +291,7 @@ export default {
.label_width {
width: 400px;
}
-.text {
+.orderText {
font-size: 16px;
font-weight: bold;
margin-top: 20px;
diff --git a/src/views/order/orderRefundList.vue b/src/views/order/orderRefundList.vue
index 3fa5412..3593edb 100644
--- a/src/views/order/orderRefundList.vue
+++ b/src/views/order/orderRefundList.vue
@@ -247,7 +247,7 @@ export default {
const searchParam = { ...this.page }
searchParam.pageSize = endIndex
searchParam.currentPage = this.output.startPage
- orderInfoApi.getRefundOrder(searchParam).then(res => {
+ orderInfoApi.RefundexportExcel(searchParam).then(res => {
const link = document.createElement('a')
// 创建Blob对象,设置文件类型
const blob = new Blob([res], { type: 'application/vnd.ns-excel' }) // MIME类型
diff --git a/src/views/order/orderRefundListDetail.vue b/src/views/order/orderRefundListDetail.vue
index 3fbe360..4716620 100644
--- a/src/views/order/orderRefundListDetail.vue
+++ b/src/views/order/orderRefundListDetail.vue
@@ -1,7 +1,7 @@
- 退货商品
+ 退货商品
-
+
{{ detailData.id }}
{{ detailData.refundStatus | refundStatus }}
{{ detailData.orderCode }}
@@ -49,7 +49,7 @@
{{ detailData.refundMark }}
-
+
{{ OrderInfoRecord.customerName }}
{{ OrderInfoRecord.createTime }}
{{ OrderInfoRecord.remark }}
@@ -275,7 +275,7 @@ export default {
.label_width {
width: 400px;
}
-.text {
+.orderText {
font-size: 16px;
font-weight: bold;
margin-top: 20px;