cloud-web-corejs 1.0.131 → 1.0.133

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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/components/tempStorage/index.vue +70 -52
  3. package/src/components/tempStorage/tempStorageDialog.vue +178 -53
  4. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +86 -64
  5. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4 -1
  6. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +239 -1
  7. package/src/views/bd/setting/bd_company_env/edit.vue +100 -70
  8. package/src/views/bd/setting/config_manage/list.vue +20 -5
  9. package/src/views/bd/setting/form_import_log/list.vue +1 -0
  10. package/src/views/bd/setting/logic_param/edit.vue +146 -0
  11. package/src/views/bd/setting/logic_param/edit1.vue +106 -0
  12. package/src/views/bd/setting/logic_param/edit2.vue +122 -0
  13. package/src/views/bd/setting/logic_param/list.vue +74 -0
  14. package/src/views/bd/setting/logic_param/list1.vue +12 -0
  15. package/src/views/bd/setting/logic_param/list2.vue +12 -0
  16. package/src/views/bd/setting/logic_param/mixins/edit.js +93 -0
  17. package/src/views/bd/setting/logic_param/mixins/list.js +358 -0
  18. package/src/views/bd/setting/push_data/edit.vue +139 -0
  19. package/src/views/bd/setting/push_data/list.vue +283 -0
  20. package/src/views/bd/setting/push_data_h/edit.vue +153 -0
  21. package/src/views/bd/setting/push_data_h/list.vue +293 -0
  22. package/src/views/bd/setting/request_async_setting/edit.vue +320 -0
  23. package/src/views/bd/setting/request_async_setting/list.vue +372 -0
  24. package/src/views/bd/setting/request_setting/edit.vue +300 -0
  25. package/src/views/bd/setting/request_setting/list.vue +311 -0
  26. package/src/views/user/fieldTranslation/editDialog.vue +7 -7
  27. package/src/views/user/fieldTranslation/list.vue +32 -32
  28. package/src/views/user/project_tag/dialog.vue +9 -4
  29. package/src/views/user/project_tag/edit.vue +2 -2
  30. package/src/views/user/project_tag/list.vue +2 -2
  31. package/src/views/user/request_setting/edit.vue +258 -0
  32. package/src/views/user/request_setting/list.vue +248 -0
