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,311 @@
1
+ <template>
2
+ <div id="containt">
3
+ <el-tabs v-model="activeName" class="tab-box">
4
+ <el-tab-pane :label="$t1('常规')" name="first">
5
+ <editView
6
+ v-if="showEdit"
7
+ visible-key="showEdit"
8
+ :_dataId.sync="dataId"
9
+ :copyId.sync="copyId"
10
+ :parent-target="_self"
11
+ @reload="$reloadHandle"
12
+ ></editView>
13
+ </el-tab-pane>
14
+ <el-tab-pane :label="$t1('列表')" name="second">
15
+ <div class="grid-height">
16
+ <vxe-grid
17
+ ref="table-m1"
18
+ v-bind="vxeOption"
19
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
20
+ @custom="$vxeTableUtil.customHandle"
21
+ >
22
+ <template #form>
23
+ <div class="clearfix screen-btns">
24
+ <div class="fl">
25
+ <vxe-button
26
+ status="primary"
27
+ class="button-sty"
28
+ icon="el-icon-plus"
29
+ @click="openEditDialog"
30
+ >{{ $t1("新增") }}
31
+ </vxe-button>
32
+ </div>
33
+ <div class="fr">
34
+ <vxe-button
35
+ icon="el-icon-brush"
36
+ class="button-sty"
37
+ @click="resetEvent"
38
+ type="text"
39
+ status="primary"
40
+ plain
41
+ >{{ $t1("重置") }}
42
+ </vxe-button>
43
+ <vxe-button
44
+ status="warning"
45
+ icon="el-icon-search"
46
+ class="button-sty"
47
+ @click="searchEvent"
48
+ >
49
+ {{ $t1("搜索") }}
50
+ </vxe-button>
51
+ </div>
52
+ </div>
53
+ <vxe-form
54
+ ref="form"
55
+ class="screen-box"
56
+ title-width="92px"
57
+ title-align="right"
58
+ :data="formData"
59
+ @submit="searchEvent"
60
+ @reset="searchEvent"
61
+ >
62
+ <vxe-form-item title="请求编码:" field="reqCode">
63
+ <template v-slot>
64
+ <el-input v-model="formData.reqCode" size="small" clearable />
65
+ </template>
66
+ </vxe-form-item>
67
+ <vxe-form-item title="请求名称:" field="reqName">
68
+ <template v-slot>
69
+ <el-input v-model="formData.reqName" size="small" clearable />
70
+ </template>
71
+ </vxe-form-item>
72
+ <vxe-form-item title="执行组织编码:" field="exeCompanyCode">
73
+ <template v-slot>
74
+ <el-input v-model="formData.exeCompanyCode" size="small" clearable />
75
+ </template>
76
+ </vxe-form-item>
77
+ <vxe-form-item title="是否启用:" field="enabled">
78
+ <template v-slot>
79
+ <el-select v-model="formData.enabled" clearable>
80
+ <el-option :value="true" label="启用"></el-option>
81
+ <el-option :value="false" label="禁用"></el-option>
82
+ </el-select>
83
+ </template>
84
+ </vxe-form-item>
85
+ </vxe-form>
86
+ </template>
87
+ </vxe-grid>
88
+ </div>
89
+ </el-tab-pane>
90
+ </el-tabs>
91
+ </div>
92
+ </template>
93
+
94
+ <script>
95
+ import editView from "./edit.vue";
96
+
97
+ export default {
98
+ name: "request_setting:list",
99
+ components: { editView },
100
+ data() {
101
+ return {
102
+ activeName: "second",
103
+ dataId: 0,
104
+ copyId: 0,
105
+ showEdit: false,
106
+ showAdvancedSearch: false,
107
+ vxeOption: {},
108
+ formData: {},
109
+ advancedFormData: {},
110
+ };
111
+ },
112
+ mounted() {
113
+ this.initTableList();
114
+ },
115
+ methods: {
116
+ searchEvent() {
117
+ this.$refs["table-m1"].commitProxy("reload");
118
+ },
119
+ resetEvent() {
120
+ this.formData = {};
121
+ this.advancedFormData = {};
122
+ this.$refs["table-m1"].commitProxy("reload");
123
+ },
124
+ openEditDialog(id) {
125
+ this.copyId = 0;
126
+ this.dataId = !id || typeof id == "object" ? 0 : id;
127
+ this.activeName = "first";
128
+ this.$openEditView("showEdit");
129
+ },
130
+ initTableList() {
131
+ let that = this;
132
+ let pushTypeMap = { 0: "异步推送", 1: "同步调用" };
133
+ let tableOption = {
134
+ vue: this,
135
+ tableRef: "table-m1",
136
+ tableName: "user_requestSetting_list-m1",
137
+ path: USER_PREFIX + "/request_setting/listPage",
138
+ param: () => {
139
+ return {
140
+ ...this.formData,
141
+ ...this.advancedFormData,
142
+ };
143
+ },
144
+ columns: [
145
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
146
+ {
147
+ title: "请求名称",
148
+ field: "reqName",
149
+ width: 150,
150
+ fixed: "left",
151
+ },
152
+ {
153
+ title: "请求编码",
154
+ field: "reqCode",
155
+ width: 150,
156
+ fixed: "left",
157
+ },
158
+ {
159
+ title: "请求Url",
160
+ field: "url",
161
+ width: 150,
162
+ },
163
+ {
164
+ title: "请求头",
165
+ field: "header",
166
+ width: 150,
167
+ },
168
+ {
169
+ title: "连接超时",
170
+ field: "connectTimeout",
171
+ width: 150,
172
+ },
173
+ {
174
+ title: "读取超时",
175
+ field: "readTimeout",
176
+ width: 150,
177
+ },
178
+ {
179
+ field: "enabled",
180
+ title: this.$t1("是否启用"),
181
+ width: 150,
182
+ slots: {
183
+ default: ({ row }) => {
184
+ if (row.enabled) {
185
+ return [
186
+ <div class="txt-status">
187
+ <span>启用</span>
188
+ </div>,
189
+ ];
190
+ } else {
191
+ return [
192
+ <div class="txt-status disable">
193
+ <span>禁用</span>
194
+ </div>,
195
+ ];
196
+ }
197
+ },
198
+ },
199
+ },
200
+ {
201
+ title: "备注",
202
+ field: "remark",
203
+ width: 150,
204
+ },
205
+ {
206
+ title: "执行组织编码",
207
+ field: "exeCompanyCode",
208
+ width: 150,
209
+ },
210
+ {
211
+ field: "enabled",
212
+ title: this.$t1("是否启用"),
213
+ width: 150,
214
+ slots: {
215
+ default: ({ row }) => {
216
+ if (row.enabled) {
217
+ return [
218
+ <div class="txt-status">
219
+ <span>启用</span>
220
+ </div>,
221
+ ];
222
+ } else {
223
+ return [
224
+ <div class="txt-status disable">
225
+ <span>禁用</span>
226
+ </div>,
227
+ ];
228
+ }
229
+ },
230
+ },
231
+ },
232
+ {
233
+ title: "参数1",
234
+ field: "param1",
235
+ width: 150,
236
+ },
237
+ {
238
+ title: "参数2",
239
+ field: "param2",
240
+ width: 150,
241
+ },
242
+ {
243
+ title: "参数3",
244
+ field: "param3",
245
+ width: 150,
246
+ },
247
+ {
248
+ title: "参数4",
249
+ field: "param4",
250
+ width: 150,
251
+ },
252
+ {
253
+ field: "createBy",
254
+ title: this.$t1("创建人"),
255
+ width: 150,
256
+ },
257
+ {
258
+ field: "createDate",
259
+ title: this.$t1("创建时间"),
260
+ width: 150,
261
+ },
262
+ {
263
+ field: "modifyBy",
264
+ title: this.$t1("更新人"),
265
+ width: 150,
266
+ },
267
+ {
268
+ field: "modifyDate",
269
+ title: this.$t1("更新时间"),
270
+ width: 150,
271
+ },
272
+ {
273
+ width: 47,
274
+ fixed: "right",
275
+ title: "",
276
+ sortable: false,
277
+ slots: {
278
+ default: ({ row }) => {
279
+ return [
280
+ <div>
281
+ <a
282
+ href="javascript:void(0);"
283
+ class="a-link"
284
+ onclick={() => {
285
+ this.openEditDialog(row.id);
286
+ }}
287
+ >
288
+ <el-tooltip
289
+ enterable={false}
290
+ effect="dark"
291
+ content={this.$t1("查看")}
292
+ placement="top"
293
+ popper-class="tooltip-skin"
294
+ >
295
+ <i class="el-icon-edit" />
296
+ </el-tooltip>
297
+ </a>
298
+ </div>,
299
+ ];
300
+ },
301
+ },
302
+ },
303
+ ],
304
+ };
305
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
306
+ this.vxeOption = opts;
307
+ });
308
+ },
309
+ },
310
+ };
311
+ </script>
@@ -29,10 +29,10 @@
29
29
  :rules="[{ required: false, trigger: 'blur' }]" class="block">
