|
@@ -9,29 +9,18 @@
|
|
</fx:Declarations>
|
|
</fx:Declarations>
|
|
<fx:Script>
|
|
<fx:Script>
|
|
<![CDATA[
|
|
<![CDATA[
|
|
- import com.jtgh.yjpt.common.BusinessContext;
|
|
|
|
import com.jtgh.yjpt.common.Global;
|
|
import com.jtgh.yjpt.common.Global;
|
|
import com.jtgh.yjpt.common.util.Constants;
|
|
import com.jtgh.yjpt.common.util.Constants;
|
|
- import com.jtgh.yjpt.common.util.Utils;
|
|
|
|
import com.jtgh.yjpt.model.map.Shape;
|
|
import com.jtgh.yjpt.model.map.Shape;
|
|
import com.jtgh.yjpt.view.SuperMapMain;
|
|
import com.jtgh.yjpt.view.SuperMapMain;
|
|
- import com.jtgh.yjpt.view.access.Aqzrr;
|
|
|
|
import com.jtgh.yjpt.view.workflow.component.util.ImagesDataLoader;
|
|
import com.jtgh.yjpt.view.workflow.component.util.ImagesDataLoader;
|
|
import com.jtgh.yjpt.view.workflow.component.util.ImagesInfo;
|
|
import com.jtgh.yjpt.view.workflow.component.util.ImagesInfo;
|
|
- import com.jtgh.yjpt.view.yjgl.zdwxyfb.xxlr.SuperMap;
|
|
|
|
- import com.jtgh.yjpt.vo.access.UserVo;
|
|
|
|
-
|
|
|
|
- import flash.net.navigateToURL;
|
|
|
|
|
|
|
|
import mx.collections.ArrayCollection;
|
|
import mx.collections.ArrayCollection;
|
|
- import mx.controls.Alert;
|
|
|
|
import mx.core.UIComponent;
|
|
import mx.core.UIComponent;
|
|
import mx.effects.Glow;
|
|
import mx.effects.Glow;
|
|
- import mx.events.CloseEvent;
|
|
|
|
import mx.graphics.SolidColor;
|
|
import mx.graphics.SolidColor;
|
|
import mx.graphics.SolidColorStroke;
|
|
import mx.graphics.SolidColorStroke;
|
|
- import mx.managers.PopUpManager;
|
|
|
|
- import mx.rpc.events.ResultEvent;
|
|
|
|
|
|
|
|
import spark.components.Image;
|
|
import spark.components.Image;
|
|
import spark.components.Label;
|
|
import spark.components.Label;
|
|
@@ -107,11 +96,15 @@
|
|
img.y=imgInfo.y;
|
|
img.y=imgInfo.y;
|
|
img.styleName=imgInfo.label;
|
|
img.styleName=imgInfo.label;
|
|
img.source = imgInfo.bitmapData;
|
|
img.source = imgInfo.bitmapData;
|
|
-
|
|
|
|
- //
|
|
|
|
- img.addEventListener(MouseEvent.CLICK, imgOnClick);
|
|
|
|
- img.addEventListener(MouseEvent.MOUSE_OVER, imgOnOver);
|
|
|
|
- img.addEventListener(MouseEvent.MOUSE_OUT, imgOnOut);
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //省局添加所有,市级添加本地
|
|
|
|
+ if(Constants.SZD_ID_PROVINCE==Global.systemSzd.id||imgInfo.name==Global.systemSzd.id.toString()){
|
|
|
|
+ img.addEventListener(MouseEvent.CLICK, imgOnClick);
|
|
|
|
+ img.addEventListener(MouseEvent.MOUSE_OVER, imgOnOver);
|
|
|
|
+ img.addEventListener(MouseEvent.MOUSE_OUT, imgOnOut);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
//
|
|
//
|
|
gkData.addItem(img);
|
|
gkData.addItem(img);
|