Browse Source

调试

master_hella_20240701
zhaoyiran 7 months ago
parent
commit
97df6e0f50
  1. 4
      src/views/qms/aql/index.vue
  2. 4
      src/views/qms/basicDataManage/dynamicRule/index.vue
  3. 4
      src/views/qms/basicDataManage/inspectionScheme/index.vue
  4. 4
      src/views/qms/basicDataManage/inspectionTemplate/index.vue
  5. 4
      src/views/qms/basicDataManage/selectedSet/index.vue
  6. 4
      src/views/qms/inspectionMethod/index.vue
  7. 4
      src/views/qms/sampleCode/index.vue
  8. 4
      src/views/qms/samplingProcess/index.vue
  9. 4
      src/views/qms/samplingScheme/index.vue

4
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 {}

4
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 {}

4
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 {}

4
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 {}

4
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 {}

4
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 {}

4
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 {}

4
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 {}

4
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 {}

Loading…
Cancel
Save