cloud-web-corejs 1.0.108 → 1.0.110

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.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/mixins.js +1 -1
  3. package/src/components/VabUpload/propertiesDialog.vue +1 -1
  4. package/src/components/VabUpload/view.vue +2 -2
  5. package/src/components/baseAttachment/index.vue +49 -49
  6. package/src/components/baseAttachment/mixins.js +1 -1
  7. package/src/components/xform/form-designer/form-widget/dialog/exportDialog.vue +13 -0
  8. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +301 -0
  9. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  10. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  11. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +21 -2
  12. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +5 -3
  13. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +104 -45
  14. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  15. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +18 -17
  16. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  17. package/src/components/xform/form-designer/indexMixin.js +1 -1
  18. package/src/components/xform/form-designer/setting-panel/form-setting.vue +588 -164
  19. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +69 -10
  20. package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +3 -3
  21. package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +3 -3
  22. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +28 -0
  23. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +32 -1
  24. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +17 -2
  25. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-pane/detail-pane-editor.vue +3 -3
  26. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +35 -20
  27. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +2 -2
  28. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +4 -0
  29. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +1 -1
  30. package/src/components/xform/form-designer/setting-panel/property-editor/formulaEnabled-editor.vue +1 -1
  31. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +20 -11
  32. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +1 -1
  33. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
  34. package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +1 -1
  35. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +23 -23
  36. package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +3 -3
  37. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +161 -74
  38. package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +2 -2
  39. package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +2 -2
  40. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +236 -92
  41. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +74 -31
  42. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +10 -9
  43. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +52 -17
  44. package/src/components/xform/form-render/container-item/data-table-item.vue +1 -1
  45. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  46. package/src/components/xform/form-render/container-item/detail-pane-item.vue +17 -3
  47. package/src/components/xform/form-render/index.vue +4 -1
  48. package/src/components/xform/form-render/indexMixin.js +2 -1
  49. package/src/components/xform/mixins/defaultHandle.js +1 -1
  50. package/src/components/xform/mixins/scriptHttp.js +1 -1
  51. package/src/components/xform/utils/util.js +1 -1
  52. package/src/components/xform/utils/validators.js +1 -5
  53. package/src/store/config/index.js +1 -1
  54. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -0
  55. package/src/views/bd/setting/bd_company_env/edit.vue +163 -0
  56. package/src/views/bd/setting/bd_company_env/list.vue +175 -0
  57. package/src/views/bd/setting/config_manage/list.vue +51 -0
  58. package/src/views/user/wf/wf_manage/list.vue +29 -0
@@ -1,17 +1,28 @@
1
1
  <template>
2
2
  <div>
3
- <!-- <el-form-item :label="i18nt('有流程可编辑')">
3
+ <!-- <el-form-item :label="i18nt('有流程可编辑')">
4
4
  <el-switch v-model="optionModel.enabledByWf" @change="changeEnabledByWf"></el-switch>
5
5
  </el-form-item>
6
6
  <el-form-item :label="i18nt('有流程隐藏')">
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 v-model="optionModel.wfEdit" @change="changeWfEdit"></el-switch>
10
+ <el-switch
11
+ v-model="optionModel.wfEdit"
12
+ @change="changeWfEdit"
13
+ ></el-switch>
11
14
  </el-form-item>
12
15
  <el-form-item :label="i18nt('流程节点信息')">
13
- <a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog">
14
- <span>{{ optionModel.wfConfigData && optionModel.wfConfigData.length ? "已维护" : "" }}</span>
16
+ <a
17
+ href="javascript:void(0);"
18
+ class="a-link link-oneLind"
19
+ @click="openDialog"
20
+ >
21
+ <span>{{
22
+ optionModel.wfConfigData && optionModel.wfConfigData.length
23
+ ? "已维护"
24
+ : ""
25
+ }}</span>
15
26
  <i class="el-icon-edit"></i>
16
27
  </a>
17
28
  </el-form-item>
