diff --git a/src/api/archivesManagement/fileManager/fileManager.js b/src/api/archivesManagement/fileManager/fileManager.js
new file mode 100644
index 0000000..f65d9e1
--- /dev/null
+++ b/src/api/archivesManagement/fileManager/fileManager.js
@@ -0,0 +1,29 @@
+import request from '@/utils/request'
+
+
+// 查询项目数据列表
+export function getProListAPI(data) {
+ return request({
+ url: '/smartArchives/project/getProjectList',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 配置档案类型
+export function updateContentsNameAPI(data) {
+ return request({
+ url: '/smartArchives/project/updateContentsName',
+ method: 'POST',
+ data: data,
+ })
+}
+
+// 档案类型下拉选
+export function getFileCatalogSelectAPI(data) {
+ return request({
+ url: '/smartArchives/project/getFileCatalogSelect',
+ method: 'GET',
+ params: data,
+ })
+}
diff --git a/src/views/archivesManagement/archClass/archClassification/config.js b/src/views/archivesManagement/archClass/archClassification/config.js
index 943293d..4b8c238 100644
--- a/src/views/archivesManagement/archClass/archClassification/config.js
+++ b/src/views/archivesManagement/archClass/archClassification/config.js
@@ -9,6 +9,7 @@ export const formLabel = [
]
export const columnsList = [
+ { t_props: 'fileRelated', t_label: '档案相关类型' },
{ t_props: 'classifyName', t_label: '分类名称' },
{ t_props: 'dimension', t_label: '维度' },
{ t_props: 'updateUserName', t_label: '更新人' },
diff --git a/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue b/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue
index f779cd1..c2d09b5 100644
--- a/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue
+++ b/src/views/archivesManagement/archClass/archClassification/prop/fileDimensionForm.vue
@@ -4,6 +4,13 @@
:closeOnClickModal="false" @close="handleClose" :append-to-body="true">
+
+
+
+
+
@@ -37,24 +44,28 @@ import {
export default {
name: "FileDimensionForm",
props: ["width", "dataForm", "title", "disabled", "isAdd", "rowData"],
- dicts: ['dimension'],
+ dicts: ['dimension','file_related_type'],
data() {
return {
lDialog: this.width > 500 ? "w700" : "w500",
dialogVisible: true,
isDisabled: true,
form: {
- classifyName: '',
- dimension: '',
- classifyDesc: '',
+ fileRelated:null,
+ classifyName: null,
+ dimension: null,
+ classifyDesc: null,
},
loading: null,
rules: {
+ fileRelated: [
+ { required: true, message: '请选择档案相关类型', trigger: 'change' }
+ ],
classifyName: [
{ required: true, message: '分类名称不能为空', trigger: 'blur' }
],
dimension: [
- { required: true, message: '数据类型名称不能为空', trigger: 'blur' }
+ { required: true, message: '请选择维度', trigger: 'change' }
],
},
};
@@ -69,16 +80,18 @@ export default {
// 编辑模式:填充表单数据
this.form = {
id: this.rowData.id,
- classifyName: this.rowData.classifyName || '',
- dimension: this.rowData.dimension || '',
- classifyDesc: this.rowData.classifyDesc || '',
+ classifyName: this.rowData.classifyName || null,
+ dimension: this.rowData.dimension || null,
+ classifyDesc: this.rowData.classifyDesc || null,
+ fileRelated: this.rowData.fileRelated || null,
};
} else {
// 新增模式:重置表单
this.form = {
- classifyName: '',
+ classifyName: null,
dimension: null,
- classifyDesc: '',
+ classifyDesc: null,
+ fileRelated:null
};
}
},
@@ -101,9 +114,10 @@ export default {
/**重置表单*/
reset() {
this.form = {
- classifyName: '',
+ classifyName: null,
dimension: null,
- classifyDesc: '',
+ classifyDesc: null,
+ fileRelated: null,
};
this.resetForm("ruleForm");
},
diff --git a/src/views/archivesManagement/fileManager/config.js b/src/views/archivesManagement/fileManager/config.js
new file mode 100644
index 0000000..4d665c6
--- /dev/null
+++ b/src/views/archivesManagement/fileManager/config.js
@@ -0,0 +1,38 @@
+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_props: 'fileUplaudNum', t_label: '当前档案上传数' },
+ { t_slot: 'fileStatus', t_label: '档案状态' },
+]
\ No newline at end of file
diff --git a/src/views/archivesManagement/fileManager/index.vue b/src/views/archivesManagement/fileManager/index.vue
new file mode 100644
index 0000000..85b4784
--- /dev/null
+++ b/src/views/archivesManagement/fileManager/index.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+ {{ data.fileStatus === '0' ? '未归档移交' : '已归档移交' }}
+
+
+
+
+ 档案管理
+
+
+
+
+
+
+