eoss-ui 0.4.96 → 0.4.98

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.
package/lib/flow-group.js CHANGED
@@ -3431,7 +3431,7 @@ module.exports = require("qs");
3431
3431
  // ESM COMPAT FLAG
3432
3432
  __webpack_require__.r(__webpack_exports__);
3433
3433
 
3434
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=200d21c4&
3434
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=f23c44da&
3435
3435
  var render = function () {
3436
3436
  var _vm = this
3437
3437
  var _h = _vm.$createElement
@@ -4244,12 +4244,42 @@ var render = function () {
4244
4244
  )
4245
4245
  )
4246
4246
  : _vm._e(),
4247
+ item.component
4248
+ ? _c(
4249
+ item.type,
4250
+ _vm._b(
4251
+ {
4252
+ tag: "component",
4253
+ },
4254
+ "component",
4255
+ _vm.handleExclAttribute(
4256
+ {
4257
+ data: item,
4258
+ }
4259
+ ),
4260
+ false
4261
+ )
4262
+ )
4263
+ : _vm._e(),
4247
4264
  ],
4248
4265
  ]
4249
4266
  }
4250
4267
  ),
4251
4268
  ]
4252
4269
  : [
4270
+ contents.component
4271
+ ? _c(
4272
+ contents.type,
4273
+ _vm._b(
4274
+ { tag: "component" },
4275
+ "component",
4276
+ _vm.handleExclAttribute({
4277
+ data: contents,
4278
+ }),
4279
+ false
4280
+ )
4281
+ )
4282
+ : _vm._e(),
4253
4283
  contents.type === "form"
4254
4284
  ? _c(
4255
4285
  "es-form",
@@ -4625,7 +4655,7 @@ var staticRenderFns = []
4625
4655
  render._withStripped = true
4626
4656
 
4627
4657
 
4628
- // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=200d21c4&
4658
+ // CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=f23c44da&
4629
4659
 
4630
4660
  // EXTERNAL MODULE: ./src/utils/util.js
4631
4661
  var util = __webpack_require__(0);
@@ -5046,6 +5076,24 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5046
5076
  //
5047
5077
  //
5048
5078
  //
5079
+ //
5080
+ //
5081
+ //
5082
+ //
5083
+ //
5084
+ //
5085
+ //
5086
+ //
5087
+ //
5088
+ //
5089
+ //
5090
+ //
5091
+ //
5092
+ //
5093
+ //
5094
+ //
5095
+ //
5096
+ //
5049
5097
 
5050
5098
 
5051
5099
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -5091,14 +5139,16 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5091
5139
  width: {
5092
5140
  type: String,
5093
5141
  default: '360px'
5094
- }
5142
+ },
5143
+ refs: String
5095
5144
  },
5096
5145
  data: function data() {
5097
5146
  return {
5098
5147
  activeName: this.active,
5099
5148
  businessId: undefined,
5100
5149
  taskExamineAppId: this.appId,
5101
- showMsg: true
5150
+ showMsg: true,
5151
+ formRefs: this.refs
5102
5152
  };
5103
5153
  },
5104
5154
 
@@ -5146,6 +5196,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5146
5196
  var data = _ref.data,
5147
5197
  attrs = _ref.attrs;
5148
5198
 
5199
+ if (!attrs || !attrs.length) {
5200
+ this.ref && (this.formRefs = this.ref);
5201
+ return data;
5202
+ }
5149
5203
  return util["a" /* default */].exclAttribute({
5150
5204
  data: data,
5151
5205
  attrs: attrs
@@ -5182,7 +5236,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
5182
5236
  });
5183
5237
  },
5184
5238
  handleSubmit: function handleSubmit(res) {
5185
- var esFlowForm = this.$refs.esFlowForm;
5239
+ var esFlowForm = this.formRefs ? this.$refs[this.formRefs] : this.$refs.esFlowForm;
5186
5240
  if (Array.isArray(esFlowForm)) {
5187
5241
  esFlowForm = esFlowForm[0];
5188
5242
  }