diff --git a/src/views/qms/aql/index.vue b/src/views/qms/aql/index.vue index 3ac3045a6..44911263b 100644 --- a/src/views/qms/aql/index.vue +++ b/src/views/qms/aql/index.vue @@ -209,7 +209,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await AqlApi.enableAql(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -217,7 +217,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await AqlApi.disableAql(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/basicDataManage/dynamicRule/index.vue b/src/views/qms/basicDataManage/dynamicRule/index.vue index 15f2bc404..49e9ff621 100644 --- a/src/views/qms/basicDataManage/dynamicRule/index.vue +++ b/src/views/qms/basicDataManage/dynamicRule/index.vue @@ -252,7 +252,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await DynamicRuleApi.enableDynamicRule(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -260,7 +260,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await DynamicRuleApi.disableDynamicRule(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/basicDataManage/inspectionScheme/index.vue b/src/views/qms/basicDataManage/inspectionScheme/index.vue index 5509a3fa6..e6a591505 100644 --- a/src/views/qms/basicDataManage/inspectionScheme/index.vue +++ b/src/views/qms/basicDataManage/inspectionScheme/index.vue @@ -215,7 +215,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await InspectionSchemeApi.enableInspectionScheme(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -223,7 +223,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await InspectionSchemeApi.disableInspectionScheme(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/basicDataManage/inspectionTemplate/index.vue b/src/views/qms/basicDataManage/inspectionTemplate/index.vue index a3369a861..c04889e45 100644 --- a/src/views/qms/basicDataManage/inspectionTemplate/index.vue +++ b/src/views/qms/basicDataManage/inspectionTemplate/index.vue @@ -194,7 +194,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await InspectionProcessPageApi.enableInspectionTemplate(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -202,7 +202,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await InspectionProcessPageApi.disableInspectionTemplate(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/basicDataManage/selectedSet/index.vue b/src/views/qms/basicDataManage/selectedSet/index.vue index 8a20c8ea2..32dbc8100 100644 --- a/src/views/qms/basicDataManage/selectedSet/index.vue +++ b/src/views/qms/basicDataManage/selectedSet/index.vue @@ -255,7 +255,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await SelectedSetApi.enableSelectedSet(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -263,7 +263,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await SelectedSetApi.disableSelectedSet(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/inspectionMethod/index.vue b/src/views/qms/inspectionMethod/index.vue index dcc3441a1..08024617f 100644 --- a/src/views/qms/inspectionMethod/index.vue +++ b/src/views/qms/inspectionMethod/index.vue @@ -237,7 +237,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await InspectionMethodApi.enableInspectionMethod(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -245,7 +245,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await InspectionMethodApi.disableInspectionMethod(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/sampleCode/index.vue b/src/views/qms/sampleCode/index.vue index d4417960b..8e9696b80 100644 --- a/src/views/qms/sampleCode/index.vue +++ b/src/views/qms/sampleCode/index.vue @@ -224,7 +224,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await SampleCodeApi.enableSampleCode(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -232,7 +232,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await SampleCodeApi.disableSampleCode(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/samplingProcess/index.vue b/src/views/qms/samplingProcess/index.vue index 85fb11271..d156c065e 100644 --- a/src/views/qms/samplingProcess/index.vue +++ b/src/views/qms/samplingProcess/index.vue @@ -210,7 +210,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await SamplingProcessApi.enableSamplingProcess(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -218,7 +218,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await SamplingProcessApi.disableSamplingProcess(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} diff --git a/src/views/qms/samplingScheme/index.vue b/src/views/qms/samplingScheme/index.vue index 880616d63..741e48b1a 100644 --- a/src/views/qms/samplingScheme/index.vue +++ b/src/views/qms/samplingScheme/index.vue @@ -210,7 +210,7 @@ const handleDelete = async (id: number) => { const handleEnable = async (id: number) => { try { await SamplingSchemeApi.enableSamplingScheme(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {} @@ -218,7 +218,7 @@ const handleEnable = async (id: number) => { const handleDisable = async (id: number) => { try { await SamplingSchemeApi.disableSamplingScheme(id) - message.success(t('common.delSuccess')) + message.success(t('common.updateSuccess')) // 刷新列表 await getList() } catch {}