| | |
| | | order.setCreateTime(new Date()); |
| | | order.setUpdateBy(getUserId()); |
| | | order.setUpdateTime(new Date()); |
| | | order.setStatus(1); |
| | | order.setStatus(0); |
| | | order.setStep(1); |
| | | |
| | | orderService.insert(order); |
| | |
| | | private String files; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | * 项目状态{0:跟踪中,1:完成,2:关闭} |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 禁用 ") |
| | | @ApiModelProperty(value= "项目状态{0:跟踪中,1:完成,2:关闭}") |
| | | private Integer status; |
| | | |
| | | /** |
| | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "禁用"; |
| | | return "跟踪中"; |
| | | case 1: |
| | | return "完成"; |
| | | case 2: |
| | | return "关闭"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | |
| | | ,{field: 'city', align: 'left',title: '市', hide: true} |
| | | ,{field: 'district', align: 'left',title: '县', hide: true} |
| | | ,{field: 'town', align: 'left',title: '镇', hide: true} |
| | | ,{field: 'status$', align: 'left',title: '状态'} |
| | | ,{field: 'files', align: 'left',title: '附件', hide: true} |
| | | ,{field: 'updateBy$', align: 'left',title: '修改人员', hide: true} |
| | | ,{field: 'updateTime$', align: 'left',title: '修改时间', hide: true} |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">项目状态 : </label> |
| | | <div class="layui-input-block"> |
| | | <input type="radio" name="status" value="0" title="跟踪中"/> |
| | | <input type="radio" name="status" value="1" title="完成"/> |
| | | <input type="radio" name="status" value="2" title="关闭"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-md6"> |
| | | <div class="layui-form-item"> |