eoss-ui 0.5.11 → 0.5.13

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 (76) hide show
  1. package/lib/button-group.js +215 -123
  2. package/lib/button.js +154 -74
  3. package/lib/card.js +2 -2
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +154 -75
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +154 -75
  8. package/lib/data-table.js +192 -99
  9. package/lib/date-picker.js +159 -79
  10. package/lib/dialog.js +163 -84
  11. package/lib/enterprise.js +2 -2
  12. package/lib/eoss-ui.common.js +357 -219
  13. package/lib/error-page.js +2 -2
  14. package/lib/flow-group.js +154 -74
  15. package/lib/flow-list.js +189 -84
  16. package/lib/flow.js +215 -119
  17. package/lib/form.js +247 -152
  18. package/lib/handle-user.js +155 -75
  19. package/lib/handler.js +154 -74
  20. package/lib/icons.js +4 -4
  21. package/lib/index.js +1 -1
  22. package/lib/input-number.js +154 -74
  23. package/lib/input.js +156 -76
  24. package/lib/label.js +5 -4
  25. package/lib/layout.js +4 -4
  26. package/lib/login.js +157 -78
  27. package/lib/main.js +203 -122
  28. package/lib/menu.js +2 -2
  29. package/lib/nav.js +154 -74
  30. package/lib/notify.js +2 -2
  31. package/lib/page.js +154 -74
  32. package/lib/pagination.js +2 -2
  33. package/lib/player.js +160 -80
  34. package/lib/qr-code.js +156 -76
  35. package/lib/radio-group.js +155 -75
  36. package/lib/retrial-auth.js +154 -74
  37. package/lib/select-ganged.js +154 -74
  38. package/lib/select.js +155 -75
  39. package/lib/selector-panel.js +155 -76
  40. package/lib/selector.js +156 -76
  41. package/lib/sizer.js +156 -76
  42. package/lib/steps.js +154 -74
  43. package/lib/switch.js +154 -74
  44. package/lib/table-form.js +156 -76
  45. package/lib/tabs-panel.js +2 -2
  46. package/lib/tabs.js +159 -79
  47. package/lib/theme-chalk/index.css +1 -1
  48. package/lib/theme-chalk/nav.css +1 -1
  49. package/lib/tips.js +154 -74
  50. package/lib/toolbar.js +2 -2
  51. package/lib/tree-group.js +154 -74
  52. package/lib/tree.js +154 -74
  53. package/lib/upload.js +157 -78
  54. package/lib/utils/util.js +8 -61
  55. package/lib/utils/webSocket.js +131 -0
  56. package/lib/wujie.js +154 -74
  57. package/lib/wxlogin.js +154 -74
  58. package/package.json +1 -1
  59. package/packages/data-table/src/column copy.vue +977 -0
  60. package/packages/data-table/src/main copy.vue +1325 -0
  61. package/packages/data-table/src/main.vue +31 -8
  62. package/packages/data-table/src/sizer.vue +1 -1
  63. package/packages/flow/src/component/taskUnionExamine.vue +1 -1
  64. package/packages/flow/src/main.vue +3 -1
  65. package/packages/flow/src/processForm.vue +24 -10
  66. package/packages/flow/src/processReject.vue +1 -1
  67. package/packages/flow/src/startTaskRead.vue +1 -1
  68. package/packages/flow-list/src/main.vue +25 -2
  69. package/packages/label/src/main.vue +3 -2
  70. package/packages/main/src/main.vue +19 -18
  71. package/packages/theme-chalk/lib/index.css +1 -1
  72. package/packages/theme-chalk/lib/nav.css +1 -1
  73. package/packages/theme-chalk/src/nav.scss +21 -2
  74. package/src/index.js +1 -1
  75. package/src/utils/util.js +29 -81
  76. package/src/utils/webSocket.js +100 -0
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 = 27);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 28);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -97,14 +97,9 @@ module.exports =
97
97
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
98
98
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
99
99
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
100
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
101
- /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_4__);
102
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8);
103
- /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_5__);
104
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
105
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_6__);
106
- 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; };
107
-
100
+ /* harmony import */ var _webSocket__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
101
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
102
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_5__);
108
103
  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; };
