cloud-web-corejs 1.0.54-dev.282 → 1.0.54-dev.284

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 = {