zhouwenxuan
2024-01-17 d2aadcde08ceead17404098555bbfc3b8fc329d3
专家用户证书编号
已修改1个文件
8 ■■■■ 文件已修改
src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyReview/userManage/expertUsers/components/expertDialog.vue
@@ -458,14 +458,18 @@
}
const onSubmit = async () => {
    let isCode = false;
    const valid = await superRef.value.validate();
    if(valid){
        state.form.majorShow.forEach(item => {
          if(item.certificateNo == ''){
          if(item.certificateNo === undefined || item.certificateNo === ''){
            isCode = true;
          }
        })
      if(isCode){
            ElMessage.warning('请输入对应的证书编号')
            return ;
          }
        })
        if(state.title == '新增'){
            const {confirmPassword,id,socialList,salaryList,medicalList,...data} = state.form
            data.password = Base64.encode(data.password)