中扬CRM客户关系管理系统
#
LSH
2023-11-03 1e9fe530b299f9bf1004a983be6fea266b4e8ddc
#
5个文件已修改
35 ■■■■ 已修改文件
src/main/java/com/zy/crm/manager/controller/PlanController.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/crm/manager/entity/PriOnline2.java 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/crm/manager/utils/SmsUtils.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/priOnline2/priOnline.js 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/login.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/crm/manager/controller/PlanController.java
@@ -710,6 +710,9 @@
            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());
        }
src/main/java/com/zy/crm/manager/entity/PriOnline2.java
@@ -8,7 +8,9 @@
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;
@@ -223,6 +225,15 @@
        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);
src/main/java/com/zy/crm/manager/utils/SmsUtils.java
@@ -64,7 +64,7 @@
            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()
src/main/webapp/static/js/priOnline2/priOnline.js
@@ -104,9 +104,7 @@
                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$',
@@ -116,9 +114,12 @@
                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: {
src/main/webapp/views/login.html
@@ -189,9 +189,9 @@
                  <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>