From a4351e37544068341ee48fc5883b02daa57037c6 Mon Sep 17 00:00:00 2001
From: cwchen <1048842385@qq.com>
Date: Thu, 25 Sep 2025 15:56:06 +0800
Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BB=A3=E7=A0=81=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/request.js | 2 -
.../archCatalogue/components/leftTree.vue | 5 +-
.../archCatalogue/components/rightTable.vue | 3 +-
.../archClass/archClassification/index.vue | 3 +-
.../archCustomClassification/index.vue | 3 +-
.../index.vue | 3 +-
.../fileClassificationTags/index.vue | 3 +-
.../fileManager/components/leftTree.vue | 3 +-
.../fileManager/components/rightTable.vue | 3 +-
.../data-collect/data-class-manage/index.vue | 3 +-
src/views/filesTransfer/accept/index.vue | 3 +-
src/views/filesTransfer/apply/index.vue | 3 +-
src/views/filesTransfer/encryption/index.vue | 3 +-
src/views/filesTransfer/issue/index.vue | 3 +-
.../record/components/recordList.vue | 3 +-
src/views/filesTransfer/record/index.vue | 3 +-
src/views/system/setting/config.js | 17 +++
src/views/system/setting/index.vue | 110 ++++++++++++++++++
src/views/system/white/index.vue | 3 +-
19 files changed, 145 insertions(+), 34 deletions(-)
create mode 100644 src/views/system/setting/config.js
create mode 100644 src/views/system/setting/index.vue
diff --git a/src/utils/request.js b/src/utils/request.js
index bfb5731..21f9d6c 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -47,7 +47,6 @@ service.interceptors.request.use(
repeatSubmit = false,
skipReplayProtection = false
} = headers
- console.error(process.env.NODE_ENV);
// 设置请求头
config.headers['encryptRequest'] = systemConfig.requestConfig.encryptRequest && encryptRequest ? 'true' : 'false'
@@ -243,7 +242,6 @@ service.interceptors.response.use(
) {
return res.data
}
- console.log(msg);
// 账号在其他设备登录的安全提示(基于后端返回信息关键词识别)
const otherDeviceLogin = /检测到您的账号已在其他设备登录/.test(String(msg || ''))
diff --git a/src/views/archivesManagement/archClass/archCatalogue/components/leftTree.vue b/src/views/archivesManagement/archClass/archCatalogue/components/leftTree.vue
index 0905143..7778a7c 100644
--- a/src/views/archivesManagement/archClass/archCatalogue/components/leftTree.vue
+++ b/src/views/archivesManagement/archClass/archCatalogue/components/leftTree.vue
@@ -137,9 +137,10 @@ export default {
} else {
this.$modal.msgError(res.msg);
}
- }).catch(error => {
+ })
+ .catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
+ this.$modal.msgError(error);
console.error('删除失败:', error);
});
}).catch(() => {
diff --git a/src/views/archivesManagement/archClass/archCatalogue/components/rightTable.vue b/src/views/archivesManagement/archClass/archCatalogue/components/rightTable.vue
index 686e1ea..75226a0 100644
--- a/src/views/archivesManagement/archClass/archCatalogue/components/rightTable.vue
+++ b/src/views/archivesManagement/archClass/archCatalogue/components/rightTable.vue
@@ -131,8 +131,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/archClass/archClassification/index.vue b/src/views/archivesManagement/archClass/archClassification/index.vue
index 0d8a88f..0672087 100644
--- a/src/views/archivesManagement/archClass/archClassification/index.vue
+++ b/src/views/archivesManagement/archClass/archClassification/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/archClass/archCustomClassification/index.vue b/src/views/archivesManagement/archClass/archCustomClassification/index.vue
index 628cedf..9980375 100644
--- a/src/views/archivesManagement/archClass/archCustomClassification/index.vue
+++ b/src/views/archivesManagement/archClass/archCustomClassification/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/archClass/fileClassificationNamingConvention/index.vue b/src/views/archivesManagement/archClass/fileClassificationNamingConvention/index.vue
index 3ee363a..3747846 100644
--- a/src/views/archivesManagement/archClass/fileClassificationNamingConvention/index.vue
+++ b/src/views/archivesManagement/archClass/fileClassificationNamingConvention/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/archClass/fileClassificationTags/index.vue b/src/views/archivesManagement/archClass/fileClassificationTags/index.vue
index 330317c..535e1eb 100644
--- a/src/views/archivesManagement/archClass/fileClassificationTags/index.vue
+++ b/src/views/archivesManagement/archClass/fileClassificationTags/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/fileManager/components/leftTree.vue b/src/views/archivesManagement/fileManager/components/leftTree.vue
index 064bc8d..fb46ed1 100644
--- a/src/views/archivesManagement/fileManager/components/leftTree.vue
+++ b/src/views/archivesManagement/fileManager/components/leftTree.vue
@@ -141,8 +141,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/archivesManagement/fileManager/components/rightTable.vue b/src/views/archivesManagement/fileManager/components/rightTable.vue
index 9fe2c7a..13bd988 100644
--- a/src/views/archivesManagement/fileManager/components/rightTable.vue
+++ b/src/views/archivesManagement/fileManager/components/rightTable.vue
@@ -146,8 +146,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/data-collect/data-class-manage/index.vue b/src/views/data-collect/data-class-manage/index.vue
index a50c3e1..01ffe4e 100644
--- a/src/views/data-collect/data-class-manage/index.vue
+++ b/src/views/data-collect/data-class-manage/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/accept/index.vue b/src/views/filesTransfer/accept/index.vue
index 7687eef..21722c7 100644
--- a/src/views/filesTransfer/accept/index.vue
+++ b/src/views/filesTransfer/accept/index.vue
@@ -129,8 +129,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/apply/index.vue b/src/views/filesTransfer/apply/index.vue
index 6842d04..0bb4cda 100644
--- a/src/views/filesTransfer/apply/index.vue
+++ b/src/views/filesTransfer/apply/index.vue
@@ -128,8 +128,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/encryption/index.vue b/src/views/filesTransfer/encryption/index.vue
index dcee2c0..5832673 100644
--- a/src/views/filesTransfer/encryption/index.vue
+++ b/src/views/filesTransfer/encryption/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/issue/index.vue b/src/views/filesTransfer/issue/index.vue
index a4a54eb..4aa2ef4 100644
--- a/src/views/filesTransfer/issue/index.vue
+++ b/src/views/filesTransfer/issue/index.vue
@@ -122,8 +122,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/record/components/recordList.vue b/src/views/filesTransfer/record/components/recordList.vue
index 04c6387..d08e95f 100644
--- a/src/views/filesTransfer/record/components/recordList.vue
+++ b/src/views/filesTransfer/record/components/recordList.vue
@@ -129,8 +129,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/filesTransfer/record/index.vue b/src/views/filesTransfer/record/index.vue
index 6b5edd7..68f9900 100644
--- a/src/views/filesTransfer/record/index.vue
+++ b/src/views/filesTransfer/record/index.vue
@@ -138,8 +138,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理
diff --git a/src/views/system/setting/config.js b/src/views/system/setting/config.js
new file mode 100644
index 0000000..3175772
--- /dev/null
+++ b/src/views/system/setting/config.js
@@ -0,0 +1,17 @@
+export const formLabel = [
+ {
+ isShow: false, // 是否展示label
+ f_type: 'ipt',
+ f_label: '数据类型名称',
+ f_model: 'dataTypeName',
+ f_max: 32,
+ },
+]
+
+export const columnsList = [
+ { t_props: 'pName', t_label: '数据分类类型' },
+ { t_props: 'dataTypeName', t_label: '数据类型名称' },
+ { t_props: 'updateUserName', t_label: '更新人' },
+ { t_props: 'updateTime', t_label: '更新时间' },
+ { t_props: 'remark', t_label: '备注' }
+]
\ No newline at end of file
diff --git a/src/views/system/setting/index.vue b/src/views/system/setting/index.vue
new file mode 100644
index 0000000..c93d537
--- /dev/null
+++ b/src/views/system/setting/index.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/white/index.vue b/src/views/system/white/index.vue
index 457fb42..ff1e215 100644
--- a/src/views/system/white/index.vue
+++ b/src/views/system/white/index.vue
@@ -99,8 +99,7 @@ export default {
}
}).catch(error => {
this.$modal.closeLoading();
- this.$modal.msgError("删除失败,请重试");
- console.error('删除失败:', error);
+ this.$modal.msgError(error);
});
}).catch(() => {
// 用户取消删除,不需要处理