cloud-web-corejs 1.0.163 → 1.0.164
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/package.json +2 -1
- package/src/components/vb-tabs/x-tabs.vue +30 -13
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +419 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +971 -0
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +71 -50
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +799 -0
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin - /345/211/257/346/234/254.js" +1639 -0
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +102 -73
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +41 -27
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +13 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +9 -2
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +133 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +962 -0
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +7 -0
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +44 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +19 -11
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +11 -7
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +11 -8
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +106 -76
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +13 -263
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +47 -81
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +32 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +37 -16
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +42 -18
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +57 -34
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +84 -53
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +35 -44
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +68 -3
- package/src/components/xform/form-render/container-item/containerItemMixin.js +2 -2
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/container-item/tab-item.vue +64 -32
- package/src/components/xform/form-render/index.vue +69 -23
- package/src/components/xform/form-render/indexMixin.js +18 -17
- package/src/components/xform/lang/zh-CN.js +8 -2
- package/src/components/xform/utils/formula-util.js +306 -5
- package/src/components/xform/utils/util.js +1 -1
- package/src/components/xform/utils/vue2js-generator.js +2 -2
- package/src/utils/request.js +1 -1
- package/src/utils/vab.js +1 -1
- package/src/views/user/form/vform/render.vue +54 -36
- package/src/views/user/form/view/list.vue +103 -10
- package/src/views/user/menu/list.vue +24 -1
- package/src/views/user/role/authConfig.vue +89 -0
- package/src/views/user/role/dialog.vue +70 -48
- package/src/views/user/role/edit.vue +114 -4
package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue
CHANGED
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
<el-form-item label-width="0">
|
|
4
4
|
<el-divider class="custom-divider-margin-top">项目标签设置</el-divider>
|
|
5
5
|
</el-form-item>
|
|
6
|
+
<el-form-item label="标签长度">
|
|
7
|
+
<el-input v-model="optionModel.tagWidth" clearable></el-input>
|
|
8
|
+
</el-form-item>
|
|
6
9
|
<el-form-item label="弹框表单编码">
|
|
7
10
|
<el-input v-model="optionModel.tagFormCode" clearable></el-input>
|
|
8
11
|
</el-form-item>
|
|
9
12
|
<el-form-item label="弹框查询参数">
|
|
10
|
-
<a
|
|
11
|
-
|
|
13
|
+
<a
|
|
14
|
+
href="javascript:void(0);"
|
|
15
|
+
class="a-link link-oneLind"
|
|
16
|
+
@click="editEventHandler('tagFormParam', ['dataId', 'formCode'])"
|
|
17
|
+
>
|
|
12
18
|
<span>{{ optionModel.tagFormParam }}</span>
|
|
13
19
|
<i class="el-icon-edit"></i>
|
|
14
20
|
</a>
|
|
@@ -27,24 +33,29 @@
|
|
|
27
33
|
</el-form-item>
|
|
28
34
|
|
|
29
35
|
<el-form-item label="明细字段回填">
|
|
30
|
-
<a href="javascript:void(0);" class="a-link link-oneLind"
|
|
31
|
-
@click="openDialog">
|
|
36
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
|
|
32
37
|
<span>{{ optionModel.tagFillConfig.length ? "已维护" : "" }}</span>
|
|
33
38
|
<i class="el-icon-edit"></i>
|
|
34
39
|
</a>
|
|
35
40
|
</el-form-item>
|
|
36
41
|
<el-form-item label="确认回调">
|
|
37
42
|
<!-- <el-input v-model="optionModel.tagConfirmCallback" clearable></el-input>-->
|
|
38
|
-
<a
|
|
39
|
-
|
|
43
|
+
<a
|
|
44
|
+
href="javascript:void(0);"
|
|
45
|
+
class="a-link link-oneLind"
|
|
46
|
+
@click="editEventHandler('tagConfirmCallback', ['dataId', 'formCode', 'rows'])"
|
|
47
|
+
>
|
|
40
48
|
<span>{{ optionModel.tagConfirmCallback }}</span>
|
|
41
49
|
<i class="el-icon-edit"></i>
|
|
42
50
|
</a>
|
|
43
51
|
</el-form-item>
|
|
44
52
|
<el-form-item label="删除回调">
|
|
45
53
|
<!-- <el-input v-model="optionModel.tagDeleteCallback" clearable></el-input>-->
|
|
46
|
-
<a
|
|
47
|
-
|
|
54
|
+
<a
|
|
55
|
+
href="javascript:void(0);"
|
|
56
|
+
class="a-link link-oneLind"
|
|
57
|
+
@click="editEventHandler('tagDeleteCallback', ['dataId', 'formCode'])"
|
|
58
|
+
>
|
|
48
59
|
<span>{{ optionModel.tagDeleteCallback }}</span>
|
|
49
60
|
<i class="el-icon-edit"></i>
|
|
50
61
|
</a>
|
|
@@ -103,22 +114,22 @@
|
|
|
103
114
|
placement="top"
|
|
104
115
|
>
|
|
105
116
|
<el-button
|
|
106
|
-
size="mini"
|
|
117
|
+
size="mini"
|
|
118
|
+
type=""
|
|
119
|
+
circle=""
|
|
107
120
|
icon="el-icon-plus"
|
|
108
121
|
@click="tableData.push({})"
|
|
109
122
|
/>
|
|
110
123
|
</el-tooltip>
|
|
111
124
|
</template>
|
|
112
125
|
<template #default="{ row, $index }">
|
|
113
|
-
<el-tooltip
|
|
114
|
-
effect="dark"
|
|
115
|
-
content="删除"
|
|
116
|
-
placement="top"
|
|
117
|
-
>
|
|
126
|
+
<el-tooltip effect="dark" content="删除" placement="top">
|
|
118
127
|
<el-button
|
|
119
|
-
size="mini"
|
|
128
|
+
size="mini"
|
|
129
|
+
type=""
|
|
130
|
+
circle=""
|
|
120
131
|
icon="el-icon-delete"
|
|
121
|
-
@click="tableData.splice($index,1)"
|
|
132
|
+
@click="tableData.splice($index, 1)"
|
|
122
133
|
/>
|
|
123
134
|
</el-tooltip>
|
|
124
135
|
</template>
|
|
@@ -126,11 +137,16 @@
|
|
|
126
137
|
</el-table>
|
|
127
138
|
</div>
|
|
128
139
|
<div class="dialog-footer" slot="footer">
|
|
129
|
-
<el-button @click="showDialog=false" class="button-sty" icon="el-icon-close">
|
|
130
|
-
{{ i18nt(
|
|
140
|
+
<el-button @click="showDialog = false" class="button-sty" icon="el-icon-close">
|
|
141
|
+
{{ i18nt("designer.hint.cancel") }}
|
|
131
142
|
</el-button>
|
|
132
|
-
<el-button
|
|
133
|
-
|
|
143
|
+
<el-button
|
|
144
|
+
type="primary"
|
|
145
|
+
@click="confirmDialog"
|
|
146
|
+
class="button-sty"
|
|
147
|
+
icon="el-icon-check"
|
|
148
|
+
>
|
|
149
|
+
{{ i18nt("designer.hint.confirm") }}
|
|
134
150
|
</el-button>
|
|
135
151
|
</div>
|
|
136
152
|
</el-dialog>
|
|
@@ -150,7 +166,7 @@
|
|
|
150
166
|
v-dialog-drag
|
|
151
167
|
:fullscreen="true"
|
|
152
168
|
>
|
|
153
|
-
<div class="cont" style="padding-bottom: 8px
|
|
169
|
+
<div class="cont" style="padding-bottom: 8px">
|
|
154
170
|
<el-table
|
|
155
171
|
ref="singleTable"
|
|
156
172
|
width="100%"
|
|
@@ -159,11 +175,11 @@
|
|
|
159
175
|
border=""
|
|
160
176
|
row-key="columnId"
|
|
161
177
|
stripe=""
|
|
162
|
-
style="margin-bottom: 0px
|
|
178
|
+
style="margin-bottom: 0px"
|
|
163
179
|
>
|
|
164
180
|
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
165
181
|
<el-table-column :label="i18nt('服务')" width="150">
|
|
166
|
-
<template slot-scope="{row}">
|
|
182
|
+
<template slot-scope="{ row }">
|
|
167
183
|
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
|
168
184
|
<el-option :value="1" label="正式"></el-option>
|
|
169
185
|
<el-option :value="2" label="UAT"></el-option>
|
|
@@ -173,27 +189,31 @@
|
|
|
173
189
|
</template>
|
|
174
190
|
</el-table-column>
|
|
175
191
|
<el-table-column :label="i18nt('自定义服务')" width="150">
|
|
176
|
-
<template slot-scope="{row}">
|
|
177
|
-
<el-input
|
|
192
|
+
<template slot-scope="{ row }">
|
|
193
|
+
<el-input
|
|
194
|
+
v-model="row.serveName"
|
|
195
|
+
clearable
|
|
196
|
+
:disabled="row.serveType !== 4"
|
|
197
|
+
></el-input>
|
|
178
198
|
</template>
|
|
179
199
|
</el-table-column>
|
|
180
200
|
<el-table-column :label="i18nt('组织编码')" width="250">
|
|
181
|
-
<template slot-scope="{row
|
|
201
|
+
<template slot-scope="{ row, $index }">
|
|
182
202
|
<el-input v-model="row.companyCodes" clearable></el-input>
|
|
183
203
|
</template>
|
|
184
204
|
</el-table-column>
|
|
185
205
|
<el-table-column :label="i18nt('流程模板编码')" width="150">
|
|
186
|
-
<template slot-scope="{row}">
|
|
206
|
+
<template slot-scope="{ row }">
|
|
187
207
|
<el-input v-model="row.modelKey" clearable></el-input>
|
|
188
208
|
</template>
|
|
189
209
|
</el-table-column>
|
|
190
210
|
<el-table-column :label="i18nt('节点步骤')" width="250">
|
|
191
|
-
<template slot-scope="{row}">
|
|
211
|
+
<template slot-scope="{ row }">
|
|
192
212
|
<el-input v-model="row.taskSteps" clearable></el-input>
|
|
193
213
|
</template>
|
|
194
214
|
</el-table-column>
|
|
195
215
|
<el-table-column :label="i18nt('设置')" width="150">
|
|
196
|
-
<template slot-scope="{row}">
|
|
216
|
+
<template slot-scope="{ row }">
|
|
197
217
|
<el-select v-model="row.type" clearable>
|
|
198
218
|
<el-option :value="1" label="可编辑"></el-option>
|
|
199
219
|
<el-option :value="2" label="仅显示"></el-option>
|
|
@@ -219,11 +239,21 @@
|
|
|
219
239
|
</el-checkbox-group>
|
|
220
240
|
</template>
|
|
221
241
|
</el-table-column>-->
|
|
222
|
-
<el-table-column
|
|
242
|
+
<el-table-column
|
|
243
|
+
:label="i18nt('designer.setting.actionColumn')"
|
|
244
|
+
width="100"
|
|
245
|
+
align="center"
|
|
246
|
+
>
|
|
223
247
|
<template #header>
|
|
224
|
-
<span>{{ i18nt(
|
|
225
|
-
<el-button
|
|
226
|
-
|
|
248
|
+
<span>{{ i18nt("designer.setting.actionColumn") }}</span>
|
|
249
|
+
<el-button
|
|
250
|
+
:title="i18nt('designer.setting.addTableColumn')"
|
|
251
|
+
size="mini"
|
|
252
|
+
type=""
|
|
253
|
+
circle=""
|
|
254
|
+
icon="el-icon-plus"
|
|
255
|
+
@click="addItem"
|
|
256
|
+
></el-button>
|
|
227
257
|
</template>
|
|
228
258
|
<template slot-scope="scope">
|
|
229
259
|
<el-button
|
|
@@ -232,19 +262,23 @@
|
|
|
232
262
|
type=""
|
|
233
263
|
circle=""
|
|
234
264
|
icon="el-icon-minus"
|
|
235
|
-
@click="tableData.splice(scope.$index,1)"
|
|
265
|
+
@click="tableData.splice(scope.$index, 1)"
|
|
236
266
|
></el-button>
|
|
237
267
|
</template>
|
|
238
268
|
</el-table-column>
|
|
239
|
-
|
|
240
269
|
</el-table>
|
|
241
270
|
</div>
|
|
242
271
|
<div class="dialog-footer" slot="footer">
|
|
243
272
|
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
244
|
-
{{ i18nt(
|
|
273
|
+
{{ i18nt("designer.hint.cancel") }}
|
|
245
274
|
</el-button>
|
|
246
|
-
<el-button
|
|
247
|
-
|
|
275
|
+
<el-button
|
|
276
|
+
type="primary"
|
|
277
|
+
@click="colSubmit"
|
|
278
|
+
class="button-sty"
|
|
279
|
+
icon="el-icon-check"
|
|
280
|
+
>
|
|
281
|
+
{{ i18nt("designer.hint.confirm") }}
|
|
248
282
|
</el-button>
|
|
249
283
|
</div>
|
|
250
284
|
</el-dialog>
|
|
@@ -252,9 +286,8 @@
|
|
|
252
286
|
</template>
|
|
253
287
|
|
|
254
288
|
<script>
|
|
255
|
-
import i18n from "../../../../../components/xform/utils/i18n"
|
|
256
|
-
import eventMixin
|
|
257
|
-
from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin"
|
|
289
|
+
import i18n from "../../../../../components/xform/utils/i18n";
|
|
290
|
+
import eventMixin from "../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
258
291
|
|
|
259
292
|
export default {
|
|
260
293
|
name: "project-tag-editor",
|
|
@@ -262,21 +295,21 @@ export default {
|
|
|
262
295
|
props: {
|
|
263
296
|
designer: Object,
|
|
264
297
|
selectedWidget: Object,
|
|
265
|
-
optionModel: Object
|
|
298
|
+
optionModel: Object,
|
|
266
299
|
},
|
|
267
300
|
data() {
|
|
268
301
|
return {
|
|
269
|
-
formScriptEnabledTypes: [
|
|
302
|
+
formScriptEnabledTypes: ["select", "checkbox", "radio", "census"],
|
|
270
303
|
showDialog: false,
|
|
271
304
|
tableData: [],
|
|
272
305
|
|
|
273
306
|
dialogVisible: false,
|
|
274
307
|
wfConfigData: [],
|
|
275
|
-
}
|
|
308
|
+
};
|
|
276
309
|
},
|
|
277
310
|
methods: {
|
|
278
311
|
getIsShow() {
|
|
279
|
-
return this.selectedWidget.type !==
|
|
312
|
+
return this.selectedWidget.type !== "data-table";
|
|
280
313
|
},
|
|
281
314
|
openDialog() {
|
|
282
315
|
this.tableData = this.$baseLodash.cloneDeep(this.optionModel.tagFillConfig);
|
|
@@ -292,7 +325,7 @@ export default {
|
|
|
292
325
|
let objTypeCode = reportTemplate.objTypeCode;
|
|
293
326
|
let wfConfigData = this.optionModel.wfConfigData || [];
|
|
294
327
|
this.dialogVisible = true;
|
|
295
|
-
this.tableData = this.$baseLodash.cloneDeep(wfConfigData)
|
|
328
|
+
this.tableData = this.$baseLodash.cloneDeep(wfConfigData);
|
|
296
329
|
},
|
|
297
330
|
addItem() {
|
|
298
331
|
let newItem = {
|
|
@@ -301,18 +334,16 @@ export default {
|
|
|
301
334
|
serveName: null,
|
|
302
335
|
modelKey: null,
|
|
303
336
|
taskSteps: null,
|
|
304
|
-
companyCodes: null
|
|
305
|
-
}
|
|
337
|
+
companyCodes: null,
|
|
338
|
+
};
|
|
306
339
|
this.tableData.push(newItem);
|
|
307
340
|
},
|
|
308
341
|
colSubmit() {
|
|
309
342
|
this.dialogVisible = !1;
|
|
310
343
|
this.optionModel.wfConfigData = this.tableData;
|
|
311
344
|
},
|
|
312
|
-
}
|
|
313
|
-
}
|
|
345
|
+
},
|
|
346
|
+
};
|
|
314
347
|
</script>
|
|
315
348
|
|
|
316
|
-
<style scoped>
|
|
317
|
-
|
|
318
|
-
</style>
|
|
349
|
+
<style scoped></style>
|
|
@@ -7,21 +7,12 @@
|
|
|
7
7
|
<el-switch v-model="optionModel.hiddenByWf" @change="changeHiddenByWf"></el-switch>
|
|
8
8
|
</el-form-item>-->
|
|
9
9
|
<el-form-item :label="i18nt('特定流程节点设置')">
|
|
10
|
-
<el-switch
|
|
11
|
-
v-model="optionModel.wfEdit"
|
|
12
|
-
@change="changeWfEdit"
|
|
13
|
-
></el-switch>
|
|
10
|
+
<el-switch v-model="optionModel.wfEdit" @change="changeWfEdit"></el-switch>
|
|
14
11
|
</el-form-item>
|
|
15
12
|
<el-form-item :label="i18nt('流程节点信息')">
|
|
16
|
-
<a
|
|
17
|
-
href="javascript:void(0);"
|
|
18
|
-
class="a-link link-oneLind"
|
|
19
|
-
@click="openDialog"
|
|
20
|
-
>
|
|
13
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
|
|
21
14
|
<span>{{
|
|
22
|
-
optionModel.wfConfigData && optionModel.wfConfigData.length
|
|
23
|
-
? "已维护"
|
|
24
|
-
: ""
|
|
15
|
+
optionModel.wfConfigData && optionModel.wfConfigData.length ? "已维护" : ""
|
|
25
16
|
}}</span>
|
|
26
17
|
<i class="el-icon-edit"></i>
|
|
27
18
|
</a>
|
|
@@ -30,14 +21,9 @@
|
|
|
30
21
|
<el-switch v-model="optionModel.wfModifyDataEnabled"></el-switch>
|
|
31
22
|
</el-form-item>
|
|
32
23
|
<el-form-item :label="i18nt('更改业务数据信息')">
|
|
33
|
-
<a
|
|
34
|
-
href="javascript:void(0);"
|
|
35
|
-
class="a-link link-oneLind"
|
|
36
|
-
@click="openDialog2"
|
|
37
|
-
>
|
|
24
|
+
<a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog2">
|
|
38
25
|
<span>{{
|
|
39
|
-
optionModel.wfModifyDataConfig &&
|
|
40
|
-
optionModel.wfModifyDataConfig.length
|
|
26
|
+
optionModel.wfModifyDataConfig && optionModel.wfModifyDataConfig.length
|
|
41
27
|
? "已维护"
|
|
42
28
|
: ""
|
|
43
29
|
}}</span>
|
|
@@ -71,11 +57,7 @@
|
|
|
71
57
|
stripe=""
|
|
72
58
|
style="margin-bottom: 0px"
|
|
73
59
|
>
|
|
74
|
-
<el-table-column
|
|
75
|
-
type="index"
|
|
76
|
-
width="35"
|
|
77
|
-
fixed="left"
|
|
78
|
-
></el-table-column>
|
|
60
|
+
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
79
61
|
<el-table-column :label="i18nt('组织编码')" width="250">
|
|
80
62
|
<template slot-scope="{ row, $index }">
|
|
81
63
|
<el-input
|
|
@@ -109,10 +91,7 @@
|
|
|
109
91
|
<base-input-number v-model="row.modelOrders" clearable></base-input-number>
|
|
110
92
|
</template>
|
|
111
93
|
</el-table-column>
|
|
112
|
-
<el-table-column
|
|
113
|
-
:label="i18nt('节点步骤(多个值用“,”隔开)')"
|
|
114
|
-
width="250"
|
|
115
|
-
>
|
|
94
|
+
<el-table-column :label="i18nt('节点步骤(多个值用“,”隔开)')" width="250">
|
|
116
95
|
<template slot-scope="{ row }">
|
|
117
96
|
<el-input v-model="row.taskSteps" clearable></el-input>
|
|
118
97
|
</template>
|
|
@@ -156,11 +135,7 @@
|
|
|
156
135
|
</el-table>
|
|
157
136
|
</div>
|
|
158
137
|
<div class="dialog-footer" slot="footer">
|
|
159
|
-
<el-button
|
|
160
|
-
@click="dialogVisible = false"
|
|
161
|
-
class="button-sty"
|
|
162
|
-
icon="el-icon-close"
|
|
163
|
-
>
|
|
138
|
+
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
164
139
|
{{ i18nt("designer.hint.cancel") }}
|
|
165
140
|
</el-button>
|
|
166
141
|
<el-button
|
|
@@ -199,17 +174,14 @@
|
|
|
199
174
|
stripe=""
|
|
200
175
|
style="margin-bottom: 0px"
|
|
201
176
|
>
|
|
202
|
-
<el-table-column
|
|
203
|
-
type="index"
|
|
204
|
-
width="35"
|
|
205
|
-
fixed="left"
|
|
206
|
-
></el-table-column>
|
|
177
|
+
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
207
178
|
<el-table-column :label="i18nt('流程动作')" width="150">
|
|
208
179
|
<template slot-scope="{ row }">
|
|
209
|
-
<el-select v-model="row.action">
|
|
180
|
+
<el-select v-model="row.action" @change="row.toValue = null">
|
|
210
181
|
<el-option value="start" label="流程启动"></el-option>
|
|
211
182
|
<el-option value="interrupt" label="流程中断"></el-option>
|
|
212
183
|
<el-option value="end" label="流程完成"></el-option>
|
|
184
|
+
<el-option value="specificAction" label="流程特定"></el-option>
|
|
213
185
|
</el-select>
|
|
214
186
|
</template>
|
|
215
187
|
</el-table-column>
|
|
@@ -224,7 +196,26 @@
|
|
|
224
196
|
</el-table-column>-->
|
|
225
197
|
<el-table-column :label="i18nt('设置的值')" width="650">
|
|
226
198
|
<template slot-scope="{ row }">
|
|
227
|
-
<el-
|
|
199
|
+
<el-select
|
|
200
|
+
v-model="row.toValue"
|
|
201
|
+
clearable
|
|
202
|
+
style="width: 100%"
|
|
203
|
+
v-if="row.action === 'specificAction'"
|
|
204
|
+
>
|
|
205
|
+
<el-option value="wfCreateDate" label="流程创建(启动)时间"></el-option>
|
|
206
|
+
<el-option value="wfModifyDate" label="流程更新时间"></el-option>
|
|
207
|
+
<el-option value="wfInterruptDate" label="流程中断时间"></el-option>
|
|
208
|
+
<el-option value="wfEndDate" label="流程完成时间"></el-option>
|
|
209
|
+
<el-option value="wfStarterName" label="启动人姓名"></el-option>
|
|
210
|
+
<el-option value="wfName" label="流程模板名称"></el-option>
|
|
211
|
+
<el-option value="wfUuid" label="流程实例uuid"></el-option>
|
|
212
|
+
<el-option value="objTypeCode" label="流程单据类型编码"></el-option>
|
|
213
|
+
<el-option value="wfCandidateNames" label="当前审批人名"></el-option>
|
|
214
|
+
<el-option value="wfTaskName" label="当前审批节点名"></el-option>
|
|
215
|
+
<el-option value="wfStat" label="流程状态"></el-option>
|
|
216
|
+
<el-option value="wfSubjectName" label="流程主题名称"></el-option>
|
|
217
|
+
</el-select>
|
|
218
|
+
<el-input v-model="row.toValue" clearable v-else></el-input>
|
|
228
219
|
<!-- <el-input v-model="row.toValue" clearable v-if="row.valueType==1"></el-input>
|
|
229
220
|
<base-input-number v-model="row.toValue" clearable v-else-if="row.valueType==2"></base-input-number>
|
|
230
221
|
<el-radio-group v-model="row.toValue" v-else-if="row.valueType==3">
|
|
@@ -403,20 +394,20 @@ export default {
|
|
|
403
394
|
type: "error",
|
|
404
395
|
message: "服务名称不能为空",
|
|
405
396
|
});
|
|
406
|
-
return
|
|
397
|
+
return;
|
|
407
398
|
}
|
|
408
399
|
if (!item.companyCodes) {
|
|
409
400
|
this.$message({
|
|
410
401
|
type: "error",
|
|
411
402
|
message: "组织编码不能为空",
|
|
412
403
|
});
|
|
413
|
-
return
|
|
404
|
+
return;
|
|
414
405
|
}
|
|
415
|
-
let modelOrders = item.modelOrders??"";
|
|
406
|
+
let modelOrders = item.modelOrders ?? "";
|
|
416
407
|
|
|
417
408
|
let serveName = item.serveName;
|
|
418
409
|
let companyCodes = item.companyCodes;
|
|
419
|
-
let key = serveName + "_" + companyCodes+ "_"+modelOrders;
|
|
410
|
+
let key = serveName + "_" + companyCodes + "_" + modelOrders;
|
|
420
411
|
if (!map[key]) {
|
|
421
412
|
map[key] = true;
|
|
422
413
|
} else {
|
|
@@ -117,6 +117,7 @@ const COMMON_PROPERTIES = {
|
|
|
117
117
|
'dropdownItemFlag': 'dropdown-item-editor',
|
|
118
118
|
|
|
119
119
|
'oplogFlag': 'oplogFlag-editor',
|
|
120
|
+
'ganttConfig': 'gantt-editor',
|
|
120
121
|
|
|
121
122
|
//弹框
|
|
122
123
|
title: "title-editor",
|
|
@@ -165,6 +166,7 @@ const COMMON_PROPERTIES = {
|
|
|
165
166
|
"autoValueEnabled": "autoValueEnabled-editor",
|
|
166
167
|
// "commonAttributeEnabled": "commonAttributeEnabled-editor"
|
|
167
168
|
"colorClass": "colorClass-editor",
|
|
169
|
+
"downloadButtonFlag": "downloadButtonFlag-editor"
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
const ADVANCED_PROPERTIES = {
|
|
@@ -2936,6 +2936,7 @@ export const advancedFields = [
|
|
|
2936
2936
|
name: "",
|
|
2937
2937
|
keyNameEnabled: !1,
|
|
2938
2938
|
keyName: "",
|
|
2939
|
+
disabled: !1,
|
|
2939
2940
|
hidden: !1,
|
|
2940
2941
|
customClass: "",
|
|
2941
2942
|
exportFileName: "导出",
|
|
@@ -2963,6 +2964,7 @@ export const advancedFields = [
|
|
|
2963
2964
|
name: "",
|
|
2964
2965
|
keyNameEnabled: !1,
|
|
2965
2966
|
keyName: "",
|
|
2967
|
+
disabled: !1,
|
|
2966
2968
|
hidden: !1,
|
|
2967
2969
|
label: "明细导出",
|
|
2968
2970
|
customClass: "",
|
|
@@ -3150,6 +3152,7 @@ export const advancedFields = [
|
|
|
3150
3152
|
...defaultWfConfig,
|
|
3151
3153
|
...defaultWidgetShowRuleConfig,
|
|
3152
3154
|
|
|
3155
|
+
// customLabelEnabled: false,
|
|
3153
3156
|
printButtonFlag:1,
|
|
3154
3157
|
printTableRef: "",
|
|
3155
3158
|
printItems: [],
|
|
@@ -3164,7 +3167,7 @@ export const advancedFields = [
|
|
|
3164
3167
|
type: "print-detail-button",
|
|
3165
3168
|
icon: "button",
|
|
3166
3169
|
commonFlag: !0,
|
|
3167
|
-
columnFlag:
|
|
3170
|
+
columnFlag: false,
|
|
3168
3171
|
formItemFlag: !1,
|
|
3169
3172
|
options: {
|
|
3170
3173
|
name: "",
|
|
@@ -3191,8 +3194,9 @@ export const advancedFields = [
|
|
|
3191
3194
|
...defaultWidgetShowRuleConfig,
|
|
3192
3195
|
|
|
3193
3196
|
printDetailButtonFlag:1,
|
|
3197
|
+
// customLabelEnabled: false,
|
|
3194
3198
|
printItems: [],
|
|
3195
|
-
printCustomCondition: "",
|
|
3199
|
+
printCustomCondition: "return {\n id:[dataId]\n}",
|
|
3196
3200
|
|
|
3197
3201
|
showRuleFlag: 1,
|
|
3198
3202
|
showRuleEnabled: 1,
|
|
@@ -3312,6 +3316,7 @@ export const advancedFields = [
|
|
|
3312
3316
|
|
|
3313
3317
|
onCreated: "",
|
|
3314
3318
|
onMounted: "",
|
|
3319
|
+
onClick: "",
|
|
3315
3320
|
...defaultWfConfig,
|
|
3316
3321
|
showRuleFlag: 1,
|
|
3317
3322
|
showRuleEnabled: 1,
|
|
@@ -3403,7 +3408,67 @@ export const advancedFields = [
|
|
|
3403
3408
|
tableData: {},
|
|
3404
3409
|
},
|
|
3405
3410
|
},
|
|
3406
|
-
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
type: "gantt",
|
|
3414
|
+
icon: "uploadbox",
|
|
3415
|
+
commonFlag: !0,
|
|
3416
|
+
formItemFlag: !1,
|
|
3417
|
+
options: {
|
|
3418
|
+
name: "",
|
|
3419
|
+
// label: "操作日志",
|
|
3420
|
+
// disabled: !1,
|
|
3421
|
+
hidden: !1,
|
|
3422
|
+
|
|
3423
|
+
...httpConfig,
|
|
3424
|
+
formScriptEnabled: true,
|
|
3425
|
+
formScriptCode: null,
|
|
3426
|
+
ganttConfig: "",
|
|
3427
|
+
|
|
3428
|
+
customClass: "",
|
|
3429
|
+
onCreated: "",
|
|
3430
|
+
onMounted: "",
|
|
3431
|
+
|
|
3432
|
+
},
|
|
3433
|
+
},
|
|
3434
|
+
|
|
3435
|
+
{
|
|
3436
|
+
type: "download-button",
|
|
3437
|
+
icon: "button",
|
|
3438
|
+
commonFlag: !0,
|
|
3439
|
+
columnFlag: true,
|
|
3440
|
+
formItemFlag: !1,
|
|
3441
|
+
options: {
|
|
3442
|
+
name: "",
|
|
3443
|
+
label: "附件下载",
|
|
3444
|
+
columnWidth: "200px",
|
|
3445
|
+
size: "",
|
|
3446
|
+
|
|
3447
|
+
// displayStyle: "block",
|
|
3448
|
+
disabled: !1,
|
|
3449
|
+
hidden: !1,
|
|
3450
|
+
buttonTypeFlag: 1,
|
|
3451
|
+
type: "",
|
|
3452
|
+
/*plain: !1,
|
|
3453
|
+
round: !1,
|
|
3454
|
+
circle: !1,
|
|
3455
|
+
icon: "el-icon-download",*/
|
|
3456
|
+
customClass: "",
|
|
3457
|
+
...httpConfig,
|
|
3458
|
+
|
|
3459
|
+
downloadButtonFlag: 1,
|
|
3460
|
+
dataTableName: null,
|
|
3461
|
+
attachmentType: null,
|
|
3462
|
+
fileName: null,
|
|
3463
|
+
|
|
3464
|
+
onCreated: "",
|
|
3465
|
+
onMounted: "",
|
|
3466
|
+
...defaultWfConfig,
|
|
3467
|
+
showRuleFlag: 1,
|
|
3468
|
+
showRuleEnabled: 1,
|
|
3469
|
+
showRules: [],
|
|
3470
|
+
},
|
|
3471
|
+
},
|
|
3407
3472
|
];
|
|
3408
3473
|
|
|
3409
3474
|
export const businessFields = [
|