From ba9b1616c7673aeb4f983f672103548c430916dc Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Tue, 22 Nov 2016 14:27:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=AD=E6=89=B9=E6=AC=A1=E7=9A=84=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E6=9C=89=E9=87=8D?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/developer/ts/dataManagerModel.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/developer/ts/dataManagerModel.ts b/plugins/developer/ts/dataManagerModel.ts index b3a3b43..b133882 100644 --- a/plugins/developer/ts/dataManagerModel.ts +++ b/plugins/developer/ts/dataManagerModel.ts @@ -118,6 +118,12 @@ module Developer{ function formatTask(items:Array){ 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 }