| | |
| | | mp.uuid like concat('%',#{condition},'%') |
| | | or mp.name like concat('%',#{condition},'%') |
| | | or mp.planner like concat('%',#{condition},'%') |
| | | or mp.remarks like concat('%',#{condition},'%') |
| | | ) |
| | | </if> |
| | | ORDER BY mp.create_time DESC |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | // ,{field: 'hostId$', align: 'center',title: '所属商户'} |
| | | ,{field: 'userId$', align: 'center',title: '业务员'} |
| | | ,{field: 'planType$', align: 'center',title: '业务类型'} |
| | | ,{field: 'name', align: 'center',title: '售前规划申请单名称'} |
| | | ,{field: 'planNeed$', align: 'center',title: '所需'} |
| | | ,{field: 'deptId$', align: 'center',title: '所属部门'} |
| | | ,{field: 'orderId$', align: 'center',title: '跟踪项目'} |
| | | ,{field: 'cstmrId$', align: 'center',title: '甲方单位'} |
| | | ,{field: 'uuid', align: 'center',title: '规划单代号'} |
| | | ,{field: 'appleTime$', align: 'center',title: '申请日期'} |
| | | ,{field: 'userId$', align: 'left',title: '业务员'} |
| | | ,{field: 'planType$', align: 'left',title: '业务类型', width: 150} |
| | | ,{field: 'name', align: 'left',title: '售前规划申请单名称', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'planMore',} |
| | | ,{field: 'uuid', align: 'left',title: '规划单号', width: 100} |
| | | ,{field: 'planNeed$', align: 'left',title: '所需', templet:function(d){return emptyShow(d.planNeed$)}} |
| | | ,{field: 'deptId$', align: 'left',title: '所属部门'} |
| | | ,{field: 'orderId$', align: 'left',title: '跟踪项目', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'orderMore'} |
| | | // ,{field: 'cstmrId$', align: 'left',title: '甲方单位', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'cstmrMore'} |
| | | ,{field: 'appleTime$', align: 'left',title: '申请日期', hide: true} |
| | | // ,{field: 'beItem$', align: 'center',title: '立项'} |
| | | ,{field: 'planner', align: 'center',title: '规划员', templet:function(d){return emptyShow(d.planner)}} |
| | | // ,{field: 'planner', align: 'left',title: '规划员', templet:function(d){return emptyShow(d.planner)}} |
| | | // ,{field: 'finishTime$', align: 'center',title: '完成时间'} |
| | | // ,{field: 'form', align: 'center',title: '表单内容'} |
| | | // ,{field: 'change$', align: 'center',title: '更改方案'} |
| | |
| | | // ,{field: 'settleMsg', align: 'center',title: '审核进度'} |
| | | // ,{field: 'comment', align: 'center',title: '评论'} |
| | | // ,{field: 'status$', align: 'center',title: '状态'} |
| | | ,{field: 'updateBy$', align: 'center',title: '修改人员'} |
| | | ,{field: 'updateTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'memo', align: 'center',title: '注释', hide: true} |
| | | ,{field: 'createTime$', align: 'left',title: '添加日期', width: 160, hide: false} |
| | | ,{field: 'updateBy$', align: 'left',title: '修改人'} |
| | | ,{field: 'updateTime$', align: 'left',title: '修改时间', hide: true} |
| | | ,{field: 'memo', align: 'left',title: '注释', hide: true} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120} |
| | | ]], |
| | |
| | | // 搜索 |
| | | form.on('submit(search)', function (data) { |
| | | pageCurr = 1; |
| | | tableReload(); |
| | | }); |
| | | |
| | | // 重置 |
| | | form.on('submit(reset)', function (data) { |
| | | pageCurr = 1; |
| | | clearFormVal($('#search-box')); |
| | | pageCount = 0; |
| | | tableReload(); |
| | | }); |
| | | |
| | |
| | | $.each($('#search-box [name]').serializeArray(), function() { |
| | | searchData[this.name] = this.value; |
| | | }); |
| | | if (treeCond) { |
| | | searchData[treeCond.key] = treeCond.val; |
| | | } |
| | | tableIns.reload({ |
| | | where: searchData, |
| | | page: {curr: pageCurr} |