From f86d5515c0f68cb82dbda8fde9b61dc21d76c638 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Sun, 7 Jul 2024 22:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E5=BA=97=E5=A4=84=E7=90=86=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AppCarouselList.vue | 7 +++---- src/views/AppStoresTable.vue | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) 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