From fef9ee2c3fb574406397dc4cc048141385e72415 Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Sun, 12 Jul 2026 17:55:06 +0800
Subject: [PATCH] 1
---
public/index.html | 6 +-
src/api/app.js | 6 +
src/api/planet.js | 2 +-
src/views/app/bill/current/current.vue | 172 +++++-
src/views/app/bill/historical/historical.vue | 511 ++++++++----------
src/views/app/bill/success/success.vue | 485 +++++++----------
src/views/app/business/bus/bus.vue | 10 +-
src/views/app/business/courier/courier.vue | 5 -
.../app/business/logistics/logistics.vue | 58 +-
src/views/app/business/luckey/luckey.vue | 147 ++---
src/views/app/shop/shop.vue | 36 +-
src/views/app/shopArea/shopArea.vue | 36 +-
.../sys/order-manage/logisticsAddress.vue | 7 +
vue.config.js | 4 +-
14 files changed, 735 insertions(+), 750 deletions(-)
diff --git a/public/index.html b/public/index.html
index 145c372..dbb98ca 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,9 +6,9 @@
-
大红门物业
-
-
+ 半径里
+
+
diff --git a/src/api/app.js b/src/api/app.js
index efd15f9..fea8bc2 100644
--- a/src/api/app.js
+++ b/src/api/app.js
@@ -193,6 +193,12 @@ export const getCouponData = (params) => {
export const getBillList = (params) => {
return postBodyRequest('/mall/admin/settlement/summaryList', params)
}
+export const getBillDateSummaryList = (params) => {
+ return postBodyRequest('/mall/admin/settlement/dateSummaryList', params)
+}
+export const getBillDetailList = (params) => {
+ return postBodyRequest('/mall/admin/settlement/detailList', params)
+}
export const settlementConfirm = (params) => {
return postBodyRequest('/mall/admin/settlement/confirmByShop', params)
}
diff --git a/src/api/planet.js b/src/api/planet.js
index 01d2993..04b5274 100644
--- a/src/api/planet.js
+++ b/src/api/planet.js
@@ -79,4 +79,4 @@ export const planetAdventureEventPage = (params) => getRequest(`${PREFIX}/advent
export const planetAdventureEventSave = (params) => postBodyRequest(`${PREFIX}/adventure/event/save`, params);
export const planetAdventureEventDelete = (id) => postRequest(`${PREFIX}/adventure/event/delete`, { id });
export const planetAdventureRankPage = (params) => getRequest(`${PREFIX}/adventure/rank/page`, params);
-export const planetAdventureSessionPage = (params) => getRequest(`${PREFIX}/adventure/session/page`, params);
+export const planetAdventureRewardPage = (params) => postBodyRequest('/mall/coupon/selectRewardByRegionId', params);
diff --git a/src/views/app/bill/current/current.vue b/src/views/app/bill/current/current.vue
index 2570fc2..d2545f4 100644
--- a/src/views/app/bill/current/current.vue
+++ b/src/views/app/bill/current/current.vue
@@ -11,13 +11,13 @@
-
+
-
+
@@ -27,11 +27,23 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -39,11 +51,15 @@
\ No newline at end of file
+
diff --git a/src/views/app/bill/success/success.vue b/src/views/app/bill/success/success.vue
index 7dc9dcd..a193ad4 100644
--- a/src/views/app/bill/success/success.vue
+++ b/src/views/app/bill/success/success.vue
@@ -5,86 +5,52 @@
-
-
-
-
-
-
+
+
+
+ 账单日期:{{ currentDate }}
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
-
-
-
@@ -92,268 +58,201 @@
\ No newline at end of file
+
diff --git a/src/views/app/business/bus/bus.vue b/src/views/app/business/bus/bus.vue
index 7e4cade..87b4a52 100644
--- a/src/views/app/business/bus/bus.vue
+++ b/src/views/app/business/bus/bus.vue
@@ -256,12 +256,12 @@
{
title: "抵扣面额",
key: "discountAmount",
- minWidth: 100,
+ minWidth: 80,
},
{
title: "剩余数量",
key: "remainCount",
- width: 100,
+ width: 80,
},
{
title: "有效期",
@@ -285,7 +285,7 @@
{
title: "适用场景",
key: "applyScene",
- width: 150,
+ width: 100,
render: (h, params) => {
let re = ""
if (params.row.applyScene == 0) {
@@ -306,12 +306,12 @@
{
title: "总数量",
key: "totalCount",
- width: 150,
+ width: 100,
},
{
title: "发放方",
key: "issuerType",
- width: 150,
+ width: 100,
render: (h, params) => {
let re = ""
if (params.row.issuerType == 2) {
diff --git a/src/views/app/business/courier/courier.vue b/src/views/app/business/courier/courier.vue
index 8e86985..39c9df9 100644
--- a/src/views/app/business/courier/courier.vue
+++ b/src/views/app/business/courier/courier.vue
@@ -190,11 +190,6 @@
width: 60,
align: "center",
fixed: "left",
- },
- {
- title: "配送员编号",
- key: "workerId",
- minWidth: 125,
},
{
title: "配送员名称",
diff --git a/src/views/app/business/logistics/logistics.vue b/src/views/app/business/logistics/logistics.vue
index d464620..53f3198 100644
--- a/src/views/app/business/logistics/logistics.vue
+++ b/src/views/app/business/logistics/logistics.vue
@@ -1,4 +1,4 @@
-
@@ -326,7 +326,7 @@
on: {
click: () => this.goTransferOrder(params.row)
}
- }, "选择")
+ }, "指派")
])
}];
},
@@ -336,16 +336,31 @@
width: 60,
align: "center",
fixed: "left",
- }, {
- title: "订单编号",
- key: "numberCode",
- width: 140,
+ }, {
+ title: "订单时间",
+ key: "createTime",
+ width: 170,
align: "center",
- render: (h, params) => h("span", this.getOrderNo(params.row))
- }, {
+ render: (h, params) => h("span", this.formatDateTime(params.row.createTime))
+ },{
+ title: "送达时间",
+ key: "mustFinishTime",
+ width: 180,
+ align: "center",
+ render: (h, params) => h("div", [
+ h("Tag", {
+ props: {
+ color: this.isNearMustFinishTime(params.row) ? "red" : "green"
+ }
+ }, this.formatDateTime(params.row.mustFinishTime)),
+ this.isNearMustFinishTime(params.row) ? h("div", {
+ style: { color: "#ed4014", marginTop: "4px" }
+ }, this.getMustFinishWarningText(params.row)) : null
+ ])
+ },{
title: "配送类型",
key: "deliveryType",
- width: 170,
+ width: 100,
align: "center",
render: (h, params) => this.renderDeliveryTags(h, params.row)
}, {
@@ -361,7 +376,7 @@
}, {
title: "订单状态",
key: "status",
- width: 110,
+ width: 80,
align: "center",
render: (h, params) => h("Tag", {
props: {
@@ -384,28 +399,7 @@
align: "center",
sortable: "custom",
render: (h, params) => this.renderFee(h, params.row)
- }, {
- title: "送达时间",
- key: "mustFinishTime",
- width: 180,
- align: "center",
- render: (h, params) => h("div", [
- h("Tag", {
- props: {
- color: this.isNearMustFinishTime(params.row) ? "red" : "green"
- }
- }, this.formatDateTime(params.row.mustFinishTime)),
- this.isNearMustFinishTime(params.row) ? h("div", {
- style: { color: "#ed4014", marginTop: "4px" }
- }, this.getMustFinishWarningText(params.row)) : null
- ])
- }, {
- title: "订单时间",
- key: "createTime",
- width: 170,
- align: "center",
- render: (h, params) => h("span", this.formatDateTime(params.row.createTime))
- }, {
+ }, {
title: "操作",
key: "action",
width: 180,
diff --git a/src/views/app/business/luckey/luckey.vue b/src/views/app/business/luckey/luckey.vue
index aaab903..914bc24 100644
--- a/src/views/app/business/luckey/luckey.vue
+++ b/src/views/app/business/luckey/luckey.vue
@@ -19,6 +19,24 @@
@on-change="p => changePage('pool', p)" size="small" show-total>
+
+
+
+
+
+ changePage('draw', p)" size="small" show-total>
+
+
+
+
+
+
+
+ changePage('winner', p)" size="small" show-total>
+
+
@@ -29,15 +47,38 @@
@on-change="p => changePage('task', p)" size="small" show-total>
+
+
+
+
+ changePage('adventureRank', p)" size="small" show-total>
+
+
+
+
+
+ changePage('adventureSession', p)" size="small" show-total>
+
+
-
+
+
+
+
+
+ changePage('college', p)" size="small" show-total>
+
@@ -49,14 +90,14 @@
@on-change="p => changePage('tree', p)" size="small" show-total>
-
+
@@ -65,38 +106,31 @@
@on-change="p => changePage('tower', p)" size="small" show-total>
-
+
+
+
+
@@ -105,74 +139,45 @@
-
+
+
-
+
-
+
-
+
-
-
-
- changePage('draw', p)" size="small" show-total>
-
-
+ -->
-
-
-
-
- changePage('winner', p)" size="small" show-total>
-
-
+
@@ -381,7 +386,7 @@
planetCollegePage, planetCollegeSave, planetCollegeDelete,
planetEconomyPage,
planetAdventureEventPage, planetAdventureEventSave, planetAdventureEventDelete,
- planetAdventureRankPage, planetAdventureSessionPage
+ planetAdventureRankPage, planetAdventureRewardPage
} from '@/api/planet';
export default {
@@ -527,10 +532,10 @@
return h('div', [
h('Button', { props: { type: 'text', size: 'small' }, on: { click: () => this.openPool(params.row) } }, '编辑'),
h('Button', { props: { type: 'text', size: 'small' }, on: { click: () => this.openReward(params.row) } }, '奖项'),
- h('Button', {
+ /* h('Button', {
props: { type: 'text', size: 'small', disabled: params.row.status === 1 },
on: { click: () => this.doManualDraw(params.row) }
- }, '手动开奖'),
+ }, '手动开奖'), */
h('Button', { props: { type: 'text', size: 'small' }, style: { color: '#ed4014' }, on: { click: () => this.delPool(params.row) } }, '删除')
])
}
@@ -769,15 +774,12 @@
},
adventureSessionColumns() {
return [
- { title: '用户', key: 'nickname', minWidth: 120 },
- { title: '日期', key: 'playDate', width: 120 },
- { title: '分数', key: 'score', width: 90 },
- { title: '耗时', key: 'durationSeconds', width: 80 },
- { title: '免费局', width: 80, render: (h, p) => h('span', p.row.freeUsed === 1 ? '是' : '否') },
- { title: '扣券', key: 'costTickets', width: 80 },
- { title: '异常', minWidth: 80, render: (h, p) => h('Tag', { props: { color: p.row.cheatFlag === 'Y' ? 'red' : 'green' } }, p.row.cheatFlag === 'Y' ? '异常' : '正常') },
- { title: '原因', key: 'cheatReason', minWidth: 160 },
- { title: '时间', key: 'createTime', minWidth: 160 }
+ { title: '手机号', key: 'mobile', minWidth: 120 },
+ { title: '用户ID', key: 'linkUserId', minWidth: 120 },
+ { title: '奖励金额', key: 'amount', width: 100 },
+ { title: '交易方式/附言', key: 'dealingsWay', minWidth: 150 },
+ { title: '备注', key: 'remark', minWidth: 180 },
+ { title: '发放时间', key: 'dealingsTime', minWidth: 160 }
]
}
},
@@ -877,7 +879,14 @@
loadEconomy() { if (!this.guardRegion('economy')) return; this.economy.loading = true; planetEconomyPage(this.baseParams('economy')).then(r => this.fill('economy', r)) },
loadAdventureEvent() { if (!this.guardRegion('adventureEvent')) return; this.adventureEvent.loading = true; planetAdventureEventPage(this.baseParams('adventureEvent')).then(r => this.fill('adventureEvent', r)) },
loadAdventureRank() { if (!this.guardRegion('adventureRank')) return; this.adventureRank.loading = true; planetAdventureRankPage(this.baseParams('adventureRank')).then(r => this.fill('adventureRank', r)) },
- loadAdventureSession() { if (!this.guardRegion('adventureSession')) return; this.adventureSession.loading = true; planetAdventureSessionPage(this.baseParams('adventureSession')).then(r => this.fill('adventureSession', r)) },
+ loadAdventureSession() {
+ if (!this.guardRegion('adventureSession')) return
+ this.adventureSession.loading = true
+ planetAdventureRewardPage(Object.assign({}, this.baseParams('adventureSession'), {
+ pageNum: this.adventureSession.pageNumber,
+ dealingsWay: '学院排位赛排名奖励'
+ })).then(r => this.fill('adventureSession', r))
+ },
// ---- 奖池 ----
openPool(row) {
this.poolForm = row ? Object.assign({}, row) : {
diff --git a/src/views/app/shop/shop.vue b/src/views/app/shop/shop.vue
index 36ce685..2d9de72 100644
--- a/src/views/app/shop/shop.vue
+++ b/src/views/app/shop/shop.vue
@@ -20,7 +20,6 @@
-
@@ -187,16 +186,10 @@
key: "shopTypeTitle",
minWidth: 120,
},
- {
- title: "店铺地址",
- key: "shopAddress",
- minWidth: 125,
- sortable: true,
- },
{
title: "联系方式",
key: "contactPhone",
- minWidth: 180,
+ minWidth: 130,
sortable: true,
},
{
@@ -218,6 +211,33 @@
sortType: "desc",
width: 180,
},
+ {
+ title: "店铺地址",
+ key: "shopAddress",
+ width: 220,
+ sortable: true,
+ render: (h, params) => {
+ const address = params.row.shopAddress || "";
+ return h("Tooltip", {
+ props: {
+ content: address,
+ transfer: true,
+ placement: "top",
+ }
+ }, [
+ h("span", {
+ style: {
+ display: "inline-block",
+ width: "100%",
+ overflow: "hidden",
+ textOverflow: "ellipsis",
+ whiteSpace: "nowrap",
+ verticalAlign: "middle",
+ },
+ }, address)
+ ]);
+ },
+ },
{
title: "操作",
key: "action",
diff --git a/src/views/app/shopArea/shopArea.vue b/src/views/app/shopArea/shopArea.vue
index fd8df68..992df02 100644
--- a/src/views/app/shopArea/shopArea.vue
+++ b/src/views/app/shopArea/shopArea.vue
@@ -18,10 +18,10 @@
type="primary"
icon="md-add"
v-show="showType == 'tree'"
- >添加子圈层添加子区域
添加一级区域
@@ -29,7 +29,7 @@
v-model="searchKey"
suffix="ios-search"
@on-change="search"
- placeholder="输入圈层名搜索"
+ placeholder="输入区域名搜索"
clearable
style="width: 250px"
v-show="showType == 'list'"
@@ -71,7 +71,7 @@
v-model="searchKey"
suffix="ios-search"
@on-change="search"
- placeholder="输入圈层名搜索"
+ placeholder="输入区域名搜索"
clearable
/>
@@ -97,7 +97,7 @@
:label-width="100"
:rules="formValidate"
>
-
+
-
+
-
+
@@ -212,9 +212,9 @@
:rules="formValidate"
>
- {{ addParentTitle }}
+ {{ addParentTitle }}
-
+
@@ -341,7 +341,7 @@ export default {
align: "center",
},
{
- title: "圈层名称",
+ title: "区域名称",
key: "title",
minWidth: 120,
sortable: true,
@@ -377,7 +377,7 @@ export default {
},
},
},
- "添加子圈层"
+ "添加子区域"
),
h("Divider", {
props: {
@@ -471,7 +471,7 @@ export default {
// 头部加入一级
let first = {
id: "0",
- title: "一级圈层",
+ title: "一级区域",
};
res.result.unshift(first);
this.dataEdit = res.result;
@@ -582,7 +582,7 @@ export default {
this.$refs.form.validate((valid) => {
if (valid) {
if (!this.form.id) {
- this.$Message.warning("请先点击选择要修改的圈层");
+ this.$Message.warning("请先点击选择要修改的区域");
return;
}
this.submitLoading = true;
@@ -618,7 +618,7 @@ export default {
add() {
if (this.form.id == "" || this.form.id == null) {
if (this.isDepartmentAgent) {
- this.modalTitle = "添加子圈层";
+ this.modalTitle = "添加子区域";
this.showParent = true;
this.addParentTitle = this.userDepartmentTitle;
this.formAdd = {
@@ -630,10 +630,10 @@ export default {
this.modalVisible = true;
return;
}
- this.$Message.warning("请先点击选择一个圈层");
+ this.$Message.warning("请先点击选择一个区域");
return;
}
- this.modalTitle = "添加子圈层";
+ this.modalTitle = "添加子区域";
this.showParent = true;
this.addParentTitle = this.form.title;
if (!this.form.children) {
@@ -651,7 +651,7 @@ export default {
if (this.isDepartmentAgent) {
return;
}
- this.modalTitle = "添加一级圈层";
+ this.modalTitle = "添加一级区域";
this.showParent = false;
this.addParentTitle = "";
this.formAdd = {
diff --git a/src/views/sys/order-manage/logisticsAddress.vue b/src/views/sys/order-manage/logisticsAddress.vue
index a7a9338..49929a9 100644
--- a/src/views/sys/order-manage/logisticsAddress.vue
+++ b/src/views/sys/order-manage/logisticsAddress.vue
@@ -5,6 +5,7 @@
订单信息
订单编号:{{orderData.numberCode}}
支付订单编号:{{'ORDER'+orderData.id}}
+ 订单类型:{{getOrderTypeText(orderData.orderType)}}
订单状态:{{getOrderStatusText(orderData)}}
创建时间:{{orderData.createTime | formatDateTime}}
支付时间:{{orderData.payTime | formatDateTime}}
@@ -368,6 +369,12 @@
if (status == 5) return "拒绝售后";
return "";
},
+ getOrderTypeText(orderType) {
+ if (orderType == 1) return "直接购买";
+ if (orderType == 2) return "拼团购买";
+ if (orderType == 3) return "面对面团";
+ return "";
+ },
getOrderStatusText(item) {
if (!item) return "";
if (item.status == 0) return "待支付";
diff --git a/vue.config.js b/vue.config.js
index cc370ea..162255a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -7,8 +7,8 @@ module.exports = {
port: 8889,
proxy: {
'/hiver': {
- target: 'https://hbkuaishi.com', // 正式1
- // target: 'http://192.168.100.34:8888', // 本地
+ // target: 'https://hbkuaishi.com', // 正式1
+ target: 'http://192.168.100.34:8888', // 本地
ws: false
},
'/foo': {