Browse Source

git-svn-id: https://192.168.57.71/svn/jsgkj@1950 931142cf-59ea-a443-aa0e-51397b428577

xt_xuhao 8 years ago
parent
commit
6cada47dcd

+ 13 - 0
gkaq/yjpt-flex/trunk/src/com/jtgh/yjpt/model/bagl/jdhxpandzdwxyba/JdhxpZdwxyBadjModel.as

@@ -423,6 +423,19 @@ package com.jtgh.yjpt.model.bagl.jdhxpandzdwxyba
 			}
 			Utils.popupWindow(resourceManager.getString('common','btn.view'), view, thisView as DisplayObject, null, 620, 300);
 		}
+		/**
+		 * 查看页面附件类型点击事件,弹出附件列表清单
+		 */ 
+		public function fileLoad_ID_JDHXPZDWXY(id:Number,entityId:Number):void
+		{
+			var view:DataList = new DataList();
+			view.entityType = new Number(Constants.GGDM_ID_JDHXPZDWXY);
+			//加载附件列表 
+			view.entityId = entityId;
+			Utils.popupWindow(resourceManager.getString('common','btn.view'), view, thisView as DisplayObject, null, 620, 300);
+		}
+		
+		
 		
 		public function fileLoad2(id:Number,entityId:Number):void
 		{

+ 1 - 1
gkaq/yjpt-flex/trunk/src/com/jtgh/yjpt/view/bagl/jdhxpandzdwxyba/JdhxpZdwxyBadjAudit.mxml

@@ -259,7 +259,7 @@
 					
 					<s:HGroup width="100%">
 						<mx:LinkButton label="查看附件" 
-									   click="thisModel.fileLoad(Constants.GGDM_ID_JDHXPZDWXY)"/>
+									   click="thisModel.fileLoad_ID_JDHXPZDWXY(Constants.GGDM_ID_JDHXPZDWXY,_gqnwxydjbabVo.id)"/>
 						<s:Label id="T_YJPT_AQXZPJBGBADJB_FJ1" name="{Constants.GGDM_ID_JDHXPZDWXY}" text="缺" color="#ff0000"/>
 					</s:HGroup>
 					

BIN
gkaq/yjpt-flex/trunk/src/resource/images/zhang/nj_bb_whzy.png