lw-cdp-ui 1.4.27 → 1.4.28

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.
@@ -268,7 +268,7 @@ export default {
268
268
  case 'DATA_PICKER': {
269
269
  const setting = control.dataPickerSetting
270
270
  const options = await getOptions(setting)
271
- this.searchParams[`values.${setting.code}`] = setting?.value || []
271
+ this.searchParams[`values.${setting.code}`] = setting?.value || ''
272
272
  this.searchOptions.push({
273
273
  label: control.name,
274
274
  prop: `values.${setting.code}`,
@@ -284,11 +284,11 @@ export default {
284
284
  case 'DATA_CASCADE': {
285
285
  const setting = control.dataPickerSetting
286
286
  const items = await getTreeOptions(setting)
287
- this.searchParams[`values.${setting.code}`] = setting?.value || []
287
+ this.searchParams[`values.${setting.code}`] = setting?.value || ''
288
288
  this.searchOptions.push({
289
289
  label: control.name,
290
290
  name: `values.${setting.code}`,
291
- value: setting?.value || [],
291
+ value: setting?.value || '',
292
292
  component: 'treeSelect',
293
293
  options: {
294
294
  items,
@@ -252,7 +252,6 @@ export default {
252
252
  if (!this.$refs[formEl]) return
253
253
  this.$refs[formEl].validate((valid) => {
254
254
  if (valid) {
255
- console.log(this.form)
256
255
  this.$emit('search')
257
256
  }
258
257
  })
@@ -2092,7 +2092,7 @@ const Ut = /* @__PURE__ */ ae(A5, [["render", y5]]), b5 = {
2092
2092
  // 触发提交
2093
2093
  submitForm(e) {
2094
2094
  this.$refs[e] && this.$refs[e].validate((t) => {
2095
- t && (console.log(this.form), this.$emit("search"));
2095
+ t && this.$emit("search");
2096
2096
  });
2097
2097
  },
2098
2098
  // 重置条件
@@ -2199,7 +2199,7 @@ function E5(e, t, n, r, a, o) {
2199
2199
  ])
2200
2200
  ]);
2201
2201
  }
2202
- const E4 = /* @__PURE__ */ ae(b5, [["render", E5], ["__scopeId", "data-v-bf2b19b7"]]), _5 = {
2202
+ const E4 = /* @__PURE__ */ ae(b5, [["render", E5], ["__scopeId", "data-v-aa24614b"]]), _5 = {
2203
2203
  components: {
2204
2204
  lwTable: w4,
2205
2205
  lwSearch: E4
@@ -22165,7 +22165,7 @@ const NA = /* @__PURE__ */ ae(qA, [["render", QA]]), UA = {
22165
22165
  switch (a) {
22166
22166
  case "DATA_PICKER": {
22167
22167
  const l = r.dataPickerSetting, s = await o(l);
22168
- this.searchParams[`values.${l.code}`] = (l == null ? void 0 : l.value) || [], this.searchOptions.push({
22168
+ this.searchParams[`values.${l.code}`] = (l == null ? void 0 : l.value) || "", this.searchOptions.push({
22169
22169
  label: r.name,
22170
22170
  prop: `values.${l.code}`,
22171
22171
  renderType: "select",
@@ -22178,10 +22178,10 @@ const NA = /* @__PURE__ */ ae(qA, [["render", QA]]), UA = {
22178
22178
  }
22179
22179
  case "DATA_CASCADE": {
22180
22180
  const l = r.dataPickerSetting, s = await i(l);
22181
- this.searchParams[`values.${l.code}`] = (l == null ? void 0 : l.value) || [], this.searchOptions.push({
22181
+ this.searchParams[`values.${l.code}`] = (l == null ? void 0 : l.value) || "", this.searchOptions.push({
22182
22182
  label: r.name,
22183
22183
  name: `values.${l.code}`,
22184
- value: (l == null ? void 0 : l.value) || [],
22184
+ value: (l == null ? void 0 : l.value) || "",
22185
22185
  component: "treeSelect",
22186
22186
  options: {
22187
22187
  items: s,
@@ -22412,7 +22412,7 @@ function YA(e, t, n, r, a, o) {
22412
22412
  ])) : j("", !0)
22413
22413
  ]);
22414
22414
  }
22415
- const KA = /* @__PURE__ */ ae(UA, [["render", YA], ["__scopeId", "data-v-ce48c764"]]);
22415
+ const KA = /* @__PURE__ */ ae(UA, [["render", YA], ["__scopeId", "data-v-9e354eb5"]]);
22416
22416
  /*!
22417
22417
  * vue-router v4.5.0
22418
22418
  * (c) 2024 Eduardo San Martin Morote