109
104
 
110
105
  /**
@@ -115,8 +110,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
115
110
  **/
116
111
 
117
112
  /* eslint-disable indent */
118
- var sm2 = __webpack_require__(9).sm2;
119
-
113
+ var sm2 = __webpack_require__(10).sm2;
120
114
 
121
115
 
122
116
 
@@ -264,7 +258,7 @@ var ajax = function ajax(_ref) {
264
258
  clearTimeout(loginMsg);
265
259
  loginMsg = setTimeout(function () {
266
260
  sessionStorage.setItem('remind', 1);
267
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
261
+ eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
268
262
  confirmButtonText: '确定',
269
263
  closeOnClickModal: false,
270
264
  type: 'warning'
@@ -311,7 +305,7 @@ var ajax = function ajax(_ref) {
311
305
  } else if (response.data.rCode === 61) {
312
306
  clearTimeout(initAuth);
313
307
  initAuth = setTimeout(function () {
314
- Object(eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"])({
308
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"])({
315
309
  title: '请进行二次鉴权',
316
310
  closeOnClickModal: false,
317
311
  closeOnPressEscape: false,
@@ -2012,7 +2006,7 @@ var isLogined = function isLogined(_ref8) {
2012
2006
  win.top.location.href = href;
2013
2007
  break;
2014
2008
  case 4:
2015
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2009
+ eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2016
2010
  confirmButtonText: '确定',
2017
2011
  type: 'error',
2018
2012
  callback: function callback() {
@@ -2032,7 +2026,7 @@ var isLogined = function isLogined(_ref8) {
2032
2026
  default:
2033
2027
  }
2034
2028
  } else {
2035
- eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(res.msg, '提示', {
2029
+ eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].alert(res.msg, '提示', {
2036
2030
  confirmButtonText: '确定',
2037
2031
  type: 'error',
2038
2032
  callback: function callback() {
@@ -2163,7 +2157,7 @@ var loadJs = function loadJs(_ref10) {
2163
2157
  **/
2164
2158
  var loading = function loading($loading, res) {
2165
2159
  if (!$loading) {
2166
- $loading = eoss_element__WEBPACK_IMPORTED_MODULE_6__["Loading"].service;
2160
+ $loading = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service;
2167
2161
  }
2168
2162
  if (isObject(res)) {
2169
2163
  var config = extend({}, {
@@ -2531,60 +2525,13 @@ var setStorage = function setStorage(_ref14) {
2531
2525
  * @param {String} [take] - 订阅地址
2532
2526
  * @param {String} [debug] - 调试
2533
2527
  * @param {String} [interval] - 重连间隔时间
2528
+ * @param {Function} [success] - 调试
2529
+ * @param {Function} [error] - 重连间隔时间
2534
2530
  **/
2535
- function socket(options) {
2536
- var nextDate = 0;
2537
- var connect = 1;
2538
- return new Promise(function (resolve, reject) {
2539
- var wshost = getStorage('wshost') || '';
2540
- var option = {
2541
- url: wshost + _config_api__WEBPACK_IMPORTED_MODULE_0__[/* wss */ "Zb"],
2542
- take: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* topic */ "Qb"],
2543
- debug: true,
2544
- interval: 20
2545
- };
2546
- var websocket = win.websocket || {};
2547
- if (options && isObject(options)) {
2548
- option = _extends({}, option, options);
2549
- }
2550
- var key = window.btoa(option.url);
2551
- if (!websocket[key]) {
2552
- websocket[key] = { socket: new sockjs_client__WEBPACK_IMPORTED_MODULE_4___default.a(option.url) };
2553
- win.websocket = websocket;
2554
- }
2555
-
2556
- var client = websocket[key] ? websocket[key].client : null;
2557
- if (!client) {
2558
- client = websocket[key].client = stompjs__WEBPACK_IMPORTED_MODULE_5___default.a.over(websocket[key].socket);
2559
- !option.debug && (client.debug = null);
2560
- }
2561
- client.connect({}, function () {
2562
- client.subscribe(option.take, function (response) {
2563
- var res = JSON.parse(response.body);
2564
- resolve(res, function () {
2565
- client.disconnect();
2566
- win.top.websocket && win.top.websocket[key] && delete win.top.websocket[key];
2567
- }, client, websocket[key]);
2568
- });
2569
- }, function (error) {
2570
- var diffSecond = parseInt((new Date() - nextDate) / 1000, 10);
2571
- if (connect > 5 && diffSecond < option.interval) {
2572
- client.disconnect();
2573
- if (win.top.websocket) {
2574
- if (Object.keys(win.top.websocket).length > 1) {
2575
- delete win.top.websocket[key];
2576
- } else {
2577
- delete win.top.websocket;
2578
- }
2579
- }
2580
- } else {
2581
- win.top.websocket && win.top.websocket[key] && setTimeout(function () {
2582
- socket(options);
2583
- }, 5000);
2584
- }
2585
- reject(error);
2586
- });
2587
- });
2531
+ function socket(option, vm) {
2532
+ var socket = new _webSocket__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]();
2533
+ socket.init(option, vm);
2534
+ return socket;
2588
2535
  }
2589
2536
  /**
2590
2537
  * sum
@@ -3492,33 +3439,165 @@ module.exports = require("json-bigint");
3492
3439
 
3493
3440
  /***/ }),
3494
3441
  /* 7 */
3442
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3443
+
3444
+ "use strict";
3445
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
3446
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sockjs_client__WEBPACK_IMPORTED_MODULE_0__);
3447
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3448
+ /* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(stompjs__WEBPACK_IMPORTED_MODULE_1__);
3449
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3450
+
3451
+
3452
+
3453
+
3454
+ var WebSocket = function () {
3455
+ // 构造函数
3456
+ function WebSocket() {
3457
+ _classCallCheck(this, WebSocket);
3458
+
3459
+ this.host = sessionStorage.getItem('wshost') || '';
3460
+ this.tryTimes = 1; // 重连次数
3461
+ this.callback = null; // 回调函数
3462
+ this.client = null; // stomp对象
3463
+ this.reconTimeout = null; // 重连延时器
3464
+ this.debug = true; // 调试
3465
+ this.interval = 20; // 重连间隔时间
3466
+ this.vm = null;
3467
+ this.nextDate = 0;
3468
+ this.connects = 1;
3469
+ this.recon = false;
3470
+ this.sendTimeout = null;
3471
+ }
3472
+
3473
+ /** socket连接 */
3474
+
3475
+
3476
+ WebSocket.prototype.connect = function connect() {
3477
+ var _this = this;
3478
+
3479
+ if (!this.client) {
3480
+ // 连接SockJS
3481
+ var socket = new sockjs_client__WEBPACK_IMPORTED_MODULE_0___default.a(this.host + this.url);
3482
+ // 获取STOMP子协议的客户端对象
3483
+ this.client = stompjs__WEBPACK_IMPORTED_MODULE_1___default.a.over(socket);
3484
+ }
3485
+
3486
+ // 日志不打印
3487
+ if (!this.debug) {
3488
+ console.log(111);
3489
+ this.client.debug = function () {};
3490
+ }
3491
+
3492
+ // 向服务器发起websocket连接
3493
+ this.client.connect({}, function () {
3494
+ _this.recon = true;
3495
+ // tryTimes定义重置
3496
+ _this.connects = 1;
3497
+ // 订阅消息
3498
+ _this.subscribe();
3499
+ }, function (error) {
3500
+ var diffSecond = parseInt((new Date() - _this.nextDate) / 1000, 10);
3501
+ if (_this.connects > 5 && diffSecond < _this.interval) {
3502
+ _this.client.disconnect();
3503
+ _this.error && _this.error(error);
3504
+ } else {
3505
+ _this.reconTimeout = setTimeout(function () {
3506
+ _this.connect();
3507
+ _this.connects++;
3508
+ }, 5000);
3509
+ }
3510
+ });
3511
+ };
3512
+ /** 订阅服务端 */
3513
+
3514
+
3515
+ WebSocket.prototype.subscribe = function subscribe() {
3516
+ var _this2 = this;
3517
+
3518
+ // 订阅服务端提供的某个topic
3519
+ this.client.subscribe(this.take, function (response) {
3520
+ if (response && (_this2.callback || _this2.success)) {
3521
+ var callback = _this2.callback || _this2.success;
3522
+ callback(JSON.parse(response.body));
3523
+ }
3524
+ });
3525
+ };
3526
+
3527
+ /** 赋值、初始化socket */
3528
+
3529
+
3530
+ WebSocket.prototype.init = function init(option, vm) {
3531
+ for (var i in option) {
3532
+ this[i] = option[i];
3533
+ }
3534
+ this.vm = vm;
3535
+ // 初始化连接
3536
+ this.connect();
3537
+ };
3538
+
3539
+ /** 发送消息 */
3540
+
3541
+
3542
+ WebSocket.prototype.send = function send(data) {
3543
+ var _this3 = this;
3544
+
3545
+ if (this.recon) {
3546
+ clearTimeout(this.sendTimeout);
3547
+ this.client.send(this.take, {}, typeof data === 'string' ? data : JSON.stringify(data));
3548
+ } else {
3549
+ this.sendTimeout = setTimeout(function () {
3550
+ _this3.send(data);
3551
+ }, 1000);
3552
+ }
3553
+ };
3554
+
3555
+ /** 销毁 */
3556
+
3557
+
3558
+ WebSocket.prototype.destroy = function destroy() {
3559
+ // 断开连接,清除定时器
3560
+ if (this.client) {
3561
+ this.client.disconnect();
3562
+ };
3563
+ this.reconTimeout && clearTimeout(this.reconTimeout);
3564
+ this.sendTimeout && clearTimeout(this.sendTimeout);
3565
+ };
3566
+
3567
+ return WebSocket;
3568
+ }();
3569
+
3570
+ /* harmony default export */ __webpack_exports__["a"] = (WebSocket);
3571
+
3572
+ /***/ }),
3573
+ /* 8 */
3495
3574
  /***/ (function(module, exports) {
3496
3575
 
3497
3576
  module.exports = require("sockjs-client");
3498
3577
 
3499
3578
  /***/ }),
3500
- /* 8 */
3579
+ /* 9 */
3501
3580
  /***/ (function(module, exports) {
3502
3581
 
3503
3582
  module.exports = require("stompjs");
3504
3583
 
3505
3584
  /***/ }),
3506
- /* 9 */
3585
+ /* 10 */
3507
3586
  /***/ (function(module, exports) {
3508
3587
 
3509
3588
  module.exports = require("sm-crypto");
3510
3589
 
3511
3590
  /***/ }),
3512
- /* 10 */,
3513
- /* 11 */
3591
+ /* 11 */,
3592
+ /* 12 */
3514
3593
  /***/ (function(module, exports) {
3515
3594
 
3516
3595
  module.exports = require("babel-runtime/regenerator");
3517
3596
 
3518
3597
  /***/ }),
3519
- /* 12 */,
3520
3598
  /* 13 */,
3521
- /* 14 */
3599
+ /* 14 */,
3600
+ /* 15 */
3522
3601
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3523
3602
 
3524
3603
  "use strict";
@@ -3692,7 +3771,6 @@ var component = Object(componentNormalizer["a" /* default */])(
3692
3771
  /* harmony default export */ var FileList = __webpack_exports__["a"] = (component.exports);
3693
3772
 
3694
3773
  /***/ }),
3695
- /* 15 */,
3696
3774
  /* 16 */,
3697
3775
  /* 17 */,
3698
3776
  /* 18 */,
@@ -3704,14 +3782,15 @@ var component = Object(componentNormalizer["a" /* default */])(
3704
3782
  /* 24 */,
3705
3783
  /* 25 */,
3706
3784
  /* 26 */,
3707
- /* 27 */
3785
+ /* 27 */,
3786
+ /* 28 */
3708
3787
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3709
3788
 
3710
3789
  "use strict";
3711
3790
  // ESM COMPAT FLAG
3712
3791
  __webpack_require__.r(__webpack_exports__);
3713
3792
 
3714
- // 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=fd749ad0&
3793
+ // 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=13cc8c3c&
3715
3794
  var render = function () {
3716
3795
  var _vm = this
3717
3796
  var _h = _vm.$createElement
@@ -4543,6 +4622,7 @@ var render = function () {
4543
4622
  selectUserList:
4544
4623
  _vm.selectReadUserList,
4545
4624
  options: _vm.userOptions,
4625
+ title: "分阅用户",
4546
4626
  mix: true,
4547
4627
  types: _vm.types,
4548
4628
  tabs: _vm.tabs,
@@ -4583,6 +4663,7 @@ var render = function () {
4583
4663
  radioList:
4584
4664
  _vm.presetReadUserId,
4585
4665
  presetEdit: 1,
4666
+ title: "分阅用户",
4586
4667
  mix: true,
4587
4668
  types: _vm.types,
4588
4669
  tabs: _vm.tabs,
@@ -5346,10 +5427,10 @@ var staticRenderFns = []
5346
5427
  render._withStripped = true
5347
5428
 
5348
5429
 
5349
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fd749ad0&
5430
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=13cc8c3c&
5350
5431
 
5351
5432
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5352
- var regenerator_ = __webpack_require__(11);
5433
+ var regenerator_ = __webpack_require__(12);
5353
5434
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
5354
5435
 
5355
5436
  // 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/CommonOpinions.vue?vue&type=template&id=4e1f4030&
@@ -6299,8 +6380,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
6299
6380
  )
6300
6381
 
6301
6382
  /* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
6302
- // 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=98eb2948&
6303
- var processFormvue_type_template_id_98eb2948_render = function () {
6383
+ // 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=b6491348&
6384
+ var processFormvue_type_template_id_b6491348_render = function () {
6304
6385
  var _vm = this
6305
6386
  var _h = _vm.$createElement
6306
6387
  var _c = _vm._self._c || _h
@@ -6555,6 +6636,7 @@ var processFormvue_type_template_id_98eb2948_render = function () {
6555
6636
  multiple: true,
6556
6637
  selectUserList: _vm.selectReadUserList,
6557
6638
  options: _vm.userOptions,
6639
+ title: "分阅用户",
6558
6640
  mix: true,
6559
6641
  types: _vm.types,
6560
6642
  tabs: _vm.tabs,
@@ -6585,6 +6667,7 @@ var processFormvue_type_template_id_98eb2948_render = function () {
6585
6667
  multiple: true,
6586
6668
  selectUserList: _vm.selectPresetUserList,
6587
6669
  options: _vm.presetOptions,
6670
+ title: "分阅用户",
6588
6671
  radioList: _vm.presetReadUserId,
6589
6672
  presetEdit: 1,
6590
6673
  mix: true,
@@ -6764,11 +6847,11 @@ var processFormvue_type_template_id_98eb2948_render = function () {
6764
6847
  1
6765
6848
  )
6766
6849
  }
6767
- var processFormvue_type_template_id_98eb2948_staticRenderFns = []
6768
- processFormvue_type_template_id_98eb2948_render._withStripped = true
6850
+ var processFormvue_type_template_id_b6491348_staticRenderFns = []
6851
+ processFormvue_type_template_id_b6491348_render._withStripped = true
6769
6852
 
6770
6853
 
6771
- // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=98eb2948&
6854
+ // CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=b6491348&
6772
6855
 
6773
6856
  // 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=db651118&
6774
6857
  var selectUservue_type_template_id_db651118_render = function () {
@@ -8464,7 +8547,6 @@ var processFormvue_type_script_lang_js_components;
8464
8547
  //
8465
8548
  //
8466
8549
  //
8467
- //
8468
8550
 
8469
8551
 
8470
8552
 
@@ -8532,11 +8614,15 @@ var processFormvue_type_script_lang_js_components;
8532
8614
  tabs: {
8533
8615
  employee: {
8534
8616
  param: {
8535
- filid: sessionStorage.getItem('orgId'),
8617
+ filid: JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId,
8536
8618
  name: '本单位用户'
8537
8619
  }
8538
8620
  },
8539
- department: { param: { filid: sessionStorage.getItem('orgId') } }
8621
+ department: {
8622
+ param: {
8623
+ filid: JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId
8624
+ }
8625
+ }
8540
8626
  },
8541
8627
  nextUserTabs: {},
8542
8628
  selectPresetUserList: [],
@@ -8596,7 +8682,11 @@ var processFormvue_type_script_lang_js_components;
8596
8682
  if (val == 7 || val == 8) {
8597
8683
  this.nextUserTypes = ['department'];
8598
8684
  this.nextUserTabs = {
8599
- department: { param: { filid: sessionStorage.getItem('orgId') } }
8685
+ department: {
8686
+ param: {
8687
+ filid: JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId
8688
+ }
8689
+ }
8600
8690
  };
8601
8691
  this.multiple = true;
8602
8692
  } else if (val == 9 || val == 10) {
@@ -8607,7 +8697,11 @@ var processFormvue_type_script_lang_js_components;
8607
8697
  this.nextUserTypes = ['department', 'enterprise'];
8608
8698
  this.nextUserTabs = {
8609
8699
  enterprise: { param: { filid: 'other' } },
8610
- department: { param: { filid: sessionStorage.getItem('orgId') } }
8700
+ department: {
8701
+ param: {
8702
+ filid: JSON.parse(sessionStorage.getItem('mainConfig')).userModel.orgId
8703
+ }
8704
+ }
8611
8705
  };
8612
8706
  this.multiple = true;
8613
8707
  }
@@ -8669,7 +8763,7 @@ var processFormvue_type_script_lang_js_components;
8669
8763
 
8670
8764
  util["a" /* default */].ajax({
8671
8765
  url: api["t" /* findCodeValues */],
8672
- params: { ccCode: 'notification_type' }
8766
+ params: { ccCode: 'notification_type', userId: util["a" /* default */].getStorage('userId') }
8673
8767
  }).then(function (res) {
8674
8768
  var status = res.status,
8675
8769
  data = res.data;
@@ -9047,8 +9141,8 @@ var processFormvue_type_script_lang_js_components;
9047
9141
 
9048
9142
  var processForm_component = Object(componentNormalizer["a" /* default */])(
9049
9143
  src_processFormvue_type_script_lang_js_,
9050
- processFormvue_type_template_id_98eb2948_render,
9051
- processFormvue_type_template_id_98eb2948_staticRenderFns,
9144
+ processFormvue_type_template_id_b6491348_render,
9145
+ processFormvue_type_template_id_b6491348_staticRenderFns,
9052
9146
  false,
9053
9147
  null,
9054
9148
  null,
@@ -9058,7 +9152,7 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
9058
9152
 
9059
9153
  /* harmony default export */ var processForm = (processForm_component.exports);
9060
9154
  // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
9061
- var FileList = __webpack_require__(14);
9155
+ var FileList = __webpack_require__(15);
9062
9156
 
9063
9157
  // 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=7d374b0a&
9064
9158
  var SendMsgvue_type_template_id_7d374b0a_render = function () {
@@ -9906,8 +10000,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
9906
10000
  )
9907
10001
 
9908
10002
  /* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
9909
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=4de07824&
9910
- var processRejectvue_type_template_id_4de07824_render = function () {
10003
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
10004
+ var processRejectvue_type_template_id_b5a52fc0_render = function () {
9911
10005
  var _vm = this
9912
10006
  var _h = _vm.$createElement
9913
10007
  var _c = _vm._self._c || _h
@@ -10098,11 +10192,11 @@ var processRejectvue_type_template_id_4de07824_render = function () {
10098
10192
  1
10099
10193
  )
10100
10194
  }
10101
- var processRejectvue_type_template_id_4de07824_staticRenderFns = []
10102
- processRejectvue_type_template_id_4de07824_render._withStripped = true
10195
+ var processRejectvue_type_template_id_b5a52fc0_staticRenderFns = []
10196
+ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
10103
10197
 
10104
10198
 
10105
- // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=4de07824&
10199
+ // CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=b5a52fc0&
10106
10200
 
10107
10201
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
10108
10202
  //
@@ -10236,7 +10330,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
10236
10330
 
10237
10331
  util["a" /* default */].ajax({
10238
10332
  url: api["t" /* findCodeValues */],
10239
- params: { ccCode: 'notification_type' }
10333
+ params: { ccCode: 'notification_type', userId: util["a" /* default */].getStorage('userId') }
10240
10334
  }).then(function (res) {
10241
10335
  var status = res.status,
10242
10336
  data = res.data;
@@ -10380,8 +10474,8 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
10380
10474
 
10381
10475
  var processReject_component = Object(componentNormalizer["a" /* default */])(
10382
10476
  src_processRejectvue_type_script_lang_js_,
10383
- processRejectvue_type_template_id_4de07824_render,
10384
- processRejectvue_type_template_id_4de07824_staticRenderFns,
10477
+ processRejectvue_type_template_id_b5a52fc0_render,
10478
+ processRejectvue_type_template_id_b5a52fc0_staticRenderFns,
10385
10479
  false,
10386
10480
  null,
10387
10481
  null,
@@ -10390,8 +10484,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
10390
10484
  )
10391
10485
 
10392
10486
  /* harmony default export */ var processReject = (processReject_component.exports);
10393
- // 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=44f07b3f&
10394
- var startTaskReadvue_type_template_id_44f07b3f_render = function () {
10487
+ // 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=02be1571&
10488
+ var startTaskReadvue_type_template_id_02be1571_render = function () {
10395
10489
  var _vm = this
10396
10490
  var _h = _vm.$createElement
10397
10491
  var _c = _vm._self._c || _h
@@ -10766,11 +10860,11 @@ var startTaskReadvue_type_template_id_44f07b3f_render = function () {
10766
10860
  1
10767
10861
  )
10768
10862
  }
10769
- var startTaskReadvue_type_template_id_44f07b3f_staticRenderFns = []
10770
- startTaskReadvue_type_template_id_44f07b3f_render._withStripped = true
10863
+ var startTaskReadvue_type_template_id_02be1571_staticRenderFns = []
10864
+ startTaskReadvue_type_template_id_02be1571_render._withStripped = true
10771
10865
 
10772
10866
 
10773
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=44f07b3f&
10867
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=02be1571&
10774
10868
 
10775
10869
  // 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&
10776
10870
  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; };
@@ -11167,7 +11261,7 @@ var startTaskReadvue_type_script_lang_js_components;
11167
11261
 
11168
11262
  util["a" /* default */].ajax({
11169
11263
  url: api["t" /* findCodeValues */],
11170
- params: { ccCode: 'notification_type' }
11264
+ params: { ccCode: 'notification_type', userId: util["a" /* default */].getStorage('userId') }
11171
11265
  }).then(function (res) {
11172
11266
  var status = res.status,
11173
11267
  data = res.data;
@@ -11371,8 +11465,8 @@ var startTaskReadvue_type_script_lang_js_components;
11371
11465
 
11372
11466
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
11373
11467
  src_startTaskReadvue_type_script_lang_js_,
11374
- startTaskReadvue_type_template_id_44f07b3f_render,
11375
- startTaskReadvue_type_template_id_44f07b3f_staticRenderFns,
11468
+ startTaskReadvue_type_template_id_02be1571_render,
11469
+ startTaskReadvue_type_template_id_02be1571_staticRenderFns,
11376
11470
  false,
11377
11471
  null,
11378
11472
  null,
@@ -11381,8 +11475,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
11381
11475
  )
11382
11476
 
11383
11477
  /* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
11384
- // 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/taskUnionExamine.vue?vue&type=template&id=47986272&
11385
- var taskUnionExaminevue_type_template_id_47986272_render = function () {
11478
+ // 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/taskUnionExamine.vue?vue&type=template&id=2e0435c4&
11479
+ var taskUnionExaminevue_type_template_id_2e0435c4_render = function () {
11386
11480
  var _vm = this
11387
11481
  var _h = _vm.$createElement
11388
11482
  var _c = _vm._self._c || _h
@@ -11597,11 +11691,11 @@ var taskUnionExaminevue_type_template_id_47986272_render = function () {
11597
11691
  1
11598
11692
  )
11599
11693
  }
11600
- var taskUnionExaminevue_type_template_id_47986272_staticRenderFns = []
11601
- taskUnionExaminevue_type_template_id_47986272_render._withStripped = true
11694
+ var taskUnionExaminevue_type_template_id_2e0435c4_staticRenderFns = []
11695
+ taskUnionExaminevue_type_template_id_2e0435c4_render._withStripped = true
11602
11696
 
11603
11697
 
11604
- // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=47986272&
11698
+ // CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=2e0435c4&
11605
11699
 
11606
11700
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
11607
11701
  var taskUnionExaminevue_type_script_lang_js_components;
@@ -12008,7 +12102,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
12008
12102
 
12009
12103
  util["a" /* default */].ajax({
12010
12104
  url: api["t" /* findCodeValues */],
12011
- params: { ccCode: 'notification_type' }
12105
+ params: { ccCode: 'notification_type', userId: util["a" /* default */].getStorage('userId') }
12012
12106
  }).then(function (res) {
12013
12107
  var status = res.status,
12014
12108
  data = res.data;
@@ -12079,8 +12173,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
12079
12173
 
12080
12174
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
12081
12175
  component_taskUnionExaminevue_type_script_lang_js_,
12082
- taskUnionExaminevue_type_template_id_47986272_render,
12083
- taskUnionExaminevue_type_template_id_47986272_staticRenderFns,
12176
+ taskUnionExaminevue_type_template_id_2e0435c4_render,
12177
+ taskUnionExaminevue_type_template_id_2e0435c4_staticRenderFns,
12084
12178
  false,
12085
12179
  null,
12086
12180
  null,
@@ -12753,6 +12847,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12753
12847
  //
12754
12848
  //
12755
12849
  //
12850
+ //
12851
+ //
12756
12852
 
12757
12853
 
12758
12854
 
@@ -13235,7 +13331,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13235
13331
 
13236
13332
  util["a" /* default */].ajax({
13237
13333
  url: api["t" /* findCodeValues */],
13238
- params: { ccCode: 'notification_type' }
13334
+ params: { ccCode: 'notification_type', userId: util["a" /* default */].getStorage('userId') }
13239
13335
  }).then(function (res) {
13240
13336
  var status = res.status,
13241
13337
  data = res.data;