<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<activity id="__cODWznpKWCQVX5adMbD">
  <name>新建补考</name>
  <parentId>__0oVqiyXqJYRtmnJ7tg4</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <type>43</type>
  <onActionForm></onActionForm>
  <onActionView></onActionView>
  <colorType>default</colorType>
  <beforeActionScript><![CDATA[]]></beforeActionScript>
  <afterActionScript><![CDATA[]]></afterActionScript>
  <hiddenScript><![CDATA[(function(){
  var domainid = getDomainid();
  var areacode = "";
  var sqlp = "SELECT tk.domainid,dl.ITEM_REGIONId FROM organizationauth.tlk_DepartmentLevel dl JOIN baibaodunflow.tlk_SetSupervise tk ON dl.id = tk.item_registerPoliceAddressID WHERE tk.domainid IN ('"+domainid+"')"
  println("sqlp---------------"+sqlp)
  var datasp = queryByDSName("tms",sqlp);
  if(datasp!=null){
    for(var iterator = datasp.iterator();iterator.hasNext();){
      var map1 = iterator.next();//取值
      areacode= map1.get("ITEM_REGIONId");
      println("areacode----------------"+areacode)
    }
  }
  if(isNotNull(areacode)){
    areacode = areacode.substr(0,2);
    println("areacode2------------------"+areacode)
  }

  var checksql="select f.item_has_make_up from tlk_flow_config f join tlk_regional_config c on c.item_config_id=f.id where item_regional_code like '%"+areacode+"%' "
  var datas2 = queryByDSName("organizationAuth",checksql);
  if(datas2.size()>0){
    for(var iterator2 = datas2.iterator();iterator2.hasNext();){
      var map2 = iterator2.next();//取值
      var item_has_make_up= map2.get("item_has_make_up");
      if("1".equals(item_has_make_up)){
        return false;
      }else {
        return true;
      }
    }
  }else {
    return true;
  }

  if("64".equals(areacode)){

    if(!"505303218683641856--__AOkTvsah9VLicJhQ1FO".equals(domainid) && !"qzQXxmKA".equals(domainid)){
      return true
    }
  }



  return false


})()]]></hiddenScript>
  <readonlyScript><![CDATA[]]></readonlyScript>
  <editMode>0</editMode>
  <fileNameScript><![CDATA[]]></fileNameScript>
  <orderno>5</orderno>
  <parentView>__0oVqiyXqJYRtmnJ7tg4</parentView>
  <impmappingconfigid></impmappingconfigid>
  <jumpType>0</jumpType>
  <expSub>false</expSub>
  <icon></icon>
  <disableFlowNode>false</disableFlowNode>
  <changeFlowOperator>false</changeFlowOperator>
  <changeFlowCc>false</changeFlowCc>
  <multiLanguageLabel></multiLanguageLabel>
  <dispatcherMode>0</dispatcherMode>
  <dispatcherUrl><![CDATA[#include "setUrl";//引入函数库 
//弹出层打开表单             
(function() {    
  var doc=getCurrentDocument();              
  var appId=getApplication();                         
  var domainid=getDomainid();             
  var formid="__TguP7KZtUDBVC1gHr6k";             
  var url="/static/portal/vue/index.html#/open?appId="+getApplication()+"&actionContent="+formid+"&opentarget=detail&linkType=00"
  url+="&examKind=1"
  url+="&dialogWidth=100%"
  url+="&dialogHeight=100%"
  return url;                                               
})();]]></dispatcherUrl>
  <dispatcherParams><![CDATA[[{"paramKey":"","paramValue":""}]]]></dispatcherParams>
  <jumpMode>0</jumpMode>
  <jumpActOpenType>0</jumpActOpenType>
  <withOld>false</withOld>
  <actionType>0</actionType>
  <actionSelection>0</actionSelection>
  <workFlowType>0</workFlowType>
  <contextMenu>true</contextMenu>
  <showInToolbar>true</showInToolbar>
  <targetList>__0oVqiyXqJYRtmnJ7tg4|</targetList>
  <label><![CDATA[]]></label>
</activity>