祖安之光
yesterday 113d86491b290cc847d6ef34a5561e9b2f09d76e
src/views/analyse/identify/components/identifyDialog.vue
@@ -729,13 +729,13 @@
        let {hazopId, jhaId, phaId, sclId, analogyId, ...data} = identifyDialogState.identifyForm
        let res = await identifyApi().addIdentify(data);
        if (res.data.code === 100) {
          emit('refresh', 1, res.data.data)
          identifyDialogState.identifyDialogVisible = false;
          ElMessage({
            type: 'success',
            message: '新增成功'
          })
          identifyDialogState.fileList = []
          emit('refresh', 1, res.data.data)
        } else {
          ElMessage({
            type: 'warning',
@@ -748,13 +748,13 @@
        }
        let res = await identifyApi().modIdentify(identifyDialogState.identifyForm)
        if (res.data.code === 100) {
          emit('refresh', 2, identifyDialogState.identifyForm)
          identifyDialogState.identifyDialogVisible = false;
          ElMessage({
            type: 'success',
            message: '编辑成功'
          })
          identifyDialogState.fileList = []
          emit('refresh', 2, identifyDialogState.identifyForm)
        } else {
          ElMessage({
            type: 'warning',