From 9a7422b107ac1ed1ad8710bc695eab97c0f1b89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 17 May 2021 18:18:24 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=AB=AF=E4=B8=8A=E4=BC=A0=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 658ad6cd..507aaf04 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -8,13 +8,14 @@ import { getRequestWithNoToken, putRequestWithNoForm, postRequestWithNoForm, - commonUrl, managerUrl } from "@/libs/axios"; import config from "@/config"; +let commonUrl = (process.env.NODE_ENV === 'development' ? config.api_dev.common : config.api_prod.common) + // 文件上传接口 -export const uploadFile = commonUrl + "/common/upload/file"; +export const uploadFile = commonUrl+ "/common/upload/file"; // 验证码渲染图片接口 export const drawCodeImage = commonUrl + "/common/captcha/draw/"; // 获取菜单 From 239ce64e9c1969827d6555dcf88c2909f43028ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 18 May 2021 09:28:16 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/my-components/lili/upload-pic-thumb.vue | 2 +- manager/src/views/sys/message/smsSign.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue index 14fee113..d9583ca6 100644 --- a/manager/src/views/my-components/lili/upload-pic-thumb.vue +++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue @@ -9,7 +9,7 @@ @end="onEnd" >
-
+
diff --git a/manager/src/views/sys/message/smsSign.vue b/manager/src/views/sys/message/smsSign.vue index b7228d9f..d38c75bd 100644 --- a/manager/src/views/sys/message/smsSign.vue +++ b/manager/src/views/sys/message/smsSign.vue @@ -162,8 +162,12 @@ }; - - From 3efefc4c02cb225886d27c231a86d40dd1b87455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 18 May 2021 18:02:25 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=8F=91=E9=80=81?= =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/config/index.js | 8 ++++---- manager/src/views/sys/message/sms.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 95414e80..6b74f240 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -17,10 +17,10 @@ export default { * @description api请求基础路径 */ api_dev: { - common: 'http://127.0.0.1:8890', - buyer: 'http://127.0.0.1:8888', - seller: 'http://127.0.0.1:8889', - manager: 'http://127.0.0.1:8887' + common: 'http://192.168.0.103:8890', + buyer: 'https://buyer-api.pickmall.cn', + seller: 'https://store-api.pickmall.cn', + manager: 'http://192.168.0.103:8887' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/manager/src/views/sys/message/sms.vue b/manager/src/views/sys/message/sms.vue index a70028b8..71f09635 100644 --- a/manager/src/views/sys/message/sms.vue +++ b/manager/src/views/sys/message/sms.vue @@ -710,7 +710,7 @@ export default { //发送短信 sendSms() { this.$refs.smsForm.validate((valid) => { - const mobile = JSON.stringify(this.alreadyCheck); + const mobile = this.alreadyCheck; this.smsForm.mobile = mobile; if (valid) { API_Setting.sendSms(this.smsForm).then((res) => { From 92aa9fccaf641cda4ced24d3cf389f14bb4a2e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 20 May 2021 11:09:51 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=8F=AF=E8=A7=81=E7=9A=84bug=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=90=E8=B4=B9=E6=A8=A1=E6=9D=BF=E4=B8=AD=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/config/index.js | 4 +- .../src/views/goods/goods-review/index.vue | 2 +- manager/src/views/home/home.vue | 4 +- .../views/lili-components/multiple-region.vue | 127 --- .../order/after-order/afterSaleOrder.vue | 8 +- manager/src/views/order/flow/paymentLog.vue | 131 ++- .../src/views/seller/shop/shopAuditList.vue | 9 + manager/src/views/seller/shop/shopList.vue | 11 +- seller/src/store/modules/app.js | 3 +- .../views/lili-components/multiple-region.vue | 104 +- seller/src/views/shop/ship/shipTemplate.vue | 907 +++++++++--------- 11 files changed, 663 insertions(+), 647 deletions(-) delete mode 100644 manager/src/views/lili-components/multiple-region.vue diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 8f1ce647..851ed1eb 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -17,10 +17,10 @@ export default { * @description api请求基础路径 */ api_dev: { - common: 'https://common-api.pickmall.cn', + common: 'http://192.168.0.103:8890/', buyer: 'https://buyer-api.pickmall.cn', seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' + manager: 'http://192.168.0.103:8887' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/manager/src/views/goods/goods-review/index.vue b/manager/src/views/goods/goods-review/index.vue index 3797b23b..c837f4ae 100644 --- a/manager/src/views/goods/goods-review/index.vue +++ b/manager/src/views/goods/goods-review/index.vue @@ -53,7 +53,7 @@
{{ infoData.goodsName }}
-
店铺名称:{{ infoData.sellerName }}
+
店铺名称:{{ infoData.storeName }}
订单号:{{ infoData.orderNo }}
diff --git a/manager/src/views/home/home.vue b/manager/src/views/home/home.vue index 147b1f0e..2802c29e 100644 --- a/manager/src/views/home/home.vue +++ b/manager/src/views/home/home.vue @@ -72,11 +72,11 @@
{{$store.state.notices.refund|| 0}}
待审核售后
-
+
{{$store.state.notices.distributionCash|| 0}}
待审核分销提现
-
+
{{$store.state.notices.waitPayBill|| 0}}
待审核分账
diff --git a/manager/src/views/lili-components/multiple-region.vue b/manager/src/views/lili-components/multiple-region.vue deleted file mode 100644 index 3ac9b970..00000000 --- a/manager/src/views/lili-components/multiple-region.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue index 0373eb7d..3fa356f1 100644 --- a/manager/src/views/order/after-order/afterSaleOrder.vue +++ b/manager/src/views/order/after-order/afterSaleOrder.vue @@ -48,10 +48,10 @@ style="width: 200px" > - + - - -
- - - - - - - - - - -
-
- -
-
- - - -
+ + +
+ + + + + + + + + + + + + +
+
+ +
+
+ + + +
@@ -68,16 +74,57 @@ export default { { title: "支付方式", key: "paymentMethod", - width: 100, + width: 120, + align: "center", render: (h, params) => { if (params.row.paymentMethod === "WECHAT") { - return h("div", [h("span", {}, "微信")]); + return h("div", [ + h( + "Tag", + { + props: { + color: "green", + }, + }, + "微信" + ), + ]); } else if (params.row.paymentMethod === "ALIPAY") { - return h("div", [h("span", {}, "支付宝")]); + return h("div", [ + h( + "Tag", + { + props: { + color: "blue", + }, + }, + "支付宝" + ), + ]); } else if (params.row.paymentMethod === "WALLET") { - return h("div", [h("span", {}, "余额支付")]); + return h("div", [ + h( + "Tag", + { + props: {}, + }, + "余额支付" + ), + ]); } else if (params.row.paymentMethod === "BANK_TRANSFER") { - return h("div", [h("span", {}, "银行转帐")]); + return h("div", [ + h( + "Tag", + { + props: { + color: "orange", + }, + }, + "银行转帐" + ), + ]); + } else { + return h("div", [h("Tag", {}, "暂未付款")]); } }, }, @@ -85,19 +132,24 @@ export default { title: "第三方流水", key: "receivableNo", minWidth: 130, + render: (h, params) => { + return h("div", [ + h("span", {}, params.row.receivableNo || "暂无流水号"), + ]); + }, }, { title: "客户端", key: "clientType", width: 130, render: (h, params) => { - if (params.row.clientType === "WECHAT_MP") { + if (params.row.clientType === "WECHAT_MP" || params.row.clientType === '小程序') { return h("div", [h("span", {}, "小程序")]); } else if (params.row.clientType === "APP") { return h("div", [h("span", {}, "APP")]); } else if (params.row.clientType === "PC") { return h("div", [h("span", {}, "PC网页")]); - } else if (params.row.clientType === "H5") { + } else if (params.row.clientType === "H5" || params.row.clientType === 'wap') { return h("div", [h("span", {}, "移动端")]); } }, @@ -106,6 +158,11 @@ export default { title: "支付时间", key: "paymentTime", width: 200, + render: (h, params) => { + return h("div", [ + h("span", {}, params.row.paymentTime || "暂无支付时间"), + ]); + }, }, { title: "订单金额", @@ -204,7 +261,7 @@ export default { }); this.total = this.data.length; this.loading = false; - } + }, }, mounted() { this.init(); diff --git a/manager/src/views/seller/shop/shopAuditList.vue b/manager/src/views/seller/shop/shopAuditList.vue index fc6332ec..701f5f30 100644 --- a/manager/src/views/seller/shop/shopAuditList.vue +++ b/manager/src/views/seller/shop/shopAuditList.vue @@ -99,6 +99,15 @@ key: "storeAddressPath", width: 300, sortable: false, + render: (h, params) => { + return h( + "Tag", + { + + }, + params.row.storeAddressPath || "暂未填写" + ); + }, }, { title: "是否自营", diff --git a/manager/src/views/seller/shop/shopList.vue b/manager/src/views/seller/shop/shopList.vue index 4872459f..05961284 100644 --- a/manager/src/views/seller/shop/shopList.vue +++ b/manager/src/views/seller/shop/shopList.vue @@ -111,7 +111,16 @@ export default { title: "店铺地址", key: "storeAddressPath", width: 300, - tooltip: true + tooltip: true, + render: (h, params) => { + return h( + "Tag", + { + + }, + params.row.storeAddressPath || "暂未填写" + ); + }, }, { title: "是否自营", diff --git a/seller/src/store/modules/app.js b/seller/src/store/modules/app.js index a0c3d292..8e896575 100644 --- a/seller/src/store/modules/app.js +++ b/seller/src/store/modules/app.js @@ -6,6 +6,7 @@ import Vue from 'vue'; const app = { state: { + shipTemplates:"", styleStore:"", //移动端楼层装修中选择风格存储 loading: false, // 全局加载动画 added: false, // 加载路由标识 @@ -30,7 +31,7 @@ const app = { path: '', name: 'home_index' } - ], + ], // 面包屑数组 左侧菜单 menuList: [], routers: [ diff --git a/seller/src/views/lili-components/multiple-region.vue b/seller/src/views/lili-components/multiple-region.vue index b73b2c96..34b78ed7 100644 --- a/seller/src/views/lili-components/multiple-region.vue +++ b/seller/src/views/lili-components/multiple-region.vue @@ -7,7 +7,7 @@