diff --git a/manager/src/api/promotion.js b/manager/src/api/promotion.js
index 42173562..0c7c6113 100644
--- a/manager/src/api/promotion.js
+++ b/manager/src/api/promotion.js
@@ -30,7 +30,7 @@ export const getLiveList = params => {
// 获取直播间详情
export const getLiveInfo = studioId => {
- return getRequest(`/broadcast/studio/studioInfo/${studioId}`);
+ return getRequest(`/broadcast/studio/${studioId}`);
};
// 获取当前进行中的促销活动商品
diff --git a/manager/src/config/index.js b/manager/src/config/index.js
index 8b6b162f..680fb1b1 100644
--- a/manager/src/config/index.js
+++ b/manager/src/config/index.js
@@ -17,14 +17,14 @@ export default {
* @description api请求基础路径
*/
api_dev: {
- // common: "https://common-api.pickmall.cn",
- // buyer: "https://buyer-api.pickmall.cn",
- // seller: "https://store-api.pickmall.cn",
- // manager: "https://admin-api.pickmall.cn"
- common: 'http://192.168.0.109:8890',
- buyer: 'http://192.168.0.109:8888',
- seller: 'http://192.168.0.109:8889',
- manager: 'http://192.168.0.109:8887'
+ common: "https://common-api.pickmall.cn",
+ buyer: "https://buyer-api.pickmall.cn",
+ seller: "https://store-api.pickmall.cn",
+ manager: "https://admin-api.pickmall.cn"
+ // common: 'http://192.168.0.109:8890',
+ // buyer: 'http://192.168.0.109:8888',
+ // seller: 'http://192.168.0.109:8889',
+ // manager: 'http://192.168.0.109:8887'
},
api_prod: {
common: "https://common-api.pickmall.cn",
diff --git a/manager/src/views/distribution/distributionGoods.vue b/manager/src/views/distribution/distributionGoods.vue
index a78c5830..05acecf5 100644
--- a/manager/src/views/distribution/distributionGoods.vue
+++ b/manager/src/views/distribution/distributionGoods.vue
@@ -67,10 +67,12 @@ export default {
{
type: "selection",
width: 60,
- align: "center"
+ align: "center",
+ fixed: "left",
},
{
title: "商品图片",
+ fixed: "left",
key: "thumbnail",
width: 120,
align: "center",
diff --git a/manager/src/views/main-components/footer.vue b/manager/src/views/main-components/footer.vue
index 666ae443..e471877c 100644
--- a/manager/src/views/main-components/footer.vue
+++ b/manager/src/views/main-components/footer.vue
@@ -8,7 +8,7 @@
-
@@ -72,10 +72,6 @@ export default {
订单编号: "sn",
下单时间: "createTime",
客户名称: "memberName",
- 客户账号: "",
- 收货人: "",
- 收货人手机号: "",
- 收货人地址: "",
支付方式: {
field: "clientType",
callback: (value) => {
@@ -92,15 +88,7 @@ export default {
}
},
},
- 配送方式: "",
- 配送费用: "",
- 订单商品金额: "",
- 订单优惠金额: "",
- 订单应付金额: "",
- 商品SKU编号: "",
商品数量: "groupNum",
- 买家备注: "",
- 订单状态: "",
付款状态: {
field: "payStatus",
callback: (value) => {
@@ -111,9 +99,6 @@ export default {
: "";
},
},
- 发货状态: "",
- 发票类型: "",
- 发票抬头: "",
店铺: "storeName",
},
loading: true, // 表单加载状态
@@ -222,56 +207,23 @@ export default {
title: "下单时间",
key: "createTime",
width: 170,
- sortable: true,
- sortType: "desc",
},
-
{
title: "操作",
key: "action",
align: "center",
width: 150,
render: (h, params) => {
- return h("div", [
- h(
- "Button",
-
- {
- props: {
- type: "primary",
- size: "small",
- },
- attrs: {
- disabled: params.row.orderStatus == "UNPAID" ? false : true,
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.confirmPrice(params.row);
- },
- },
- },
- "收款"
+ return h("div", [h("Button", {props: {type: "primary", size: "small",},
+ attrs: {disabled: params.row.orderStatus == "UNPAID" ? false : true,},
+ style: {marginRight: "5px",},
+ on: {click: () => {this.confirmPrice(params.row);},},
+ }, "收款"
),
- h(
- "Button",
- {
- props: {
- type: "info",
- size: "small",
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.detail(params.row);
- },
- },
- },
- "查看"
+ h("Button", {props: {type: "info", size: "small",},
+ style: {marginRight: "5px",},
+ on: {click: () => {this.detail(params.row);},},
+ }, "查看"
),
]);
},
diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue
index 360492c8..cc66d389 100644
--- a/manager/src/views/page/article-manage/articleList.vue
+++ b/manager/src/views/page/article-manage/articleList.vue
@@ -57,7 +57,7 @@
-
+
@@ -435,28 +435,13 @@ export default {
this.form.categoryId = res.result.categoryId;
this.treeValue = data.articleCategoryName;
this.form.id = data.id;
- this.form.content = htmlEscape(res.result.content);
+ this.form.content =res.result.content;
this.form.title = res.result.title;
this.form.sort = res.result.sort;
this.form.openStatus = res.result.openStatus;
}
});
},
-
- htmlEscape(text) {
- return text.replace(/[<>"&]/g, function (match, pos, originalText) {
- switch (match) {
- case "<":
- return "<";
- case ">":
- return ">";
- case "&":
- return "&";
- case '"':
- return """;
- }
- });
- },
remove(v) {
this.$Modal.confirm({
title: "确认删除",
diff --git a/manager/src/views/promotion/coupon/coupon.vue b/manager/src/views/promotion/coupon/coupon.vue
index 306a25af..b39dd19d 100644
--- a/manager/src/views/promotion/coupon/coupon.vue
+++ b/manager/src/views/promotion/coupon/coupon.vue
@@ -161,7 +161,7 @@ export default {
},
{
title: "活动时间",
-
+ width: 150,
render: (h, params) => {
if (params.row.getType === "ACTIVITY") {
return h("div", "长期有效");
diff --git a/manager/src/views/promotion/pointsGoods/pointsGoods.vue b/manager/src/views/promotion/pointsGoods/pointsGoods.vue
index dd209a87..fcb82b30 100644
--- a/manager/src/views/promotion/pointsGoods/pointsGoods.vue
+++ b/manager/src/views/promotion/pointsGoods/pointsGoods.vue
@@ -2,78 +2,37 @@
-
- 添加积分商品
+ 添加积分商品
-
+
-
+
@@ -159,55 +85,62 @@ export default {
pageSize: 10, // 页面大小
order: "desc", // 默认排序方式
},
- statusList: [ // 活动状态
+ statusList: [
+ // 活动状态
{ label: "未开始", value: "NEW" },
{ label: "已开始", value: "START" },
{ label: "已结束", value: "END" },
{ label: "已关闭", value: "CLOSE" },
],
- columns: [ // 表头
+ columns: [
+ // 表头
{
title: "商品名称",
slot: "goodsName",
- minWidth: 120,
+ minWidth: 150,
+ fixed: "left",
tooltip: true,
},
{
title: "市场价",
slot: "price",
+ width: 100,
},
{
title: "结算价",
slot: "settlementPrice",
+ width: 100,
},
- {
- title: "分类",
- key: "pointsGoodsCategoryName",
- },
+
{
title: "库存数量",
slot: "quantity",
+ width: 100,
},
{
title: "活动剩余库存",
key: "activeStock",
+ width: 150,
},
{
title: "兑换积分",
key: "points",
+ width: 100,
},
{
title: "所属店铺",
key: "storeName",
+ width: 100,
},
{
title: "活动开始时间",
slot: "startTime",
- minWidth:100
+ minWidth: 150,
},
{
title: "状态",
key: "promotionStatus",
+ width: 100,
render: (h, params) => {
let text = "未知",
color = "";
@@ -227,10 +160,16 @@ export default {
return h("div", [h("Tag", { props: { color: color } }, text)]);
},
},
+ {
+ title: "分类",
+ key: "pointsGoodsCategoryName",
+ width: 100,
+ },
{
title: "操作",
slot: "action",
align: "center",
+ fixed: "right",
width: 150,
},
],
@@ -327,5 +266,5 @@ export default {
};
diff --git a/manager/src/views/promotion/seckill/seckill.vue b/manager/src/views/promotion/seckill/seckill.vue
index f8b32ce4..7ee3c957 100644
--- a/manager/src/views/promotion/seckill/seckill.vue
+++ b/manager/src/views/promotion/seckill/seckill.vue
@@ -102,13 +102,13 @@ export default {
width: 100,
render: (h, params) => {
if (params.row.promotionStatus == "NEW") {
- return h("Tag", {props: {color: "volcano",},},"新建");
+ return h("Tag", {props: {color: "geekblue",},},"新建");
} else if (params.row.promotionStatus == "START") {
- return h("Tag", {props: {color: "blue",},},"开始");
+ return h("Tag", {props: {color: "green",},},"开始");
} else if (params.row.promotionStatus == "END") {
- return h("Tag", {props: {color: "green",},},"结束");
- } else if (params.row.promotionStatus == "CLOSE") {
return h("Tag", {props: {color: "volcano",},},"结束");
+ } else if (params.row.promotionStatus == "CLOSE") {
+ return h("Tag", {props: {color: "red",},},"结束");
}
},
},
diff --git a/manager/src/views/seller/shop/shopOperation.vue b/manager/src/views/seller/shop/shopOperation.vue
index ccafc805..c2fea83e 100644
--- a/manager/src/views/seller/shop/shopOperation.vue
+++ b/manager/src/views/seller/shop/shopOperation.vue
@@ -65,13 +65,13 @@
-
+
diff --git a/seller/src/api/goods.js b/seller/src/api/goods.js
index 958e3770..36359d22 100644
--- a/seller/src/api/goods.js
+++ b/seller/src/api/goods.js
@@ -132,13 +132,13 @@ export const delSpec = (id, params) => {
return deleteRequest(`/goods/spec/del/${id}`, params);
};
// 获取商品规格值列表
-export const getSpecValuesListData = (id, params) => {
- return getRequest(`/goods/spec-values/values/${id}`, params);
-};
+// export const getSpecValuesListData = (id, params) => {
+// return getRequest(`/goods/spec-values/values/${id}`, params);
+// };
// 添加商品规格值
-export const saveSpecValues = (id, params) => {
- return postRequest(`/goods/spec-values/save/${id}`, params);
-};
+// export const saveSpecValues = (id, params) => {
+// return postRequest(`/goods/spec-values/save/${id}`, params);
+// };
// 查询某分类下的全部子分类列表
export const getGoodsCategory = parent_id => {
diff --git a/seller/src/config/index.js b/seller/src/config/index.js
index 27da5927..a7163666 100644
--- a/seller/src/config/index.js
+++ b/seller/src/config/index.js
@@ -18,14 +18,14 @@ export default {
* @description api请求基础路径
*/
api_dev: {
- // common: 'https://common-api.pickmall.cn',
- // buyer: 'https://buyer-api.pickmall.cn',
- // seller: 'https://store-api.pickmall.cn',
- // manager: 'https://admin-api.pickmall.cn',
- common: 'http://192.168.0.109:8890',
- buyer: 'http://192.168.0.109:8888',
- seller: 'http://192.168.0.109:8889',
- manager: 'http://192.168.0.109:8887'
+ common: 'https://common-api.pickmall.cn',
+ buyer: 'https://buyer-api.pickmall.cn',
+ seller: 'https://store-api.pickmall.cn',
+ manager: 'https://admin-api.pickmall.cn',
+ // common: 'http://192.168.0.109:8890',
+ // buyer: 'http://192.168.0.109:8888',
+ // seller: 'http://192.168.0.109:8889',
+ // manager: 'http://192.168.0.109:8887'
},
api_prod: {
common: 'https://common-api.pickmall.cn',
diff --git a/seller/src/views/goods/goods-seller/goods.vue b/seller/src/views/goods/goods-seller/goods.vue
index 48bae50e..d0d7a00e 100644
--- a/seller/src/views/goods/goods-seller/goods.vue
+++ b/seller/src/views/goods/goods-seller/goods.vue
@@ -4,7 +4,7 @@
-
+
-
-
+
+
+
+
+
+
+
+
+