| | |
| | | # 平台端-萍姐 |
| | | # VUE_APP_API = 'http://192.168.0.105:10023/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10032/' |
| | | VUE_APP_API = 'http://192.168.0.176:10032/' |
| | |
| | | return request.get(`business/insuranceApply/getSignLink/${id}`) |
| | | } |
| | | export function getSignTBQRSLink (data) { |
| | | return request.post('/business/insuranceApply/getSignTBQRSLink', data, { |
| | | trim: true |
| | | }) |
| | | // return request.get('/business/insuranceApply/signTBQRSLink') |
| | | return request.post('/business/insuranceApply/signTBQRSLink', data) |
| | | } |
| | | export function getMemberListOnlineSignLink (data) { |
| | | return request.post('/business/insuranceApply/getMemberListOnlineSignLink', data, { |
| | |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <el-input v-model="form.code" placeholder="请输入" v-trim/> |
| | | <el-button type="primary" style="margin-left: 15px;" @click="send" v-if="num === 0">发送验证码</el-button> |
| | | <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}</el-button> |
| | | <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}s</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | }, |
| | | send () { |
| | | sendSms({ |
| | | phone: this.form1.phone |
| | | phone: this.form.phone |
| | | }).then(res => { |
| | | this.num = 60 |
| | | this.setTime() |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @ApiOperation("方案确认书签章业务") |
| | | @PostMapping("/getSignTBQRSLink ") |
| | | @PostMapping("/signTBQRSLink") |
| | | @RequiresPermissions("business:insuranceapply:query") |
| | | public ApiResponse<String> getSignTBQRSLink(@RequestBody SmsCheckDTO smsCheckDTO) { |
| | | return ApiResponse.success(insuranceApplyService.getSignTBQRSLink(smsCheckDTO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("人员名单签章") |
| | | @PostMapping("/getMemberListOnlineSignLink") |
| | | @RequiresPermissions("business:insuranceapply:query") |
| | | public ApiResponse<String> getMemberListOnlineSignLink(@RequestBody SmsCheckDTO smsCheckDTO) { |
| | | return ApiResponse.success(insuranceApplyService.getMemberListOnlineSignLink(smsCheckDTO)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("投保申请单签章业务") |
| | | @PostMapping("/getSignWTBTBDLink") |
| | |
| | | } |
| | | |
| | | public List<Integer> getCollectStatus(Integer collectStatus){ |
| | | if(collectStatus ==null){ |
| | | return new ArrayList<>(); |
| | | } |
| | | List<Integer> statusList = Constants.InsuranceApplyStatus.getKesByStatus(collectStatus); |
| | | if(collectStatus.equals(Constants.ApplyCollectStatus.DCD)){ |
| | | statusList.addAll(Constants.InsuranceApplyStatus.getKesByStatus(Constants.ApplyCollectStatus.WTBDCD.getKey())); |
| | |
| | | ){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | |
| | | if(!debugModel){ |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | } |
| | | MPJLambdaWrapper wrapper= new MPJLambdaWrapper<InsuranceApply>() |
| | | .selectAll(InsuranceApply.class) |
| | | .selectAs(Solutions::getSignKeyword,InsuranceApply::getSignKeyword) |
| | |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | //验证 验证码 |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | if(!debugModel){ |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | } |
| | | InsuranceApply model = this.queryApplyDetail(smsCheckDTO.getBusinessId()); |
| | | if(Objects.isNull(model)){ |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"未查询保单信息"); |
| | |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | //验证 验证码 |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | if(!debugModel){ |
| | | smsEmailService.validateCode(smsCheckDTO.getCode()); |
| | | } |
| | | MPJLambdaWrapper wrapper= new MPJLambdaWrapper<InsuranceApply>() |
| | | .selectAll(InsuranceApply.class) |
| | | .selectAs(Solutions::getSignKeyword,InsuranceApply::getSignKeyword) |