From 29df2858c8ac1b80f63d4e5c3432dffa00a52a70 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 6 Jun 2024 11:19:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=AC=E6=B5=AE=E6=A0=8F=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 6 +- package.json | 1 + src/api/index.js | 165 +-- src/layouts/header/index.vue | 138 +-- src/layouts/navbar/index.vue | 249 ++--- src/pages/article/list/index.vue | 242 ++--- src/pages/column/add/index.vue | 393 +++---- src/pages/column/page/devHistory.vue | 74 +- src/pages/column/page/iasf.vue | 963 +++++++++-------- src/pages/floatingFrame/index.vue | 576 ++++++----- src/pages/user/list/index.vue | 1420 +++++++++++++------------- src/setting.js | 103 +- 12 files changed, 2081 insertions(+), 2249 deletions(-) diff --git a/package-lock.json b/package-lock.json index c4ab7c1..bfc9dbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9613,9 +9613,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash._basecopy": { "version": "3.0.1", diff --git a/package.json b/package.json index c6d9599..f5db8c1 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "element-ui": "^2.13.0", "image-conversion": "^2.1.1", "js-cookie": "^2.2.1", + "lodash": "^4.17.21", "mavon-editor": "^2.6.17", "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", diff --git a/src/api/index.js b/src/api/index.js index a40533b..0504505 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -2,85 +2,90 @@ import Setting from '@/setting' const host = Setting.apiBaseURL export default { - logins: `iasf/sys/user/login`, - verification: `${host}iasf/sys/getVerify`, - upload: `${host}iasf/sysFiles/upload`, - listByPage: `iasf/sysFiles/listByPage`, - delFile: `iasf/sysFiles/delete`, - updateFile: `iasf/sysFiles/update`, - dept: `iasf/sys/dept`, - deptTree: `iasf/sys/dept/tree`, - depts: `iasf/sys/dept/tree`, - users: `iasf/sys/users`, - user: `iasf/sys/user`, - sendPhoneOrEmailCode: `iasf/sys/sendPhoneOrEmailCode`, - updatePhoneOrEmail: `iasf/sys/updatePhoneOrEmail`, - updateUserAvatars: `${host}iasf/sys/updateUserAvatars`, + logins: `/iasf/sys/user/login`, + verification: `${host}/iasf/sys/getVerify`, + upload: `${host}/iasf/sysFiles/upload`, + listByPage: `/iasf/sysFiles/listByPage`, + delFile: `/iasf/sysFiles/delete`, + updateFile: `/iasf/sysFiles/update`, + dept: `/iasf/sys/dept`, + deptTree: `/iasf/sys/dept/tree`, + depts: `/iasf/sys/dept/tree`, + users: `/iasf/sys/users`, + user: `/iasf/sys/user`, + sendPhoneOrEmailCode: `/iasf/sys/sendPhoneOrEmailCode`, + updatePhoneOrEmail: `/iasf/sys/updatePhoneOrEmail`, + updateUserAvatars: `${host}/iasf/sys/updateUserAvatars`, staffTemplate: `http://139.159.254.212/用户导入模板.xlsx`, - checkJobNumber: `iasf/sys/checkJobNumber`, - checkUsername: `iasf/sys/checkUsername`, - resetPwd: `iasf/sys/resetPwd`, - pwd: `iasf/sys/user/pwd`, - exportFailure: `${host}iasf/sys/exportFailure`, - importStaff: `${host}iasf/sys/importStaff`, - roles: `iasf/sys/roles`, - role: `iasf/sys/role`, - deleteRole: `iasf/sys/role/deleted`, - perTree: `iasf/sys/permission/tree/all`, - groupAdd: `iasf/sys/userGroup/add`, - groupDel: `iasf/sys/userGroup/delete`, - groupList: `iasf/sys/userGroup/list`, - groupUpdate: `iasf/sys/userGroup/update`, - site: `iasf/sys/site/list`, - updateSite: `iasf/sys/site/update`, - delSite: `iasf/sys/site/delete`, - listWithTree: `iasf/sysColumn/listWithTree`, - saveColumn: `iasf/sysColumn/save`, - updateColumn: `iasf/sysColumn/update`, - findColumn: `iasf/sysColumn/findById`, - deleteColumn: `iasf/sysColumn/batchDeletion`, - sameLevelJudgment: `iasf/sysColumn/sameLevelJudgment`, - sortByColumn: `iasf/sysColumn/sortByColumn`, - checkIfTheTitleIsRepeat: `iasf/sysContent/checkIfTheTitleIsRepeat`, - deleteArticle: `iasf/sysContent/batchDeletion`, - findArticle: `iasf/sysContent/findById`, - queryArticle: `iasf/sysContent/pagingQuery`, - articleEnableOrDisable: `iasf/sysContent/articleEnableOrDisable`, - saveArticle: `iasf/sysContent/save`, - updateArticle: `iasf/sysContent/update`, - modifiedSort: `iasf/sysContent/modifiedSort`, - longPageColumnList: `iasf/pageManagement/longPageColumnList`, - searchAllBySite: `iasf/sysNavigationStyle/searchAllBySite`, - updateStyle: `iasf/sysNavigationStyle/update`, - saveStyle: `iasf/sysNavigationStyle/save`, - findPage: `iasf/sysColumnLongPage/getLongPageInformation`, - getRedisPage: `iasf/sysColumnLongPage/getRedisCache`, - savePage: `iasf/sysColumnLongPage/save`, - saveRedisPage: `iasf/sysColumnLongPage/saveTheCache`, - updatePage: `iasf/sysColumnLongPage/update`, - listOfColumnTemplates: `iasf/template/listOfColumnTemplates`, - theTemplateIdGetsTheStyle: `iasf/template/theTemplateIdGetsTheStyle`, - queryClassif: `iasf/content/classification/allTheQuery`, - delClassif: `iasf/content/classification/delete`, - checkClassif: `iasf/content/classification/checkForHeavy`, - saveClassif: `iasf/content/classification/save`, - updateClassif: `iasf/content/classification/update`, - checkLabel: `iasf/content/label/checkForHeavy`, - delLabel: `iasf/content/label/delete`, - checkLabel: `iasf/content/label/checkForHeavy`, - queryLabel: `iasf/content/label/queryAllArticleSubjectTags`, - saveLabel: `iasf/content/label/save`, - updateLabel: `iasf/content/label/update`, - delContentFile: `iasf/content/file/delete`, - saveContentFile: `iasf/content/file/save`, - theAttachmentUnderTheQueryColumn: `iasf/content/file/theAttachmentUnderTheQueryColumn`, - individualTemplateDetailsStyle: `iasf/template/individualTemplateDetailsStyle`, - longPageListStyle: `iasf/template/longPageListStyle`, - resort: `iasf/sysContent/sort`, - articleTopOperation: `iasf/sysContent/articleTopOperation`, - deleteUselessData: `iasf/sysColumn/deleteUselessData`, - addSeo: `iasf/seo/add`, - delSeo: `iasf/seo/delete`, - seoList: `iasf/seo/list`, - updateSeo: `iasf/seo/update`, + checkJobNumber: `/iasf/sys/checkJobNumber`, + checkUsername: `/iasf/sys/checkUsername`, + resetPwd: `/iasf/sys/resetPwd`, + pwd: `/iasf/sys/user/pwd`, + exportFailure: `${host}/iasf/sys/exportFailure`, + importStaff: `${host}/iasf/sys/importStaff`, + roles: `/iasf/sys/roles`, + role: `/iasf/sys/role`, + deleteRole: `/iasf/sys/role/deleted`, + perTree: `/iasf/sys/permission/tree/all`, + groupAdd: `/iasf/sys/userGroup/add`, + groupDel: `/iasf/sys/userGroup/delete`, + groupList: `/iasf/sys/userGroup/list`, + groupUpdate: `/iasf/sys/userGroup/update`, + site: `/iasf/sys/site/list`, + updateSite: `/iasf/sys/site/update`, + delSite: `/iasf/sys/site/delete`, + listWithTree: `/iasf/sysColumn/listWithTree`, + saveColumn: `/iasf/sysColumn/save`, + updateColumn: `/iasf/sysColumn/update`, + findColumn: `/iasf/sysColumn/findById`, + deleteColumn: `/iasf/sysColumn/batchDeletion`, + sameLevelJudgment: `/iasf/sysColumn/sameLevelJudgment`, + sortByColumn: `/iasf/sysColumn/sortByColumn`, + checkIfTheTitleIsRepeat: `/iasf/sysContent/checkIfTheTitleIsRepeat`, + deleteArticle: `/iasf/sysContent/batchDeletion`, + findArticle: `/iasf/sysContent/findById`, + queryArticle: `/iasf/sysContent/pagingQuery`, + articleEnableOrDisable: `/iasf/sysContent/articleEnableOrDisable`, + saveArticle: `/iasf/sysContent/save`, + updateArticle: `/iasf/sysContent/update`, + modifiedSort: `/iasf/sysContent/modifiedSort`, + longPageColumnList: `/iasf/pageManagement/longPageColumnList`, + searchAllBySite: `/iasf/sysNavigationStyle/searchAllBySite`, + updateStyle: `/iasf/sysNavigationStyle/update`, + saveStyle: `/iasf/sysNavigationStyle/save`, + findPage: `/iasf/sysColumnLongPage/getLongPageInformation`, + getRedisPage: `/iasf/sysColumnLongPage/getRedisCache`, + savePage: `/iasf/sysColumnLongPage/save`, + saveRedisPage: `/iasf/sysColumnLongPage/saveTheCache`, + updatePage: `/iasf/sysColumnLongPage/update`, + listOfColumnTemplates: `/iasf/template/listOfColumnTemplates`, + theTemplateIdGetsTheStyle: `/iasf/template/theTemplateIdGetsTheStyle`, + queryClassif: `/iasf/content/classification/allTheQuery`, + delClassif: `/iasf/content/classification/delete`, + checkClassif: `/iasf/content/classification/checkForHeavy`, + saveClassif: `/iasf/content/classification/save`, + updateClassif: `/iasf/content/classification/update`, + checkLabel: `/iasf/content/label/checkForHeavy`, + delLabel: `/iasf/content/label/delete`, + checkLabel: `/iasf/content/label/checkForHeavy`, + queryLabel: `/iasf/content/label/queryAllArticleSubjectTags`, + saveLabel: `/iasf/content/label/save`, + updateLabel: `/iasf/content/label/update`, + delContentFile: `/iasf/content/file/delete`, + saveContentFile: `/iasf/content/file/save`, + theAttachmentUnderTheQueryColumn: `/iasf/content/file/theAttachmentUnderTheQueryColumn`, + individualTemplateDetailsStyle: `/iasf/template/individualTemplateDetailsStyle`, + longPageListStyle: `/iasf/template/longPageListStyle`, + resort: `/iasf/sysContent/sort`, + articleTopOperation: `/iasf/sysContent/articleTopOperation`, + deleteUselessData: `/iasf/sysColumn/deleteUselessData`, + addSeo: `/iasf/seo/add`, + delSeo: `/iasf/seo/delete`, + seoList: `/iasf/seo/list`, + updateSeo: `/iasf/seo/update`, + batchDeletionFloating: `/iasf/SysFloatingColumnSchemeService/SysFloatingColumnScheme/batchDeletion`, + findFloating: `/iasf/SysFloatingColumnSchemeService/SysFloatingColumnScheme/findById`, + listFloating: `/iasf/SysFloatingColumnSchemeService/SysFloatingColumnScheme/floatingBarList`, + saveFloating: `/iasf/SysFloatingColumnSchemeService/SysFloatingColumnScheme/saveOrUpdate`, + enableOrDisableScheme: `/iasf/SysFloatingColumnSchemeService/SysFloatingColumnScheme/enableOrDisableScheme`, } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index c984ea0..795cded 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -2,36 +2,28 @@