| | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | #VUE_APP_API = 'http://localhost:10030/' |
| | | VUE_APP_API = 'http://192.168.0.135:10030/' |
| | | #VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/' |
| | | #VUE_APP_API = 'http://192.168.0.135:10030/' |
| | | VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/' |
| | |
| | | this.$nextTick(() => { |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | this.form.username=null |
| | | } |
| | | }) |
| | | }, |
| | |
| | | |
| | | if(companyMapper.selectCount(new QueryWrapper<Company>().lambda() |
| | | .ne(Company::getId,company.getId()) |
| | | .eq(Company::getIsdeleted,Constants.ZERO) |
| | | .and(w->w.eq(Company::getCode,company.getCode()) |
| | | .or().eq(Company::getEmail,company.getEmail()) |
| | | .or().eq(Company::getUsername,company.getUsername()) |
| | | // .or().eq(Company::getUsername,company.getUsername()) |
| | | .or().eq(Company::getName,company.getName())) |
| | | )>0){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,该企业【名称】【统一信用代码】【邮箱】或者【企业账号】已存在,请确认后重新提交!"); |