|
@@ -2,7 +2,10 @@
|
|
|
<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
|
|
|
xmlns:s="library://ns.adobe.com/flex/spark"
|
|
|
xmlns:mx="library://ns.adobe.com/flex/mx"
|
|
|
- width="100%" height="100%" xmlns:xxlr="com.jtgh.yjpt.view.yjgl.zdwxyfb.xxlr.*" xmlns:button="com.jtgh.yjpt.common.component.ui.button.*" creationComplete="init(event)" >
|
|
|
+ width="100%" height="100%"
|
|
|
+ xmlns:xxlr="com.jtgh.yjpt.view.yjgl.zdwxyfb.xxlr.*"
|
|
|
+ xmlns:button="com.jtgh.yjpt.common.component.ui.button.*"
|
|
|
+ creationComplete="init(event)" >
|
|
|
|
|
|
<fx:Script>
|
|
|
<![CDATA[
|
|
@@ -67,9 +70,26 @@
|
|
|
this.tab.removeElement(this.dwNav);
|
|
|
// this.tab.removeElement(this.mapNav);
|
|
|
}
|
|
|
- if(Global.user.sfjyr=="Y"){
|
|
|
+
|
|
|
+
|
|
|
+ if(Global.user.sfjyr == YesNoSelect.YES){
|
|
|
this.tab.removeElement(this.qskNav);
|
|
|
}
|
|
|
+
|
|
|
+ //可编辑按钮显or隐 此页经营人和行政人员共用页面,首先需判断当前登录人员是否经营人
|
|
|
+ if(Global.user.sfjyr == YesNoSelect.YES){
|
|
|
+ var disableEdit:Boolean = false;
|
|
|
+ disableEdit = (Global.JyrDisbleEdit==YesNoSelect.NO);
|
|
|
+ add.visible=disableEdit;
|
|
|
+ add.includeInLayout = disableEdit;
|
|
|
+ del.visible = disableEdit;
|
|
|
+ del.includeInLayout = disableEdit;
|
|
|
+ edit.visible = disableEdit;
|
|
|
+ edit.includeInLayout = disableEdit;
|
|
|
+ copy.visible = disableEdit;
|
|
|
+ copy.includeInLayout = disableEdit;
|
|
|
+ }
|
|
|
+
|
|
|
if(null!=initParam){
|
|
|
initQueryConditon();
|
|
|
}
|