<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<activity id="__GRJdkJOk8hqq7LTWQ8S">
  <name>保存</name>
  <parentId>__RQzjq1wghqSfYUWCas6</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <type>13</type>
  <onActionFlow></onActionFlow>
  <onActionPrint></onActionPrint>
  <colorType>default</colorType>
  <beforeActionScript><![CDATA[]]></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>1</orderno>
  <stateToShow></stateToShow>
  <parentForm>__RQzjq1wghqSfYUWCas6</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>1</actionType>
  <actionDispatcherUrlScript><![CDATA[]]></actionDispatcherUrlScript>
  <actionSelection>0</actionSelection>
  <relatedFormId>选择</relatedFormId>
  <actionScript><![CDATA[//修改表单数据
(function(){   
var classId = getItemValueAsString("classId");
var classInfoDoc=findDocument(classId);
var qualifiedGTheoryResult=classInfoDoc.findItem("qualifiedGTheoryResult").getValue();//合格理论成绩
var qualifiedGOperationResult=classInfoDoc.findItem("qualifiedGOperationResult").getValue();//合格实操成绩
//println("合格理论成绩"+qualifiedGTheoryResult);
var graduationTestResults='0';
var sumScore='2';
var graduationTheoryScore = getItemValueAsString("graduationTheoryScore");   //获取理论成绩
var graduationOperationScore = getItemValueAsString("graduationOperationScore"); //获取操作成绩
var id =getCurrentDocument().getId();//获取当前文档Id
//println("ccccccccccccccccccccc"+id);
var process = getDocumentProcess();            
var examInfoDoc=findDocument(id); 
if((graduationTheoryScore>=qualifiedGTheoryResult)&&(graduationOperationScore>=qualifiedGOperationResult)){//判断是否合格
  graduationTestResults='1'
}else{
   graduationTestResults='2'
}
examInfoDoc.findItem("graduationTestResults").setValue(graduationTestResults);
examInfoDoc.findItem("graduationTheoryScore").setValue(graduationTheoryScore);
examInfoDoc.findItem("graduationOperationScore").setValue(graduationOperationScore);
examInfoDoc.findItem("sumScore").setValue(sumScore)
process.doUpdate(examInfoDoc);
})()]]></actionScript>
  <workFlowType>0</workFlowType>
  <contextMenu>false</contextMenu>
  <showInToolbar>true</showInToolbar>
  <transpond>选择</transpond>
  <targetList>ism1EiHqAkpLpSd2Zr7|</targetList>
  <label><![CDATA[]]></label>
</activity>