@@ -19,8 +30,17 @@
19
30
  <el-switch v-model="optionModel.wfModifyDataEnabled"></el-switch>
20
31
  </el-form-item>
21
32
  <el-form-item :label="i18nt('更改业务数据信息')">
22
- <a href="javascript:void(0);" class="a-link link-oneLind" @click="openDialog2">
23
- <span>{{ optionModel.wfModifyDataConfig && optionModel.wfModifyDataConfig.length ? "已维护" : "" }}</span>
33
+ <a
34
+ href="javascript:void(0);"
35
+ class="a-link link-oneLind"
36
+ @click="openDialog2"
37
+ >
38
+ <span>{{
39
+ optionModel.wfModifyDataConfig &&
40
+ optionModel.wfModifyDataConfig.length
41
+ ? "已维护"
42
+ : ""
43
+ }}</span>
24
44
  <i class="el-icon-edit"></i>
25
45
  </a>
26
46
  </el-form-item>
@@ -40,7 +60,7 @@
40
60
  v-dialog-drag
41
61
  :fullscreen="true"
42
62
  >
43
- <div class="cont" style="padding-bottom: 8px;">
63
+ <div class="cont" style="padding-bottom: 8px">
44
64
  <el-table
45
65
  ref="singleTable"
46
66
  width="100%"
@@ -49,53 +69,78 @@
49
69
  border=""
50
70
  row-key="columnId"
51
71
  stripe=""
52
- style="margin-bottom: 0px;"
72
+ style="margin-bottom: 0px"
53
73
  >
54
- <el-table-column type="index" width="35" fixed="left"></el-table-column>
55
- <el-table-column :label="i18nt('服务')" width="150">
56
- <template slot-scope="{row}">
57
- <el-select v-model="row.serveType" @change="changeServeType(row)">
58
- <el-option :value="1" label="正式"></el-option>
59
- <el-option :value="2" label="UAT"></el-option>
60
- <el-option :value="3" label="测试"></el-option>
61
- <el-option :value="4" label="自定义"></el-option>
62
- </el-select>
63
- </template>
64
- </el-table-column>
65
- <el-table-column :label="i18nt('自定义服务')" width="150">
66
- <template slot-scope="{row}">
67
- <el-input v-model="row.serveName" clearable :disabled="row.serveType!==4"></el-input>
74
+ <el-table-column
75
+ type="index"
76
+ width="35"
77
+ fixed="left"
78
+ ></el-table-column>
79
+ <el-table-column :label="i18nt('组织编码')" width="250">
80
+ <template slot-scope="{ row, $index }">
81
+ <el-input
82
+ class="search-input"
83
+ max="200"
84
+ v-model="row.companyCodes"
85
+ @clear="clearBdCompanyEnv(row)"
86
+ v-el-readonly
87
+ clearable
88
+ >
89
+ <i
90
+ slot="suffix"
91
+ class="el-input__icon el-icon-search"
92
+ @click="openBdCompanyEnvDialog($index)"
93
+ ></i>
94
+ </el-input>
68
95
  </template>
69
96
  </el-table-column>
70
- <el-table-column :label="i18nt('组织编码')" width="250">
71
- <template slot-scope="{row,$index}">
72
- <el-input v-model="row.companyCodes" clearable></el-input>
97
+ <el-table-column :label="i18nt('服务名称')" width="150">
98
+ <template slot-scope="{ row }">
99
+ {{ row.serveName }}
73
100
  </template>
74
101
  </el-table-column>
75
- <el-table-column :label="i18nt('流程模板编码')" width="150">
76
- <template slot-scope="{row}">
102
+ <!-- <el-table-column :label="i18nt('流程模板编码')" width="150">
103
+ <template slot-scope="{ row }">
77
104
  <el-input v-model="row.modelKey" clearable></el-input>
78
105
  </template>
