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 9b848ba..d211a3a 100644 --- a/src/views/dynamic/companyNews/index.vue +++ b/src/views/dynamic/companyNews/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/mediaReports/index.vue b/src/views/dynamic/mediaReports/index.vue index 815c96e..384f69d 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 cd15287..e3bcff4 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/imgMgt/about/index.vue b/src/views/imgMgt/about/index.vue index 19e29bc..c84ab3e 100644 --- a/src/views/imgMgt/about/index.vue +++ b/src/views/imgMgt/about/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/imgMgt/corporateHonor/index.vue b/src/views/imgMgt/corporateHonor/index.vue index eefe8c0..5b40584 100644 --- a/src/views/imgMgt/corporateHonor/index.vue +++ b/src/views/imgMgt/corporateHonor/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/imgMgt/homeBanner/index.vue b/src/views/imgMgt/homeBanner/index.vue index 5c7fdc9..e1bf717 100644 --- a/src/views/imgMgt/homeBanner/index.vue +++ b/src/views/imgMgt/homeBanner/index.vue @@ -120,7 +120,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, type:120, ...searchFormData.value, }) diff --git a/src/views/imgMgt/researchHonor/index.vue b/src/views/imgMgt/researchHonor/index.vue index d42784f..6fe042c 100644 --- a/src/views/imgMgt/researchHonor/index.vue +++ b/src/views/imgMgt/researchHonor/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, type:110, ...searchFormData.value, }) diff --git a/src/views/imgMgt/talentCenter/index.vue b/src/views/imgMgt/talentCenter/index.vue index fd9f76e..f188f67 100644 --- a/src/views/imgMgt/talentCenter/index.vue +++ b/src/views/imgMgt/talentCenter/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/imgMgt/teamStyle/index.vue b/src/views/imgMgt/teamStyle/index.vue index 6fe1b5a..abe81f5 100644 --- a/src/views/imgMgt/teamStyle/index.vue +++ b/src/views/imgMgt/teamStyle/index.vue @@ -119,7 +119,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/importantEvents/index.vue b/src/views/importantEvents/index.vue index f16517c..a32a7f3 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 ee96887..2480277 100644 --- a/src/views/recruitment/index.vue +++ b/src/views/recruitment/index.vue @@ -122,7 +122,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 8cc7000..510ad29 100644 --- a/src/views/team/index.vue +++ b/src/views/team/index.vue @@ -133,7 +133,7 @@ async function getPageList() { const { success, data, total } = await apis.team .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => { diff --git a/src/views/websiteRelated/friendlyLinks/index.vue b/src/views/websiteRelated/friendlyLinks/index.vue index a8968dc..b2a25e6 100644 --- a/src/views/websiteRelated/friendlyLinks/index.vue +++ b/src/views/websiteRelated/friendlyLinks/index.vue @@ -125,7 +125,7 @@ async function getPageList() { const { success, data, total } = await apis.imgmgt .getDataList({ pageSize, - page: current, + current:current, ...searchFormData.value, }) .catch(() => {