From eea092589974ba8d16c77e7e775ab04ba9f5a07d Mon Sep 17 00:00:00 2001 From: yangchunlong <292345300@qq.com> Date: Fri, 17 Oct 2025 16:59:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A7=A9=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/login.ts | 1 - src/components/DetailsSearch/index.vue | 5 +---- src/components/FormTable/index.vue | 1 - src/components/SearchForm/index.vue | 2 +- src/hooks/useTable.ts | 1 - src/layouts/components/Tabs/index.vue | 2 +- src/routers/index.ts | 1 - src/stores/modules/auth.ts | 1 - src/views/foundation/subscribe/list/add.vue | 1 - src/views/foundation/subscribe/list/init/setDetailsData.ts | 3 +-- 10 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/api/modules/login.ts b/src/api/modules/login.ts index 6d7e346..5f99a86 100644 --- a/src/api/modules/login.ts +++ b/src/api/modules/login.ts @@ -17,7 +17,6 @@ export const loginApi = (params: Login.ReqLoginCode) => { // 获取菜单列表 export const getAuthMenuListApi = () => { - console.log("触发了吗"); return http.get(`/user/permissions`, {}, { noLoading: true }); // return authMenuList; }; diff --git a/src/components/DetailsSearch/index.vue b/src/components/DetailsSearch/index.vue index 64cd4e7..ee58e4c 100644 --- a/src/components/DetailsSearch/index.vue +++ b/src/components/DetailsSearch/index.vue @@ -198,7 +198,6 @@ const emits = defineEmits<{ }>(); const handleRomoveTag = (item: any) => { - console.log(_searchResult.value, "=-_searchResult.value="); emits("selectMultipleRemoveTag", { item, org_number: _searchResult.value.org_number }); }; const handleTagRemove1 = (item: any) => { @@ -329,9 +328,7 @@ const valueVerifyInputs = (item: any) => { prop: item.prop }); }; -// const handleSelectMultipleClear = (item: any) => { -// console.log(item, "===========>"); -// }; + defineExpose({ formElement: ruleFormRef }); diff --git a/src/components/FormTable/index.vue b/src/components/FormTable/index.vue index 824f632..134ab36 100644 --- a/src/components/FormTable/index.vue +++ b/src/components/FormTable/index.vue @@ -150,7 +150,6 @@ const handleRemoteClick = (item: any, index: number) => { emits("handleRemoteClickValue", { item, index }); }; const handleEnterInput = (item: any, index: number) => { - console.log("1232323"); emits("handleKeyupEnterInputValue", { item, index diff --git a/src/components/SearchForm/index.vue b/src/components/SearchForm/index.vue index a5c55b6..1975de1 100644 --- a/src/components/SearchForm/index.vue +++ b/src/components/SearchForm/index.vue @@ -281,7 +281,7 @@ const handleSelectMultipleRemote = async (query: any, item: any) => { getCustomers(valClone, item); } else if (item.type === "selectProductLinesRemote") { //品线 - console.log("走到了这里"); + getProductLines(valClone, item); } loading.value = false; diff --git a/src/hooks/useTable.ts b/src/hooks/useTable.ts index 7e8b052..a70d1cd 100644 --- a/src/hooks/useTable.ts +++ b/src/hooks/useTable.ts @@ -146,7 +146,6 @@ export const useTable = ( state.totalParam = {}; // 同步到查询参数 state.searchParam = { ...newVal }; - console.log(state.searchParam, "= state.searchParam="); // 同步到参数快照 state.totalParam = { ...newVal, ...pageParam.value }; }, diff --git a/src/layouts/components/Tabs/index.vue b/src/layouts/components/Tabs/index.vue index 7c316c5..01bc1de 100644 --- a/src/layouts/components/Tabs/index.vue +++ b/src/layouts/components/Tabs/index.vue @@ -64,7 +64,7 @@ watch( name: route.name as string, close: !route.meta.isAffix }; - console.log(1232323232323); + tabStore.addTabs(tabsParams); route.meta.isKeepAlive && keepAliveStore.addKeepAliveName(route.name as string); }, diff --git a/src/routers/index.ts b/src/routers/index.ts index c4b6a92..2e60777 100644 --- a/src/routers/index.ts +++ b/src/routers/index.ts @@ -39,7 +39,6 @@ router.beforeEach(async (to, from, next) => { // 1.NProgress 开始 NProgress.start(); const currentPath = window.location.pathname; - console.log(currentPath, "=currentPath="); // 2.动态设置标题 const title = import.meta.env.VITE_GLOB_APP_TITLE; document.title = to.meta.title ? `${to.meta.title} - ${title}` : title; diff --git a/src/stores/modules/auth.ts b/src/stores/modules/auth.ts index c475b85..6c4e972 100644 --- a/src/stores/modules/auth.ts +++ b/src/stores/modules/auth.ts @@ -125,7 +125,6 @@ export const useAuthStore = defineStore({ }; processRoutes(this.authMenuList); - console.log(pageButtonMap, "=pageButtonMap="); this.pageButtonMap = pageButtonMap; }, diff --git a/src/views/foundation/subscribe/list/add.vue b/src/views/foundation/subscribe/list/add.vue index 812d8f1..b3103af 100644 --- a/src/views/foundation/subscribe/list/add.vue +++ b/src/views/foundation/subscribe/list/add.vue @@ -129,7 +129,6 @@ const handleCommit = () => { }; //详情 const getSubscribeDetails = async () => { - console.log($route.query.id); let id = $route.query.id; if (!id) { return; diff --git a/src/views/foundation/subscribe/list/init/setDetailsData.ts b/src/views/foundation/subscribe/list/init/setDetailsData.ts index 29d84df..6d1f757 100644 --- a/src/views/foundation/subscribe/list/init/setDetailsData.ts +++ b/src/views/foundation/subscribe/list/init/setDetailsData.ts @@ -19,8 +19,7 @@ export const setDetailsData = (dataStore: any, data: any) => { useOrgName: item.use_org_name }); }); - console.log(customers_names, "=customers_names="); - console.log(dataStore.ruleForm.customers, "=dataStore.ruleForm.customers="); + //客户名称值回填 dataStore.ruleForm.customer_number1 = dataStore.ruleForm.customers; dataStore.ruleForm.customer_number = dataStore.ruleForm.customers;