106
+ </el-table-column> -->
107
+ <el-table-column :label="i18nt('流程模板序号')" width="150">
108
+ <template slot-scope="{ row }">
109
+ <base-input-number v-model="row.modelOrders" clearable></base-input-number>
110
+ </template>
79
111
  </el-table-column>
80
- <el-table-column :label="i18nt('节点步骤')" width="250">
81
- <template slot-scope="{row}">
112
+ <el-table-column
113
+ :label="i18nt('节点步骤(多个值用“,”隔开)')"
114
+ width="250"
115
+ >
116
+ <template slot-scope="{ row }">
82
117
  <el-input v-model="row.taskSteps" clearable></el-input>
83
118
  </template>
84
119
  </el-table-column>
85
120
  <el-table-column :label="i18nt('设置')" width="150">
86
- <template slot-scope="{row}">
87
- <el-select v-model="row.type" clearable>
121
+ <template slot-scope="{ row }">
122
+ <el-select v-model="row.type">
88
123
  <el-option :value="1" label="可编辑"></el-option>
89
- <el-option :value="2" label="仅显示"></el-option>
90
- <el-option :value="3" label="隐藏"></el-option>
124
+ <!-- <el-option :value="2" label="仅显示"></el-option>
125
+ <el-option :value="3" label="隐藏"></el-option>-->
91
126
  </el-select>
92
127
  </template>
93
128
  </el-table-column>
94
- <el-table-column :label="i18nt('designer.setting.actionColumn')" width="100" align="center">
129
+ <el-table-column
130
+ :label="i18nt('designer.setting.actionColumn')"
131
+ width="100"
132
+ align="center"
133
+ >
95
134
  <template #header>
96
- <span>{{ i18nt('designer.setting.actionColumn') }}</span>
97
- <el-button :title="i18nt('designer.setting.addTableColumn')" size="mini" type="" circle=""
98
- icon="el-icon-plus" @click="addItem"></el-button>
135
+ <span>{{ i18nt("designer.setting.actionColumn") }}</span>
136
+ <el-button
137
+ :title="i18nt('designer.setting.addTableColumn')"
138
+ size="mini"
139
+ type=""
140
+ circle=""
141
+ icon="el-icon-plus"
142
+ @click="addItem"
143
+ ></el-button>
99
144
  </template>
100
145
  <template slot-scope="scope">
101
146
  <el-button
@@ -104,19 +149,27 @@
104
149
  type=""
105
150
  circle=""
106
151
  icon="el-icon-minus"
107
- @click="tableData.splice(scope.$index,1)"
152
+ @click="tableData.splice(scope.$index, 1)"
108
153
  ></el-button>
109
154
  </template>
110
155
  </el-table-column>
111
-
112
156
  </el-table>
113
157
  </div>
114
158
  <div class="dialog-footer" slot="footer">
115
- <el-button @click="dialogVisible = false" class="button-sty" icon="el-icon-close">
116
- {{ i18nt('designer.hint.cancel') }}
159
+ <el-button
160
+ @click="dialogVisible = false"
161
+ class="button-sty"
162
+ icon="el-icon-close"
163
+ >
164
+ {{ i18nt("designer.hint.cancel") }}
117
165
  </el-button>
118
- <el-button type="primary" @click="colSubmit" class="button-sty" icon="el-icon-check">
119
- {{ i18nt('designer.hint.confirm') }}
166
+ <el-button
167
+ type="primary"
168
+ @click="colSubmit"
169
+ class="button-sty"
170
+ icon="el-icon-check"
171
+ >
172
+ {{ i18nt("designer.hint.confirm") }}
120
173
  </el-button>
121
174
  </div>
122
175
  </el-dialog>
@@ -135,7 +188,7 @@
135
188
  top="5vh"
136
189
  v-dialog-drag
137
190
  >
138
- <div class="cont" style="padding-bottom: 8px;">
191
+ <div class="cont" style="padding-bottom: 8px">
139
192
  <el-table
140
193
  ref="singleTable"
141
194
  width="100%"
