From b7c422cc7b1a00b6fd2038823ece11e62a391705 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 2 Sep 2024 09:38:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=A9=BB=E7=95=99,=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=BF=9D=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/inject.js | 1 + src/views/AppStoresTable.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/utils/inject.js b/src/utils/inject.js index e62106c..abcd628 100644 --- a/src/utils/inject.js +++ b/src/utils/inject.js @@ -68,6 +68,7 @@ Vue.prototype.$marketBoard = Vue.observable({ search: {"groupCodeList": [], "currentDate": "20240701", "compareDate": "20240630", "hourNum": "18"} }) Vue.prototype.$multipleStoreBoard = Vue.observable({ + carouselIndex:0, search: {"groupCodeList": [], "hourNum": "", type: "1"} }) Vue.prototype.$storeBoard = Vue.observable({ diff --git a/src/views/AppStoresTable.vue b/src/views/AppStoresTable.vue index 854f1e6..d147427 100644 --- a/src/views/AppStoresTable.vue +++ b/src/views/AppStoresTable.vue @@ -123,8 +123,9 @@ export default { } }) }, - gotoDetail(store) { + gotoDetail(store, i) { this.$storeBoard.search.storeCode = store.storeCode + this.$multipleStoreBoard.carouselIndex = i this.$marketBoard.screenId = 'a90522ef-869b-40ea-8542-d1fc9674a1e8' }, getTableData(item = {}, tag) { @@ -175,11 +176,12 @@ export default {