eoss-ui 0.8.39 → 0.8.40

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 (41) hide show
  1. package/lib/eoss-ui.common.js +736 -1086
  2. package/lib/flow-list.js +83 -22
  3. package/lib/flow.js +167 -111
  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 +26 -11
  18. package/packages/flow/src/main.vue +10 -5
  19. package/packages/flow/src/selectUser.vue +1 -0
  20. package/packages/flow-list/src/main.vue +72 -14
  21. package/packages/selector/src/main.vue +120 -269
  22. package/packages/selector-panel/src/main.vue +1071 -1036
  23. package/packages/selector-panel/src/tree.vue +24 -18
  24. package/packages/theme-chalk/lib/flow-list.css +1 -1
  25. package/packages/theme-chalk/lib/flow.css +1 -1
  26. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  27. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  28. package/packages/theme-chalk/lib/form.css +1 -1
  29. package/packages/theme-chalk/lib/index.css +1 -1
  30. package/packages/theme-chalk/lib/selector-panel.css +1 -1
  31. package/packages/theme-chalk/lib/selector.css +1 -1
  32. package/packages/theme-chalk/lib/tree.css +1 -1
  33. package/packages/theme-chalk/src/flow-list.scss +61 -55
  34. package/packages/theme-chalk/src/flow.scss +16 -2
  35. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  36. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  37. package/packages/theme-chalk/src/form.scss +5 -1
  38. package/packages/theme-chalk/src/selector-panel.scss +36 -6
  39. package/packages/theme-chalk/src/selector.scss +66 -115
  40. package/packages/theme-chalk/src/tree.scss +1 -1
  41. 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=7e2b9e7d&
4882
4882
  var render = function () {
4883
4883
  var _vm = this
4884
4884
  var _h = _vm.$createElement
@@ -4936,6 +4936,8 @@ var render = function () {
4936
4936
  on: {
4937
4937
  buttonClick: _vm.handleButtonClick,
4938
4938
  success: _vm.handleNewFlowSuccess,
4939
+ save: _vm.handleNewFlowSave,
4940
+ shrink: _vm.setShrink,
4939
4941
  },
4940
4942
  },
4941
4943
  "FlowNew",
@@ -4992,7 +4994,11 @@ var render = function () {
4992
4994
  ? "es-icon-shouqi"
4993
4995
  : "es-icon-zhankai",
4994
4996
  },
4995
- on: { click: _vm.setShrink },
4997
+ on: {
4998
+ click: function ($event) {
4999
+ _vm.setShrink(!_vm.shrink)
5000
+ },
5001
+ },
4996
5002
  })
4997
5003
  : _vm._e(),
4998
5004
  ],
@@ -5323,7 +5329,11 @@ var render = function () {
5323
5329
  ? "es-icon-shouqi"
5324
5330
  : "es-icon-zhankai",
5325
5331
  },
5326
- on: { click: _vm.setShrink },
5332
+ on: {
5333
+ click: function ($event) {
5334
+ _vm.setShrink(!_vm.shrink)
5335
+ },
5336
+ },
5327
5337
  })
5328
5338
  : _vm._e(),
5329
5339
  ],
@@ -8038,7 +8048,7 @@ var staticRenderFns = []
8038
8048
  render._withStripped = true
8039
8049
 
8040
8050
 
8041
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=723b9982&
8051
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7e2b9e7d&
8042
8052
 
8043
8053
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
8044
8054
  var regenerator_ = __webpack_require__(4);
@@ -9102,8 +9112,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
9102
9112
  )
9103
9113
 