@@ -144,11 +197,15 @@
144
197
  border=""
145
198
  row-key="columnId"
146
199
  stripe=""
147
- style="margin-bottom: 0px;"
200
+ style="margin-bottom: 0px"
148
201
  >
149
- <el-table-column type="index" width="35" fixed="left"></el-table-column>
202
+ <el-table-column
203
+ type="index"
204
+ width="35"
205
+ fixed="left"
206
+ ></el-table-column>
150
207
  <el-table-column :label="i18nt('流程动作')" width="150">
151
- <template slot-scope="{row}">
208
+ <template slot-scope="{ row }">
152
209
  <el-select v-model="row.action">
153
210
  <el-option value="start" label="流程启动"></el-option>
154
211
  <el-option value="interrupt" label="流程中断"></el-option>
@@ -166,7 +223,7 @@
166
223
  </template>
167
224
  </el-table-column>-->
168
225
  <el-table-column :label="i18nt('设置的值')" width="650">
169
- <template slot-scope="{row}">
226
+ <template slot-scope="{ row }">
170
227
  <el-input v-model="row.toValue" clearable></el-input>
171
228
  <!-- <el-input v-model="row.toValue" clearable v-if="row.valueType==1"></el-input>
172
229
  <base-input-number v-model="row.toValue" clearable v-else-if="row.valueType==2"></base-input-number>
@@ -174,14 +231,23 @@
174
231
  <el-radio :label="true">true</el-radio>
175
232
  <el-radio :label="false">false</el-radio>
176
233
  </el-radio-group>-->
177
-
178
234
  </template>
179
235
  </el-table-column>
180
- <el-table-column :label="i18nt('designer.setting.actionColumn')" width="100" align="center">
236
+ <el-table-column
237
+ :label="i18nt('designer.setting.actionColumn')"
238
+ width="100"
239
+ align="center"
240
+ >
181
241
  <template #header>
182
- <span>{{ i18nt('designer.setting.actionColumn') }}</span>
183
- <el-button :title="i18nt('designer.setting.addTableColumn')" size="mini" type="" circle=""
184
- icon="el-icon-plus" @click="addItem2"></el-button>
242
+ <span>{{ i18nt("designer.setting.actionColumn") }}</span>
243
+ <el-button
244
+ :title="i18nt('designer.setting.addTableColumn')"
245
+ size="mini"
246
+ type=""
247
+ circle=""
248
+ icon="el-icon-plus"
249
+ @click="addItem2"
250
+ ></el-button>
185
251
  </template>
186
252
  <template slot-scope="scope">
187
253
  <el-button
@@ -190,35 +256,56 @@
190
256
  type=""
191
257
  circle=""
192
258
  icon="el-icon-minus"
193
- @click="tableData2.splice(scope.$index,1)"
259
+ @click="tableData2.splice(scope.$index, 1)"
194
260
  ></el-button>
195
261
  </template>
196
262
  </el-table-column>
197
-
198
263
  </el-table>
199
264
  </div>
200
265
  <div class="dialog-footer" slot="footer">
201
- <el-button @click="dialogVisible2 = false" class="button-sty" icon="el-icon-close">
202
- {{ i18nt('designer.hint.cancel') }}
266
+ <el-button
267
+ @click="dialogVisible2 = false"
268
+ class="button-sty"
269
+ icon="el-icon-close"
270
+ >
271
+ {{ i18nt("designer.hint.cancel") }}
203
272
  </el-button>
204
- <el-button type="primary" @click="colSubmit2" class="button-sty" icon="el-icon-check">
205
- {{ i18nt('designer.hint.confirm') }}
273
+ <el-button
274
+ type="primary"
275
+ @click="colSubmit2"
276
+ class="button-sty"
277
+ icon="el-icon-check"
278
+ >
279
+ {{ i18nt("designer.hint.confirm") }}
206
280
  </el-button>
207
281
  </div>
208
282
  </el-dialog>
