From c690c7f8a7c7e4a2c623793527910e1cbcbe7d0d Mon Sep 17 00:00:00 2001 From: qingyu <14049064+qingyuya123@user.noreply.gitee.com> Date: Tue, 17 Jun 2025 15:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E5=8A=A8=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/lang/zh-CN/menu.js | 2 + src/router/routes/dynamic.js | 84 +++++ src/router/routes/index.js | 4 +- .../companyNews/components/Department.vue | 169 ++++++++++ .../components/EditDepartmentDialog.vue | 131 ++++++++ .../companyNews/components/EditDialog.vue | 293 ++++++++++++++++++ src/views/dynamic/companyNews/index.vue | 234 ++++++++++++++ 7 files changed, 916 insertions(+), 1 deletion(-) create mode 100644 src/router/routes/dynamic.js create mode 100644 src/views/dynamic/companyNews/components/Department.vue create mode 100644 src/views/dynamic/companyNews/components/EditDepartmentDialog.vue create mode 100644 src/views/dynamic/companyNews/components/EditDialog.vue create mode 100644 src/views/dynamic/companyNews/index.vue diff --git a/src/locales/lang/zh-CN/menu.js b/src/locales/lang/zh-CN/menu.js index 43369c9..44c4421 100644 --- a/src/locales/lang/zh-CN/menu.js +++ b/src/locales/lang/zh-CN/menu.js @@ -39,4 +39,6 @@ export default { corporateHonor:'企业荣誉', talentCenter:'人才中心', teamStyle:'团队风采', + Dynamic:'海邻动态', + companyNews:'公司动态', } diff --git a/src/router/routes/dynamic.js b/src/router/routes/dynamic.js new file mode 100644 index 0000000..cd11f6f --- /dev/null +++ b/src/router/routes/dynamic.js @@ -0,0 +1,84 @@ +import { SettingOutlined } from '@ant-design/icons-vue' + +export default [ + { + path: 'Dynamic', + name: 'Dynamic', + component: 'RouteViewLayout', + meta: { + icon: SettingOutlined, + title: '图片管理1', + isMenu: true, + keepAlive: true, + permission: '*', + }, + children: [ + { + path: 'companyNews', + name: 'companyNews', + component: 'dynamic/companyNews/index.vue', + meta: { + title: '公司动态', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'about', + name: 'about', + component: 'imgMgt/about/index.vue', + meta: { + title: '关于海邻', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'researchHonor', + name: 'researchHonor', + component: 'imgMgt/researchHonor/index.vue', + meta: { + title: '科研成果', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'corporateHonor', + name: 'corporateHonor', + component: 'imgMgt/corporateHonor/index.vue', + meta: { + title: '日志管理', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'talentCenter', + name: 'talentCenter', + component: 'imgMgt/talentCenter/index.vue', + meta: { + title: '日志管理', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'teamStyle', + name: 'teamStyle', + component: 'imgMgt/teamStyle/index.vue', + meta: { + title: '日志管理', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + ], + }, +] diff --git a/src/router/routes/index.js b/src/router/routes/index.js index 7186110..e6939eb 100644 --- a/src/router/routes/index.js +++ b/src/router/routes/index.js @@ -10,6 +10,7 @@ import link from './link' import iframe from './iframe' import other from './other' import imgMgt from './imgMgt' +import dynamic from './dynamic' export default [ ...home, @@ -23,5 +24,6 @@ export default [ ...link, ...iframe, ...other, - ...imgMgt + ...imgMgt, + ...dynamic, ] diff --git a/src/views/dynamic/companyNews/components/Department.vue b/src/views/dynamic/companyNews/components/Department.vue new file mode 100644 index 0000000..efaefad --- /dev/null +++ b/src/views/dynamic/companyNews/components/Department.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/views/dynamic/companyNews/components/EditDepartmentDialog.vue b/src/views/dynamic/companyNews/components/EditDepartmentDialog.vue new file mode 100644 index 0000000..e5a271f --- /dev/null +++ b/src/views/dynamic/companyNews/components/EditDepartmentDialog.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/dynamic/companyNews/components/EditDialog.vue b/src/views/dynamic/companyNews/components/EditDialog.vue new file mode 100644 index 0000000..3f3aa09 --- /dev/null +++ b/src/views/dynamic/companyNews/components/EditDialog.vue @@ -0,0 +1,293 @@ + + + + + diff --git a/src/views/dynamic/companyNews/index.vue b/src/views/dynamic/companyNews/index.vue new file mode 100644 index 0000000..dac14b2 --- /dev/null +++ b/src/views/dynamic/companyNews/index.vue @@ -0,0 +1,234 @@ + + + + +