diff --git a/src/api/system_store.ts b/src/api/system_store.ts index 68a07a723..c77571c4d 100644 --- a/src/api/system_store.ts +++ b/src/api/system_store.ts @@ -63,4 +63,9 @@ export function apiSystemStoreStatisticsOrderChart(params: any) { // 运营概况-门店业绩 export function apiSystemStoreStatisticsStore(params: any) { return request.get({ url: '/system_store/SystemStoreStatistics/store', params }) +} + +// 门店交易统计 +export function apiWorkbenchStoreIndex(params: any) { + return request.get({ url: '/workbench/store_index', params }) } \ No newline at end of file diff --git a/src/views/finance/store_finance_flow/index.vue b/src/views/finance/store_finance_flow/index.vue index a75f96d59..cd9ef5f6c 100644 --- a/src/views/finance/store_finance_flow/index.vue +++ b/src/views/finance/store_finance_flow/index.vue @@ -4,17 +4,17 @@ - + - + @@ -32,15 +32,15 @@ - 新增 - - - 删除 - --> +新增 + + + 删除 + -->
- - + + @@ -51,7 +51,7 @@ - + @@ -131,39 +131,39 @@ getLists() const storeloading = ref(false); const storeList = ref([]); -const remoteMethod = (e:string='') => { +const remoteMethod = (e: string = '') => { storeloading.value = true; apiSystemStoreLists({ name: e, page_size: 50 }).then(res => { storeList.value = res.lists; - setTimeout(()=>{ + setTimeout(() => { storeloading.value = false; - },300) + }, 300) }).catch(err => { - setTimeout(()=>{ + setTimeout(() => { storeloading.value = false; - },300) + }, 300) }) } const userloading = ref(false); const userList = ref([]); -const remoteMethodUser = (e:string='') => { +const remoteMethodUser = (e: string = '') => { storeloading.value = true; apiUserLists({ nickname: e, page_size: 50 }).then(res => { userList.value = res.lists; - setTimeout(()=>{ + setTimeout(() => { storeloading.value = false; - },300) + }, 300) }).catch(err => { - setTimeout(()=>{ + setTimeout(() => { storeloading.value = false; - },300) + }, 300) }) } diff --git a/src/views/store/statistics/index.vue b/src/views/store/statistics/index.vue index 4bd87405b..d4886bc0d 100644 --- a/src/views/store/statistics/index.vue +++ b/src/views/store/statistics/index.vue @@ -2,7 +2,15 @@
- 运营概况 +
+ 运营概况 + + + + 点击左侧切换门店 +
时间筛选: 交易数据 - - + + - - - - - - + + + + 交易类型 - +
-