<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<column id="__SiCF5OrUcdxXJKb9xLQ">
  <name>查看</name>
  <parentId>__ImlflBlgisWZT02OQ9u</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <width></width>
  <valueScript><![CDATA[//弹出层打开表单            
(function() {                     
 var doc=getCurrentDocument(); 
var docId=doc.getId();
var name=doc.getItemValueAsString("name");
var oneInchPhoto=doc.getItemValueAsString("oneInchPhoto");
var certificateDate=doc.getItemValueAsString("TRAININGENDTIME");
var cultivateCompany=doc.getItemValueAsString("cultivateCompany");
var certificateNO=doc.getItemValueAsString("certificateNO");

var birthday=doc.getItemValueAsString("birthday");
var idCardNo=doc.getItemValueAsString("idCardNo");
var schoolDetail="";
  var domainid = getDomainid();
var sql="select * from obpm2.t_domain where id='"+domainid+"'";
var datas = queryByDSName("tms",sql);
if(datas.size()>0){
   for(var iterator = datas.iterator();iterator.hasNext();){
       var map1 = iterator.next();//取值
           var registerprovinces= map1.get("FIELD12");
     var registerprovince=splitText(registerprovinces, ",")[0];
     var registerprovinceS=splitText(registerprovinces, ",")[1];
     schoolDetail+=registerprovince+registerprovinceS;
   
    }}
  schoolDetail=schoolDetail+cultivateCompany;
    println("schoolDetail"+schoolDetail);
  var sex=""
  if (parseInt(idCardNo.substr(16, 1)) % 2 == 1) {
      sex="男";
        } else {
          sex="女";
        }
var exparams = "&name="+name+"&oneInchPhoto="+oneInchPhoto+"&certificateDate="+certificateDate+"&school="+cultivateCompany+"&certificateNO="+certificateNO+"&idCardNo="+idCardNo+"&sex="+sex+"&schoolDetail="+schoolDetail+"";  //拼接参数   
  println("exparams"+exparams);
var appId=getApplication();                        
var domainid=getDomainid();            
var formid="	__cM4T8FnmcGBJevEqZ4x";            
//var btn="<a action-type='opendocument' formid='"+formid+"' appid='"+appId+"' open-type='open-present' reflash-on-close='reflash-on-close' dialog-width='1000px' dialog-height='600px' exparams='"+exparams+"'>电子证书</a>"  
var btn="<o-action action-type='opendocument' formid='"+formid+"' appid='"+appId+"' open-type='open-present' reflash-on-close='reflash-on-close' dialog-width='1000px' dialog-height='600px' exparams='"+exparams+"'>电子证书</o-action>" 
println("btn------------>"+btn);
return btn;                                                  
})();]]></valueScript>
  <hiddenScript><![CDATA[]]></hiddenScript>
  <beforeScript><![CDATA[]]></beforeScript>
  <parentView>__ImlflBlgisWZT02OQ9u</parentView>
  <type>COLUMN_TYPE_SCRIPT</type>
  <fieldName></fieldName>
  <flowReturnCss>false</flowReturnCss>
  <imageName>01</imageName>
  <fontColor></fontColor>
  <orderno>19</orderno>
  <sum>false</sum>
  <total>false</total>
  <isOrderByField>false</isOrderByField>
  <orderType>ASC</orderType>
  <multiLanguageLabel></multiLanguageLabel>
  <actionScript><![CDATA[]]></actionScript>
  <clickSorting>true</clickSorting>
  <sortStandard>00</sortStandard>
  <jumpMapping></jumpMapping>
  <mappingform>__HPn4JsKsEGwu12YIFyL</mappingform>
  <formatType>simple</formatType>
  <decimalsNum>1</decimalsNum>
  <thouSign>false</thouSign>
  <decimalsCurr>1</decimalsCurr>
  <currType>zh_CN</currType>
  <color>rgba(0, 0, 0, 1)</color>
  <fontSize>12</fontSize>
  <groundColor>rgba(255, 255, 255, 0)</groundColor>
  <showIcon>false</showIcon>
  <iconMapping></iconMapping>
  <buttonType>00</buttonType>
  <buttonName></buttonName>
  <visible>true</visible>
  <visible4ExpExcel>false</visible4ExpExcel>
  <visible4Print>true</visible4Print>
  <visible4PagePrint>true</visible4PagePrint>
  <templateForm>__Wy1I9DHidgf0iKRNcQQ</templateForm>
  <icon></icon>
  <showType>01</showType>
  <mappingField></mappingField>
  <showMoon>false</showMoon>
  <showAsLabel>false</showAsLabel>
  <showAsButton>false</showAsButton>
  <displayType>00</displayType>
  <displayLength></displayLength>
  <showTitle>false</showTitle>
  <isFilter>false</isFilter>
</column>