|
|
@@ -36,6 +36,8 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp |
|
|
|
//console.log(res) |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
tools.getWebConfig(); |
|
|
|
}; |
|
|
|
|
|
|
|
//新闻列表 |
|
|
@@ -61,7 +63,7 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp |
|
|
|
var content = data.data; |
|
|
|
for ( var i = 0 ; i < content.length ; i++ ){ |
|
|
|
content[i].trainingType = module.selectDictLabel(module.data.trainingTypeOptions,content[i].trainingType); |
|
|
|
content[i].masterMap = serverApi + content[i].masterMap; |
|
|
|
content[i].masterMap = serverApi + ((content[i].masterMap || content[i].masterMap != '')?content[i].masterMap: 'null'); |
|
|
|
} |
|
|
|
module.data.technologyList = content; |
|
|
|
var technologyData = template('technologyData', module.data); |
|
|
@@ -147,4 +149,4 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp |
|
|
|
} |
|
|
|
|
|
|
|
return module; |
|
|
|
}) |
|
|
|
}) |