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
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
@submit.native.prevent
|
|
10
10
|
>
|
|
11
11
|
<el-collapse v-model="formActiveCollapseNames" class="setting-collapse">
|
|
12
|
-
<el-collapse-item
|
|
13
|
-
name="1"
|
|
14
|
-
:title="i18nt('designer.setting.basicSetting')"
|
|
15
|
-
>
|
|
12
|
+
<el-collapse-item name="1" :title="i18nt('designer.setting.basicSetting')">
|
|
16
13
|
<el-form-item :label="i18nt('数据库表')">
|
|
17
14
|
<el-input type="text" v-model="formConfig.entity"></el-input>
|
|
18
15
|
</el-form-item>
|
|
@@ -30,18 +27,29 @@
|
|
|
30
27
|
></el-switch>
|
|
31
28
|
</el-form-item>
|
|
32
29
|
<el-form-item>
|
|
33
|
-
<span slot="label"
|
|
34
|
-
|
|
30
|
+
<span slot="label"
|
|
31
|
+
>流程主题
|
|
32
|
+
<scriptDescriptionButton
|
|
33
|
+
title="流程主题说明"
|
|
34
|
+
path="static/readme/WfSubject.txt"
|
|
35
|
+
></scriptDescriptionButton>
|
|
36
|
+
<!-- <el-tooltip effect="light">
|
|
35
37
|
<i class="el-icon-info"></i>
|
|
36
38
|
<div slot="content" style="white-space: pre-wrap;">
|
|
37
39
|
{{tip1}}
|
|
38
40
|
</div>
|
|
39
41
|
|
|
40
|
-
</el-tooltip>
|
|
41
|
-
|
|
42
|
+
</el-tooltip> -->
|
|
43
|
+
</span>
|
|
42
44
|
</el-form-item>
|
|
43
45
|
<div>
|
|
44
|
-
<el-input
|
|
46
|
+
<el-input
|
|
47
|
+
style="word-break: break-word"
|
|
48
|
+
type="textarea"
|
|
49
|
+
:rows="3"
|
|
50
|
+
v-model="formConfig.wfTheme"
|
|
51
|
+
clearable
|
|
52
|
+
></el-input>
|
|
45
53
|
</div>
|
|
46
54
|
<el-form-item :label="i18nt('流程启动时自动保存表单数据')">
|
|
47
55
|
<el-switch v-model="formConfig.wfStartBindSave"></el-switch>
|
|
@@ -57,8 +65,7 @@
|
|
|
57
65
|
@click="openWfConfigDataDialog2"
|
|
58
66
|
>
|
|
59
67
|
<span>{{
|
|
60
|
-
formConfig.wfAgreeConfigData &&
|
|
61
|
-
formConfig.wfAgreeConfigData.length
|
|
68
|
+
formConfig.wfAgreeConfigData && formConfig.wfAgreeConfigData.length
|
|
62
69
|
? "已维护"
|
|
63
70
|
: ""
|
|
64
71
|
}}</span>
|
|
@@ -75,9 +82,7 @@
|
|
|
75
82
|
@click="openWfConfigDataDialog"
|
|
76
83
|
>
|
|
77
84
|
<span>{{
|
|
78
|
-
formConfig.wfConfigData && formConfig.wfConfigData.length
|
|
79
|
-
? "已维护"
|
|
80
|
-
: ""
|
|
85
|
+
formConfig.wfConfigData && formConfig.wfConfigData.length ? "已维护" : ""
|
|
81
86
|
}}</span>
|
|
82
87
|
<i class="el-icon-edit"></i>
|
|
83
88
|
</a>
|
|
@@ -152,27 +157,73 @@
|
|
|
152
157
|
</a>
|
|
153
158
|
</el-form-item>
|
|
154
159
|
<el-form-item :label="i18nt('designer.setting.formCss')">
|
|
155
|
-
<el-button
|
|
156
|
-
type="info"
|
|
157
|
-
icon="el-icon-edit"
|
|
158
|
-
plain
|
|
159
|
-
round
|
|
160
|
-
@click="editFormCss"
|
|
161
|
-
>
|
|
160
|
+
<el-button type="info" icon="el-icon-edit" plain round @click="editFormCss">
|
|
162
161
|
{{ i18nt("designer.setting.addCss") }}
|
|
163
162
|
</el-button>
|
|
164
163
|
</el-form-item>
|
|
165
164
|
</el-collapse-item>
|
|
166
165
|
<el-collapse-item name="2" title="列表标签页信息">
|
|
167
|
-
<el-form-item :label="i18nt('
|
|
166
|
+
<el-form-item :label="i18nt('列表启用详情多标签')">
|
|
168
167
|
<el-switch v-model="formConfig.multiTabEnabled"></el-switch>
|
|
169
168
|
</el-form-item>
|
|
170
169
|
<el-form-item :label="i18nt('标签名称字段')">
|
|
170
|
+
<el-input type="text" v-model="formConfig.multiTabLabelField"></el-input>
|
|
171
|
+
</el-form-item>
|
|
172
|
+
</el-collapse-item>
|
|
173
|
+
<el-collapse-item name="2" title="其他标签页信息">
|
|
174
|
+
<el-form-item :label="i18nt('自定义列表标签名称')">
|
|
171
175
|
<el-input
|
|
172
176
|
type="text"
|
|
173
|
-
v-model="formConfig.
|
|
177
|
+
v-model="formConfig.customListTabLabel"
|
|
178
|
+
placeholder="默认`列表`"
|
|
174
179
|
></el-input>
|
|
175
180
|
</el-form-item>
|
|
181
|
+
<el-form-item :label="i18nt('启用其他标签页')">
|
|
182
|
+
<el-switch v-model="formConfig.otherTabEnabled"></el-switch>
|
|
183
|
+
</el-form-item>
|
|
184
|
+
<el-form-item :label="i18nt('其他标签页配置')"> </el-form-item>
|
|
185
|
+
<el-form-item label-width="0">
|
|
186
|
+
<div>
|
|
187
|
+
<draggable
|
|
188
|
+
tag="ul"
|
|
189
|
+
class="draggable-box"
|
|
190
|
+
:list="formConfig.otherTabList"
|
|
191
|
+
v-bind="{
|
|
192
|
+
group: 'optionsGroup',
|
|
193
|
+
ghostClass: 'ghost',
|
|
194
|
+
handle: '.drag-option',
|
|
195
|
+
}"
|
|
196
|
+
>
|
|
197
|
+
<li v-for="(option, idx) in formConfig.otherTabList" :key="idx">
|
|
198
|
+
<el-input
|
|
199
|
+
v-model="option.label"
|
|
200
|
+
size="mini"
|
|
201
|
+
style="width: 100px"
|
|
202
|
+
placeholder="标签名称"
|
|
203
|
+
></el-input>
|
|
204
|
+
<el-input
|
|
205
|
+
v-model="option.formCode"
|
|
206
|
+
size="mini"
|
|
207
|
+
style="width: 100px"
|
|
208
|
+
placeholder="表单模板编码"
|
|
209
|
+
></el-input>
|
|
210
|
+
<i class="el-icon-s-operation drag-option"></i>
|
|
211
|
+
<el-button
|
|
212
|
+
circle
|
|
213
|
+
plain
|
|
214
|
+
size="mini"
|
|
215
|
+
type="danger"
|
|
216
|
+
@click="formConfig.otherTabList.splice(idx, 1)"
|
|
217
|
+
icon="el-icon-minus"
|
|
218
|
+
class="col-delete-button"
|
|
219
|
+
></el-button>
|
|
220
|
+
</li>
|
|
221
|
+
</draggable>
|
|
222
|
+
<el-button type="text" @click="addOtherTab">{{
|
|
223
|
+
i18nt("designer.setting.addOption")
|
|
224
|
+
}}</el-button>
|
|
225
|
+
</div>
|
|
226
|
+
</el-form-item>
|
|
176
227
|
</el-collapse-item>
|
|
177
228
|
|
|
178
229
|
<el-collapse-item name="3" title="详情表单信息">
|
|
@@ -358,11 +409,7 @@
|
|
|
358
409
|
:modal-append-to-body="true"
|
|
359
410
|
>
|
|
360
411
|
<div class="cont">
|
|
361
|
-
<code-editor
|
|
362
|
-
:mode="'css'"
|
|
363
|
-
:readonly="false"
|
|
364
|
-
v-model="formCssCode"
|
|
365
|
-
></code-editor>
|
|
412
|
+
<code-editor :mode="'css'" :readonly="false" v-model="formCssCode"></code-editor>
|
|
366
413
|
</div>
|
|
367
414
|
<div slot="footer" class="dialog-footer">
|
|
368
415
|
<el-button
|
|
@@ -528,11 +575,7 @@
|
|
|
528
575
|
stripe=""
|
|
529
576
|
style="margin-bottom: 0px"
|
|
530
577
|
>
|
|
531
|
-
<el-table-column
|
|
532
|
-
type="index"
|
|
533
|
-
width="35"
|
|
534
|
-
fixed="left"
|
|
535
|
-
></el-table-column>
|
|
578
|
+
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
536
579
|
<!-- <el-table-column :label="i18nt('服务')" width="150">
|
|
537
580
|
<template slot-scope="{ row }">
|
|
538
581
|
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
|
@@ -590,10 +633,7 @@
|
|
|
590
633
|
<base-input-number v-model="row.modelOrders" clearable></base-input-number>
|
|
591
634
|
</template>
|
|
592
635
|
</el-table-column>
|
|
593
|
-
<el-table-column
|
|
594
|
-
:label="i18nt('节点步骤(多个值用“,”隔开)')"
|
|
595
|
-
width="250"
|
|
596
|
-
>
|
|
636
|
+
<el-table-column :label="i18nt('节点步骤(多个值用“,”隔开)')" width="250">
|
|
597
637
|
<template slot-scope="{ row }">
|
|
598
638
|
<el-input v-model="row.taskSteps" clearable></el-input>
|
|
599
639
|
</template>
|
|
@@ -637,11 +677,7 @@
|
|
|
637
677
|
</el-table>
|
|
638
678
|
</div>
|
|
639
679
|
<div class="dialog-footer" slot="footer">
|
|
640
|
-
<el-button
|
|
641
|
-
@click="dialogVisible = false"
|
|
642
|
-
class="button-sty"
|
|
643
|
-
icon="el-icon-close"
|
|
644
|
-
>
|
|
680
|
+
<el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
|
|
645
681
|
{{ i18nt("designer.hint.cancel") }}
|
|
646
682
|
</el-button>
|
|
647
683
|
<el-button
|
|
@@ -682,11 +718,7 @@
|
|
|
682
718
|
stripe=""
|
|
683
719
|
style="margin-bottom: 0px"
|
|
684
720
|
>
|
|
685
|
-
<el-table-column
|
|
686
|
-
type="index"
|
|
687
|
-
width="35"
|
|
688
|
-
fixed="left"
|
|
689
|
-
></el-table-column>
|
|
721
|
+
<el-table-column type="index" width="35" fixed="left"></el-table-column>
|
|
690
722
|
<!-- <el-table-column :label="i18nt('服务')" width="150">
|
|
691
723
|
<template slot-scope="{ row }">
|
|
692
724
|
<el-select v-model="row.serveType" @change="changeServeType(row)">
|
|
@@ -744,10 +776,7 @@
|
|
|
744
776
|
<base-input-number v-model="row.modelOrders" clearable></base-input-number>
|
|
745
777
|
</template>
|
|
746
778
|
</el-table-column>
|
|
747
|
-
<el-table-column
|
|
748
|
-
:label="i18nt('节点步骤(多个值用“,”隔开)')"
|
|
749
|
-
width="250"
|
|
750
|
-
>
|
|
779
|
+
<el-table-column :label="i18nt('节点步骤(多个值用“,”隔开)')" width="250">
|
|
751
780
|
<template slot-scope="{ row }">
|
|
752
781
|
<el-input v-model="row.taskSteps" clearable></el-input>
|
|
753
782
|
</template>
|
|
@@ -915,7 +944,7 @@ export default {
|
|
|
915
944
|
showBdCompanyEnvDialog1: false,
|
|
916
945
|
showBdCompanyEnvDialog2: false,
|
|
917
946
|
|
|
918
|
-
tip1
|
|
947
|
+
tip1: `流程主题表达式设置说明。
|
|
919
948
|
|
|
920
949
|
1、可使用参数:
|
|
921
950
|
wf:流程对象
|
|
@@ -949,7 +978,7 @@ func.convertDate(date, format):时间转换,如当前时间转为当前天
|
|
|
949
978
|
|
|
950
979
|
3、配置示例
|
|
951
980
|
比如表名为:pm_product_project,配置如下:
|
|
952
|
-
$\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_project.product_name\}$\{wf.name\}$\{pm_product_project.sn\}$\{func.orgName(pm_product_project.f_sale_org_id)\}$\{nowDayStr\}
|
|
981
|
+
$\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_project.product_name\}$\{wf.name\}$\{pm_product_project.sn\}$\{func.orgName(pm_product_project.f_sale_org_id)\}$\{nowDayStr\}`,
|
|
953
982
|
};
|
|
954
983
|
},
|
|
955
984
|
created() {
|
|
@@ -1067,9 +1096,7 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1067
1096
|
});
|
|
1068
1097
|
|
|
1069
1098
|
if (syntaxErrorFlag) {
|
|
1070
|
-
this.$message.error(
|
|
1071
|
-
this.i18nt("designer.setting.syntaxCheckWarning")
|
|
1072
|
-
);
|
|
1099
|
+
this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));
|
|
1073
1100
|
return;
|
|
1074
1101
|
}
|
|
1075
1102
|
}
|
|
@@ -1096,9 +1123,7 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1096
1123
|
});
|
|
1097
1124
|
|
|
1098
1125
|
if (syntaxErrorFlag) {
|
|
1099
|
-
this.$message.error(
|
|
1100
|
-
this.i18nt("designer.setting.syntaxCheckWarning")
|
|
1101
|
-
);
|
|
1126
|
+
this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));
|
|
1102
1127
|
return;
|
|
1103
1128
|
}
|
|
1104
1129
|
}
|
|
@@ -1106,18 +1131,18 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1106
1131
|
this.formConfig[this.curEventName] = this.formEventHandlerCode;
|
|
1107
1132
|
this.showFormEventDialogFlag = false;
|
|
1108
1133
|
},
|
|
1109
|
-
openFormTemplate(flag){
|
|
1134
|
+
openFormTemplate(flag) {
|
|
1110
1135
|
this.formTemplateFlag = flag;
|
|
1111
1136
|
this.showFormTemplateDialog = true;
|
|
1112
1137
|
},
|
|
1113
1138
|
confirmFormTemplate(rows) {
|
|
1114
1139
|
if (rows.length) {
|
|
1115
1140
|
let row = rows[0];
|
|
1116
|
-
if(this.formTemplateFlag==1){
|
|
1141
|
+
if (this.formTemplateFlag == 1) {
|
|
1117
1142
|
//新增
|
|
1118
1143
|
this.$set(this.formConfig, "addFormCode", row.formCode);
|
|
1119
1144
|
this.$set(this.formConfig, "addFormName", row.formName);
|
|
1120
|
-
}else{
|
|
1145
|
+
} else {
|
|
1121
1146
|
//查看
|
|
1122
1147
|
this.$set(this.formConfig, "editFormCode", row.formCode);
|
|
1123
1148
|
this.$set(this.formConfig, "editFormName", row.formName);
|
|
@@ -1140,9 +1165,7 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1140
1165
|
});
|
|
1141
1166
|
|
|
1142
1167
|
if (syntaxErrorFlag) {
|
|
1143
|
-
this.$message.error(
|
|
1144
|
-
this.i18nt("designer.setting.syntaxCheckWarning")
|
|
1145
|
-
);
|
|
1168
|
+
this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));
|
|
1146
1169
|
return;
|
|
1147
1170
|
}
|
|
1148
1171
|
}
|
|
@@ -1165,9 +1188,7 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1165
1188
|
});
|
|
1166
1189
|
|
|
1167
1190
|
if (syntaxErrorFlag) {
|
|
1168
|
-
this.$message.error(
|
|
1169
|
-
this.i18nt("designer.setting.syntaxCheckWarning")
|
|
1170
|
-
);
|
|
1191
|
+
this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));
|
|
1171
1192
|
return;
|
|
1172
1193
|
}
|
|
1173
1194
|
}
|
|
@@ -1226,20 +1247,20 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1226
1247
|
type: "error",
|
|
1227
1248
|
message: "服务名称不能为空",
|
|
1228
1249
|
});
|
|
1229
|
-
return
|
|
1250
|
+
return;
|
|
1230
1251
|
}
|
|
1231
1252
|
if (!item.companyCodes) {
|
|
1232
1253
|
this.$message({
|
|
1233
1254
|
type: "error",
|
|
1234
1255
|
message: "组织编码不能为空",
|
|
1235
1256
|
});
|
|
1236
|
-
return
|
|
1257
|
+
return;
|
|
1237
1258
|
}
|
|
1238
|
-
let modelOrders = item.modelOrders??"";
|
|
1259
|
+
let modelOrders = item.modelOrders ?? "";
|
|
1239
1260
|
|
|
1240
1261
|
let serveName = item.serveName;
|
|
1241
1262
|
let companyCodes = item.companyCodes;
|
|
1242
|
-
let key = serveName + "_" + companyCodes+ "_"+modelOrders;
|
|
1263
|
+
let key = serveName + "_" + companyCodes + "_" + modelOrders;
|
|
1243
1264
|
if (!map[key]) {
|
|
1244
1265
|
map[key] = true;
|
|
1245
1266
|
} else {
|
|
@@ -1283,20 +1304,20 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1283
1304
|
type: "error",
|
|
1284
1305
|
message: "服务名称不能为空",
|
|
1285
1306
|
});
|
|
1286
|
-
return
|
|
1307
|
+
return;
|
|
1287
1308
|
}
|
|
1288
1309
|
if (!item.companyCodes) {
|
|
1289
1310
|
this.$message({
|
|
1290
1311
|
type: "error",
|
|
1291
1312
|
message: "组织编码不能为空",
|
|
1292
1313
|
});
|
|
1293
|
-
return
|
|
1314
|
+
return;
|
|
1294
1315
|
}
|
|
1295
|
-
let modelOrders = item.modelOrders??"";
|
|
1316
|
+
let modelOrders = item.modelOrders ?? "";
|
|
1296
1317
|
|
|
1297
1318
|
let serveName = item.serveName;
|
|
1298
1319
|
let companyCodes = item.companyCodes;
|
|
1299
|
-
let key = serveName + "_" + companyCodes+ "_"+modelOrders;
|
|
1320
|
+
let key = serveName + "_" + companyCodes + "_" + modelOrders;
|
|
1300
1321
|
if (!map[key]) {
|
|
1301
1322
|
map[key] = true;
|
|
1302
1323
|
} else {
|
|
@@ -1344,6 +1365,15 @@ $\{wf.starterName\}提交的$\{pm_product_project.product_code\}$\{pm_product_pr
|
|
|
1344
1365
|
item.companyCodes = row.bdCompanyCode;
|
|
1345
1366
|
}
|
|
1346
1367
|
},
|
|
1368
|
+
addOtherTab() {
|
|
1369
|
+
if (!this.formConfig.otherTabList) {
|
|
1370
|
+
this.$set(this.formConfig, "otherTabList", []);
|
|
1371
|
+
}
|
|
1372
|
+
this.formConfig.otherTabList.push({
|
|
1373
|
+
label: null,
|
|
1374
|
+
formCode: null,
|
|
1375
|
+
});
|
|
1376
|
+
},
|
|
1347
1377
|
},
|
|
1348
1378
|
};
|
|
1349
1379
|
</script>
|