diff --git a/public/config/index-prod.js b/public/config/index-prod.js index 6096255..37b1be0 100644 --- a/public/config/index-prod.js +++ b/public/config/index-prod.js @@ -13,7 +13,7 @@ window.SITE_CONFIG = {}; // 在线api接口请求地址 - window.SITE_CONFIG["baseUrl"] = "https://admin-test.damajishi.cn/"; + window.SITE_CONFIG["baseUrl"] = "https://admin.damajishi.cn/"; // cdn地址 = 域名 + 版本号 window.SITE_CONFIG["domain"] = "./"; // 域名 diff --git a/src/views/modules/datacenter/product-analysis/index.vue b/src/views/modules/datacenter/product-analysis/index.vue index 6b2c20e..a50c401 100644 --- a/src/views/modules/datacenter/product-analysis/index.vue +++ b/src/views/modules/datacenter/product-analysis/index.vue @@ -108,7 +108,6 @@
+ +
销售量TOP
+ + + + + + + +
+
销售额TOP
+ + + + + + + + + +
+
+ +
回复率TOP
+ + + + + + + +
+
diff --git a/src/views/modules/logistics-fare/logistics-template/index.vue b/src/views/modules/logistics-fare/logistics-template/index.vue index e9844d5..44bd972 100644 --- a/src/views/modules/logistics-fare/logistics-template/index.vue +++ b/src/views/modules/logistics-fare/logistics-template/index.vue @@ -67,10 +67,20 @@ export default { }; }, created() { - this.searchForm = { - name: "", - linkId: this.marketId ? this.marketId : this.shopId, - }; + if ( + JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MERCHANT" + ) { + this.searchForm = { + name: "", + linkId: this.shopId, + }; + } else { + this.searchForm = { + name: "", + linkId: this.marketId ? this.marketId : this.shopId, + }; + } + this.$nextTick(() => { this.$refs.oTable.reload(); }); @@ -95,10 +105,19 @@ export default { }); }, Reset() { - this.searchForm = { - name: "", - linkId: this.marketId ? this.marketId : this.shopId, - }; + if ( + JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MERCHANT" + ) { + this.searchForm = { + name: "", + linkId: this.shopId, + }; + } else { + this.searchForm = { + name: "", + linkId: this.marketId ? this.marketId : this.shopId, + }; + } this.$refs.oTable.reload(); }, addFareTemplate() { diff --git a/src/views/modules/operation-management/commodity/index.vue b/src/views/modules/operation-management/commodity/index.vue index b29dbce..226847a 100644 --- a/src/views/modules/operation-management/commodity/index.vue +++ b/src/views/modules/operation-management/commodity/index.vue @@ -345,6 +345,15 @@ export default { align: "center", field: "stockNum", }, + { + title: "是否为预售商品", + align: "center", + field: "isAdvanceSell", + type: "jsx", + render: ({ row }) => { + return {row.isAdvanceSell == 1 ? "是" : "否"}; + }, + }, { title: "状态", // fixed: "right", diff --git a/src/views/modules/operation-management/commodity/popup/add-or-update.vue b/src/views/modules/operation-management/commodity/popup/add-or-update.vue index 95d200b..daffc77 100644 --- a/src/views/modules/operation-management/commodity/popup/add-or-update.vue +++ b/src/views/modules/operation-management/commodity/popup/add-or-update.vue @@ -3,7 +3,7 @@ { + return ( + + {[ + { label: "是", value: "1" }, + { label: "否", value: "0" }, + ].map((item) => { + return ( + + ); + })} + + ); + }, + }, ]; break; case "销售信息": diff --git a/src/views/modules/operation-management/role/popup/add-or-update.vue b/src/views/modules/operation-management/role/popup/add-or-update.vue index 82a095b..e770ae8 100644 --- a/src/views/modules/operation-management/role/popup/add-or-update.vue +++ b/src/views/modules/operation-management/role/popup/add-or-update.vue @@ -109,9 +109,9 @@ export default { label: "权限字段", prop: "col", type: "Input", - required: true, + required: false, rules: { - required: true, + required: false, message: "请输入权限字段", trigger: "blur", }, @@ -208,4 +208,4 @@ export default { }; \ No newline at end of file +