var data = [
{serial: {
v: '电源类隐患清单', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, province: '', localNet: '', stationName: '', stationLevel: '' , machineName: '', machineType: '', problemName: '', problemType: '' , problemDetail: '', problemNum: '', problem_time: '', fixTime: '' , if_fix_string: '', remarks: ''},// 被合并的列数据也需要填充上
{serial: {
v: '序号', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, province: {
v: '省', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, localNet: {
v: '本地网', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, stationName: {
v: '局站名称(根据资源系统填写)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, stationLevel: {
v: '局站等级(A/B/C/D)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
} , machineName: {
v: '机房名称(根据资源系统填写)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, machineType: {
v: '机房类别(核心/承载汇聚/BBU池/干线节点/接入网)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, problemName: {
v: '存在电源类隐患的业务系统名称', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, problemType: {
v: '电源类隐患类型(机房空调环境环境/供电侧(包括UPS、电池等)/设备用电侧/)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, problemDetail: {
v: '隐患具体简述(500字以内)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, problemNum: {
v: '电源类隐患数量计数', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, problem_time: {
v: '隐患发现时间(年月日)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, fixTime:{
v: '计划整改完成时间(年月日)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, if_fix_string: {
v: '是否整改完成(可选择看是和否的清单)', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}, remarks: {
v: '备注((500字以内))', s: {
alignment: {
horizontal: 'center',
vertical: 'center'
}
}
}}
];
data=JSON.stringify(data);
data=data.substring(0,data.length-1);
data=data+","+appendJson+"]";
data=$.parseJSON(data);
console.log(data);
注意:本文归作者所有,未经作者允许,不得转载