eoss-ui 0.6.63 → 0.6.65

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 (87) hide show
  1. package/lib/button-group.js +41 -30
  2. package/lib/button.js +40 -29
  3. package/lib/calendar.js +2 -2
  4. package/lib/calogin.js +5279 -0
  5. package/lib/card.js +2 -2
  6. package/lib/cascader.js +2 -2
  7. package/lib/checkbox-group.js +45 -34
  8. package/lib/clients.js +2 -2
  9. package/lib/config/api.js +15 -15
  10. package/lib/data-table-form.js +43 -33
  11. package/lib/data-table.js +42 -32
  12. package/lib/date-picker.js +40 -29
  13. package/lib/dialog.js +44 -33
  14. package/lib/enable-drag.js +2 -2
  15. package/lib/enterprise.js +2 -2
  16. package/lib/eoss-ui.common.js +1691 -257
  17. package/lib/error-page.js +2 -2
  18. package/lib/flow-group.js +262 -233
  19. package/lib/flow-list.js +146 -103
  20. package/lib/flow.js +311 -76
  21. package/lib/form.js +59 -44
  22. package/lib/handle-user.js +44 -33
  23. package/lib/handler.js +47 -36
  24. package/lib/icon.js +40 -29
  25. package/lib/icons.js +4 -4
  26. package/lib/index.js +1 -1
  27. package/lib/input-number.js +40 -29
  28. package/lib/input.js +44 -33
  29. package/lib/label.js +2 -2
  30. package/lib/layout.js +4 -4
  31. package/lib/login.js +239 -95
  32. package/lib/main.js +79 -58
  33. package/lib/menu.js +4 -4
  34. package/lib/nav.js +42 -31
  35. package/lib/notify.js +17 -17
  36. package/lib/page.js +40 -29
  37. package/lib/pagination.js +40 -29
  38. package/lib/player.js +50 -39
  39. package/lib/qr-code.js +42 -31
  40. package/lib/radio-group.js +51 -40
  41. package/lib/retrial-auth.js +47 -36
  42. package/lib/select-ganged.js +185 -174
  43. package/lib/select.js +187 -176
  44. package/lib/selector-panel.js +45 -35
  45. package/lib/selector.js +42 -31
  46. package/lib/sizer.js +40 -29
  47. package/lib/steps.js +42 -31
  48. package/lib/switch.js +40 -29
  49. package/lib/table-form.js +49 -38
  50. package/lib/tabs-panel.js +2 -2
  51. package/lib/tabs.js +40 -29
  52. package/lib/theme-chalk/calogin.css +0 -0
  53. package/lib/theme-chalk/index.css +1 -1
  54. package/lib/theme-chalk/login.css +1 -1
  55. package/lib/theme-chalk/main.css +1 -1
  56. package/lib/theme-chalk/simplicity.css +1 -1
  57. package/lib/tips.js +42 -31
  58. package/lib/toolbar.js +2 -2
  59. package/lib/tree-group.js +40 -29
  60. package/lib/tree.js +42 -31
  61. package/lib/upload.js +48 -37
  62. package/lib/utils/util.js +4 -1
  63. package/lib/wujie.js +47 -36
  64. package/lib/wxlogin.js +40 -29
  65. package/package.json +2 -1
  66. package/packages/calogin/index.js +5 -0
  67. package/packages/calogin/src/main.vue +131 -0
  68. package/packages/calogin/src/plugin.js +748 -0
  69. package/packages/flow/src/component/Circulate.vue +11 -1
  70. package/packages/flow/src/main.vue +103 -19
  71. package/packages/flow-list/src/main.vue +37 -7
  72. package/packages/form/src/main.vue +3 -5
  73. package/packages/login/src/main.vue +89 -43
  74. package/packages/main/src/simplicity/avatar.vue +1 -0
  75. package/packages/main/src/simplicity/index.vue +3 -1
  76. package/packages/theme-chalk/lib/calogin.css +0 -0
  77. package/packages/theme-chalk/lib/index.css +1 -1
  78. package/packages/theme-chalk/lib/login.css +1 -1
  79. package/packages/theme-chalk/lib/main.css +1 -1
  80. package/packages/theme-chalk/lib/simplicity.css +1 -1
  81. package/packages/theme-chalk/src/calogin.scss +0 -0
  82. package/packages/theme-chalk/src/index.scss +1 -0
  83. package/packages/theme-chalk/src/login.scss +13 -1
  84. package/packages/theme-chalk/src/simplicity.scss +7 -3
  85. package/src/config/api.js +15 -15
  86. package/src/index.js +4 -1
  87. package/src/utils/util.js +3 -1
