From 9aa6981d56878e07239f301350a625d60625c86a Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 7 Jul 2023 10:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=92=E5=AD=90=E7=A0=94=E7=A9=B6=E9=99=A2?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E7=AB=99=E7=82=B9=E6=A0=87=E9=A2=98=E6=94=B9?= =?UTF-8?q?=E6=88=90=E5=AF=8C=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/modules/module.vue | 2 +- src/const/modules.js | 44 +- src/mixins/page/index.js | 2 + src/pages/column/page/devHistory.vue | 85 +- src/pages/column/page/governance.vue | 2 +- src/pages/column/page/industrial.vue | 18 +- src/pages/column/page/mission.vue | 7 +- src/pages/column/page/overview.vue | 10 +- src/pages/column/page/scientific.vue | 7 +- src/pages/column/page/sfel.vue | 1195 ++++++++++++++------------ src/pages/column/page/speech.vue | 24 +- 11 files changed, 756 insertions(+), 640 deletions(-) diff --git a/src/components/modules/module.vue b/src/components/modules/module.vue index 4d5c06c..b966c05 100644 --- a/src/components/modules/module.vue +++ b/src/components/modules/module.vue @@ -490,7 +490,7 @@ export default { // 递归处理栏目 handleColumn (data) { data.map(e => { - if (e.typeId === 2 || e.typeId === 3) e.disabled = true + // if (e.typeId === 2 || e.typeId === 3) e.disabled = true e.children.length ? this.handleColumn(e.children) : (delete e.children) }) }, diff --git a/src/const/modules.js b/src/const/modules.js index 0f97301..d1f4940 100644 --- a/src/const/modules.js +++ b/src/const/modules.js @@ -6519,7 +6519,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -6835,7 +6835,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -6936,7 +6936,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -6947,7 +6947,7 @@ export default { label: '链接' }, { - type: 'textarea', + type: 'editor', prop: 'des', label: '描述' } @@ -6979,7 +6979,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7060,7 +7060,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7077,7 +7077,7 @@ export default { label: '链接' }, { - type: 'textarea', + type: 'editor', prop: 'des', label: '描述' } @@ -7232,7 +7232,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7402,7 +7402,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7450,7 +7450,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7493,7 +7493,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7639,7 +7639,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7682,7 +7682,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7719,7 +7719,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7801,7 +7801,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7844,7 +7844,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7867,7 +7867,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7894,7 +7894,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7937,7 +7937,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -7975,7 +7975,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -8252,7 +8252,7 @@ export default { type: 'form', forms: [ { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true @@ -8376,7 +8376,7 @@ export default { required: true }, { - type: 'input', + type: 'editor', prop: 'title', label: '标题', required: true diff --git a/src/mixins/page/index.js b/src/mixins/page/index.js index a260856..4b940df 100644 --- a/src/mixins/page/index.js +++ b/src/mixins/page/index.js @@ -74,6 +74,8 @@ export default { this.originModules = str // 原始json,用以页面离开的时候判断是否需要提示保存 list.map((e, i) => { + console.log("🚀 ~ file: index.js:77 ~ list.map ~ e:", e, this.modules[i]) + if (this.modules[i].forms) e.forms = this.modules[i].forms if (this.withOriginForm.includes(e.type) && !e.originForm) { e.originForm = modules[i].originForm } diff --git a/src/pages/column/page/devHistory.vue b/src/pages/column/page/devHistory.vue index 23e280f..c6088d0 100644 --- a/src/pages/column/page/devHistory.vue +++ b/src/pages/column/page/devHistory.vue @@ -3,44 +3,57 @@
页面设置/关于IASF-发展历程
{{ modules[1].form.subTitle }}
- -{{ modules[2].form.subTitle }}
- -{{ modules[2].form.subTitle }}
+ +{{ modules[6].form.des }}
{{ modules[8].form.des }}
{{ modules[4].form.subTitle }}
@@ -132,7 +133,8 @@{{ modules[8].form.des }}
页面设置/SFEL
关于2021年度深圳综合粒子设施研究院采购意向公开表
关于2021年度深圳综合粒子设施研究院采购意向公开表
关于2021年度深圳综合粒子设施研究院采购意向公开表
2022/02/26
2022/02/26
加速器总体-直线加速器总体-高重频电子枪组…
-
+
邵佳航
-
+
会议时间: 2022年8月13日 14:30
-
+
总部四楼大会议室
加速器总体-直线加速器总体-高重频电子枪组…
-
+
邵佳航
-
+
会议时间: 2022年8月13日 14:30
-
+
总部四楼大会议室
加速器总体-直线加速器总体-高重频电子枪组…
-
+
邵佳航
-
+
会议时间: 2022年8月13日 14:30
-
+
总部四楼大会议室
2022.10.10
{{ modules[1].form.subTitle }}
- -{{ modules[1].form.subTitle }}
+