cloud-web-corejs 1.0.54-dev.104 → 1.0.54-dev.106
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 +1 -1
- package/src/components/fileLibrary/filterDialog.vue +6 -1
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +18 -45
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +54 -139
- package/src/components/xform/form-render/indexMixin.js +3 -2
- package/src/views/bd/setting/form_template/mixins/list.js +521 -1
package/package.json
CHANGED
@@ -191,6 +191,11 @@ export default {
|
|
191
191
|
...this.formData,
|
192
192
|
};
|
193
193
|
},
|
194
|
+
config: {
|
195
|
+
proxyConfig: {
|
196
|
+
autoLoad: false
|
197
|
+
}
|
198
|
+
},
|
194
199
|
columns: [
|
195
200
|
{type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
|
196
201
|
{
|
@@ -278,7 +283,7 @@ export default {
|
|
278
283
|
}
|
279
284
|
}
|
280
285
|
}
|
281
|
-
]
|
286
|
+
],
|
282
287
|
};
|
283
288
|
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
284
289
|
that.vxeOption = opts;
|
@@ -156,6 +156,7 @@ export default {
|
|
156
156
|
}
|
157
157
|
|
158
158
|
this.selectMulti = this.option.multiple ?? true;
|
159
|
+
this.dataTableOption.config.checkboxConfig.showHeader = this.selectMulti;
|
159
160
|
this.getReportTemplate();
|
160
161
|
},
|
161
162
|
methods: {
|
@@ -207,6 +208,8 @@ export default {
|
|
207
208
|
let tableColumns = widgetList[0].options.tableColumns;
|
208
209
|
let column = tableColumns.find(column => !!column.prop);
|
209
210
|
this.showFormField = column.prop;
|
211
|
+
}else{
|
212
|
+
this.showFormField = showFormField
|
210
213
|
}
|
211
214
|
},
|
212
215
|
async getFormInsData() {
|
@@ -104,7 +104,7 @@
|
|
104
104
|
</a>
|
105
105
|
</template>
|
106
106
|
</el-table-column>
|
107
|
-
<el-table-column :label="i18nt('
|
107
|
+
<el-table-column :label="i18nt('下拉列')" width="70" prop="sortable">
|
108
108
|
<template slot-scope="scope">
|
109
109
|
<el-switch v-model="scope.row.treeNode"></el-switch>
|
110
110
|
</template>
|
@@ -77,20 +77,9 @@
|
|
77
77
|
<el-input v-model="row.serveName" clearable :disabled="row.serveType!==4"></el-input>
|
78
78
|
</template>
|
79
79
|
</el-table-column>
|
80
|
-
<el-table-column :label="i18nt('
|
80
|
+
<el-table-column :label="i18nt('组织编码')" width="250">
|
81
81
|
<template slot-scope="{row,$index}">
|
82
|
-
<el-input
|
83
|
-
class="search-input"
|
84
|
-
:value="getCompanyNames(row)"
|
85
|
-
clearable
|
86
|
-
@clear="
|
87
|
-
row.companyInfos = [];
|
88
|
-
"
|
89
|
-
v-el-readonly
|
90
|
-
>
|
91
|
-
<i slot="suffix" class="el-input__icon el-icon-search"
|
92
|
-
@click="openCompanyDialog(row, $index)"></i>
|
93
|
-
</el-input>
|
82
|
+
<el-input v-model="row.companyCodes" clearable></el-input>
|
94
83
|
</template>
|
95
84
|
</el-table-column>
|
96
85
|
<el-table-column :label="i18nt('流程模板编码')" width="150">
|
@@ -195,24 +184,24 @@
|
|
195
184
|
</el-select>
|
196
185
|
</template>
|
197
186
|
</el-table-column>
|
198
|
-
<!-- <el-table-column :label="i18nt('值类型')" width="250">
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
187
|
+
<!-- <el-table-column :label="i18nt('值类型')" width="250">
|
188
|
+
<template slot-scope="{row}">
|
189
|
+
<el-select v-model="row.valueType" @change="changeValueType">
|
190
|
+
<el-option :value="1" label="文本"></el-option>
|
191
|
+
<el-option :value="2" label="数值"></el-option>
|
192
|
+
<el-option :value="3" label="布尔值"></el-option>
|
193
|
+
</el-select>
|
194
|
+
</template>
|
195
|
+
</el-table-column>-->
|
207
196
|
<el-table-column :label="i18nt('设置的值')" width="650">
|
208
197
|
<template slot-scope="{row}">
|
209
198
|
<el-input v-model="row.toValue" clearable></el-input>
|
210
|
-
<!-- <el-input v-model="row.toValue" clearable v-if="row.valueType==1"></el-input>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
199
|
+
<!-- <el-input v-model="row.toValue" clearable v-if="row.valueType==1"></el-input>
|
200
|
+
<base-input-number v-model="row.toValue" clearable v-else-if="row.valueType==2"></base-input-number>
|
201
|
+
<el-radio-group v-model="row.toValue" v-else-if="row.valueType==3">
|
202
|
+
<el-radio :label="true">true</el-radio>
|
203
|
+
<el-radio :label="false">false</el-radio>
|
204
|
+
</el-radio-group>-->
|
216
205
|
|
217
206
|
</template>
|
218
207
|
</el-table-column>
|
@@ -337,7 +326,7 @@ export default {
|
|
337
326
|
serveName: null,
|
338
327
|
modelKey: null,
|
339
328
|
taskSteps: null,
|
340
|
-
|
329
|
+
companyCodes: null
|
341
330
|
}
|
342
331
|
this.tableData.push(newItem);
|
343
332
|
},
|
@@ -380,22 +369,6 @@ export default {
|
|
380
369
|
}
|
381
370
|
row.serveName = serveName;
|
382
371
|
},
|
383
|
-
openCompanyDialog(row, rowIndex) {
|
384
|
-
this.operateIndex = rowIndex;
|
385
|
-
this.currentCompanyInfos = row.companyInfos || [];
|
386
|
-
this.showCompanyInfoDialog = true;
|
387
|
-
|
388
|
-
},
|
389
|
-
confirmCompanyDialog(rows) {
|
390
|
-
if (rows.length) {
|
391
|
-
let item = this.tableData[this.operateIndex];
|
392
|
-
item.companyInfos = rows;
|
393
|
-
}
|
394
|
-
},
|
395
|
-
getCompanyNames(item) {
|
396
|
-
return item.companyInfos.map(item => item.companyName).join(',');
|
397
|
-
},
|
398
|
-
|
399
372
|
openDialog2() {
|
400
373
|
this.tableData2 = this.$baseLodash.cloneDeep(this.optionModel.wfModifyDataConfig || []);
|
401
374
|
this.dialogVisible2 = true;
|
@@ -13,7 +13,8 @@ export const containers = [
|
|
13
13
|
// colHeight: null,
|
14
14
|
width: '',
|
15
15
|
containerClass: '',
|
16
|
-
customClass: ""
|
16
|
+
customClass: "",
|
17
|
+
...defaultWfConfig,
|
17
18
|
}
|
18
19
|
},
|
19
20
|
{
|
@@ -27,7 +28,8 @@ export const containers = [
|
|
27
28
|
hidden: !1,
|
28
29
|
customClass: "",
|
29
30
|
styleTableClass: '',
|
30
|
-
fullWidth: false
|
31
|
+
fullWidth: false,
|
32
|
+
...defaultWfConfig,
|
31
33
|
}
|
32
34
|
},
|
33
35
|
{
|
@@ -42,7 +44,8 @@ export const containers = [
|
|
42
44
|
height: '',
|
43
45
|
// isFullscreen: false,
|
44
46
|
tabClass: 'tab-boxCard tabCard-sty1',
|
45
|
-
customClass: ""
|
47
|
+
customClass: "",
|
48
|
+
...defaultWfConfig,
|
46
49
|
}
|
47
50
|
},
|
48
51
|
/* {
|
@@ -277,6 +280,7 @@ export const containers = [
|
|
277
280
|
sortScriptCode: null,
|
278
281
|
importTemplateFile: null,
|
279
282
|
|
283
|
+
...defaultWfConfig,
|
280
284
|
showRuleFlag: 1,
|
281
285
|
showRuleEnabled: 1,
|
282
286
|
showRules: [],
|
@@ -748,7 +752,6 @@ export const containers = [
|
|
748
752
|
}
|
749
753
|
]
|
750
754
|
|
751
|
-
|
752
755
|
export const defaultSearchDialogConfig = {
|
753
756
|
formCode: null,
|
754
757
|
tableEnabled: false,
|
@@ -758,7 +761,17 @@ export const defaultSearchDialogConfig = {
|
|
758
761
|
tableUniqueKey: null,
|
759
762
|
tableData: [],
|
760
763
|
multipleChoices: true,
|
761
|
-
confirmCallback:null
|
764
|
+
confirmCallback: null
|
765
|
+
}
|
766
|
+
|
767
|
+
export const defaultWfConfig = {
|
768
|
+
wfFlag: 1,
|
769
|
+
wfEdit: false,
|
770
|
+
enabledByWf: false,
|
771
|
+
hiddenByWf: false,
|
772
|
+
wfConfigData: [],
|
773
|
+
wfModifyDataEnabled: false,
|
774
|
+
wfModifyDataConfig: [],
|
762
775
|
}
|
763
776
|
|
764
777
|
export const basicFields = [
|
@@ -814,11 +827,7 @@ export const basicFields = [
|
|
814
827
|
onAppendButtonClick: "",
|
815
828
|
widgetWidth: "",
|
816
829
|
accessType: "1",
|
817
|
-
|
818
|
-
wfEdit: false,
|
819
|
-
enabledByWf: false,
|
820
|
-
hiddenByWf: false,
|
821
|
-
wfConfigData: [],
|
830
|
+
...defaultWfConfig,
|
822
831
|
|
823
832
|
showRuleFlag: 1,
|
824
833
|
showRuleEnabled: 1,
|
@@ -882,11 +891,7 @@ export const basicFields = [
|
|
882
891
|
onAppendButtonClick: "",
|
883
892
|
widgetWidth: "",
|
884
893
|
accessType: "1",
|
885
|
-
|
886
|
-
wfEdit: false,
|
887
|
-
enabledByWf: false,
|
888
|
-
hiddenByWf: false,
|
889
|
-
wfConfigData: [],
|
894
|
+
...defaultWfConfig,
|
890
895
|
|
891
896
|
showRuleFlag: 1,
|
892
897
|
showRuleEnabled: 1,
|
@@ -942,11 +947,7 @@ export const basicFields = [
|
|
942
947
|
onBlur: "",
|
943
948
|
onValidate: "",
|
944
949
|
accessType: "1",
|
945
|
-
|
946
|
-
wfEdit: false,
|
947
|
-
enabledByWf: false,
|
948
|
-
hiddenByWf: false,
|
949
|
-
wfConfigData: [],
|
950
|
+
...defaultWfConfig,
|
950
951
|
|
951
952
|
showRuleFlag: 1,
|
952
953
|
showRuleEnabled: 1,
|
@@ -1003,11 +1004,7 @@ export const basicFields = [
|
|
1003
1004
|
onBlur: "",
|
1004
1005
|
onValidate: "",
|
1005
1006
|
accessType: "1",
|
1006
|
-
|
1007
|
-
wfEdit: false,
|
1008
|
-
enabledByWf: false,
|
1009
|
-
hiddenByWf: false,
|
1010
|
-
wfConfigData: [],
|
1007
|
+
...defaultWfConfig,
|
1011
1008
|
|
1012
1009
|
showRuleFlag: 1,
|
1013
1010
|
showRuleEnabled: 1,
|
@@ -1077,11 +1074,7 @@ export const basicFields = [
|
|
1077
1074
|
formScriptEnabled: false,
|
1078
1075
|
formScriptCode: "getList",
|
1079
1076
|
formScriptParam: null,
|
1080
|
-
|
1081
|
-
wfEdit: false,
|
1082
|
-
enabledByWf: false,
|
1083
|
-
hiddenByWf: false,
|
1084
|
-
wfConfigData: [],
|
1077
|
+
...defaultWfConfig,
|
1085
1078
|
|
1086
1079
|
showRuleFlag: 1,
|
1087
1080
|
showRuleEnabled: 1,
|
@@ -1150,11 +1143,7 @@ export const basicFields = [
|
|
1150
1143
|
formScriptEnabled: false,
|
1151
1144
|
formScriptCode: "getList",
|
1152
1145
|
formScriptParam: null,
|
1153
|
-
|
1154
|
-
wfEdit: false,
|
1155
|
-
enabledByWf: false,
|
1156
|
-
hiddenByWf: false,
|
1157
|
-
wfConfigData: [],
|
1146
|
+
...defaultWfConfig,
|
1158
1147
|
|
1159
1148
|
showRuleFlag: 1,
|
1160
1149
|
showRuleEnabled: 1,
|
@@ -1234,11 +1223,7 @@ export const basicFields = [
|
|
1234
1223
|
formScriptEnabled: false,
|
1235
1224
|
formScriptCode: "getList",
|
1236
1225
|
formScriptParam: null,
|
1237
|
-
|
1238
|
-
wfEdit: false,
|
1239
|
-
enabledByWf: false,
|
1240
|
-
hiddenByWf: false,
|
1241
|
-
wfConfigData: [],
|
1226
|
+
...defaultWfConfig,
|
1242
1227
|
|
1243
1228
|
showRuleFlag: 1,
|
1244
1229
|
showRuleEnabled: 1,
|
@@ -1292,11 +1277,7 @@ export const basicFields = [
|
|
1292
1277
|
onBlur: "",
|
1293
1278
|
onValidate: "",
|
1294
1279
|
accessType: "1",
|
1295
|
-
|
1296
|
-
wfEdit: false,
|
1297
|
-
enabledByWf: false,
|
1298
|
-
hiddenByWf: false,
|
1299
|
-
wfConfigData: [],
|
1280
|
+
...defaultWfConfig,
|
1300
1281
|
|
1301
1282
|
showRuleFlag: 1,
|
1302
1283
|
showRuleEnabled: 1,
|
@@ -1351,11 +1332,7 @@ export const basicFields = [
|
|
1351
1332
|
onBlur: "",
|
1352
1333
|
onValidate: "",
|
1353
1334
|
accessType: "1",
|
1354
|
-
|
1355
|
-
wfEdit: false,
|
1356
|
-
enabledByWf: false,
|
1357
|
-
hiddenByWf: false,
|
1358
|
-
wfConfigData: [],
|
1335
|
+
...defaultWfConfig,
|
1359
1336
|
|
1360
1337
|
showRuleFlag: 1,
|
1361
1338
|
showRuleEnabled: 1,
|
@@ -1412,11 +1389,7 @@ export const basicFields = [
|
|
1412
1389
|
onBlur: "",
|
1413
1390
|
onValidate: "",
|
1414
1391
|
accessType: "1",
|
1415
|
-
|
1416
|
-
wfEdit: false,
|
1417
|
-
enabledByWf: false,
|
1418
|
-
hiddenByWf: false,
|
1419
|
-
wfConfigData: [],
|
1392
|
+
...defaultWfConfig,
|
1420
1393
|
|
1421
1394
|
showRuleFlag: 1,
|
1422
1395
|
showRuleEnabled: 1,
|
@@ -1474,11 +1447,7 @@ export const basicFields = [
|
|
1474
1447
|
onBlur: "",
|
1475
1448
|
onValidate: "",
|
1476
1449
|
accessType: "1",
|
1477
|
-
|
1478
|
-
wfEdit: false,
|
1479
|
-
enabledByWf: false,
|
1480
|
-
hiddenByWf: false,
|
1481
|
-
wfConfigData: [],
|
1450
|
+
...defaultWfConfig,
|
1482
1451
|
|
1483
1452
|
showRuleFlag: 1,
|
1484
1453
|
showRuleEnabled: 1,
|
@@ -1630,6 +1599,7 @@ export const basicFields = [
|
|
1630
1599
|
onCreated: "",
|
1631
1600
|
onMounted: "",
|
1632
1601
|
accessType: "1",
|
1602
|
+
...defaultWfConfig,
|
1633
1603
|
|
1634
1604
|
showRuleFlag: 1,
|
1635
1605
|
showRuleEnabled: 1,
|
@@ -1656,6 +1626,7 @@ export const basicFields = [
|
|
1656
1626
|
onCreated: "",
|
1657
1627
|
onMounted: "",
|
1658
1628
|
accessType: "1",
|
1629
|
+
...defaultWfConfig,
|
1659
1630
|
|
1660
1631
|
showRuleFlag: 1,
|
1661
1632
|
showRuleEnabled: 1,
|
@@ -1716,11 +1687,7 @@ export const basicFields = [
|
|
1716
1687
|
tableRef: null,
|
1717
1688
|
tableData: {}
|
1718
1689
|
},
|
1719
|
-
|
1720
|
-
wfEdit: false,
|
1721
|
-
enabledByWf: false,
|
1722
|
-
hiddenByWf: false,
|
1723
|
-
wfConfigData: [],
|
1690
|
+
...defaultWfConfig,
|
1724
1691
|
|
1725
1692
|
showRuleFlag: 1,
|
1726
1693
|
showRuleEnabled: 1,
|
@@ -1745,6 +1712,7 @@ export const basicFields = [
|
|
1745
1712
|
contentPosition: "center",
|
1746
1713
|
hidden: !1,
|
1747
1714
|
customClass: "",
|
1715
|
+
...defaultWfConfig,
|
1748
1716
|
onCreated: "",
|
1749
1717
|
onMounted: ""
|
1750
1718
|
}
|
@@ -1826,6 +1794,7 @@ export const basicFields = [
|
|
1826
1794
|
onMounted: "",
|
1827
1795
|
accessType: "1",
|
1828
1796
|
labelColor: '#555555',
|
1797
|
+
...defaultWfConfig,
|
1829
1798
|
|
1830
1799
|
showRuleFlag: 1,
|
1831
1800
|
showRuleEnabled: 1,
|
@@ -1874,11 +1843,7 @@ export const basicFields = [
|
|
1874
1843
|
onChange: "",
|
1875
1844
|
onClick: "",
|
1876
1845
|
accessType: "1",
|
1877
|
-
|
1878
|
-
wfEdit: false,
|
1879
|
-
enabledByWf: false,
|
1880
|
-
hiddenByWf: false,
|
1881
|
-
wfConfigData: [],
|
1846
|
+
...defaultWfConfig,
|
1882
1847
|
|
1883
1848
|
showRuleFlag: 1,
|
1884
1849
|
showRuleEnabled: 1,
|
@@ -1922,11 +1887,7 @@ export const basicFields = [
|
|
1922
1887
|
tableRef: null,
|
1923
1888
|
tableData: {}
|
1924
1889
|
},
|
1925
|
-
|
1926
|
-
wfEdit: false,
|
1927
|
-
enabledByWf: false,
|
1928
|
-
hiddenByWf: false,
|
1929
|
-
wfConfigData: [],
|
1890
|
+
...defaultWfConfig,
|
1930
1891
|
|
1931
1892
|
showRuleFlag: 1,
|
1932
1893
|
showRuleEnabled: 1,
|
@@ -2032,6 +1993,7 @@ export const advancedFields = [
|
|
2032
1993
|
onCreated: "",
|
2033
1994
|
onMounted: "this.loadDataDefaultHandle()",
|
2034
1995
|
|
1996
|
+
...defaultWfConfig,
|
2035
1997
|
showRuleFlag: 1,
|
2036
1998
|
showRuleEnabled: 1,
|
2037
1999
|
showRules: []
|
@@ -2203,7 +2165,7 @@ export const advancedFields = [
|
|
2203
2165
|
onClick: "",
|
2204
2166
|
onCreated: "",
|
2205
2167
|
onMounted: "this.loadDataDefaultHandle()",
|
2206
|
-
|
2168
|
+
...defaultWfConfig,
|
2207
2169
|
showRuleFlag: 1,
|
2208
2170
|
showRuleEnabled: 1,
|
2209
2171
|
showRules: []
|
@@ -2417,7 +2379,7 @@ export const advancedFields = [
|
|
2417
2379
|
onClick: "",
|
2418
2380
|
onCreated: "",
|
2419
2381
|
onMounted: "this.loadDataDefaultHandle()",
|
2420
|
-
|
2382
|
+
...defaultWfConfig,
|
2421
2383
|
showRuleFlag: 1,
|
2422
2384
|
showRuleEnabled: 1,
|
2423
2385
|
showRules: []
|
@@ -2557,11 +2519,7 @@ export const advancedFields = [
|
|
2557
2519
|
formScriptEnabled: true,
|
2558
2520
|
formScriptCode: "getList",
|
2559
2521
|
formScriptParam: null,
|
2560
|
-
|
2561
|
-
wfEdit: false,
|
2562
|
-
enabledByWf: false,
|
2563
|
-
hiddenByWf: false,
|
2564
|
-
wfConfigData: [],
|
2522
|
+
...defaultWfConfig,
|
2565
2523
|
|
2566
2524
|
showRuleFlag: 1,
|
2567
2525
|
showRuleEnabled: 1,
|
@@ -2610,11 +2568,7 @@ export const advancedFields = [
|
|
2610
2568
|
...defaultSearchDialogConfig,
|
2611
2569
|
multipleChoices: false
|
2612
2570
|
},
|
2613
|
-
|
2614
|
-
wfEdit: false,
|
2615
|
-
enabledByWf: false,
|
2616
|
-
hiddenByWf: false,
|
2617
|
-
wfConfigData: [],
|
2571
|
+
...defaultWfConfig,
|
2618
2572
|
valueField: null,
|
2619
2573
|
multipleChoices: false,
|
2620
2574
|
|
@@ -2659,11 +2613,7 @@ export const advancedFields = [
|
|
2659
2613
|
...defaultSearchDialogConfig,
|
2660
2614
|
tableEnabled: true
|
2661
2615
|
},
|
2662
|
-
|
2663
|
-
wfEdit: false,
|
2664
|
-
enabledByWf: false,
|
2665
|
-
hiddenByWf: false,
|
2666
|
-
wfConfigData: [],
|
2616
|
+
...defaultWfConfig,
|
2667
2617
|
|
2668
2618
|
showRuleFlag: 1,
|
2669
2619
|
showRuleEnabled: 1,
|
@@ -2700,11 +2650,7 @@ export const advancedFields = [
|
|
2700
2650
|
searchDialogConfig: {
|
2701
2651
|
...defaultSearchDialogConfig
|
2702
2652
|
},
|
2703
|
-
|
2704
|
-
wfEdit: false,
|
2705
|
-
enabledByWf: false,
|
2706
|
-
hiddenByWf: true,
|
2707
|
-
wfConfigData: [],
|
2653
|
+
...defaultWfConfig,
|
2708
2654
|
|
2709
2655
|
showRuleFlag: 1,
|
2710
2656
|
showRuleEnabled: 1,
|
@@ -2740,11 +2686,7 @@ export const advancedFields = [
|
|
2740
2686
|
searchDialogConfig: {
|
2741
2687
|
...defaultSearchDialogConfig
|
2742
2688
|
},
|
2743
|
-
|
2744
|
-
wfEdit: false,
|
2745
|
-
enabledByWf: true,
|
2746
|
-
hiddenByWf: false,
|
2747
|
-
wfConfigData: [],
|
2689
|
+
...defaultWfConfig,
|
2748
2690
|
|
2749
2691
|
showRuleFlag: 1,
|
2750
2692
|
showRuleEnabled: 1,
|
@@ -2770,11 +2712,7 @@ export const advancedFields = [
|
|
2770
2712
|
|
2771
2713
|
onCreated: "",
|
2772
2714
|
onMounted: "",
|
2773
|
-
|
2774
|
-
wfEdit: false,
|
2775
|
-
enabledByWf: false,
|
2776
|
-
hiddenByWf: false,
|
2777
|
-
wfConfigData: [],
|
2715
|
+
...defaultWfConfig,
|
2778
2716
|
|
2779
2717
|
showRuleFlag: 1,
|
2780
2718
|
showRuleEnabled: 1,
|
@@ -2809,11 +2747,7 @@ export const advancedFields = [
|
|
2809
2747
|
searchDialogConfig: {
|
2810
2748
|
...defaultSearchDialogConfig
|
2811
2749
|
},
|
2812
|
-
|
2813
|
-
wfEdit: false,
|
2814
|
-
enabledByWf: false,
|
2815
|
-
hiddenByWf: false,
|
2816
|
-
wfConfigData: [],
|
2750
|
+
...defaultWfConfig,
|
2817
2751
|
|
2818
2752
|
showRuleFlag: 1,
|
2819
2753
|
showRuleEnabled: 1,
|
@@ -2850,11 +2784,7 @@ export const advancedFields = [
|
|
2850
2784
|
searchDialogConfig: {
|
2851
2785
|
...defaultSearchDialogConfig
|
2852
2786
|
},
|
2853
|
-
|
2854
|
-
wfEdit: false,
|
2855
|
-
enabledByWf: false,
|
2856
|
-
hiddenByWf: true,
|
2857
|
-
wfConfigData: [],
|
2787
|
+
...defaultWfConfig,
|
2858
2788
|
|
2859
2789
|
showRuleFlag: 1,
|
2860
2790
|
showRuleEnabled: 1,
|
@@ -2888,11 +2818,7 @@ export const advancedFields = [
|
|
2888
2818
|
searchDialogConfig: {
|
2889
2819
|
...defaultSearchDialogConfig
|
2890
2820
|
},
|
2891
|
-
|
2892
|
-
wfEdit: false,
|
2893
|
-
enabledByWf: false,
|
2894
|
-
hiddenByWf: false,
|
2895
|
-
wfConfigData: [],
|
2821
|
+
...defaultWfConfig,
|
2896
2822
|
importEntity: '',
|
2897
2823
|
importAttachCode: '',
|
2898
2824
|
importScriptCode: '',
|
@@ -2929,11 +2855,7 @@ export const advancedFields = [
|
|
2929
2855
|
searchDialogConfig: {
|
2930
2856
|
...defaultSearchDialogConfig
|
2931
2857
|
},
|
2932
|
-
|
2933
|
-
wfEdit: false,
|
2934
|
-
enabledByWf: false,
|
2935
|
-
hiddenByWf: false,
|
2936
|
-
wfConfigData: [],
|
2858
|
+
...defaultWfConfig,
|
2937
2859
|
printTableRef: "",
|
2938
2860
|
printItems: [],
|
2939
2861
|
|
@@ -2966,11 +2888,7 @@ export const advancedFields = [
|
|
2966
2888
|
onCreated: "",
|
2967
2889
|
onMounted: "",
|
2968
2890
|
onAfterConfirmFile: "",
|
2969
|
-
|
2970
|
-
wfEdit: false,
|
2971
|
-
enabledByWf: false,
|
2972
|
-
hiddenByWf: false,
|
2973
|
-
wfConfigData: [],
|
2891
|
+
...defaultWfConfig,
|
2974
2892
|
|
2975
2893
|
showRuleFlag: 1,
|
2976
2894
|
showRuleEnabled: 1,
|
@@ -2999,6 +2917,7 @@ export const advancedFields = [
|
|
2999
2917
|
statusParam: [],
|
3000
2918
|
onCreated: "",
|
3001
2919
|
onMounted: "",
|
2920
|
+
...defaultWfConfig,
|
3002
2921
|
|
3003
2922
|
showRuleFlag: 1,
|
3004
2923
|
showRuleEnabled: 1,
|
@@ -3047,7 +2966,7 @@ export const advancedFields = [
|
|
3047
2966
|
formScriptParam: null,
|
3048
2967
|
onCreated: "",
|
3049
2968
|
onMounted: "",
|
3050
|
-
|
2969
|
+
...defaultWfConfig,
|
3051
2970
|
showRuleFlag: 1,
|
3052
2971
|
showRuleEnabled: 1,
|
3053
2972
|
showRules: []
|
@@ -3078,11 +2997,7 @@ export const advancedFields = [
|
|
3078
2997
|
formScriptEnabled: true,
|
3079
2998
|
formScriptCode: "getList",
|
3080
2999
|
formScriptParam: null,
|
3081
|
-
|
3082
|
-
wfEdit: false,
|
3083
|
-
enabledByWf: false,
|
3084
|
-
hiddenByWf: false,
|
3085
|
-
wfConfigData: [],
|
3000
|
+
...defaultWfConfig,
|
3086
3001
|
|
3087
3002
|
showRuleFlag: 1,
|
3088
3003
|
showRuleEnabled: 1,
|
@@ -3110,7 +3025,7 @@ export const advancedFields = [
|
|
3110
3025
|
formScriptParam: null,
|
3111
3026
|
onCreated: "this.loadDataDefaultHandle()",
|
3112
3027
|
onMounted: "",
|
3113
|
-
|
3028
|
+
...defaultWfConfig,
|
3114
3029
|
showRuleFlag: 1,
|
3115
3030
|
showRuleEnabled: 1,
|
3116
3031
|
showRules: []
|
@@ -378,8 +378,9 @@ modules = {
|
|
378
378
|
let type = item.type;
|
379
379
|
let taskStepList = item.taskSteps ? item.taskSteps.split(',') : []
|
380
380
|
if (type && taskStepList.includes(taskStep)) {
|
381
|
-
let
|
382
|
-
let companyCodes =
|
381
|
+
let companyCodeStr = item.companyCodes;
|
382
|
+
let companyCodes = companyCodeStr ? companyCodeStr.split(",").filter(item => !!item) : [];
|
383
|
+
// let companyCodes = companyInfos.map(item => item.companyCode);
|
383
384
|
let flag1 = !item.serveName || item.serveName == bdService;
|
384
385
|
let flag2 = !item.modelKey || item.modelKey == modelKey;
|
385
386
|
let flag3 = !companyCodes.length || companyCodes.includes(companyCode)
|