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,283 @@
1
+ <template>
2
+ <vxe-grid ref="table-m1" v-bind="vxeOption" @resizable-change="$vxeTableUtil.onColumnWitchChange"
3
+ @custom="$vxeTableUtil.customHandle">
4
+ <template #form>
5
+ <div class="clearfix screen-btns">
6
+ <div class="fl">
7
+ <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog()">
8
+ {{ $t1('新增') }}
9
+ </vxe-button>
10
+ </div>
11
+ <div class="fr">
12
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
13
+ plain>{{ $t1('重置') }}
14
+ </vxe-button>
15
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
16
+ {{ $t1('搜索') }}
17
+ </vxe-button>
18
+ </div>
19
+ </div>
20
+ <vxe-form ref="form" class="screen-box" title-width="92px" title-align="right" :data="formData"
21
+ @submit="searchEvent" @reset="searchEvent">
22
+ <vxe-form-item :title="$t1('服务名')+':'">
23
+ <template v-slot>
24
+ <el-select v-model="serverName">
25
+ <el-option v-for="(serviceId,index) in serviceIds" :key="index" :value="serviceId"
26
+ :label="serviceId" @change="searchEvent"></el-option>
27
+ </el-select>
28
+ </template>
29
+ </vxe-form-item>
30
+ <vxe-form-item :title="$t1('任务编码')+':'">
31
+ <template v-slot>
32
+ <el-input v-model="formData.taskCode" size="small" clearable/>
33
+ </template>
34
+ </vxe-form-item>
35
+ <vxe-form-item :title="$t1('数据唯一标识')+':'">
36
+ <template v-slot>
37
+ <el-input v-model="formData.sid" size="small" clearable/>
38
+ </template>
39
+ </vxe-form-item>
40
+ <vxe-form-item title="查询时间:">
41
+ <template v-slot>
42
+ <el-date-picker
43
+ v-model="formData.startTime"
44
+ type="datetime"
45
+ placeholder=""
46
+ size="small"
47
+ clearable
48
+ value-format="yyyy-MM-dd HH:mm:ss"
49
+ :picker-options="$baseStartPickerOptions(formData.endTime)"
50
+ ></el-date-picker>
51
+ <span>-</span>
52
+ <el-date-picker
53
+ v-model="formData.endTime"
54
+ type="datetime"
55
+ placeholder=""
56
+ size="small"
57
+ clearable
58
+ value-format="yyyy-MM-dd HH:mm:ss"
59
+ default-time="23:59:59"
60
+ :picker-options="$baseEndPickerOptions(formData.startTime)"
61
+ ></el-date-picker>
62
+ </template>
63
+ </vxe-form-item>
64
+ </vxe-form>
65
+ </template>
66
+ </vxe-grid>
67
+ </template>
68
+
69
+ <script>
70
+ import editView from './edit.vue';
71
+
72
+ export default {
73
+ name: 'push_data:list',
74
+ components: {editView},
75
+ data() {
76
+ return {
77
+ activeName: 'second',
78
+ dataId: 0,
79
+ copyId: 0,
80
+ showEdit: false,
81
+ showAdvancedSearch: false,
82
+ vxeOption: {},
83
+ formData: {},
84
+ advancedFormData: {},
85
+ serviceIds: [],
86
+ serverName: null,
87
+ editServerName: null
88
+ };
89
+ },
90
+ computed: {
91
+ current_prefix() {
92
+ return this.serverName ? `/${this.serverName}` : "";
93
+ }
94
+ },
95
+ mounted() {
96
+ this.getServiceIds(() => {
97
+ this.initTableList();
98
+ })
99
+ },
100
+ methods: {
101
+ searchEvent() {
102
+ if(!this.serverName){
103
+ this.$baseAlert(this.$t1("请选择服务名"));
104
+ return
105
+ }
106
+ this.$refs['table-m1'].commitProxy('reload');
107
+ },
108
+ resetEvent() {
109
+ if(!this.serverName){
110
+ this.$baseAlert(this.$t1("请选择服务名"));
111
+ return
112
+ }
113
+ this.formData = {};
114
+ this.$refs['table-m1'].commitProxy('reload');
115
+ },
116
+ openEditDialog(row) {
117
+ this.dataId = row?.id ?? 0;
118
+ let serverName = null;
119
+ if(row){
120
+ if(row.serverName){
121
+ let arr = row.serverName.split(":");
122
+ if(arr.length){
123
+ serverName = arr[0];
124
+ }else{
125
+ serverName = row.serverName;
126
+ }
127
+ }
128
+ }else{
129
+ serverName = this.serverName
130
+ }
131
+ this.editServerName = serverName;
132
+ this.$emit('openEditDialog', this.dataId, this.editServerName);
133
+ },
134
+ initTableList() {
135
+ let that = this;
136
+ let autoLoad = false;
137
+ let serviceIds = this.serviceIds || [];
138
+ if (serviceIds.length) {
139
+ this.serverName = serviceIds[0];
140
+ autoLoad = true;
141
+ }
142
+ let tableOption = {
143
+ vue: this,
144
+ tableRef: 'table-m1',
145
+ tableName: 'bd_push_data_list-m1',
146
+ path: ()=>{
147
+ return this.current_prefix + '/push_data/listPage';
148
+ },
149
+ param: () => {
150
+ return {
151
+ ...this.formData
152
+ }
153
+ },
154
+ columns: [
155
+ {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
156
+ {
157
+ title: 'ID',
158
+ field: 'id',
159
+ width: 100,
160
+ fixed: 'left'
161
+ },
162
+ {
163
+ title: '任务编码',
164
+ field: 'taskCode',
165
+ width: 150,
166
+ fixed: 'left'
167
+ },
168
+ {
169
+ title: '数据唯一标识',
170
+ field: 'sid',
171
+ width: 150
172
+ },
173
+ {
174
+ title: '业务方产生时间点',
175
+ field: 'generateDate',
176
+ width: 200,
177
+ },
178
+ {
179
+ title: '服务名',
180
+ field: 'serverName',
181
+ width: 150
182
+ },
183
+ {
184
+ title: '业务数据标识',
185
+ field: 'transfer',
186
+ width: 250
187
+ },
188
+ {
189
+ title: '冗余字段1',
190
+ field: 'field1',
191
+ width: 150
192
+ },
193
+ {
194
+ title: '冗余字段2',
195
+ field: 'field2',
196
+ width: 150
197
+ },
198
+ {
199
+ title: '冗余字段3',
200
+ field: 'field3',
201
+ width: 150
202
+ },
203
+ {
204
+ title: '冗余字段4',
205
+ field: 'field4',
206
+ width: 150
207
+ },
208
+ {
209
+ title: '冗余字段5',
210
+ field: 'field5',
211
+ width: 150
212
+ },
213
+ {
214
+ title: '组织编码',
215
+ field: 'callbackCompanyCode',
216
+ width: 150
217
+ },
218
+ {
219
+ title: '备注',
220
+ field: 'remark',
221
+ width: 200
222
+ },
223
+ {
224
+ field: 'createBy',
225
+ title: this.$t1('创建人'),
226
+ width: 150
227
+ },
228
+ {
229
+ field: 'createDate',
230
+ title: this.$t1('创建时间'),
231
+ width: 150
232
+ },
233
+ {
234
+ width: 47,
235
+ fixed: 'right',
236
+ title: '',
237
+ sortable: false,
238
+ slots: {
239
+ default: ({row}) => {
240
+ return [
241
+ <div>
242
+ <a
243
+ href="javascript:void(0);"
244
+ class="a-link"
245
+ onclick={() => {
246
+ this.openEditDialog(row);
247
+ }}
248
+ >
249
+ <el-tooltip enterable={false} effect="dark" content={this.$t1('查看')} placement="top"
250
+ popper-class="tooltip-skin">
251
+ <i class="el-icon-edit"/>
252
+ </el-tooltip>
253
+ </a>
254
+ </div>
255
+ ];
256
+ }
257
+ }
258
+ }
259
+ ],
260
+ config: {
261
+ proxyConfig: {
262
+ autoLoad: autoLoad
263
+ }
264
+ }
265
+ };
266
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
267
+ this.vxeOption = opts;
268
+ });
269
+ },
270
+ getServiceIds(callback) {
271
+ this.$http({
272
+ url: USER_PREFIX + `/wf_obj_config/wfServiceIds`,
273
+ method: `post`,
274
+ data: {},
275
+ success: res => {
276
+ this.serviceIds = res.objx || [];
277
+ callback && callback()
278
+ }
279
+ });
280
+ }
281
+ }
282
+ };
283
+ </script>
@@ -0,0 +1,153 @@
1
+ <template>
2
+ <div class="detail-wrap">
3
+ <el-form ref="editForm" :model="pushDataH">
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
+ </div>
14
+ </div>
15
+ <baseTabs>
16
+ <baseTabPane :label="$t1('基本信息')">
17
+ <template #default>
18
+ <table class="table-detail">
19
+ <tbody>
20
+ <tr>
21
+ <th>{{ $t1('ID') }}</th>
22
+ <td>{{ pushDataH.id }}</td>
23
+ <th>{{ $t1('任务编码') }}</th>
24
+ <td>{{ pushDataH.taskCode }}</td>
25
+ <th>{{ $t1('业务方产生时间点') }}</th>
26
+ <td>{{ pushDataH.generateDate }}</td>
27
+ </tr>
28
+ <tr>
29
+ <th>{{ $t1('组织编码') }}</th>
30
+ <td>{{ pushDataH.callbackCompanyCode }}</td>
31
+ <th>{{ $t1('数据唯一标识') }}</th>
32
+ <td colspan="3">{{ pushDataH.sid }}</td>
33
+ </tr>
34
+ <tr>
35
+ <th>{{ $t1('业务数据标识') }}</th>
36
+ <td colspan="7">{{ pushDataH.transfer }}</td>
37
+ </tr>
38
+ <tr>
39
+ <th>{{ $t1('推送数据') }}</th>
40
+ <td colspan="7">{{ pushDataH.data }}</td>
41
+ </tr>
42
+ <tr>
43
+ <th>{{ $t1('冗余字段1') }}</th>
44
+ <td>{{ pushDataH.field1 }}</td>
45
+ <th>{{ $t1('冗余字段2') }}</th>
46
+ <td>{{ pushDataH.field2 }}</td>
47
+ <th>{{ $t1('冗余字段3') }}</th>
48
+ <td>{{ pushDataH.field3 }}</td>
49
+ </tr>
50
+ <tr>
51
+ <th>{{ $t1('冗余字段4') }}</th>
52
+ <td>{{ pushDataH.field4 }}</td>
53
+ <th>{{ $t1('冗余字段5') }}</th>
54
+ <td>{{ pushDataH.field5 }}</td>
55
+ </tr>
56
+ <tr>
57
+ <th>{{ $t1('备注') }}</th>
58
+ <td colspan="7">{{ pushDataH.remark }}</td>
59
+ </tr>
60
+ <tr>
61
+ <th>{{ $t1('服务名') }}</th>
62
+ <td colspan="7">{{ pushDataH.serverName }}</td>
63
+ </tr>
64
+ <tr>
65
+ <th>{{ $t1('创建人') }}</th>
66
+ <td>{{ pushDataH.createBy }}</td>
67
+ <th>{{ $t1('创建时间') }}</th>
68
+ <td>{{ pushDataH.createDate }}</td>
69
+ <th class="no"></th>
70
+ <td></td>
71
+ <th class="no"></th>
72
+ <td></td>
73
+ </tr>
74
+ </tbody>
75
+ </table>
76
+ </template>
77
+ </baseTabPane>
78
+ <baseTabPane :label="$t1('写历史队列信息')">
79
+ <template #default>
80
+ <table class="table-detail">
81
+ <tbody>
82
+ <tr>
83
+ <th>{{ $t1('写历史队列时间') }}</th>
84
+ <td>{{ pushDataH.hcreateDate }}</td>
85
+ <th>{{ $t1('结果描述') }}</th>
86
+ <td colspan="7">{{ pushDataH.resultDesc }}</td>
87
+ </tr>
88
+ </tbody>
89
+ </table>
90
+ </template>
91
+ </baseTabPane>
92
+ </baseTabs>
93
+ </el-form>
94
+ </div>
95
+ </template>
96
+
97
+ <script>
98
+ export default {
99
+ name: 'push_data_hEdit',
100
+ props: {
101
+ _dataId: [String, Number],
102
+ serverName: String
103
+ },
104
+ components: {},
105
+ data() {
106
+ return {
107
+ isEdit: false,
108
+ tabIndex: 'first',
109
+ dataId: '',
110
+ pushDataH: {
111
+ enabled: true,
112
+ connectTimeout: 10000,
113
+ readTimeout: 60000,
114
+ script: null,
115
+ postScript: null,
116
+ exeCompanyCode: null
117
+ },
118
+ showCodeEditor: false
119
+ };
120
+ },
121
+ computed: {
122
+ current_prefix() {
123
+ return this.serverName ? `/${this.serverName}` : "";
124
+ }
125
+ },
126
+ created() {
127
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
128
+ },
129
+ mounted() {
130
+ this.getData();
131
+ },
132
+ methods: {
133
+ getData() {
134
+ if (this.dataId && !isNaN(this.dataId)) {
135
+ this.isEdit = true;
136
+ this.$commonHttp({
137
+ url: this.current_prefix + `/push_data_h/get`,
138
+ method: `post`,
139
+ data: {
140
+ id: this.dataId
141
+ },
142
+ isLoading: true,
143
+ modalStrictly: true,
144
+ success: res => {
145
+ this.pushDataH = res.objx || {};
146
+ }
147
+ });
148
+ }
149
+ }
150
+ }
151
+ };
152
+
153
+ </script>