From ea33da74421518534ec83d13df2338f895102202 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Thu, 11 Sep 2025 18:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/archivesManagement/project.js | 11 ++ .../archivesManagement/proManager/config.js | 37 ++++ .../archivesManagement/proManager/index.vue | 109 ++++++++++ .../proManager/prop/dataClassForm.vue | 187 ++++++++++++++++++ 4 files changed, 344 insertions(+) create mode 100644 src/api/archivesManagement/project.js create mode 100644 src/views/archivesManagement/proManager/config.js create mode 100644 src/views/archivesManagement/proManager/index.vue create mode 100644 src/views/archivesManagement/proManager/prop/dataClassForm.vue diff --git a/src/api/archivesManagement/project.js b/src/api/archivesManagement/project.js new file mode 100644 index 0000000..58a0e17 --- /dev/null +++ b/src/api/archivesManagement/project.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + + +// 查询项目数据列表 +export function getProListAPI(data) { + return request({ + url: '/smartArchives/project/getProjectList', + method: 'GET', + params: data, + }) +} diff --git a/src/views/archivesManagement/proManager/config.js b/src/views/archivesManagement/proManager/config.js new file mode 100644 index 0000000..c94936e --- /dev/null +++ b/src/views/archivesManagement/proManager/config.js @@ -0,0 +1,37 @@ +export const formLabel = [ + { + isShow: false, // 是否展示label + f_type: 'ipt', + f_label: '项目名称', + f_model: 'proName', + f_max: 32, + }, + { + isShow: false, // 是否展示label + f_type: 'sel', + f_label: '项目类型', + f_model: 'proType', + f_selList: [], + f_dict: 'pro_type', + }, + { + isShow: false, // 是否展示label + f_type: 'sel', + f_label: '电压等级', + f_model: 'voltageLevel', + f_selList: [], + f_dict: 'voltage_level', + }, +] + +export const columnsList = [ + { t_props: 'proName', t_label: '项目名称' }, + { t_props: 'singleProName', t_label: '单项工程名称' }, + { t_props: 'proTypeName', t_label: '工程类型' }, + { t_props: 'voltageLevelName', t_label: '电压等级' }, + { t_props: 'planStartDate', t_label: '计划开工日期' }, + { t_props: 'planEndDate', t_label: '计划竣工日期' }, + { t_props: 'planTcDate', t_label: '计划投产日期' }, + { t_props: 'proStatusName', t_label: '工程状态' }, + { t_slot: 'contentsName', t_label: '匹配档案目录类型' }, +] \ No newline at end of file diff --git a/src/views/archivesManagement/proManager/index.vue b/src/views/archivesManagement/proManager/index.vue new file mode 100644 index 0000000..f1a31e1 --- /dev/null +++ b/src/views/archivesManagement/proManager/index.vue @@ -0,0 +1,109 @@ + + + diff --git a/src/views/archivesManagement/proManager/prop/dataClassForm.vue b/src/views/archivesManagement/proManager/prop/dataClassForm.vue new file mode 100644 index 0000000..fbe9e53 --- /dev/null +++ b/src/views/archivesManagement/proManager/prop/dataClassForm.vue @@ -0,0 +1,187 @@ + + + \ No newline at end of file