@@ -0,0 +1,372 @@
1
+ <template>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box" @tab-click="changeActiveName">
4
+ <el-tab-pane :label="$t1('常规')" name="first">
5
+ <component
6
+ v-if="showEdit"
7
+ visible-key="showEdit"
8
+ :is="editComponentName"
9
+ :_dataId.sync="dataId"
10
+ :serverName="serverName"
11
+ :parent-target="_self"
12
+ @reload="$reloadHandle"
13
+ ></component>
14
+ </el-tab-pane>
15
+ <el-tab-pane :label="$t1('异步推送数据设置')" name="second">
16
+ <div class="grid-height">
17
+ <vxe-grid
18
+ ref="table-m1"
19
+ v-bind="vxeOption"
20
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
+ @custom="$vxeTableUtil.customHandle"
22
+ >
23
+ <template #form>
24
+ <div class="clearfix screen-btns">
25
+ <div class="fl">
26
+ <vxe-button
27
+ status="primary"
28
+ class="button-sty"
29
+ icon="el-icon-plus"
30
+ @click="openEditDialog"
31
+ >
32
+ {{ $t1("新增") }}
33
+ </vxe-button>
34
+ </div>
35
+ <div class="fr">
36
+ <vxe-button
37
+ icon="el-icon-brush"
38
+ class="button-sty"
39
+ @click="resetEvent"
40
+ type="text"
41
+ status="primary"
42
+ plain
43
+ >{{ $t1("重置") }}
44
+ </vxe-button>
45
+ <vxe-button
46
+ status="warning"
47
+ icon="el-icon-search"
48
+ class="button-sty"
49
+ @click="searchEvent"
50
+ >
51
+ {{ $t1("搜索") }}
52
+ </vxe-button>
53
+ </div>
54
+ </div>
55
+ <vxe-form
56
+ ref="form"
57
+ class="screen-box"
58
+ title-width="92px"
59
+ title-align="right"
60
+ :data="formData"
61
+ @submit="searchEvent"
62
+ @reset="searchEvent"
63
+ >
64
+ <vxe-form-item title="推送编码:" field="reqCode">
65
+ <template v-slot>
66
+ <el-input v-model="formData.reqCode" size="small" clearable />
67
+ </template>
68
+ </vxe-form-item>
69
+ <vxe-form-item title="推送名称:" field="reqName">
70
+ <template v-slot>
71
+ <el-input v-model="formData.reqName" size="small" clearable />
72
+ </template>
73
+ </vxe-form-item>
74
+ <vxe-form-item title="执行组织编码:" field="exeCompanyCode">
75
+ <template v-slot>
76
+ <el-input v-model="formData.exeCompanyCode" size="small" clearable />
77
+ </template>
78
+ </vxe-form-item>
79
+ <vxe-form-item title="是否启用:" field="enabled">
80
+ <template v-slot>
81
+ <el-select v-model="formData.enabled" clearable>
82
+ <el-option :value="true" label="启用"></el-option>
83
+ <el-option :value="false" label="禁用"></el-option>
84
+ </el-select>
85
+ </template>
86
+ </vxe-form-item>
87
+ </vxe-form>
88
+ </template>
89
+ </vxe-grid>
90
+ </div>
91
+ </el-tab-pane>
92
+ <el-tab-pane :label="$t1('在途推送数据')" name="pushData">
93
+ <div class="grid-height">
94
+ <push_data_list
95
+ @openEditDialog="openPushDataEditView"
96
+ v-if="showPushDataList"
97
+ ></push_data_list>
98
+ </div>
99
+ </el-tab-pane>
100
+ <el-tab-pane :label="$t1('历史推送数据')" name="pushDataH">
101
+ <div class="grid-height">
102
+ <push_data_h_list
103
+ @openEditDialog="openPushDataHEditView"
104
+ v-if="showPushDataHList"
105
+ ></push_data_h_list>
106
+ </div>
107
+ </el-tab-pane>
108
+ </el-tabs>
109
+ </div>
110
+ </template>
111
+
112
+ <script>
113
+ import editView from "./edit.vue";
114
+ import push_data_edit from "../push_data/edit.vue";
115
+ import push_data_h_edit from "../push_data_h/edit.vue";
116
+ import push_data_list from "../push_data/list.vue";
117
+ import push_data_h_list from "../push_data_h/list.vue";
118
+
119
+ export default {
120
+ name: "request_async_setting:list",
121
+ components: {
122
+ editView,
123
+ push_data_list,
124
+ push_data_edit,
125
+ push_data_h_list,
126
+ push_data_h_edit,
127
+ },
128
+ data() {
129
+ return {
130
+ activeName: "second",
131
+ dataId: 0,
132
+ copyId: 0,
133
+ showEdit: false,
134
+ showAdvancedSearch: false,
135
+ vxeOption: {},
136
+ formData: {},
137
+ advancedFormData: {},
138
+ editComponentName: null,
139
+ showPushDataList: false,
140
+ showPushDataHList: false,
141
+ serverName: null,
142
+ };
143
+ },
144
+ mounted() {
145
+ this.initTableList();
146
+ },
147
+ methods: {
148
+ searchEvent() {
149
+ this.$refs["table-m1"].commitProxy("reload");
150
+ },
151
+ resetEvent() {
152
+ this.formData = {};
153
+ this.advancedFormData = {};
154
+ this.$refs["table-m1"].commitProxy("reload");
155
+ },
156
+ openEditDialog(id) {
157
+ this.copyId = 0;
158
+ this.dataId = !id || typeof id == "object" ? 0 : id;
159
+ this.editComponentName = "editView";
160
+ this.serverName = null;
161
+ this.activeName = "first";
162
+ this.$openEditView("showEdit");
163
+ },
164
+ openPushDataEditView(id, serverName) {
165
+ this.dataId = !id || typeof id == "object" ? 0 : id;
166
+ this.editComponentName = "push_data_edit";
167
+ this.serverName = serverName;
168
+ this.activeName = "first";
169
+ this.$openEditView("showEdit");
170
+ },
171
+ openPushDataHEditView(id, serverName) {
172
+ this.dataId = !id || typeof id == "object" ? 0 : id;
173
+ this.editComponentName = "push_data_h_edit";
174
+ this.serverName = serverName;
175
+ this.activeName = "first";
176
+ this.$openEditView("showEdit");
177
+ },
178
+ initTableList() {
179
+ let that = this;
180
+ let pushTypeMap = { 0: "异步推送", 1: "同步调用" };
181
+ let tableOption = {
182
+ vue: this,
183
+ tableRef: "table-m1",
184
+ tableName: "bd_request_async_setting_list-m1",
185
+ path: USER_PREFIX + "/request_async_setting/listPage",
186
+ param: () => {
187
+ return {
188
+ ...this.formData,
189
+ ...this.advancedFormData,
190
+ };
191
+ },
192
+ columns: [
193
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
194
+ {
195
+ title: "推送名称",
196
+ field: "reqName",
197
+ width: 150,
198
+ fixed: "left",
199
+ },
200
+ {
201
+ title: "推送编码",
202
+ field: "reqCode",
203
+ width: 150,
204
+ fixed: "left",
205
+ },
206
+ {
207
+ title: "请求Url",
208
+ field: "url",
209
+ width: 150,
210
+ },
211
+ {
212
+ title: "请求头",
213
+ field: "header",
214
+ width: 150,
215
+ },
216
+ /*{
217
+ title: '连接超时',
218
+ field: 'connectTimeout',
219
+ width: 150
220
+ },
221
+ {
222
+ title: '读取超时',
223
+ field: 'readTimeout',
224
+ width: 150
225
+ },*/
226
+ {
227
+ field: "enabled",
228
+ title: this.$t1("是否启用"),
229
+ width: 150,
230
+ slots: {
231
+ default: ({ row }) => {
232
+ if (row.enabled) {
233
+ return [
234
+ <div class="txt-status">
235
+ <span>启用</span>
236
+ </div>,
237
+ ];
238
+ } else {
239
+ return [
240
+ <div class="txt-status disable">
241
+ <span>禁用</span>
242
+ </div>,
243
+ ];
244
+ }
245
+ },
246
+ },
247
+ },
248
+ {
249
+ title: "调度任务编码",
250
+ field: "taskCode",
251
+ width: 150,
252
+ },
253
+ {
254
+ title: "备注",
255
+ field: "remark",
256
+ width: 150,
257
+ },
258
+ {
259
+ title: "执行组织编码",
260
+ field: "exeCompanyCode",
261
+ width: 150,
262
+ },
263
+ {
264
+ field: "enabled",
265
+ title: this.$t1("是否启用"),
266
+ width: 150,
267
+ slots: {
268
+ default: ({ row }) => {
269
+ if (row.enabled) {
270
+ return [
271
+ <div class="txt-status">
272
+ <span>启用</span>
273
+ </div>,
274
+ ];
275
+ } else {
276
+ return [
277
+ <div class="txt-status disable">
278
+ <span>禁用</span>
279
+ </div>,
280
+ ];
281
+ }
282
+ },
283
+ },
284
+ },
285
+ {
286
+ title: "参数1",
287
+ field: "param1",
288
+ width: 150,
289
+ },
290
+ {
291
+ title: "参数2",
292
+ field: "param2",
293
+ width: 150,
294
+ },
295
+ {
296
+ title: "参数3",
297
+ field: "param3",
298
+ width: 150,
299
+ },
300
+ {
301
+ title: "参数4",
302
+ field: "param4",
303
+ width: 150,
304
+ },
305
+ {
306
+ field: "createBy",
307
+ title: this.$t1("创建人"),
308
+ width: 150,
309
+ },
310
+ {
311
+ field: "createDate",
312
+ title: this.$t1("创建时间"),
313
+ width: 150,
314
+ },
315
+ {
316
+ field: "modifyBy",
317
+ title: this.$t1("更新人"),
318
+ width: 150,
319
+ },
320
+ {
321
+ field: "modifyDate",
322
+ title: this.$t1("更新时间"),
323
+ width: 150,
324
+ },
325
+ {
326
+ width: 47,
327
+ fixed: "right",
328
+ title: "",
329
+ sortable: false,
330
+ slots: {
331
+ default: ({ row }) => {
332
+ return [
333
+ <div>
334
+ <a
335
+ href="javascript:void(0);"
336
+ class="a-link"
337
+ onclick={() => {
338
+ this.openEditDialog(row.id);
339
+ }}
340
+ >
341
+ <el-tooltip
342
+ enterable={false}
343
+ effect="dark"
344
+ content={this.$t1("查看")}
345
+ placement="top"
346
+ popper-class="tooltip-skin"
347
+ >
348
+ <i class="el-icon-edit" />
349
+ </el-tooltip>
350
+ </a>
351
+ </div>,
352
+ ];
353
+ },
354
+ },
355
+ },
356
+ ],
357
+ };
358
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
359
+ this.vxeOption = opts;
360
+ });
361
+ },
362
+ changeActiveName() {
363
+ if (this.activeName == "pushData") {
364
+ this.showPushDataList = true;
365
+ }
366
+ if (this.activeName == "pushDataH") {
367
+ this.showPushDataHList = true;
368
+ }
369
+ },
370
+ },
371
+ };
372
+ </script>
@@ -0,0 +1,300 @@
1
+ <template>
2
+ <div class="detail-wrap">
3
+ <el-form ref="editForm" :model="requestSetting">
4
+ <div class="d-header clearfix">
5
+ <div class="fl">
6
+ <i class="el-icon-info"/>
7
+ {{ dataId ? $t1('查看同步调用接口') : $t1('新增同步调用接口') }}
8
+ </div>
9
+ <div class="fr">
10
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
11
+ {{ $t1('重置') }}
12
+ </el-button>
13
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
14
+ </el-button>
15
+ </div>
16
+ </div>
17
+ <div class="d-cont">
18
+ <div class="d-item">
19
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
20
+ <table class="table-detail">
21
+ <tbody>
22
+ <tr>
23
+ <th>
24
+ <em class="f-red">*</em>
25
+ {{ $t1('请求编码') }}
26
+ </th>
27
+ <td colspan="5">
28
+ <el-form-item prop="reqCode" :rules="[{ required: true, trigger: 'blur' }]">
29
+ <el-input type="text" autocomplete="off" v-model="requestSetting.reqCode" clearable/>
30
+ </el-form-item>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <th>
35
+ <em class="f-red">*</em>
36
+ {{ $t1('请求名称') }}
37
+ </th>
38
+ <td colspan="5">
39
+ <el-form-item prop="reqName" :rules="[{ required: true, trigger: 'blur' }]">
40
+ <el-input type="text" autocomplete="off" v-model="requestSetting.reqName" clearable/>
41
+ </el-form-item>
42
+ </td>
43
+ </tr>
44
+ <tr>
45
+ <th>
46
+ <em class="f-red">*</em>
47
+ {{ $t1('执行组织编码') }}
48
+ </th>
49
+ <td colspan="5">
50
+ <el-form-item prop="exeCompanyCode" :rules="[{ required: true, trigger: 'blur' }]">
51
+ <el-input type="text" autocomplete="off" v-model="requestSetting.exeCompanyCode" clearable/>
52
+ </el-form-item>
53
+ </td>
54
+ <td colspan="2"><span class="tips_1">{{ $t1('注:多个用逗号","隔开') }}</span></td>
55
+ </tr>
56
+ <tr>
57
+ <th>
58
+ <em class="f-red">*</em>
59
+ {{ $t1('请求Url') }}
60
+ </th>
61
+ <td colspan="7">
62
+ <el-form-item prop="url" :rules="[{ required: true, trigger: 'blur' }]">
63
+ <el-input type="text" autocomplete="off" v-model="requestSetting.url" clearable/>
64
+ </el-form-item>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <th>
69
+ {{ $t1('请求头') }}
70
+ </th>
71
+ <td colspan="7">
72
+ <el-form-item prop="header" :rules="[{ required: false, trigger: 'blur' }]">
73
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
74
+ v-model="requestSetting.header"
75
+ clearable></el-input>
76
+ </el-form-item>
77
+ </td>
78
+ </tr>
79
+ <tr>
80
+ <th>
81
+ {{ $t1('连接超时(ms)') }}
82
+ </th>
83
+ <td>
84
+ <el-form-item prop="connectTimeout" :rules="[{ required: false, trigger: 'blur' }]">
85
+ <base-input-number v-model="requestSetting.connectTimeout" clearable/>
86
+ </el-form-item>
87
+ </td>
88
+ <td colspan="2"><span class="tips_1">{{ $t1('注:不填默认10000毫秒') }}</span></td>
89
+ <th>
90
+ {{ $t1('读取超时(ms)') }}
91
+ </th>
92
+ <td>
93
+ <el-form-item prop="readTimeout" :rules="[{ required: false, trigger: 'blur' }]">
94
+ <base-input-number v-model="requestSetting.readTimeout" clearable/>
95
+ </el-form-item>
96
+ </td>
97
+ <td colspan="2"><span class="tips_1">{{ $t1('注:不填默认60000毫秒') }}</span></td>
98
+ </tr>
99
+ <tr>
100
+ <th>
101
+ <em class="f-red">*</em>
102
+ {{ $t1('是否启用') }}
103
+ </th>
104
+ <td>
105
+ <el-form-item prop="enabled" :rules="[{ required: true, trigger: 'blur' }]">
106
+ <el-radio-group v-model="requestSetting.enabled">
107
+ <el-radio :label="true">{{ $t1('启用') }}</el-radio>
108
+ <el-radio :label="false">{{ $t1('禁用') }}</el-radio>
109
+ </el-radio-group>
110
+ </el-form-item>
111
+ </td>
112
+ </tr>
113
+ <tr>
114
+ <th>
115
+ {{ $t1('备注') }}
116
+ </th>
117
+ <td colspan="7">
118
+ <el-form-item prop="remark" :rules="[{ required: false, trigger: 'blur' }]">
119
+ <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
120
+ v-model="requestSetting.remark"
121
+ clearable></el-input>
122
+ </el-form-item>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <th>
127
+ {{ $t1('参数1') }}
128
+ </th>
129
+ <td colspan="7">
130
+ <el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
131
+ <el-input type="text" autocomplete="off" v-model="requestSetting.param1" clearable/>
132
+ </el-form-item>
133
+ </td>
134
+ </tr>
135
+ <tr>
136
+ <th>
137
+ {{ $t1('参数2') }}
138
+ </th>
139
+ <td colspan="7">
140
+ <el-form-item prop="param2" :rules="[{ required: false, trigger: 'blur' }]">
141
+ <el-input type="text" autocomplete="off" v-model="requestSetting.param2" clearable/>
142
+ </el-form-item>
143
+ </td>
144
+ </tr>
145
+ <tr>
146
+ <th>
147
+ {{ $t1('参数3') }}
148
+ </th>
149
+ <td colspan="7">
150
+ <el-form-item prop="param3" :rules="[{ required: false, trigger: 'blur' }]">
151
+ <el-input type="text" autocomplete="off" v-model="requestSetting.param3" clearable/>
152
+ </el-form-item>
153
+ </td>
154
+ </tr>
155
+ <tr>
156
+ <th>
157
+ {{ $t1('参数4') }}
158
+ </th>
159
+ <td colspan="7">
160
+ <el-form-item prop="param1" :rules="[{ required: false, trigger: 'blur' }]">
161
+ <el-input type="text" autocomplete="off" v-model="requestSetting.param4" clearable/>
162
+ </el-form-item>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <th>
167
+ {{ $t1('前置脚本') }}
168
+ <scriptDescriptionButton path="static/readme/RequestSetting.txt"></scriptDescriptionButton>
169
+ <scriptTestButton :script.sync="requestSetting.preScript"></scriptTestButton>
170
+ </th>
171
+ <td colspan="7">
172
+ <el-form-item prop="preScript" :rules="[{ required: false, trigger: 'blur' }]">
173
+ <code-editor mode="java" :readonly="!1" v-model="requestSetting.preScript"
174
+ v-if="showCodeEditor"></code-editor>
175
+ </el-form-item>
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <th>
180
+ {{ $t1('后置脚本') }}
181
+ <scriptDescriptionButton path="static/readme/RequestSetting.txt"></scriptDescriptionButton>
182
+ <scriptTestButton :script.sync="requestSetting.postScript"></scriptTestButton>
183
+ </th>
184
+ <td colspan="7">
185
+ <el-form-item prop="postScript" :rules="[{ required: false, trigger: 'blur' }]">
186
+ <code-editor mode="java" :readonly="!1" v-model="requestSetting.postScript"
187
+ v-if="showCodeEditor"></code-editor>
188
+ </el-form-item>
189
+ </td>
190
+ </tr>
191
+ <tr>
192
+ <th>{{ $t1('创建人') }}</th>
193
+ <td>{{ requestSetting.createBy }}</td>
194
+ <th>{{ $t1('创建时间') }}</th>
195
+ <td>{{ requestSetting.createDate }}</td>
196
+ <th>{{ $t1('更新人') }}</th>
197
+ <td>{{ requestSetting.modifyBy }}</td>
198
+ <th>{{ $t1('更新时间') }}</th>
199
+ <td>{{ requestSetting.modifyDate }}</td>
200
+ </tr>
201
+ </tbody>
202
+ </table>
203
+ </div>
204
+ </div>
205
+ </el-form>
206
+ </div>
207
+ </template>
208
+
209
+ <script>
210
+ export default {
211
+ name: 'request_setttingEdit',
212
+ props: {
213
+ _dataId: [String, Number],
214
+ copyId: [String, Number]
215
+ },
216
+ components: {},
217
+ data() {
218
+ return {
219
+ isEdit: false,
220
+ tabIndex: 'first',
221
+ dataId: '',
222
+ requestSetting: {
223
+ enabled: true,
224
+ connectTimeout: 10000,
225
+ readTimeout: 60000,
226
+ preScript: null,
227
+ postScript: null,
228
+ exeCompanyCode: null
229
+ },
230
+ showCodeEditor: false
231
+ };
232
+ },
233
+ created() {
234
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
235
+ },
236
+ mounted() {
237
+ this.getData();
238
+ },
239
+ methods: {
240
+ getData() {
241
+ if (this.copyId) {
242
+ return;
243
+ }
244
+ if (this.dataId && !isNaN(this.dataId)) {
245
+ this.isEdit = true;
246
+ this.$commonHttp({
247
+ url: USER_PREFIX + `/request_setting/get`,
248
+ method: `post`,
249
+ data: {
250
+ id: this.dataId
251
+ },
252
+ isLoading: true,
253
+ modalStrictly: true,
254
+ success: res => {
255
+ this.requestSetting = res.objx || {};
256
+ this.showCodeEditor = true;
257
+ }
258
+ });
259
+ } else {
260
+ this.showCodeEditor = true;
261
+ }
262
+ },
263
+ saveData() {
264
+ this.$refs.editForm.$baseValidate(valid => {
265
+ if (valid) {
266
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
267
+ var url = USER_PREFIX + (this.isEdit ? `/request_setting/update` : `/request_setting/save`);
268
+ this.$http({
269
+ url: url,
270
+ method: `post`,
271
+ data: this.requestSetting,
272
+ isLoading: true,
273
+ success: res => {
274
+ this.$message({
275
+ message: res.content,
276
+ type: 'success',
277
+ duration: 500,
278
+ onClose: t => {
279
+ if (this.isEdit) {
280
+ this.$baseReload();
281
+ } else {
282
+ this.$baseReload({
283
+ updateParam: {
284
+ _dataId: res.objx,
285
+ copyId: null
286
+ }
287
+ });
288
+ }
289
+ }
290
+ });
291
+ }
292
+ });
293
+ });
294
+ }
295
+ });
296
+ }
297
+ }
298
+ };
299
+
300
+ </script>