| | |
| | | // ,{field: 'nowHeadman$', align: 'left',title: '规划组长',hide: true} |
| | | ,{field: 'orderId$', align: 'left',title: '跟踪项目', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'orderMore',hide: false} |
| | | // ,{field: 'cstmrId$', align: 'left',title: '甲方单位', width: 220, style: 'color: #1890ff;cursor:pointer', event: 'cstmrMore',hide: true} |
| | | ,{field: 'appleTime$', align: 'left',title: '申请日期', hide: true} |
| | | ,{field: 'appleTime$', align: 'left',title: '申请日期', hide: false} |
| | | // ,{field: 'beItem$', align: 'center',title: '立项'} |
| | | // ,{field: 'planner', align: 'left',title: '规划员', templet:function(d){return emptyShow(d.planner)}} |
| | | // ,{field: 'finishTime$', align: 'center',title: '完成时间'} |
| | |
| | | // ,{field: 'settleMsg', align: 'center',title: '审核进度'} |
| | | // ,{field: 'comment', align: 'center',title: '评论'} |
| | | // ,{field: 'status$', align: 'center',title: '状态'} |
| | | ,{field: 'createTime$', align: 'left',title: '添加日期', width: 160, hide: false} |
| | | ,{field: 'createTime$', align: 'left',title: '添加日期', width: 160, hide: true} |
| | | ,{field: 'updateBy$', align: 'left',title: '修改人', width: 100} |
| | | ,{field: 'updateTime$', align: 'left',title: '修改时间', hide: true} |
| | | ,{field: 'memo', align: 'left',title: '注释', hide: true} |
| | |
| | | method: 'GET', |
| | | success: function (res0) { |
| | | let planType = res0.data.planType; |
| | | console.log(planType.html) |
| | | if (res0.code === 200) { |
| | | admin.open({ |
| | | type: 1, |
| | |
| | | ]) |
| | | let planNeedSel = loadPlanNeedSel(); |
| | | form.val('detail', { |
| | | planTypeName: planType.name |
| | | planTypeName: planType.name, |
| | | userXmlSelPhone: res0.data.mobile |
| | | }); |
| | | layDateRender(); |
| | | form.on('submit(editSubmit)', function (data) { |
| | | console.log(data) |
| | | data.field.planType = planType.id; |
| | | data.field.orderId = orderSel.getValue()[0] ? orderSel.getValue()[0].value : null; |
| | | data.field.cstmrId = cstmrSel.getValue()[0] ? cstmrSel.getValue()[0].value : null; |
| | |
| | | }, function (i) { |
| | | layer.close(i); |
| | | // 指定规划员 |
| | | if (data.settle === 2) { |
| | | if (data.settle === 1) { |
| | | admin.open({ |
| | | type: 1, |
| | | area: '300px', |
| | |
| | | autoRow: true, |
| | | filterable: true, |
| | | remoteSearch: true, |
| | | clickClose: true, |
| | | radio: true, |
| | | remoteMethod: function (val, cb, show) { |
| | | let loadIndex = layer.load(2); |
| | |
| | | autoRow: true, |
| | | filterable: true, |
| | | remoteSearch: true, |
| | | clickClose: true, |
| | | radio: true, |
| | | remoteMethod: function (val, cb, show) { |
| | | $.ajax({ |
| | |
| | | autoRow: true, |
| | | filterable: true, |
| | | remoteSearch: true, |
| | | clickClose: true, |
| | | radio: true, |
| | | remoteMethod: function (val, cb, show) { |
| | | $.ajax({ |
| | |
| | | if (res.code === 200) { |
| | | cb(res.data) |
| | | } else { |
| | | cb([]); |
| | | cb([]);Query/auth |
| | | layer.msg(res.msg, {icon: 2}); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | on: function (data){ |
| | | if (data.change.length > 0) { |
| | | let orderId = data.change[0].value; |
| | | $.ajax({ |
| | | url: baseUrl + "/order/" + orderId + "/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: {}, |
| | | method: 'GET', |
| | | success: function (res) { |
| | | if (res.code === 200) { |
| | | let cstmrSel = loadCstmrSel(); |
| | | cstmrSel.setValue([{name: res.data.cstmrId$, value: res.data.cstmrId}]); |
| | | } else { |
| | | layer.msg(res.msg, {icon: 2}); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | |
| | | autoRow: true, |
| | | filterable: true, |
| | | remoteSearch: true, |
| | | clickClose: true, |
| | | radio: true, |
| | | remoteMethod: function (val, cb, show) { |
| | | $.ajax({ |
| | |
| | | method: 'POST', |
| | | success: function (res) { |
| | | if (res.code === 200) { |
| | | cb(res.data) |
| | | // cb(res.data) |
| | | cb([]); |
| | | } else { |
| | | cb([]); |
| | | layer.msg(res.msg, {icon: 2}); |
| | |
| | | method: 'POST', |
| | | success: function (res) { |
| | | if (res.code === 200) { |
| | | console.log(planNeedXmlSelData) |
| | | planNeedXmlSel.update({ |
| | | initValue: planNeedXmlSelData, |
| | | data: res.data |
| | |
| | | autoRow: true, |
| | | filterable: true, |
| | | remoteSearch: true, |
| | | clickClose: true, |
| | | radio: true, |
| | | remoteMethod: function (val, cb, show) { |
| | | $.ajax({ |