| | |
| | | /** |
| | | * 控管 |
| | | */ |
| | | if (Cools.isEmpty(item.getHostId()) || item.getHostId() == 0){ |
| | | item.setHostId(1L); |
| | | } |
| | | if (Cools.isEmpty(item)) { |
| | | return R.error("参数为空,请联系管理员"); |
| | | } |
| | |
| | | throw new CoolException("找不到该客户,请检查"); |
| | | } |
| | | |
| | | |
| | | item.setCustMan(cstmr.getName()); |
| | | item.setCustMobile(cstmr.getTel()); |
| | | item.setCustAdress(cstmr.getAddr()); |
| | |
| | | @TableField("weight_num") |
| | | private Integer weightNum; |
| | | |
| | | /** |
| | | * 0:常规项目 |
| | | * 1:集成项目 |
| | | */ |
| | | @TableField("is_asrs") |
| | | private Integer isAsrs; |
| | | |
| | | |
| | | // FlowStatus flowStatus = new FlowStatus( |
| | | // null, // 节点类型 |
| | |
| | | // null // |
| | | // ); |
| | | |
| | | public String getIsAsrs$(){ |
| | | if (this.isAsrs == 0) { |
| | | return "常规项目"; |
| | | }else { |
| | | return "集成项目"; |
| | | } |
| | | } |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | |
| | | @TableField("str_3") |
| | | private String str3; |
| | | |
| | | /** |
| | | * 0:常规项目 |
| | | * 1:集成项目 |
| | | */ |
| | | @TableField("is_asrs") |
| | | private Integer isAsrs; |
| | | |
| | |
| | | |
| | | public String getIsAsrs$(){ |
| | | if (this.isAsrs == 0) { |
| | | return "否"; |
| | | return "常规项目"; |
| | | }else { |
| | | return "是"; |
| | | return "集成项目"; |
| | | } |
| | | } |
| | | |
| | |
| | | <result column="str1" property="str1" /> |
| | | <result column="str2" property="str2" /> |
| | | <result column="str3" property="str3" /> |
| | | <result column="is_asrs" property="isAsrs" /> |
| | | |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | ,{field: 'id', align: 'center',title: '唯一id',width: 100} |
| | | ,{field: 'id', align: 'center',title: '唯一id',width: 100 , hide: true} |
| | | ,{field: 'type', align: 'center',title: '节点类型', hide:true} |
| | | |
| | | ,{field: 'weightNum', align: 'center',title: '权重值', width: 100} |
| | | ,{field: 'isAsrs$', align: 'center', width: 100, title: '项目类型'} |
| | | |
| | | ,{field: 'name', align: 'center',title: '节点名称'} |
| | | |
| | | |
| | | ,{field: 'memo', align: 'center',title: '备注', width: 300} |
| | | // ,{field: 'str1', align: 'center',title: ''} |
| | | // ,{field: 'str2', align: 'center',title: ''} |
| | |
| | | // ,{field: 'cstmrUuid', align: 'center',title: '客户编号'} |
| | | ,{field: 'cstmrUuid$', align: 'center',title: '客户名称'} |
| | | ,{field: 'projectStatus$', align: 'center', title: '项目进度'} |
| | | ,{field: 'orderDesc', align: 'center', title: '订单类型描述', width: 115} |
| | | ,{field: 'type$', align: 'center', title: '项目类型'} |
| | | // ,{field: 'type', align: 'center', title: '订单类型描述', width: 115} |
| | | // ,{field: 'member', align: 'center',title: '项目成员'} |
| | | // ,{field: 'leader', align: 'center',title: '项目经理'} |
| | | ,{field: 'startTime0$', align: 'center',title: '计划开始时间', width: 115} |
| | | ,{field: 'endTime0$', align: 'center',title: '计划结束时间', width: 115} |
| | | ,{field: 'realStartTime0$', align: 'center', title: '实际开始时间', width: 115} |
| | | ,{field: 'realEndTime0$', align: 'center', title: '实际结束时间', width: 115} |
| | | ,{field: 'type$', align: 'center', title: '项目类型'} |
| | | |
| | | ,{field: 'originArea', align: 'center', title: '生产地'} |
| | | ,{field: 'realMonth', align: 'center', title: '时间跨度(天)', width: 115} |
| | | ,{field: 'dutyMan', align: 'center', title: '责任人'} |
| | |
| | | <input class="layui-input" name="memo" placeholder="请输入备注"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">项目类型: </label> |
| | | <div class="layui-input-block"> |
| | | <select name="isAsrs"> |
| | | <option value="0">常规项目</option> |
| | | <option value="1">集成项目</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-form-item">--> |
| | | <!-- <label class="layui-form-label">: </label>--> |
| | | <!-- <div class="layui-input-block">--> |
| | |
| | | <script type="text/html" id="operate"> |
| | | <!-- <a class="layui-btn layui-btn-normal layui-btn-xs btn-edit" lay-event="report">生成总结</a>--> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="initPlan">生成计划节点</a> |
| | | <!-- <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="initPlan">生成计划节点</a>--> |
| | | <!-- <a class="layui-btn layui-btn-danger layui-btn-xs btn-edit" lay-event="del">禁用</a>--> |
| | | </script> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">是否为立库: </label> |
| | | <label class="layui-form-label layui-form-required">项目类型:</label> |
| | | <div class="layui-input-block"> |
| | | <select name="isAsrs"> |
| | | <option value="0">否</option> |
| | | <option value="1">是</option> |
| | | <option value="0">常规项目</option> |
| | | <option value="1">集成项目</option> |
| | | </select> |
| | | </div> |
| | | </div> |