Web_Manager_Develope
wu ming 8 years ago
parent 6c3d873e46
commit 30a2d220ef

File diff suppressed because one or more lines are too long

@ -249,7 +249,7 @@ gulp.task('connect', ['watch'], function() {
}, { }, {
proto: "http", proto: "http",
port: "8080", port: "8080",
hostname: "192.168.0.181", hostname: "192.168.0.101",
path: '/java/console/api', path: '/java/console/api',
targetPath: "/" targetPath: "/"
}]; }];

@ -38,12 +38,13 @@ module Developer{
return num; return num;
} }
} }
function createLabel(cityName:string, districtName:string, systemName:string, version:string){ function createLabel(cityName:string, districtName:string, systemName:string, version:string, year:string){
return{ return{
cityName: cityName, cityName: cityName,
districtName: districtName, districtName: districtName,
systemName: systemName, systemName: systemName,
version: "版本"+version version: "版本"+version,
year: year
} }
} }
function createKey(regionalismCode, systemId, version){ function createKey(regionalismCode, systemId, version){
@ -58,7 +59,7 @@ module Developer{
function populateLabel(item){ function populateLabel(item){
var result = item var result = item
result["labels"] = createLabel(item.cityName, item.districtName, item.systemName, item.dataVersion); result["labels"] = createLabel(item.cityName, item.districtName, item.systemName, item.dataVersion, item.year);
return result; return result;
} }
@ -145,7 +146,7 @@ module Developer{
result = data.data; result = data.data;
paramOptions.totalSize=data.length; paramOptions.totalSize=data.length;
} }
}); });
return result; return result;
} }

Loading…
Cancel
Save