|
@@ -46,12 +46,12 @@
|
|
|
public var qianzhang:Boolean=true;//用来判断签章图片是否显示,默认是显示
|
|
|
[Bindable]
|
|
|
public var mode:String;
|
|
|
- [Bindable]
|
|
|
- private var isShowSignatureBtn:Boolean = false;//是否显示补签章按钮
|
|
|
- [Bindable]
|
|
|
- private var isShowSignaturePrintBtn:Boolean = false;//是否显示开启签章后的打印按钮
|
|
|
- [Bindlable]
|
|
|
- private var isShowDownloadBtn:Boolean = false;//是否显示下载按钮
|
|
|
+// [Bindable]
|
|
|
+// private var isShowSignatureBtn:Boolean;//是否显示补签章按钮
|
|
|
+// [Bindable]
|
|
|
+// private var isShowSignaturePrintBtn:Boolean;//是否显示开启签章后的打印按钮
|
|
|
+// [Bindlable]
|
|
|
+// private var isShowDownloadBtn:Boolean;//是否显示下载按钮
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -154,14 +154,39 @@
|
|
|
//开启签章
|
|
|
if(mode=='signature'){
|
|
|
//补签章打开
|
|
|
- isShowSignatureBtn = true;
|
|
|
- isShowDownloadBtn = false;
|
|
|
+ /* isShowSignatureBtn = true;
|
|
|
+ isShowSignaturePrintBtn = false;
|
|
|
+ isShowDownloadBtn = false; */
|
|
|
+ iSignature.visible = true;
|
|
|
+ iSignature.includeInLayout = true;
|
|
|
+ print_signature.visible = false;
|
|
|
+ print_signature.includeInLayout = false;
|
|
|
+ expWord.visible = false;
|
|
|
+ expWord.includeInLayout = false;
|
|
|
}else{
|
|
|
//view
|
|
|
+ /* isShowSignatureBtn = false;
|
|
|
isShowSignaturePrintBtn =true;
|
|
|
- isShowDownloadBtn = true;
|
|
|
+ isShowDownloadBtn = true; */
|
|
|
+ iSignature.visible = false;
|
|
|
+ iSignature.includeInLayout = false;
|
|
|
+ print_signature.visible = true;
|
|
|
+ print_signature.includeInLayout = true;
|
|
|
+ expWord.visible = true;
|
|
|
+ expWord.includeInLayout = true;
|
|
|
}
|
|
|
}//end if enable signature
|
|
|
+ else{
|
|
|
+ /* isShowSignatureBtn = false;//是否显示补签章按钮
|
|
|
+ isShowSignaturePrintBtn = false;//是否显示开启签章后的打印按钮
|
|
|
+ isShowDownloadBtn = true; */
|
|
|
+ iSignature.visible = false;
|
|
|
+ iSignature.includeInLayout = false;
|
|
|
+ print_signature.visible = false;
|
|
|
+ print_signature.includeInLayout = false;
|
|
|
+ expWord.visible = true;
|
|
|
+ expWord.includeInLayout = true;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public function reloadGq(e:Event):void
|
|
@@ -748,15 +773,13 @@
|
|
|
</s:BorderContainer>
|
|
|
<s:HGroup width="100%" height="40" gap="0" horizontalAlign="center" verticalAlign="middle">
|
|
|
<!-- 补签章按钮,系统开启签章功能并且通过“补签章”按钮打开才会显示 -->
|
|
|
- <s:Button label="{resourceManager.getString('common','btn.signature')}" click="CallSignatue()" skinClass="skins.cus.ButtonSkin"
|
|
|
- visible="{isShowSignatureBtn}" includeInLayout="{isShowSignatureBtn}" />
|
|
|
+ <s:Button id="iSignature" label="{resourceManager.getString('common','btn.signature')}" click="CallSignatue()" skinClass="skins.cus.ButtonSkin" />
|
|
|
<!-- 打开具有“签章”插件的打印页面的打印按钮,系统开启签章功能,并且是查看方式打开显示此按钮 -->
|
|
|
- <s:Button label="{resourceManager.getString('common','btn.print')}" click="print2(event)" skinClass="skins.cus.ButtonSkin"
|
|
|
- visible="{isShowSignaturePrintBtn}" includeInLayout="{isShowSignaturePrintBtn}" />
|
|
|
+ <s:Button id="print_signature" label="{resourceManager.getString('common','btn.print')}" click="print2(event)" skinClass="skins.cus.ButtonSkin" />
|
|
|
+ <!-- 原打印按钮 -->
|
|
|
<s:Button label="{resourceManager.getString('common','btn.print')}" click="print(event)" skinClass="skins.cus.ButtonSkin"
|
|
|
visible="{Global.iSignature!=YesNoSelect.YES}" includeInLayout="{Global.iSignature!=YesNoSelect.YES}" />
|
|
|
- <s:Button label="{resourceManager.getString('common','btn.download')}" click="download(event)" skinClass="skins.cus.ButtonSkin"
|
|
|
- visible="{isShowDownloadBtn}" includeInLayout="{isShowDownloadBtn}" />
|
|
|
+ <s:Button id="expWord" label="{resourceManager.getString('common','btn.download')}" click="download(event)" skinClass="skins.cus.ButtonSkin" />
|
|
|
<s:Button label="{resourceManager.getString('common','btn.close')}" click="this.dispatchEvent(new CloseEvent(CloseEvent.CLOSE))" skinClass="skins.cus.ButtonSkin"/>
|
|
|
</s:HGroup>
|
|
|
</s:VGroup>
|