| | |
| | | { |
| | | label: '公告时间', name: 'StartTime', labtype: 'txt', hidden: false, width: 90 , |
| | | formatter: function (v) { |
| | | return $.trim(v) == '' ? '' : $.trim(v).replace("T"," ") //.substring(0,10); |
| | | return $.trim(v) == '' ? '' : $.trim(v).substring(0, 10); //$.trim(v).replace("T"," ") |
| | | } |
| | | }, |
| | | { label: '项目区域', name: 'Sheng', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '项目区域', name: 'Sheng', labtype: 'txt', hidden: false, width: 160 }, |
| | | { |
| | | label: '项目名称', name: 'Name', labtype: 'txt', hidden: false, width: 400 , |
| | | label: '项目名称', name: 'Name', labtype: 'txt', hidden: false, width: 500 , |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue + "','98%','100%', '/Project/Add?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | |
| | | var color = ""; |
| | | if (rowObject.Fblx != null && rowObject.Fblx != '') { |
| | | color = "red"; |
| | | } |
| | | |
| | | return "<a onclick=\"OpenWindow('" + cellvalue + "','98%','100%', '/Project/Add?id=" + rowObject.Id + "')\" ><span style='color:" + color + ";'>" + cellvalue + "</span></a>"; |
| | | } |
| | | }, { label: '项目编号', name: 'Number', labtype: 'txt', hidden: false, width: 100 }, |
| | | }, { label: '项目编号', name: 'Number', labtype: 'txt', hidden: false, width: 140 }, |
| | | { |
| | | label: '中标供应商', name: 'Toubiaocishu', labtype: 'txt', hidden: false, width: 400, |
| | | label: '中标供应商', name: 'Toubiaocishu', labtype: 'txt', hidden: false, width: 200, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (cellvalue != null && cellvalue != "null" && cellvalue != "") { |
| | | var ss = cellvalue.split('、'); |
| | |
| | | } |
| | | }, |
| | | { |
| | | label: '第二候选', name: 'Drhx', labtype: 'txt', hidden: false, width: 400, |
| | | label: '第二候选', name: 'Drhx', labtype: 'txt', hidden: false, width: 200, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (cellvalue != null && cellvalue != "null" && cellvalue != "") { |
| | | var ss = cellvalue.split('、'); |
| | |
| | | } |
| | | }, |
| | | { |
| | | label: '第三候选', name: 'Dshx', labtype: 'txt', hidden: false, width: 400, |
| | | label: '第三候选', name: 'Dshx', labtype: 'txt', hidden: false, width: 200, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (cellvalue != null && cellvalue != "null" && cellvalue != "") { |
| | | var ss = cellvalue.split('、'); |