跨设备表单
跨设备表单的自定义操作权限控制表达式
${row.getValue("wf_status")==0 && row.getValue("wf_creator_user_inner")==userId}
iif(daysBetween(toDay(),${wf_req_complete_time})<=0,"red",daysBetween(toDay(),${wf_req_complete_time})<=2,"yellow",daysBetween(toDay(),${wf_req_complete_time})<=7,"green","black")
iif(${wf_rule_id}=='43',true,false) iif(${wf_rule_id}=="43",true,${wf_rule_id}=="47",false)
移动端页面
<div class="model">
<#if row['c_weighpair']==0>
待处理
<#else>
已处理
</#if>
<h3> ${displayValue(findField(parent.MetaData,"c_customerid"),row) ?no_esc}</h3>
<h4> ${displayValue(findField(parent.MetaData,"PlateNo"),row) ?no_esc}</h4>
<h4> ${displayValue(findField(parent.MetaData,"CreateDate"),row) ?no_esc}</h4>
<h5 class="module_right_top">${displayValue(findField(parent.MetaData,"StorageTime"),row) ?no_esc }</h5>
</div>
前端表达式
${c_rp_dept_type}=='9' && ${norecrecuser_details}>0
虚拟字段的表达式
${execSql(dbContext,'select is_distribute from wf_rules_step where wf_rules_step.rule_id='.concat(row.getValue("wf_rule_id")).concat(' and step_id=(SELECT step_id_plan FROM wf_logger WHERE rule_id=').concat(row.getValue("wf_rule_id")).concat(' and wf_id=').concat(row.getValue("wf_id")).concat(' and user_inner_to=\'').concat(userId).concat('\' and is_newly=1'))}
${execSql(dbContext,'SELECT count(*) as h FROM wf_logger WHERE rule_id='.concat(row.getValue("wf_rule_id")).concat(' and wf_id=').concat(row.getValue("wf_id")).concat(' and user_inner_to=\'').concat(userId).concat('\' and is_newly=1'))}
${isEmpty(row.getValue("c_wf_id_exists"))?'不存在':'存在'}
所管组织根节点
${execSql(dbContext,'select IFNULL(c_manage_org_inners,org_inner_name) as manage_org from sys_users where user_inner=\''.concat(userId).concat('\''))}
保存校验
${wf_specify_recorg}==1 && ${c_receive_org_inner}==''
提示信息要加引号
字段自动赋值
${execSql(dbContext,"select productManager from lcz_product_module where guid=".concat(row.getValue("productModule")))}