cloud-web-corejs 1.0.54-dev.281 → 1.0.54-dev.283

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.
@@ -11,13 +11,20 @@
11
11
  <el-form-item label="弹框表单编码">
12
12
  <el-input type="text" v-model="eventConfig.formCode"></el-input>
13
13
  </el-form-item>
14
- <el-form-item label="弹框参数">
14
+ <el-form-item label="弹框查询参数">
15
15
  <a href="javascript:void(0);" class="a-link link-oneLind"
16
16
  @click="editEventHandler('confirmCallback', ['dataId', 'formCode','rows'], option2)">
17
17
  <span>{{ eventConfig.dialogQueryParam }}</span>
18
18
  <i class="el-icon-edit"></i>
19
19
  </a>
20
20
  </el-form-item>
21
+ <el-form-item label="弹框自定义参数">
22
+ <a href="javascript:void(0);" class="a-link link-oneLind"
23
+ @click="editEventHandler('dialogCustomParam', ['dataId', 'formCode','rows'], option3)">
24
+ <span>{{ eventConfig.dialogCustomParam }}</span>
25
+ <i class="el-icon-edit"></i>
26
+ </a>
27
+ </el-form-item>
21
28
  <template v-if="hasConfig('vabsearchFlag')">
22
29
  <el-form-item label="关联来源字段">
23
30
  <el-input type="text" v-model="eventConfig.valueSourceField"></el-input>
@@ -175,7 +182,16 @@ export default {
175
182
  this.eventConfig.dialogQueryParam = code;
176
183
  this.$forceUpdate()
177
184
  }
178
- }
185
+ },
186
+ option3: {
187
+ customCode: () => {
188
+ return this.eventConfig.dialogCustomParam;
189
+ },
190
+ callback: (code) => {
191
+ this.eventConfig.dialogCustomParam = code;
192
+ this.$forceUpdate()
193
+ }
194
+ },
179
195
  }
180
196
  },
181
197
  computed: {
@@ -779,6 +779,7 @@ export const defaultSearchDialogConfig = {
779
779
  multipleChoices: true,
780
780
  confirmCallback: null,
781
781
  dialogQueryParam: null,
782
+ dialogCustomParam:null
782
783
  };
783
784
 
784
785
  export const defaultWfConfig = {
@@ -100,7 +100,7 @@ export default {
100
100
  methods: {
101
101
  getMenuName(item) {
102
102
  let locale = this.$i18n?.locale;
103
- let zhTitle = item.meta?.reTitle || item.meta?.title || "";
103
+ let zhTitle = item.meta?.title || "";
104
104
  let enTitle = item.meta?.enTitle || '';
105
105
  let title;
106
106
  if (locale == "en") {
@@ -150,6 +150,15 @@ modules = {
150
150
  width: 180,
151
151
  fixed: 'left'
152
152
  },
153
+ {
154
+ title: this.$t1('项目标签'), field: 'tag', width: 250, slots: {default: "tag"}, params: {
155
+ exportVal: ({row}) => {
156
+ if (row.formScriptTagDTOs) {
157
+ return row.formScriptTagDTOs.map(item => item.tagName).join(",")
158
+ }
159
+ }
160
+ }
161
+ },
153
162
  {
154
163
  title: this.$t1('脚本编码'),
155
164
  field: 'scriptCode',
@@ -209,15 +218,6 @@ modules = {
209
218
  }
210
219
  }
211
220
  },
212
- {
213
- title: this.$t1('项目标签'), field: 'tag', width: 250, slots: {default: "tag"}, params: {
214
- exportVal: ({row}) => {
215
- if (row.formScriptTagDTOs) {
216
- return row.formScriptTagDTOs.map(item => item.tagName).join(",")
217
- }
218
- }
219
- }
220
- },
221
221
  {field: 'serviceName', title: this.$t1('服务名'), width: 150},
222
222
  {
223
223
  field: 'sid',
@@ -292,6 +292,21 @@ modules = {
292
292
  width: 150,
293
293
  fixed: "left",
294
294
  },
295
+ {
296
+ title: this.$t1("项目标签"),
297
+ field: "tag",
298
+ width: 250,
299
+ slots: {default: "tag"},
300
+ params: {
301
+ exportVal: ({row}) => {
302
+ if (row.formTemplateTagDTOs) {
303
+ return row.formTemplateTagDTOs
304
+ .map((item) => item.tagName)
305
+ .join(",");
306
+ }
307
+ },
308
+ },
309
+ },
295
310
  {
296
311
  title: this.$t1("模板编码"),
297
312
  field: "formCode",
@@ -350,21 +365,6 @@ modules = {
350
365
  field: "remark",
351
366
  width: 150,
352
367
  },
353
- {
354
- title: this.$t1("项目标签"),
355
- field: "tag",
356
- width: 250,
357
- slots: {default: "tag"},
358
- params: {
359
- exportVal: ({row}) => {
360
- if (row.formTemplateTagDTOs) {
361
- return row.formTemplateTagDTOs
362
- .map((item) => item.tagName)
363
- .join(",");
364
- }
365
- },
366
- },
367
- },
368
368
  {field: "serviceName", title: this.$t1("服务名"), width: 150},
369
369
  {title: this.$t1("唯一标识"), field: "sid", width: 280},
370
370
  {
@@ -152,6 +152,15 @@ modules = {
152
152
  columns: [
153
153
  {type: 'checkbox', width: 48, resizable: false, fixed: 'left'},
154
154
  {title: this.$t1('实体名称'), field: 'taEn', width: 150, fixed: 'left'},
155
+ {
156
+ title: this.$t1('项目标签'), field: 'tag', width: 250, slots: {default: "tag"}, params: {
157
+ exportVal: ({row}) => {
158
+ if (row.szTaMbTagDTOs) {
159
+ return row.szTaMbTagDTOs.map(item => item.tagName).join(",")
160
+ }
161
+ }
162
+ }
163
+ },
155
164
  {title: this.$t1('数据库表名'), field: 'taBm', width: 150},
156
165
  {title: this.$t1('表描述'), field: 'taCh', width: 150},
157
166
  {
@@ -179,15 +188,6 @@ modules = {
179
188
  }
180
189
  },
181
190
  {title: this.$t1('表单分类'), field: 'menuKindName', width: 150},
182
- {
183
- title: this.$t1('项目标签'), field: 'tag', width: 250, slots: {default: "tag"}, params: {
184
- exportVal: ({row}) => {
185
- if (row.szTaMbTagDTOs) {
186
- return row.szTaMbTagDTOs.map(item => item.tagName).join(",")
187
- }
188
- }
189
- }
190
- },
191
191
  {
192
192
  title: this.$t1("是否启用"),
193
193
  field: "enabled",