cloud-web-corejs 1.0.54-dev.12 → 1.0.54-dev.15

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.
@@ -57,7 +57,7 @@
57
57
  </div>
58
58
  </label>
59
59
  <div class="multipleChoice">
60
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
60
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
61
61
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
62
62
  <div class="list">
63
63
  <div class="item" v-for="(checkRow, index) in checkRows">
@@ -67,7 +67,7 @@
67
67
  </div>
68
68
  </div>
69
69
  <span slot="footer" class="dialog-footer">
70
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
70
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
71
71
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
72
72
  <i class="el-icon-close el-icon"></i>
73
73
  取 消
@@ -87,6 +87,7 @@ export default {
87
87
  fullscreen: this.option.fullscreen,
88
88
  };
89
89
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
90
+ config.title = this.$t1(config.title);
90
91
  return config;
91
92
  },
92
93
  bodyConfig() {
@@ -81,6 +81,7 @@ export default {
81
81
  direction:"btt"
82
82
  };
83
83
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
84
+ config.title = this.$t1(config.title);
84
85
  return config;
85
86
  },
86
87
  bodyConfig() {
@@ -55,7 +55,7 @@
55
55
  </div>
56
56
  </label>
57
57
  <div class="multipleChoice">
58
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
58
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
59
59
  @click="clearChecked()"></a>
60
60
  </el-tooltip>
61
61
  <div class="list">
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  </div>
68
68
  <span slot="footer" class="dialog-footer">
69
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
69
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
70
70
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
71
71
  <i class="el-icon-close el-icon"></i>
72
72
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="表单提交"
3
+ :title="$t1('提交内容')"
4
4
  :visible.sync="showDialog"
5
5
  :modal-append-to-body="false"
6
6
  :close-on-click-modal="false"
@@ -18,7 +18,7 @@
18
18
  <th>
19
19
  <span class="t">
20
20
  <em class="f-red">*</em>
21
- {{ $t1('备注') }}
21
+ {{ $t1('内容') }}
22
22
  </span>
23
23
  </th>
24
24
  <td>
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </label>
22
22
  <div class="multipleChoice">
23
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
23
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
24
24
  class="allDel icon-quanbushanchu"
25
25
  @click="clearChecked()"></a>
26
26
  </el-tooltip>
@@ -34,14 +34,14 @@
34
34
  </div>
35
35
  </div>
36
36
  <span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
37
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
37
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
38
38
  <el-button type="primary" plain class="button-sty" @click="close">
39
39
  <i class="el-icon-close el-icon"></i>
40
- {{ $t2('取 消', 'system.button.cancel2') }}
40
+ {{ $t1('取 消') }}
41
41
  </el-button>
42
42
  <el-button type="primary" @click="dialogSubmit" class="button-sty">
43
43
  <i class="el-icon-check el-icon"></i>
44
- {{ $t2('确 定', 'system.button.confirm2') }}
44
+ {{ $t1('确 定') }}
45
45
  </el-button>
46
46
  </span>
47
47
  </el-dialog>
@@ -130,6 +130,7 @@ export default {
130
130
  fullscreen: this.option.fullscreen,
131
131
  };
132
132
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
133
+ config.title = this.$t1(config.title);
133
134
  return config;
134
135
  },
