diff --git a/public/components/property/importRoomFee/importRoomFee.html b/public/components/property/importRoomFee/importRoomFee.html index 604b53365..2b6d1e3dd 100644 --- a/public/components/property/importRoomFee/importRoomFee.html +++ b/public/components/property/importRoomFee/importRoomFee.html @@ -14,11 +14,21 @@ +
+ +
+
+
@@ -36,7 +46,7 @@
请先下载 - 导入模板 + 导入模板 准备数据后,上传导入
diff --git a/public/components/property/importRoomFee/importRoomFee.js b/public/components/property/importRoomFee/importRoomFee.js index 1026b1347..a0354e2b0 100644 --- a/public/components/property/importRoomFee/importRoomFee.js +++ b/public/components/property/importRoomFee/importRoomFee.js @@ -6,7 +6,8 @@ communityId: vc.getCurrentCommunity().communityId, excelTemplate: '', feeTypeCd: '', - feeTypeCds: [] + feeTypeCds: [], + objType:'3333' } }, _initMethod: function () { @@ -69,7 +70,8 @@ param.append("uploadFile", vc.component.importRoomFeeInfo.excelTemplate); param.append('communityId', vc.component.importRoomFeeInfo.communityId); param.append('feeTypeCd', vc.component.importRoomFeeInfo.feeTypeCd); - + param.append('objType', $that.importRoomFeeInfo.objType); + vc.http.upload( 'importRoomFee', @@ -101,7 +103,7 @@ }); }, _exportRoomFeeTemplate:function(){ - vc.jumpToPage('/callComponent/importRoomFee/exportData?communityId='+vc.getCurrentCommunity().communityId); + vc.jumpToPage('/callComponent/importRoomFee/exportData?communityId='+vc.getCurrentCommunity().communityId+"&objType="+$that.importRoomFeeInfo.objType); }, clearAddFeeConfigInfo: function () { var _feeTypeCds = vc.component.importRoomFeeInfo.feeTypeCds; @@ -109,7 +111,8 @@ communityId: vc.getCurrentCommunity().communityId, excelTemplate: '', feeTypeCd: '', - feeTypeCds: [] + feeTypeCds: [], + objType:'3333' }; vc.component.importRoomFeeInfo.feeTypeCds = _feeTypeCds;