|  |  |  | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | // 模板下载 | 
|---|
|  |  |  | layer.load(1, {shade: [0.1,'#fff']}); | 
|---|
|  |  |  | location.href = baseUrl + "/mould/甲方单位导入模板.xls"; | 
|---|
|  |  |  | location.href = baseUrl + "/mould/跟踪项目导入模板.xls"; | 
|---|
|  |  |  | layer.closeAll('loading'); | 
|---|
|  |  |  | break | 
|---|
|  |  |  | case 2: | 
|---|
|  |  |  | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | ,{field: 'name', align: 'left',title: '跟踪项目名称', style: 'color: #1890ff;cursor:pointer', event: 'more', width: 300} | 
|---|
|  |  |  | ,{field: 'uuid', align: 'left',title: '项目代号'} | 
|---|
|  |  |  | ,{field: 'cstmrId$', align: 'left',title: '甲方单位', templet:function(d){return emptyShow(d.cstmrId$)}} | 
|---|
|  |  |  | ,{field: 'cstmrId$', align: 'left',title: '甲方单位', style: 'color: #1890ff;cursor:pointer', event: 'cstmrMore', templet:function(d){return emptyShow(d.cstmrId$)}} | 
|---|
|  |  |  | ,{field: 'pcd$', align: 'left',title: '所属区域', templet:function(d){return emptyShow(d.pcd$)}} | 
|---|
|  |  |  | ,{field: 'addr', align: 'left',title: '项目地址', templet:function(d){return emptyShow(d.addr)}} | 
|---|
|  |  |  | ,{field: 'money', align: 'right',title: '项目总金额', templet:function(d){return emptyShow(d.money)}} | 
|---|
|  |  |  | ,{field: 'money', align: 'right',title: '项目预算金额', templet:function(d){return emptyShow(d.money)}} | 
|---|
|  |  |  | ,{field: 'director$', align: 'left',title: '项目负责人', templet:function(d){return emptyShow(d.director$)}} | 
|---|
|  |  |  | ,{field: 'remarks', align: 'left',title: '备注', templet:function(d){return emptyShow(d.remarks)}} | 
|---|
|  |  |  | ,{field: 'createTime$', align: 'left',title: '添加时间'} | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'cstmrMore': | 
|---|
|  |  |  | top.cstmrByMore = data.cstmrId; | 
|---|
|  |  |  | admin.popupRight({ | 
|---|
|  |  |  | type: 1, | 
|---|
|  |  |  | window: "top", | 
|---|
|  |  |  | area: "1250px", | 
|---|
|  |  |  | url: "../cstmr/cstmr_more.html", | 
|---|
|  |  |  | end: function () { | 
|---|
|  |  |  | // $(".layui-laypage-btn")[0].click(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'edit': | 
|---|
|  |  |  | showEditModel(data); | 
|---|
|  |  |  | break; | 
|---|