209
- <companyInfoDialog v-if="showCompanyInfoDialog" :visiable.sync="showCompanyInfoDialog"
210
- @confirm="confirmCompanyDialog" :multi="true" :allCompany="true" :rows="currentCompanyInfos"
211
- fieldKey="companyCode"/>
283
+ <companyInfoDialog
284
+ v-if="showCompanyInfoDialog"
285
+ :visiable.sync="showCompanyInfoDialog"
286
+ @confirm="confirmCompanyDialog"
287
+ :multi="true"
288
+ :allCompany="true"
289
+ :rows="currentCompanyInfos"
290
+ fieldKey="companyCode"
291
+ />
292
+ <bdCompanyEnvDialog
293
+ v-if="showBdCompanyEnvDialog"
294
+ :visiable.sync="showBdCompanyEnvDialog"
295
+ @confirm="confirmBdCompanyEnvDialog"
296
+ :multi="false"
297
+ />
212
298
  </div>
213
299
  </template>
214
300
 
215
301
  <script>
216
- import i18n from "../../../../../components/xform/utils/i18n"
302
+ import i18n from "../../../../../components/xform/utils/i18n";
217
303
  import companyInfoDialog from "@base/views/user/company_info/dialog.vue";
304
+ import bdCompanyEnvDialog from "@base/views/bd/setting/bd_company_env/dialog";
218
305
 
219
306
  export default {
220
307
  name: "wfFlag-editor",
221
- components: {companyInfoDialog},
308
+ components: { companyInfoDialog, bdCompanyEnvDialog },
222
309
  mixins: [i18n],
223
310
  props: {
224
311
  designer: Object,
@@ -239,13 +326,15 @@ export default {
239
326
 
240
327
  dialogVisible2: false,
241
328
  tableData2: [],
242
- }
329
+
330
+ showBdCompanyEnvDialog: false,
331
+ };
243
332
  },
244
333
  computed: {
245
334
  current_prefix() {
246
335
  let reportTemplate = this.getReportTemplate();
247
336
  return "/" + reportTemplate.serviceName;
248
- }
337
+ },
249
338
  },
250
339
  methods: {
251
340
  openDialog() {
@@ -253,7 +342,7 @@ export default {
253
342
  let objTypeCode = reportTemplate.objTypeCode;
254
343
  let wfConfigData = this.optionModel.wfConfigData || [];
255
344
  this.dialogVisible = true;
256
- this.tableData = this.$baseLodash.cloneDeep(wfConfigData)
345
+ this.tableData = this.$baseLodash.cloneDeep(wfConfigData);
257
346
  /*wfConfigData.forEach(item => {
258
347
  this.getWfObjConfigItem(item.modelId)
259
348
  })*/
@@ -287,22 +376,58 @@ export default {
287
376
  success: (res) => {
288
377
  let rows = res.objx || [];
289
378
  // this.wfNodeMap[modelId] = rows
290
- this.$set(this.wfNodeMap, modelId, rows)
291
- }
379
+ this.$set(this.wfNodeMap, modelId, rows);
380
+ },
292
381
  });
293
382
  },
294
383
  addItem() {
295
384
  let newItem = {
296
- type: null,
297
- serveType: null,
385
+ type: 1,
386
+ serveType: 3,
298
387
  serveName: null,
299
388
  modelKey: null,
389
+ modelOrders: undefined,
300
390
  taskSteps: null,
301
- companyCodes: null
302
- }
391
+ companyCodes: null,
392
+ };
303
393
  this.tableData.push(newItem);
304
394
  },
