Parcourir la source

fix:修改bug

wuguojie il y a 1 an
Parent
commit
24e18d42ed
2 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 1 1
      src/api/modules/project.ts
  2. 5 0
      src/views/insurancePolicy/index.vue

+ 1 - 1
src/api/modules/project.ts

@@ -22,7 +22,7 @@ const projectApi = (axiosInstance: ApiInstance) => ({
     productId: string,
     schemeType: string
   }) => axiosInstance.get(`/scheme/getSchemeByCompany?companyId=${data.companyId}&productId=${data.productId}&schemeType=${data.schemeType}`), // 新增时如果有方案获取对应方案
-  getCompanyList:() => axiosInstance.get('/scheme/getCompanyList'), // 保司list
+  getCompanyList:() => axiosInstance.get(`/scheme/getCompanyList?systemCode=${localStorage.getItem('login_system')}`), // 保司list
   getById: (data: string) => axiosInstance.get(`/jyxConfig/getById?id=${data}`), // 驾意险详情
 })
 

+ 5 - 0
src/views/insurancePolicy/index.vue

@@ -2416,6 +2416,11 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
           })
         }
       })
+    } else {
+        ElMessage({
+            message: '请完整填写相关信息',
+            type: 'warning'
+        })
     }
   })
 }