135
136
  bodyConfig() {
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </label>
55
55
  <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
56
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
57
57
  @click="clearChecked()"></a>
58
58
  </el-tooltip>
59
59
  <div class="list">
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  </div>
66
66
  <span slot="footer" class="dialog-footer">
67
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
67
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
68
68
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
69
69
  <i class="el-icon-close el-icon"></i>
70
70
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -50,8 +50,10 @@
50
50
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
51
51
  v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
52
52
  </vxe-button>
53
- <projectTagAddButton :option="addProjectTagOption" v-if="isDev && currentFormType.editAuth===1"></projectTagAddButton>
54
- <projectTagDeleteButton :option="deleteProjectTagOption" v-if="isDev && currentFormType.editAuth===1"></projectTagDeleteButton>
53
+ <projectTagAddButton :option="addProjectTagOption"
54
+ v-if="isDev && currentFormType.editAuth===1"></projectTagAddButton>
55
+ <projectTagDeleteButton :option="deleteProjectTagOption"
56
+ v-if="isDev && currentFormType.editAuth===1"></projectTagDeleteButton>
55
57
  </template>
56
58
  <template #buttonRight>
57
59
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
@@ -45,8 +45,10 @@
45
45
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
46
46
  v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
47
47
  </vxe-button>
48
- <projectTagAddButton :option="addProjectTagOption" v-if="isDev && currentFormType.editAuth===1"></projectTagAddButton>
49
- <projectTagDeleteButton :option="deleteProjectTagOption" v-if="isDev && currentFormType.editAuth===1"></projectTagDeleteButton>
48
+ <projectTagAddButton :option="addProjectTagOption"
49
+ v-if="isDev && currentFormType.editAuth===1"></projectTagAddButton>
50
+ <projectTagDeleteButton :option="deleteProjectTagOption"
51
+ v-if="isDev && currentFormType.editAuth===1"></projectTagDeleteButton>
50
52
  </template>
51
53
  <template #buttonRight>
52
54
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
@@ -116,6 +116,17 @@
116
116
  </table>
117
117
  </template>
118
118
  </baseTabPane>
119
+ <baseTabPane :label="$t1('表单分类信息')">
120
+ <template #default>
121
+ <vxe-grid
122
+ ref="table-m1"
123
+ :data="menuKindAuthDTOs"
124
+ v-bind="vxeOption"
125
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
126
+ @custom="$vxeTableUtil.customHandle"
127
+ ></vxe-grid>
128
+ </template>
129
+ </baseTabPane>
119
130
  </baseTabs>
120
131
  </el-form>
121
132
  <groudDialog v-if="showGroupDialog" :visiable.sync="showGroupDialog"
@@ -170,7 +181,6 @@ export default {
170
181
  flag: 8,
171
182
  groupCode: null
172
183
  },
173
- vxeOption: {},
174
184
  companyInfoOption: {},
175
185
  userRoleOption: {},
176
186
  showRoleDialog: false,
@@ -218,7 +228,9 @@ export default {
218
228
  showCountryDialog: false,
219
229
  userInfo: {},
220
230
  userGroups: [],
221
- showGroupDialog: false
231
+ showGroupDialog: false,
232
+ vxeOption:{},
233
+ menuKindAuthDTOs:[]
222
234
  };
223
235
  },
224
236
  computed: {
@@ -231,13 +243,11 @@ export default {
231
243
  },
232
244
  async mounted() {
233
245
 
234
- // this.getEainsGroupDTO();
235
- // await this.initOutUserRoleCode();
236
- // await this.initDistributorRole();
237
246
  this.getUserInfo()
238
247
  this.getUserGroups()
239
248
  this.getData();
240
249
  this.getConpanyInfo()
250
+ this.initTableM1();
241
251
  },
242
252
  methods: {
243
253
  getData() {
@@ -431,49 +441,6 @@ export default {
431
441
  addCurrentCompany(callback) {
432
442
  this.confirmInsertCompany([this.companyInfo], callback);
433
443
  },
434
- initDistributorRole() {
435
- if (this.outUserCodes && this.outUserCodes.length == 1) {
436
- return this.$http({
437
- url: USER_PREFIX + '/role/list',
438
- method: 'post',
439
- success: res => {
440
- let roleList = res.objx || [];
441
- let distributorCode = this.outUserCodes[0];
442
- this.distributorRole = roleList.find(item => item.code == distributorCode);
443
- }
444
- });
445
- }
446
- },
447
- async initOutUserRoleCode() {
448
- //初始化外部用户编码
449
- return this.$http({
450
- url: USER_PREFIX + '/system_parameter/getByCode',
451
- method: 'post',
452
- data: {"code": "outUserRoleCode"},
453
- success: res => {
454
- let value = (!res.objx || !res.objx.value) ? "distributor" : res.objx.value;
455
- let codes = value.split(',');
456
- this.outUserCodes = codes;//外部用户编码
457
- this.initRoleDialogParam();//初始化角色弹框的查询参数
458
- }
459
- });
460
- },
461
- initRoleDialogParam() {
462
- //初始化角色弹框的查询参数
463
- if (this.userType == 1) {
464
- //企业用户
465
- this.roleDialogParam = {
466
- queryAll: true,
467
- neCodes: [...this.outUserCodes]
468
- };
469
- } else if (this.userType == 2) {
470
- //外部用户
471
- this.roleDialogParam = {
472
- queryAll: true,
473
- eqCodes: [...this.outUserCodes]
474
- };
475
- }
476
- },
477
444
  unlock() {
478
445
  this.$baseConfirm(this.$t1('您确定要解锁吗?')).then(() => {
479
446
  var url = USER_PREFIX + '/user/unlockLoginAccount';
@@ -526,7 +493,47 @@ export default {
526
493
  this.userGroups = res.objx?.records || [];
527
494
  }
528
495
  });
529
- }
496
+ },
497
+ initTableM1() {
498
+ const tableOption = {
499
+ vue: this,
500
+ tableRef: 'table-m1',
501
+ tableName: 'edit-user-menuKind-m1',
502
+ columns: [
503
+ {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
504
+ {
505
+ title: this.$t1('表单分类名称'),
506
+ field: 'menuKindName',
507
+ width: 350,
508
+ fixed: 'left'
509
+ },
510
+ {
511
+ width: 47,
512
+ fixed: 'right',
513
+ title: '',
514
+ sortable: false
515
+ }
516
+ ]
517
+ };
518
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
519
+ this.vxeOption = opts;
520
+ });
521
+ if (this.dataId) {
522
+ this.$http({
523
+ aes: true,
524
+ url: USER_PREFIX + `/menu_kind_auth/list`,
525
+ method: `post`,
526
+ data: {
527
+ userId: this.dataId
528
+ },
529
+ isLoading: true,
530
+ modalStrictly: true,
531
+ success: res => {
532
+ this.menuKindAuthDTOs = res.objx || [];
533
+ }
534
+ });
535
+ }
536
+ },
530
537
  }
531
538
  };
