eoss-ui 0.4.95 → 0.4.97

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
  }
package/lib/flow.js CHANGED
@@ -3640,7 +3640,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3640
3640
  // ESM COMPAT FLAG
3641
3641
  __webpack_require__.r(__webpack_exports__);
3642
3642
 
3643
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=1742774e&
3643
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=6538259e&
3644
3644
  var render = function () {
3645
3645
  var _vm = this
3646
3646
  var _h = _vm.$createElement
@@ -4388,7 +4388,8 @@ var render = function () {
4388
4388
  1
4389
4389
  )
4390
4390
  : _vm._e(),
4391
- _vm.isMainSubProcess
4391
+ _vm.isMainSubProcess &&
4392
+ _vm.isNodeShowProcess
4392
4393
  ? _c(
4393
4394
  "el-form-item",
4394
4395
  {
@@ -5265,7 +5266,7 @@ var staticRenderFns = []
5265
5266
  render._withStripped = true
5266
5267
 
5267
5268
 
5268
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=1742774e&
5269
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=6538259e&
5269
5270
 
5270
5271
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5271
5272
  var regenerator_ = __webpack_require__(9);
@@ -12770,6 +12771,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12770
12771
  isHideCurrentOrg: false, //是否隐藏本单位(承办)
12771
12772
  isHideOtherOrg: false, //是否隐藏外单位(承办)
12772
12773
  isMainSubProcess: false, // 判断是否子-主流程
12774
+ isNodeShowProcess: false, //是否展示主办
12773
12775
  isNextUser: false,
12774
12776
  isShowNode: false,
12775
12777
  nextNodeList: [],
@@ -12900,7 +12902,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12900
12902
  },
12901
12903
  methods: {
12902
12904
  getsubProcessColumns: function getsubProcessColumns() {
12903
- if (!this.isMainSubProcess) return [];
12905
+ if (!this.isMainSubProcess || !this.isNodeShowProcess) return [];
12904
12906
  var data = [];
12905
12907
  var obj = { name: '[部门员工]-' };
12906
12908
  if (this.nextCurrentOrgObjSelect.length > 0) {
@@ -13577,6 +13579,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13577
13579
  _this12.nodeType = data.nodeExtAttr.nodeType;
13578
13580
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
13579
13581
  if (_this12.nodeType === 1 || _this12.nodeType === 2) {
13582
+ _this12.isMainSubProcess === true ? _this12.isNodeShowProcess = true : _this12.isNodeShowProcess = false;
13580
13583
  _this12.isMainSubProcess === true ? _this12.isMainSubProcess = true : _this12.isMainSubProcess = false;
13581
13584
  _this12.isNextUser = false;
13582
13585
  _this12.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
@@ -13584,6 +13587,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13584
13587
  } else {
13585
13588
  _this12.isHideCurrentOrg = false;
13586
13589
  _this12.isHideOtherOrg = false;
13590
+ _this12.isNodeShowProcess = false;
13587
13591
  _this12.isMainSubProcess = false;
13588
13592
  _this12.isNextUser = true;
13589
13593
  // this.isMainSubProcess === true
@@ -13663,6 +13667,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13663
13667
  this.isNextUser = false;
13664
13668
  this.isShowNode = false;
13665
13669
  this.isMainSubProcess = false;
13670
+ this.isNodeShowProcess = false;
13666
13671
  this.nextNode.nextNodeId = '';
13667
13672
  this.nextNode.isReturnSubmitter = 0;
13668
13673
  this.nextNode.isUndertakeReply = 0;