eoss-ui 0.8.39 → 0.8.41

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.
Files changed (42) hide show
  1. package/lib/eoss-ui.common.js +771 -1097
  2. package/lib/flow-list.js +86 -24
  3. package/lib/flow.js +199 -120
  4. package/lib/index.js +1 -1
  5. package/lib/selector-panel.js +189 -110
  6. package/lib/selector.js +164 -700
  7. package/lib/theme-chalk/flow-list.css +1 -1
  8. package/lib/theme-chalk/flow.css +1 -1
  9. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  10. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  11. package/lib/theme-chalk/form.css +1 -1
  12. package/lib/theme-chalk/index.css +1 -1
  13. package/lib/theme-chalk/selector-panel.css +1 -1
  14. package/lib/theme-chalk/selector.css +1 -1
  15. package/lib/theme-chalk/tree.css +1 -1
  16. package/package.json +2 -2
  17. package/packages/flow/src/flow.vue +40 -13
  18. package/packages/flow/src/main.vue +13 -5
  19. package/packages/flow/src/selectUser.vue +1 -0
  20. package/packages/flow/src/startTaskRead.vue +3 -0
  21. package/packages/flow-list/src/main.vue +75 -16
  22. package/packages/selector/src/main.vue +120 -269
  23. package/packages/selector-panel/src/main.vue +1071 -1036
  24. package/packages/selector-panel/src/tree.vue +24 -18
  25. package/packages/theme-chalk/lib/flow-list.css +1 -1
  26. package/packages/theme-chalk/lib/flow.css +1 -1
  27. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  28. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  29. package/packages/theme-chalk/lib/form.css +1 -1
  30. package/packages/theme-chalk/lib/index.css +1 -1
  31. package/packages/theme-chalk/lib/selector-panel.css +1 -1
  32. package/packages/theme-chalk/lib/selector.css +1 -1
  33. package/packages/theme-chalk/lib/tree.css +1 -1
  34. package/packages/theme-chalk/src/flow-list.scss +61 -55
  35. package/packages/theme-chalk/src/flow.scss +16 -2
  36. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  37. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  38. package/packages/theme-chalk/src/form.scss +5 -1
  39. package/packages/theme-chalk/src/selector-panel.scss +36 -6
  40. package/packages/theme-chalk/src/selector.scss +66 -115
  41. package/packages/theme-chalk/src/tree.scss +1 -1
  42. package/src/index.js +1 -1
package/lib/flow.js CHANGED
@@ -4878,7 +4878,7 @@ module.exports = require("vuedraggable");
4878
4878
  // ESM COMPAT FLAG
4879
4879
  __webpack_require__.r(__webpack_exports__);
4880
4880
 
4881
- // 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=723b9982&
4881
+ // 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=64fec1bc&
4882
4882
  var render = function () {
4883
4883
  var _vm = this
4884
4884
  var _h = _vm.$createElement
@@ -4906,6 +4906,7 @@ var render = function () {
4906
4906
  pendingId: _vm.pendingId,
4907
4907
  nodeName: _vm.nodeName,
4908
4908
  typeCode: _vm.typeCode,
4909
+ businessName: _vm.businessName,
4909
4910
  ownerType: _vm.ownerType,
4910
4911
  selectorConfig: _vm.selectorConfig,
4911
4912
  flowTypeCode: _vm.flowTypeCode,
@@ -4936,6 +4937,8 @@ var render = function () {
4936
4937
  on: {
4937
4938
  buttonClick: _vm.handleButtonClick,
4938
4939
  success: _vm.handleNewFlowSuccess,
4940
+ save: _vm.handleNewFlowSave,
4941
+ shrink: _vm.setShrink,
4939
4942
  },
4940
4943
  },
4941
4944
  "FlowNew",
@@ -4992,7 +4995,11 @@ var render = function () {
4992
4995
  ? "es-icon-shouqi"
4993
4996
  : "es-icon-zhankai",
4994
4997
  },
4995
- on: { click: _vm.setShrink },
4998
+ on: {
4999
+ click: function ($event) {
5000
+ _vm.setShrink(!_vm.shrink)
5001
+ },
5002
+ },
4996
5003
  })
