diff --git a/src/components/GxUpload/index.vue b/src/components/GxUpload/index.vue index ea55093..0e9516f 100644 --- a/src/components/GxUpload/index.vue +++ b/src/components/GxUpload/index.vue @@ -106,9 +106,6 @@ const handlePreview = async (file) => { // 修改handleChange方法 const handleChange = ({ file, fileList: updatedList }) => { - console.log(111) - console.log(file.status) - console.log(updatedList) // 处理上传成功的情况 if (file.status === 'done') { const response = file.response; diff --git a/src/locales/lang/zh-CN/menu.js b/src/locales/lang/zh-CN/menu.js index 4271195..168d4c0 100644 --- a/src/locales/lang/zh-CN/menu.js +++ b/src/locales/lang/zh-CN/menu.js @@ -37,7 +37,7 @@ export default { about:'关于海邻', researchHonor:'科研成果', corporateHonor:'企业荣誉', - talentCenter:'人才中心', + talentCenter:'办公环境', teamStyle:'团队风采', Dynamic:'海邻动态', companyNews:'公司动态', diff --git a/src/router/util.js b/src/router/util.js index c9b58b1..46f97a4 100644 --- a/src/router/util.js +++ b/src/router/util.js @@ -73,10 +73,7 @@ export function formatRoutes(routes = [], parent = {}) { const modules = import.meta.glob('../views/**/*.vue') return routes .map((item) => { - console.log(111) const localRoute = find(toList(localRoutes), { name: item.name }) - console.log(222,localRoute) - if (!localRoute) return const component = localRoute?.component || 'exception/404' const isLink = localRoute?.meta?.type === 'link' diff --git a/src/views/dynamic/companyNews/index.vue b/src/views/dynamic/companyNews/index.vue index 6b3e912..eb8da5d 100644 --- a/src/views/dynamic/companyNews/index.vue +++ b/src/views/dynamic/companyNews/index.vue @@ -136,7 +136,7 @@ async function getPageList() { const { success, data, total } = await apis.dynamic .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/dynamic/mediaReports/index.vue b/src/views/dynamic/mediaReports/index.vue index 59e56ed..59c8829 100644 --- a/src/views/dynamic/mediaReports/index.vue +++ b/src/views/dynamic/mediaReports/index.vue @@ -129,7 +129,7 @@ async function getPageList() { const { success, data, total } = await apis.dynamic .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/dynamic/videoCenter/index.vue b/src/views/dynamic/videoCenter/index.vue index 2c7608d..eb3e500 100644 --- a/src/views/dynamic/videoCenter/index.vue +++ b/src/views/dynamic/videoCenter/index.vue @@ -170,7 +170,7 @@ async function getPageList() { const { success, data, total } = await apis.videoCenter .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/importantEvents/index.vue b/src/views/importantEvents/index.vue index 7e7620e..b9264f8 100644 --- a/src/views/importantEvents/index.vue +++ b/src/views/importantEvents/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.importantEvents .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/list/basic/index.vue b/src/views/list/basic/index.vue index 6796e34..2f4ea11 100644 --- a/src/views/list/basic/index.vue +++ b/src/views/list/basic/index.vue @@ -143,7 +143,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/list/card/index.vue b/src/views/list/card/index.vue index f2dd73c..55da4b3 100644 --- a/src/views/list/card/index.vue +++ b/src/views/list/card/index.vue @@ -115,7 +115,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/list/search/applications/index.vue b/src/views/list/search/applications/index.vue index 0f1b065..84c82ff 100644 --- a/src/views/list/search/applications/index.vue +++ b/src/views/list/search/applications/index.vue @@ -147,7 +147,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/list/search/articles/index.vue b/src/views/list/search/articles/index.vue index 34f8f8d..bbc1fc9 100644 --- a/src/views/list/search/articles/index.vue +++ b/src/views/list/search/articles/index.vue @@ -154,7 +154,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/list/search/projects/index.vue b/src/views/list/search/projects/index.vue index ed0752b..1324050 100644 --- a/src/views/list/search/projects/index.vue +++ b/src/views/list/search/projects/index.vue @@ -131,7 +131,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/list/table/index.vue b/src/views/list/table/index.vue index b7ca7e8..80f2570 100644 --- a/src/views/list/table/index.vue +++ b/src/views/list/table/index.vue @@ -194,7 +194,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/product/components/EditDialog.vue b/src/views/product/components/EditDialog.vue index 991c8da..5ab1608 100644 --- a/src/views/product/components/EditDialog.vue +++ b/src/views/product/components/EditDialog.vue @@ -239,6 +239,8 @@ async function handleEdit(record = {}) { formData.value = { ...data, categoryIDs:data.categoryID, + categoryID:data.categoryID, + categoryRootID:data.categoryRootID, standard: data.standard || [{ label: '', val: '', diff --git a/src/views/product/index.vue b/src/views/product/index.vue index a00102d..9fbcd4e 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -168,7 +168,7 @@ async function getPageList() { const { success, data, total } = await apis.products .getProductsList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/productType/index.vue b/src/views/productType/index.vue index 8ac1260..34cb519 100644 --- a/src/views/productType/index.vue +++ b/src/views/productType/index.vue @@ -72,7 +72,7 @@ async function getPageList() { const { success, data, total } = await apis.categorys .getDataList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/recruitment/index.vue b/src/views/recruitment/index.vue index e3636bb..576a2ba 100644 --- a/src/views/recruitment/index.vue +++ b/src/views/recruitment/index.vue @@ -127,7 +127,7 @@ async function getPageList() { const { success, data, total } = await apis.recruitment .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index f7041a6..b66181f 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -107,7 +107,7 @@ async function getPageList() { const { code, data } = await apis.common .getPageList({ pageSize, - page: current, + current:current, }) .catch(() => { throw new Error() diff --git a/src/views/system/logger/index.vue b/src/views/system/logger/index.vue index 53f735e..68f0a6f 100644 --- a/src/views/system/logger/index.vue +++ b/src/views/system/logger/index.vue @@ -162,7 +162,7 @@ async function getPageList() { const { success, data, total } = await apis.system .getLoggers({ pageSize, - page: current, + current:current, ...searchFormData.value, startTime: startTime.value, endTime: endTime.value, diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 4d4deae..7ef9faf 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -158,7 +158,7 @@ async function getPageList() { const { success, data, total } = await apis.role .getRoleList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 6fbbcb0..cea397f 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -153,7 +153,7 @@ async function getPageList() { const { success, data, total } = await apis.users .getUsersList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/team/index.vue b/src/views/team/index.vue index 8e9c96e..5c87513 100644 --- a/src/views/team/index.vue +++ b/src/views/team/index.vue @@ -146,7 +146,7 @@ async function getPageList() { const { success, data, total } = await apis.team .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => {