|
@@ -57,12 +57,14 @@
|
|
|
table.render({
|
|
|
elem: '#looktable'
|
|
|
,cols: [[
|
|
|
- {field:'xmmc',width:100,title:'项目名称'}
|
|
|
- ,{field:'sgdw',width:120,title:'施工单位'}
|
|
|
- ,{field:'xmlx',width:100,title:'项目类型'}
|
|
|
- ,{field:'op',align:'center',title:"操作",width:100,templet:function(d){
|
|
|
+ {field:'xmmc',title:'项目名称'}
|
|
|
+ ,{field:'sgdw',title:'施工单位'}
|
|
|
+ ,{field:'xmlx',title:'项目类型'}
|
|
|
+ ,{field:'xmbh',title:'项目编号'}
|
|
|
+ ,{field:'sgdw',title:'施工单位'}
|
|
|
+ ,{field:'op',align:'center',title:"操作",templet:function(d){
|
|
|
////对操作进行初始化
|
|
|
- var xml = "<a class='layui-btn layui-btn-xs' onclick=\"view( '" + d.id + "','" + d.type + "','" + d.projectId + "')\">编辑</a>";
|
|
|
+ var xml = "<a class='layui-btn layui-btn-xs' style='margin-top: 3px' onclick=\"view( '" + d.id + "','" + d.type + "','" + d.projectId + "')\">编辑</a>";
|
|
|
return xml;
|
|
|
}}
|
|
|
]]
|
|
@@ -75,7 +77,9 @@
|
|
|
"type":"${data1.type}",
|
|
|
"xmmc": "${data1.itemName}",
|
|
|
"sgdw": "某施工单位一",
|
|
|
- "xmlx":<c:if test="${data1.type eq '1'}">"架空线路"</c:if><c:if test="${data1.type eq '2'}">"电缆线路"</c:if><c:if test="${data1.type eq '3'}">"变电站线路"</c:if>
|
|
|
+ "xmlx":<c:if test="${data1.type eq '1'}">"架空线路"</c:if><c:if test="${data1.type eq '2'}">"电缆线路"</c:if><c:if test="${data1.type eq '3'}">"变电站线路"</c:if>,
|
|
|
+ "xmbh":"项目编号",
|
|
|
+ "sgdw":"施工单位"
|
|
|
},
|
|
|
</c:forEach>
|
|
|
</c:if>
|