From cf787e136e609decddfcfd755eedde3ebf724bec Mon Sep 17 00:00:00 2001 From: "DESKTOP-GMUNQ1B\\k" <1154079537@qq.com> Date: Fri, 26 Apr 2024 11:11:26 +0800 Subject: [PATCH] no message --- src/App.vue | 2 + src/api/merchant.ts | 1 - .../default/components/header/notice.vue | 33 +- src/utils/mitt.ts | 5 + src/views/classify_time/edit.vue | 17 +- src/views/classify_time/index.vue | 17 +- src/views/merchant/edit.vue | 83 +---- src/views/merchant/index.vue | 244 ++++++++++++-- src/views/record/edit.vue | 22 +- src/views/store_condition/index.vue | 15 +- src/views/workbench/index.vue | 319 +++++++++--------- 11 files changed, 436 insertions(+), 322 deletions(-) create mode 100644 src/utils/mitt.ts diff --git a/src/App.vue b/src/App.vue index 86239ac..955eda0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,6 +4,8 @@ import zhCn from "element-plus/es/locale/lang/zh-cn"; import useAppStore from "./stores/modules/app"; import useSettingStore from "./stores/modules/setting"; import { ScreenEnum } from "./enums/appEnums"; +import { onMounted } from "vue"; + const appStore = useAppStore(); const settingStore = useSettingStore(); const elConfig = { diff --git a/src/api/merchant.ts b/src/api/merchant.ts index a2a3114..9dfa941 100644 --- a/src/api/merchant.ts +++ b/src/api/merchant.ts @@ -71,7 +71,6 @@ export function merchantCategoryApi(params: any) { return request.get({ url: '/merchant.merchant/merchantCategory', params }) } - // 区域分类 export function merchantAreaListApi(params: any) { return request.get({ url: '/merchant.merchant/AreatList', params }) diff --git a/src/layout/default/components/header/notice.vue b/src/layout/default/components/header/notice.vue index 5938ddb..c31946b 100644 --- a/src/layout/default/components/header/notice.vue +++ b/src/layout/default/components/header/notice.vue @@ -3,7 +3,7 @@