From 4f313b4ae5c8b3b47f6d41707562c9af38fe7506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 11 Feb 2026 09:49:51 +0800 Subject: [PATCH] =?UTF-8?q?rename(system):=20=E9=87=8D=E8=A6=81=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=85=8D=E7=BD=AE=E6=A8=A1=E5=9D=97=E6=9B=B4=E5=90=8D?= =?UTF-8?q?=E4=B8=BA=E9=94=99=E8=AF=AF=E7=99=BD=E5=90=8D=E5=8D=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将页面标题从"重要错误配置"更改为"错误白名单配置" - 更新查询表单中的"错误描述"标签为"白名单关键词" - 更新表格列标题从"错误描述关键词"为"白名单关键词(可忽略的错误)" - 更新表单输入框标签从"错误描述关键词"为"白名单关键词(配置可忽略的普通错误)" - 更新验证规则提示信息从"错误描述关键词"为"白名单关键词" - 更新所有操作提示信息中的"重要错误配置"为"错误白名单" - 修改删除确认对话框提示信息,明确删除后该类错误将被标记为重要错误 --- .../modules/system/importantErrorConfig.vue | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/views/modules/system/importantErrorConfig.vue b/src/views/modules/system/importantErrorConfig.vue index ac4d142..abb84bf 100644 --- a/src/views/modules/system/importantErrorConfig.vue +++ b/src/views/modules/system/importantErrorConfig.vue @@ -5,8 +5,8 @@ - - + + @@ -18,7 +18,7 @@ 查询 重置 - 新增 + 新增白名单 @@ -48,7 +48,7 @@ prop="errorDesc" header-align="center" align="left" - label="错误描述关键词" + label="白名单关键词(可忽略的错误)" min-width="200" show-overflow-tooltip> @@ -140,8 +140,8 @@ - - + + @@ -149,7 +149,7 @@ - + @@ -203,7 +203,7 @@ export default { { required: true, message: '请输入工厂编码', trigger: 'blur' } ], errorDesc: [ - { required: true, message: '请输入错误描述关键词', trigger: 'blur' } + { required: true, message: '请输入白名单关键词', trigger: 'blur' } ], active: [ { required: true, message: '请选择是否启用', trigger: 'change' } @@ -241,7 +241,7 @@ export default { } }).catch(error => { this.dataListLoading = false - console.error('查询重要错误配置列表失败:', error) + console.error('查询错误白名单列表失败:', error) this.$alert('查询失败', '错误', { confirmButtonText: '确定' }) }) }, @@ -274,7 +274,7 @@ export default { // 新增配置 - rqrq addConfig() { - this.dialogTitle = '新增重要错误配置' + this.dialogTitle = '新增错误白名单' this.dialogType = 'add' this.formData = { site: this.$store.state.user.site || '55', @@ -290,7 +290,7 @@ export default { // 修改配置 - rqrq editConfig(row) { - this.dialogTitle = '修改重要错误配置' + this.dialogTitle = '修改错误白名单' this.dialogType = 'edit' this.formData = Object.assign({}, row) this.dialogVisible = true @@ -318,7 +318,7 @@ export default { this.$alert(data.msg || '操作失败', '错误') } }).catch(error => { - console.error('保存重要错误配置失败:', error) + console.error('保存错误白名单失败:', error) this.$alert('保存失败', '错误', { confirmButtonText: '确定' }) }).finally(() => { this.saveLoading = false @@ -329,7 +329,7 @@ export default { // 删除配置 - rqrq deleteConfig(row) { // 二次确认 - rqrq - this.$confirm(`确定要删除错误描述 "${row.errorDesc}" 的配置吗?`, '提示', { + this.$confirm(`确定要删除白名单 "${row.errorDesc}" 吗?删除后该类错误将被标记为重要错误`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' @@ -344,7 +344,7 @@ export default { this.$alert(data.msg || '删除失败', '错误') } }).catch(error => { - console.error('删除重要错误配置失败:', error) + console.error('删除错误白名单失败:', error) this.$message.error('删除失败') }).finally(() => { this.deleteLoading = false