@steedos-labs/plugin-workflow 3.0.0-beta.12 → 3.0.0-beta.14
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Steedos.authRequest("/api/workflow/v2/get_object_workflows", {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
1
|
+
// Steedos.authRequest("/api/workflow/v2/get_object_workflows", {
|
|
2
|
+
// type: 'get',
|
|
3
|
+
// success: (data)=>{
|
|
4
|
+
// window.Creator.object_workflows = data;
|
|
5
|
+
// Creator.dataInit.set(true);
|
|
6
|
+
// }
|
|
7
|
+
// });
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
<link href="/toast/toastr.min.css" rel="stylesheet" />
|
|
10
10
|
<script src="/jquery.min.js"></script>
|
|
11
11
|
<script src="/toast/toastr.min.js"></script>
|
|
12
|
+
<script>
|
|
13
|
+
window._disabledFields = [
|
|
14
|
+
'formula', 'summary'
|
|
15
|
+
]
|
|
16
|
+
</script>
|
|
12
17
|
<style>
|
|
13
18
|
#toast-container.toast-bottom-center>div,
|
|
14
19
|
#toast-container.toast-top-center>div {
|
|
@@ -94,7 +94,7 @@ function getFormInputFields(formSchema) {
|
|
|
94
94
|
let flag = true;
|
|
95
95
|
// 对符合条件的formSchema做解析处理
|
|
96
96
|
const field = getInputFiled(bodyItem);
|
|
97
|
-
console.log('getFormInputFields field', field);
|
|
97
|
+
// console.log('getFormInputFields field', field);
|
|
98
98
|
if (field) {
|
|
99
99
|
//进入if说明是表单项
|
|
100
100
|
_.each(inputFields, (item) => {
|
|
@@ -108,7 +108,7 @@ function getFormInputFields(formSchema) {
|
|
|
108
108
|
flag = false;
|
|
109
109
|
}
|
|
110
110
|
})
|
|
111
|
-
console.log('getFormInputFields flag', flag);
|
|
111
|
+
// console.log('getFormInputFields flag', flag);
|
|
112
112
|
if (flag) {
|
|
113
113
|
inputFields.push(field);
|
|
114
114
|
}
|