<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<activity id="__LHRryxim80nuVWzRo9t">
  <name>提交</name>
  <parentId>__sZSk3UrH74dFv0NZdcF</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <type>11</type>
  <onActionFlow></onActionFlow>
  <onActionPrint></onActionPrint>
  <colorType>default</colorType>
  <beforeActionScript><![CDATA[(function(){
  var process = getDocumentProcess(); 
  var audit_status = getItemValueAsString("tem_audit_status"); 
  var audit_info = getItemValueAsString("audit_info");
  if(!isNotNull(audit_status)){
    return "请选择审核结果再提交！"
  }
  if("审核不通过".equals(audit_status)){

    if(!isNotNull(audit_info)){
      return "审核不通过须写明原因！"
    }
  }
  var plan_id = getItemValueAsString("plan_id");
  var planDoc=findDocument(plan_id);
  planDoc.findItem("audit_status").setValue(audit_status)
  planDoc.findItem("audit_info").setValue(audit_info)
  planDoc.findItem("audit_time").setValue(getToday())
  planDoc.findItem("audit_person").setValue(getWebUser().getName())
  planDoc.findItem("audit_domain_id").setValue(getDomainid())
  process.doUpdate(planDoc); 

})()]]></beforeActionScript>
  <afterActionScript><![CDATA[]]></afterActionScript>
  <retractBeforeActionScript><![CDATA[]]></retractBeforeActionScript>
  <retractAfterActionScript><![CDATA[]]></retractAfterActionScript>
  <hiddenScript><![CDATA[]]></hiddenScript>
  <readonlyScript><![CDATA[]]></readonlyScript>
  <startFlowScript><![CDATA[]]></startFlowScript>
  <editMode>0</editMode>
  <fileNameScript><![CDATA[]]></fileNameScript>
  <iconurl></iconurl>
  <orderno>0</orderno>
  <stateToShow></stateToShow>
  <parentForm>__sZSk3UrH74dFv0NZdcF</parentForm>
  <jumpType>0</jumpType>
  <expSub>false</expSub>
  <icon></icon>
  <disableFlowNode>false</disableFlowNode>
  <changeFlowOperator>false</changeFlowOperator>
  <changeFlowCc>false</changeFlowCc>
  <multiLanguageLabel></multiLanguageLabel>
  <dispatcherMode>0</dispatcherMode>
  <dispatcherUrl><![CDATA[]]></dispatcherUrl>
  <dispatcherParams><![CDATA[[{"paramKey":"","paramValue":""}]]]></dispatcherParams>
  <jumpMode>0</jumpMode>
  <jumpActOpenType>0</jumpActOpenType>
  <withOld>false</withOld>
  <actionType>0</actionType>
  <actionDispatcherUrlScript><![CDATA[]]></actionDispatcherUrlScript>
  <actionSelection>0</actionSelection>
  <relatedFormId></relatedFormId>
  <actionScript><![CDATA[]]></actionScript>
  <workFlowType>0</workFlowType>
  <contextMenu>false</contextMenu>
  <showInToolbar>true</showInToolbar>
  <transpond></transpond>
  <targetList>|</targetList>
  <label><![CDATA[]]></label>
</activity>