532
539
  </script>
@@ -110,6 +110,9 @@
110
110
  <positionDialog v-if="showPositionDialog" :visiable.sync="showPositionDialog" @confirm="confirmPosition"/>
111
111
  <scriptDescriptionDialog path="static/readme/Wf.txt" v-if="showScriptDescriptionDialog"
112
112
  :visiable.sync="showScriptDescriptionDialog"></scriptDescriptionDialog>
113
+ <wfBizDataSettingDialog v-if="showWfBizDataSettingDialog" :visiable.sync="showWfBizDataSettingDialog"
114
+ @confirm="confirmWfBizDataSettingDialog"
115
+ :objConfigItem="objConfigItem" :serviceId="currentRow.serviceId"></wfBizDataSettingDialog>
113
116
  </div>
114
117
  </template>
115
118
  <script>
@@ -123,6 +126,8 @@ import positionDialog from '../../../../views/user/position/dialog.vue';
123
126
  import wfParamEdit from '../../../../views/user/wf/wf_param/edit'
124
127
  import scriptDescriptionDialog from '@base/components/scriptDescription/dialog'
125
128
  import wfDiyAttributeEdit from '../../../../views/user/wf/wf_diy_attribute/edit'
129
+ import wfBizDataSettingDialog from "./wfBizDataSettingDialog";
130
+
126
131
 
127
132
  export default {
128
133
  name: 'wf_obj_config:list',
@@ -133,7 +138,8 @@ export default {
133
138
  userDialog,
134
139
  positionDialog,
135
140
  scriptDescriptionDialog,
136
- wfDiyAttributeEdit
141
+ wfDiyAttributeEdit,
142
+ wfBizDataSettingDialog
137
143
  },
138
144
  created() {
139
145
  },
@@ -180,7 +186,10 @@ export default {
180
186
  wfAssignFormTemplateCallback: null,
181
187
 
182
188
  showScriptDescriptionDialog: false,
183
- showWfDiyAttributeEdit: false
189
+ showWfDiyAttributeEdit: false,
190
+
191
+ objConfigItem: null,
192
+ showWfBizDataSettingDialog: false
184
193
  };
185
194
  },
186
195
  watch: {
@@ -488,6 +497,18 @@ export default {
488
497
  popper-class="tooltip-skin">
489
498
  <i class="iconfont icon-liuchengguanli-shejiqi_liucheng"/>
490
499
  </el-tooltip>
500
+ </a>,
501
+ <a
502
+ href="javascript:void(0);"
503
+ onClick={() => {
504
+ this.openWfBizDataSettingDialog(row, this.currentRow.serviceId);
505
+ }}
506
+ class="a-link"
507
+ >
508
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('配置流程过程更改业务数据')} placement="top"
509
+ popper-class="tooltip-skin">
510
+ <i class="el-icon-setting"/>
511
+ </el-tooltip>
491
512
  </a>
492
513
  ];
493
514
  }
@@ -608,6 +629,13 @@ export default {
608
629
  this.showScriptDescriptionDialog = true;
609
630
  };
610
631
  },
632
+ openWfBizDataSettingDialog(row) {
633
+ this.objConfigItem = row;
634
+ this.showWfBizDataSettingDialog = true
635
+ },
636
+ confirmWfBizDataSettingDialog(rows) {
637
+
638
+ }
611
639
  }
