|
@@ -351,14 +351,11 @@ package com.jtgh.yjpt.model.zysqbp
|
|
|
{
|
|
|
sfsbList = bc.getAttribute("sfsbList") as ArrayCollection;
|
|
|
thisDataList = bc.getAttribute("records") as ArrayCollection;
|
|
|
- var btgs:int = bc.getAttribute("btgs") as int;
|
|
|
- var ths:int = bc.getAttribute("ths") as int;
|
|
|
- text="不通过"+"<font color='#ff0000'>" + btgs + "</font>" + "条,退回"+
|
|
|
- "<font color='#ff0000'>" + ths + "</font>" + "条";
|
|
|
- thisView.pager.pageVo.totalCount = bc.getAttribute("totalCount") as int;
|
|
|
+ thisView.pager.pageVo.totalCount = bc.getAttribute("totalCount") as int;
|
|
|
+ queryBty();
|
|
|
return;
|
|
|
}
|
|
|
- if(doAction == "listNoFlow"){
|
|
|
+ else if(doAction == "listNoFlow"){
|
|
|
sfsbList = bc.getAttribute("sfsbList") as ArrayCollection;
|
|
|
thisDataList = bc.getAttribute("records") as ArrayCollection;
|
|
|
thisView.pager.pageVo.totalCount = bc.getAttribute("totalCount") as int;
|
|
@@ -368,6 +365,13 @@ package com.jtgh.yjpt.model.zysqbp
|
|
|
{
|
|
|
doQuery(null);
|
|
|
return;
|
|
|
+ } else if(doAction == "countStatus"){
|
|
|
+ var btgs:int = bc.getAttribute("btgs") as int;
|
|
|
+ var ths:int = bc.getAttribute("ths") as int;
|
|
|
+ text="不通过"+"<font color='#ff0000'>" + btgs + "</font>" + "条,退回"+
|
|
|
+ "<font color='#ff0000'>" + ths + "</font>" + "条";
|
|
|
+ thisView.pager.extraText=text;
|
|
|
+ return;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -393,6 +397,7 @@ package com.jtgh.yjpt.model.zysqbp
|
|
|
* 分页
|
|
|
*/
|
|
|
private var queryByFlowDisplay:Boolean = false;
|
|
|
+
|
|
|
public function pageQuery(pager:SinglePageRequestVo):void
|
|
|
{
|
|
|
var queryOperation:String;
|
|
@@ -444,6 +449,65 @@ package com.jtgh.yjpt.model.zysqbp
|
|
|
thisView.query_shr.text,thisView.query_gkdw.text
|
|
|
);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询不同意数和退回数
|
|
|
+ */
|
|
|
+ public function queryBty():void
|
|
|
+ {
|
|
|
+ var queryOperation:String;
|
|
|
+ //查询一览
|
|
|
+ var vo:ZysqbpVo = new ZysqbpVo();
|
|
|
+ if(null !=thisView.query_gk.selectedVO&&"NaN"!=(thisView.query_gk.selectedVO as CodeVo).id.toString()){
|
|
|
+ vo.szd = thisView.query_gk.selectedVO as CodeVo;
|
|
|
+ }
|
|
|
+ if(null != thisView.query_gq.selectedVO){
|
|
|
+ vo.szgq = thisView.query_gq.selectedVO as GqVo;
|
|
|
+ }
|
|
|
+ if(null!=thisView.query_gkdw2.selectedVO){
|
|
|
+ vo.zydw = thisView.query_gkdw2.selectedVO as JyrVo;
|
|
|
+ }
|
|
|
+ vo.bh = thisView.query_bh.text;
|
|
|
+ vo.mao = thisView.mao.textValue as String;
|
|
|
+ vo.cm = thisView.query_hmhc.text;
|
|
|
+ vo.wxwpmc = thisView.query_hwpmbh.text;
|
|
|
+ vo.wxhwmcbh = thisView.query_hwpm.text;
|
|
|
+ vo.recordStatus=9;
|
|
|
+ if(undefined != thisView.query_rwzt.selectedItem && ""!=thisView.query_rwzt.selectedItem.id){
|
|
|
+ vo.recordStatus =new Number(thisView.query_rwzt.selectedItem.id);
|
|
|
+ }
|
|
|
+ // vo.jcg=thisView.jcg.text;
|
|
|
+ //根据流程状态查询
|
|
|
+ var lcStatus:String = "";
|
|
|
+ if(queryByFlowDisplay){
|
|
|
+ if(Global.deployMode=="0"){//省级 只能点击省级部分的节点
|
|
|
+ if(selectedNodeName!= "查询与统计"&&selectedNodeName!="入库"){
|
|
|
+ return;
|
|
|
+ }else{
|
|
|
+ lcStatus = selectedNodeName;
|
|
|
+ }
|
|
|
+ }else{//市级只能点击所在地和经营人的节点
|
|
|
+ if(selectedNodeName == "zdsgyhpc_cxtj"||selectedNodeName=="查询"){
|
|
|
+
|
|
|
+ }else if(selectedNodeName== "查询与统计"||selectedNodeName=="入库"){
|
|
|
+ return;
|
|
|
+ }else{
|
|
|
+ lcStatus = selectedNodeName;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ Utils.callRemote("zysqbpController","countStatus",resultCallback,
|
|
|
+ Utils.getFunctionId(thisView),vo,lcStatus,
|
|
|
+ thisView.query_bgsj_1.dateTime,thisView.query_bgsj_2.dateTime,
|
|
|
+ thisView.query_kgsj_1.dateTime,thisView.query_kgsj_2.dateTime,
|
|
|
+ thisView.query_wgsj_1.dateTime,thisView.query_wgsj_2.dateTime,
|
|
|
+ thisView.query_shr.text,thisView.query_gkdw.text
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 打印
|
|
|
+ */
|
|
|
public function doPrint(e:Event):void{
|
|
|
var vo:ZysqbpVo;
|
|
|
vo=new ZysqbpVo;
|