fix: 🧩 修复bug
This commit is contained in:
@@ -17,7 +17,6 @@ export const loginApi = (params: Login.ReqLoginCode) => {
|
|||||||
|
|
||||||
// 获取菜单列表
|
// 获取菜单列表
|
||||||
export const getAuthMenuListApi = () => {
|
export const getAuthMenuListApi = () => {
|
||||||
console.log("触发了吗");
|
|
||||||
return http.get<any>(`/user/permissions`, {}, { noLoading: true });
|
return http.get<any>(`/user/permissions`, {}, { noLoading: true });
|
||||||
// return authMenuList;
|
// return authMenuList;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -198,7 +198,6 @@ const emits = defineEmits<{
|
|||||||
}>();
|
}>();
|
||||||
|
|
||||||
const handleRomoveTag = (item: any) => {
|
const handleRomoveTag = (item: any) => {
|
||||||
console.log(_searchResult.value, "=-_searchResult.value=");
|
|
||||||
emits("selectMultipleRemoveTag", { item, org_number: _searchResult.value.org_number });
|
emits("selectMultipleRemoveTag", { item, org_number: _searchResult.value.org_number });
|
||||||
};
|
};
|
||||||
const handleTagRemove1 = (item: any) => {
|
const handleTagRemove1 = (item: any) => {
|
||||||
@@ -329,9 +328,7 @@ const valueVerifyInputs = (item: any) => {
|
|||||||
prop: item.prop
|
prop: item.prop
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
// const handleSelectMultipleClear = (item: any) => {
|
|
||||||
// console.log(item, "===========>");
|
|
||||||
// };
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
formElement: ruleFormRef
|
formElement: ruleFormRef
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -150,7 +150,6 @@ const handleRemoteClick = (item: any, index: number) => {
|
|||||||
emits("handleRemoteClickValue", { item, index });
|
emits("handleRemoteClickValue", { item, index });
|
||||||
};
|
};
|
||||||
const handleEnterInput = (item: any, index: number) => {
|
const handleEnterInput = (item: any, index: number) => {
|
||||||
console.log("1232323");
|
|
||||||
emits("handleKeyupEnterInputValue", {
|
emits("handleKeyupEnterInputValue", {
|
||||||
item,
|
item,
|
||||||
index
|
index
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ const handleSelectMultipleRemote = async (query: any, item: any) => {
|
|||||||
getCustomers(valClone, item);
|
getCustomers(valClone, item);
|
||||||
} else if (item.type === "selectProductLinesRemote") {
|
} else if (item.type === "selectProductLinesRemote") {
|
||||||
//品线
|
//品线
|
||||||
console.log("走到了这里");
|
|
||||||
getProductLines(valClone, item);
|
getProductLines(valClone, item);
|
||||||
}
|
}
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
|||||||
@@ -146,7 +146,6 @@ export const useTable = (
|
|||||||
state.totalParam = {};
|
state.totalParam = {};
|
||||||
// 同步到查询参数
|
// 同步到查询参数
|
||||||
state.searchParam = { ...newVal };
|
state.searchParam = { ...newVal };
|
||||||
console.log(state.searchParam, "= state.searchParam=");
|
|
||||||
// 同步到参数快照
|
// 同步到参数快照
|
||||||
state.totalParam = { ...newVal, ...pageParam.value };
|
state.totalParam = { ...newVal, ...pageParam.value };
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ watch(
|
|||||||
name: route.name as string,
|
name: route.name as string,
|
||||||
close: !route.meta.isAffix
|
close: !route.meta.isAffix
|
||||||
};
|
};
|
||||||
console.log(1232323232323);
|
|
||||||
tabStore.addTabs(tabsParams);
|
tabStore.addTabs(tabsParams);
|
||||||
route.meta.isKeepAlive && keepAliveStore.addKeepAliveName(route.name as string);
|
route.meta.isKeepAlive && keepAliveStore.addKeepAliveName(route.name as string);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
// 1.NProgress 开始
|
// 1.NProgress 开始
|
||||||
NProgress.start();
|
NProgress.start();
|
||||||
const currentPath = window.location.pathname;
|
const currentPath = window.location.pathname;
|
||||||
console.log(currentPath, "=currentPath=");
|
|
||||||
// 2.动态设置标题
|
// 2.动态设置标题
|
||||||
const title = import.meta.env.VITE_GLOB_APP_TITLE;
|
const title = import.meta.env.VITE_GLOB_APP_TITLE;
|
||||||
document.title = to.meta.title ? `${to.meta.title} - ${title}` : title;
|
document.title = to.meta.title ? `${to.meta.title} - ${title}` : title;
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ export const useAuthStore = defineStore({
|
|||||||
};
|
};
|
||||||
|
|
||||||
processRoutes(this.authMenuList);
|
processRoutes(this.authMenuList);
|
||||||
console.log(pageButtonMap, "=pageButtonMap=");
|
|
||||||
this.pageButtonMap = pageButtonMap;
|
this.pageButtonMap = pageButtonMap;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -129,7 +129,6 @@ const handleCommit = () => {
|
|||||||
};
|
};
|
||||||
//详情
|
//详情
|
||||||
const getSubscribeDetails = async () => {
|
const getSubscribeDetails = async () => {
|
||||||
console.log($route.query.id);
|
|
||||||
let id = $route.query.id;
|
let id = $route.query.id;
|
||||||
if (!id) {
|
if (!id) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ export const setDetailsData = (dataStore: any, data: any) => {
|
|||||||
useOrgName: item.use_org_name
|
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_number1 = dataStore.ruleForm.customers;
|
||||||
dataStore.ruleForm.customer_number = dataStore.ruleForm.customers;
|
dataStore.ruleForm.customer_number = dataStore.ruleForm.customers;
|
||||||
|
|||||||
Reference in New Issue
Block a user