9104
9114
  /* 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 () {
9115
+ // 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=d84c2cd8&
9116
+ var flowvue_type_template_id_d84c2cd8_render = function () {
9107
9117
  var _vm = this
9108
9118
  var _h = _vm.$createElement
9109
9119
  var _c = _vm._self._c || _h
@@ -9130,7 +9140,10 @@ var flowvue_type_template_id_ef00b086_render = function () {
9130
9140
  _c("div", { staticClass: "es-flow-top" }, [
9131
9141
  _c(
9132
9142
  "div",
9133
- { staticClass: "es-flow-title" },
9143
+ {
9144
+ class:
9145
+ "es-flow-title " + (_vm.shrink ? "border_none" : ""),
9146
+ },
9134
9147
  [
9135
9148
  _c(
9136
9149
  "span",
@@ -9262,6 +9275,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
9262
9275
  ? _c(
9263
9276
  "el-select",
9264
9277
  {
9278
+ staticClass: "es-flow-select",
9265
9279
  staticStyle: {
9266
9280
  width: "100% !important",
9267
9281
  },
@@ -9459,7 +9473,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
9459
9473
  [
9460
9474
  _c(
9461
9475
  "div",
9462
- { staticClass: "es-flow-title" },
9476
+ {
9477
+ class:
9478
+ "es-flow-title " +
9479
+ (_vm.shrink ? "border_none" : ""),
9480
+ },
9463
9481
  [
9464
9482
  _c(
9465
9483
  "span",
@@ -9803,6 +9821,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
9803
9821
  "el-select",
9804
9822
  {
9805
9823
  key: _vm.optionsKey,
9824
+ staticClass: "es-flow-select",
9806
9825
  staticStyle: {
9807
9826
  width: "calc(100% + 40px)",
9808
9827
  },
@@ -10221,6 +10240,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10221
10240
  ? _c(
10222
10241
  "el-select",
10223
10242
  {
10243
+ staticClass:
10244
+ "es-flow-select",
10224
10245
  attrs: {
10225
10246
  placeholder:
10226
10247
  "请选择下步操作",
@@ -10343,6 +10364,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10343
10364
  ? _c(
10344
10365
  "el-select",
10345
10366
  {
10367
+ staticClass:
10368
+ "es-flow-select",
10346
10369
  attrs: {
10347
10370
  placeholder:
10348
10371
  "请选择下步节点",
@@ -10388,6 +10411,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10388
10411
  "el-option",
10389
10412
  {
10390
10413
  key: items.id,
10414
+ staticClass:
10415
+ "es-flow-select",
10391
10416
  attrs: {
10392
10417
  label:
10393
10418
  items.nodeName,
@@ -10653,6 +10678,8 @@ var flowvue_type_template_id_ef00b086_render = function () {
10653
10678
  _c(
10654
10679
  "el-select",
10655
10680
  {
10681
+ staticClass:
10682
+ "es-flow-select",
10656
10683
  attrs: {
10657
10684
  placeholder:
10658
10685
  "请选择主办",
@@ -10997,7 +11024,7 @@ var flowvue_type_template_id_ef00b086_render = function () {
10997
11024
  ],
10998
11025
  1
10999
11026
  ),
11000
- _vm.isCustomPreset
11027
+ _vm.isCustomPreset && _vm.nextNode.nextOperate != 9
11001
11028
  ? _c("CustomPreset", {
11002
11029
  ref: "customPreset",
11003
11030
  attrs: {
@@ -11312,81 +11339,89 @@ var flowvue_type_template_id_ef00b086_render = function () {
11312
11339
  1
11313
11340
  )
11314
11341
  : _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(),
11342
+ _c(
11343
+ "div",
11344
+ { staticClass: "es-info" },
11345
+ [
11346
+ _vm.btnType === "reject"
11347
+ ? _c("ProcessReject", {
11348
+ ref: "reject",
11349
+ staticClass: "es-info",
11350
+ attrs: {
11351
+ "pending-id": _vm.pendingId,
11352
+ option: _vm.value,
11353
+ hideBtn: "",
11354
+ showTooltip: _vm.showTooltip,
11355
+ simpleTips: _vm.simpleTips,
11356
+ flowLabelConfig: _vm.flowLabelConfig,
11357
+ isCancelSecondConfirmationType:
11358
+ _vm.isCancelSecondConfirmationType,
11359
+ hideMessage: _vm.hideMessage,
11360
+ "show-reject": _vm.showReject,
11361
+ "news-info": _vm.nextNode.notificationMsg,
11362
+ },
11363
+ on: {
11364
+ cancel: function ($event) {
11365
+ _vm.closeProcess($event, "showReject")
11366
+ },
11367
+ },
11368
+ })
11369
+ : _vm.btnType === "toStartTaskRead" ||
11370
+ _vm.btnType === "toTaskReadAndEnd" ||
11371
+ _vm.btnType === "toTransfer"
11372
+ ? _c("StartTaskRead", {
11373
+ ref: _vm.btnType,
11374
+ staticClass: "es-info",
11375
+ attrs: {
11376
+ "pending-id": _vm.pendingId,
11377
+ hideBtn: "",
11378
+ opinion: _vm.value,
11379
+ type: _vm.taskReadType,
11380
+ resetAppId: _vm.resetAppId,
11381
+ showTooltip: _vm.showTooltip,
11382
+ flowLabelConfig: _vm.flowLabelConfig,
11383
+ hideMessage: _vm.hideMessage,
11384
+ selectorConfig: _vm.selectorConfig,
11385
+ simpleTips: _vm.simpleTips,
11386
+ subParams: _vm.subParams,
11387
+ taskExamine: _vm.taskExamineInfo,
11388
+ "news-info": _vm.nextNode.notificationMsg,
11389
+ },
11390
+ on: {
11391
+ cancel: function ($event) {
11392
+ _vm.closeProcess($event, "showTaskRead")
11393
+ },
11394
+ },
11395
+ })
11396
+ : _vm.btnType === "toTakeAdvice" ||
11397
+ _vm.btnType === "toUnionExamine" ||
11398
+ _vm.btnType === "toStartDraf"
11399
+ ? _c("TaskUnionExamine", {
11400
+ ref: _vm.btnType,
11401
+ staticClass: "es-info",
11402
+ attrs: {
11403
+ hideBtn: "",
11404
+ simpleTips: _vm.simpleTips,
11405
+ pendingId: _vm.pendingId,
11406
+ defaultOpinion: _vm.nodeDefaultSubmitOpinion,
11407
+ oldOption: _vm.value,
11408
+ isCancelSecondConfirmationType:
11409
+ _vm.isCancelSecondConfirmationType,
11410
+ selectorParams: _vm.selectorParams,
11411
+ type: _vm.flowType,
11412
+ multiple: _vm.flowMultiple,
11413
+ disabled: _vm.flowDisabled,
11414
+ },
11415
+ on: {
11416
+ cancel: function ($event) {
11417
+ _vm.closeProcess($event, "showTaskUnionExamine")
11418
+ },
11419
+ },
11420
+ })
11421
+ : _vm._e(),
11422
+ ],
11423
+ 1
11424
+ ),
11390
11425
  _vm.newTypeCode != "fenyue" && !_vm.shrink
11391
11426
  ? _c(
11392
11427
  "div",
@@ -12019,11 +12054,11 @@ var flowvue_type_template_id_ef00b086_render = function () {
12019
12054
  )
12020
12055
  : _vm._e()
12021
12056
  }
12022
- var flowvue_type_template_id_ef00b086_staticRenderFns = []
12023
- flowvue_type_template_id_ef00b086_render._withStripped = true
12057
+ var flowvue_type_template_id_d84c2cd8_staticRenderFns = []
12058
+ flowvue_type_template_id_d84c2cd8_render._withStripped = true
12024
12059
 
12025
12060
 
12026
- // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=ef00b086&
12061
+ // CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=d84c2cd8&
12027
12062
 
12028
12063
  // 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
12064
  var Opinionsvue_type_template_id_5f07a050_render = function () {
@@ -13696,8 +13731,8 @@ processFormvue_type_template_id_2860b038_render._withStripped = true
13696
13731
 
13697
13732
  // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=2860b038&
13698
13733
 
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 () {
13734
+ // 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&
13735
+ var selectUservue_type_template_id_08827ac3_render = function () {
13701
13736
  var _vm = this
13702
13737
  var _h = _vm.$createElement
13703
13738
  var _c = _vm._self._c || _h
@@ -13860,11 +13895,11 @@ var selectUservue_type_template_id_4dc7fc96_render = function () {
13860
13895
  1
13861
13896
  )
13862
13897
  }
13863
- var selectUservue_type_template_id_4dc7fc96_staticRenderFns = []
13864
- selectUservue_type_template_id_4dc7fc96_render._withStripped = true
13898
+ var selectUservue_type_template_id_08827ac3_staticRenderFns = []
13899
+ selectUservue_type_template_id_08827ac3_render._withStripped = true
13865
13900
 
13866
13901
 
13867
- // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4dc7fc96&
13902
+ // CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=08827ac3&
13868
13903
 
13869
13904
  // 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
13905
  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 +14313,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14278
14313
  getSelectUser: function getSelectUser(val) {
14279
14314
  var _this4 = this;
14280
14315
 
14316
+ console.log(val, 'val');
14281
14317
  this.newOptions = [];
14282
14318
  var data = {};
14283
14319
  if (this.mix) data = this.getMixList();
@@ -14396,8 +14432,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
14396
14432
 
14397
14433
  var selectUser_component = Object(componentNormalizer["a" /* default */])(
14398
14434
  src_selectUservue_type_script_lang_js_,
14399
- selectUservue_type_template_id_4dc7fc96_render,
14400
- selectUservue_type_template_id_4dc7fc96_staticRenderFns,
14435
+ selectUservue_type_template_id_08827ac3_render,
14436
+ selectUservue_type_template_id_08827ac3_staticRenderFns,
14401
14437
  false,
14402
14438
  null,
14403
14439
  null,
@@ -30089,6 +30125,15 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30089
30125
  //
30090
30126
  //
30091
30127
  //
30128
+ //
30129
+ //
30130
+ //
30131
+ //
30132
+ //
30133
+ //
30134
+ //
30135
+ //
30136
+ //
30092
30137
 
30093
30138
 
30094
30139
 
@@ -30845,7 +30890,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
30845
30890
  },