30
30
  <el-input type="textarea" :rows="2" v-model="fieldTranslation[item.translationField]" clearable/>
31
31
  </el-form-item>
32
- <el-form-item :label="$t1('多语言标签')" prop="translation1" :rules="[{ required: false, trigger: 'blur' }]"
32
+ <!-- <el-form-item :label="$t1('多语言标签')" prop="translation1" :rules="[{ required: false, trigger: 'blur' }]"
33
33
  class="block">
34
34
  <langTagView v-model="fieldTranslation.fieldTranslationTagDTOs" :readonly="!isDev"></langTagView>
35
- </el-form-item>
35
+ </el-form-item>-->
36
36
  <el-form-item :label="$t1('创建时间')" prop="createDate" :rules="[{ required: false, trigger: 'blur' }]">
37
37
  <span>{{ fieldTranslation.createDate }}</span>
38
38
  </el-form-item>
@@ -53,23 +53,23 @@
53
53
  </el-button>
54
54
  </span>
55
55
  </el-dialog>
56
- <langTagDialog v-if="showLangTagDialog"
56
+ <!-- <langTagDialog v-if="showLangTagDialog"
57
57
  :visiable.sync="showLangTagDialog"
58
58
  @confirm="confirmLangTagDialog"
59
59
  :multi="true"
