|
@@ -94,39 +94,46 @@ $(document).ready(function() {
|
|
|
columns: [
|
|
|
{
|
|
|
field: 'projectNumber',
|
|
|
+ width:160,
|
|
|
title: '项目定义号'
|
|
|
|
|
|
}
|
|
|
,{
|
|
|
field: 'projectName',
|
|
|
+ width:160,
|
|
|
title: '项目名称'
|
|
|
|
|
|
}
|
|
|
,{
|
|
|
field: 'projectMonthDate',
|
|
|
+ width:160,
|
|
|
title: '停电月份'
|
|
|
|
|
|
}
|
|
|
,{
|
|
|
field: 'projectPowerRange',
|
|
|
title: '停电范围',
|
|
|
- width:160
|
|
|
+ width:200
|
|
|
}
|
|
|
,{
|
|
|
field: 'projectPowerOut',
|
|
|
title: '是否带电',
|
|
|
+ width:160,
|
|
|
formatter: getTime
|
|
|
},{
|
|
|
field: 'constructionUnit',
|
|
|
- title: '施工单位项目经理',
|
|
|
+ width:160,
|
|
|
+ title: '施工单位项目经理'
|
|
|
|
|
|
}
|
|
|
,{
|
|
|
field: 'associatedBag',
|
|
|
- title: '关联包',
|
|
|
+ width:160,
|
|
|
+ title: '关联包'
|
|
|
}
|
|
|
,{
|
|
|
field: 'powerPackage',
|
|
|
+ width:160,
|
|
|
title: '停电包'
|
|
|
}
|
|
|
]
|
|
@@ -134,7 +141,7 @@ $(document).ready(function() {
|
|
|
function getTime(value, row, index) {
|
|
|
if(row.projectPowerOut == "带电") {
|
|
|
return [
|
|
|
- "<select class='form-control' id=" + row.id + "><option value='停电'>停电</option><option value='带电' selected>带电</option><select>",
|
|
|
+ "<select class='form-control' id=" + row.id + "><option value='带电' selected>带电</option><option value='停电'>停电</option><select>",
|
|
|
].join('');
|
|
|
}else {
|
|
|
return [
|