workflow-editor 0.9.67-dw → 0.9.67
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/lib/workflow-editor.css +1 -1
- package/lib/workflow-editor.umd.min.js +10 -10
- package/package.json +2 -2
- package/packages/index.js +34 -0
- package/packages/plugins/formValidatorUtil.js +528 -0
- package/packages/plugins/index.js +8 -0
- package/packages/workflow-editor/index.js +14 -0
- package/packages/workflow-editor/src/api.js +7 -0
- package/packages/workflow-editor/src/assets/wf-editor-icons.js +2 -0
- package/packages/workflow-editor/src/constant.js +8 -0
- package/packages/workflow-editor/src/json-object-templates/copy-task.js +67 -0
- package/packages/workflow-editor/src/json-object-templates/decision.js +11 -0
- package/packages/workflow-editor/src/json-object-templates/end.js +14 -0
- package/packages/workflow-editor/src/json-object-templates/fork.js +10 -0
- package/packages/workflow-editor/src/json-object-templates/human-decision.js +9 -0
- package/packages/workflow-editor/src/json-object-templates/human-task.js +199 -0
- package/packages/workflow-editor/src/json-object-templates/join.js +10 -0
- package/packages/workflow-editor/src/json-object-templates/process.js +98 -0
- package/packages/workflow-editor/src/json-object-templates/start.js +13 -0
- package/packages/workflow-editor/src/json-object-templates/subprocess.js +30 -0
- package/packages/workflow-editor/src/json-object-templates/transition.js +26 -0
- package/packages/workflow-editor/src/main/admin-save-dialog.vue +66 -0
- package/packages/workflow-editor/src/main/canvas.vue +479 -0
- package/packages/workflow-editor/src/main/context-menu.vue +132 -0
- package/packages/workflow-editor/src/main/icon-svg.vue +32 -0
- package/packages/workflow-editor/src/main/selection-region.vue +66 -0
- package/packages/workflow-editor/src/main/tache-history-tooltip.vue +38 -0
- package/packages/workflow-editor/src/main/tache-name-input.vue +19 -0
- package/packages/workflow-editor/src/main/tache-subprocess-history-dialog.vue +35 -0
- package/packages/workflow-editor/src/main/toolbox.vue +60 -0
- package/packages/workflow-editor/src/main/wf-history-canvas.vue +302 -0
- package/packages/workflow-editor/src/process-json.js +622 -0
- package/packages/workflow-editor/src/process-service.js +31 -0
- package/packages/workflow-editor/src/properties-editors/common/additional-condition-utils.js +531 -0
- package/packages/workflow-editor/src/properties-editors/common/additional-condition.vue +276 -0
- package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.js +34 -0
- package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields.vue +239 -0
- package/packages/workflow-editor/src/properties-editors/common/common-notice-tool.vue +47 -0
- package/packages/workflow-editor/src/properties-editors/common/common-user-condition.vue +241 -0
- package/packages/workflow-editor/src/properties-editors/common/form-fields-utils.js +23 -0
- package/packages/workflow-editor/src/properties-editors/common/form-fields.vue +116 -0
- package/packages/workflow-editor/src/properties-editors/common/i18n-input.vue +75 -0
- package/packages/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue +125 -0
- package/packages/workflow-editor/src/properties-editors/common/notice.vue +98 -0
- package/packages/workflow-editor/src/properties-editors/common/reminder.vue +179 -0
- package/packages/workflow-editor/src/properties-editors/common/select-mail-template.vue +83 -0
- package/packages/workflow-editor/src/properties-editors/common/standard-fields.vue +65 -0
- package/packages/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue +355 -0
- package/packages/workflow-editor/src/properties-editors/common/system-role-tree.vue +63 -0
- package/packages/workflow-editor/src/properties-editors/common/task-title.vue +148 -0
- package/packages/workflow-editor/src/properties-editors/common/transactor-settings.vue +233 -0
- package/packages/workflow-editor/src/properties-editors/common/user-selection.vue +386 -0
- package/packages/workflow-editor/src/properties-editors/common/value-selection-dialog.vue +209 -0
- package/packages/workflow-editor/src/properties-editors/common/variables.vue +135 -0
- package/packages/workflow-editor/src/properties-editors/copy-task/basic-properties.vue +90 -0
- package/packages/workflow-editor/src/properties-editors/copy-task/permission-settings.vue +155 -0
- package/packages/workflow-editor/src/properties-editors/copy-task.vue +80 -0
- package/packages/workflow-editor/src/properties-editors/decision.vue +90 -0
- package/packages/workflow-editor/src/properties-editors/fork.vue +72 -0
- package/packages/workflow-editor/src/properties-editors/human-decision.vue +44 -0
- package/packages/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue +60 -0
- package/packages/workflow-editor/src/properties-editors/human-task/basic-properties.vue +156 -0
- package/packages/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.js +291 -0
- package/packages/workflow-editor/src/properties-editors/human-task/custom-actions.vue +249 -0
- package/packages/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue +392 -0
- package/packages/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue +241 -0
- package/packages/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue +220 -0
- package/packages/workflow-editor/src/properties-editors/human-task/editable-fields.vue +204 -0
- package/packages/workflow-editor/src/properties-editors/human-task/events.vue +59 -0
- package/packages/workflow-editor/src/properties-editors/human-task/permission-settings.vue +207 -0
- package/packages/workflow-editor/src/properties-editors/human-task/selection-conditions.vue +390 -0
- package/packages/workflow-editor/src/properties-editors/human-task.vue +103 -0
- package/packages/workflow-editor/src/properties-editors/join.vue +44 -0
- package/packages/workflow-editor/src/properties-editors/process/basic-properties.vue +273 -0
- package/packages/workflow-editor/src/properties-editors/process/events.vue +76 -0
- package/packages/workflow-editor/src/properties-editors/process/notice-settings.vue +60 -0
- package/packages/workflow-editor/src/properties-editors/process/parameter-settings.vue +95 -0
- package/packages/workflow-editor/src/properties-editors/process/permission-settings.vue +28 -0
- package/packages/workflow-editor/src/properties-editors/process/selectPage.vue +81 -0
- package/packages/workflow-editor/src/properties-editors/process.vue +109 -0
- package/packages/workflow-editor/src/properties-editors/subprocess/basic-properties.vue +187 -0
- package/packages/workflow-editor/src/properties-editors/subprocess/events.vue +26 -0
- package/packages/workflow-editor/src/properties-editors/subprocess/field-mappings.vue +206 -0
- package/packages/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue +64 -0
- package/packages/workflow-editor/src/properties-editors/subprocess.vue +79 -0
- package/packages/workflow-editor/src/properties-editors/transition/basic-properties.vue +53 -0
- package/packages/workflow-editor/src/properties-editors/transition.vue +74 -0
- package/packages/workflow-editor/src/properties-editors/user-condition.js +177 -0
- package/packages/workflow-editor/src/store/getters.js +27 -0
- package/packages/workflow-editor/src/store/workflow-editor.js +125 -0
- package/packages/workflow-editor/src/taches/common-methods.js +21 -0
- package/packages/workflow-editor/src/taches/copy-task.vue +99 -0
- package/packages/workflow-editor/src/taches/custom-task.vue +88 -0
- package/packages/workflow-editor/src/taches/decision.vue +102 -0
- package/packages/workflow-editor/src/taches/end.vue +76 -0
- package/packages/workflow-editor/src/taches/fork.vue +102 -0
- package/packages/workflow-editor/src/taches/human-decision.vue +102 -0
- package/packages/workflow-editor/src/taches/human-task.vue +113 -0
- package/packages/workflow-editor/src/taches/join.vue +91 -0
- package/packages/workflow-editor/src/taches/joint.vue +177 -0
- package/packages/workflow-editor/src/taches/start.vue +76 -0
- package/packages/workflow-editor/src/taches/subprocess.vue +99 -0
- package/packages/workflow-editor/src/taches/tache-resizer.vue +80 -0
- package/packages/workflow-editor/src/transitions/broken-line.vue +91 -0
- package/packages/workflow-editor/src/transitions/curve-line.vue +91 -0
- package/packages/workflow-editor/src/transitions/straight-line.vue +26 -0
- package/packages/workflow-editor/src/transitions/transition.vue +212 -0
- package/packages/workflow-editor/src/transitions/virtual-transition.vue +43 -0
- package/packages/workflow-editor/src/util.js +493 -0
- package/packages/workflow-editor/src/workflow-editor.vue +605 -0
- package/packages/workflow-editor/src/workflow-history.vue +153 -0
- package/src/i18n/i18n.js +1 -1
- package/src/i18n/langs/cn.js +6 -1
- package/src/i18n/langs/en.js +6 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form :model="formModel" label-width="80px">
|
|
3
|
+
<el-form-item :label="$t('workflowEditor.task.beforeSubmission')">
|
|
4
|
+
<el-switch v-model="formModel.beforeSubmitEnabled" />
|
|
5
|
+
</el-form-item>
|
|
6
|
+
<div v-if="formModel.beforeSubmitEnabled">
|
|
7
|
+
<el-form-item :label="$t('workflowEditor.task.executionURL')">
|
|
8
|
+
<el-input v-model="formModel.beforeSubmit.url" />
|
|
9
|
+
</el-form-item>
|
|
10
|
+
<el-form-item :label="$t('workflowEditor.task.errorMessage')">
|
|
11
|
+
<el-input v-model="formModel.beforeSubmit.errorMessage" />
|
|
12
|
+
</el-form-item>
|
|
13
|
+
</div>
|
|
14
|
+
<el-form-item :label="$t('workflowEditor.task.afterSubmission')">
|
|
15
|
+
<el-switch v-model="formModel.afterComplete" />
|
|
16
|
+
</el-form-item>
|
|
17
|
+
</el-form>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
export default {
|
|
22
|
+
name: 'Events',
|
|
23
|
+
props: {
|
|
24
|
+
value: {
|
|
25
|
+
type: Object,
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
const formModel = {}
|
|
31
|
+
formModel.beforeSubmitEnabled = false
|
|
32
|
+
formModel.beforeSubmit = {}
|
|
33
|
+
if (this.value.beforeSubmit) {
|
|
34
|
+
formModel.beforeSubmitEnabled = true
|
|
35
|
+
formModel.beforeSubmit = {
|
|
36
|
+
...this.value.beforeSubmit
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
formModel.afterComplete = this.value.afterComplete
|
|
40
|
+
return {
|
|
41
|
+
formModel
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
mounted() {
|
|
45
|
+
this.$watch('formModel', function(newVal, oldVal) {
|
|
46
|
+
const events = {}
|
|
47
|
+
if (this.formModel.beforeSubmitEnabled) {
|
|
48
|
+
events.beforeSubmit = {
|
|
49
|
+
...this.formModel.beforeSubmit
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
events.afterComplete = this.formModel.afterComplete
|
|
53
|
+
this.$emit('input', events)
|
|
54
|
+
}, {
|
|
55
|
+
deep: true
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form :model="formModel">
|
|
3
|
+
<el-form-item :label="$t('workflowEditor.task.allowEditingForms')">
|
|
4
|
+
<el-switch v-model="formModel.editForm.permission" />
|
|
5
|
+
<editable-fields v-if="formModel.editForm.permission" v-model="formModel.editForm.field" />
|
|
6
|
+
<editable-child-fields v-if="formModel.editForm.permission" v-model="formModel.editForm.subTablePermission" />
|
|
7
|
+
</el-form-item>
|
|
8
|
+
<el-form-item :label="$t('workflowEditor.task.allowViews')">
|
|
9
|
+
<el-switch v-model="formModel.viewOpinion.permission" />
|
|
10
|
+
<el-checkbox v-if="formModel.viewOpinion.permission" v-model="formModel.viewOpinionCheckbox">
|
|
11
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
12
|
+
</el-checkbox>
|
|
13
|
+
<additional-condition v-if="formModel.viewOpinion.permission&&formModel.viewOpinionCheckbox" v-model="formModel.viewOpinion.condition" />
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item :label="$t('workflowEditor.task.commentsAllowed')">
|
|
16
|
+
<el-switch v-model="formModel.editOpinion.permission" />
|
|
17
|
+
<el-checkbox v-if="formModel.editOpinion.permission" v-model="formModel.editOpinionCheckbox">
|
|
18
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
19
|
+
</el-checkbox>
|
|
20
|
+
<additional-condition v-if="formModel.editOpinion.permission&&formModel.editOpinionCheckbox" v-model="formModel.editOpinion.condition" />
|
|
21
|
+
</el-form-item>
|
|
22
|
+
<el-form-item :label="$t('workflowEditor.task.commentsAreRequired')">
|
|
23
|
+
<el-switch v-model="formModel.requireOpinion.permission" />
|
|
24
|
+
<el-checkbox v-if="formModel.requireOpinion.permission" v-model="formModel.requireOpinionCheckbox">
|
|
25
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
26
|
+
</el-checkbox>
|
|
27
|
+
<additional-condition v-if="formModel.requireOpinion.permission&&formModel.requireOpinionCheckbox" v-model="formModel.requireOpinion.condition" />
|
|
28
|
+
</el-form-item>
|
|
29
|
+
<el-form-item :label="$t('workflowEditor.task.allowToViewCountersignatureResults')">
|
|
30
|
+
<el-switch v-model="formModel.viewMeetingResult.permission" />
|
|
31
|
+
<el-checkbox v-if="formModel.viewMeetingResult.permission" v-model="formModel.viewMeetingResultCheckbox">
|
|
32
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
33
|
+
</el-checkbox>
|
|
34
|
+
<additional-condition v-if="formModel.viewMeetingResult.permission&&formModel.viewMeetingResultCheckbox" v-model="formModel.viewMeetingResult.condition" />
|
|
35
|
+
</el-form-item>
|
|
36
|
+
<el-form-item :label="$t('workflowEditor.task.allowToViewVotingResults')">
|
|
37
|
+
<el-switch v-model="formModel.viewVoteResult.permission" />
|
|
38
|
+
<el-checkbox v-if="formModel.viewVoteResult.permission" v-model="formModel.viewVoteResultCheckbox">
|
|
39
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
40
|
+
</el-checkbox>
|
|
41
|
+
<additional-condition v-if="formModel.viewVoteResult.permission&&formModel.viewVoteResultCheckbox" v-model="formModel.viewVoteResult.condition" />
|
|
42
|
+
</el-form-item>
|
|
43
|
+
<el-form-item :label="$t('workflowEditor.task.allowToViewFlowHistory')">
|
|
44
|
+
<el-switch v-model="formModel.viewFlowHistory.permission" />
|
|
45
|
+
<el-checkbox v-if="formModel.viewFlowHistory.permission" v-model="formModel.viewFlowHistoryCheckbox">
|
|
46
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
47
|
+
</el-checkbox>
|
|
48
|
+
<additional-condition v-if="formModel.viewFlowHistory.permission&&formModel.viewFlowHistoryCheckbox" v-model="formModel.viewFlowHistory.condition" />
|
|
49
|
+
</el-form-item>
|
|
50
|
+
<el-form-item :label="$t('workflowEditor.task.allowFormsToPrint')">
|
|
51
|
+
<el-switch v-model="formModel.printForm.permission" />
|
|
52
|
+
<el-checkbox v-if="formModel.printForm.permission" v-model="formModel.printFormCheckbox">
|
|
53
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
54
|
+
</el-checkbox>
|
|
55
|
+
<additional-condition v-if="formModel.printForm.permission&&formModel.printFormCheckbox" v-model="formModel.printForm.condition" />
|
|
56
|
+
</el-form-item>
|
|
57
|
+
<user-selection v-model="formModel.deleteInstance.userCondition" :label="$t('workflowEditor.task.deletePermission')" label-width="100px" :current-transactor="true" />
|
|
58
|
+
<el-form-item :label="$t('workflowEditor.task.attachmentAuthority')">
|
|
59
|
+
<el-switch v-model="formModel.attachment.permission" />
|
|
60
|
+
</el-form-item>
|
|
61
|
+
<el-card v-if="formModel.attachment.permission" class="box-card">
|
|
62
|
+
<el-form-item :label="$t('workflowEditor.task.addAttachment')">
|
|
63
|
+
<el-switch v-model="formModel.attachment.add.permission" />
|
|
64
|
+
<el-checkbox v-if="formModel.attachment.add.permission" v-model="formModel.attachment.addCheckbox">
|
|
65
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
66
|
+
</el-checkbox>
|
|
67
|
+
<additional-condition v-if="formModel.attachment.add.permission&&formModel.attachment.addCheckbox" v-model="formModel.attachment.add.condition" />
|
|
68
|
+
</el-form-item>
|
|
69
|
+
<el-form-item :label="$t('workflowEditor.task.deleteAttachment')">
|
|
70
|
+
<el-switch v-model="formModel.attachment.delete.permission" />
|
|
71
|
+
<el-checkbox v-if="formModel.attachment.delete.permission" v-model="formModel.attachment.deleteCheckbox">
|
|
72
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
73
|
+
</el-checkbox>
|
|
74
|
+
<additional-condition v-if="formModel.attachment.delete.permission&&formModel.attachment.deleteCheckbox" v-model="formModel.attachment.delete.condition" />
|
|
75
|
+
</el-form-item>
|
|
76
|
+
<el-form-item :label="$t('workflowEditor.task.downloadAttachment')">
|
|
77
|
+
<el-switch v-model="formModel.attachment.download.permission" />
|
|
78
|
+
<el-checkbox v-if="formModel.attachment.download.permission" v-model="formModel.attachment.downloadCheckbox">
|
|
79
|
+
{{ $t('workflowEditor.task.additionalConditions') }}
|
|
80
|
+
</el-checkbox>
|
|
81
|
+
<additional-condition v-if="formModel.attachment.download.permission&&formModel.attachment.downloadCheckbox" v-model="formModel.attachment.download.condition" />
|
|
82
|
+
</el-form-item>
|
|
83
|
+
</el-card>
|
|
84
|
+
<el-form-item :label="$t('workflowEditor.task.bodyPermission')">
|
|
85
|
+
<el-switch v-model="formModel.officialText.permission" />
|
|
86
|
+
</el-form-item>
|
|
87
|
+
</el-form>
|
|
88
|
+
</template>
|
|
89
|
+
<script>
|
|
90
|
+
import EditableFields from './editable-fields'
|
|
91
|
+
import editableChildFields from './editable-child-fields'
|
|
92
|
+
import AdditionalCondition from '../common/additional-condition'
|
|
93
|
+
import UserSelection from '../common/user-selection'
|
|
94
|
+
import { deepCopy } from '../../util'
|
|
95
|
+
export default {
|
|
96
|
+
name: 'PermissionSettings',
|
|
97
|
+
components: {
|
|
98
|
+
EditableFields,
|
|
99
|
+
UserSelection,
|
|
100
|
+
AdditionalCondition,
|
|
101
|
+
editableChildFields
|
|
102
|
+
},
|
|
103
|
+
props: {
|
|
104
|
+
value: {
|
|
105
|
+
type: Object,
|
|
106
|
+
default: null
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
data() {
|
|
110
|
+
const formModel = deepCopy(this.value)
|
|
111
|
+
// 控制附加条件的属性名
|
|
112
|
+
const attrNames = [
|
|
113
|
+
'viewOpinion', 'editOpinion', 'requireOpinion', 'viewMeetingResult', 'viewVoteResult',
|
|
114
|
+
'viewFlowHistory', 'printForm'
|
|
115
|
+
]
|
|
116
|
+
attrNames.forEach(name => {
|
|
117
|
+
// 如果是''或者undefined,那么两次!后就是false
|
|
118
|
+
formModel[name + 'Checkbox'] = !!this.value[name].condition
|
|
119
|
+
})
|
|
120
|
+
// 控制附件各个权限的附加条件的属性名
|
|
121
|
+
const attachmentAttrNames = [
|
|
122
|
+
'add', 'delete', 'download'
|
|
123
|
+
]
|
|
124
|
+
attachmentAttrNames.forEach(name => {
|
|
125
|
+
// 如果是''或者undefined,那么两次!后就是false
|
|
126
|
+
formModel.attachment[name + 'Checkbox'] = !!this.value.attachment[name] && !!this.value.attachment[name].condition
|
|
127
|
+
if (!formModel.attachment.permission) {
|
|
128
|
+
formModel.attachment[name] = {
|
|
129
|
+
permission: false,
|
|
130
|
+
condition: ''
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
})
|
|
134
|
+
|
|
135
|
+
return {
|
|
136
|
+
formModel,
|
|
137
|
+
attrNames,
|
|
138
|
+
attachmentAttrNames
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
mounted() {
|
|
142
|
+
this.$watch('formModel', function(formModel) {
|
|
143
|
+
const result = {
|
|
144
|
+
editForm: { },
|
|
145
|
+
viewOpinion: { },
|
|
146
|
+
editOpinion: { },
|
|
147
|
+
requireOpinion: { },
|
|
148
|
+
viewMeetingResult: { },
|
|
149
|
+
viewVoteResult: { },
|
|
150
|
+
viewFlowHistory: { },
|
|
151
|
+
printForm: { },
|
|
152
|
+
officialText: { },
|
|
153
|
+
attachment: { },
|
|
154
|
+
deleteInstance: {
|
|
155
|
+
userCondition: ''
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
console.log('触发了watch')
|
|
159
|
+
result.editForm.permission = formModel.editForm.permission
|
|
160
|
+
if (formModel.editForm.permission) {
|
|
161
|
+
result.editForm.field = formModel.editForm.field
|
|
162
|
+
result.editForm.subTablePermission = formModel.editForm.subTablePermission
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
this.attrNames.map(name => {
|
|
166
|
+
// permission为true且附件条件的checkbox也选中了,condition才有效
|
|
167
|
+
result[name].permission = formModel[name].permission
|
|
168
|
+
if (formModel[name].permission && formModel[name + 'Checkbox']) {
|
|
169
|
+
result[name].condition = formModel[name].condition
|
|
170
|
+
} else {
|
|
171
|
+
result[name].condition = ''
|
|
172
|
+
}
|
|
173
|
+
})
|
|
174
|
+
|
|
175
|
+
result.attachment.permission = formModel.attachment.permission
|
|
176
|
+
// 允许设置附件权限时,add,delete等的权限设置才有效,否则根本不生成add,delete等对应的json
|
|
177
|
+
if (formModel.attachment.permission) {
|
|
178
|
+
this.attachmentAttrNames.map(name => {
|
|
179
|
+
// 需要避免result的add,delete等属性为undefined
|
|
180
|
+
if (!result.attachment[name])result.attachment[name] = {}
|
|
181
|
+
// attachment不是undefined并且对应的add,delete等属性的permission为true
|
|
182
|
+
result.attachment[name].permission = formModel.attachment[name].permission
|
|
183
|
+
// permission为true且附件条件的checkbox也选中了,condition才有效
|
|
184
|
+
if (formModel.attachment[name].permission && formModel.attachment[name + 'Checkbox']) {
|
|
185
|
+
result.attachment[name].condition = formModel.attachment[name].condition
|
|
186
|
+
} else {
|
|
187
|
+
result.attachment[name].condition = ''
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// 正文权限暂不处理
|
|
193
|
+
this.$emit('input', result)
|
|
194
|
+
}, {
|
|
195
|
+
deep: true
|
|
196
|
+
})
|
|
197
|
+
},
|
|
198
|
+
methods: {
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
</script>
|
|
203
|
+
<style scoped>
|
|
204
|
+
.el-checkbox{
|
|
205
|
+
margin-left: 20px;
|
|
206
|
+
}
|
|
207
|
+
</style>
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
:show-close="true"
|
|
4
|
+
:append-to-body="true"
|
|
5
|
+
style="width:100%"
|
|
6
|
+
:title="$t('workflowEditor.condition.combinationCondition')"
|
|
7
|
+
visible
|
|
8
|
+
@close="closeButtonSetting"
|
|
9
|
+
>
|
|
10
|
+
<div style="overflow-y:auto;max-height: 500px">
|
|
11
|
+
<div class="operation-area">
|
|
12
|
+
<el-button size="small" @click="savebuttonSetting">
|
|
13
|
+
<span> {{ $t('workflowEditorPublicModel.save') }}</span>
|
|
14
|
+
</el-button>
|
|
15
|
+
</div>
|
|
16
|
+
<div>
|
|
17
|
+
<el-card class="box-card" shadow="never">
|
|
18
|
+
<div slot="header" class="clearfix">
|
|
19
|
+
<span>{{ $t('workflowEditor.condition.personnelScope') }}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div>
|
|
22
|
+
<common-user-condition v-model="myUserCondition" used-in="transactor" />
|
|
23
|
+
</div>
|
|
24
|
+
</el-card>
|
|
25
|
+
<el-card class="box-card" shadow="never">
|
|
26
|
+
<div slot="header" class="clearfix">
|
|
27
|
+
<span>{{ $t('workflowEditor.condition.mainTableConditions') }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div>
|
|
30
|
+
<additional-condition v-model="myParentCondition" />
|
|
31
|
+
</div>
|
|
32
|
+
</el-card>
|
|
33
|
+
<el-card v-if="isAdd === false" class="box-card" shadow="never">
|
|
34
|
+
<div slot="header">
|
|
35
|
+
<span>{{ $t('workflowEditor.condition.subtableCondition') }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
<div>
|
|
38
|
+
<el-row style="padding-bottom: 8px">
|
|
39
|
+
<el-button type="primary" size="mini" plain icon="el-icon-circle-plus-outline" @click="add">
|
|
40
|
+
{{ $t('workflowEditorPublicModel.add') }}
|
|
41
|
+
</el-button>
|
|
42
|
+
<el-button type="primary" size="mini" plain icon="el-icon-delete" @click="remove">
|
|
43
|
+
{{ $t('workflowEditorPublicModel.delete') }}
|
|
44
|
+
</el-button>
|
|
45
|
+
</el-row>
|
|
46
|
+
<el-table
|
|
47
|
+
id="tableDataDialog"
|
|
48
|
+
ref="table"
|
|
49
|
+
:data="tableData"
|
|
50
|
+
border
|
|
51
|
+
style="width: 100%"
|
|
52
|
+
highlight-current-row
|
|
53
|
+
@current-change="handleCurrentChange"
|
|
54
|
+
>
|
|
55
|
+
<el-table-column prop="leftBracket" label="(" width="90">
|
|
56
|
+
<template slot-scope="scope">
|
|
57
|
+
<el-select v-model="scope.row.leftBracket" size="small" clearable @focus="selectRow(scope.row)">
|
|
58
|
+
<el-option label="" value="" />
|
|
59
|
+
<el-option label="(" value="(" />
|
|
60
|
+
<el-option label="((" value="((" />
|
|
61
|
+
<el-option label="(((" value="(((" />
|
|
62
|
+
</el-select>
|
|
63
|
+
</template>
|
|
64
|
+
</el-table-column>
|
|
65
|
+
<el-table-column :label="$t('workflowEditor.common.fieldName')" width="200">
|
|
66
|
+
<template slot-scope="scope">
|
|
67
|
+
<el-select v-model="scope.row.propName" :filter-method="searchField" size="small" clearable filterable @focus="selectRow(scope.row)" @change="changeFieldName(scope.$index)">
|
|
68
|
+
<el-option
|
|
69
|
+
v-for="item in attributeArr"
|
|
70
|
+
:key="item.value"
|
|
71
|
+
:label="item.label"
|
|
72
|
+
:value="item.value"
|
|
73
|
+
/>
|
|
74
|
+
</el-select>
|
|
75
|
+
</template>
|
|
76
|
+
</el-table-column>
|
|
77
|
+
<el-table-column :label="$t('workflowEditor.common.operator')" width="110">
|
|
78
|
+
<template slot-scope="scope">
|
|
79
|
+
<el-select v-model="scope.row.operator" size="small" clearable @focus="selectRow(scope.row)">
|
|
80
|
+
<el-option v-for="option in operationArr[scope.$index]" :key="option.name" :label="option.label" :value="option.name" />
|
|
81
|
+
</el-select>
|
|
82
|
+
</template>
|
|
83
|
+
</el-table-column>
|
|
84
|
+
<el-table-column :label="$t('workflowEditor.common.value')">
|
|
85
|
+
<template slot-scope="scope">
|
|
86
|
+
<el-select v-if="!scope.row.propValueType" v-model="scope.row.propValueType" size="small" @focus="selectRow(scope.row)">
|
|
87
|
+
<el-option :label="$t('workflowEditor.condition.fillInManually')" value="input" />
|
|
88
|
+
<el-option :label="$t('workflowEditor.condition.environmentVariable')" value="context" />
|
|
89
|
+
<el-option :label="$t('workflowEditor.condition.requestParameters')" value="request" />
|
|
90
|
+
<el-option :label="$t('workflowEditor.condition.mainTableField')" value="obj" />
|
|
91
|
+
<el-option :label="$t('workflowEditor.condition.databaseFields')" value="subObj" />
|
|
92
|
+
<el-option :label="$t('workflowEditor.condition.taskFields')" value="task" />
|
|
93
|
+
<el-option :label="$t('workflowEditor.condition.systemParameter')" value="custom" />
|
|
94
|
+
</el-select>
|
|
95
|
+
<el-select v-if="scope.row.propValueType === 'context'" v-model="scope.row.propValue" clearable size="small" :title="scope.row.propValue" filterable default-first-option allow-create @change="changePropValue(scope.$index)" @focus="selectRow(scope.row)">
|
|
96
|
+
<el-option :label="$t('workflowEditor.condition.currentTime')" value="${context.currentTime}" />
|
|
97
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactor')" value="${context.currentTransactor}" />
|
|
98
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorName')" value="${context.currentTransactorName}" />
|
|
99
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorId')" value="${context.currentTransactorId}" />
|
|
100
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorMainDepartmentId')" value="${context.currentTransactorMainDepartmentId}" />
|
|
101
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorMainDepartment')" value="${context.currentTransactorMainDepartment}" />
|
|
102
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorRoleId')" value="${context.currentTransactorRoleId}" />
|
|
103
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorRole')" value="${context.currentTransactorRole}" />
|
|
104
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorWorkGroupId')" value="${context.currentTransactorWorkGroupId}" />
|
|
105
|
+
<el-option :label="$t('workflowEditor.condition.currentTransactorWorkGroup')" value="${context.currentTransactorWorkGroup}" />
|
|
106
|
+
</el-select>
|
|
107
|
+
<el-select v-if="scope.row.propValueType === 'task'" v-model="scope.row.propValue" clearable size="small" :title="scope.row.propValue" filterable default-first-option allow-create @change="changePropValue(scope.$index)" @focus="selectRow(scope.row)">
|
|
108
|
+
<el-option :label="$t('workflowEditor.condition.currentHandler')" value="${task.transactor}" />
|
|
109
|
+
<el-option :label="$t('workflowEditor.condition.currentTaskClient')" value="${task.trustor}" />
|
|
110
|
+
<el-option :label="$t('workflowEditor.condition.currentAssignor')" value="${task.assigner}" />
|
|
111
|
+
<el-option :label="$t('workflowEditor.condition.linkName')" value="${task.name}" />
|
|
112
|
+
<el-option :label="$t('workflowEditor.condition.linkCode')" value="${task.nodeId}" />
|
|
113
|
+
</el-select>
|
|
114
|
+
<el-date-picker
|
|
115
|
+
v-if="scope.row.dataType === 'DATE' && scope.row.propValueType === 'input'"
|
|
116
|
+
v-model="scope.row.propValue"
|
|
117
|
+
size="small"
|
|
118
|
+
clearable
|
|
119
|
+
value-format="yyyy-MM-dd"
|
|
120
|
+
:title="scope.row.propValue"
|
|
121
|
+
type="date"
|
|
122
|
+
@change="changePropValue(scope.$index)"
|
|
123
|
+
/>
|
|
124
|
+
<el-date-picker
|
|
125
|
+
v-if="scope.row.dataType === 'TIME' && scope.row.propValueType === 'input'"
|
|
126
|
+
v-model="scope.row.propValue"
|
|
127
|
+
size="small"
|
|
128
|
+
:title="scope.row.propValue"
|
|
129
|
+
clearable
|
|
130
|
+
value-format="yyyy-MM-dd HH:mm:ss"
|
|
131
|
+
type="datetime"
|
|
132
|
+
@change="changePropValue(scope.$index)"
|
|
133
|
+
/>
|
|
134
|
+
<el-input v-if="scope.row.dataType !== 'TIME' && scope.row.dataType !== 'DATE' && scope.row.propValueType === 'input'" v-model.trim="scope.row.propValue" :title="scope.row.propValue" clearable size="small" @change="changePropValue(scope.$index)" />
|
|
135
|
+
<el-input v-if="scope.row.propValueType === 'request'" v-model.trim="scope.row.propValue" :title="scope.row.propValue" clearable size="small" @change="changePropValue(scope.$index)" />
|
|
136
|
+
<el-select v-if="scope.row.propValueType === 'subObj'" v-model="scope.row.propValue" :title="scope.row.propValue" :filter-method="searchField" size="small" clearable filterable @change="changePropValue(scope.$index)">
|
|
137
|
+
<el-option
|
|
138
|
+
v-for="item in attributeArr"
|
|
139
|
+
:key="'${subObj.' +item.value + '}'"
|
|
140
|
+
:label="item.label"
|
|
141
|
+
:value="'${subObj.' +item.value + '}'"
|
|
142
|
+
/>
|
|
143
|
+
</el-select>
|
|
144
|
+
<el-select v-if="scope.row.propValueType === 'obj'" v-model="scope.row.propValue" :title="scope.row.propValue" size="small" clearable filterable @change="changePropValue(scope.$index)">
|
|
145
|
+
<el-option
|
|
146
|
+
v-for="item in parentAttributeArr"
|
|
147
|
+
:key="'${obj.' +item.value + '}'"
|
|
148
|
+
:label="item.label"
|
|
149
|
+
:value="'${obj.' +item.value + '}'"
|
|
150
|
+
/>
|
|
151
|
+
</el-select>
|
|
152
|
+
<el-select v-if="scope.row.propValueType === 'custom'" v-model="scope.row.propValue" :title="scope.row.propValue" size="small" clearable filterable @change="changePropValue(scope.$index)">
|
|
153
|
+
<el-option
|
|
154
|
+
v-for="key in propSettingKeyList"
|
|
155
|
+
:key="'${custom.' + key + '}'"
|
|
156
|
+
:label="key"
|
|
157
|
+
:value="'${custom.' + key + '}'"
|
|
158
|
+
/>
|
|
159
|
+
</el-select>
|
|
160
|
+
</template>
|
|
161
|
+
</el-table-column>
|
|
162
|
+
<el-table-column prop="rightBracket" label=")" width="90" @focus="selectRow(scope.row)">
|
|
163
|
+
<template slot-scope="scope">
|
|
164
|
+
<el-select v-model="scope.row.rightBracket" size="small" clearable>
|
|
165
|
+
<el-option label="" value="" />
|
|
166
|
+
<el-option label=")" value=")" />
|
|
167
|
+
<el-option label="))" value="))" />
|
|
168
|
+
<el-option label=")))" value=")))" />
|
|
169
|
+
</el-select>
|
|
170
|
+
</template>
|
|
171
|
+
</el-table-column>
|
|
172
|
+
<el-table-column :label="$t('workflowEditorPublicModel.andOr')" prop="logicOperator" width="110">
|
|
173
|
+
<template slot-scope="scope">
|
|
174
|
+
<el-select v-model="scope.row.logicOperator" size="small" clearable @focus="selectRow(scope.row)">
|
|
175
|
+
<el-option :label="$t('workflowEditor.process.perhaps')" value="condition.operator.or" />
|
|
176
|
+
<el-option :label="$t('workflowEditor.process.also')" value="condition.operator.and" />
|
|
177
|
+
</el-select>
|
|
178
|
+
</template>
|
|
179
|
+
</el-table-column>
|
|
180
|
+
</el-table>
|
|
181
|
+
</div>
|
|
182
|
+
</el-card>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
</el-dialog>
|
|
186
|
+
</template>
|
|
187
|
+
<script>
|
|
188
|
+
|
|
189
|
+
// import modulePageService from '@/subsystems/mms/api/module-page'
|
|
190
|
+
import componentsConfigUtil from './componentsConfigUtil'
|
|
191
|
+
import AdditionalCondition from '../common/additional-condition'
|
|
192
|
+
import CommonUserCondition from '../common/common-user-condition'
|
|
193
|
+
import { mapGetters } from 'vuex'
|
|
194
|
+
|
|
195
|
+
export default {
|
|
196
|
+
components: {
|
|
197
|
+
AdditionalCondition,
|
|
198
|
+
CommonUserCondition
|
|
199
|
+
},
|
|
200
|
+
props: {
|
|
201
|
+
conditionList: {
|
|
202
|
+
type: [Array, String],
|
|
203
|
+
default: null
|
|
204
|
+
},
|
|
205
|
+
userCondition: {
|
|
206
|
+
type: String,
|
|
207
|
+
default: null
|
|
208
|
+
},
|
|
209
|
+
parentCondition: {
|
|
210
|
+
type: String,
|
|
211
|
+
default: null
|
|
212
|
+
},
|
|
213
|
+
attributeMap: {
|
|
214
|
+
type: Object,
|
|
215
|
+
default: null
|
|
216
|
+
},
|
|
217
|
+
isAdd: {
|
|
218
|
+
type: Boolean,
|
|
219
|
+
default: false
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
data() {
|
|
223
|
+
let myUserCondition
|
|
224
|
+
if (this.userCondition && this.userCondition !== '') {
|
|
225
|
+
myUserCondition = this.userCondition
|
|
226
|
+
}
|
|
227
|
+
let myParentCondition
|
|
228
|
+
if (this.parentCondition && this.parentCondition !== '') {
|
|
229
|
+
myParentCondition = this.parentCondition
|
|
230
|
+
}
|
|
231
|
+
return {
|
|
232
|
+
myUserCondition,
|
|
233
|
+
myParentCondition,
|
|
234
|
+
tableData: null,
|
|
235
|
+
attributeArr: [],
|
|
236
|
+
fieldMap: {},
|
|
237
|
+
fieldNameMap: {},
|
|
238
|
+
queryList: [],
|
|
239
|
+
operationArr: [],
|
|
240
|
+
parentAttributeArr: []
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
created() {
|
|
244
|
+
this.getAttributeArr()
|
|
245
|
+
// if (this.tableData === null || this.tableData === undefined) {
|
|
246
|
+
// this.add()
|
|
247
|
+
// }
|
|
248
|
+
},
|
|
249
|
+
computed: {
|
|
250
|
+
...mapGetters('wfEditor', [
|
|
251
|
+
'propSettingKeyList'
|
|
252
|
+
])
|
|
253
|
+
},
|
|
254
|
+
mounted() {
|
|
255
|
+
if (this.conditionList) {
|
|
256
|
+
if (typeof (this.conditionList) === 'object') {
|
|
257
|
+
this.tableData = this.conditionList
|
|
258
|
+
} else {
|
|
259
|
+
this.tableData = this.xmlToData(this.conditionList)
|
|
260
|
+
}
|
|
261
|
+
this.getOperatorsArr(this.tableData)
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
methods: {
|
|
265
|
+
...componentsConfigUtil,
|
|
266
|
+
// 添加
|
|
267
|
+
add() {
|
|
268
|
+
if (!this.tableData) {
|
|
269
|
+
this.tableData = []
|
|
270
|
+
}
|
|
271
|
+
this.tableData.push(
|
|
272
|
+
{
|
|
273
|
+
leftBracket: '',
|
|
274
|
+
propName: '',
|
|
275
|
+
operator: '',
|
|
276
|
+
propValue: '',
|
|
277
|
+
rightBracket: '',
|
|
278
|
+
logicOperator: 'condition.operator.or',
|
|
279
|
+
dataType: '',
|
|
280
|
+
propDbName: ''
|
|
281
|
+
}
|
|
282
|
+
)
|
|
283
|
+
this.operationArr.push([])
|
|
284
|
+
},
|
|
285
|
+
// 删除
|
|
286
|
+
remove() {
|
|
287
|
+
if (this.currentRow === null) {
|
|
288
|
+
this.$alert(this.$t('workflowEditorMessage.pleaseSelectARow'))
|
|
289
|
+
return
|
|
290
|
+
}
|
|
291
|
+
let index = this.getRowIndex(this.currentRow)
|
|
292
|
+
this.tableData.splice(index, 1)
|
|
293
|
+
if (this.tableData.length > 0) {
|
|
294
|
+
index = (index <= (this.tableData.length - 1) ? index : (this.tableData.length - 1))
|
|
295
|
+
this.$refs.table.setCurrentRow(this.tableData[index])
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
// 改变选择的属性
|
|
299
|
+
changeFieldName(index) {
|
|
300
|
+
// const selectData = this.$refs.table.store.states.data
|
|
301
|
+
const propName = this.currentRow.propName
|
|
302
|
+
const item = this.fieldMap[propName]
|
|
303
|
+
if (item) {
|
|
304
|
+
this.tableData[index].dataType = item.type
|
|
305
|
+
this.tableData[index].propDbName = item.propDbName
|
|
306
|
+
}
|
|
307
|
+
this.operationArr[index] = this.getOperators(item)
|
|
308
|
+
},
|
|
309
|
+
// 根据code获取属性
|
|
310
|
+
getAttributeArr() {
|
|
311
|
+
if (this.attributeMap && this.attributeMap.attributeArr) {
|
|
312
|
+
this.attributeArr = this.attributeMap.attributeArr
|
|
313
|
+
this.queryList = this.attributeMap.attributeArr
|
|
314
|
+
this.fieldMap = this.attributeMap.fieldMap
|
|
315
|
+
this.fieldNameMap = this.attributeMap.fieldNameMap
|
|
316
|
+
this.parentAttributeArr = this.attributeMap.parentAttributeArr
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
// 选择行
|
|
320
|
+
selectRow(row) {
|
|
321
|
+
this.attributeArr = this.queryList
|
|
322
|
+
this.$refs.table.setCurrentRow(row)
|
|
323
|
+
},
|
|
324
|
+
handleCurrentChange(val) {
|
|
325
|
+
this.currentRow = val
|
|
326
|
+
},
|
|
327
|
+
// 属性搜索方法
|
|
328
|
+
searchField(query) {
|
|
329
|
+
if (query) {
|
|
330
|
+
this.attributeArr = this.queryList.filter(item => {
|
|
331
|
+
return item.label.indexOf(query) > -1 || item.value.indexOf(query) > -1
|
|
332
|
+
})
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
getRowIndex(row) {
|
|
336
|
+
for (let i = 0; i < this.tableData.length; i++) {
|
|
337
|
+
if (this.tableData[i].propName === row.propName) {
|
|
338
|
+
return i
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
return -1
|
|
342
|
+
},
|
|
343
|
+
// 保存关闭方法
|
|
344
|
+
savebuttonSetting() {
|
|
345
|
+
if (this.tableData && this.tableData.length > 0) {
|
|
346
|
+
for (var i = 0; i < this.tableData.length; i++) {
|
|
347
|
+
const item = this.tableData[i]
|
|
348
|
+
if (!item.propName) {
|
|
349
|
+
this.$alert(this.$t('workflowEditorMessage.blankFieldNameOrValue'))
|
|
350
|
+
return
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
const param = {
|
|
355
|
+
userCondition: this.myUserCondition,
|
|
356
|
+
parentCondition: this.myParentCondition,
|
|
357
|
+
condition: this.tableData
|
|
358
|
+
}
|
|
359
|
+
this.$emit('close', param)
|
|
360
|
+
},
|
|
361
|
+
closeButtonSetting() {
|
|
362
|
+
this.$emit('close', null)
|
|
363
|
+
},
|
|
364
|
+
changePropValue(index) {
|
|
365
|
+
if (this.tableData[index] && this.tableData[index].propValue) {
|
|
366
|
+
if (this.tableData[index].propValueType) {
|
|
367
|
+
if (this.tableData[index].propValueType === 'request') {
|
|
368
|
+
if (this.tableData[index].propValue.indexOf('${request.') === -1) {
|
|
369
|
+
this.tableData[index].propValue = '${request.' + this.tableData[index].propValue
|
|
370
|
+
}
|
|
371
|
+
if (this.tableData[index].propValue.indexOf('}') === -1) {
|
|
372
|
+
this.tableData[index].propValue = this.tableData[index].propValue + '}'
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (this.tableData[index].propValueType === 'input') {
|
|
376
|
+
if (this.tableData[index].propValue.indexOf('${input.') === -1) {
|
|
377
|
+
this.tableData[index].propValue = '${input.' + this.tableData[index].propValue
|
|
378
|
+
}
|
|
379
|
+
if (this.tableData[index].propValue.indexOf('}') === -1) {
|
|
380
|
+
this.tableData[index].propValue = this.tableData[index].propValue + '}'
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
} else {
|
|
385
|
+
this.$set(this.tableData[index], 'propValueType', null)
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
</script>
|