workflow-editor 0.0.81-up-tmp10 → 0.0.81-up-tmp11
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/.vscode/extensions.json +3 -0
- package/package.json +1 -1
- package/vite.config.js +3 -3
- package/dist/index.full.min.js +0 -3504
- package/dist/style.css +0 -526
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -9
- package/es/index.mjs +0 -17
- package/es/plugins/formValidatorUtil.mjs +0 -206
- package/es/plugins/index.mjs +0 -7
- package/es/src/i18n/i18n.mjs +0 -7
- package/es/src/i18n/langs/cn.mjs +0 -4
- package/es/src/i18n/langs/en.mjs +0 -4
- package/es/style.css +0 -525
- package/es/vite.svg +0 -1
- package/es/workflow-editor/index.mjs +0 -10
- package/es/workflow-editor/src/api.mjs +0 -6
- package/es/workflow-editor/src/assets/wf-editor-icons.mjs +0 -43
- package/es/workflow-editor/src/json-object-templates/auto-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/copy-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/decision.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/end.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/fork.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/human-decision.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/human-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/join.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/process.mjs +0 -9
- package/es/workflow-editor/src/json-object-templates/start.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/subprocess.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/transition.mjs +0 -6
- package/es/workflow-editor/src/main/admin-save-dialog.vue.mjs +0 -13
- package/es/workflow-editor/src/main/canvas.vue.mjs +0 -130
- package/es/workflow-editor/src/main/canvas.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/context-menu.vue.mjs +0 -33
- package/es/workflow-editor/src/main/context-menu.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/icon-svg.vue.mjs +0 -12
- package/es/workflow-editor/src/main/icon-svg.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/selection-region.vue.mjs +0 -17
- package/es/workflow-editor/src/main/selection-region.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/tache-history-tooltip.vue.mjs +0 -10
- package/es/workflow-editor/src/main/tache-history-tooltip.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue.mjs +0 -11
- package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/toolbox.vue.mjs +0 -16
- package/es/workflow-editor/src/main/toolbox.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/wf-history-canvas.vue.mjs +0 -86
- package/es/workflow-editor/src/main/wf-history-canvas.vue2.mjs +0 -4
- package/es/workflow-editor/src/process-service.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/auto-task.vue.mjs +0 -22
- package/es/workflow-editor/src/properties-editors/auto-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/additional-condition-utils.mjs +0 -125
- package/es/workflow-editor/src/properties-editors/common/additional-condition.vue.mjs +0 -60
- package/es/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.mjs +0 -5
- package/es/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.mjs +0 -72
- package/es/workflow-editor/src/properties-editors/common/common-notice-tool.vue.mjs +0 -18
- package/es/workflow-editor/src/properties-editors/common/common-user-condition.vue.mjs +0 -55
- package/es/workflow-editor/src/properties-editors/common/form-fields-utils.mjs +0 -14
- package/es/workflow-editor/src/properties-editors/common/form-fields.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/common/form-fields.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/i18n-input.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.mjs +0 -36
- package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue.mjs +0 -27
- package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/notice.vue.mjs +0 -31
- package/es/workflow-editor/src/properties-editors/common/reminder.vue.mjs +0 -36
- package/es/workflow-editor/src/properties-editors/common/reminder.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/select-mail-template.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.mjs +0 -95
- package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue.mjs +0 -16
- package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/task-title.vue.mjs +0 -46
- package/es/workflow-editor/src/properties-editors/common/task-title.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/transactor-settings.vue.mjs +0 -43
- package/es/workflow-editor/src/properties-editors/common/user-selection.vue.mjs +0 -116
- package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.mjs +0 -60
- package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/variables.vue.mjs +0 -41
- package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.mjs +0 -30
- package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/copy-task.vue.mjs +0 -26
- package/es/workflow-editor/src/properties-editors/copy-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/decision.vue.mjs +0 -24
- package/es/workflow-editor/src/properties-editors/fork.vue.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/human-decision.vue.mjs +0 -15
- package/es/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.mjs +0 -16
- package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue.mjs +0 -38
- package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.mjs +0 -84
- package/es/workflow-editor/src/properties-editors/human-task/custom-actions.vue.mjs +0 -62
- package/es/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.mjs +0 -80
- package/es/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.mjs +0 -86
- package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs +0 -43
- package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/editable-fields.vue.mjs +0 -67
- package/es/workflow-editor/src/properties-editors/human-task/events.vue.mjs +0 -18
- package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue.mjs +0 -33
- package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.mjs +0 -56
- package/es/workflow-editor/src/properties-editors/human-task.vue.mjs +0 -28
- package/es/workflow-editor/src/properties-editors/human-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/join.vue.mjs +0 -15
- package/es/workflow-editor/src/properties-editors/process/basic-properties.vue.mjs +0 -88
- package/es/workflow-editor/src/properties-editors/process/events.vue.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/process/notice-settings.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/process/parameter-settings.vue.mjs +0 -17
- package/es/workflow-editor/src/properties-editors/process/permission-settings.vue.mjs +0 -10
- package/es/workflow-editor/src/properties-editors/process/selectPage.vue.mjs +0 -28
- package/es/workflow-editor/src/properties-editors/process.vue.mjs +0 -34
- package/es/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.mjs +0 -64
- package/es/workflow-editor/src/properties-editors/subprocess/events.vue.mjs +0 -9
- package/es/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.mjs +0 -55
- package/es/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/subprocess.vue.mjs +0 -22
- package/es/workflow-editor/src/properties-editors/subprocess.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/transition/basic-properties.vue.mjs +0 -14
- package/es/workflow-editor/src/properties-editors/transition.vue.mjs +0 -17
- package/es/workflow-editor/src/properties-editors/transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/user-condition.mjs +0 -49
- package/es/workflow-editor/src/store/getters.mjs +0 -4
- package/es/workflow-editor/src/store/workflow-editor.mjs +0 -73
- package/es/workflow-editor/src/taches/auto-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/common-methods.mjs +0 -13
- package/es/workflow-editor/src/taches/copy-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/custom-task.vue.mjs +0 -16
- package/es/workflow-editor/src/taches/decision.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/decision.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/end.vue.mjs +0 -14
- package/es/workflow-editor/src/taches/end.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/fork.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/fork.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/human-decision.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/human-decision.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/human-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/join.vue.mjs +0 -16
- package/es/workflow-editor/src/taches/join.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/joint.vue.mjs +0 -54
- package/es/workflow-editor/src/taches/joint.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/start.vue.mjs +0 -14
- package/es/workflow-editor/src/taches/start.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/subprocess.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/tache-resizer.vue.mjs +0 -30
- package/es/workflow-editor/src/taches/tache-resizer.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/broken-line.vue.mjs +0 -32
- package/es/workflow-editor/src/transitions/broken-line.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/curve-line.vue.mjs +0 -33
- package/es/workflow-editor/src/transitions/curve-line.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/straight-line.vue.mjs +0 -13
- package/es/workflow-editor/src/transitions/transition.vue.mjs +0 -70
- package/es/workflow-editor/src/transitions/transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/virtual-transition.vue.mjs +0 -17
- package/es/workflow-editor/src/transitions/virtual-transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/util.mjs +0 -180
- package/es/workflow-editor/src/workflow-editor.vue.mjs +0 -205
- package/es/workflow-editor/src/workflow-editor.vue2.mjs +0 -4
- package/es/workflow-editor/src/workflow-history.vue.mjs +0 -35
- package/es/workflow-editor/src/workflow-history.vue2.mjs +0 -4
- package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
- package/lib/index.cjs +0 -8
- package/lib/plugins/formValidatorUtil.cjs +0 -203
- package/lib/plugins/index.cjs +0 -5
- package/lib/src/i18n/i18n.cjs +0 -3
- package/lib/src/i18n/langs/cn.cjs +0 -2
- package/lib/src/i18n/langs/en.cjs +0 -2
- package/lib/style.css +0 -525
- package/lib/vite.svg +0 -1
- package/lib/workflow-editor/index.cjs +0 -7
- package/lib/workflow-editor/src/api.cjs +0 -5
- package/lib/workflow-editor/src/assets/wf-editor-icons.cjs +0 -44
- package/lib/workflow-editor/src/json-object-templates/auto-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/copy-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/decision.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/end.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/fork.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/human-decision.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/human-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/join.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/process.cjs +0 -6
- package/lib/workflow-editor/src/json-object-templates/start.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/subprocess.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/transition.cjs +0 -4
- package/lib/workflow-editor/src/main/admin-save-dialog.vue.cjs +0 -11
- package/lib/workflow-editor/src/main/canvas.vue.cjs +0 -101
- package/lib/workflow-editor/src/main/canvas.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/context-menu.vue.cjs +0 -29
- package/lib/workflow-editor/src/main/context-menu.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/icon-svg.vue.cjs +0 -10
- package/lib/workflow-editor/src/main/icon-svg.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/selection-region.vue.cjs +0 -13
- package/lib/workflow-editor/src/main/selection-region.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/tache-history-tooltip.vue.cjs +0 -8
- package/lib/workflow-editor/src/main/tache-history-tooltip.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue.cjs +0 -9
- package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/toolbox.vue.cjs +0 -11
- package/lib/workflow-editor/src/main/toolbox.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/wf-history-canvas.vue.cjs +0 -67
- package/lib/workflow-editor/src/main/wf-history-canvas.vue2.cjs +0 -2
- package/lib/workflow-editor/src/process-service.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/auto-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/auto-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/additional-condition-utils.cjs +0 -94
- package/lib/workflow-editor/src/properties-editors/common/additional-condition.vue.cjs +0 -54
- package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.cjs +0 -4
- package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.cjs +0 -67
- package/lib/workflow-editor/src/properties-editors/common/common-notice-tool.vue.cjs +0 -16
- package/lib/workflow-editor/src/properties-editors/common/common-user-condition.vue.cjs +0 -50
- package/lib/workflow-editor/src/properties-editors/common/form-fields-utils.cjs +0 -11
- package/lib/workflow-editor/src/properties-editors/common/form-fields.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/common/form-fields.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/i18n-input.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue.cjs +0 -22
- package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/notice.vue.cjs +0 -25
- package/lib/workflow-editor/src/properties-editors/common/reminder.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/common/reminder.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/select-mail-template.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.cjs +0 -93
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/task-title.vue.cjs +0 -42
- package/lib/workflow-editor/src/properties-editors/common/task-title.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/transactor-settings.vue.cjs +0 -37
- package/lib/workflow-editor/src/properties-editors/common/user-selection.vue.cjs +0 -110
- package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.cjs +0 -55
- package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/variables.vue.cjs +0 -39
- package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.cjs +0 -26
- package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/copy-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/copy-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/decision.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/fork.vue.cjs +0 -18
- package/lib/workflow-editor/src/properties-editors/human-decision.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.cjs +0 -82
- package/lib/workflow-editor/src/properties-editors/human-task/custom-actions.vue.cjs +0 -56
- package/lib/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.cjs +0 -75
- package/lib/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.cjs +0 -80
- package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.cjs +0 -39
- package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/editable-fields.vue.cjs +0 -60
- package/lib/workflow-editor/src/properties-editors/human-task/events.vue.cjs +0 -15
- package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue.cjs +0 -26
- package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.cjs +0 -49
- package/lib/workflow-editor/src/properties-editors/human-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/human-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/join.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/process/basic-properties.vue.cjs +0 -81
- package/lib/workflow-editor/src/properties-editors/process/events.vue.cjs +0 -18
- package/lib/workflow-editor/src/properties-editors/process/notice-settings.vue.cjs +0 -21
- package/lib/workflow-editor/src/properties-editors/process/parameter-settings.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/process/permission-settings.vue.cjs +0 -7
- package/lib/workflow-editor/src/properties-editors/process/selectPage.vue.cjs +0 -23
- package/lib/workflow-editor/src/properties-editors/process.vue.cjs +0 -24
- package/lib/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.cjs +0 -57
- package/lib/workflow-editor/src/properties-editors/subprocess/events.vue.cjs +0 -7
- package/lib/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.cjs +0 -50
- package/lib/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.cjs +0 -16
- package/lib/workflow-editor/src/properties-editors/subprocess.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/subprocess.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/transition/basic-properties.vue.cjs +0 -10
- package/lib/workflow-editor/src/properties-editors/transition.vue.cjs +0 -12
- package/lib/workflow-editor/src/properties-editors/transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/user-condition.cjs +0 -33
- package/lib/workflow-editor/src/store/getters.cjs +0 -2
- package/lib/workflow-editor/src/store/workflow-editor.cjs +0 -71
- package/lib/workflow-editor/src/taches/auto-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/common-methods.cjs +0 -11
- package/lib/workflow-editor/src/taches/copy-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/custom-task.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/decision.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/decision.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/end.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/end.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/fork.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/fork.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/human-decision.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/human-decision.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/human-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/join.vue.cjs +0 -11
- package/lib/workflow-editor/src/taches/join.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/joint.vue.cjs +0 -50
- package/lib/workflow-editor/src/taches/joint.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/start.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/start.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/subprocess.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/tache-resizer.vue.cjs +0 -27
- package/lib/workflow-editor/src/taches/tache-resizer.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/broken-line.vue.cjs +0 -28
- package/lib/workflow-editor/src/transitions/broken-line.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/curve-line.vue.cjs +0 -29
- package/lib/workflow-editor/src/transitions/curve-line.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/straight-line.vue.cjs +0 -9
- package/lib/workflow-editor/src/transitions/transition.vue.cjs +0 -63
- package/lib/workflow-editor/src/transitions/transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/virtual-transition.vue.cjs +0 -13
- package/lib/workflow-editor/src/transitions/virtual-transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/util.cjs +0 -139
- package/lib/workflow-editor/src/workflow-editor.vue.cjs +0 -191
- package/lib/workflow-editor/src/workflow-editor.vue2.cjs +0 -2
- package/lib/workflow-editor/src/workflow-history.vue.cjs +0 -28
- package/lib/workflow-editor/src/workflow-history.vue2.cjs +0 -2
- /package/{dist → public}/vite.svg +0 -0
package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import e from "../common/additional-condition.vue.mjs";
|
|
2
|
-
import { mapGetters as l } from "vuex";
|
|
3
|
-
import { resolveComponent as a, openBlock as i, createBlock as d, withCtx as t, createVNode as s, createTextVNode as n, toDisplayString as o, createElementBlock as b, Fragment as F, renderList as m, createElementVNode as f, createCommentVNode as v } from "vue";
|
|
4
|
-
import "./editable-field-selection.vue2.mjs";
|
|
5
|
-
import r from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
-
const u = { name: "EditableFieldSelection", components: { AdditionalCondition: e }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...l("wfEditor", ["formFieldsWithSub"]) }, created() {
|
|
7
|
-
let e2 = 0;
|
|
8
|
-
this.formFieldsWithSub.map((l3) => {
|
|
9
|
-
this.disabledFields.indexOf(l3.name) < 0 && (l3.index = e2, this.availableFields.push(l3), e2++);
|
|
10
|
-
});
|
|
11
|
-
const l2 = this.availableFields.length;
|
|
12
|
-
this.availableFieldsCount = Math.ceil(l2 / 3);
|
|
13
|
-
}, mounted() {
|
|
14
|
-
window.addEventListener("keydown", (e2) => {
|
|
15
|
-
16 === e2.keyCode && e2.shiftKey && (this.pin = true);
|
|
16
|
-
}), window.addEventListener("keyup", (e2) => {
|
|
17
|
-
16 === e2.keyCode && (this.pin = false);
|
|
18
|
-
});
|
|
19
|
-
}, methods: { filterMethod: (e2, l2) => !!(l2.label && l2.label.indexOf(e2) > -1) || (l2.label, false), setSelectedFields() {
|
|
20
|
-
const e2 = [];
|
|
21
|
-
for (const l2 of this.formModel.selectedFields)
|
|
22
|
-
e2.push({ name: l2, constraintRule: this.formModel.constraintRule, condition: this.formModel.showCondition ? this.formModel.condition : "" });
|
|
23
|
-
this.$emit("input-value", e2), this.$emit("close");
|
|
24
|
-
}, pinSelect(e2, l2) {
|
|
25
|
-
const a2 = this.availableFields, i2 = this.origin, d2 = l2;
|
|
26
|
-
if (this.pin && -1 !== this.formModel.selectedFields.indexOf(e2)) {
|
|
27
|
-
this.formModel.selectedFields.indexOf(e2);
|
|
28
|
-
const l3 = Math.abs(i2 - d2) + 1, t2 = Math.min(i2, d2);
|
|
29
|
-
let s2 = 0;
|
|
30
|
-
for (; s2 < l3; ) {
|
|
31
|
-
const e3 = t2 + s2;
|
|
32
|
-
-1 === this.formModel.selectedFields.indexOf(a2[e3].name) && this.formModel.selectedFields.push(a2[e3].name), s2++;
|
|
33
|
-
}
|
|
34
|
-
} else
|
|
35
|
-
this.origin = l2;
|
|
36
|
-
} } }, c = ["title"], p = ["title"], h = ["title"], k = ["title"], C = ["title"], y = ["title"], _ = ["title"], g = ["title"], w = ["title"], x = ["title"], M = ["title"], E = ["title"];
|
|
37
|
-
const S = r(u, [["render", function(e2, l2, r2, u2, S2, $) {
|
|
38
|
-
const V = a("el-checkbox"), O = a("el-col"), R = a("el-row"), U = a("el-collapse-item"), A = a("el-collapse"), N = a("el-checkbox-group"), j = a("el-radio"), D = a("el-radio-group"), I = a("el-form-item"), L = a("el-switch"), z = a("additional-condition"), P = a("el-form"), Q = a("el-button"), W = a("el-dialog");
|
|
39
|
-
return i(), d(W, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: l2[6] || (l2[6] = (l3) => e2.$emit("close")) }, { footer: t(() => [s(Q, { type: "primary", size: "small", onClick: $.setSelectedFields }, { default: t(() => [n(o(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), s(Q, { size: "small", onClick: l2[5] || (l2[5] = (l3) => e2.$emit("close")) }, { default: t(() => [n(o(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: t(() => [s(P, { model: S2.formModel }, { default: t(() => [s(N, { modelValue: S2.formModel.selectedFields, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => S2.formModel.selectedFields = e3) }, { default: t(() => [s(R, null, { default: t(() => [(i(true), b(F, null, m(S2.availableFieldsCount, (e3, l3) => (i(), b(F, { key: e3.prop }, [S2.availableFields[3 * l3 + 0] && !S2.availableFields[3 * l3 + 0].baseField ? (i(), d(O, { key: 0, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 0].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 0].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 0].name, S2.availableFields[3 * l3 + 0].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 0].label }, o(S2.availableFields[3 * l3 + 0].label), 9, c)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 0].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 0].name, S2.availableFields[3 * l3 + 0].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 0].label }, o(S2.availableFields[3 * l3 + 0].label), 9, p)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true), S2.availableFields[3 * l3 + 1] && !S2.availableFields[3 * l3 + 1].baseField ? (i(), d(O, { key: 1, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 1].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 1].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 1].name, S2.availableFields[3 * l3 + 1].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 1].label }, o(S2.availableFields[3 * l3 + 1].label), 9, h)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 1].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 1].name, S2.availableFields[3 * l3 + 1].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 1].label }, o(S2.availableFields[3 * l3 + 1].label), 9, k)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true), S2.availableFields[3 * l3 + 2] && !S2.availableFields[3 * l3 + 2].baseField ? (i(), d(O, { key: 2, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 2].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 2].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 2].name, S2.availableFields[3 * l3 + 2].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 2].label }, o(S2.availableFields[3 * l3 + 2].label), 9, C)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 2].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 2].name, S2.availableFields[3 * l3 + 2].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 2].label }, o(S2.availableFields[3 * l3 + 2].label), 9, y)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true)], 64))), 128))]), _: 1 }), s(A, { modelValue: S2.activeNames, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => S2.activeNames = e3) }, { default: t(() => [s(U, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: t(() => [(i(true), b(F, null, m(S2.availableFieldsCount, (e3, l3) => (i(), b("span", { key: e3.prop }, [s(R, null, { default: t(() => [S2.availableFields[3 * l3 + 0] && S2.availableFields[3 * l3 + 0].baseField ? (i(), d(O, { key: 0, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 0].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 0].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 0].name, S2.availableFields[3 * l3 + 0].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 0].label }, o(S2.availableFields[3 * l3 + 0].label), 9, _)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 0].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 0].name, S2.availableFields[3 * l3 + 0].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 0].label }, o(S2.availableFields[3 * l3 + 0].label), 9, g)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true), S2.availableFields[3 * l3 + 1] && S2.availableFields[3 * l3 + 1].baseField ? (i(), d(O, { key: 1, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 1].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 1].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 1].name, S2.availableFields[3 * l3 + 1].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 1].label }, o(S2.availableFields[3 * l3 + 1].label), 9, w)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 1].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 1].name, S2.availableFields[3 * l3 + 1].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 1].label }, o(S2.availableFields[3 * l3 + 1].label), 9, x)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true), S2.availableFields[3 * l3 + 2] && S2.availableFields[3 * l3 + 2].baseField ? (i(), d(O, { key: 2, span: 8 }, { default: t(() => [-1 === S2.availableFields[3 * l3 + 2].name.indexOf("$") ? (i(), d(V, { key: 0, label: S2.availableFields[3 * l3 + 2].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 2].name, S2.availableFields[3 * l3 + 2].index) }, { default: t(() => [f("span", { title: S2.availableFields[3 * l3 + 2].label }, o(S2.availableFields[3 * l3 + 2].label), 9, M)]), _: 2 }, 1032, ["label", "onChange"])) : (i(), d(V, { key: 1, label: S2.availableFields[3 * l3 + 2].name, onChange: (e4) => $.pinSelect(S2.availableFields[3 * l3 + 2].name, S2.availableFields[3 * l3 + 2].index) }, { default: t(() => [f("span", { style: { color: "#409eff" }, class: "ellipsis", title: S2.availableFields[3 * l3 + 2].label }, o(S2.availableFields[3 * l3 + 2].label), 9, E)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : v("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), s(I, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: t(() => [s(D, { modelValue: S2.formModel.constraintRule, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => S2.formModel.constraintRule = e3) }, { default: t(() => [s(j, { label: "REQUIRED" }, { default: t(() => [n(o(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), s(j, { label: "READ_ONLY" }, { default: t(() => [n(o(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), s(I, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: t(() => [s(L, { modelValue: S2.formModel.showCondition, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => S2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), S2.formModel.showCondition ? (i(), d(z, { key: 0, modelValue: S2.formModel.condition, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => S2.formModel.condition = e3) }, null, 8, ["modelValue"])) : v("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
|
|
40
|
-
}], ["__scopeId", "data-v-9458f3bf"]]);
|
|
41
|
-
export {
|
|
42
|
-
S as default
|
|
43
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import e from "./editable-field-selection.vue.mjs";
|
|
2
|
-
import l from "./additional-condition-dialog.vue.mjs";
|
|
3
|
-
import { mapGetters as t } from "vuex";
|
|
4
|
-
import { parseCondition as i, displayCondition as o } from "../common/additional-condition-utils.mjs";
|
|
5
|
-
import { resolveComponent as d, openBlock as n, createElementBlock as s, createVNode as a, withCtx as r, createTextVNode as u, toDisplayString as c, createElementVNode as h, normalizeStyle as m, createBlock as p, createCommentVNode as w } from "vue";
|
|
6
|
-
import f from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const b = { name: "EditableFields", components: { EditableFieldSelection: e, AdditionalConditionDialog: l }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
|
|
8
|
-
let e2 = [];
|
|
9
|
-
"" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue));
|
|
10
|
-
return { showFieldSelection: false, showAdditionalCondition: false, selectedFields: e2, currentRow: null, multipleSelection: [], disabledFields: this.getDisabledFields(this.modelValue) };
|
|
11
|
-
}, computed: { ...t("wfEditor", ["formFieldsWithSub"]) }, watch: { selectedFields: { handler(e2, l2) {
|
|
12
|
-
this.disabledFields = this.getDisabledFields(e2);
|
|
13
|
-
}, deep: true } }, mounted() {
|
|
14
|
-
this.selectedFields.length > 0 && this.selectRow(this.selectedFields[this.selectedFields.length - 1]);
|
|
15
|
-
}, methods: { getDisabledFields(e2) {
|
|
16
|
-
if (null == e2)
|
|
17
|
-
return [];
|
|
18
|
-
const l2 = [];
|
|
19
|
-
return Array.isArray(e2) ? e2.map((e3) => {
|
|
20
|
-
l2.push(e3.name);
|
|
21
|
-
}) : l2.push(e2), l2;
|
|
22
|
-
}, handleCurrentChange(e2) {
|
|
23
|
-
this.currentRow = e2;
|
|
24
|
-
}, handleSelectionChange(e2) {
|
|
25
|
-
this.multipleSelection = e2;
|
|
26
|
-
}, selectRow(e2) {
|
|
27
|
-
this.$refs.table.setCurrentRow(e2);
|
|
28
|
-
}, add() {
|
|
29
|
-
this.showFieldSelection = true;
|
|
30
|
-
}, getCurrentRowIndex() {
|
|
31
|
-
let e2 = -1;
|
|
32
|
-
for (let l2 = 0; l2 < this.selectedFields.length; l2++)
|
|
33
|
-
if (this.selectedFields[l2].name === this.currentRow.name) {
|
|
34
|
-
e2 = l2;
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
return e2;
|
|
38
|
-
}, remove() {
|
|
39
|
-
if (this.multipleSelection && this.multipleSelection.length > 0) {
|
|
40
|
-
for (var e2 = 0; e2 < this.multipleSelection.length; e2++) {
|
|
41
|
-
const l2 = this.multipleSelection[e2];
|
|
42
|
-
this.selectRow(l2);
|
|
43
|
-
const t2 = this.getCurrentRowIndex();
|
|
44
|
-
this.selectedFields.splice(t2, 1);
|
|
45
|
-
}
|
|
46
|
-
this.$emit("update:modelValue", this.selectedFields);
|
|
47
|
-
}
|
|
48
|
-
}, setSelectedFields(e2) {
|
|
49
|
-
null == e2 && (e2 = []), this.selectedFields = this.selectedFields.concat(e2), this.selectRow(this.selectedFields[this.selectedFields.length - 1]), this.$emit("update:modelValue", this.selectedFields);
|
|
50
|
-
}, formatCondition(e2) {
|
|
51
|
-
if ("" === e2 || !e2)
|
|
52
|
-
return this.$t("workflowEditor.task.nothing");
|
|
53
|
-
const l2 = [];
|
|
54
|
-
return i(l2, e2), o(l2);
|
|
55
|
-
}, getFieldLabel(e2) {
|
|
56
|
-
const l2 = this.formFieldsWithSub.filter((l3) => l3.name === e2.name);
|
|
57
|
-
return l2.length > 0 ? l2[0].label : "";
|
|
58
|
-
}, selectCondition(e2) {
|
|
59
|
-
this.selectRow(e2), this.showAdditionalCondition = true;
|
|
60
|
-
} } }, F = { style: { width: "100%" } };
|
|
61
|
-
const g = f(b, [["render", function(e2, l2, t2, i2, o2, f2) {
|
|
62
|
-
const b2 = d("el-button"), g2 = d("el-row"), C = d("el-table-column"), k = d("el-radio"), y = d("el-radio-group"), R = d("el-input"), S = d("el-table"), V = d("editable-field-selection"), E = d("additional-condition-dialog");
|
|
63
|
-
return n(), s("div", F, [a(g2, { style: { "padding-bottom": "10px" } }, { default: r(() => [a(b2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: f2.add }, { default: r(() => [u(c(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), a(b2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: f2.remove }, { default: r(() => [u(c(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), a(S, { ref: "table", data: o2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: f2.handleSelectionChange, onCurrentChange: f2.handleCurrentChange }, { default: r(() => [a(C, { type: "selection", width: "55" }), a(C, { type: "index", width: "50" }), a(C, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: r((e3) => [h("span", { style: m({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, c(f2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), a(C, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), a(C, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: r((l3) => [a(y, { modelValue: l3.row.constraintRule, "onUpdate:modelValue": (e3) => l3.row.constraintRule = e3 }, { default: r(() => [a(k, { label: "REQUIRED" }, { default: r(() => [u(c(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), a(k, { label: "READ_ONLY" }, { default: r(() => [u(c(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), a(C, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: r((e3) => [a(R, { value: f2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (l3) => f2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), o2.showFieldSelection ? (n(), p(V, { key: 0, "disabled-fields": o2.disabledFields, onInputValue: f2.setSelectedFields, onClose: l2[0] || (l2[0] = (e3) => o2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : w("", true), o2.showAdditionalCondition ? (n(), p(E, { key: 1, modelValue: o2.currentRow.condition, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => o2.currentRow.condition = e3), onClose: l2[2] || (l2[2] = (e3) => o2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : w("", true)]);
|
|
64
|
-
}]]);
|
|
65
|
-
export {
|
|
66
|
-
g as default
|
|
67
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as e, openBlock as l, createBlock as o, withCtx as t, createVNode as r, createElementBlock as m, createCommentVNode as a } from "vue";
|
|
2
|
-
import d from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
-
const u = { key: 0 };
|
|
4
|
-
const f = d({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
|
|
5
|
-
const e2 = { beforeSubmitEnabled: false, beforeSubmit: {} };
|
|
6
|
-
return this.modelValue.beforeSubmit && (e2.beforeSubmitEnabled = true, e2.beforeSubmit = { ...this.modelValue.beforeSubmit }), e2.afterComplete = this.modelValue.afterComplete, { formModel: e2 };
|
|
7
|
-
}, mounted() {
|
|
8
|
-
this.$watch("formModel", function(e2, l2) {
|
|
9
|
-
const o2 = {};
|
|
10
|
-
this.formModel.beforeSubmitEnabled && (o2.beforeSubmit = { ...this.formModel.beforeSubmit }), o2.afterComplete = this.formModel.afterComplete, this.$emit("update:modelValue", o2);
|
|
11
|
-
}, { deep: true });
|
|
12
|
-
} }, [["render", function(d2, f2, b, i, n, s) {
|
|
13
|
-
const p = e("el-switch"), M = e("el-form-item"), S = e("el-input"), V = e("el-form");
|
|
14
|
-
return l(), o(V, { model: n.formModel, "label-width": "80px" }, { default: t(() => [r(M, { label: d2.$t("workflowEditor.task.beforeSubmission") }, { default: t(() => [r(p, { modelValue: n.formModel.beforeSubmitEnabled, "onUpdate:modelValue": f2[0] || (f2[0] = (e2) => n.formModel.beforeSubmitEnabled = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.formModel.beforeSubmitEnabled ? (l(), m("div", u, [r(M, { label: d2.$t("workflowEditor.task.executionURL") }, { default: t(() => [r(S, { modelValue: n.formModel.beforeSubmit.url, "onUpdate:modelValue": f2[1] || (f2[1] = (e2) => n.formModel.beforeSubmit.url = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r(M, { label: d2.$t("workflowEditor.task.errorMessage") }, { default: t(() => [r(S, { modelValue: n.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": f2[2] || (f2[2] = (e2) => n.formModel.beforeSubmit.errorMessage = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : a("", true), r(M, { label: d2.$t("workflowEditor.task.afterSubmission") }, { default: t(() => [r(p, { modelValue: n.formModel.afterComplete, "onUpdate:modelValue": f2[3] || (f2[3] = (e2) => n.formModel.afterComplete = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
|
|
15
|
-
}]]);
|
|
16
|
-
export {
|
|
17
|
-
f as default
|
|
18
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import e from "./editable-fields.vue.mjs";
|
|
2
|
-
import o from "./editable-child-fields.vue.mjs";
|
|
3
|
-
import l from "../common/additional-condition.vue.mjs";
|
|
4
|
-
import t from "../common/user-selection.vue.mjs";
|
|
5
|
-
import { deepCopy as i } from "../../util.mjs";
|
|
6
|
-
import { resolveComponent as d, openBlock as n, createBlock as a, withCtx as m, createVNode as r, withDirectives as s, createCommentVNode as u, vShow as f, createTextVNode as p, toDisplayString as c } from "vue";
|
|
7
|
-
import "./permission-settings.vue2.mjs";
|
|
8
|
-
import V from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
|
-
const w = V({ name: "PermissionSettings", components: { EditableFields: e, UserSelection: t, AdditionalCondition: l, editableChildFields: o }, props: { modelValue: { type: Object, default: null } }, data() {
|
|
10
|
-
const e2 = i(this.modelValue), o2 = ["viewOpinion", "editOpinion", "requireOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
|
|
11
|
-
o2.forEach((o3) => {
|
|
12
|
-
e2[o3 + "Checkbox"] = !!this.modelValue[o3].condition;
|
|
13
|
-
});
|
|
14
|
-
const l2 = ["add", "delete", "download"];
|
|
15
|
-
return l2.forEach((o3) => {
|
|
16
|
-
e2.attachment[o3 + "Checkbox"] = !!this.modelValue.attachment[o3] && !!this.modelValue.attachment[o3].condition, e2.attachment.permission || (e2.attachment[o3] = { permission: false, condition: "" });
|
|
17
|
-
}), { formModel: e2, attrNames: o2, attachmentAttrNames: l2 };
|
|
18
|
-
}, mounted() {
|
|
19
|
-
this.$watch("formModel", function(e2) {
|
|
20
|
-
const o2 = { editForm: {}, viewOpinion: {}, editOpinion: {}, requireOpinion: {}, viewMeetingResult: {}, viewVoteResult: {}, viewFlowHistory: {}, printForm: {}, officialText: {}, attachment: {}, deleteInstance: { userCondition: "" } };
|
|
21
|
-
o2.editForm.permission = e2.editForm.permission, e2.editForm.permission && (o2.editForm.field = e2.editForm.field, o2.editForm.subTablePermission = e2.editForm.subTablePermission), this.attrNames.map((l2) => {
|
|
22
|
-
o2[l2].permission = e2[l2].permission, e2[l2].permission && e2[l2 + "Checkbox"] ? o2[l2].condition = e2[l2].condition : o2[l2].condition = "";
|
|
23
|
-
}), o2.attachment.permission = e2.attachment.permission, e2.attachment.permission && this.attachmentAttrNames.map((l2) => {
|
|
24
|
-
o2.attachment[l2] || (o2.attachment[l2] = {}), o2.attachment[l2].permission = e2.attachment[l2].permission, e2.attachment[l2].permission && e2.attachment[l2 + "Checkbox"] ? o2.attachment[l2].condition = e2.attachment[l2].condition : o2.attachment[l2].condition = "";
|
|
25
|
-
}), this.$emit("update:modelValue", o2);
|
|
26
|
-
}, { deep: true });
|
|
27
|
-
}, methods: {} }, [["render", function(e2, o2, l2, t2, i2, V2) {
|
|
28
|
-
const w2 = d("el-switch"), M = d("el-form-item"), h = d("editable-fields"), k = d("editable-child-fields"), b = d("el-checkbox"), v = d("additional-condition"), C = d("user-selection"), F = d("el-card"), x = d("el-form");
|
|
29
|
-
return n(), a(x, { model: i2.formModel }, { default: m(() => [r(M, { label: e2.$t("workflowEditor.task.allowEditingForms") }, { default: m(() => [r(w2, { modelValue: i2.formModel.editForm.permission, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => i2.formModel.editForm.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [i2.formModel.editForm.permission ? (n(), a(h, { key: 0, modelValue: i2.formModel.editForm.field, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => i2.formModel.editForm.field = e3) }, null, 8, ["modelValue"])) : u("", true), i2.formModel.editForm.permission ? (n(), a(k, { key: 1, modelValue: i2.formModel.editForm.subTablePermission, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => i2.formModel.editForm.subTablePermission = e3) }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 512), [[f, i2.formModel.editForm.permission]]), r(M, { label: e2.$t("workflowEditor.task.allowViews") }, { default: m(() => [r(w2, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": o2[5] || (o2[5] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.commentsAllowed") }, { default: m(() => [r(w2, { modelValue: i2.formModel.editOpinion.permission, "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => i2.formModel.editOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.editOpinion.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.editOpinionCheckbox, "onUpdate:modelValue": o2[7] || (o2[7] = (e3) => i2.formModel.editOpinionCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.editOpinion.condition, "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => i2.formModel.editOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.editOpinion.permission && i2.formModel.editOpinionCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.commentsAreRequired") }, { default: m(() => [r(w2, { modelValue: i2.formModel.requireOpinion.permission, "onUpdate:modelValue": o2[9] || (o2[9] = (e3) => i2.formModel.requireOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.requireOpinion.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.requireOpinionCheckbox, "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => i2.formModel.requireOpinionCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.requireOpinion.condition, "onUpdate:modelValue": o2[11] || (o2[11] = (e3) => i2.formModel.requireOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.requireOpinion.permission && i2.formModel.requireOpinionCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: m(() => [r(w2, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": o2[13] || (o2[13] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: m(() => [r(w2, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": o2[15] || (o2[15] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": o2[17] || (o2[17] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: m(() => [r(w2, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": o2[19] || (o2[19] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": o2[20] || (o2[20] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox]]), r(M, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: m(() => [r(w2, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": o2[21] || (o2[21] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": o2[22] || (o2[22] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), s(r(M, null, { default: m(() => [r(v, { modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": o2[23] || (o2[23] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, i2.formModel.printForm.permission && i2.formModel.printFormCheckbox]]), r(C, { modelValue: i2.formModel.deleteInstance.userCondition, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => i2.formModel.deleteInstance.userCondition = e3), label: e2.$t("workflowEditor.task.deletePermission"), "label-width": "100px", "current-transactor": true }, null, 8, ["modelValue", "label"]), r(M, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: m(() => [r(w2, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": o2[25] || (o2[25] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (n(), a(F, { key: 0, class: "box-card" }, { default: m(() => [r(M, { label: e2.$t("workflowEditor.task.addAttachment") }, { default: m(() => [r(w2, { modelValue: i2.formModel.attachment.add.permission, "onUpdate:modelValue": o2[26] || (o2[26] = (e3) => i2.formModel.attachment.add.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.add.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.attachment.addCheckbox, "onUpdate:modelValue": o2[27] || (o2[27] = (e3) => i2.formModel.attachment.addCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true), i2.formModel.attachment.add.permission && i2.formModel.attachment.addCheckbox ? (n(), a(v, { key: 1, modelValue: i2.formModel.attachment.add.condition, "onUpdate:modelValue": o2[28] || (o2[28] = (e3) => i2.formModel.attachment.add.condition = e3) }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), r(M, { label: e2.$t("workflowEditor.task.deleteAttachment") }, { default: m(() => [r(w2, { modelValue: i2.formModel.attachment.delete.permission, "onUpdate:modelValue": o2[29] || (o2[29] = (e3) => i2.formModel.attachment.delete.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.delete.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.attachment.deleteCheckbox, "onUpdate:modelValue": o2[30] || (o2[30] = (e3) => i2.formModel.attachment.deleteCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true), i2.formModel.attachment.delete.permission && i2.formModel.attachment.deleteCheckbox ? (n(), a(v, { key: 1, modelValue: i2.formModel.attachment.delete.condition, "onUpdate:modelValue": o2[31] || (o2[31] = (e3) => i2.formModel.attachment.delete.condition = e3) }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"]), r(M, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: m(() => [r(w2, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": o2[32] || (o2[32] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (n(), a(b, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": o2[33] || (o2[33] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: m(() => [p(c(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : u("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (n(), a(v, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": o2[34] || (o2[34] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : u("", true), r(M, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: m(() => [r(w2, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": o2[35] || (o2[35] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
|
|
30
|
-
}], ["__scopeId", "data-v-c019538f"]]);
|
|
31
|
-
export {
|
|
32
|
-
w as default
|
|
33
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import e from "./componentsConfigUtil.mjs";
|
|
2
|
-
import l from "../common/additional-condition.vue.mjs";
|
|
3
|
-
import t from "../common/common-user-condition.vue.mjs";
|
|
4
|
-
import { mapGetters as a } from "vuex";
|
|
5
|
-
import { resolveComponent as o, openBlock as r, createBlock as n, withCtx as i, createElementVNode as u, createVNode as d, toDisplayString as p, createTextVNode as s, createElementBlock as c, Fragment as b, renderList as m, createCommentVNode as w } from "vue";
|
|
6
|
-
import h from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const V = { components: { AdditionalCondition: l, CommonUserCondition: t }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
|
|
8
|
-
let e2, l2;
|
|
9
|
-
return this.userCondition && "" !== this.userCondition && (e2 = this.userCondition), this.parentCondition && "" !== this.parentCondition && (l2 = this.parentCondition), { myUserCondition: e2, myParentCondition: l2, tableData: null, attributeArr: [], fieldMap: {}, fieldNameMap: {}, queryList: [], operationArr: [], parentAttributeArr: [], dialogVisible: true };
|
|
10
|
-
}, created() {
|
|
11
|
-
this.getAttributeArr();
|
|
12
|
-
}, computed: { ...a("wfEditor", ["propSettingKeyList"]) }, mounted() {
|
|
13
|
-
this.conditionList && ("object" == typeof this.conditionList ? this.tableData = this.conditionList : this.tableData = this.xmlToData(this.conditionList), this.getOperatorsArr(this.tableData));
|
|
14
|
-
}, methods: { ...e, add() {
|
|
15
|
-
this.tableData || (this.tableData = []), this.tableData.push({ leftBracket: "", propName: "", operator: "", propValue: "", rightBracket: "", logicOperator: "condition.operator.or", dataType: "", propDbName: "" }), this.operationArr.push([]);
|
|
16
|
-
}, remove() {
|
|
17
|
-
if (null === this.currentRow)
|
|
18
|
-
return void this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"));
|
|
19
|
-
let e2 = this.getRowIndex(this.currentRow);
|
|
20
|
-
this.tableData.splice(e2, 1), this.tableData.length > 0 && (e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.$refs.table.setCurrentRow(this.tableData[e2]));
|
|
21
|
-
}, changeFieldName(e2) {
|
|
22
|
-
const l2 = this.currentRow.propName, t2 = this.fieldMap[l2];
|
|
23
|
-
t2 && (this.tableData[e2].dataType = t2.type, this.tableData[e2].propDbName = t2.propDbName), this.operationArr[e2] = this.getOperators(t2);
|
|
24
|
-
}, getAttributeArr() {
|
|
25
|
-
this.attributeMap && this.attributeMap.attributeArr && (this.attributeArr = this.attributeMap.attributeArr, this.queryList = this.attributeMap.attributeArr, this.fieldMap = this.attributeMap.fieldMap, this.fieldNameMap = this.attributeMap.fieldNameMap, this.parentAttributeArr = this.attributeMap.parentAttributeArr);
|
|
26
|
-
}, selectRow(e2) {
|
|
27
|
-
this.attributeArr = this.queryList, this.$refs.table.setCurrentRow(e2);
|
|
28
|
-
}, handleCurrentChange(e2) {
|
|
29
|
-
this.currentRow = e2;
|
|
30
|
-
}, searchField(e2) {
|
|
31
|
-
e2 && (this.attributeArr = this.queryList.filter((l2) => l2.label.indexOf(e2) > -1 || l2.value.indexOf(e2) > -1));
|
|
32
|
-
}, getRowIndex(e2) {
|
|
33
|
-
for (let l2 = 0; l2 < this.tableData.length; l2++)
|
|
34
|
-
if (this.tableData[l2].propName === e2.propName)
|
|
35
|
-
return l2;
|
|
36
|
-
return -1;
|
|
37
|
-
}, savebuttonSetting() {
|
|
38
|
-
if (this.tableData && this.tableData.length > 0)
|
|
39
|
-
for (var e2 = 0; e2 < this.tableData.length; e2++) {
|
|
40
|
-
if (!this.tableData[e2].propName)
|
|
41
|
-
return void this.$alert(this.$t("workflowEditorMessage.blankFieldNameOrValue"));
|
|
42
|
-
}
|
|
43
|
-
const l2 = { userCondition: this.myUserCondition, parentCondition: this.myParentCondition, condition: this.tableData };
|
|
44
|
-
this.$emit("close", l2);
|
|
45
|
-
}, closeButtonSetting() {
|
|
46
|
-
this.savebuttonSetting(), this.$emit("close", null);
|
|
47
|
-
}, changePropValue(e2) {
|
|
48
|
-
this.tableData[e2] && this.tableData[e2].propValue ? this.tableData[e2].propValueType && ("request" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${request.") && (this.tableData[e2].propValue = "${request." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}")), "input" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${input.") && (this.tableData[e2].propValue = "${input." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}"))) : this.tableData[e2].propValueType = null;
|
|
49
|
-
} } }, f = { style: { "overflow-y": "auto", "max-height": "500px" } }, k = { class: "operation-area" }, v = { class: "clearfix" }, y = { class: "clearfix" };
|
|
50
|
-
const g = h(V, [["render", function(e2, l2, t2, a2, h2, V2) {
|
|
51
|
-
const g2 = o("el-button"), $ = o("common-user-condition"), C = o("el-card"), D = o("additional-condition"), T = o("el-row"), x = o("el-option"), E = o("el-select"), U = o("el-table-column"), M = o("el-date-picker"), A = o("el-input"), _ = o("el-table"), F = o("el-dialog");
|
|
52
|
-
return r(), n(F, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: V2.closeButtonSetting }, { default: i(() => [u("div", f, [u("div", k, [d(g2, { size: "small", type: "primary", onClick: V2.savebuttonSetting }, { default: i(() => [u("span", null, p(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), u("div", null, [d(C, { class: "box-card", shadow: "never" }, { header: i(() => [u("div", v, [u("span", null, p(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: i(() => [u("div", null, [d($, { modelValue: h2.myUserCondition, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => h2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), d(C, { class: "box-card", shadow: "never" }, { header: i(() => [u("div", y, [u("span", null, p(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: i(() => [u("div", null, [d(D, { modelValue: h2.myParentCondition, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => h2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== t2.buttonType && "add" !== t2.buttonType ? (r(), n(C, { key: 0, class: "box-card", shadow: "never" }, { header: i(() => [u("div", null, [u("span", null, p(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: i(() => [u("div", null, [d(T, { style: { "padding-bottom": "8px" } }, { default: i(() => [d(g2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: V2.add }, { default: i(() => [s(p(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), d(g2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: V2.remove }, { default: i(() => [s(p(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(_, { id: "tableDataDialog", ref: "table", data: h2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: V2.handleCurrentChange }, { default: i(() => [d(U, { prop: "leftBracket", label: "(", width: "90" }, { default: i((e3) => [d(E, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, size: "small", clearable: "", onFocus: (l3) => V2.selectRow(e3.row) }, { default: i(() => [d(x, { label: "", value: "" }), d(x, { label: "(", value: "(" }), d(x, { label: "((", value: "((" }), d(x, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), d(U, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: i((e3) => [d(E, { modelValue: e3.row.propName, "onUpdate:modelValue": (l3) => e3.row.propName = l3, "filter-method": V2.searchField, size: "small", clearable: "", filterable: "", onFocus: (l3) => V2.selectRow(e3.row), onChange: (l3) => V2.changeFieldName(e3.$index) }, { default: i(() => [(r(true), c(b, null, m(h2.attributeArr, (e4) => (r(), n(x, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), d(U, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: i((e3) => [d(E, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, size: "small", clearable: "", onFocus: (l3) => V2.selectRow(e3.row) }, { default: i(() => [(r(true), c(b, null, m(h2.operationArr[e3.$index], (e4) => (r(), n(x, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), d(U, { label: e2.$t("workflowEditor.common.value") }, { default: i((l3) => [l3.row.propValueType ? w("", true) : (r(), n(E, { key: 0, modelValue: l3.row.propValueType, "onUpdate:modelValue": (e3) => l3.row.propValueType = e3, size: "small", onFocus: (e3) => V2.selectRow(l3.row) }, { default: i(() => [d(x, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === l3.row.propValueType ? (r(), n(E, { key: 1, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, clearable: "", size: "small", title: l3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => V2.changePropValue(l3.$index), onFocus: (e3) => V2.selectRow(l3.row) }, { default: i(() => [d(x, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : w("", true), "task" === l3.row.propValueType ? (r(), n(E, { key: 2, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, clearable: "", size: "small", title: l3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => V2.changePropValue(l3.$index), onFocus: (e3) => V2.selectRow(l3.row) }, { default: i(() => [d(x, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : w("", true), "DATE" === l3.row.dataType && "input" === l3.row.propValueType ? (r(), n(M, { key: 3, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: l3.row.propValue, type: "date", onChange: (e3) => V2.changePropValue(l3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true), "TIME" === l3.row.dataType && "input" === l3.row.propValueType ? (r(), n(M, { key: 4, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, size: "small", title: l3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => V2.changePropValue(l3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true), "TIME" !== l3.row.dataType && "DATE" !== l3.row.dataType && "input" === l3.row.propValueType ? (r(), n(A, { key: 5, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, modelModifiers: { trim: true }, title: l3.row.propValue, clearable: "", size: "small", onChange: (e3) => V2.changePropValue(l3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true), "request" === l3.row.propValueType ? (r(), n(A, { key: 6, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, modelModifiers: { trim: true }, title: l3.row.propValue, clearable: "", size: "small", onChange: (e3) => V2.changePropValue(l3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true), "subObj" === l3.row.propValueType ? (r(), n(E, { key: 7, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, title: l3.row.propValue, "filter-method": V2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => V2.changePropValue(l3.$index) }, { default: i(() => [(r(true), c(b, null, m(h2.attributeArr, (e3) => (r(), n(x, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : w("", true), "obj" === l3.row.propValueType ? (r(), n(E, { key: 8, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, title: l3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => V2.changePropValue(l3.$index) }, { default: i(() => [(r(true), c(b, null, m(h2.parentAttributeArr, (e3) => (r(), n(x, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true), "custom" === l3.row.propValueType ? (r(), n(E, { key: 9, modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => l3.row.propValue = e3, title: l3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => V2.changePropValue(l3.$index) }, { default: i(() => [(r(true), c(b, null, m(e2.propSettingKeyList, (e3) => (r(), n(x, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : w("", true)]), _: 1 }, 8, ["label"]), d(U, { prop: "rightBracket", label: ")", width: "90", onFocus: l2[2] || (l2[2] = (l3) => V2.selectRow(e2.scope.row)) }, { default: i((e3) => [d(E, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, size: "small", clearable: "" }, { default: i(() => [d(x, { label: "", value: "" }), d(x, { label: ")", value: ")" }), d(x, { label: "))", value: "))" }), d(x, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(U, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: i((l3) => [d(E, { modelValue: l3.row.logicOperator, "onUpdate:modelValue": (e3) => l3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => V2.selectRow(l3.row) }, { default: i(() => [d(x, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), d(x, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : w("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
|
|
53
|
-
}]]);
|
|
54
|
-
export {
|
|
55
|
-
g as default
|
|
56
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import e from "./human-task/basic-properties.vue.mjs";
|
|
2
|
-
import t from "./human-task/permission-settings.vue.mjs";
|
|
3
|
-
import o from "./common/transactor-settings.vue.mjs";
|
|
4
|
-
import l from "./common/auto-filled-fields.vue.mjs";
|
|
5
|
-
import a from "./common/variables.vue.mjs";
|
|
6
|
-
import i from "./human-task/events.vue.mjs";
|
|
7
|
-
import r from "./common/notice-reminder.vue.mjs";
|
|
8
|
-
import { resolveComponent as n, openBlock as s, createBlock as d, withCtx as m, createVNode as u } from "vue";
|
|
9
|
-
import "./human-task.vue2.mjs";
|
|
10
|
-
import p from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
11
|
-
const f = p({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: e, TransactorSettings: o, PermissionSettings: t, AutoFilledFields: l, Events: i, Variables: a, NoticeReminder: r }, props: { model: { type: Object, default: null } }, data() {
|
|
12
|
-
return this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
|
|
13
|
-
}, computed: { formModel() {
|
|
14
|
-
return this.model.ref;
|
|
15
|
-
} }, mounted() {
|
|
16
|
-
this.$watch("model.ref.attr.id", function(e2, t2) {
|
|
17
|
-
this.model.id = e2;
|
|
18
|
-
}), this.$watch("model.ref.attr.name", function(e2, t2) {
|
|
19
|
-
this.model.name = e2;
|
|
20
|
-
});
|
|
21
|
-
}, methods: { handleClick(e2, t2) {
|
|
22
|
-
} } }, [["render", function(e2, t2, o2, l2, a2, i2) {
|
|
23
|
-
const r2 = n("basic-properties"), p2 = n("el-tab-pane"), f2 = n("transactor-settings"), c = n("permission-settings"), b = n("auto-filled-fields"), v = n("notice-reminder"), k = n("events"), g = n("variables"), V = n("el-tabs"), h = n("el-dialog");
|
|
24
|
-
return s(), d(h, { "model-value": "", top: "10vh", title: e2.$t("workflowEditor.task.linkAttribute"), center: true, "append-to-body": "", class: "properties-editor", onOpen: t2[9] || (t2[9] = (t3) => e2.$emit("open")), onOpend: t2[10] || (t2[10] = (t3) => e2.$emit("opend")), onClose: t2[11] || (t2[11] = (t3) => e2.$emit("close")), onClosed: t2[12] || (t2[12] = (t3) => e2.$emit("closed")) }, { default: m(() => [u(V, { modelValue: a2.activeTab, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => a2.activeTab = e3), type: "border-card", onTabClick: i2.handleClick }, { default: m(() => [u(p2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: m(() => [u(r2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: m(() => [u(f2, { model: o2.model.ref.transactorSettings, "basic-properties": o2.model.ref.basicProperties }, null, 8, ["model", "basic-properties"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: m(() => [u(c, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: m(() => [u(b, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.autoFilledFields = e3), "opinion-setting": o2.model.ref.opinionSetting, "onUpdate:opinionSetting": t2[4] || (t2[4] = (e3) => o2.model.ref.opinionSetting = e3) }, null, 8, ["modelValue", "opinion-setting"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: m(() => [u(v, { "reminder-value": o2.model.ref.reminder, "onUpdate:reminderValue": t2[5] || (t2[5] = (e3) => o2.model.ref.reminder = e3), "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: m(() => [u(k, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), u(p2, { label: e2.$t("workflowEditor.task.linkVariable"), name: "variables" }, { default: m(() => [u(g, { modelValue: o2.model.ref.variables, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.ref.variables = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
|
|
25
|
-
}], ["__scopeId", "data-v-1651d82a"]]);
|
|
26
|
-
export {
|
|
27
|
-
f as default
|
|
28
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as e, openBlock as o, createBlock as t, withCtx as l, createVNode as r } from "vue";
|
|
2
|
-
import d from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
-
const n = d({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
|
|
4
|
-
return this.model.ref;
|
|
5
|
-
} }, mounted() {
|
|
6
|
-
this.$watch("model.ref.attr.name", function(e2) {
|
|
7
|
-
this.model.name = e2;
|
|
8
|
-
});
|
|
9
|
-
} }, [["render", function(d2, n2, a, m, i, u) {
|
|
10
|
-
const p = e("el-input"), f = e("el-form-item"), s = e("el-form"), c = e("el-dialog");
|
|
11
|
-
return o(), t(c, { "model-value": "", title: d2.$t("workflowEditor.task.convergedProperties"), center: true, "append-to-body": "", onOpen: n2[1] || (n2[1] = (e2) => d2.$emit("open")), onOpend: n2[2] || (n2[2] = (e2) => d2.$emit("opend")), onClose: n2[3] || (n2[3] = (e2) => d2.$emit("close")), onClosed: n2[4] || (n2[4] = (e2) => d2.$emit("closed")) }, { default: l(() => [r(s, null, { default: l(() => [r(f, { label: d2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: l(() => [r(p, { modelValue: u.formModel.attr.name, "onUpdate:modelValue": n2[0] || (n2[0] = (e2) => u.formModel.attr.name = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
|
|
12
|
-
}]]);
|
|
13
|
-
export {
|
|
14
|
-
n as default
|
|
15
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { mapGetters as e, mapMutations as l } from "vuex";
|
|
2
|
-
import s from "../../process-service.mjs";
|
|
3
|
-
import { getI18n as o } from "../../util.mjs";
|
|
4
|
-
import t from "../common/i18n-input.vue.mjs";
|
|
5
|
-
import { getUsername as a, authApi as i } from "agilebuilder-ui";
|
|
6
|
-
import { resolveComponent as r, openBlock as d, createBlock as m, withCtx as n, createVNode as u, createCommentVNode as h, createElementBlock as c, Fragment as p, renderList as f, createTextVNode as y, toDisplayString as b } from "vue";
|
|
7
|
-
import C from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
|
-
const w = C({ name: "BasicProperties", components: { i18nInput: t }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
|
|
9
|
-
return { formModel: { name: this.name, code: this.code, model: this.model }, allForms: [], allProcessTypes: [], allSystems: [], allBranches: [], nameError: null, codeError: null, systemError: null, adminError: null, formError: null, requiredRule: { required: true, message: o().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, isSelectAdmin: false, selectedForm: [], systemPublishVersion: null, sysCode: null, systems: [], isShowFormAndSystem: true, tableName: null };
|
|
10
|
-
}, computed: { ...e("wfEditor", ["systemVersion", "systemCode", "tableCode", "isCreateDefinition", "isHandleCreate"]) }, created() {
|
|
11
|
-
this.getAdminNameWhenUpdate(), this.listAllProcessTypes(), this.listAllSystems(), this.listAllBranches(), this.model.creator || (this.model.creator = a()), this.setProcessCode(this.formModel.code), this.model.systemCode ? this.setSystemCode(this.model.systemCode) : this.model.systemCode = this.systemCode, this.systemPublishVersion = parseInt(i.getSessionCache("wf_editor_systemVersion")), this.changeSystem(this.systemCode, this.systemPublishVersion), this.listAllForms(this.systemCode, this.systemPublishVersion), this.tableName = this.tableCode, this.isCreateDefinition, this.isHandleCreate, this.isHandleCreate && "true" === this.isHandleCreate || this.isCreateDefinition && "true" === this.isCreateDefinition ? this.isShowFormAndSystem = true : this.isShowFormAndSystem = false;
|
|
12
|
-
}, mounted() {
|
|
13
|
-
this.$watch("formModel.name", function(e2, l2) {
|
|
14
|
-
this.$emit("update:name", e2);
|
|
15
|
-
}), this.$watch("formModel.code", function(e2, l2) {
|
|
16
|
-
this.$emit("update:code", e2), this.setProcessCode(e2);
|
|
17
|
-
}), this.$watch("model.systemCode", function(e2, l2) {
|
|
18
|
-
this.setSystemCode(e2);
|
|
19
|
-
}), this.$watch("systemPublishVersion", function(e2, l2) {
|
|
20
|
-
this.setSystemVersion(e2);
|
|
21
|
-
});
|
|
22
|
-
}, methods: { ...l("wfEditor", ["setFormFields", "setSystemCode", "setSystemVersion", "setProcessCode"]), handleChange(e2) {
|
|
23
|
-
const l2 = e2[1];
|
|
24
|
-
this.model.formCode = l2.substring(l2.indexOf("/") + 1, l2.lastIndexOf("/")), this.model.formVersion = l2.substring(l2.lastIndexOf("/") + 1), s.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
|
|
25
|
-
this.tableName = e3.tableCode;
|
|
26
|
-
});
|
|
27
|
-
}, selectAdmin() {
|
|
28
|
-
this.isSelectAdmin = true;
|
|
29
|
-
}, addAdmin(e2) {
|
|
30
|
-
if (e2) {
|
|
31
|
-
e2.containBranch = true;
|
|
32
|
-
let l2 = e2.loginName;
|
|
33
|
-
const s2 = e2.user;
|
|
34
|
-
e2.containBranch && (l2 = s2.subCompanyCode ? e2.loginName + "~~" + s2.subCompanyCode : e2.loginName + "~~" + s2.tenantCode), this.model.admin = l2, this.formModel.adminName = e2.name;
|
|
35
|
-
}
|
|
36
|
-
this.isSelectAdmin = false;
|
|
37
|
-
}, listAllForms(e2, l2) {
|
|
38
|
-
this.$http.get(this.baseAPI + `/wf-editor/workflow-editors/forms?systemCode=${e2}&publishVersion=${l2}`).then((e3) => {
|
|
39
|
-
const l3 = this.model.formCode + "/" + this.model.formVersion;
|
|
40
|
-
this.setDefaultSelectedFormWhenUpdate(e3, l3), this.allForms = e3;
|
|
41
|
-
});
|
|
42
|
-
}, setDefaultSelectedFormWhenUpdate(e2, l2) {
|
|
43
|
-
let s2, o2;
|
|
44
|
-
for (var t2 = 0; t2 < e2.length; t2++) {
|
|
45
|
-
const a2 = e2[t2].value, i2 = e2[t2].children.filter(this.filterForm(l2));
|
|
46
|
-
if (i2.length > 0) {
|
|
47
|
-
o2 = a2, s2 = i2[0];
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
if (s2) {
|
|
52
|
-
const e3 = [];
|
|
53
|
-
e3.push(o2 + ""), e3.push(o2 + "/" + l2), this.selectedForm = e3;
|
|
54
|
-
}
|
|
55
|
-
}, filterForm: (e2) => (l2) => {
|
|
56
|
-
const s2 = l2.value;
|
|
57
|
-
return s2.substring(s2.indexOf("/") + 1) === e2;
|
|
58
|
-
}, listAllProcessTypes() {
|
|
59
|
-
this.$http.get(this.baseAPI + "/api/workflow-types/all").then((e2) => {
|
|
60
|
-
this.allProcessTypes = e2;
|
|
61
|
-
});
|
|
62
|
-
}, listAllSystems() {
|
|
63
|
-
this.$http.get(this.baseAPI + "/api/all-enabled-systems").then((e2) => {
|
|
64
|
-
this.allSystems = e2;
|
|
65
|
-
});
|
|
66
|
-
}, listAllBranches() {
|
|
67
|
-
this.$http.get(this.baseAPI + "/api/branches/all").then((e2) => {
|
|
68
|
-
this.allBranches = e2;
|
|
69
|
-
});
|
|
70
|
-
}, getAdminNameWhenUpdate() {
|
|
71
|
-
this.model.admin && "" !== this.model.admin && this.$http.get(this.baseAPI + "/wf-editor/workflow-editors/admin-name-info?loginNameInfo=" + this.model.admin).then((e2) => {
|
|
72
|
-
this.formModel.adminName = e2;
|
|
73
|
-
});
|
|
74
|
-
}, setI18nValue(e2) {
|
|
75
|
-
this.model.i18nKey = e2;
|
|
76
|
-
}, changeSystem(e2, l2) {
|
|
77
|
-
this.systemPublishVersion = l2, this.allForms = [], e2 && this.$http.get(this.baseAPI + "/wf-editor/systems/getPublishVersionsByCode/" + e2).then((e3) => {
|
|
78
|
-
this.systems = e3 || [];
|
|
79
|
-
});
|
|
80
|
-
}, changeVersion() {
|
|
81
|
-
this.listAllForms(this.model.systemCode, this.systemPublishVersion);
|
|
82
|
-
} } }, [["render", function(e2, l2, s2, o2, t2, a2) {
|
|
83
|
-
const i2 = r("i18n-input"), C2 = r("el-form-item"), w2 = r("el-col"), V = r("el-input"), g = r("department-user-tree"), S = r("el-option"), k = r("el-select"), A = r("el-cascader"), _ = r("el-row"), $ = r("el-form");
|
|
84
|
-
return d(), m($, { model: t2.formModel, "label-width": "100px" }, { default: n(() => [u(_, null, { default: n(() => [u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.processName"), prop: "name", rules: [t2.requiredRule] }, { default: n(() => [u(i2, { modelValue: t2.formModel.name, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => t2.formModel.name = e3), modelModifiers: { trim: true }, "i18n-key": s2.model.i18nKey ? s2.model.i18nKey : "processName", onSetI18n: a2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.processCode"), prop: "code", rules: [t2.requiredRule] }, { default: n(() => [u(V, { modelValue: t2.formModel.code, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => t2.formModel.code = e3), modelModifiers: { trim: true } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.processAdministrator"), rules: [t2.requiredRule] }, { default: n(() => [u(V, { modelValue: t2.formModel.adminName, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => t2.formModel.adminName = e3), readonly: "", "suffix-icon": "el-icon-search", onClick: a2.selectAdmin }, null, 8, ["modelValue", "onClick"]), t2.isSelectAdmin ? (d(), m(g, { key: 0, width: "30%", multiple: false, onClose: a2.addAdmin }, null, 8, ["onClose"])) : h("", true)]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.creater") }, { default: n(() => [u(V, { modelValue: s2.model.creator, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => s2.model.creator = e3), readonly: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), t2.isShowFormAndSystem ? (d(), m(w2, { key: 0, span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.system"), prop: "model.systemCode", rules: [t2.requiredRule] }, { default: n(() => [u(k, { modelValue: s2.model.systemCode, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => s2.model.systemCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: l2[5] || (l2[5] = (e3) => a2.changeSystem(s2.model.systemCode, null)) }, { default: n(() => [(d(true), c(p, null, f(t2.allSystems, (e3) => (d(), m(S, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : h("", true), t2.isShowFormAndSystem ? (d(), m(w2, { key: 1, span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.systemVersion"), rules: [t2.requiredRule] }, { default: n(() => [u(k, { modelValue: t2.systemPublishVersion, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => t2.systemPublishVersion = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: a2.changeVersion }, { default: n(() => [(d(true), c(p, null, f(t2.systems, (e3) => (d(), m(S, { key: e3.publishVersion, label: e3.publishVersion, value: e3.publishVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : h("", true), t2.isShowFormAndSystem ? (d(), m(w2, { key: 2, span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.correspondingForm"), rules: [t2.requiredRule] }, { default: n(() => [u(A, { modelValue: t2.selectedForm, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => t2.selectedForm = e3), "show-all-levels": false, options: t2.allForms, onChange: a2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : h("", true), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.tableCode") }, { default: n(() => [y(b(t2.tableName), 1)]), _: 1 }, 8, ["label"])]), _: 1 }), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.processType") }, { default: n(() => [u(k, { modelValue: s2.model.processTypeCode, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => s2.model.processTypeCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: n(() => [(d(true), c(p, null, f(t2.allProcessTypes, (e3) => (d(), m(S, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }), u(w2, { span: 12 }, { default: n(() => [u(C2, { label: e2.$t("workflowEditor.process.affiliatedBranch") }, { default: n(() => [u(k, { modelValue: s2.model.branchCode, "onUpdate:modelValue": l2[9] || (l2[9] = (e3) => s2.model.branchCode = e3), clearable: "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: n(() => [(d(true), c(p, null, f(t2.allBranches, (e3, l3) => (d(), m(S, { key: e3.code + "-" + l3, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), u(C2, { label: e2.$t("workflowEditor.process.customCategory") }, { default: n(() => [u(V, { modelValue: s2.model.customType, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => s2.model.customType = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
|
|
85
|
-
}]]);
|
|
86
|
-
export {
|
|
87
|
-
w as default
|
|
88
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { getI18n as e } from "../../util.mjs";
|
|
2
|
-
import { resolveComponent as o, openBlock as l, createBlock as t, withCtx as r, createVNode as s, createElementBlock as a, Fragment as n, renderList as d, createTextVNode as c, toDisplayString as i } from "vue";
|
|
3
|
-
import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const E = m({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
|
|
5
|
-
const o2 = [], l2 = this.modelValue.event;
|
|
6
|
-
if (void 0 !== l2 && l2.length && l2.length > 0) {
|
|
7
|
-
let e2 = [];
|
|
8
|
-
e2 = "string" == typeof l2 ? l2.split(",") : this.modelValue.event, e2.map(function(e3) {
|
|
9
|
-
o2.push(e3);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return { events: [{ name: "START_INSTANCE", label: e().t("workflowEditor.process.initiationProcess") }, { name: "DELETE_INSTANCE", label: e().t("workflowEditor.process.deleteProcess") }, { name: "CANCEL_INSTANCE", label: e().t("workflowEditor.process.cancelProcess") }, { name: "END_INSTANCE", label: e().t("workflowEditor.process.endProcess") }, { name: "STOP_INSTANCE", label: e().t("workflowEditor.process.pauseProcess") }, { name: "RESUME_INSTANCE", label: e().t("workflowEditor.process.continueTheProcess") }, { name: "JUMP_TACHE", label: e().t("workflowEditor.process.jumpLink") }, { name: "CHANGE_TRANSACTOR", label: e().t("workflowEditor.process.modificationHandler") }, { name: "ADD_TRANSACTOR", label: e().t("workflowEditor.process.addHandler") }, { name: "REMOVE_TRANSACTOR", label: e().t("workflowEditor.process.decreaseOofHandler") }, { name: "ASSIGN_TASK", label: e().t("workflowEditor.process.appointedTask") }, { name: "RETURN_TASK", label: e().t("workflowEditor.process.returnTask") }, { name: "WITHDRAW_TASK", label: e().t("workflowEditor.process.retrieveTask") }, { name: "TRUST_TASK", label: e().t("workflowEditor.process.trustTask") }], selectedEvents: o2 };
|
|
13
|
-
}, watch: { selectedEvents(e2) {
|
|
14
|
-
this.$emit("update:modelValue", { event: this.selectedEvents });
|
|
15
|
-
} }, methods: {} }, [["render", function(e2, m2, E2, p, u, w) {
|
|
16
|
-
const f = o("el-checkbox"), T = o("el-card"), A = o("el-col"), k = o("el-row"), _ = o("el-checkbox-group");
|
|
17
|
-
return l(), t(_, { modelValue: u.selectedEvents, "onUpdate:modelValue": m2[0] || (m2[0] = (e3) => u.selectedEvents = e3) }, { default: r(() => [s(k, { gutter: 12 }, { default: r(() => [(l(true), a(n, null, d(u.events, (e3) => (l(), t(A, { key: e3.name, span: 8, style: { "margin-bottom": "12px" } }, { default: r(() => [s(T, { shadow: "always" }, { default: r(() => [s(f, { label: e3.name }, { default: r(() => [c(i(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
|
|
18
|
-
}]]);
|
|
19
|
-
export {
|
|
20
|
-
E as default
|
|
21
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import e from "../common/notice.vue.mjs";
|
|
2
|
-
import l from "../common/select-mail-template.vue.mjs";
|
|
3
|
-
import { resolveComponent as o, openBlock as t, createBlock as a, withCtx as m, createVNode as d, createCommentVNode as i } from "vue";
|
|
4
|
-
import n from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const u = n({ name: "NoticeSettings", components: { Notice: e, SelectMailTemplates: l }, props: { modelValue: { type: [Object, String], default: null } }, data() {
|
|
6
|
-
let e2 = { informType: "", userCondition: "", subject: null, content: null, defaultMailTemplateCode: "" };
|
|
7
|
-
return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (e2 = this.modelValue), { showMailTemplateFlag: false, model: e2 };
|
|
8
|
-
}, created() {
|
|
9
|
-
this.$watch("model", function(e2, l2) {
|
|
10
|
-
this.getValue();
|
|
11
|
-
}, { deep: true });
|
|
12
|
-
}, methods: { getValue() {
|
|
13
|
-
const e2 = this.model;
|
|
14
|
-
this.$emit("update:modelValue", e2);
|
|
15
|
-
}, setMailTemplateCode(e2) {
|
|
16
|
-
this.model.defaultMailTemplateCode = e2;
|
|
17
|
-
}, setMailPointTemplateCode(e2) {
|
|
18
|
-
this.model.defaultMailPointTemplateCode = e2;
|
|
19
|
-
} } }, [["render", function(e2, l2, n2, u2, p, s) {
|
|
20
|
-
const r = o("notice"), f = o("select-mail-templates"), c = o("el-form-item"), T = o("el-form");
|
|
21
|
-
return p.model ? (t(), a(T, { key: 0, model: p.model, "label-width": "100px" }, { default: m(() => [d(r, { modelValue: p.model, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => p.model = e3), "switch-label": e2.$t("workflowEditor.process.sendNotificationAfterProcessEnds") }, null, 8, ["modelValue", "switch-label"]), p.model.informType && p.model.informType.length > 0 ? (t(), a(c, { key: 0, label: e2.$t("workflowEditor.process.defaultCommonTemplate") }, { default: m(() => [d(f, { modelValue: p.model.defaultMailTemplateCode, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => p.model.defaultMailTemplateCode = e3), onSetValue: s.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : i("", true), p.model.informType && p.model.informType.length > 0 && -1 !== p.model.informType.indexOf("mail") ? (t(), a(c, { key: 1, label: e2.$t("workflowEditor.process.defaultMailTemplate") }, { default: m(() => [d(f, { modelValue: p.model.defaultMailPointTemplateCode, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => p.model.defaultMailPointTemplateCode = e3), onSetValue: s.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : i("", true)]), _: 1 }, 8, ["model"])) : i("", true);
|
|
22
|
-
}]]);
|
|
23
|
-
export {
|
|
24
|
-
u as default
|
|
25
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import e from "./selectPage.vue.mjs";
|
|
2
|
-
import { mapGetters as l } from "vuex";
|
|
3
|
-
import { resolveComponent as a, openBlock as o, createBlock as r, withCtx as t, createVNode as d, createElementVNode as m, toDisplayString as s, createCommentVNode as u } from "vue";
|
|
4
|
-
import n from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const p = n({ name: "ParameterSettings", components: { selectPage: e }, props: { model: { type: Object, default: null } }, data: () => ({ selectPageFlag: false, pageFormCode: null }), computed: { ...l("wfEditor", ["formCode", "pageCode"]) }, created() {
|
|
6
|
-
this.pageCode && (this.model.doTask.url = "page:" + this.pageCode);
|
|
7
|
-
}, methods: { openSelectPage() {
|
|
8
|
-
this.formCode && (this.pageFormCode = this.formCode), this.selectPageFlag = true;
|
|
9
|
-
}, setPage(e2) {
|
|
10
|
-
this.model.doTask.url = e2, this.selectPageFlag = false;
|
|
11
|
-
} } }, [["render", function(e2, l2, n2, p2, i, c) {
|
|
12
|
-
const f = a("el-input"), g = a("el-form-item"), w = a("el-card"), V = a("select-page"), P = a("el-form");
|
|
13
|
-
return o(), r(P, { model: n2.model, "label-width": "150px" }, { default: t(() => [d(w, null, { header: t(() => [m("span", null, s(e2.$t("workflowEditor.process.processTaskParameterSettings")), 1)]), default: t(() => [d(g, { label: e2.$t("workflowEditor.process.uRLForProcessingTask") }, { default: t(() => [e2.pageCode ? (o(), r(f, { key: 0, disabled: "", modelValue: n2.model.doTask.url, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => n2.model.doTask.url = e3) }, null, 8, ["modelValue"])) : (o(), r(f, { key: 1, modelValue: n2.model.doTask.url, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => n2.model.doTask.url = e3) }, { suffix: t(() => [m("i", { class: "fa fa-search", onClick: l2[1] || (l2[1] = (...e3) => c.openSelectPage && c.openSelectPage(...e3)) })]), _: 1 }, 8, ["modelValue"]))]), _: 1 }, 8, ["label"]), d(g, { label: e2.$t("workflowEditor.process.parametersForReceivingTaskID") }, { default: t(() => [d(f, { modelValue: n2.model.doTask.parameterName, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => n2.model.doTask.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), d(w, null, { header: t(() => [m("span", null, s(e2.$t("workflowEditor.process.viewFormParameterSettings")), 1)]), default: t(() => [d(g, { label: e2.$t("workflowEditor.process.viewTheURLOfTheForm") }, { default: t(() => [d(f, { modelValue: n2.model.viewForm.url, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => n2.model.viewForm.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(g, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: t(() => [d(f, { modelValue: n2.model.viewForm.parameterName, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => n2.model.viewForm.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), d(w, null, { header: t(() => [m("span", null, s(e2.$t("workflowEditor.process.emergencyTreatmentParameterSetting")), 1)]), default: t(() => [d(g, { label: e2.$t("workflowEditor.process.uRLOfEmergencyHandling") }, { default: t(() => [d(f, { modelValue: n2.model.handleEmergency.url, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => n2.model.handleEmergency.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(g, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: t(() => [d(f, { modelValue: n2.model.handleEmergency.parameterName, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => n2.model.handleEmergency.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), d(w, null, { header: t(() => [m("span", null, s(e2.$t("workflowEditor.process.initiateProcessParameterSettings")), 1)]), default: t(() => [d(g, { label: e2.$t("workflowEditor.process.uRLOfTheInitiatingProcess") }, { default: t(() => [d(f, { modelValue: n2.model.startProcess.url, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => n2.model.startProcess.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(g, { label: e2.$t("workflowEditor.process.parametersForReceivingProcessName") }, { default: t(() => [d(f, { modelValue: n2.model.startProcess.parameterName, "onUpdate:modelValue": l2[9] || (l2[9] = (e3) => n2.model.startProcess.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(g, { label: e2.$t("workflowEditor.process.customParameterValue") }, { default: t(() => [d(f, { modelValue: n2.model.startProcess.parameterValue, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => n2.model.startProcess.parameterValue = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), i.selectPageFlag ? (o(), r(V, { key: 0, "page-form-code": i.pageFormCode, onSetPage: c.setPage }, null, 8, ["page-form-code", "onSetPage"])) : u("", true)]), _: 1 }, 8, ["model"]);
|
|
14
|
-
}]]);
|
|
15
|
-
export {
|
|
16
|
-
p as default
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import e from "../common/user-selection.vue.mjs";
|
|
2
|
-
import { resolveComponent as l, openBlock as o, createBlock as t, withCtx as u, createVNode as a } from "vue";
|
|
3
|
-
import r from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const s = r({ name: "PermissionSettings", components: { UserSelection: e }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, r2, s2, i, d, m) {
|
|
5
|
-
const n = l("user-selection"), w = l("el-form");
|
|
6
|
-
return o(), t(w, { model: s2.modelValue, "label-width": "80px" }, { default: u(() => [a(n, { modelValue: s2.modelValue.viewFlowHistory, "onUpdate:modelValue": r2[0] || (r2[0] = (e3) => s2.modelValue.viewFlowHistory = e3), label: e2.$t("workflowEditor.process.ViewFlowHistoryPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), a(n, { modelValue: s2.modelValue.viewSubscribeResult, "onUpdate:modelValue": r2[1] || (r2[1] = (e3) => s2.modelValue.viewSubscribeResult = e3), label: e2.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), a(n, { modelValue: s2.modelValue.viewVoteResult, "onUpdate:modelValue": r2[2] || (r2[2] = (e3) => s2.modelValue.viewVoteResult = e3), label: e2.$t("workflowEditor.process.ViewVotingResultsBy"), "label-width": "130px" }, null, 8, ["modelValue", "label"])]), _: 1 }, 8, ["model"]);
|
|
7
|
-
}]]);
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|