From 9f94c2013a770efed674ddbf6ce72321d4b9426e Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Fri, 22 Sep 2023 10:49:11 +0800 Subject: [PATCH 01/13] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E5=95=86?= =?UTF-8?q?=E5=93=81=E9=80=89=E6=8B=A9=E5=99=A8=EF=BC=8C=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=99=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/lili-dialog/goods-dialog.vue | 54 ++++++++++--------- manager/src/components/lili-dialog/style.scss | 10 ++-- .../components/lili-dialog/template/shops.vue | 35 +++++++----- 3 files changed, 57 insertions(+), 42 deletions(-) diff --git a/manager/src/components/lili-dialog/goods-dialog.vue b/manager/src/components/lili-dialog/goods-dialog.vue index 9d87e1fa..f5530563 100644 --- a/manager/src/components/lili-dialog/goods-dialog.vue +++ b/manager/src/components/lili-dialog/goods-dialog.vue @@ -46,10 +46,8 @@
-
{{ item.goodsName }}
-
{{ item.goodsUnit }}
-
{{item.salesModel === "RETAIL" ? "零售型" : "批发型"}}
+ +
{{ item.goodsUnit }}{{item.salesModel === "RETAIL" ? "零售型" : "批发型"}}
¥{{ item.price | unitPrice }}
@@ -73,7 +71,18 @@
暂无商品信息
- +
+ +
@@ -89,7 +98,7 @@ export default { goodsParams: { // 商品请求参数 pageNumber: 1, - pageSize: 18, + pageSize: 15, order: "desc", goodsName: "", sn: "", @@ -135,17 +144,9 @@ export default { this.init(); }, methods: { - // 触底加载更多方法 - handleReachBottom() { - setTimeout(() => { - if ( - this.goodsParams.pageNumber * this.goodsParams.pageSize <= - this.total - ) { - this.goodsParams.pageNumber++; - this.getQueryGoodsList(); - } - }, 1500); + changePageSize(v){ + this.goodsParams.pageNumber = v; + this.getQueryGoodsList(); }, // 获取商品列表 getQueryGoodsList() { @@ -169,7 +170,7 @@ export default { * 解决数据请求中,滚动栏会一直上下跳动 */ this.total = res.result.total; - this.goodsData.push(...res.result.records); + this.goodsData = res.result.records; } else { this.empty = true; } @@ -180,13 +181,11 @@ export default { // 商品 this.initGoods(res); }); - if (localStorage.getItem("category")) { - this.deepGroup(JSON.parse(localStorage.getItem("category"))); - } else { - setTimeout(() => { - this.deepGroup(JSON.parse(localStorage.getItem("category"))); - }, 3000); - } + API_Goods.getCategoryTree({deleteFlag: false}).then((res) => { + if (res.success) { + this.deepGroup(res.result); + } + }); }, deepGroup(val) { @@ -271,7 +270,10 @@ export default { padding: 0; } .wap-content-list { + display: flex; position: relative; + flex-wrap: wrap; + height: 340px; } .wap-content-item { width: 210px; diff --git a/manager/src/components/lili-dialog/style.scss b/manager/src/components/lili-dialog/style.scss index 2e40c4fa..d4f866f9 100644 --- a/manager/src/components/lili-dialog/style.scss +++ b/manager/src/components/lili-dialog/style.scss @@ -21,7 +21,8 @@ font-size: 12px; color: #999; overflow: hidden; - + display: flex; + align-items: center; text-overflow: ellipsis; white-space: nowrap; @@ -65,13 +66,16 @@ background: #ededed; } - +.pageration { + text-align: right; + padding-right: 20px; +} .wap-content-item { cursor: pointer; display: flex; - height: 100px; + height: 90px; padding: 2px; overflow: hidden; align-items: center; diff --git a/manager/src/components/lili-dialog/template/shops.vue b/manager/src/components/lili-dialog/template/shops.vue index fae0ad50..db841d38 100644 --- a/manager/src/components/lili-dialog/template/shops.vue +++ b/manager/src/components/lili-dialog/template/shops.vue @@ -13,7 +13,7 @@
- +
@@ -26,7 +26,18 @@
- +
+ +
@@ -40,7 +51,7 @@ export default { total: "", // 总数 params: { // 请求参数 pageNumber: 1, - pageSize: 10, + pageSize: 12, storeDisable: "OPEN", storeName: "", }, @@ -54,13 +65,9 @@ export default { this.init(); }, methods: { - handleReachBottom() { - setTimeout(() => { - if (this.params.pageNumber * this.params.pageSize <= this.total) { - this.params.pageNumber++; - this.init(); - } - }, 1500); + changePageSize(v){ + this.params.pageNumber = v; + this.init(); }, init() { this.loading = true; @@ -71,7 +78,7 @@ export default { */ this.total = res.result.total; - this.shopsData.push(...res.result.records); + this.shopsData = res.result.records; this.loading = false; } @@ -95,13 +102,15 @@ export default { color: #999; } .wap-content-list { + display: flex; flex-wrap: wrap; + height: 340px; } + .shop-logo { object-fit: cover; } -.wap-content-item { -} + .active { background: url("../../../assets/selected.png") no-repeat; background-position: right; From ed72c2ffc25d3558f01f8a232f888d77e984f92f Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Fri, 22 Sep 2023 11:51:18 +0800 Subject: [PATCH 02/13] =?UTF-8?q?style:=20=E5=85=B3=E9=97=AD=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E5=88=97=E8=A1=A8=E5=9C=A8=E6=A5=BC=E5=B1=82=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E7=AB=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/page/article-manage/articleList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue index b6c5285d..1987170c 100644 --- a/manager/src/views/page/article-manage/articleList.vue +++ b/manager/src/views/page/article-manage/articleList.vue @@ -36,7 +36,7 @@ - + Date: Mon, 25 Sep 2023 10:05:41 +0800 Subject: [PATCH 03/13] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=B7=B2=E7=9F=A5=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/page-decoration/renovation.vue | 8 +++++++- seller/src/views/shop/renovation.vue | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/manager/src/views/page-decoration/renovation.vue b/manager/src/views/page-decoration/renovation.vue index 546a0592..3a63cfe3 100644 --- a/manager/src/views/page-decoration/renovation.vue +++ b/manager/src/views/page-decoration/renovation.vue @@ -15,7 +15,7 @@ -
+
@@ -35,6 +35,8 @@ export default { ModelForm, }, mounted() { + const setting = window.localStorage.getItem('admin-setting') ? JSON.parse(window.localStorage.getItem('admin-setting')) : {}; + this.isHiddenBar = setting.isUseTabsRouter // 先读缓存,如果缓存有值则读缓存。 const cache = this.getStore('managerPCPageCache') this.hasCache = !!cache; @@ -71,6 +73,7 @@ export default { modelData, // 可选模块数据 modelForm: { list: [] }, // 模板数据 submitLoading: false, // 提交加载状态 + isHiddenBar:true, }; }, methods: { @@ -219,6 +222,9 @@ export default { padding: 10px; box-shadow: 1px 1px 10px #999; z-index: 99; + +} +.top{ top: 100px; } diff --git a/seller/src/views/shop/renovation.vue b/seller/src/views/shop/renovation.vue index 3dc42949..0a267633 100644 --- a/seller/src/views/shop/renovation.vue +++ b/seller/src/views/shop/renovation.vue @@ -23,7 +23,7 @@
-
+
@@ -44,6 +44,8 @@ export default { ModelForm, }, mounted() { + const setting = window.localStorage.getItem('admin-setting') ? JSON.parse(window.localStorage.getItem('admin-setting')) : {}; + this.isHiddenBar = setting.isUseTabsRouter // 先读缓存,如果缓存有值则读缓存。 const cache = this.getStore('sellerPCPageCache') this.hasCache = !!cache; @@ -80,6 +82,7 @@ export default { modelData, // 可选模块数据 modelForm: { list: [] }, // 模板数据 submitLoading: false, // 提交加载状态 + isHiddenBar:true, }; }, methods: { @@ -225,4 +228,7 @@ export default { z-index: 99; top: 100px; } +.top{ + top: 100px; +} From 525838468c4bcd193021909b15e8e895e1040ca9 Mon Sep 17 00:00:00 2001 From: Chopper711 Date: Mon, 25 Sep 2023 11:58:34 +0800 Subject: [PATCH 04/13] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E8=8F=9C=E5=8D=95=E7=BB=B4=E6=8A=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/sys/menu-manage/menu.vue | 576 +++++++++++++++++ .../src/views/sys/menu-manage/menuManage.vue | 582 +----------------- .../src/views/sys/menu-manage/storeMenu.vue | 576 +++++++++++++++++ 3 files changed, 1167 insertions(+), 567 deletions(-) create mode 100644 manager/src/views/sys/menu-manage/menu.vue create mode 100644 manager/src/views/sys/menu-manage/storeMenu.vue diff --git a/manager/src/views/sys/menu-manage/menu.vue b/manager/src/views/sys/menu-manage/menu.vue new file mode 100644 index 00000000..ee6f2b63 --- /dev/null +++ b/manager/src/views/sys/menu-manage/menu.vue @@ -0,0 +1,576 @@ + + + + diff --git a/manager/src/views/sys/menu-manage/menuManage.vue b/manager/src/views/sys/menu-manage/menuManage.vue index 930e2b89..092b201a 100644 --- a/manager/src/views/sys/menu-manage/menuManage.vue +++ b/manager/src/views/sys/menu-manage/menuManage.vue @@ -1,576 +1,24 @@ - - diff --git a/manager/src/views/sys/menu-manage/storeMenu.vue b/manager/src/views/sys/menu-manage/storeMenu.vue new file mode 100644 index 00000000..c9b3ba9e --- /dev/null +++ b/manager/src/views/sys/menu-manage/storeMenu.vue @@ -0,0 +1,576 @@ + + + + From b2b56178a25959206ce8f50bb14fea034d8bae0d Mon Sep 17 00:00:00 2001 From: Chopper711 Date: Mon, 25 Sep 2023 12:05:05 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90url?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/sys/menu-manage/menu.vue | 2 +- manager/src/views/sys/menu-manage/storeMenu.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/src/views/sys/menu-manage/menu.vue b/manager/src/views/sys/menu-manage/menu.vue index ee6f2b63..cb893773 100644 --- a/manager/src/views/sys/menu-manage/menu.vue +++ b/manager/src/views/sys/menu-manage/menu.vue @@ -107,7 +107,7 @@ - + diff --git a/manager/src/views/sys/menu-manage/storeMenu.vue b/manager/src/views/sys/menu-manage/storeMenu.vue index c9b3ba9e..6eeae686 100644 --- a/manager/src/views/sys/menu-manage/storeMenu.vue +++ b/manager/src/views/sys/menu-manage/storeMenu.vue @@ -107,7 +107,7 @@ - + From 4ef2496221ade2db1e1da5133f1b42cec817a0eb Mon Sep 17 00:00:00 2001 From: Chopper711 Date: Mon, 25 Sep 2023 12:13:07 +0800 Subject: [PATCH 06/13] =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E7=AE=A1api=20=E8=A1=A5=E5=85=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 2c90493a..247d9fe6 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -261,6 +261,38 @@ export const searchPermission = (params) => { /****************************** 权限结束 */ +/****************************** 店铺权限 */ +// 获取全部权限数据 +export const getStoreAllPermissionList = (params) => { + return getRequest("/permission/storeMenu/tree", params); +}; + +// 获取全部权限数据 +export const getStoreCurrentPermissionList = (params) => { + return getRequest("/permission/storeMenu/memberMenu", params); +}; + +// 添加权限 +export const addStorePermission = (params) => { + return postRequest("/permission/storeMenu", params); +}; + +// 编辑权限 +export const editStorePermission = (params) => { + return putRequest(`/permission/storeMenu/${params.id}`, params); +}; +// 删除权限 +export const deleteStorePermission = (ids, params) => { + return deleteRequest(`/permission/storeMenu/${ids}`, params); +}; +// 搜索权限 +export const searchStorePermission = (params) => { + return getRequest("/permission/storeMenu", params); +}; + +/****************************** 权限结束 */ + + // 分页获取日志数据 export const getLogListData = (params) => { return getRequest("/setting/log/getAllByPage", params); From f968f3d20d9cbc1519888102ef203d3158c0f66e Mon Sep 17 00:00:00 2001 From: Chopper711 Date: Mon, 25 Sep 2023 15:02:57 +0800 Subject: [PATCH 07/13] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84PC=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BC=98=E5=8C=96=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=B1=95=E7=A4=BA=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/config/index.js | 6 +- .../pages/home/memberCenter/Distribution.vue | 148 +++++++++++++----- 2 files changed, 117 insertions(+), 37 deletions(-) diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index 9b2d07f9..2886fc11 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -19,5 +19,9 @@ module.exports = { aMapSwitch:false, //是否开启高德定位 enableCDN: true, //生产环境 是否启用cdn加载 vue等js port: 10000, //端口 - inputMaxLength:'140' //全局输入框默认最大输入长度字 + inputMaxLength:'140', //全局输入框默认最大输入长度字 + + + PC_DOMAIN: "https://pc-b2b2c.pickmall.cn", // PC端域名 + WAP_DOMAIN: "https://m-b2b2c.pickmall.cn", // WAP端域名 }; diff --git a/buyer/src/pages/home/memberCenter/Distribution.vue b/buyer/src/pages/home/memberCenter/Distribution.vue index 019b3b1c..1933950c 100644 --- a/buyer/src/pages/home/memberCenter/Distribution.vue +++ b/buyer/src/pages/home/memberCenter/Distribution.vue @@ -24,7 +24,7 @@ 提交申请 @@ -34,7 +34,7 @@ 您提交的信息正在审核 提交认证申请后,工作人员将在三个工作日进行核对完成审核
@@ -42,11 +42,11 @@
-

分销下线付款之后会生成分销订单。

-

- 冻结金额:用户提现金额即为冻结金额,审核通过后扣除冻结金额,审核拒绝之后冻结金额返回可提现金额。 -

-

可提现金额:分销订单佣金T+1解冻后可变为可提现金额。

+

分销下线付款之后会生成分销订单。

+

+ 冻结金额:用户提现金额即为冻结金额,审核通过后扣除冻结金额,审核拒绝之后冻结金额返回可提现金额。 +

+

可提现金额:分销订单佣金T+1解冻后可变为可提现金额。

@@ -54,7 +54,7 @@
@@ -102,13 +102,13 @@ size="small" style="margin-right: 5px" @click="fenxiao(row)" - >分销商品分销商品 取消选择
@@ -156,7 +156,7 @@ size="small" style="margin-right: 5px" @click="selectGoods(row.id, true)" - >选择商品选择商品 @@ -197,8 +197,8 @@ row.distributionCashStatus == "APPLY" ? "待处理" : row.distributionCashStatus == "VIA_AUDITING" - ? "通过" - : "拒绝" + ? "通过" + : "拒绝" }} @@ -222,11 +222,27 @@ 分销功能暂未开启 提交认证申请后,工作人员将在三个工作日进行核对完成审核 + +
+ + 您的分销资格已被清退。请联系管理员或进行申诉 + + +
+ +
+ + 您提交的申诉正在审核 + + +

@@ -234,7 +250,7 @@

@@ -243,21 +259,39 @@ 下载二维码或者复制链接分享商品 -
- - + > +
+
+ +
移动应用端
+ +
-
- 商品链接: + +
+ 商品链接:
@@ -280,6 +314,7 @@ export default { components: { vueQr }, data() { return { + config:require('@/config'), status: 0, // 申请状态,0为未申请 1 申请中 2 申请完成 3 功能暂未开启 applyForm: {}, // 申请表单 rules: { @@ -364,8 +399,10 @@ export default { order: "desc", }, qrcode: "", // 二维码 + qrcodeH5:"",//H5二维码 qrcodeShow: false, // 显示二维码 base64Img: "", // base64编码 + base64ImgH5: "", // base64H5编码 goodsNameCurr: "", // 当前分销商品名称 }; }, @@ -406,6 +443,10 @@ export default { // 二维码base64地址 this.base64Img = data64; }, + qrcodeDataH5(data64) { + // 二维码H5端base64地址 + this.base64ImgH5 = data64; + }, downloadQrcode() { // 下载二维码 let a = document.createElement("a"); // 生成一个a元素 @@ -414,6 +455,14 @@ export default { a.href = this.base64Img; // 将生成的URL设置为a.href属性 a.dispatchEvent(event); // 触发a的单击事件 }, + downloadQrcodeH5(){ + // 下载H5二维码 + let a = document.createElement("a"); // 生成一个a元素 + let event = new MouseEvent("click"); // 创建一个单击事件 + a.download = this.goodsNameCurr || "photo"; + a.href = this.base64ImgH5; // 将生成的URL设置为a.href属性 + a.dispatchEvent(event); // 触发a的单击事件 + }, tabPaneChange(tab) { // tab栏切换 if (tab === "goodsChecked") { @@ -453,7 +502,8 @@ export default { }, fenxiao(row) { // 分销商品 - this.qrcode = `${location.origin}/goodsDetail?skuId=${row.skuId}&goodsId=${row.goodsId}&distributionId=${this.result.id}`; + this.qrcode = `${this.config.PC_DOMAIN}/goodsDetail?skuId=${row.skuId}&goodsId=${row.goodsId}&distributionId=${this.result.id}`; + this.qrcodeH5 = `${this.config.WAP_DOMAIN}/pages/product/goods?skuId=${row.skuId}&goodsId=${row.goodsId}&distributionId=${this.result.id}`; this.goodsNameCurr = row.goodsName; this.qrcodeShow = true; }, @@ -469,19 +519,32 @@ export default { if (res.success) this.logData = res.result; }); }, + //申诉 + repaying(){ + applyDistribution().then((res) => { + this.applyLoading = false; + if (res.success) { + this.$Message.success("申诉已提交,请等待管理员审核"); + // this.status = 1; + } + }); + }, distribution() { // 获取分销商信息 distribution().then((res) => { if (res.result) { this.result = res.result; let type = res.result.distributionStatus; - if (type === "PASS") { this.status = 2; this.getGoodsData(); - } else if (type === "RETREAT" || type === "REFUSE") { + } else if ( type === "REFUSE") { this.status = 0; - } else { + } else if (type === "RETREAT") { + this.status = 4; + }else if (type === "APPEAL") { + this.status = 5; + }else { this.status = 1; } } else if (!res.data.success && res.data.code === 22000) { @@ -523,9 +586,11 @@ export default { } } .download-btn { - position: relative; - top: -200px; - left: 200px; + // position: relative; + // top: -200px; + // left: 200px; + margin-left: 25px; + margin-top: 5px } /deep/ .ivu-alert-message { p { @@ -540,4 +605,15 @@ export default { margin: 6px 0; } } +.qrcode{ + display: flex; + justify-content: space-evenly; + padding-top: 10px + +} +.qrcode-platform{ + text-align: center; + font-size: 14px; + margin: 5px; +} From cb210916ebf8c3798717d4a462821a83cdda1bed Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Tue, 26 Sep 2023 15:02:17 +0800 Subject: [PATCH 08/13] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E6=8A=95?= =?UTF-8?q?=E8=AF=89=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../after-order/afterSaleOrderDetail.vue | 50 +++++-------------- .../after-order/orderComplaintDetail.vue | 20 +++----- .../after-order/orderComplaintDetail.vue | 21 +++----- .../after-order/reurnGoodsOrderDetail.vue | 25 ++++------ 4 files changed, 36 insertions(+), 80 deletions(-) diff --git a/manager/src/views/order/after-order/afterSaleOrderDetail.vue b/manager/src/views/order/after-order/afterSaleOrderDetail.vue index 912326a6..a3299fc7 100644 --- a/manager/src/views/order/after-order/afterSaleOrderDetail.vue +++ b/manager/src/views/order/after-order/afterSaleOrderDetail.vue @@ -5,6 +5,19 @@

退货申请

+
+
退货商品
+
+
+ +
+ {{ afterSaleInfo.goodsName }} +
+ + {{ afterSaleInfo.num }}(数量) + +
+
退货状态
{{ afterSaleInfo.serviceName }}
@@ -155,43 +168,6 @@
-
-

相关商品交易信息

-
-
- -
-
- -
- 数量:x{{ afterSaleInfo.num }} -
-
-
-

订单相关信息

diff --git a/manager/src/views/order/after-order/orderComplaintDetail.vue b/manager/src/views/order/after-order/orderComplaintDetail.vue index dc868ce7..84281dfa 100644 --- a/manager/src/views/order/after-order/orderComplaintDetail.vue +++ b/manager/src/views/order/after-order/orderComplaintDetail.vue @@ -8,6 +8,13 @@
投诉商品
{{complaintInfo.goodsName}}
+
+
+ +
+ {{ complaintInfo.goodsName }}
+ {{ complaintInfo.num }}(数量) +
投诉状态
@@ -144,19 +151,6 @@
-
-

相关商品交易信息

-
-
- -
-
- {{complaintInfo.goodsName}}
- ¥{{complaintInfo.goodsPrice}} * {{complaintInfo.num}}(数量) -
-
- -

订单相关信息

diff --git a/seller/src/views/order/after-order/orderComplaintDetail.vue b/seller/src/views/order/after-order/orderComplaintDetail.vue index 86ba8e39..fd30317b 100644 --- a/seller/src/views/order/after-order/orderComplaintDetail.vue +++ b/seller/src/views/order/after-order/orderComplaintDetail.vue @@ -7,7 +7,13 @@

投诉信息

投诉商品
-
{{ complaintInfo.goodsName }}
+
+
+ +
+ {{ complaintInfo.goodsName }}
+ ¥{{ complaintInfo.goodsPrice | unitPrice }} * {{ complaintInfo.num }}(数量) +
投诉状态
@@ -160,19 +166,6 @@
-
-

相关商品交易信息

-
-
- -
-
- {{ complaintInfo.goodsName }}
- ¥{{ complaintInfo.goodsPrice | unitPrice }} * {{ complaintInfo.num }}(数量) -
-
- -

订单相关信息

diff --git a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue index 4a34fa73..bcaf7cde 100644 --- a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue +++ b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue @@ -8,8 +8,15 @@

售后申请

-
售后状态
-
{{filterStatus(afterSaleInfo.serviceStatus)}}
+
售后商品
+
+
+ +
+ {{ afterSaleInfo.goodsName }}
+ {{ afterSaleInfo.num }}(数量) +
+
@@ -155,20 +162,6 @@
-
-

相关商品交易信息

-
-
- -
-
- {{ afterSaleInfo.goodsName }}
- {{ afterSaleInfo.num }}(数量)
- -
-
- -

订单相关信息

From 2c66eaae2b33e81c1f16a9b1d35c591893384196 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Tue, 26 Sep 2023 15:53:13 +0800 Subject: [PATCH 09/13] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5=E7=BB=9F=E8=AE=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/components/affix-time.vue | 11 +++++++---- seller/src/views/lili-components/affix-time.vue | 8 ++++++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/manager/src/components/affix-time.vue b/manager/src/components/affix-time.vue index d06ad9cb..7bc48c0f 100644 --- a/manager/src/components/affix-time.vue +++ b/manager/src/components/affix-time.vue @@ -138,6 +138,9 @@ export default { this.$emit("selected", this.selectedWay); } else { + const current = this.dateList.find(item=>{return item.selected}) + this.selectedWay = current + this.$emit("selected", this.selectedWay); } }, // 变更时间 @@ -148,14 +151,16 @@ export default { item.selected = true; item.storeId = this.storeId; this.month = ""; - + const dateList = this.dateList + let currentDate if (item.searchType == "") { if ( dateList.some((date) => { + currentDate = date return date.title == item.title; }) ) { - item.searchType = date.searchType; + item.searchType = currentDate.searchType; } else { item.searchType = "LAST_SEVEN"; } @@ -183,8 +188,6 @@ export default { color: $theme_color; position: relative; } -.date-picker { -} .active:before { content: ""; position: absolute; diff --git a/seller/src/views/lili-components/affix-time.vue b/seller/src/views/lili-components/affix-time.vue index 54461bb9..98a75806 100644 --- a/seller/src/views/lili-components/affix-time.vue +++ b/seller/src/views/lili-components/affix-time.vue @@ -101,6 +101,9 @@ export default { this.$emit("selected", this.selectedWay); } else { + const current = this.dateList.find(item=>{return item.selected}) + this.selectedWay = current + this.$emit("selected", this.selectedWay); } }, // 点击时间筛选 @@ -111,14 +114,15 @@ export default { item.selected = true; item.storeId = this.storeId; this.month = ""; - + const dateList = this.dateList + let currentDate if (item.searchType == "") { if ( dateList.some((date) => { return date.title == item.title; }) ) { - item.searchType = date.searchType; + item.searchType = currentDate.searchType; } else { item.searchType = "LAST_SEVEN"; } From 46143beb83d744edf02760beb87c025f6bb2a99b Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Tue, 26 Sep 2023 18:48:55 +0800 Subject: [PATCH 10/13] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6-?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 20 + .../src/views/sys/oss-manage/ossManage.vue | 860 ++++++++++++------ 2 files changed, 620 insertions(+), 260 deletions(-) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 247d9fe6..f87e4f8f 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -490,4 +490,24 @@ export const getHotWordsHistory = (params) => { return getRequest(`/hotwords/hotwords/history`,params); }; +// 获取文件目录列表 +export const getFileDirectory = () => { + return getRequest(commonUrl+`/common/resource/fileDirectory`); +}; +// 添加文件目录 +export const addFileDirectory = (params) => { + return postRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 修改文件目录 +export const updateFileDirectory = (params) => { + return putRequestWithNoForm(commonUrl+`/common/resource/fileDirectory`,params); +}; + + +// 删除文件目录 +export const delFileDirectory = (id) => { + return deleteRequest(commonUrl+`/common/resource/fileDirectory/${id}`); +}; diff --git a/manager/src/views/sys/oss-manage/ossManage.vue b/manager/src/views/sys/oss-manage/ossManage.vue index b255e4c5..3db93fc9 100644 --- a/manager/src/views/sys/oss-manage/ossManage.vue +++ b/manager/src/views/sys/oss-manage/ossManage.vue @@ -1,203 +1,233 @@ From c88c1865e7a84d3f9a69217fe242856c08a54635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CYer=E2=80=9D?= <17633066053@163.com> Date: Sat, 30 Sep 2023 16:18:27 +0800 Subject: [PATCH 11/13] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=9B=BE=E5=B7=B2=E5=8F=91=E7=8E=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/components/affix-time.vue | 78 +++++++--- .../src/views/lili-components/affix-time.vue | 140 +++++++++++++----- 2 files changed, 157 insertions(+), 61 deletions(-) diff --git a/manager/src/components/affix-time.vue b/manager/src/components/affix-time.vue index 7bc48c0f..bc9162a7 100644 --- a/manager/src/components/affix-time.vue +++ b/manager/src/components/affix-time.vue @@ -1,20 +1,20 @@