4997
5004
  : _vm._e(),
4998
5005
  ],
@@ -5323,7 +5330,11 @@ var render = function () {
5323
5330
  ? "es-icon-shouqi"
5324
5331
  : "es-icon-zhankai",
5325
5332
  },
5326
- on: { click: _vm.setShrink },
5333
+ on: {
5334
+ click: function ($event) {
5335
+ _vm.setShrink(!_vm.shrink)
5336
+ },
5337
+ },
5327
5338
  })
5328
5339
  : _vm._e(),
5329
5340
  ],
@@ -7802,6 +7813,7 @@ var render = function () {
7802
7813
  attrs: {
7803
7814
  "pending-id": _vm.pendingId,
7804
7815
  opinion: _vm.value,
7816
+ businessName: _vm.businessName,
7805
7817
  type: _vm.taskReadType,
7806
7818
  showTooltip: _vm.showTooltip,
7807
7819
  flowLabelConfig: _vm.flowLabelConfig,
@@ -8038,7 +8050,7 @@ var staticRenderFns = []
8038
8050
  render._withStripped = true
8039
8051
 
8040
8052
 
8041
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
8053
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=64fec1bc&
8042
8054
 
8043
8055
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
8044
8056
  var regenerator_ = __webpack_require__(4);
@@ -9102,8 +9114,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
9102
9114
  )
9103
9115
 
9104
9116
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
9105
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
9106
- var flowvue_type_template_id_ef00b086_render = function () {
9117
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=7261bf44&
9118
+ var flowvue_type_template_id_7261bf44_render = function () {
9107
9119
  var _vm = this
9108
9120
  var _h = _vm.$createElement
9109
9121
  var _c = _vm._self._c || _h
@@ -9130,7 +9142,10 @@ var flowvue_type_template_id_ef00b086_render = function () {
9130
9142
  _c("div", { staticClass: "es-flow-top" }, [
9131
9143
  _c(
9132
9144
  "div",
9133
- { staticClass: "es-flow-title" },
9145
+ {
9146
+ class:
9147
+ "es-flow-title " + (_vm.shrink ? "border_none" : ""),
9148
+ },
9134
9149
  [
9135
9150
  _c(
9136
9151
  "span",
@@ -9262,6 +9277,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
9262
9277
  ? _c(
9263
9278
  "el-select",
9264
9279
  {
9280
+ staticClass: "es-flow-select",
9265
9281
  staticStyle: {
9266
9282
  width: "100% !important",
9267
9283
  },
@@ -9381,6 +9397,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
9381
9397
  simpleTips: _vm.simpleTips,
9382
9398
  typeCode: "read",
9383
9399
  param: _vm.param,
9400
+ businessName: _vm.businessName,
9384
9401
  selectorConfig: _vm.selectorConfig,
9385
9402
  resetAppId: _vm.resetAppId,
9386
9403
  taskExamine: _vm.taskExamineInfo,
@@ -9459,7 +9476,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
9459
9476
  [
9460
9477
  _c(
9461
9478
  "div",
9462
- { staticClass: "es-flow-title" },
9479
+ {
9480
+ class:
9481
+ "es-flow-title " +
9482
+ (_vm.shrink ? "border_none" : ""),
9483
+ },
9463
9484
  [
9464
9485
  _c(
9465
9486
  "span",
@@ -9803,6 +9824,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
9803
9824
  "el-select",
9804
9825
  {
9805
9826
  key: _vm.optionsKey,
9827
+ staticClass: "es-flow-select",
9806
9828
  staticStyle: {
9807
9829
  width: "calc(100% + 40px)",
9808
9830
  },
@@ -10221,6 +10243,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10221
10243
  ? _c(
10222
10244
  "el-select",
10223
10245
  {
10246
+ staticClass:
10247
+ "es-flow-select",
10224
10248
  attrs: {
10225
10249
  placeholder:
10226
10250
  "请选择下步操作",
@@ -10343,6 +10367,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10343
10367
  ? _c(
10344
10368
  "el-select",
10345
10369
  {
10370
+ staticClass:
10371
+ "es-flow-select",
10346
10372
  attrs: {
10347
10373
  placeholder:
10348
10374
  "请选择下步节点",
@@ -10388,6 +10414,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10388
10414
  "el-option",
10389
10415
  {
10390
10416
  key: items.id,
10417
+ staticClass:
10418
+ "es-flow-select",
10391
10419
  attrs: {
10392
10420
  label:
10393
10421
  items.nodeName,
@@ -10653,6 +10681,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10653
10681
  _c(
10654
10682
  "el-select",
10655
10683
  {
10684
+ staticClass:
10685
+ "es-flow-select",
10656
10686
  attrs: {
10657
10687
  placeholder:
10658
10688
  "请选择主办",
@@ -10997,7 +11027,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
10997
11027
  ],
10998
11028
  1
10999
11029
  ),
11000
- _vm.isCustomPreset
11030
+ _vm.isCustomPreset && _vm.nextNode.nextOperate != 9
11001
11031
  ? _c("CustomPreset", {
11002
11032
  ref: "customPreset",
11003
11033
  attrs: {
@@ -11312,81 +11342,90 @@ var flowvue_type_template_id_ef00b086_render = function () {
11312
11342
  1
11313
11343
  )
11314
11344
  : _vm._e(),
11315
- _vm.btnType === "reject"
11316
- ? _c("ProcessReject", {
11317
- ref: "reject",
11318
- staticClass: "es-info",
11319
- attrs: {
11320
- "pending-id": _vm.pendingId,
11321
- option: _vm.value,
11322
- hideBtn: "",
11323
- showTooltip: _vm.showTooltip,
11324
- simpleTips: _vm.simpleTips,
11325
- flowLabelConfig: _vm.flowLabelConfig,
11326
- isCancelSecondConfirmationType:
11327
- _vm.isCancelSecondConfirmationType,
11328
- hideMessage: _vm.hideMessage,
11329
- "show-reject": _vm.showReject,
11330
- "news-info": _vm.nextNode.notificationMsg,
11331
- },
11332
- on: {
11333
- cancel: function ($event) {
11334
- _vm.closeProcess($event, "showReject")
11335
- },
11336
- },
11337
- })
11338
- : _vm.btnType === "toStartTaskRead" ||
11339
- _vm.btnType === "toTaskReadAndEnd"
11340
- ? _c("StartTaskRead", {
11341
- ref: _vm.btnType,
11342
- staticClass: "es-info",
11343
- attrs: {
11344
- "pending-id": _vm.pendingId,
11345
- hideBtn: "",
11346
- opinion: _vm.value,
11347
- type: _vm.taskReadType,
11348
- resetAppId: _vm.resetAppId,
11349
- showTooltip: _vm.showTooltip,
11350
- flowLabelConfig: _vm.flowLabelConfig,
11351
- hideMessage: _vm.hideMessage,
11352
- selectorConfig: _vm.selectorConfig,
11353
- simpleTips: _vm.simpleTips,
11354
- subParams: _vm.subParams,
11355
- taskExamine: _vm.taskExamineInfo,
11356
- "news-info": _vm.nextNode.notificationMsg,
11357
- },
11358
- on: {
11359
- cancel: function ($event) {
11360
- _vm.closeProcess($event, "showTaskRead")
11361
- },
11362
- },
11363
- })
11364
- : _vm.btnType === "toTakeAdvice" ||
11365
- _vm.btnType === "toUnionExamine" ||
11366
- _vm.btnType === "toStartDraf"
11367
- ? _c("TaskUnionExamine", {
11368
- ref: _vm.btnType,
11369
- staticClass: "es-info",
11370
- attrs: {
11371
- hideBtn: "",
11372
- simpleTips: _vm.simpleTips,
11373
- pendingId: _vm.pendingId,
11374
- defaultOpinion: _vm.nodeDefaultSubmitOpinion,
11375
- oldOption: _vm.value,
11376
- isCancelSecondConfirmationType:
11377
- _vm.isCancelSecondConfirmationType,
11378
- selectorParams: _vm.selectorParams,
11379
- type: _vm.flowType,
11380
- multiple: _vm.flowMultiple,
11381
- disabled: _vm.flowDisabled,
11382
- },
11383
- on: {
11384
- cancel: function ($event) {
11385
- _vm.closeProcess($event, "showTaskUnionExamine")
11386
- },
11387
- },
11388
- })
11389
- : _vm._e(),
11345
+ _c(
11346
+ "div",
11347
+ { staticClass: "es-info" },
11348
+ [
11349
+ _vm.btnType === "reject"
11350
+ ? _c("ProcessReject", {
11351
+ ref: "reject",
11352
+ staticClass: "es-info",
11353
+ attrs: {
11354
+ "pending-id": _vm.pendingId,
11355
+ option: _vm.value,
11356
+ hideBtn: "",
11357
+ showTooltip: _vm.showTooltip,
11358
+ simpleTips: _vm.simpleTips,
11359
+ flowLabelConfig: _vm.flowLabelConfig,
11360
+ isCancelSecondConfirmationType:
11361
+ _vm.isCancelSecondConfirmationType,
11362
+ hideMessage: _vm.hideMessage,
11363
+ "show-reject": _vm.showReject,
11364
+ "news-info": _vm.nextNode.notificationMsg,
11365
+ },
11366
+ on: {
11367
+ cancel: function ($event) {
11368
+ _vm.closeProcess($event, "showReject")
11369
+ },
11370
+ },
11371
+ })
11372
+ : _vm.btnType === "toStartTaskRead" ||
11373
+ _vm.btnType === "toTaskReadAndEnd" ||
11374
+ _vm.btnType === "toTransfer"
11375
+ ? _c("StartTaskRead", {
11376
+ ref: _vm.btnType,
11377
+ staticClass: "es-info",
11378
+ attrs: {
11379
+ "pending-id": _vm.pendingId,
11380
+ hideBtn: "",
11381
+ opinion: _vm.value,
11382
+ type: _vm.taskReadType,
11383
+ resetAppId: _vm.resetAppId,
11384
+ businessName: _vm.businessName,
11385
+ showTooltip: _vm.showTooltip,
11386
+ flowLabelConfig: _vm.flowLabelConfig,
11387
+ hideMessage: _vm.hideMessage,
11388
+ selectorConfig: _vm.selectorConfig,
11389
+ simpleTips: _vm.simpleTips,
11390
+ subParams: _vm.subParams,
11391
+ taskExamine: _vm.taskExamineInfo,
11392
+ "news-info": _vm.nextNode.notificationMsg,
11393
+ },
11394
+ on: {
11395
+ cancel: function ($event) {
11396
+ _vm.closeProcess($event, "showTaskRead")
11397
+ },
11398
+ },
11399
+ })
11400
+ : _vm.btnType === "toTakeAdvice" ||
11401
+ _vm.btnType === "toUnionExamine" ||
11402
+ _vm.btnType === "toStartDraf"
11403
+ ? _c("TaskUnionExamine", {
11404
+ ref: _vm.btnType,
11405
+ staticClass: "es-info",
11406
+ attrs: {
11407
+ hideBtn: "",
11408
+ simpleTips: _vm.simpleTips,
11409
+ pendingId: _vm.pendingId,
11410
+ defaultOpinion: _vm.nodeDefaultSubmitOpinion,
11411
+ oldOption: _vm.value,
11412
+ isCancelSecondConfirmationType:
11413
+ _vm.isCancelSecondConfirmationType,
11414
+ selectorParams: _vm.selectorParams,
11415
+ type: _vm.flowType,
11416
+ multiple: _vm.flowMultiple,
11417
+ disabled: _vm.flowDisabled,
11418
+ },
11419
+ on: {
11420
+ cancel: function ($event) {
11421
+ _vm.closeProcess($event, "showTaskUnionExamine")
11422
+ },
11423
+ },
11424
+ })
11425
+ : _vm._e(),
11426
+ ],
11427
+ 1
11428
+ ),
11390
11429
  _vm.newTypeCode != "fenyue" && !_vm.shrink
11391
11430
  ? _c(
11392
11431
  "div",
@@ -11789,6 +11828,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
11789
11828
  opinion: _vm.value,
11790
11829
  type: _vm.taskReadType,
11791
11830
  showTooltip: _vm.showTooltip,
11831
+ businessName: _vm.businessName,
11792
11832
  flowLabelConfig: _vm.flowLabelConfig,
11793
11833
  hideMessage: _vm.hideMessage,
11794
11834
  selectorConfig: _vm.selectorConfig,
@@ -12019,11 +12059,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
12019
12059
  )
12020
12060
  : _vm._e()
12021
12061
  }
12022
- var flowvue_type_template_id_ef00b086_staticRenderFns = []
12023
- flowvue_type_template_id_ef00b086_render._withStripped = true
12062
+ var flowvue_type_template_id_7261bf44_staticRenderFns = []
12063
+ flowvue_type_template_id_7261bf44_render._withStripped = true
12024
12064
 
12025
12065
 
12026
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
12066
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=7261bf44&
12027
12067
 
12028
12068
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=template&id=5f07a050&
12029
12069
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -13696,8 +13736,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
13696
13736
 
13697
13737
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
13698
13738
 
13699
- // 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=4dc7fc96&
13700
- var selectUservue_type_template_id_4dc7fc96_render = function () {
13739
+ // 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=08827ac3&
13740
+ var selectUservue_type_template_id_08827ac3_render = function () {
13701
13741
  var _vm = this
13702
13742
  var _h = _vm.$createElement
13703
13743
  var _c = _vm._self._c || _h
@@ -13860,11 +13900,11 @@ var selectUservue_type_template_id_4dc7fc96_render = function () {
13860
13900
  1
13861
13901
  )
13862
13902
  }
13863
- var selectUservue_type_template_id_4dc7fc96_staticRenderFns = []
13864
- selectUservue_type_template_id_4dc7fc96_render._withStripped = true
13903
+ var selectUservue_type_template_id_08827ac3_staticRenderFns = []
13904
+ selectUservue_type_template_id_08827ac3_render._withStripped = true
13865
13905
 
13866
13906
 
13867
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4dc7fc96&
13907
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
13868
13908
 
13869
13909
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
13870
13910
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -14278,6 +14318,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14278
14318
  getSelectUser: function getSelectUser(val) {
14279
14319
  var _this4 = this;
14280
14320
 
14321
+ console.log(val, 'val');
14281
14322
  this.newOptions = [];
14282
14323
  var data = {};
14283
14324
  if (this.mix) data = this.getMixList();
@@ -14396,8 +14437,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14396
14437
 
14397
14438
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14398
14439
  src_selectUservue_type_script_lang_js_,
14399
- selectUservue_type_template_id_4dc7fc96_render,
14400
- selectUservue_type_template_id_4dc7fc96_staticRenderFns,
14440
+ selectUservue_type_template_id_08827ac3_render,
14441
+ selectUservue_type_template_id_08827ac3_staticRenderFns,
14401
14442
  false,
14402
14443
  null,
14403
14444
  null,
@@ -18559,8 +18600,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
18559
18600
  )
18560
18601
 
18561
18602
  /* harmony default export */ var processReject = (processReject_component.exports);
18562
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
18563
- var startTaskReadvue_type_template_id_fffcbc42_render = function () {
18603
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f51e934&
18604
+ var startTaskReadvue_type_template_id_4f51e934_render = function () {
18564
18605
  var _vm = this
18565
18606
  var _h = _vm.$createElement
18566
18607
  var _c = _vm._self._c || _h
@@ -18991,11 +19032,11 @@ var startTaskReadvue_type_template_id_fffcbc42_render = function () {
18991
19032
  1
18992
19033
  )
18993
19034
  }
18994
- var startTaskReadvue_type_template_id_fffcbc42_staticRenderFns = []
18995
- startTaskReadvue_type_template_id_fffcbc42_render._withStripped = true
19035
+ var startTaskReadvue_type_template_id_4f51e934_staticRenderFns = []
19036
+ startTaskReadvue_type_template_id_4f51e934_render._withStripped = true
18996
19037
 
18997
19038
 
18998
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=fffcbc42&
19039
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=4f51e934&
18999
19040
 
19000
19041
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
19001
19042
  var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -19198,6 +19239,7 @@ var startTaskReadvue_type_script_lang_js_components;
19198
19239
  type: [Object, undefined],
19199
19240
  default: undefined
19200
19241
  },
19242
+ businessName: { type: String, default: '' },
19201
19243
  readParams: {
19202
19244
  type: [Object, undefined],
19203
19245
  default: undefined
@@ -19661,6 +19703,8 @@ var startTaskReadvue_type_script_lang_js_components;
19661
19703
  }
19662
19704
  if (_this8.subParams) {
19663
19705
  params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
19706
+ } else if (_this8.businessName) {
19707
+ params.businessName = _this8.businessName;
19664
19708
  }
19665
19709
  delete _this8.configInfo.taskExamine.taskExamineParam;
19666
19710
  util["a" /* default */].ajax({
@@ -19747,8 +19791,8 @@ var startTaskReadvue_type_script_lang_js_components;
19747
19791
 
19748
19792
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
19749
19793
  src_startTaskReadvue_type_script_lang_js_,
19750
- startTaskReadvue_type_template_id_fffcbc42_render,
19751
- startTaskReadvue_type_template_id_fffcbc42_staticRenderFns,
19794
+ startTaskReadvue_type_template_id_4f51e934_render,
19795
+ startTaskReadvue_type_template_id_4f51e934_staticRenderFns,
19752
19796
  false,
19753
19797
  null,
19754
19798
  null,
@@ -30089,6 +30133,18 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30089
30133
  //
30090
30134
  //
30091
30135
  //
30136
+ //
30137
+ //
30138
+ //
30139
+ //
30140
+ //
30141
+ //
30142
+ //
30143
+ //
30144
+ //
30145
+ //
30146
+ //
30147
+ //
30092
30148
 
30093
30149
 
30094
30150
 
@@ -30124,6 +30180,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30124
30180
  nodeName: { type: String, default: '' },
30125
30181
  typeCode: { type: String, default: '' },
30126
30182
  selectorConfig: { type: [Object, undefined], default: undefined },
30183
+ businessName: { type: String, default: '' },
30127
30184
  flowTypeCode: { type: String, default: '' },
30128
30185
  defaultProcessKey: { type: String, default: '' },
30129
30186
  hideBtn: { type: Boolean, default: false },
@@ -30845,7 +30902,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30845
30902
  },
30846
30903
  setShrink: function setShrink() {
30847
30904
  this.shrink = !this.shrink;
30848
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
30905
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
30849
30906
  this.$emit('shrink', this.shrink);
30850
30907
  },
30851
30908
  customLoading: function customLoading(type) {
@@ -31053,12 +31110,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31053
31110
 
31054
31111
  if (this.isFlow) {
31055
31112
  if (!type) {
31113
+ console.log(btn);
31056
31114
  if (btn && btn.before) {
31057
31115
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
31058
31116
  _this14.$emit('save', _this14.businessIds);
31059
31117
  }).catch(function (e) {});
31060
31118
  } else if (this.beforeSubmit != undefined) {
31061
- this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
31119
+ this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
31062
31120
  _this14.$emit('save', _this14.businessIds);
31063
31121
  }).catch(function (e) {});
31064
31122
  } else {
@@ -31143,20 +31201,28 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31143
31201
 
31144
31202
  // return this.$message.warning('暂未开放!敬请期待');
31145
31203
 
31146
- this.isLoadRead() && (this.btnType = '');
31204
+ this.btnType = '';
31147
31205
  setTimeout(function () {
31148
31206
  if (_this17.beforeSubmit != undefined) {
31149
31207
  _this17.beforeSubmit().then(function (next) {
31150
31208
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
31151
31209
  _this17.taskReadType = 'create';
31152
31210
  // this.showTaskRead = true;
31153
- _this17.btnType = _this17.btnFunValue(res.fun);
31211
+ if (_this17.typeCode == 'fenyue') {
31212
+ _this17.showTaskRead = true;
31213
+ } else {
31214
+ _this17.btnType = _this17.btnFunValue(res.fun);
31215
+ }
31154
31216
  }).catch(function (e) {});
31155
31217
  } else {
31156
31218
  if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
31157
31219
  _this17.taskReadType = 'create';
31158
31220
  // this.showTaskRead = true;
31159
- _this17.btnType = _this17.btnFunValue(res.fun);
31221
+ if (_this17.typeCode == 'fenyue') {
31222
+ _this17.showTaskRead = true;
31223
+ } else {
31224
+ _this17.btnType = _this17.btnFunValue(res.fun);
31225
+ }
31160
31226
  }
31161
31227
  }, 0);
31162
31228
  },
@@ -31512,7 +31578,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31512
31578
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31513
31579
  var _this27 = this;
31514
31580
 
31515
- this.isLoadRead() && (this.btnType = '');
31581
+ this.btnType = '';
31516
31582
  setTimeout(function () {
31517
31583
  if (_this27.beforeSubmit != undefined) {
31518
31584
  _this27.beforeSubmit().then(function (next) {
@@ -31600,15 +31666,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31600
31666
  toTransfer: function toTransfer(res) {
31601
31667
  var _this30 = this;
31602
31668
 
31603
- if (this.beforeSubmit != undefined) {
31604
- this.beforeSubmit(0).then(function (next) {
31669
+ this.btnType = '';
31670
+ setTimeout(function () {
31671
+ if (_this30.beforeSubmit != undefined) {
31672
+ _this30.beforeSubmit(0).then(function (next) {
31673
+ _this30.taskReadType = 'transfer';
31674
+ // this.showTaskRead = true;
31675
+ _this30.btnType = _this30.btnFunValue(res.fun);
31676
+ }).catch(function (e) {});
31677
+ } else {
31605
31678
  _this30.taskReadType = 'transfer';
31606
- _this30.showTaskRead = true;
31607
- }).catch(function (e) {});
31608
- } else {
31609
- this.taskReadType = 'transfer';
31610
- this.showTaskRead = true;
31611
- }
31679
+ _this30.btnType = _this30.btnFunValue(res.fun);
31680
+ // this.showTaskRead = true;
31681
+ }
31682
+ }, 0);
31612
31683
  },
31613
31684
  handleChangeTime: function handleChangeTime(val) {
31614
31685
  this.nextNode.customLimitTime = val;
@@ -33001,8 +33072,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
33001
33072
 
33002
33073
  var flow_component = Object(componentNormalizer["a" /* default */])(
33003
33074
  src_flowvue_type_script_lang_js_,
33004
- flowvue_type_template_id_ef00b086_render,
33005
- flowvue_type_template_id_ef00b086_staticRenderFns,
33075
+ flowvue_type_template_id_7261bf44_render,
33076
+ flowvue_type_template_id_7261bf44_staticRenderFns,
33006
33077
  false,
33007
33078
  null,
33008
33079
  null,
@@ -34316,6 +34387,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34316
34387
  //
34317
34388
  //
34318
34389
  //
34390
+ //
34391
+ //
34392
+ //
34393
+ //
34319
34394
 
34320
34395
 
34321
34396
 
@@ -34394,6 +34469,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34394
34469
  type: Object,
34395
34470
  default: function _default() {}
34396
34471
  },
34472
+ businessName: { type: String, default: '' },
34397
34473
  selectorParams: {
34398
34474
  type: Object,
34399
34475
  default: function _default() {
@@ -34927,6 +35003,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34927
35003
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
34928
35004
  });
34929
35005
  },
35006
+ handleNewFlowSave: function handleNewFlowSave(businessIds) {
35007
+ this.$emit('save', businessIds);
35008
+ },
34930
35009
  handleNewFlowSuccess: function handleNewFlowSuccess(type) {
34931
35010
  if (type == 'taskRead') {
34932
35011
  this.$emit('successRead', type);
@@ -35057,9 +35136,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35057
35136
  }
35058
35137
  }
35059
35138
  },
35060
- setShrink: function setShrink() {
35061
- this.shrink = !this.shrink;
35062
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
35139
+ setShrink: function setShrink(val) {
35140
+ this.shrink = val;
35141
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
35063
35142
  this.$emit('shrink', this.shrink);
35064
35143
  },
35065
35144
  customLoading: function customLoading(type) {