|
|
|
@ -118,6 +118,12 @@ module Developer{
|
|
|
|
|
function formatTask(items:Array<any>){
|
|
|
|
|
var result = [];
|
|
|
|
|
angular.forEach(items, (item) => {
|
|
|
|
|
var tmp_batch="";
|
|
|
|
|
if(item.submittedBatch.indexOf("批次")==-1){
|
|
|
|
|
tmp_batch="批次"+item.submittedBatch;
|
|
|
|
|
}else{
|
|
|
|
|
tmp_batch=item.submittedBatch;
|
|
|
|
|
}
|
|
|
|
|
result.push({
|
|
|
|
|
id: item.id,
|
|
|
|
|
_key: item.regionalismCode + "-" + item.systemCode + "-" + item.dataVersion,
|
|
|
|
@ -129,7 +135,7 @@ module Developer{
|
|
|
|
|
to: item.dstPath,
|
|
|
|
|
labels:{
|
|
|
|
|
dataType: item.dataType,
|
|
|
|
|
batch: "批次"+item.submittedBatch,
|
|
|
|
|
batch: tmp_batch,
|
|
|
|
|
dataVersion: "版本"+item.dataVersion,
|
|
|
|
|
dataYear: item.year
|
|
|
|
|
}
|
|
|
|
|