305
395
  colSubmit() {
396
+ let searveNameList = ["prod", "uat", "dev"];
397
+ let tableData = this.tableData;
398
+ let map = {};
399
+ for (let i = 0; i < tableData.length; i++) {
400
+ let item = tableData[i];
401
+ if (!item.serveName) {
402
+ this.$message({
403
+ type: "error",
404
+ message: "服务名称不能为空",
405
+ });
406
+ return
407
+ }
408
+ if (!item.companyCodes) {
409
+ this.$message({
410
+ type: "error",
411
+ message: "组织编码不能为空",
412
+ });
413
+ return
414
+ }
415
+ let modelOrders = item.modelOrders??"";
416
+
417
+ let serveName = item.serveName;
418
+ let companyCodes = item.companyCodes;
419
+ let key = serveName + "_" + companyCodes+ "_"+modelOrders;
420
+ if (!map[key]) {
421
+ map[key] = true;
422
+ } else {
423
+ this.$message({
424
+ type: "error",
425
+ message: "[服务+组织+流程模板序号]不能重复",
426
+ });
427
+ return;
428
+ }
429
+ }
430
+
306
431
  this.dialogVisible = !1;
307
432
  this.optionModel.wfConfigData = this.tableData;
308
433
  },
@@ -332,55 +457,74 @@ export default {
332
457
  let map = {
333
458
  1: "prod",
334
459
  2: "uat",
335
- 3: "dev"
336
- }
460
+ 3: "dev",
461
+ };
337
462
  let serveName = null;
338
463
  let serveType = row.serveType;
339
464
  if (serveType && map[serveType]) {
340
465
  serveName = map[row.serveType];
341
466
  }
467
+ if (serveType === 5) {
468
+ row.companyCodes = null;
469
+ }
342
470
  row.serveName = serveName;
343
471
  },
344
472
  openDialog2() {
345
- this.tableData2 = this.$baseLodash.cloneDeep(this.optionModel.wfModifyDataConfig || []);
473
+ this.tableData2 = this.$baseLodash.cloneDeep(
474
+ this.optionModel.wfModifyDataConfig || []
475
+ );
346
476
  this.dialogVisible2 = true;
347
477
  },
348
478
  addItem2() {
349
479
  let newItem = {
350
- action: 'start',
480
+ action: "start",
351
481
  // valueType: 1,
352
- toValue: null
353
- }
482
+ toValue: null,
483
+ };
354
484
  this.tableData2.push(newItem);
355
485
  },
356
486
  colSubmit2() {
357
487
  let isError = false;
358
- let map = {}
359
- this.tableData2.forEach(item => {
488
+ let map = {};
489
+ this.tableData2.forEach((item) => {
360
490
  let count = map[item.action] || 0;
361
491
  map[item.action] = count + 1;
362
492
  if (map[item.action] > 1) {
363
493
  isError = true;
364
494
  }
365
- })
495
+ });
366
496
  if (isError) {
367
497
  this.$message({
368
498
  message: "流程动作不能重复",
369
- type: 'error',
499
+ type: "error",
370
500
  duration: 2000,
371
- })
372
- return
501
+ });
502
+ return;
373
503
  }
374
504
  this.dialogVisible2 = !1;
375
- this.$set(this.optionModel, 'wfModifyDataConfig', this.tableData2)
505
+ this.$set(this.optionModel, "wfModifyDataConfig", this.tableData2);
376
506
  },
377
507
  changeValueType(row) {
378
508
  row.toValue = null;
379
- }
380
- }
381
- }
509
+ },
510
+ clearBdCompanyEnv(row) {
511
+ row.serveName = null;
512
+ row.companyCodes = null;
513
+ },
514
+ openBdCompanyEnvDialog(rowIndex) {
515
+ this.operateIndex = rowIndex;
516
+ this.showBdCompanyEnvDialog = true;
517
+ },
518
+ confirmBdCompanyEnvDialog(rows) {
519
+ if (rows.length) {
520
+ let row = rows[0];
521
+ let item = this.tableData[this.operateIndex];
522
+ item.serveName = row.bdService;
523
+ item.companyCodes = row.bdCompanyCode;
524
+ }
525
+ },
526
+ },
527
+ };
382
528
  </script>
383
529
 
384
- <style scoped>
385
-
386
- </style>
530
+ <style scoped></style>