package/lib/flow.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 29);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 30);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -100,8 +100,10 @@ module.exports =
100
100
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
101
101
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_4__);
102
102
  /* harmony import */ var _webSocket__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8);
103
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
104
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_6__);
103
+ /* harmony import */ var ua_parser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11);
104
+ /* harmony import */ var ua_parser_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(ua_parser_js__WEBPACK_IMPORTED_MODULE_6__);
105
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2);
106
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_7__);
105
107
 
106
108
 
107
109
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
@@ -120,16 +122,17 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
120
122
  **/
121
123
 
122
124
  /* eslint-disable indent */
123
- var sm2 = __webpack_require__(12).sm2;
124
- var lodash = __webpack_require__(11);
125
+ var sm2 = __webpack_require__(13).sm2;
126
+ var lodash = __webpack_require__(12);
125
127
 
126
128
 
127
129
 
128
130
 
129
131
 
130
132
 
131
- var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
132
133
 
134
+ var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
135
+ var parser = new ua_parser_js__WEBPACK_IMPORTED_MODULE_6__["UAParser"]();
133
136
  var $hueStep = 2;
134
137
  var $saturationStep1 = 0.16;
135
138
  var $saturationStep2 = 0.05;
@@ -266,7 +269,7 @@ var ajax = function ajax(_ref) {
266
269
  clearTimeout(loginMsg);
267
270
  loginMsg = setTimeout(function () {
268
271
  sessionStorage.setItem('remind', 1);
269
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
272
+ eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
270
273
  confirmButtonText: '确定',
271
274
  closeOnClickModal: false,
272
275
  type: 'warning'
@@ -317,7 +320,7 @@ var ajax = function ajax(_ref) {
317
320
  } else if (response.data.rCode === 61) {
318
321
  clearTimeout(initAuth);
319
322
  initAuth = setTimeout(function () {
320
- Object(eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"])({
323
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"])({
321
324
  title: '请进行二次鉴权',
322
325
  closeOnClickModal: false,
323
326
  closeOnPressEscape: false,
@@ -2406,7 +2409,7 @@ var isLogined = function () {
2406
2409
  break;
2407
2410
  }
2408
2411
 
2409
- loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_6__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2412
+ loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_7__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
2410
2413
  _context.next = 17;
2411
2414
  return ajax({
2412
2415
  method: 'post',
@@ -2462,7 +2465,7 @@ var isLogined = function () {
2462
2465
  }
2463
2466
  break;
2464
2467
  case 4:
2465
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2468
+ eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2466
2469
  confirmButtonText: '确定',
2467
2470
  type: 'error',
2468
2471
  callback: function callback() {
@@ -2486,7 +2489,7 @@ var isLogined = function () {
2486
2489
  default:
2487
2490
  }
2488
2491
  } else {
2489
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(res.msg, '提示', {
2492
+ eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].alert(res.msg, '提示', {
2490
2493
  confirmButtonText: '确定',
2491
2494
  type: 'error',
2492
2495
  callback: function callback() {
@@ -2657,7 +2660,7 @@ var loadJs = function loadJs(_ref13) {
2657
2660
  **/
2658
2661
  var loading = function loading($loading, res) {
2659
2662
  if (!$loading) {
2660
- $loading = eoss_element__WEBPACK_IMPORTED_MODULE_6__["Loading"].service;
2663
+ $loading = eoss_element__WEBPACK_IMPORTED_MODULE_7__["Loading"].service;
2661
2664
  }
2662
2665
  if (isObject(res)) {
2663
2666
  var config = extend({}, {
@@ -3497,6 +3500,7 @@ var watermark = function watermark(option) {
3497
3500
  trimWhitespace: trimWhitespace,
3498
3501
  toFixed: toFixed,
3499
3502
  toFunction: toFunction,
3503
+ parser: parser,
3500
3504
  updateTheme: updateTheme,
3501
3505
  upperCase: upperCase,
3502
3506
  urlJoinParams: urlJoinParams,
@@ -3799,15 +3803,15 @@ var toStartTaskRead = '/bpm/bpmBackend/toStartTaskRead';
3799
3803
  // 获取分阅办理页面
3800
3804
  var toStartTaskReadIndex = '/bpm/bpmBackend/toTaskReadIndex';
3801
3805
  // 分阅提交
3802
- var taskReadHtml = 'bpm/task/taskHandle/taskRead.dhtml';
3806
+ var taskReadHtml = flowPendingPrefix + '/task/taskHandle/taskRead.dhtml';
3803
3807
  // 驳回并办结
3804
- var rejectAndEnd = '/bpm/task/taskHandle/rejectAndEnd.dhtml';
3808
+ var rejectAndEnd = flowPendingPrefix + '/task/taskHandle/rejectAndEnd.dhtml';
3805
3809
  // 核稿通知
3806
3810
  var toSendMsg = '/bpm/bpmBackend/toSendMsgIndex';
3807
3811
  // 核稿通知提交
3808
- var sendMsg = 'bpm/task/taskHandle/sendMsg.dhtml';
3812
+ var sendMsg = flowPendingPrefix + '/task/taskHandle/sendMsg.dhtml';
3809
3813
  // 直接办结
3810
- var endFlowHtml = '/bpm/task/taskHandle/endFlow.dhtml';
3814
+ var endFlowHtml = flowPendingPrefix + '/task/taskHandle/endFlow.dhtml';
3811
3815
  // 获取用户信息
3812
3816
  // export const findUserBaseInfos = '/api/v1/mecpSys/findUserBaseInfo.dhtml';
3813
3817
  // 搜索用户信息
@@ -3826,11 +3830,11 @@ var getPresetNodeInfo = flowPendingPrefix + '/task/taskHandle/getPresetNodeInfo.
3826
3830
  // 获取转办页面数据
3827
3831
  var toTaskTransferIndex = '/bpm/bpmBackend/toTaskTransferIndex';
3828
3832
  // 转办提交按钮
3829
- var taskTransfer = '/bpm/task/taskHandle/taskTransfer.dhtml';
3833
+ var taskTransfer = flowPendingPrefix + '/task/taskHandle/taskTransfer.dhtml';
3830
3834
  // 流程预设列表
3831
3835
  var toPresetInfoListIndex = '/bpm/bpmBackend/toPresetInfoListIndex';
3832
3836
  // 流程预设置为失效
3833
- var deletePresetInfo = '/bpm/task/taskHandle/deletePresetInfo.dhtml';
3837
+ var deletePresetInfo = flowPendingPrefix + '/task/taskHandle/deletePresetInfo.dhtml';
3834
3838
  // 流程列表
3835
3839
  var historyListJson = flowPendingPrefix + '/pendedhistoryManager/historyListJson.dhtml';
3836
3840
  // 获取流程列表配置
@@ -3840,15 +3844,15 @@ var pressListJson = flowPendingPrefix + '/wfUrgeRecord/listJson.dhtml';
3840
3844
  // 删除流程列表节点
3841
3845
  var deleteFlow = flowPendingPrefix + '/pendedhistoryManager/delete.dhtml';
3842
3846
  // 是否允许启动子流程(必经节点)
3843
- var isCanStartSubFlow = '/bpm/task/taskHandle/isCanStartSubFlow.dhtml';
3847
+ var isCanStartSubFlow = flowPendingPrefix + '/task/taskHandle/isCanStartSubFlow.dhtml';
3844
3848
  // 联合审核
3845
3849
  var toTaskUnionExamine = '/bpm/bpmBackend/toTaskUnionExamine';
3846
3850
  // 联合审核提交
3847
- var taskUnionExamine = '/bpm/task/taskHandle/taskUnionExamine.dhtml';
3851
+ var taskUnionExamine = flowPendingPrefix + '/task/taskHandle/taskUnionExamine.dhtml';
3848
3852
  // 征求意见
3849
3853
  var toTaskTakeAdvice = '/bpm/bpmBackend/toTaskTakeAdvice';
3850
3854
  // 征求意见提交
3851
- var taskTakeAdvice = '/bpm/task/taskHandle/taskTakeAdvice.dhtml';
3855
+ var taskTakeAdvice = flowPendingPrefix + '/task/taskHandle/taskTakeAdvice.dhtml';
3852
3856
  // 稿件递送
3853
3857
  var toTaskStartDraft = '/bpm/bpmBackend/totaskStartDraft';
3854
3858
  // 获取督办页面信息
@@ -3857,7 +3861,7 @@ var toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
3857
3861
  var toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
3858
3862
  // 稿件递送提交接口
3859
3863
  // export const taskStartDraft = flowPendingPrefix + '/task/taskHandle/taskStartDraft.dhtml';
3860
- var taskStartDraft = '/bpm/task/taskHandle/taskStartDraft.dhtml';
3864
+ var taskStartDraft = flowPendingPrefix + '/task/taskHandle/taskStartDraft.dhtml';
3861
3865
  // 复核
3862
3866
  var toTaskReview = '/bpm/bpmBackend/toTaskReview';
3863
3867
  // 复核提交
@@ -3865,19 +3869,19 @@ var taskReview = flowPendingPrefix + '/task/taskHandle/taskReview.dhtml';
3865
3869
  // 联合用印
3866
3870
  var toTaskUnionSeal = '/bpm/bpmBackend/toTaskUnionSeal';
3867
3871
  // 联合用印提交
3868
- var taskUnionSeal = '/bpm/task/taskHandle/taskUnionSeal.dhtml';
3872
+ var taskUnionSeal = flowPendingPrefix + '/task/taskHandle/taskUnionSeal.dhtml';
3869
3873
  // 报送两办
3870
3874
  var toTwoOfficesDispatch = '/bpm/bpmBackend/toTwoOfficesDispatch';
3871
3875
  // 报送两办提交
3872
- var twoOfficesDispatch = '/bpm/task/taskHandle/twoOfficesDispatch.dhtml';
3876
+ var twoOfficesDispatch = flowPendingPrefix + '/task/taskHandle/twoOfficesDispatch.dhtml';
3873
3877
  // 重设流程
3874
3878
  var toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
3875
3879
  // 提交重设流程
3876
- var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
3880
+ var resetProcess = flowPendingPrefix + '/task/taskHandle/resetProcess.dhtml';
3877
3881
  // 续办流程
3878
3882
  var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
3879
3883
  // 续办提交
3880
- var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
3884
+ var taskContinuation = flowPendingPrefix + '/task/taskHandle/taskContinuation.dhtml';
3881
3885
  // 自由发起流程获取配置参数
3882
3886
  var getFreeStartFlowParams = '/bpm/bpmBackend/getFreeStartFlowParams';
3883
3887
  // 自由发起流程提交
@@ -3910,7 +3914,7 @@ var sendBatch = '/notify2/sendRecord/reSendNotifyMessageBatch';
3910
3914
 
3911
3915
  var formContents = '/lowcode/admin/online/onlineForm/getOnlineFormFromCache';
3912
3916
  var directStartTaskCircularRead = '/bpm/bpmBackend/directStartTaskCircularRead';
3913
- var getNodeInfoForStart = '/bpm/task/taskHandle/getNodeInfoForStart.dhtml';
3917
+ var getNodeInfoForStart = flowPendingPrefix + '/task/taskHandle/getNodeInfoForStart.dhtml';
3914
3918
 
3915
3919
  /***/ }),
3916
3920
  /* 2 */
@@ -4204,20 +4208,26 @@ module.exports = require("stompjs");
4204
4208
  /* 11 */
4205
4209
  /***/ (function(module, exports) {
4206
4210
 
4207
- module.exports = require("lodash");
4211
+ module.exports = require("ua-parser-js");
4208
4212
 
4209
4213
  /***/ }),
4210
4214
  /* 12 */
4211
4215
  /***/ (function(module, exports) {
4212
4216
 
4217
+ module.exports = require("lodash");
4218
+
4219
+ /***/ }),
4220
+ /* 13 */
4221
+ /***/ (function(module, exports) {
4222
+
4213
4223
  module.exports = require("sm-crypto");
4214
4224
 
4215
4225
  /***/ }),
4216
- /* 13 */,
4217
4226
  /* 14 */,
4218
4227
  /* 15 */,
4219
4228
  /* 16 */,
4220
- /* 17 */
4229
+ /* 17 */,
4230
+ /* 18 */
4221
4231
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4222
4232
 
4223
4233
  "use strict";
@@ -4393,7 +4403,6 @@ var component = Object(componentNormalizer["a" /* default */])(
4393
4403
  /* harmony default export */ var FileList = __webpack_exports__["a"] = (component.exports);
4394
4404
 
4395
4405
  /***/ }),
4396
- /* 18 */,
4397
4406
  /* 19 */,
4398
4407
  /* 20 */,
4399
4408
  /* 21 */,
@@ -4404,14 +4413,15 @@ var component = Object(componentNormalizer["a" /* default */])(
4404
4413
  /* 26 */,
4405
4414
  /* 27 */,
4406
4415
  /* 28 */,
4407
- /* 29 */
4416
+ /* 29 */,
4417
+ /* 30 */
4408
4418
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4409
4419
 
4410
4420
  "use strict";
4411
4421
  // ESM COMPAT FLAG
4412
4422
  __webpack_require__.r(__webpack_exports__);
4413
4423
 
4414
- // 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=fc4f395a&
4424
+ // 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=07497b53&
4415
4425
  var render = function () {
4416
4426
  var _vm = this
4417
4427
  var _h = _vm.$createElement
@@ -4425,7 +4435,132 @@ var render = function () {
4425
4435
  style: _vm.styles,
4426
4436
  },
4427
4437
  [
4428
- _vm.typeCode == "read"
4438
+ _vm.showCirculate
4439
+ ? _c(
4440
+ "div",
4441
+ [
4442
+ _c("CommonOpinions", {
4443
+ directives: [
4444
+ {
4445
+ name: "show",
4446
+ rawName: "v-show",
4447
+ value: !_vm.shrink,
4448
+ expression: "!shrink",
4449
+ },
4450
+ ],
4451
+ ref: "commonOpinions",
4452
+ staticClass: "es-common-opinions",
4453
+ attrs: {
4454
+ opinion: _vm.value,
4455
+ rows: _vm.rows,
4456
+ required: _vm.isOpinionRequired == 1,
4457
+ isBanInputOpinion: _vm.isBanInputOpinion,
4458
+ nodeFixedOpinionSelectList:
4459
+ _vm.nodeFixedOpinionSelectList,
4460
+ },
4461
+ on: {
4462
+ change: function (val) {
4463
+ return (_vm.value = val)
4464
+ },
4465
+ },
4466
+ }),
4467
+ _c(
4468
+ "el-form",
4469
+ {
4470
+ ref: "form",
4471
+ attrs: {
4472
+ model: _vm.circulateForm,
4473
+ "label-width": "120px",
4474
+ },
4475
+ },
4476
+ [
4477
+ _c(
4478
+ "el-form-item",
4479
+ { attrs: { prop: "nextNodeId", label: "下步节点" } },
4480
+ [
4481
+ _vm.nextNodeCheckType == "select"
4482
+ ? _c(
4483
+ "el-select",
4484
+ {
4485
+ attrs: { placeholder: "请选择下步节点" },
4486
+ model: {
4487
+ value: _vm.circulateForm.nextNodeId,
4488
+ callback: function ($$v) {
4489
+ _vm.$set(
4490
+ _vm.circulateForm,
4491
+ "nextNodeId",
4492
+ $$v
4493
+ )
4494
+ },
4495
+ expression: "circulateForm.nextNodeId",
4496
+ },
4497
+ },
4498
+ [
4499
+ _c("el-option", {
4500
+ attrs: { label: "传阅", value: "111" },
4501
+ }),
4502
+ ],
4503
+ 1
4504
+ )
4505
+ : _vm.nextNodeCheckType == "radio"
4506
+ ? _c("es-radio-group", {
4507
+ attrs: {
4508
+ data: [{ nodeId: "111", nodeName: "传阅" }],
4509
+ "value-key": "nodeId",
4510
+ "label-key": "nodeName",
4511
+ },
4512
+ model: {
4513
+ value: _vm.circulateForm.nextNodeId,
4514
+ callback: function ($$v) {
4515
+ _vm.$set(
4516
+ _vm.circulateForm,
4517
+ "nextNodeId",
4518
+ $$v
4519
+ )
4520
+ },
4521
+ expression: "circulateForm.nextNodeId",
4522
+ },
4523
+ })
4524
+ : _vm._e(),
4525
+ ],
4526
+ 1
4527
+ ),
4528
+ ],
4529
+ 1
4530
+ ),
4531
+ _c("circulate", {
4532
+ ref: "circulate",
4533
+ staticStyle: { "margin-top": "10px" },
4534
+ attrs: {
4535
+ businessId: _vm.businessId,
4536
+ showBtn: false,
4537
+ processDefinitionId: _vm.nodeInfo.nextNode,
4538
+ simpleTips: _vm.simpleTips,
4539
+ oldOption: _vm.value,
4540
+ },
4541
+ on: {
4542
+ cancel: function ($event) {
4543
+ _vm.closeProcess($event, "circulateVisible")
4544
+ },
4545
+ },
4546
+ }),
4547
+ _c(
4548
+ "el-button",
4549
+ {
4550
+ staticStyle: { width: "100%" },
4551
+ attrs: { type: "primary" },
4552
+ on: {
4553
+ click: function ($event) {
4554
+ _vm.handleClickCirculate()
4555
+ },
4556
+ },
4557
+ },
4558
+ [_vm._v("\n 提交\n ")]
4559
+ ),
4560
+ ],
4561
+ 1
4562
+ )
4563
+ : _vm.typeCode == "read"
4429
4564
  ? _c("StartTaskRead", {
4430
4565
  key: _vm.StartTaskReadKey,
4431
4566
  attrs: {
@@ -4767,6 +4902,7 @@ var render = function () {
4767
4902
  _c(
4768
4903
  "el-select",
4769
4904
  {
4905
+ key: _vm.optionsKey,
4770
4906
  staticStyle: {
4771
4907
  width: "calc(100% + 40px)",
4772
4908
  },
@@ -4795,6 +4931,7 @@ var render = function () {
4795
4931
  key: items.id,
4796
4932
  attrs: {
4797
4933
  label: items.name,
4934
+ disabled: items.disabled,
4798
4935
  value: items.processDefId,
4799
4936
  },
4800
4937
  })
@@ -6845,7 +6982,7 @@ var staticRenderFns = []
6845
6982
  render._withStripped = true
6846
6983
 
6847
6984
 
6848
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fc4f395a&
6985
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=07497b53&
6849
6986
 
6850
6987
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6851
6988
  var regenerator_ = __webpack_require__(4);
@@ -10976,7 +11113,7 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
10976
11113
 
10977
11114
  /* harmony default export */ var processForm = (processForm_component.exports);
10978
11115
  // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
10979
- var FileList = __webpack_require__(17);
11116
+ var FileList = __webpack_require__(18);
10980
11117
 
10981
11118
  // 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/SendMsg.vue?vue&type=template&id=5cb986c6&
10982
11119
  var SendMsgvue_type_template_id_5cb986c6_render = function () {
@@ -20799,8 +20936,8 @@ var supervise_component = Object(componentNormalizer["a" /* default */])(
20799
20936
  )
20800
20937
 
20801
20938
  /* harmony default export */ var supervise = (supervise_component.exports);
20802
- // 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/Circulate.vue?vue&type=template&id=4f5020b6&
20803
- var Circulatevue_type_template_id_4f5020b6_render = function () {
20939
+ // 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/Circulate.vue?vue&type=template&id=cd78d70e&
20940
+ var Circulatevue_type_template_id_cd78d70e_render = function () {
20804
20941
  var _vm = this
20805
20942
  var _h = _vm.$createElement
20806
20943
  var _c = _vm._self._c || _h
@@ -20962,35 +21099,37 @@ var Circulatevue_type_template_id_4f5020b6_render = function () {
20962
21099
  ],
20963
21100
  1
20964
21101
  ),
20965
- _c(
20966
- "div",
20967
- { staticStyle: { "text-align": "right" } },
20968
- [
20969
- _c(
20970
- "el-button",
20971
- {
20972
- attrs: { type: "primary", size: "small" },
20973
- on: { click: _vm.subMit },
20974
- },
20975
- [_vm._v(" 确定 ")]
20976
- ),
20977
- _c(
20978
- "el-button",
20979
- { attrs: { size: "small" }, on: { click: _vm.quit } },
20980
- [_vm._v(" 取消 ")]
20981
- ),
20982
- ],
20983
- 1
20984
- ),
21102
+ _vm.showBtn
21103
+ ? _c(
21104
+ "div",
21105
+ { staticStyle: { "text-align": "right" } },
21106
+ [
21107
+ _c(
21108
+ "el-button",
21109
+ {
21110
+ attrs: { type: "primary", size: "small" },
21111
+ on: { click: _vm.subMit },
21112
+ },
21113
+ [_vm._v(" 确定 ")]
21114
+ ),
21115
+ _c(
21116
+ "el-button",
21117
+ { attrs: { size: "small" }, on: { click: _vm.quit } },
21118
+ [_vm._v(" 取消 ")]
21119
+ ),
21120
+ ],
21121
+ 1
21122
+ )
21123
+ : _vm._e(),
20985
21124
  ],
20986
21125
  1
20987
21126
  )
20988
21127
  }
20989
- var Circulatevue_type_template_id_4f5020b6_staticRenderFns = []
20990
- Circulatevue_type_template_id_4f5020b6_render._withStripped = true
21128
+ var Circulatevue_type_template_id_cd78d70e_staticRenderFns = []
21129
+ Circulatevue_type_template_id_cd78d70e_render._withStripped = true
20991
21130
 
20992
21131
 
20993
- // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=4f5020b6&
21132
+ // CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=cd78d70e&
20994
21133
 
20995
21134
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
20996
21135
  var Circulatevue_type_script_lang_js_components;
@@ -21095,6 +21234,7 @@ var Circulatevue_type_script_lang_js_components;
21095
21234
  oldOption: { type: String, default: '' },
21096
21235
  disabled: { type: Boolean, default: false },
21097
21236
  simpleTips: { type: Boolean, default: true },
21237
+ showBtn: { type: Boolean, default: true },
21098
21238
  multiple: { type: Boolean, default: true }
21099
21239
  },
21100
21240
  inheritAttrs: false,
@@ -21132,6 +21272,17 @@ var Circulatevue_type_script_lang_js_components;
21132
21272
  loading: false
21133
21273
  };
21134
21274
  },
21275
+
21276
+ watch: {
21277
+ oldOption: {
21278
+ handler: function handler(val) {
21279
+ this.opinion = val;
21280
+ },
21281
+
21282
+ deep: true,
21283
+ immediate: true
21284
+ }
21285
+ },
21135
21286
  mounted: function mounted() {
21136
21287
  this.loading = true;
21137
21288
  this.newMultiple = this.multiple;
@@ -21315,8 +21466,8 @@ var Circulatevue_type_script_lang_js_components;
21315
21466
 
21316
21467
  var Circulate_component = Object(componentNormalizer["a" /* default */])(
21317
21468
  component_Circulatevue_type_script_lang_js_,
21318
- Circulatevue_type_template_id_4f5020b6_render,
21319
- Circulatevue_type_template_id_4f5020b6_staticRenderFns,
21469
+ Circulatevue_type_template_id_cd78d70e_render,
21470
+ Circulatevue_type_template_id_cd78d70e_staticRenderFns,
21320
21471
  false,
21321
21472
  null,
21322
21473
  null,
@@ -22227,7 +22378,56 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22227
22378
  //
22228
22379
  //
22229
22380
  //
22230
-
22381
+ //
22382
+ //
22383
+ //
22384
+ //
22385
+ //
22386
+ //
22387
+ //
22388
+ //
22389
+ //
22390
+ //
22391
+ //
22392
+ //
22393
+ //
22394
+ //
22395
+ //
22396
+ //
22397
+ //
22398
+ //
22399
+ //
22400
+ //
22401
+ //
22402
+ //
22403
+ //
22404
+ //
22405
+ //
22406
+ //
22407
+ //
22408
+ //
22409
+ //
22410
+ //
22411
+ //
22412
+ //
22413
+ //
22414
+ //
22415
+ //
22416
+ //
22417
+ //
22418
+ //
22419
+ //
22420
+ //
22421
+ //
22422
+ //
22423
+ //
22424
+ //
22425
+ //
22426
+ //
22427
+ //
22428
+ //
22429
+ //
22430
+ //
22231
22431
 
22232
22432
 
22233
22433
 
@@ -22260,7 +22460,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22260
22460
  flowTypeCode: { type: String, default: '' },
22261
22461
  defaultProcessKey: { type: String, default: '' },
22262
22462
  hideBtn: { type: Boolean, default: false },
22263
-
22463
+ isCirculate: { type: Boolean, default: false },
22264
22464
  btnList: {
22265
22465
  type: Array,
22266
22466
  default: function _default() {
@@ -22297,6 +22497,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22297
22497
 
22298
22498
  return _ref = {
22299
22499
  styles: {},
22500
+ optionsKey: 0,
22501
+ showCirculate: false,
22502
+ circulateForm: { nextNodeId: '111' },
22300
22503
  userModel: {},
22301
22504
  simpleTips: true,
22302
22505
  showFreeStartFlow: false, //自由发起流程弹窗
@@ -22444,19 +22647,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22444
22647
  mounted: function mounted() {
22445
22648
  this.businessIds = this.businessId;
22446
22649
  this.nextNode.nextNodeId = this.nextNodeId;
22447
- if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
22448
- this.getNodeType();
22449
- !this.isFlow && (this.newTypeCode = this.typeCode || this.$route.query.typecode);
22450
- if (this.isFlow) {
22451
- this.businessId && this.getProcess();
22452
- } else if (this.newTypeCode == 'fenyue') {
22453
- this.getTaskReadFlow();
22454
- } else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation') {
22455
- this.getHedInfo();
22456
- }
22650
+ this.getInfo();
22457
22651
  },
22458
22652
 
22459
22653
  watch: {
22654
+ isCirculate: {
22655
+ handler: function handler(val) {
22656
+ this.showCirculate = val;
22657
+ if (!val) {
22658
+ this.getInfo();
22659
+ }
22660
+ },
22661
+
22662
+ deep: true,
22663
+ immediate: true
22664
+ },
22460
22665
  width: {
22461
22666
  immediate: true,
22462
22667
  handler: function handler(val) {
@@ -22550,6 +22755,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22550
22755
  }
22551
22756
  },
22552
22757
  methods: {
22758
+ getInfo: function getInfo() {
22759
+ if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
22760
+ this.getNodeType();
22761
+ !this.isFlow && (this.newTypeCode = this.typeCode || this.$route.query.typecode);
22762
+ if (this.isFlow) {
22763
+ this.businessId && this.getProcess();
22764
+ } else if (this.newTypeCode == 'fenyue') {
22765
+ this.getTaskReadFlow();
22766
+ } else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation') {
22767
+ this.getHedInfo();
22768
+ }
22769
+ },
22770
+ handleClickCirculate: function handleClickCirculate() {
22771
+ this.$refs.circulate.subMit();
22772
+ },
22553
22773
  getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
22554
22774
  var _this = this;
22555
22775
 
@@ -22561,6 +22781,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
22561
22781
  if (res.status == 'success') {
22562
22782
  _this.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
22563
22783
  _this.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
22784
+
22785
+ if (_this.directCreateCircularReadWhenFlowStarted) {
22786
+ _this.nodeInfo.option.map(function (item) {
22787
+ item.disabled = item.processDefId != processDefinitionId;
22788
+ });
22789
+ } else {
22790
+ _this.nodeInfo.option.map(function (item) {
22791
+ item.disabled = false;
22792
+ });
22793
+ }
22794
+ _this.optionsKey++;
22564
22795
  _this.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
22565
22796
  }
22566
22797
  });
@@ -23518,7 +23749,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23518
23749
  _this25.presetEdit = data.nodeExtAttr.presetEdit;
23519
23750
  _this25.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
23520
23751
  _this25.handleMode = data.countersignaturetypeText;
23521
- data.globalNodeType === 'endEvent' ? _this25.endFlow = true : '';
23752
+ if (data.globalNodeType === 'endEvent') {
23753
+ _this25.isNextUser = data.globalNodeType != 'endEvent';
23754
+ data.globalNodeType === 'endEvent' ? _this25.endFlow = true : '';
23755
+ }
23522
23756
  }
23523
23757
  _this25.isCustomPreset && _this25.$refs.customPreset.getPresetFlowInfo(_this25.nextNode.nextNodeId, _this25.nodeInfo.nextNode, true);
23524
23758
  } else {
@@ -23557,6 +23791,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
23557
23791
  this.isShowNode = false;
23558
23792
  this.isMainSubProcess = false;
23559
23793
  this.isNodeShowProcess = false;
23794
+ this.endFlow = false;
23560
23795
  this.nextNode.nextNodeId = '';
23561
23796
  this.nextNode.isReturnSubmitter = 0;
23562
23797
  this.nextNode.isUndertakeReply = 0;