60
60
  :rows="fieldTranslationTagDTOs"
61
- fieldKey="tagCode"></langTagDialog>
61
+ fieldKey="tagCode"></langTagDialog>-->
62
62
  </div>
63
63
  </template>
64
64
 
65
65
  <script>
66
66
  import {getBdFlag} from "@base/api/user";
67
- import langTagDialog from "../../../views/user/lang_tag/dialog.vue";
68
- import langTagView from "@base/components/langTag/view.vue";
67
+ /*import langTagDialog from "../../../views/user/lang_tag/dialog.vue";
68
+ import langTagView from "@base/components/langTag/view.vue";*/
69
69
 
70
70
 
71
71
  export default {
72
- components: {langTagDialog, langTagView},
72
+ components: {/*langTagDialog, langTagView*/},
73
73
  props: {
74
74
  _dataId: [String, Number],
75
75
  currentDataType: Object
@@ -46,8 +46,8 @@
46
46
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
47
47
  v-if="isDev">{{ $t1('导出发布') }}
48
48
  </vxe-button>
49
- <langTagAddButton :option="addProjectTagOption" v-if="isDev"></langTagAddButton>
50
- <langTagDeleteButton :option="deleteProjectTagOption" v-if="isDev"></langTagDeleteButton>
49
+ <!-- <langTagAddButton :option="addProjectTagOption" v-if="isDev"></langTagAddButton>
50
+ <langTagDeleteButton :option="deleteProjectTagOption" v-if="isDev"></langTagDeleteButton>-->
51
51
  </template>
52
52
  <template #buttonRight>
53
53
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
@@ -64,29 +64,29 @@
64
64
  </template>
65
65
  </vxe-form-item>
66
66
  </template>
67
- <template #tag>
68
- <vxe-form-item :title="$t1('多语言标签')+':'" field="tag">
69
- <template v-slot>
70
- <el-input
71
- class="search-input"
72
- max="200"
73
- :value="getTabNames()"
74
- @clear="
75
- checkTags = [];
76
- "
77
- v-el-readonly
78
- clearable
79
- >
80
- <i slot="suffix" class="el-input__icon el-icon-search" @click="openLangTagDialog3"></i>
81
- </el-input>
82
- </template>
83
- </vxe-form-item>
84
- </template>
67
+ <!-- <template #tag>
68
+ <vxe-form-item :title="$t1('多语言标签')+':'" field="tag">
69
+ <template v-slot>
70
+ <el-input
71
+ class="search-input"
72
+ max="200"
73
+ :value="getTabNames()"
74
+ @clear="
75
+ checkTags = [];
76
+ "
77
+ v-el-readonly
78
+ clearable
79
+ >
80
+ <i slot="suffix" class="el-input__icon el-icon-search" @click="openLangTagDialog3"></i>
81
+ </el-input>
82
+ </template>
83
+ </vxe-form-item>
84
+ </template>-->
85
85
  </tableForm>
86
86
  </template>
87
- <template #tag="{row}">
88
- <langTagView v-model="row.fieldTranslationTagDTOs" :readonly="true"></langTagView>
89
- </template>
87
+ <!-- <template #tag="{row}">
88
+ <langTagView v-model="row.fieldTranslationTagDTOs" :readonly="true"></langTagView>
89
+ </template>-->
90
90
  </vxe-grid>
91
91
  </div>
92
92
  </div>
@@ -95,11 +95,11 @@
95
95
  <fieldTranslationEditDialog v-if="showFieldTranslationEditDialog" :visiable.sync="showFieldTranslationEditDialog"
96
96
  :_dataId.sync="dataId" :currentDataType="currentDataType"
97
97
  @confirm="confirmFieldTranslationEditDialog"></fieldTranslationEditDialog>
98
- <langTagDialog v-if="showLangTagDialog3"
98
+ <!-- <langTagDialog v-if="showLangTagDialog3"
99
99
  :visiable.sync="showLangTagDialog3"
100
100
  @confirm="confirmLangTagDialog3"
101
101
  :rows="checkTags"
102
- :multi="true"></langTagDialog>
102
+ :multi="true"></langTagDialog>-->
103
103
  </div>
104
104
  </template>
105
105
 
@@ -108,16 +108,16 @@ import fieldTranslationEditDialog from "../../../views/user/fieldTranslation/edi
108
108
  import {treeScollx} from '@base/utils/global.js';
109
109
  import {getBdFlag} from "@base/api/user";
110
110
  import tableForm from "@base/components/table/tableForm.vue";
111
- import langTagDialog from "../../../views/user/lang_tag/dialog.vue";
111
+ /*import langTagDialog from "../../../views/user/lang_tag/dialog.vue";
112
112
  import langTagAddButton from "@base/components/langTag/addButton.vue";
113
113
  import langTagDeleteButton from "@base/components/langTag/deleteButton.vue";
114
- import langTagView from "@base/components/langTag/view.vue";
114
+ import langTagView from "@base/components/langTag/view.vue";*/
115
115
 
116
116
  export default {
117
117
  name: 'fieldTranslation:list',
118
118
  components: {
119
- langTagView,
120
- langTagDialog, tableForm, fieldTranslationEditDialog, langTagAddButton, langTagDeleteButton
119
+ tableForm, fieldTranslationEditDialog/*, langTagView,
120
+ langTagDialog, langTagAddButton, langTagDeleteButton*/
121
121
  },
122
122
  data() {
123
123
  return {
@@ -284,7 +284,7 @@ export default {
284
284
  }
285
285
  }
286
286
  },
287
- {
287
+ /*{
288
288
  title: this.$t1('多语言标签'), field: 'tag', width: 250, slots: {default: "tag"}, params: {
289
289
  exportVal: ({row}) => {
290
290
  if (row.fieldTranslationTagDTOs) {
@@ -292,7 +292,7 @@ export default {
292
292
  }
293
293
  }
294
294
  }
295
- },
295
+ },*/
296
296
  {
297
297
  field: 'modifyDate',
298
298
  title: this.$t1('更新时间'),
@@ -337,7 +337,7 @@ export default {
337
337
  },
338
338
  {title: this.$t1('字段编码'), field: "fieldCode", type: "input", common: true},
339
339
  {title: this.$t1('中文'), field: "translation1", type: "input", common: true},
340
- {title: this.$t1('多语言标签'), field: "tag", type: "input", common: true, slot: "tag"},
340
+ // {title: this.$t1('多语言标签'), field: "tag", type: "input", common: true, slot: "tag"},
341
341
  ]
342
342
  };
343
343
  this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
@@ -144,19 +144,24 @@ export default {
144
144
  field: 'tagRemark',
145
145
  width: 250
146
146
  },
147
+ {
148
+ field: 'createBy',
149
+ title: this.$t1('创建人'),
150
+ width: 150
151
+ },
147
152
  {
148
153
  field: 'createDate',
149
154
  title: this.$t1('创建时间'),
150
155
  width: 150
151
156
  },
152
157
  {
153
- field: '_createBy',
154
- title: this.$t1('创建人'),
158
+ field: 'modifyBy',
159
+ title: this.$t1('更新人'),
155
160
  width: 150
156
161
  },
157
162
  {
158
- field: '_modifyBy',
159
- title: this.$t1('更新人'),
163
+ field: 'modifyDate',
164
+ title: this.$t1('更新时间'),
160
165
  width: 150
161
166
  },
162
167
  {
@@ -46,11 +46,11 @@
46
46
  </tr>
47
47
  <tr>
48
48
  <th>{{ $t1('创建人') }}</th>
49
- <td>{{ projectTag._createBy }}</td>
49
+ <td>{{ projectTag.createBy }}</td>
50
50
  <th>{{ $t1('创建时间') }}</th>
51
51
  <td>{{ projectTag.createDate }}</td>
52
52
  <th>{{ $t1('更新人') }}</th>
53
- <td>{{ projectTag._modifyBy }}</td>
53
+ <td>{{ projectTag.modifyBy }}</td>
54
54
  <th>{{ $t1('更新时间') }}</th>
55
55
  <td>{{ projectTag.modifyDate }}</td>
56
56
  </tr>
@@ -114,7 +114,7 @@ export default {
114
114
  width: 250
115
115
  },
116
116
  {
117
- field: '_createBy',
117
+ field: 'createBy',
118
118
  title: this.$t1('创建人'),
119
119
  width: 150
120
120
  },
@@ -124,7 +124,7 @@ export default {
124
124
  width: 150
125
125
  },
126
126
  {
127
- field: '_modifyBy',
127
+ field: 'modifyBy',
128
128
  title: this.$t1('更新人'),
129
129
  width: 150
130
130
  },