| | |
| | | |
| | | List<Long> typeList = new ArrayList<>(); |
| | | List<PlanType> planTypes = planTypeService.selectList(new EntityWrapper<PlanType>().eq("type", type)); |
| | | if (type==1){ |
| | | planTypes = planTypeService.selectList(new EntityWrapper<PlanType>()); |
| | | } |
| | | for (PlanType planType : planTypes){ |
| | | typeList.add(planType.getId()); |
| | | } |
| | |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.crm.manager.service.CstmrService; |
| | | import com.zy.crm.manager.service.PlanService; |
| | | import com.zy.crm.system.entity.Dept; |
| | | import com.zy.crm.system.entity.User; |
| | | import com.zy.crm.system.service.DeptService; |
| | | import com.zy.crm.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getDeptId$(){ |
| | | DeptService service = SpringUtils.getBean(DeptService.class); |
| | | Dept dept = service.selectById(this.deptId); |
| | | if (!Cools.isEmpty(dept)){ |
| | | return String.valueOf(dept.getName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getUpdateUserId$() { |
| | | UserService userService = SpringUtils.getBean(UserService.class); |
| | | User user = userService.selectById(this.updateUserId); |
| | |
| | | headers.put("Authorization", "APPCODE " + APPCODE); |
| | | |
| | | param.put("templateId", "M6F3C81FE3"); |
| | | param.put("receive", phone); |
| | | param.put("receive", "13083813523"); |
| | | param.put("tag", code); |
| | | |
| | | String response = new HttpHandler.Builder() |
| | |
| | | hide: false |
| | | } |
| | | , {field: 'itemId', align: 'center', title: '规划单号', hide: true} |
| | | , {field: 'createTime$', align: 'center', title: '创建时间'} |
| | | , {field: 'updateTime$', align: 'center', title: '更新时间'} |
| | | , {field: 'status$', align: 'center', title: '状态'} |
| | | , {field: 'status$', align: 'center', title: '状态',hide : false} |
| | | // ,{field: 'memberId$', align: 'center',title: ''} |
| | | , { |
| | | field: 'settle$', |
| | |
| | | event: 'more', |
| | | hide: false |
| | | } |
| | | , {field: 'user$', align: 'center', title: '业务员'} |
| | | , {field: 'updateUserId$', align: 'center', title: '更新人员'} |
| | | , {field: 'checkDataStatus$', align: 'center', title: '报价数据'} |
| | | , {field: 'user$', align: 'center', title: '业务员',hide : false} |
| | | , {field: 'deptId$', align: 'center', title: '部门',hide : true} |
| | | , {field: 'checkDataStatus$', align: 'center', title: '报价数据',hide : false} |
| | | , {field: 'createTime$', align: 'center', title: '创建时间',hide : true} |
| | | , {field: 'updateUserId$', align: 'center', title: '更新人员',hide : false} |
| | | , {field: 'updateTime$', align: 'center', title: '更新时间',hide : false} |
| | | , {fixed: 'right', title: '操作', align: 'center', toolbar: '#operate', width: 350} |
| | | ]], |
| | | request: { |
| | |
| | | <div id="getCodeTime"></div> |
| | | </div> |
| | | </div> |
| | | <!-- <div style="text-align: right;">--> |
| | | <!-- <button onclick="switchLogin('password')">密码登录</button>--> |
| | | <!-- </div>--> |
| | | <div style="text-align: right;"> |
| | | <button onclick="switchLogin('password')">密码登录</button> |
| | | </div> |
| | | <div class="container-login100-form-btn p-t-10"> |
| | | <button id="smsLogin" class="login100-form-btn login-btn">Login</button> |
| | | </div> |