@steedos-labs/plugin-workflow 3.0.18 → 3.0.19
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.
- package/main/default/manager/instance_tasks_manager.js +11 -0
- package/main/default/manager/push_manager.js +4 -1
- package/main/default/manager/uuflow_manager.js +72 -3
- package/main/default/routes/am.router.js +2 -1
- package/main/default/routes/api_workflow_engine.router.js +19 -1
- package/main/default/routes/designer.router.js +26 -0
- package/main/default/utils/designerManager.js +84 -46
- package/package.json +1 -1
- package/public/applications/designer/5410/en-us/javascript-packed.js +1 -1
- package/public/applications/designer/5410/zh-cn/javascript-packed.js +1 -1
- package/public/workflow/index.css +17 -0
- package/src/util/templateConverter.js +2 -1
|
@@ -660,6 +660,23 @@ tbody .color-priority-muted *{
|
|
|
660
660
|
margin-bottom: 0px !important;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
+
.instance-form .ant-select-selector{
|
|
664
|
+
background: transparent !important;
|
|
665
|
+
border: none !important;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.instance-form .antd-FileControl-selectBtn{
|
|
669
|
+
border: none;
|
|
670
|
+
background: transparent;
|
|
671
|
+
color: #000;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
.instance-form .antd-ImageControl-addBtn{
|
|
676
|
+
border: none;
|
|
677
|
+
background: transparent;
|
|
678
|
+
color: #000;
|
|
679
|
+
}
|
|
663
680
|
|
|
664
681
|
.instance-form .steedos-input-table .antd-Table-table colgroup col:nth-child(2) {
|
|
665
682
|
width: 0px !important;
|
|
@@ -134,9 +134,10 @@ function fieldToAmis(fieldName, fieldDef, schema, isColumn = false, isPrint = fa
|
|
|
134
134
|
|
|
135
135
|
if (fieldDef.formula && (type === 'input-text' || type === 'input-number' || type === 'textarea')) {
|
|
136
136
|
let formula = fieldDef.formula;
|
|
137
|
+
formula = formula.replace(/numToRMB/g, 'UPPERMONEY');
|
|
137
138
|
const replaceCallback = (match, p1) => {
|
|
138
139
|
const cleanP1 = p1.replace(/(/g, '_').replace(/)/g, '');
|
|
139
|
-
if (type === 'input-number') {
|
|
140
|
+
if (type === 'input-number' || formula.includes('UPPERMONEY')) {
|
|
140
141
|
return `(${cleanP1} || 0)`;
|
|
141
142
|
} else {
|
|
142
143
|
return `(${cleanP1} || "")`;
|