eoss-ui 0.6.57 → 0.6.58

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.js CHANGED
@@ -4420,7 +4420,7 @@ var component = Object(componentNormalizer["a" /* default */])(
4420
4420
  // ESM COMPAT FLAG
4421
4421
  __webpack_require__.r(__webpack_exports__);
4422
4422
 
4423
- // 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=06ef5eca&
4423
+ // 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=fa4ed272&
4424
4424
  var render = function () {
4425
4425
  var _vm = this
4426
4426
  var _h = _vm.$createElement
@@ -5424,6 +5424,112 @@ var render = function () {
5424
5424
  1
5425
5425
  )
5426
5426
  : _vm._e(),
5427
+ _vm.enableCustomLimitTimeSetting
5428
+ ? _c(
5429
+ "el-form-item",
5430
+ {
5431
+ attrs: {
5432
+ prop: "customLimitTime",
5433
+ label: "限时办理",
5434
+ },
5435
+ },
5436
+ [
5437
+ _c(
5438
+ "el-input",
5439
+ {
5440
+ staticClass:
5441
+ "input-with-select custom-limit-time",
5442
+ attrs: {
5443
+ placeholder:
5444
+ "请输入限时办理的天数",
5445
+ },
5446
+ on: {
5447
+ change:
5448
+ _vm.changeCustomLimitTime,
5449
+ },
5450
+ model: {
5451
+ value:
5452
+ _vm.nextNode
5453
+ .customLimitTime,
5454
+ callback: function (
5455
+ $$v
5456
+ ) {
5457
+ _vm.$set(
5458
+ _vm.nextNode,
5459
+ "customLimitTime",
5460
+ $$v
5461
+ )
5462
+ },
5463
+ expression:
5464
+ "nextNode.customLimitTime",
5465
+ },
5466
+ },
5467
+ [
5468
+ !_vm.showCustomLimitTimeText
5469
+ ? _c("es-select", {
5470
+ attrs: {
5471
+ slot: "prepend",
5472
+ placeholder:
5473
+ "请选择",
5474
+ sysCode:
5475
+ "bpm_custom_limit_time",
5476
+ },
5477
+ slot: "prepend",
5478
+ model: {
5479
+ value:
5480
+ _vm.nextNode
5481
+ .customLimitTime,
5482
+ callback:
5483
+ function (
5484
+ $$v
5485
+ ) {
5486
+ _vm.$set(
5487
+ _vm.nextNode,
5488
+ "customLimitTime",
5489
+ $$v
5490
+ )
5491
+ },
5492
+ expression:
5493
+ "nextNode.customLimitTime",
5494
+ },
5495
+ })
5496
+ : _vm._e(),
5497
+ _c(
5498
+ "es-button",
5499
+ {
5500
+ attrs: {
5501
+ slot: "append",
5502
+ type: "primary",
5503
+ },
5504
+ on: {
5505
+ click:
5506
+ function () {
5507
+ _vm.nextNode.customLimitTime =
5508
+ ""
5509
+ _vm.showCustomLimitTimeText =
5510
+ !_vm.showCustomLimitTimeText
5511
+ },
5512
+ },
5513
+ slot: "append",
5514
+ },
5515
+ [
5516
+ _vm._v(
5517
+ "切换" +
5518
+ _vm._s(
5519
+ _vm.showCustomLimitTimeText
5520
+ ? "选择框"
5521
+ : "文本框"
5522
+ )
5523
+ ),
5524
+ ]
5525
+ ),
5526
+ ],
5527
+ 1
5528
+ ),
5529
+ ],
5530
+ 1
5531
+ )
5532
+ : _vm._e(),
5427
5533
  _vm.isHideCurrentOrg
5428
5534
  ? _c(
5429
5535
  "el-form-item",
@@ -6692,7 +6798,7 @@ var staticRenderFns = []
6692
6798
  render._withStripped = true
6693
6799
 
6694
6800
 
6695
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=06ef5eca&
6801
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fa4ed272&
6696
6802
 
6697
6803
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6698
6804
  var regenerator_ = __webpack_require__(4);
@@ -7701,8 +7807,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
7701
7807
  )
7702
7808
 
7703
7809
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
7704
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=1e31d327&
7705
- var processFormvue_type_template_id_1e31d327_render = function () {
7810
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=353b8fd9&
7811
+ var processFormvue_type_template_id_353b8fd9_render = function () {
7706
7812
  var _vm = this
7707
7813
  var _h = _vm.$createElement
7708
7814
  var _c = _vm._self._c || _h
@@ -8046,6 +8152,78 @@ var processFormvue_type_template_id_1e31d327_render = function () {
8046
8152
  1
8047
8153
  )
8048
8154
  : _vm._e(),
8155
+ _vm.enableCustomLimitTimeSetting
8156
+ ? _c(
8157
+ "el-form-item",
8158
+ { attrs: { prop: "customLimitTime", label: "限时办理" } },
8159
+ [
8160
+ _c(
8161
+ "el-input",
8162
+ {
8163
+ staticClass: "input-with-select custom-limit-time",
8164
+ attrs: { placeholder: "请输入限时办理的天数" },
8165
+ on: { change: _vm.changeCustomLimitTime },
8166
+ model: {
8167
+ value: _vm.nextNode.customLimitTime,
8168
+ callback: function ($$v) {
8169
+ _vm.$set(_vm.nextNode, "customLimitTime", $$v)
8170
+ },
8171
+ expression: "nextNode.customLimitTime",
8172
+ },
8173
+ },
8174
+ [
8175
+ !_vm.showCustomLimitTimeText
8176
+ ? _c("es-select", {
8177
+ attrs: {
8178
+ slot: "prepend",
8179
+ placeholder: "请选择",
8180
+ sysCode: "bpm_custom_limit_time",
8181
+ },
8182
+ slot: "prepend",
8183
+ model: {
8184
+ value: _vm.nextNode.customLimitTime,
8185
+ callback: function ($$v) {
8186
+ _vm.$set(
8187
+ _vm.nextNode,
8188
+ "customLimitTime",
8189
+ $$v
8190
+ )
8191
+ },
8192
+ expression: "nextNode.customLimitTime",
8193
+ },
8194
+ })
8195
+ : _vm._e(),
8196
+ _c(
8197
+ "es-button",
8198
+ {
8199
+ attrs: { slot: "append", type: "primary" },
8200
+ on: {
8201
+ click: function () {
8202
+ _vm.nextNode.customLimitTime = ""
8203
+ _vm.showCustomLimitTimeText =
8204
+ !_vm.showCustomLimitTimeText
8205
+ },
8206
+ },
8207
+ slot: "append",
8208
+ },
8209
+ [
8210
+ _vm._v(
8211
+ "切换" +
8212
+ _vm._s(
8213
+ _vm.showCustomLimitTimeText
8214
+ ? "选择框"
8215
+ : "文本框"
8216
+ )
8217
+ ),
8218
+ ]
8219
+ ),
8220
+ ],
8221
+ 1
8222
+ ),
8223
+ ],
8224
+ 1
8225
+ )
8226
+ : _vm._e(),
8049
8227
  _vm.isHandleExplain == 1
8050
8228
  ? _c(
8051
8229
  "el-form-item",
@@ -8240,11 +8418,11 @@ var processFormvue_type_template_id_1e31d327_render = function () {
8240
8418
  1
8241
8419
  )
8242
8420
  }
8243
- var processFormvue_type_template_id_1e31d327_staticRenderFns = []
8244
- processFormvue_type_template_id_1e31d327_render._withStripped = true
8421
+ var processFormvue_type_template_id_353b8fd9_staticRenderFns = []
8422
+ processFormvue_type_template_id_353b8fd9_render._withStripped = true
8245
8423
 
8246
8424
 
8247
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1e31d327&
8425
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=353b8fd9&
8248
8426
 
8249
8427
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=615d0e78&
8250
8428
  var selectUservue_type_template_id_615d0e78_render = function () {
@@ -9984,6 +10162,45 @@ var processFormvue_type_script_lang_js_components;
9984
10162
  //
9985
10163
  //
9986
10164
  //
10165
+ //
10166
+ //
10167
+ //
10168
+ //
10169
+ //
10170
+ //
10171
+ //
10172
+ //
10173
+ //
10174
+ //
10175
+ //
10176
+ //
10177
+ //
10178
+ //
10179
+ //
10180
+ //
10181
+ //
10182
+ //
10183
+ //
10184
+ //
10185
+ //
10186
+ //
10187
+ //
10188
+ //
10189
+ //
10190
+ //
10191
+ //
10192
+ //
10193
+ //
10194
+ //
10195
+ //
10196
+ //
10197
+ //
10198
+ //
10199
+ //
10200
+ //
10201
+ //
10202
+ //
10203
+ //
9987
10204
 
9988
10205
 
9989
10206
 
@@ -10037,7 +10254,9 @@ var processFormvue_type_script_lang_js_components;
10037
10254
  notificationMessageReadOnly: false,
10038
10255
  readOnlyNotificationType: '',
10039
10256
  show: true,
10257
+ enableCustomLimitTimeSetting: false,
10040
10258
  radioList: [],
10259
+ showCustomLimitTimeText: false,
10041
10260
  activeNames: '',
10042
10261
  selectUserList: [],
10043
10262
  defaultNextNode: '',
@@ -10093,6 +10312,7 @@ var processFormvue_type_script_lang_js_components;
10093
10312
  mixOrgIdList: [], //办理对象混选
10094
10313
  nextNode: {
10095
10314
  nodeName: '',
10315
+ customLimitTime: '',
10096
10316
  newOpinion: '',
10097
10317
  countersignaturetypeText: '',
10098
10318
  nextNode: '',
@@ -10139,6 +10359,12 @@ var processFormvue_type_script_lang_js_components;
10139
10359
  },
10140
10360
 
10141
10361
  methods: {
10362
+ changeCustomLimitTime: function changeCustomLimitTime(val) {
10363
+ if (!Number(val) || val.indexOf('.') != -1 || Number(val) < 0) {
10364
+ this.$message.warning('请输入正确的天数');
10365
+ this.nextNode.customLimitTime = '';
10366
+ }
10367
+ },
10142
10368
  getUserInfo: function getUserInfo() {
10143
10369
  var _this = this;
10144
10370
 
@@ -10310,7 +10536,8 @@ var processFormvue_type_script_lang_js_components;
10310
10536
  presetReadUserId = _nextNode.presetReadUserId,
10311
10537
  nextReadUserId = _nextNode.nextReadUserId,
10312
10538
  nextOrgId = _nextNode.nextOrgId,
10313
- newOpinion = _nextNode.newOpinion;
10539
+ newOpinion = _nextNode.newOpinion,
10540
+ customLimitTime = _nextNode.customLimitTime;
10314
10541
 
10315
10542
  if (noticeType.length === 0) {
10316
10543
  return _this4.$message.warning('请选择通知方式');
@@ -10338,6 +10565,7 @@ var processFormvue_type_script_lang_js_components;
10338
10565
  var params = {
10339
10566
  processDefinitionId: _this4.processDefinitionId,
10340
10567
  nextUserId: _this4.multiple ? newNextUser.join(',') : nextUser,
10568
+ customLimitTime: customLimitTime,
10341
10569
  nextNodeId: nextNode,
10342
10570
  businessId: _this4.businessId,
10343
10571
  notificationType: newNoticeType,
@@ -10423,6 +10651,7 @@ var processFormvue_type_script_lang_js_components;
10423
10651
  _this5.nextNode.userInfo = nextUserList;
10424
10652
  _this5.countersignaturetypeCode = countersignaturetypeCode;
10425
10653
  _this5.nextNode.countersignaturetypeText = countersignaturetypeText;
10654
+ _this5.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
10426
10655
  _this5.isTaskread = nodeExtAttr.isTaskread;
10427
10656
  _this5.isHandleExplain = nodeExtAttr.isHandleExplain;
10428
10657
  _this5.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
@@ -10680,8 +10909,8 @@ var processFormvue_type_script_lang_js_components;
10680
10909
 
10681
10910
  var processForm_component = Object(componentNormalizer["a" /* default */])(
10682
10911
  src_processFormvue_type_script_lang_js_,
10683
- processFormvue_type_template_id_1e31d327_render,
10684
- processFormvue_type_template_id_1e31d327_staticRenderFns,
10912
+ processFormvue_type_template_id_353b8fd9_render,
10913
+ processFormvue_type_template_id_353b8fd9_staticRenderFns,
10685
10914
  false,
10686
10915
  null,
10687
10916
  null,
@@ -21306,6 +21535,35 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21306
21535
  //
21307
21536
  //
21308
21537
  //
21538
+ //
21539
+ //
21540
+ //
21541
+ //
21542
+ //
21543
+ //
21544
+ //
21545
+ //
21546
+ //
21547
+ //
21548
+ //
21549
+ //
21550
+ //
21551
+ //
21552
+ //
21553
+ //
21554
+ //
21555
+ //
21556
+ //
21557
+ //
21558
+ //
21559
+ //
21560
+ //
21561
+ //
21562
+ //
21563
+ //
21564
+ //
21565
+ //
21566
+ //
21309
21567
 
21310
21568
 
21311
21569
 
@@ -21380,6 +21638,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21380
21638
  otherOrgDisabledObjId: [],
21381
21639
  isCanReadTransferHandle: false,
21382
21640
  readTransferHandleDisabled: true,
21641
+ showCustomLimitTimeText: false,
21383
21642
  currentOrgDisabledObjId: [],
21384
21643
  nextNodeCheckType: 'select',
21385
21644
  readOnlyNotificationType: '',
@@ -21404,6 +21663,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21404
21663
  flowDisabled: false,
21405
21664
  activeNames: '',
21406
21665
  isEndUserTask: true,
21666
+ enableCustomLimitTimeSetting: false, //是否开启限时办理
21407
21667
  isForceDisplayDefaultOptionForPrefix: false,
21408
21668
  selectUserList: [],
21409
21669
  selectNextCurrentOrgObjList: [],
@@ -21485,6 +21745,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21485
21745
  addSignMode: 'postAddSign',
21486
21746
  isAddSign: '', // 是否加签
21487
21747
  isRemoveSign: '', // 是否减签
21748
+ customLimitTime: '', //限时天数
21488
21749
  nextOperate: '', // 下步操作
21489
21750
  notificationMsg: '', // 通知信息
21490
21751
  addSignUserId: [], // 加签办理人
@@ -21621,6 +21882,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
21621
21882
  }
21622
21883
  },
21623
21884
  methods: {
21885
+ changeCustomLimitTime: function changeCustomLimitTime(val) {
21886
+ if (!Number(val) || val.indexOf('.') != -1 || Number(val) < 0) {
21887
+ this.$message.warning('请输入正确的天数');
21888
+ this.nextNode.customLimitTime = '';
21889
+ }
21890
+ },
21624
21891
  taskReadTransferHandle: function taskReadTransferHandle() {
21625
21892
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
21626
21893
  if (!this.$refs.commonOpinions.validate()) return;
@@ -22112,6 +22379,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22112
22379
  params: {
22113
22380
  businessId: businessId,
22114
22381
  processDefinitionId: processDefinitionId,
22382
+ pendingId: this.pendingId,
22115
22383
  nodeId: nodeId
22116
22384
  }
22117
22385
  };
@@ -22493,6 +22761,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22493
22761
 
22494
22762
  _this24.loading.close();
22495
22763
  if (status === 'success') {
22764
+ _this24.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
22496
22765
  data.otherOrgDisabledObjId && (_this24.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
22497
22766
  data.currentOrgDisabledObjId && (_this24.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
22498
22767
  if (data != null) {
@@ -23163,10 +23432,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23163
23432
  } else {
23164
23433
  _this30.freeValid = true;
23165
23434
  }
23166
- if (_this30.currentNodeIsCircularReadNode && _this30.nextNode.nextOtherOrgObj.length != 0) {
23167
- _this30.reqCircularRead(type);
23168
- return;
23169
- }
23435
+ // if (
23436
+ // this.currentNodeIsCircularReadNode &&
23437
+ // this.nextNode.nextOtherOrgObj.length != 0
23438
+ // ) {
23439
+ // this.reqCircularRead(type);
23440
+ // return;
23441
+ // }
23170
23442
  if (type == 'multiInsMidwayWithSubmitScene') {
23171
23443
  _this30.sendData(type);
23172
23444
  return;