diff --git a/src/views/AppCarouselList.vue b/src/views/AppCarouselList.vue index 1e519e6..95fbc2f 100644 --- a/src/views/AppCarouselList.vue +++ b/src/views/AppCarouselList.vue @@ -85,17 +85,16 @@ export default { }, getCameras() { return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", { - // ...this.search, + type: "1", ...this.search, }).then(res => { if (res?.data) { this.cameras = res.data?.records?.filter(e => e.storeCameraVOList?.length > 0) || [] - console.log(this.cameras.map(e=>e.storeName)) } }) }, getStoreKeyGoods() { return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreKeyGoodsSale", { - ...this.search, + type: "1", ...this.search, }).then(res => { if (res?.data) { this.storeKeyGoods = res.data @@ -105,7 +104,7 @@ export default { }, getCategorySales() { return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreCategorySale", { - ...this.search, + type: "1", ...this.search, }).then(res => { if (res?.data) { this.categorySales = res.data diff --git a/src/views/AppStoresTable.vue b/src/views/AppStoresTable.vue index 5ad628a..e209423 100644 --- a/src/views/AppStoresTable.vue +++ b/src/views/AppStoresTable.vue @@ -112,7 +112,7 @@ export default { }, getCameras() { return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", { - ...this.search, limit: 999 + type: "1", ...this.search, limit: 999 }).then(res => { if (res?.data) { this.cameras = res.data?.records || [] @@ -121,7 +121,7 @@ export default { }, getStoreKeyGoods() { return $http.post("/data-boot/la/screen/multipleStoreBoard/storeKeyGoods", { - ...this.search, + type: "1", ...this.search, }).then(res => { if (res?.data) { this.storeKeyGoods = res.data @@ -130,7 +130,7 @@ export default { }, getCategorySales() { return $http.post("/data-boot/la/screen/multipleStoreBoard/categorySale", { - ...this.search, + type: "1", ...this.search, }).then(res => { if (res?.data) { this.categorySales = res.data