30846
30891
  setShrink: function setShrink() {
30847
30892
  this.shrink = !this.shrink;
30848
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
30893
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
30849
30894
  this.$emit('shrink', this.shrink);
30850
30895
  },
30851
30896
  customLoading: function customLoading(type) {
@@ -31053,12 +31098,13 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31053
31098
 
31054
31099
  if (this.isFlow) {
31055
31100
  if (!type) {
31101
+ console.log(btn);
31056
31102
  if (btn && btn.before) {
31057
31103
  btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
31058
31104
  _this14.$emit('save', _this14.businessIds);
31059
31105
  }).catch(function (e) {});
31060
31106
  } else if (this.beforeSubmit != undefined) {
31061
- this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
31107
+ this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1, btn.event).then(function (next) {
31062
31108
  _this14.$emit('save', _this14.businessIds);
31063
31109
  }).catch(function (e) {});
31064
31110
  } else {
@@ -31143,7 +31189,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31143
31189
 
31144
31190
  // return this.$message.warning('暂未开放!敬请期待');
31145
31191
 
31146
- this.isLoadRead() && (this.btnType = '');
31192
+ this.btnType = '';
31147
31193
  setTimeout(function () {
31148
31194
  if (_this17.beforeSubmit != undefined) {
31149
31195
  _this17.beforeSubmit().then(function (next) {
@@ -31512,7 +31558,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31512
31558
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
31513
31559
  var _this27 = this;
31514
31560
 
31515
- this.isLoadRead() && (this.btnType = '');
31561
+ this.btnType = '';
31516
31562
  setTimeout(function () {
31517
31563
  if (_this27.beforeSubmit != undefined) {
31518
31564
  _this27.beforeSubmit().then(function (next) {
@@ -31600,15 +31646,20 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
31600
31646
  toTransfer: function toTransfer(res) {
31601
31647
  var _this30 = this;
31602
31648
 
31603
- if (this.beforeSubmit != undefined) {
31604
- this.beforeSubmit(0).then(function (next) {
31649
+ this.btnType = '';
31650
+ setTimeout(function () {
31651
+ if (_this30.beforeSubmit != undefined) {
31652
+ _this30.beforeSubmit(0).then(function (next) {
31653
+ _this30.taskReadType = 'transfer';
31654
+ // this.showTaskRead = true;
31655
+ _this30.btnType = _this30.btnFunValue(res.fun);
31656
+ }).catch(function (e) {});
31657
+ } else {
31605
31658
  _this30.taskReadType = 'transfer';
31606
- _this30.showTaskRead = true;
31607
- }).catch(function (e) {});
31608
- } else {
31609
- this.taskReadType = 'transfer';
31610
- this.showTaskRead = true;
31611
- }
31659
+ _this30.btnType = _this30.btnFunValue(res.fun);
31660
+ // this.showTaskRead = true;
31661
+ }
31662
+ }, 0);
31612
31663
  },
31613
31664
  handleChangeTime: function handleChangeTime(val) {
31614
31665
  this.nextNode.customLimitTime = val;
@@ -33001,8 +33052,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
33001
33052
 
33002
33053
  var flow_component = Object(componentNormalizer["a" /* default */])(
33003
33054
  src_flowvue_type_script_lang_js_,
33004
- flowvue_type_template_id_ef00b086_render,
33005
- flowvue_type_template_id_ef00b086_staticRenderFns,
33055
+ flowvue_type_template_id_d84c2cd8_render,
33056
+ flowvue_type_template_id_d84c2cd8_staticRenderFns,
33006
33057
  false,
33007
33058
  null,
33008
33059
  null,
@@ -34316,6 +34367,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34316
34367
  //
34317
34368
  //
34318
34369
  //
34370
+ //
34371
+ //
34319
34372
 
34320
34373
 
34321
34374
 
@@ -34927,6 +34980,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
34927
34980
  _this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
34928
34981
  });
34929
34982
  },
34983
+ handleNewFlowSave: function handleNewFlowSave(businessIds) {
34984
+ this.$emit('save', businessIds);
34985
+ },
34930
34986
  handleNewFlowSuccess: function handleNewFlowSuccess(type) {
34931
34987
  if (type == 'taskRead') {
34932
34988
  this.$emit('successRead', type);
@@ -35057,9 +35113,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
35057
35113
  }
35058
35114
  }
35059
35115
  },
35060
- setShrink: function setShrink() {
35061
- this.shrink = !this.shrink;
35062
- this.styles = this.shrink ? { width: 0 } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
35116
+ setShrink: function setShrink(val) {
35117
+ this.shrink = val;
35118
+ this.styles = this.shrink ? { width: '80px' } : { width: this.width ? parseInt(this.width, 10) + 'px' : '' };
35063
35119
  this.$emit('shrink', this.shrink);
35064
35120
  },
35065
35121
  customLoading: function customLoading(type) {