612
640
  };
613
641
  </script>
@@ -0,0 +1,292 @@
1
+ <template>
2
+ <div>
3
+ <el-dialog
4
+ :title="$t1('配置流程过程更改业务数据')"
5
+ :append-to-body="true"
6
+ :modal-append-to-body="true"
7
+ :close-on-click-modal="false"
8
+ :visible.sync="showDialog"
9
+ :modal="false"
10
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
11
+ width="1200px"
12
+ @close="dialogClose"
13
+ v-el-drag-dialog
14
+ v-el-dialog-center
15
+ >
16
+ <div class="cont">
17
+ <div class="grid-height" style="height: 500px">
18
+ <vxe-grid
19
+ class="is-pointer"
20
+ ref="table-m1"
21
+ :data="tableData"
22
+ v-bind="vxeOption"
23
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
24
+ @custom="$vxeTableUtil.customHandle"
25
+ >
26
+ <template #form>
27
+ <div class="clearfix screen-btns">
28
+ <div class="fl">
29
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="addItem">
30
+ {{ $t1('新增') }}
31
+ </vxe-button>
32
+ </div>
33
+ <div class="fl screen-breadcrumb" style="margin-left: 30px;">
34
+ <span style="font-size: 12px;">{{ $t1('表单模板名称') }}:</span>
35
+ {{ objConfigItem.modelName }}
36
+ </div>
37
+ </div>
38
+ </template>
39
+ <template #user="{row,rowIndex}">
40
+ <el-input
41
+ class="search-input"
42
+ v-model="row.nickName"
43
+ clearable
44
+ @clear="
45
+ row.userId = null;
46
+ "
47
+ v-if="!row._isParent"
48
+ v-el-readonly
49
+ >
50
+ <i slot="suffix" class="el-input__icon el-icon-search" @click="openUserRowDialog(row,rowIndex)"></i>
51
+ </el-input>
52
+ <template v-else>{{ row.nickName }}</template>
53
+ </template>
54
+ <template #switch="{row,column,rowIndex}">
55
+ <el-switch v-model="row[column.field]" :key="column.field+rowIndex" :active-value="1"
56
+ :inactive-value="0" :disabled="column.params.disabled"></el-switch>
57
+ </template>
58
+ </vxe-grid>
59
+ </div>
60
+ </div>
61
+ <span slot="footer" class="dialog-footer">
62
+ <el-button type="primary" plain class="button-sty" @click="dialogClose">
63
+ <i class="el-icon-close el-icon"></i>
64
+ {{ $t1('取 消') }}
65
+ </el-button>
66
+ <el-button type="primary" @click="saveData" class="button-sty">
67
+ <i class="el-icon-check el-icon"></i>
68
+ {{ $t1('确 定') }}
69
+ </el-button>
70
+ </span>
71
+ </el-dialog>
72
+ </div>
73
+ </template>
74
+
75
+ <script>
76
+
77
+ export default {
78
+ props: {
79
+ objConfigItem: Object,
80
+ serviceId: String
81
+ },
82
+ components: {},
83
+ computed: {
84
+ current_prefix() {
85
+ return '/' + this.serviceId;
86
+ }
87
+ },
88
+ async mounted() {
89
+ this.initTableList();
90
+ },
91
+ data() {
92
+ let that = this;
93
+ return {
94
+ showDialog: true,
95
+ activeName: 'second',
96
+ value10: '',
97
+ dataId: '',
98
+ showEdit: false,
99
+ formData: {
100
+ nickName: null,
101
+ },
102
+ vxeOption: {},
103
+ showUserDialog: false,
104
+ showPositionDialog: false,
105
+ showSaleOrgDialog: false,
106
+ operateIndex: 0,
107
+ showViewDialog: false,
108
+
109
+ tableData: [],
110
+ showUserRowDialog: false,
111
+ showUserAddDialog: false,
112
+ currentRow: null,
113
+ isDev: true
114
+
115
+ };
116
+ },
117
+ methods: {
118
+ searchEvent() {
119
+ this.$refs['table-m1'].commitProxy('reload');
120
+ },
121
+ resetEvent() {
122
+ this.formData = {};
123
+ this.$refs['table-m1'].commitProxy('reload');
124
+ },
125
+ initTableList() {
126
+ let that = this;
127
+ let tableOption = {
128
+ vue: this,
129
+ tableRef: 'table-m1',
130
+ tableName: 'user_wf-objConfig-wfBizDataSetting-m1',
131
+ config: {
132
+ height: "auto"
133
+ },
134
+ columns: [
135
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
136
+ {
137
+ title: this.$t1('流程动作'),
138
+ field: 'action',
139
+ width: 150,
140
+ slots: {
141
+ default: ({row}) => {
142
+ return [
143
+ <el-select v-model={row.action} clearable>
144
+ <el-option label="流程启动" value="start"></el-option>
145
+ <el-option label="流程中断" value="interrupt"></el-option>
146
+ <el-option label="流程完成" value="end"></el-option>
147
+ </el-select>
148
+ ];
149
+ }
150
+ }
151
+ },
152
+ {
153
+ title: this.$t1('数据库表名'),
154
+ field: 'tableName',
155
+ width: 250,
156
+ slots: {
157
+ default: ({row}) => {
158
+ return [
159
+ <el-input v-model={row.tableName} clearable></el-input>
160
+ ];
161
+ }
162
+ }
163
+ },
164
+ {
165
+ title: this.$t1('数据库字段名'),
166
+ field: 'tableField',
167
+ width: 250,
168
+ slots: {
169
+ default: ({row}) => {
170
+ return [
171
+ <el-input v-model={row.tableField} clearable></el-input>
172
+ ];
173
+ }
174
+ }
175
+ },
176
+ {
177
+ title: this.$t1('设置的值'),
178
+ field: 'toValue',
179
+ width: 250,
180
+ slots: {
181
+ default: ({row}) => {
182
+ return [
183
+ <el-input v-model={row.toValue} clearable></el-input>
184
+ ];
185
+ }
186
+ }
187
+ },
188
+ {
189
+ width: 100,
190
+ fixed: 'right',
191
+ title: '',
192
+ sortable: false,
193
+ slots: {
194
+ default: ({row, rowIndex, $table}) => {
195
+ return [
196
+ <a
197
+ href="javascript:void(0);"
198
+ class="a-link"
199
+ onClick={() => {
200
+ this.tableData.splice(rowIndex, 1)
201
+ }}
202
+ >
203
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('删除')} placement="top"
204
+ popper-class="tooltip-skin">
205
+ <i class="el-icon-delete"/>
206
+ </el-tooltip>
207
+ </a>
208
+ ]
209
+ }
210
+ }
211
+ }
212
+ ]
213
+ };
214
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
215
+ this.vxeOption = opts;
216
+ });
217
+ this.initData();
218
+ },
219
+ initData() {
220
+ this.$http({
221
+ // aes: true,
222
+ url: this.current_prefix + '/wf_biz_data_setting/list',
223
+ method: `post`,
224
+ data: {
225
+ objConfigItemId: this.objConfigItem.id,
226
+ modelId: this.objConfigItem.modelId,
227
+ },
228
+ isLoading: true,
229
+ modalStrictly: true,
230
+ success: res1 => {
231
+ let tableData = res1.objx || [];
232
+ this.tableData = tableData;
233
+
234
+ }
235
+ });
236
+ },
237
+ dialogClose() {
238
+ this.showDialog = false
239
+ this.$emit('update:visiable', false)
240
+ },
241
+ dialogConfirm() {
242
+ this.$emit('confirm');
243
+ this.$emit('update:visiable', false);
244
+ },
245
+ addItem() {
246
+ let row = this.createRow();
247
+ this.tableData.push(row)
248
+ },
249
+ saveData() {
250
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
251
+ var url = this.current_prefix + `/wf_biz_data_setting/saveUpdates`;
252
+ this.$http({
253
+ aes: true,
254
+ url: url,
255
+ method: `post`,
256
+ data: {
257
+ objConfigItemId: this.objConfigItem.id,
258
+ modelId: this.objConfigItem.modelId,
259
+ wfBizDataSettingDTOs: this.tableData
260
+ },
261
+ isLoading: true,
262
+ success: res => {
263
+ this.$message({
264
+ message: res.content,
265
+ type: 'success',
266
+ duration: 500,
267
+ onClose: t => {
268
+ this.dialogConfirm()
269
+ }
270
+ });
271
+ }
272
+ });
273
+ });
274
+ },
275
+ createRow() {
276
+ let row = {
277
+ objConfigItemId: this.objConfigItem.id,
278
+ modelId: this.objConfigItem.modelId,
279
+ action: 'start',
280
+ tableName: null,
281
+ tableField: null,
282
+ toValue: null
283
+ }
284
+ return row;
285
+ }
286
+ }
287
+ }
288
+ </script>
289
+
290
+ <style scoped>
291
+
292
+ </style>