cloud-web-corejs 1.0.54-dev.306 → 1.0.54-dev.308

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,11 +101,6 @@ export default {
101
101
  width: 250,
102
102
  fixed: 'left'
103
103
  },
104
- {
105
- field: 'userId',
106
- title: this.$t1('候选人ID'),
107
- width: 250
108
- },
109
104
  {
110
105
  width: 47,
111
106
  fixed: 'right',
@@ -936,15 +936,20 @@ identityInfo:身份信息对象
936
936
  parentCompanyCode:集团企业编码
937
937
  nowDate:当前时间
938
938
  nowDateStr:当前时间字符串(yyyy-MM-dd HH:mm:ss)
939
+ nowDayStr:当前天字符串(yyyy-MM-dd)
939
940
  tableName:数据库表名,取表单设计中维护的表名作为参数名称
940
941
  tableField1:数据库表字段名1
941
942
  tableField2:数据库表字段名2
942
943
  tableField3:数据库表字段名3
943
944
  ......
944
945
 
945
- 2、配置示例
946
+ 2、可使用函数:
947
+ func.orgName(orgId):根据机构id获取机构名称
948
+ func.convertDate(date, format):时间转换,如当前时间转为当前天字符串,则$\{func.convertDate(nowDate, 'yyyy-MM-dd')\},当前时间转为当前月字符串,则$\{func.convertDate(nowDate, 'yyyy-MM')\}
949
+
950
+ 3、配置示例
946
951
  比如表名为:pm_product_project,配置如下:
947
- $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_project.product_name\}$\{wf.name\}$\{pm_product_project.sn\}`
952
+ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_project.product_name\}$\{wf.name\}$\{pm_product_project.sn\}$\{func.orgName(pm_product_project.f_sale_org_id)\}$\{nowDayStr\}`
948
953
  };
949
954
  },
950
955
  created() {