eoss-ui 0.4.99 → 0.5.11

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 (123) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/lib/button-group.js +118 -43
  3. package/lib/button.js +119 -44
  4. package/lib/checkbox-group.js +199 -112
  5. package/lib/data-table-form.js +118 -47
  6. package/lib/data-table.js +192 -100
  7. package/lib/date-picker.js +118 -43
  8. package/lib/dialog.js +128 -57
  9. package/lib/eoss-ui.common.js +1174 -1167
  10. package/lib/flow-group.js +118 -43
  11. package/lib/flow-list.js +137 -52
  12. package/lib/flow.js +123 -52
  13. package/lib/form.js +673 -547
  14. package/lib/handle-user.js +143 -68
  15. package/lib/handler.js +118 -43
  16. package/lib/icons.js +2 -2
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +119 -44
  19. package/lib/input.js +121 -46
  20. package/lib/layout.js +2 -2
  21. package/lib/login.js +124 -52
  22. package/lib/main.js +299 -386
  23. package/lib/nav.js +118 -43
  24. package/lib/page.js +118 -43
  25. package/lib/player.js +120 -45
  26. package/lib/qr-code.js +118 -43
  27. package/lib/radio-group.js +148 -71
  28. package/lib/retrial-auth.js +118 -43
  29. package/lib/select-ganged.js +119 -44
  30. package/lib/select.js +143 -68
  31. package/lib/selector-panel.js +172 -90
  32. package/lib/selector.js +118 -43
  33. package/lib/sizer.js +121 -46
  34. package/lib/steps.js +118 -43
  35. package/lib/switch.js +119 -44
  36. package/lib/table-form.js +184 -109
  37. package/lib/tabs.js +118 -43
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/pagination.css +1 -1
  40. package/lib/theme-chalk/toolbar.css +1 -1
  41. package/lib/tips.js +118 -43
  42. package/lib/toolbar.js +19 -9
  43. package/lib/tree-group.js +118 -43
  44. package/lib/tree.js +118 -43
  45. package/lib/upload.js +207 -125
  46. package/lib/utils/util.js +98 -35
  47. package/lib/wujie.js +118 -43
  48. package/lib/wxlogin.js +118 -43
  49. package/package.json +1 -1
  50. package/packages/button/src/main.vue +1 -10
  51. package/packages/data-table/src/column.vue +6 -0
  52. package/packages/data-table/src/main.vue +14 -6
  53. package/packages/flow-list/src/main.vue +4 -3
  54. package/packages/form/src/main.vue +71 -47
  55. package/packages/form/src/table.vue +12 -11
  56. package/packages/login/src/main.vue +1 -0
  57. package/packages/main/src/main.vue +118 -247
  58. package/packages/radio-group/src/main.vue +2 -5
  59. package/packages/theme-chalk/lib/base.css +1 -0
  60. package/packages/theme-chalk/lib/button-group.css +1 -0
  61. package/packages/theme-chalk/lib/button.css +0 -0
  62. package/packages/theme-chalk/lib/card.css +1 -0
  63. package/packages/theme-chalk/lib/cascader.css +0 -0
  64. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  65. package/packages/theme-chalk/lib/clients.css +1 -0
  66. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  67. package/packages/theme-chalk/lib/data-table.css +1 -0
  68. package/packages/theme-chalk/lib/date-picker.css +1 -0
  69. package/packages/theme-chalk/lib/dialog.css +1 -0
  70. package/packages/theme-chalk/lib/enterprise.css +1 -0
  71. package/packages/theme-chalk/lib/error-page.css +1 -0
  72. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  73. package/packages/theme-chalk/lib/flow-group.css +1 -0
  74. package/packages/theme-chalk/lib/flow-list.css +1 -0
  75. package/packages/theme-chalk/lib/flow.css +1 -0
  76. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  77. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  78. package/packages/theme-chalk/lib/form.css +1 -0
  79. package/packages/theme-chalk/lib/handle-user.css +1 -0
  80. package/packages/theme-chalk/lib/handler.css +1 -0
  81. package/packages/theme-chalk/lib/icon.css +1 -0
  82. package/packages/theme-chalk/lib/icons.css +1 -0
  83. package/packages/theme-chalk/lib/index.css +1 -0
  84. package/packages/theme-chalk/lib/input-number.css +0 -0
  85. package/packages/theme-chalk/lib/input.css +1 -0
  86. package/packages/theme-chalk/lib/label.css +1 -0
  87. package/packages/theme-chalk/lib/layout.css +1 -0
  88. package/packages/theme-chalk/lib/login.css +1 -0
  89. package/packages/theme-chalk/lib/main.css +1 -0
  90. package/packages/theme-chalk/lib/mainComp.css +0 -0
  91. package/packages/theme-chalk/lib/menu.css +1 -0
  92. package/packages/theme-chalk/lib/nav.css +1 -0
  93. package/packages/theme-chalk/lib/notify.css +0 -0
  94. package/packages/theme-chalk/lib/page.css +1 -0
  95. package/packages/theme-chalk/lib/pagination.css +1 -0
  96. package/packages/theme-chalk/lib/player.css +1 -0
  97. package/packages/theme-chalk/lib/qr-code.css +1 -0
  98. package/packages/theme-chalk/lib/radio-group.css +1 -0
  99. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  100. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  101. package/packages/theme-chalk/lib/select.css +0 -0
  102. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  103. package/packages/theme-chalk/lib/selector.css +1 -0
  104. package/packages/theme-chalk/lib/sizer.css +1 -0
  105. package/packages/theme-chalk/lib/steps.css +1 -0
  106. package/packages/theme-chalk/lib/switch.css +1 -0
  107. package/packages/theme-chalk/lib/table-form.css +0 -0
  108. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  109. package/packages/theme-chalk/lib/tabs.css +1 -0
  110. package/packages/theme-chalk/lib/tips.css +1 -0
  111. package/packages/theme-chalk/lib/toolbar.css +1 -0
  112. package/packages/theme-chalk/lib/tree-group.css +1 -0
  113. package/packages/theme-chalk/lib/tree.css +1 -0
  114. package/packages/theme-chalk/lib/upload.css +1 -0
  115. package/packages/theme-chalk/lib/wujie.css +0 -0
  116. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  117. package/packages/theme-chalk/src/pagination.scss +8 -0
  118. package/packages/theme-chalk/src/toolbar.scss +1 -0
  119. package/packages/toolbar/src/main.vue +17 -8
  120. package/packages/upload/src/main.vue +0 -1
  121. package/src/index.js +1 -1
  122. package/src/utils/util.js +97 -37
  123. package/packages/theme-chalk/gulpfile.js +0 -25
@@ -97,8 +97,14 @@ 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__(8);
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 eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
101
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
100
+ /* harmony import */ var sockjs_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9);
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__(10);
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__(5);
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
+
102
108
  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; };
103
109
 
104
110
  /**
@@ -115,6 +121,8 @@ var sm2 = __webpack_require__(20).sm2;
115
121
 
116
122
 
117
123
 
124
+
125
+
118
126
  var win = window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
119
127
 
120
128
  var $hueStep = 2;
@@ -256,7 +264,7 @@ var ajax = function ajax(_ref) {
256
264
  clearTimeout(loginMsg);
257
265
  loginMsg = setTimeout(function () {
258
266
  sessionStorage.setItem('remind', 1);
259
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
267
+ eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
260
268
  confirmButtonText: '确定',
261
269
  closeOnClickModal: false,
262
270
  type: 'warning'
@@ -303,7 +311,7 @@ var ajax = function ajax(_ref) {
303
311
  } else if (response.data.rCode === 61) {
304
312
  clearTimeout(initAuth);
305
313
  initAuth = setTimeout(function () {
306
- Object(eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"])({
314
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"])({
307
315
  title: '请进行二次鉴权',
308
316
  closeOnClickModal: false,
309
317
  closeOnPressEscape: false,
@@ -737,6 +745,7 @@ var delUrlParam = function delUrlParam(_ref2) {
737
745
  key.forEach(function (item) {
738
746
  if (param.hasOwnProperty(item)) {
739
747
  var reg = item + '=' + param[item];
748
+ console.log(reg);
740
749
  if (src.indexOf(reg + '&') > -1) {
741
750
  src = src.replace(reg + '&', '');
742
751
  } else if (src.indexOf('&' + reg) > -1) {
@@ -1752,7 +1761,7 @@ var getWeekday = function getWeekday(date) {
1752
1761
  * @param {String} [url] - url地址
1753
1762
  **/
1754
1763
 
1755
- var handlerUrl = function handlerUrl(url, before) {
1764
+ var handlerUrl = function handlerUrl(url, param, before) {
1756
1765
  var arry = url.split('?');
1757
1766
  if (arry.length > 2) {
1758
1767
  var ary = arry.splice(1, arry.length);
@@ -1774,6 +1783,10 @@ var handlerUrl = function handlerUrl(url, before) {
1774
1783
  } else {
1775
1784
  url += '?_tt=' + new Date().getTime();
1776
1785
  }
1786
+ if (param) {
1787
+ var str = queryParams(param);
1788
+ url += '&' + str;
1789
+ }
1777
1790
  if (before && before === arry[0]) {
1778
1791
  var pathname = win.location.pathname;
1779
1792
  if (pathname === '/') {
@@ -1933,7 +1946,6 @@ var isLogined = function isLogined(_ref8) {
1933
1946
  next = _ref8.next,
1934
1947
  _ref8$exclude = _ref8.exclude,
1935
1948
  exclude = _ref8$exclude === undefined ? [] : _ref8$exclude,
1936
- open = _ref8.open,
1937
1949
  cookie = _ref8.cookie,
1938
1950
  loginPage = _ref8.loginPage,
1939
1951
  redirect = _ref8.redirect;
@@ -1941,24 +1953,24 @@ var isLogined = function isLogined(_ref8) {
1941
1953
  if (cookie === undefined) {
1942
1954
  cookie = getParams({ name: 'cookie' });
1943
1955
  }
1956
+ var pathname = win.top.location.pathname;
1944
1957
  if (loginPage) {
1945
1958
  sessionStorage.setItem('loginPage', loginPage);
1946
1959
  if (!startWith(loginPage, ['http', '/'], true)) {
1947
- var pathname = win.top.location.pathname;
1948
1960
  if (pathname !== '/') {
1949
- pathname = pathname.split('/');
1950
- pathname.splice(pathname.length - 1);
1951
- pathname = pathname.join('/');
1952
- loginPage = pathname + '/' + loginPage.replace('./', '');
1961
+ var path = pathname.split('/');
1962
+ path.splice(pathname.length - 1);
1963
+ path = path.join('/');
1964
+ loginPage = path + '/' + loginPage.replace('./', '');
1953
1965
  } else {
1954
1966
  loginPage = pathname + loginPage.replace('./', '');
1955
1967
  }
1956
1968
  }
1957
1969
  }
1958
1970
  var token = getStorage('token') || getStorage('Authorization');
1959
- var logined = getStorage('logined');
1971
+ // const logined = getStorage('logined');
1960
1972
  // eslint-disable-next-line eqeqeq
1961
- if (token || logined || cookie == true || cookie == 1) {
1973
+ if (token || cookie == true || cookie == 1) {
1962
1974
  next && next();
1963
1975
  } else {
1964
1976
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
@@ -1982,40 +1994,25 @@ var isLogined = function isLogined(_ref8) {
1982
1994
  deviceUnique: results.deviceUnique
1983
1995
  }
1984
1996
  });
1985
- next();
1997
+ var url = delUrlParam({
1998
+ url: win.top.location.href,
1999
+ key: ['serverId', 'authType', 'code', 'sessionId']
2000
+ });
2001
+ win.top.location.href = url;
2002
+ setTimeout(function () {
2003
+ win.top.location.reload();
2004
+ }, 200);
1986
2005
  break;
1987
2006
  case 1:
1988
2007
  break;
1989
2008
  case 2:
1990
2009
  break;
1991
2010
  case 3:
1992
- var url = win.top.location.href;
1993
- var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(url));
1994
- if (to.query.openType) {
1995
- switch (to.query.openType) {
1996
- case 'self':
1997
- win.location.href = href;
1998
- break;
1999
- case 'blank':
2000
- win.open(href);
2001
- break;
2002
- case 'top':
2003
- win.top.location.href = href;
2004
- break;
2005
- case 'parent':
2006
- win.parent.location.href = href;
2007
- break;
2008
- }
2009
- } else {
2010
- if (open) {
2011
- win.open(href);
2012
- } else {
2013
- win.top.location.href = href;
2014
- }
2015
- }
2011
+ var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
2012
+ win.top.location.href = href;
2016
2013
  break;
2017
2014
  case 4:
2018
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2015
+ eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
2019
2016
  confirmButtonText: '确定',
2020
2017
  type: 'error',
2021
2018
  callback: function callback() {
@@ -2035,7 +2032,7 @@ var isLogined = function isLogined(_ref8) {
2035
2032
  default:
2036
2033
  }
2037
2034
  } else {
2038
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].alert(res.msg, '提示', {
2035
+ eoss_element__WEBPACK_IMPORTED_MODULE_6__["MessageBox"].alert(res.msg, '提示', {
2039
2036
  confirmButtonText: '确定',
2040
2037
  type: 'error',
2041
2038
  callback: function callback() {
@@ -2166,7 +2163,7 @@ var loadJs = function loadJs(_ref10) {
2166
2163
  **/
2167
2164
  var loading = function loading($loading, res) {
2168
2165
  if (!$loading) {
2169
- $loading = eoss_element__WEBPACK_IMPORTED_MODULE_4__["Loading"].service;
2166
+ $loading = eoss_element__WEBPACK_IMPORTED_MODULE_6__["Loading"].service;
2170
2167
  }
2171
2168
  if (isObject(res)) {
2172
2169
  var config = extend({}, {
@@ -2525,6 +2522,70 @@ var setStorage = function setStorage(_ref14) {
2525
2522
  }
2526
2523
  };
2527
2524
 
2525
+ /**
2526
+ * socket
2527
+ * @desc:webSocket
2528
+ * @author huangbo
2529
+ * @date 2022年5月7日
2530
+ * @param {String} [url] - 连接地址
2531
+ * @param {String} [take] - 订阅地址
2532
+ * @param {String} [debug] - 调试
2533
+ * @param {String} [interval] - 重连间隔时间
2534
+ **/
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
+ });
2588
+ }
2528
2589
  /**
2529
2590
  * sum
2530
2591
  * @desc 求和
@@ -2777,7 +2838,6 @@ var urlJoinParams = function urlJoinParams(_ref15) {
2777
2838
  params[items[0]] = items[1];
2778
2839
  });
2779
2840
  }
2780
- '&_tt=' + new Date().getTime();
2781
2841
  params = extend(true, params, param);
2782
2842
  var str = queryParams(params);
2783
2843
  if (str) {
@@ -2945,6 +3005,7 @@ var watermark = function watermark(option) {
2945
3005
  sendMessage: sendMessage,
2946
3006
  setFavicon: setFavicon,
2947
3007
  setStorage: setStorage,
3008
+ socket: socket,
2948
3009
  startWith: startWith,
2949
3010
  sum: sum,
2950
3011
  takeLeft: takeLeft,
@@ -3347,37 +3408,37 @@ module.exports = require("json-bigint");
3347
3408
  /* 9 */
3348
3409
  /***/ (function(module, exports) {
3349
3410
 
3350
- module.exports = require("vue");
3411
+ module.exports = require("sockjs-client");
3351
3412
 
3352
3413
  /***/ }),
3353
3414
  /* 10 */
3354
3415
  /***/ (function(module, exports) {
3355
3416
 
3356
- module.exports = require("wujie-vue2");
3417
+ module.exports = require("stompjs");
3357
3418
 
3358
3419
  /***/ }),
3359
3420
  /* 11 */
3360
- /***/ (function(module) {
3421
+ /***/ (function(module, exports) {
3361
3422
 
3362
- module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
3423
+ module.exports = require("vue");
3363
3424
 
3364
3425
  /***/ }),
3365
3426
  /* 12 */
3366
3427
  /***/ (function(module, exports) {
3367
3428
 
3368
- module.exports = require("runtime-import");
3429
+ module.exports = require("wujie-vue2");
3369
3430
 
3370
3431
  /***/ }),
3371
3432
  /* 13 */
3372
- /***/ (function(module, exports) {
3433
+ /***/ (function(module) {
3373
3434
 
3374
- module.exports = require("sockjs-client");
3435
+ module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
3375
3436
 
3376
3437
  /***/ }),
3377
3438
  /* 14 */
3378
3439
  /***/ (function(module, exports) {
3379
3440
 
3380
- module.exports = require("stompjs");
3441
+ module.exports = require("runtime-import");
3381
3442
 
3382
3443
  /***/ }),
3383
3444
  /* 15 */
@@ -3494,7 +3555,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3494
3555
  },
3495
3556
  computed: {
3496
3557
  _type: function _type() {
3497
- return ['default', 'primary', 'success', 'info', 'warning', 'danger'].includes(this.type) ? this.type : this.mold;
3558
+ return this.type ? this.type : this.mold;
3498
3559
  }
3499
3560
  },
3500
3561
  data: function data() {
@@ -5381,8 +5442,8 @@ clients_src_main.install = function (Vue) {
5381
5442
  };
5382
5443
 
5383
5444
  /* harmony default export */ var clients = (clients_src_main);
5384
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=8d31e592&
5385
- var mainvue_type_template_id_8d31e592_render = function () {
5445
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=f3399f02&
5446
+ var mainvue_type_template_id_f3399f02_render = function () {
5386
5447
  var _vm = this
5387
5448
  var _h = _vm.$createElement
5388
5449
  var _c = _vm._self._c || _h
@@ -5416,6 +5477,7 @@ var mainvue_type_template_id_8d31e592_render = function () {
5416
5477
  "es-toolbar",
5417
5478
  {
5418
5479
  contents: _vm.toolbars,
5480
+ showLabel: _vm.showLabel,
5419
5481
  close: _vm.close,
5420
5482
  callBack: _vm.resetHeight,
5421
5483
  showFormBtn: _vm.showFormBtn,
@@ -5717,11 +5779,11 @@ var mainvue_type_template_id_8d31e592_render = function () {
5717
5779
  1
5718
5780
  )
5719
5781
  }
5720
- var mainvue_type_template_id_8d31e592_staticRenderFns = []
5721
- mainvue_type_template_id_8d31e592_render._withStripped = true
5782
+ var mainvue_type_template_id_f3399f02_staticRenderFns = []
5783
+ mainvue_type_template_id_f3399f02_render._withStripped = true
5722
5784
 
5723
5785
 
5724
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=8d31e592&
5786
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=f3399f02&
5725
5787
 
5726
5788
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
5727
5789
  var childrenvue_type_template_id_796433ee_render = function () {
@@ -5771,8 +5833,8 @@ childrenvue_type_template_id_796433ee_render._withStripped = true
5771
5833
 
5772
5834
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=796433ee&
5773
5835
 
5774
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=4ca382cb&
5775
- var columnvue_type_template_id_4ca382cb_render = function () {
5836
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=00ff0a77&
5837
+ var columnvue_type_template_id_00ff0a77_render = function () {
5776
5838
  var _vm = this
5777
5839
  var _h = _vm.$createElement
5778
5840
  var _c = _vm._self._c || _h
@@ -6346,40 +6408,46 @@ var columnvue_type_template_id_4ca382cb_render = function () {
6346
6408
  : _vm.item.type == "selector"
6347
6409
  ? _c(
6348
6410
  "es-selector",
6349
- _vm._b(
6350
- {
6351
- on: {
6352
- change: function (value) {
6353
- _vm.handleChange({
6354
- item: _vm.item,
6355
- name:
6356
- _vm.item.field ||
6357
- _vm.item.prop,
6358
- value: value,
6359
- data: scope.row,
6360
- })
6411
+ _vm._g(
6412
+ _vm._b(
6413
+ {
6414
+ on: {
6415
+ change: function (value) {
6416
+ _vm.handleChange({
6417
+ item: _vm.item,
6418
+ name:
6419
+ _vm.item.field ||
6420
+ _vm.item.prop,
6421
+ value: value,
6422
+ data: scope.row,
6423
+ })
6424
+ },
6361
6425
  },
6362
- },
6363
- model: {
6364
- value:
6365
- scope.row[_vm.item.field],
6366
- callback: function ($$v) {
6367
- _vm.$set(
6368
- scope.row,
6369
- _vm.item.field,
6370
- $$v
6371
- )
6426
+ model: {
6427
+ value:
6428
+ scope.row[_vm.item.field],
6429
+ callback: function ($$v) {
6430
+ _vm.$set(
6431
+ scope.row,
6432
+ _vm.item.field,
6433
+ $$v
6434
+ )
6435
+ },
6436
+ expression:
6437
+ "scope.row[item.field]",
6372
6438
  },
6373
- expression:
6374
- "scope.row[item.field]",
6375
6439
  },
6376
- },
6377
- "es-selector",
6440
+ "es-selector",
6441
+ _vm.exclAttribute({
6442
+ data: _vm.item,
6443
+ attrs: "width",
6444
+ }),
6445
+ false
6446
+ ),
6378
6447
  _vm.exclAttribute({
6379
- data: _vm.item,
6380
- attrs: "width",
6381
- }),
6382
- false
6448
+ data: _vm.item.events,
6449
+ attrs: "change",
6450
+ })
6383
6451
  )
6384
6452
  )
6385
6453
  : _vm.item.type === "text" ||
@@ -6754,11 +6822,11 @@ var columnvue_type_template_id_4ca382cb_render = function () {
6754
6822
  2
6755
6823
  )
6756
6824
  }
6757
- var columnvue_type_template_id_4ca382cb_staticRenderFns = []
6758
- columnvue_type_template_id_4ca382cb_render._withStripped = true
6825
+ var columnvue_type_template_id_00ff0a77_staticRenderFns = []
6826
+ columnvue_type_template_id_00ff0a77_render._withStripped = true
6759
6827
 
6760
6828
 
6761
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=4ca382cb&
6829
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=00ff0a77&
6762
6830
 
6763
6831
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
6764
6832
  var regenerator_ = __webpack_require__(2);
@@ -7331,6 +7399,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7331
7399
  //
7332
7400
  //
7333
7401
  //
7402
+ //
7403
+ //
7404
+ //
7405
+ //
7406
+ //
7407
+ //
7334
7408
 
7335
7409
 
7336
7410
 
@@ -7672,8 +7746,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
7672
7746
 
7673
7747
  var column_component = normalizeComponent(
7674
7748
  src_columnvue_type_script_lang_js_,
7675
- columnvue_type_template_id_4ca382cb_render,
7676
- columnvue_type_template_id_4ca382cb_staticRenderFns,
7749
+ columnvue_type_template_id_00ff0a77_render,
7750
+ columnvue_type_template_id_00ff0a77_staticRenderFns,
7677
7751
  false,
7678
7752
  null,
7679
7753
  null,
@@ -7981,7 +8055,7 @@ var sizer_component = normalizeComponent(
7981
8055
 
7982
8056
  /* harmony default export */ var sizer = (sizer_component.exports);
7983
8057
  // EXTERNAL MODULE: external "vue"
7984
- var external_vue_ = __webpack_require__(9);
8058
+ var external_vue_ = __webpack_require__(11);
7985
8059
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
7986
8060
 
7987
8061
  // CONCATENATED MODULE: ./src/utils/bus.js
@@ -8195,6 +8269,7 @@ var mainvue_type_script_lang_js_components;
8195
8269
  //
8196
8270
  //
8197
8271
  //
8272
+ //
8198
8273
 
8199
8274
 
8200
8275
 
@@ -8278,6 +8353,7 @@ var mainvue_type_script_lang_js_components;
8278
8353
  type: [Array, Boolean],
8279
8354
  default: false
8280
8355
  },
8356
+ showLabel: Boolean,
8281
8357
  searchValue: Object,
8282
8358
  advanceValue: Object,
8283
8359
  // 是否开启序号
@@ -8697,25 +8773,31 @@ var mainvue_type_script_lang_js_components;
8697
8773
  handleClickAddData: function handleClickAddData(scope) {
8698
8774
  var data = JSON.parse(JSON.stringify(scope.row));
8699
8775
  var index = scope.$index + 1;
8700
- this.datas.splice(index, 0, data);
8776
+ if (this.page) {
8777
+ index += (this.config.pageNum - 1) * this.config.pageSize;
8778
+ }
8779
+ this.data.splice(index, 0, data);
8701
8780
  this.$emit('dataChange', 'add', data);
8702
8781
  this.$emit('btnClick', {
8703
8782
  event: 'addRow',
8704
8783
  row: data,
8705
8784
  index: index,
8706
- data: data
8785
+ data: this.data
8707
8786
  });
8708
8787
  },
8709
8788
  handleClickDeleteData: function handleClickDeleteData(scope) {
8710
8789
  var data = JSON.parse(JSON.stringify(scope.row));
8711
8790
  var index = scope.$index;
8712
- this.datas.splice(index, 1);
8791
+ if (this.page) {
8792
+ index += (this.config.pageNum - 1) * this.config.pageSize;
8793
+ }
8794
+ this.data.splice(index, 1);
8713
8795
  this.$emit('dataChange', 'delete', data);
8714
8796
  this.$emit('btnClick', {
8715
8797
  event: 'deleteRow',
8716
8798
  row: data,
8717
8799
  index: index,
8718
- data: this.datas
8800
+ data: this.data
8719
8801
  });
8720
8802
  },
8721
8803
  checkSelect: function checkSelect(newVal) {
@@ -9279,8 +9361,8 @@ var mainvue_type_script_lang_js_components;
9279
9361
 
9280
9362
  var data_table_src_main_component = normalizeComponent(
9281
9363
  packages_data_table_src_mainvue_type_script_lang_js_,
9282
- mainvue_type_template_id_8d31e592_render,
9283
- mainvue_type_template_id_8d31e592_staticRenderFns,
9364
+ mainvue_type_template_id_f3399f02_render,
9365
+ mainvue_type_template_id_f3399f02_staticRenderFns,
9284
9366
  false,
9285
9367
  null,
9286
9368
  null,
@@ -11864,7 +11946,7 @@ mainvue_type_template_id_19392db6_render._withStripped = true
11864
11946
  // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=19392db6&
11865
11947
 
11866
11948
  // EXTERNAL MODULE: external "wujie-vue2"
11867
- var external_wujie_vue2_ = __webpack_require__(10);
11949
+ var external_wujie_vue2_ = __webpack_require__(12);
11868
11950
  var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wujie_vue2_);
11869
11951
 
11870
11952
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
@@ -12678,8 +12760,8 @@ error_page_src_main.install = function (Vue) {
12678
12760
  };
12679
12761
 
12680
12762
  /* harmony default export */ var error_page = (error_page_src_main);
12681
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=1499355a&
12682
- var mainvue_type_template_id_1499355a_render = function () {
12763
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=2fd814fb&
12764
+ var mainvue_type_template_id_2fd814fb_render = function () {
12683
12765
  var _vm = this
12684
12766
  var _h = _vm.$createElement
12685
12767
  var _c = _vm._self._c || _h
@@ -12852,21 +12934,14 @@ var mainvue_type_template_id_1499355a_render = function () {
12852
12934
  item.label
12853
12935
  ? _c(
12854
12936
  "es-label",
12855
- {
12856
- attrs:
12857
- {
12858
- contents:
12859
- item.label,
12860
- event:
12861
- item
12862
- .label
12863
- .event,
12864
- events:
12865
- item
12866
- .label
12867
- .events,
12868
- },
12869
- }
12937
+ _vm._b(
12938
+ {},
12939
+ "es-label",
12940
+ _vm.getLabel(
12941
+ item.label
12942
+ ),
12943
+ false
12944
+ )
12870
12945
  )
12871
12946
  : _vm._e(),
12872
12947
  item.text ||
@@ -13365,28 +13440,13 @@ var mainvue_type_template_id_1499355a_render = function () {
13365
13440
  {
13366
13441
  attrs: {
13367
13442
  slot: "label",
13368
- contents:
13369
- item.label,
13370
- plain:
13371
- item.plain ||
13372
- item.name ===
13373
- undefined,
13374
13443
  },
13375
13444
  slot: "label",
13376
13445
  },
13377
13446
  "es-label",
13378
- item.label
13379
- ? {
13380
- event:
13381
- item
13382
- .label
13383
- .event,
13384
- events:
13385
- item
13386
- .label
13387
- .events,
13388
- }
13389
- : {},
13447
+ _vm.getLabel(
13448
+ item.label
13449
+ ),
13390
13450
  false
13391
13451
  )
13392
13452
  )
@@ -13751,61 +13811,72 @@ var mainvue_type_template_id_1499355a_render = function () {
13751
13811
  "selector"
13752
13812
  ? _c(
13753
13813
  "es-selector",
13754
- _vm._b(
13755
- {
13756
- attrs: {
13757
- plain:
13758
- item.plain ||
13759
- item.name ===
13760
- undefined,
13761
- readonly:
13762
- _vm.readonly
13763
- ? _vm.readonly
13764
- : item.readonly,
13765
- },
13766
- on: {
13767
- change:
13768
- function (
13769
- val
13770
- ) {
13771
- _vm.handleChange(
13772
- item,
13773
- val
13774
- )
13814
+ _vm._g(
13815
+ _vm._b(
13816
+ {
13817
+ attrs:
13818
+ {
13819
+ plain:
13820
+ item.plain ||
13821
+ item.name ===
13822
+ undefined,
13823
+ readonly:
13824
+ _vm.readonly
13825
+ ? _vm.readonly
13826
+ : item.readonly,
13775
13827
  },
13776
- },
13777
- model: {
13778
- value:
13779
- _vm
13780
- .models[
13781
- item
13782
- .name
13783
- ],
13784
- callback:
13785
- function (
13786
- $$v
13787
- ) {
13788
- _vm.$set(
13789
- _vm.models,
13790
- item.name,
13791
- $$v
13792
- )
13828
+ on: {
13829
+ change:
13830
+ function (
13831
+ val
13832
+ ) {
13833
+ _vm.handleChange(
13834
+ item,
13835
+ val
13836
+ )
13837
+ },
13838
+ },
13839
+ model:
13840
+ {
13841
+ value:
13842
+ _vm
13843
+ .models[
13844
+ item
13845
+ .name
13846
+ ],
13847
+ callback:
13848
+ function (
13849
+ $$v
13850
+ ) {
13851
+ _vm.$set(
13852
+ _vm.models,
13853
+ item.name,
13854
+ $$v
13855
+ )
13856
+ },
13857
+ expression:
13858
+ "models[item.name]",
13793
13859
  },
13794
- expression:
13795
- "models[item.name]",
13796
13860
  },
13797
- },
13798
- "es-selector",
13861
+ "es-selector",
13862
+ _vm.handleExclAttribute(
13863
+ {
13864
+ data: item,
13865
+ attrs:
13866
+ [
13867
+ "value",
13868
+ ],
13869
+ }
13870
+ ),
13871
+ false
13872
+ ),
13799
13873
  _vm.handleExclAttribute(
13800
13874
  {
13801
- data: item,
13875
+ data: item.events,
13802
13876
  attrs:
13803
- [
13804
- "value",
13805
- ],
13877
+ "change",
13806
13878
  }
13807
- ),
13808
- false
13879
+ )
13809
13880
  )
13810
13881
  )
13811
13882
  : item.type ==
@@ -14040,128 +14111,150 @@ var mainvue_type_template_id_1499355a_render = function () {
14040
14111
  "upload"
14041
14112
  ? _c(
14042
14113
  "es-upload",
14043
- _vm._b(
14044
- {
14045
- attrs: {
14046
- ownId:
14047
- item.ownId ||
14048
- _vm
14049
- .models
14050
- .id,
14051
- "btn-size":
14052
- "medium",
14053
- readonly:
14054
- _vm.readonly
14055
- ? _vm.readonly
14056
- : item.readonly,
14057
- rules:
14058
- item.rules,
14059
- },
14060
- on: {
14061
- change:
14062
- function (
14063
- val
14064
- ) {
14065
- _vm.handleChange(
14066
- item,
14067
- val
14068
- )
14114
+ _vm._g(
14115
+ _vm._b(
14116
+ {
14117
+ attrs:
14118
+ {
14119
+ ownId:
14120
+ item.ownId ||
14121
+ _vm
14122
+ .models
14123
+ .id,
14124
+ "btn-size":
14125
+ "medium",
14126
+ readonly:
14127
+ _vm.readonly
14128
+ ? _vm.readonly
14129
+ : item.readonly,
14130
+ rules:
14131
+ item.rules,
14069
14132
  },
14070
- },
14071
- model: {
14072
- value:
14073
- _vm
14074
- .models[
14075
- item
14076
- .name
14077
- ],
14078
- callback:
14079
- function (
14080
- $$v
14081
- ) {
14082
- _vm.$set(
14083
- _vm.models,
14084
- item.name,
14085
- $$v
14086
- )
14133
+ on: {
14134
+ change:
14135
+ function (
14136
+ val
14137
+ ) {
14138
+ _vm.handleChange(
14139
+ item,
14140
+ val
14141
+ )
14142
+ },
14143
+ },
14144
+ model:
14145
+ {
14146
+ value:
14147
+ _vm
14148
+ .models[
14149
+ item
14150
+ .name
14151
+ ],
14152
+ callback:
14153
+ function (
14154
+ $$v
14155
+ ) {
14156
+ _vm.$set(
14157
+ _vm.models,
14158
+ item.name,
14159
+ $$v
14160
+ )
14161
+ },
14162
+ expression:
14163
+ "models[item.name]",
14087
14164
  },
14088
- expression:
14089
- "models[item.name]",
14090
14165
  },
14091
- },
14092
- "es-upload",
14166
+ "es-upload",
14167
+ _vm.handleExclAttribute(
14168
+ {
14169
+ data: item,
14170
+ attrs:
14171
+ [
14172
+ "value",
14173
+ "ownId",
14174
+ ],
14175
+ }
14176
+ ),
14177
+ false
14178
+ ),
14093
14179
  _vm.handleExclAttribute(
14094
14180
  {
14095
- data: item,
14181
+ data: item.events,
14096
14182
  attrs:
14097
- [
14098
- "value",
14099
- "ownId",
14100
- ],
14183
+ "change",
14101
14184
  }
14102
- ),
14103
- false
14185
+ )
14104
14186
  )
14105
14187
  )
14106
14188
  : item.type ==
14107
14189
  "selector"
14108
14190
  ? _c(
14109
14191
  "es-selector",
14110
- _vm._b(
14111
- {
14112
- attrs: {
14113
- readonly:
14114
- _vm.readonly
14115
- ? _vm.readonly
14116
- : item.readonly,
14117
- plain:
14118
- item.plain ||
14119
- item.name ===
14120
- undefined,
14121
- },
14122
- on: {
14123
- change:
14124
- function (
14125
- val
14126
- ) {
14127
- _vm.handleChange(
14128
- item,
14129
- val
14130
- )
14192
+ _vm._g(
14193
+ _vm._b(
14194
+ {
14195
+ attrs:
14196
+ {
14197
+ readonly:
14198
+ _vm.readonly
14199
+ ? _vm.readonly
14200
+ : item.readonly,
14201
+ plain:
14202
+ item.plain ||
14203
+ item.name ===
14204
+ undefined,
14131
14205
  },
14132
- },
14133
- model: {
14134
- value:
14135
- _vm
14136
- .models[
14137
- item
14138
- .name
14139
- ],
14140
- callback:
14141
- function (
14142
- $$v
14143
- ) {
14144
- _vm.$set(
14145
- _vm.models,
14146
- item.name,
14147
- $$v
14148
- )
14206
+ on: {
14207
+ change:
14208
+ function (
14209
+ val
14210
+ ) {
14211
+ _vm.handleChange(
14212
+ item,
14213
+ val
14214
+ )
14215
+ },
14216
+ },
14217
+ model:
14218
+ {
14219
+ value:
14220
+ _vm
14221
+ .models[
14222
+ item
14223
+ .name
14224
+ ],
14225
+ callback:
14226
+ function (
14227
+ $$v
14228
+ ) {
14229
+ _vm.$set(
14230
+ _vm.models,
14231
+ item.name,
14232
+ $$v
14233
+ )
14234
+ },
14235
+ expression:
14236
+ "models[item.name]",
14149
14237
  },
14150
- expression:
14151
- "models[item.name]",
14152
14238
  },
14153
- },
14154
- "es-selector",
14239
+ "es-selector",
14240
+ _vm.handleExclAttribute(
14241
+ {
14242
+ data: item,
14243
+ attrs:
14244
+ [
14245
+ "value",
14246
+ ],
14247
+ }
14248
+ ),
14249
+ false
14250
+ ),
14155
14251
  _vm.handleExclAttribute(
14156
14252
  {
14157
- data: item,
14253
+ data: item.events,
14158
14254
  attrs:
14159
- [
14160
- "value",
14161
- ],
14255
+ "change",
14162
14256
  }
14163
- ),
14164
- false
14257
+ )
14165
14258
  )
14166
14259
  )
14167
14260
  : item.type ===
@@ -16009,26 +16102,13 @@ var mainvue_type_template_id_1499355a_render = function () {
16009
16102
  {
16010
16103
  attrs: {
16011
16104
  slot: "label",
16012
- contents:
16013
- item.label,
16014
- plain:
16015
- item.plain ||
16016
- item.name ===
16017
- undefined,
16018
16105
  },
16019
16106
  slot: "label",
16020
16107
  },
16021
16108
  "es-label",
16022
- item.label
16023
- ? {
16024
- event:
16025
- item.label
16026
- .event,
16027
- events:
16028
- item.label
16029
- .events,
16030
- }
16031
- : {},
16109
+ _vm.getLabel(
16110
+ item.label
16111
+ ),
16032
16112
  false
16033
16113
  )
16034
16114
  )
@@ -16391,226 +16471,114 @@ var mainvue_type_template_id_1499355a_render = function () {
16391
16471
  "models[item.name]",
16392
16472
  },
16393
16473
  },
16394
- "es-select-ganged",
16395
- _vm.handleExclAttribute(
16396
- {
16397
- data: item,
16398
- attrs: ["value"],
16399
- }
16400
- ),
16401
- false
16402
- )
16403
- )
16404
- : item.type == "switch"
16405
- ? _c(
16406
- "es-switch",
16407
- _vm._b(
16408
- {
16409
- attrs: {
16410
- plain:
16411
- item.plain ||
16412
- item.name ===
16413
- undefined,
16414
- readonly:
16415
- _vm.readonly
16416
- ? _vm.readonly
16417
- : item.readonly,
16418
- },
16419
- on: {
16420
- change: function (
16421
- val
16422
- ) {
16423
- _vm.handleChange(
16424
- item,
16425
- val
16426
- )
16427
- },
16428
- },
16429
- model: {
16430
- value:
16431
- _vm.models[
16432
- item.name
16433
- ],
16434
- callback: function (
16435
- $$v
16436
- ) {
16437
- _vm.$set(
16438
- _vm.models,
16439
- item.name,
16440
- $$v
16441
- )
16442
- },
16443
- expression:
16444
- "models[item.name]",
16445
- },
16446
- },
16447
- "es-switch",
16448
- _vm.handleExclAttribute(
16449
- {
16450
- data: item,
16451
- attrs: ["value"],
16452
- }
16453
- ),
16454
- false
16455
- )
16456
- )
16457
- : item.date ||
16458
- item.type == "date" ||
16459
- item.type == "year" ||
16460
- item.type == "month" ||
16461
- item.type == "date" ||
16462
- item.type == "dates" ||
16463
- item.type == "week" ||
16464
- item.type == "datetime" ||
16465
- item.type ==
16466
- "datetimerange" ||
16467
- item.type == "daterange" ||
16468
- item.type == "monthrange" ||
16469
- item.type == "quarter" ||
16470
- item.type == "halfyear"
16471
- ? _c(
16472
- "es-date-picker",
16473
- _vm._b(
16474
- {
16475
- attrs: {
16476
- plain:
16477
- item.plain ||
16478
- item.name ===
16479
- undefined,
16480
- readonly:
16481
- _vm.readonly
16482
- ? _vm.readonly
16483
- : item.readonly,
16484
- },
16485
- on: {
16486
- blur: function (
16487
- event
16488
- ) {
16489
- _vm.handleBlur(
16490
- item,
16491
- event
16492
- )
16493
- },
16494
- focus: function (
16495
- event
16496
- ) {
16497
- _vm.handleFocus(
16498
- item,
16499
- event
16500
- )
16501
- },
16502
- change: function (
16503
- val
16504
- ) {
16505
- _vm.handleChange(
16506
- item,
16507
- val
16508
- )
16509
- },
16510
- },
16511
- model: {
16512
- value:
16513
- _vm.models[
16514
- item.name
16515
- ],
16516
- callback: function (
16517
- $$v
16518
- ) {
16519
- _vm.$set(
16520
- _vm.models,
16521
- item.name,
16522
- $$v
16523
- )
16524
- },
16525
- expression:
16526
- "models[item.name]",
16527
- },
16528
- },
16529
- "es-date-picker",
16530
- _vm.handleExclAttribute(
16531
- {
16532
- data: item,
16533
- attrs: ["value"],
16534
- }
16535
- ),
16536
- false
16537
- )
16538
- )
16539
- : item.type == "attachment" ||
16540
- item.type == "upload"
16541
- ? _c(
16542
- "es-upload",
16543
- _vm._b(
16544
- {
16545
- attrs: {
16546
- ownId:
16547
- item.ownId ||
16548
- _vm.models.id,
16549
- "btn-size":
16550
- "medium",
16551
- readonly:
16552
- _vm.readonly
16553
- ? _vm.readonly
16554
- : item.readonly,
16555
- rules: item.rules,
16556
- },
16557
- on: {
16558
- change: function (
16559
- val
16560
- ) {
16561
- _vm.handleChange(
16562
- item,
16563
- val
16564
- )
16565
- },
16566
- },
16567
- model: {
16568
- value:
16569
- _vm.models[
16570
- item.name
16571
- ],
16572
- callback: function (
16573
- $$v
16574
- ) {
16575
- _vm.$set(
16576
- _vm.models,
16577
- item.name,
16578
- $$v
16579
- )
16580
- },
16581
- expression:
16582
- "models[item.name]",
16583
- },
16584
- },
16585
- "es-upload",
16474
+ "es-select-ganged",
16586
16475
  _vm.handleExclAttribute(
16587
16476
  {
16588
16477
  data: item,
16589
- attrs: [
16590
- "value",
16591
- "ownId",
16592
- ],
16478
+ attrs: ["value"],
16593
16479
  }
16594
16480
  ),
16595
16481
  false
16596
16482
  )
16597
16483
  )
16598
- : item.type === "selector"
16484
+ : item.type == "switch"
16599
16485
  ? _c(
16600
- "es-selector",
16486
+ "es-switch",
16601
16487
  _vm._b(
16602
16488
  {
16603
16489
  attrs: {
16490
+ plain:
16491
+ item.plain ||
16492
+ item.name ===
16493
+ undefined,
16604
16494
  readonly:
16605
16495
  _vm.readonly
16606
16496
  ? _vm.readonly
16607
16497
  : item.readonly,
16498
+ },
16499
+ on: {
16500
+ change: function (
16501
+ val
16502
+ ) {
16503
+ _vm.handleChange(
16504
+ item,
16505
+ val
16506
+ )
16507
+ },
16508
+ },
16509
+ model: {
16510
+ value:
16511
+ _vm.models[
16512
+ item.name
16513
+ ],
16514
+ callback: function (
16515
+ $$v
16516
+ ) {
16517
+ _vm.$set(
16518
+ _vm.models,
16519
+ item.name,
16520
+ $$v
16521
+ )
16522
+ },
16523
+ expression:
16524
+ "models[item.name]",
16525
+ },
16526
+ },
16527
+ "es-switch",
16528
+ _vm.handleExclAttribute(
16529
+ {
16530
+ data: item,
16531
+ attrs: ["value"],
16532
+ }
16533
+ ),
16534
+ false
16535
+ )
16536
+ )
16537
+ : item.date ||
16538
+ item.type == "date" ||
16539
+ item.type == "year" ||
16540
+ item.type == "month" ||
16541
+ item.type == "date" ||
16542
+ item.type == "dates" ||
16543
+ item.type == "week" ||
16544
+ item.type == "datetime" ||
16545
+ item.type ==
16546
+ "datetimerange" ||
16547
+ item.type == "daterange" ||
16548
+ item.type == "monthrange" ||
16549
+ item.type == "quarter" ||
16550
+ item.type == "halfyear"
16551
+ ? _c(
16552
+ "es-date-picker",
16553
+ _vm._b(
16554
+ {
16555
+ attrs: {
16608
16556
  plain:
16609
16557
  item.plain ||
16610
16558
  item.name ===
16611
16559
  undefined,
16560
+ readonly:
16561
+ _vm.readonly
16562
+ ? _vm.readonly
16563
+ : item.readonly,
16612
16564
  },
16613
16565
  on: {
16566
+ blur: function (
16567
+ event
16568
+ ) {
16569
+ _vm.handleBlur(
16570
+ item,
16571
+ event
16572
+ )
16573
+ },
16574
+ focus: function (
16575
+ event
16576
+ ) {
16577
+ _vm.handleFocus(
16578
+ item,
16579
+ event
16580
+ )
16581
+ },
16614
16582
  change: function (
16615
16583
  val
16616
16584
  ) {
@@ -16638,7 +16606,7 @@ var mainvue_type_template_id_1499355a_render = function () {
16638
16606
  "models[item.name]",
16639
16607
  },
16640
16608
  },
16641
- "es-selector",
16609
+ "es-date-picker",
16642
16610
  _vm.handleExclAttribute(
16643
16611
  {
16644
16612
  data: item,
@@ -16648,6 +16616,132 @@ var mainvue_type_template_id_1499355a_render = function () {
16648
16616
  false
16649
16617
  )
16650
16618
  )
16619
+ : item.type == "attachment" ||
16620
+ item.type == "upload"
16621
+ ? _c(
16622
+ "es-upload",
16623
+ _vm._g(
16624
+ _vm._b(
16625
+ {
16626
+ attrs: {
16627
+ ownId:
16628
+ item.ownId ||
16629
+ _vm.models.id,
16630
+ "btn-size":
16631
+ "medium",
16632
+ readonly:
16633
+ _vm.readonly
16634
+ ? _vm.readonly
16635
+ : item.readonly,
16636
+ rules: item.rules,
16637
+ },
16638
+ on: {
16639
+ change: function (
16640
+ val
16641
+ ) {
16642
+ _vm.handleChange(
16643
+ item,
16644
+ val
16645
+ )
16646
+ },
16647
+ },
16648
+ model: {
16649
+ value:
16650
+ _vm.models[
16651
+ item.name
16652
+ ],
16653
+ callback:
16654
+ function ($$v) {
16655
+ _vm.$set(
16656
+ _vm.models,
16657
+ item.name,
16658
+ $$v
16659
+ )
16660
+ },
16661
+ expression:
16662
+ "models[item.name]",
16663
+ },
16664
+ },
16665
+ "es-upload",
16666
+ _vm.handleExclAttribute(
16667
+ {
16668
+ data: item,
16669
+ attrs: [
16670
+ "value",
16671
+ "ownId",
16672
+ ],
16673
+ }
16674
+ ),
16675
+ false
16676
+ ),
16677
+ _vm.handleExclAttribute(
16678
+ {
16679
+ data: item.events,
16680
+ attrs: "change",
16681
+ }
16682
+ )
16683
+ )
16684
+ )
16685
+ : item.type === "selector"
16686
+ ? _c(
16687
+ "es-selector",
16688
+ _vm._g(
16689
+ _vm._b(
16690
+ {
16691
+ attrs: {
16692
+ readonly:
16693
+ _vm.readonly
16694
+ ? _vm.readonly
16695
+ : item.readonly,
16696
+ plain:
16697
+ item.plain ||
16698
+ item.name ===
16699
+ undefined,
16700
+ },
16701
+ on: {
16702
+ change: function (
16703
+ val
16704
+ ) {
16705
+ _vm.handleChange(
16706
+ item,
16707
+ val
16708
+ )
16709
+ },
16710
+ },
16711
+ model: {
16712
+ value:
16713
+ _vm.models[
16714
+ item.name
16715
+ ],
16716
+ callback:
16717
+ function ($$v) {
16718
+ _vm.$set(
16719
+ _vm.models,
16720
+ item.name,
16721
+ $$v
16722
+ )
16723
+ },
16724
+ expression:
16725
+ "models[item.name]",
16726
+ },
16727
+ },
16728
+ "es-selector",
16729
+ _vm.handleExclAttribute(
16730
+ {
16731
+ data: item,
16732
+ attrs: ["value"],
16733
+ }
16734
+ ),
16735
+ false
16736
+ ),
16737
+ _vm.handleExclAttribute(
16738
+ {
16739
+ data: item.events,
16740
+ attrs: "change",
16741
+ }
16742
+ )
16743
+ )
16744
+ )
16651
16745
  : item.type === "table"
16652
16746
  ? [
16653
16747
  item.lazy
@@ -18369,20 +18463,14 @@ var mainvue_type_template_id_1499355a_render = function () {
18369
18463
  item.label
18370
18464
  ? _c(
18371
18465
  "es-label",
18372
- {
18373
- attrs: {
18374
- contents:
18375
- item.label,
18376
- event:
18377
- item
18378
- .label
18379
- .event,
18380
- events:
18381
- item
18382
- .label
18383
- .events,
18384
- },
18385
- }
18466
+ _vm._b(
18467
+ {},
18468
+ "es-label",
18469
+ _vm.getLabel(
18470
+ item.label
18471
+ ),
18472
+ false
18473
+ )
18386
18474
  )
18387
18475
  : _vm._e(),
18388
18476
  item.text ||
@@ -18867,28 +18955,13 @@ var mainvue_type_template_id_1499355a_render = function () {
18867
18955
  {
18868
18956
  attrs: {
18869
18957
  slot: "label",
18870
- contents:
18871
- item.label,
18872
- plain:
18873
- item.plain ||
18874
- item.name ===
18875
- undefined,
18876
18958
  },
18877
18959
  slot: "label",
18878
18960
  },
18879
18961
  "es-label",
18880
- item.label
18881
- ? {
18882
- event:
18883
- item
18884
- .label
18885
- .event,
18886
- events:
18887
- item
18888
- .label
18889
- .events,
18890
- }
18891
- : {},
18962
+ _vm.getLabel(
18963
+ item.label
18964
+ ),
18892
18965
  false
18893
18966
  )
18894
18967
  )
@@ -19454,80 +19527,12 @@ var mainvue_type_template_id_1499355a_render = function () {
19454
19527
  "models[item.name]",
19455
19528
  },
19456
19529
  },
19457
- "es-date-picker",
19458
- _vm.handleExclAttribute(
19459
- {
19460
- data: item,
19461
- attrs: [
19462
- "value",
19463
- ],
19464
- }
19465
- ),
19466
- false
19467
- )
19468
- )
19469
- : item.type ==
19470
- "attachment" ||
19471
- item.type ==
19472
- "upload"
19473
- ? _c(
19474
- "es-upload",
19475
- _vm._b(
19476
- {
19477
- attrs: {
19478
- ownId:
19479
- item.ownId ||
19480
- _vm
19481
- .models
19482
- .id,
19483
- "btn-size":
19484
- "medium",
19485
- readonly:
19486
- _vm.readonly
19487
- ? _vm.readonly
19488
- : item.readonly,
19489
- rules:
19490
- item.rules,
19491
- },
19492
- on: {
19493
- change:
19494
- function (
19495
- val
19496
- ) {
19497
- _vm.handleChange(
19498
- item,
19499
- val
19500
- )
19501
- },
19502
- },
19503
- model: {
19504
- value:
19505
- _vm
19506
- .models[
19507
- item
19508
- .name
19509
- ],
19510
- callback:
19511
- function (
19512
- $$v
19513
- ) {
19514
- _vm.$set(
19515
- _vm.models,
19516
- item.name,
19517
- $$v
19518
- )
19519
- },
19520
- expression:
19521
- "models[item.name]",
19522
- },
19523
- },
19524
- "es-upload",
19530
+ "es-date-picker",
19525
19531
  _vm.handleExclAttribute(
19526
19532
  {
19527
19533
  data: item,
19528
19534
  attrs: [
19529
19535
  "value",
19530
- "ownId",
19531
19536
  ],
19532
19537
  }
19533
19538
  ),
@@ -19535,52 +19540,149 @@ var mainvue_type_template_id_1499355a_render = function () {
19535
19540
  )
19536
19541
  )
19537
19542
  : item.type ==
19538
- "selector"
19543
+ "attachment" ||
19544
+ item.type ==
19545
+ "upload"
19539
19546
  ? _c(
19540
- "es-selector",
19541
- _vm._b(
19542
- {
19543
- attrs: {
19544
- readonly:
19545
- _vm.readonly
19546
- ? _vm.readonly
19547
- : item.readonly,
19548
- plain:
19549
- item.plain ||
19550
- item.name ===
19551
- undefined,
19547
+ "es-upload",
19548
+ _vm._g(
19549
+ _vm._b(
19550
+ {
19551
+ attrs: {
19552
+ ownId:
19553
+ item.ownId ||
19554
+ _vm
19555
+ .models
19556
+ .id,
19557
+ "btn-size":
19558
+ "medium",
19559
+ readonly:
19560
+ _vm.readonly
19561
+ ? _vm.readonly
19562
+ : item.readonly,
19563
+ rules:
19564
+ item.rules,
19565
+ },
19566
+ on: {
19567
+ change:
19568
+ function (
19569
+ val
19570
+ ) {
19571
+ _vm.handleChange(
19572
+ item,
19573
+ val
19574
+ )
19575
+ },
19576
+ },
19577
+ model: {
19578
+ value:
19579
+ _vm
19580
+ .models[
19581
+ item
19582
+ .name
19583
+ ],
19584
+ callback:
19585
+ function (
19586
+ $$v
19587
+ ) {
19588
+ _vm.$set(
19589
+ _vm.models,
19590
+ item.name,
19591
+ $$v
19592
+ )
19593
+ },
19594
+ expression:
19595
+ "models[item.name]",
19596
+ },
19552
19597
  },
19553
- model: {
19554
- value:
19555
- _vm
19556
- .models[
19557
- item
19558
- .name
19598
+ "es-upload",
19599
+ _vm.handleExclAttribute(
19600
+ {
19601
+ data: item,
19602
+ attrs: [
19603
+ "value",
19604
+ "ownId",
19559
19605
  ],
19560
- callback:
19561
- function (
19562
- $$v
19563
- ) {
19564
- _vm.$set(
19565
- _vm.models,
19566
- item.name,
19606
+ }
19607
+ ),
19608
+ false
19609
+ ),
19610
+ _vm.handleExclAttribute(
19611
+ {
19612
+ data: item.events,
19613
+ attrs:
19614
+ "change",
19615
+ }
19616
+ )
19617
+ )
19618
+ )
19619
+ : item.type ==
19620
+ "selector"
19621
+ ? _c(
19622
+ "es-selector",
19623
+ _vm._g(
19624
+ _vm._b(
19625
+ {
19626
+ attrs: {
19627
+ readonly:
19628
+ _vm.readonly
19629
+ ? _vm.readonly
19630
+ : item.readonly,
19631
+ plain:
19632
+ item.plain ||
19633
+ item.name ===
19634
+ undefined,
19635
+ },
19636
+ on: {
19637
+ change:
19638
+ function (
19639
+ val
19640
+ ) {
19641
+ _vm.handleChange(
19642
+ item,
19643
+ val
19644
+ )
19645
+ },
19646
+ },
19647
+ model: {
19648
+ value:
19649
+ _vm
19650
+ .models[
19651
+ item
19652
+ .name
19653
+ ],
19654
+ callback:
19655
+ function (
19567
19656
  $$v
19568
- )
19569
- },
19570
- expression:
19571
- "models[item.name]",
19657
+ ) {
19658
+ _vm.$set(
19659
+ _vm.models,
19660
+ item.name,
19661
+ $$v
19662
+ )
19663
+ },
19664
+ expression:
19665
+ "models[item.name]",
19666
+ },
19572
19667
  },
19573
- },
19574
- "es-selector",
19668
+ "es-selector",
19669
+ _vm.handleExclAttribute(
19670
+ {
19671
+ data: item,
19672
+ attrs: [
19673
+ "value",
19674
+ ],
19675
+ }
19676
+ ),
19677
+ false
19678
+ ),
19575
19679
  _vm.handleExclAttribute(
19576
19680
  {
19577
- data: item,
19578
- attrs: [
19579
- "value",
19580
- ],
19681
+ data: item.events,
19682
+ attrs:
19683
+ "change",
19581
19684
  }
19582
- ),
19583
- false
19685
+ )
19584
19686
  )
19585
19687
  )
19586
19688
  : item.type ===
@@ -21346,25 +21448,11 @@ var mainvue_type_template_id_1499355a_render = function () {
21346
21448
  "es-label",
21347
21449
  _vm._b(
21348
21450
  {
21349
- attrs: {
21350
- slot: "label",
21351
- contents: item.label,
21352
- plain:
21353
- item.plain ||
21354
- item.name ===
21355
- undefined,
21356
- },
21451
+ attrs: { slot: "label" },
21357
21452
  slot: "label",
21358
21453
  },
21359
21454
  "es-label",
21360
- item.label
21361
- ? {
21362
- event:
21363
- item.label.event,
21364
- events:
21365
- item.label.events,
21366
- }
21367
- : {},
21455
+ _vm.getLabel(item.label),
21368
21456
  false
21369
21457
  )
21370
21458
  )
@@ -21811,94 +21899,117 @@ var mainvue_type_template_id_1499355a_render = function () {
21811
21899
  item.type == "upload"
21812
21900
  ? _c(
21813
21901
  "es-upload",
21814
- _vm._b(
21815
- {
21816
- attrs: {
21817
- ownId:
21818
- item.ownId ||
21819
- _vm.models.id,
21820
- "btn-size": "medium",
21821
- readonly: _vm.readonly
21822
- ? _vm.readonly
21823
- : item.readonly,
21824
- rules: item.rules,
21825
- },
21826
- on: {
21827
- change: function (val) {
21828
- _vm.handleChange(
21829
- item,
21902
+ _vm._g(
21903
+ _vm._b(
21904
+ {
21905
+ attrs: {
21906
+ ownId:
21907
+ item.ownId ||
21908
+ _vm.models.id,
21909
+ "btn-size": "medium",
21910
+ readonly: _vm.readonly
21911
+ ? _vm.readonly
21912
+ : item.readonly,
21913
+ rules: item.rules,
21914
+ },
21915
+ on: {
21916
+ change: function (
21830
21917
  val
21831
- )
21918
+ ) {
21919
+ _vm.handleChange(
21920
+ item,
21921
+ val
21922
+ )
21923
+ },
21832
21924
  },
21833
- },
21834
- model: {
21835
- value:
21836
- _vm.models[item.name],
21837
- callback: function (
21838
- $$v
21839
- ) {
21840
- _vm.$set(
21841
- _vm.models,
21842
- item.name,
21925
+ model: {
21926
+ value:
21927
+ _vm.models[
21928
+ item.name
21929
+ ],
21930
+ callback: function (
21843
21931
  $$v
21844
- )
21932
+ ) {
21933
+ _vm.$set(
21934
+ _vm.models,
21935
+ item.name,
21936
+ $$v
21937
+ )
21938
+ },
21939
+ expression:
21940
+ "models[item.name]",
21845
21941
  },
21846
- expression:
21847
- "models[item.name]",
21848
21942
  },
21849
- },
21850
- "es-upload",
21943
+ "es-upload",
21944
+ _vm.handleExclAttribute({
21945
+ data: item,
21946
+ attrs: [
21947
+ "value",
21948
+ "ownId",
21949
+ ],
21950
+ }),
21951
+ false
21952
+ ),
21851
21953
  _vm.handleExclAttribute({
21852
- data: item,
21853
- attrs: ["value", "ownId"],
21854
- }),
21855
- false
21954
+ data: item.events,
21955
+ attrs: "change",
21956
+ })
21856
21957
  )
21857
21958
  )
21858
21959
  : item.type == "selector"
21859
21960
  ? _c(
21860
21961
  "es-selector",
21861
- _vm._b(
21862
- {
21863
- attrs: {
21864
- readonly: _vm.readonly
21865
- ? _vm.readonly
21866
- : item.readonly,
21867
- plain:
21868
- item.plain ||
21869
- item.name ===
21870
- undefined,
21871
- },
21872
- on: {
21873
- change: function (val) {
21874
- _vm.handleChange(
21875
- item,
21962
+ _vm._g(
21963
+ _vm._b(
21964
+ {
21965
+ attrs: {
21966
+ readonly: _vm.readonly
21967
+ ? _vm.readonly
21968
+ : item.readonly,
21969
+ plain:
21970
+ item.plain ||
21971
+ item.name ===
21972
+ undefined,
21973
+ },
21974
+ on: {
21975
+ change: function (
21876
21976
  val
21877
- )
21977
+ ) {
21978
+ _vm.handleChange(
21979
+ item,
21980
+ val
21981
+ )
21982
+ },
21878
21983
  },
21879
- },
21880
- model: {
21881
- value:
21882
- _vm.models[item.name],
21883
- callback: function (
21884
- $$v
21885
- ) {
21886
- _vm.$set(
21887
- _vm.models,
21888
- item.name,
21984
+ model: {
21985
+ value:
21986
+ _vm.models[
21987
+ item.name
21988
+ ],
21989
+ callback: function (
21889
21990
  $$v
21890
- )
21991
+ ) {
21992
+ _vm.$set(
21993
+ _vm.models,
21994
+ item.name,
21995
+ $$v
21996
+ )
21997
+ },
21998
+ expression:
21999
+ "models[item.name]",
21891
22000
  },
21892
- expression:
21893
- "models[item.name]",
21894
22001
  },
21895
- },
21896
- "es-selector",
22002
+ "es-selector",
22003
+ _vm.handleExclAttribute({
22004
+ data: item,
22005
+ attrs: ["value"],
22006
+ }),
22007
+ false
22008
+ ),
21897
22009
  _vm.handleExclAttribute({
21898
- data: item,
21899
- attrs: ["value"],
21900
- }),
21901
- false
22010
+ data: item.events,
22011
+ attrs: "change",
22012
+ })
21902
22013
  )
21903
22014
  )
21904
22015
  : item.type === "table"
@@ -23564,11 +23675,11 @@ var mainvue_type_template_id_1499355a_render = function () {
23564
23675
  )
23565
23676
  : _vm._e()
23566
23677
  }
23567
- var mainvue_type_template_id_1499355a_staticRenderFns = []
23568
- mainvue_type_template_id_1499355a_render._withStripped = true
23678
+ var mainvue_type_template_id_2fd814fb_staticRenderFns = []
23679
+ mainvue_type_template_id_2fd814fb_render._withStripped = true
23569
23680
 
23570
23681
 
23571
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=1499355a&
23682
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=2fd814fb&
23572
23683
 
23573
23684
  // CONCATENATED MODULE: ./src/utils/rules.js
23574
23685
  // 手机号
@@ -27448,6 +27559,25 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
27448
27559
  //
27449
27560
  //
27450
27561
  //
27562
+ //
27563
+ //
27564
+ //
27565
+ //
27566
+ //
27567
+ //
27568
+ //
27569
+ //
27570
+ //
27571
+ //
27572
+ //
27573
+ //
27574
+ //
27575
+ //
27576
+ //
27577
+ //
27578
+ //
27579
+ //
27580
+ //
27451
27581
 
27452
27582
 
27453
27583
 
@@ -27911,6 +28041,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
27911
28041
  },
27912
28042
 
27913
28043
  methods: {
28044
+ getLabel: function getLabel(res) {
28045
+ return typeof res === 'string' ? { contents: res } : form_src_mainvue_type_script_lang_js_extends({}, res, { plain: res.plain || res.name === undefined });
28046
+ },
27914
28047
  getHeight: function getHeight() {
27915
28048
  if (utils_util["a" /* default */].hasClass(this.$parent.$el, 'el-dialog__wrapper') || this.full || this.$el.parentNode.children.length == 1 && utils_util["a" /* default */].getStyle(this.$el.parentNode, 'height')) {
27916
28049
  var pt = parseInt(utils_util["a" /* default */].getStyle(this.$el.parentNode, 'padding-top'), 10) || 0;
@@ -28658,8 +28791,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
28658
28791
 
28659
28792
  var form_src_main_component = normalizeComponent(
28660
28793
  packages_form_src_mainvue_type_script_lang_js_,
28661
- mainvue_type_template_id_1499355a_render,
28662
- mainvue_type_template_id_1499355a_staticRenderFns,
28794
+ mainvue_type_template_id_2fd814fb_render,
28795
+ mainvue_type_template_id_2fd814fb_staticRenderFns,
28663
28796
  false,
28664
28797
  null,
28665
28798
  null,
@@ -41483,8 +41616,8 @@ flow_group_src_main.install = function (Vue) {
41483
41616
  };
41484
41617
 
41485
41618
  /* harmony default export */ var flow_group = (flow_group_src_main);
41486
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=e47d85b2&
41487
- var mainvue_type_template_id_e47d85b2_render = function () {
41619
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=529329ae&
41620
+ var mainvue_type_template_id_529329ae_render = function () {
41488
41621
  var _vm = this
41489
41622
  var _h = _vm.$createElement
41490
41623
  var _c = _vm._self._c || _h
@@ -41504,9 +41637,12 @@ var mainvue_type_template_id_e47d85b2_render = function () {
41504
41637
  (item.type == "splitReading" &&
41505
41638
  _vm.splitReadingData &&
41506
41639
  _vm.splitReadingData.length > 0) ||
41507
- item.type != "splitReading",
41640
+ (item.type == "preset" &&
41641
+ _vm.presetData &&
41642
+ _vm.presetData.length > 0) ||
41643
+ (item.type != "splitReading" && item.type != "preset"),
41508
41644
  expression:
41509
- "\n (item.type == 'splitReading' &&\n splitReadingData &&\n splitReadingData.length > 0) ||\n item.type != 'splitReading'\n ",
41645
+ "\n (item.type == 'splitReading' &&\n splitReadingData &&\n splitReadingData.length > 0) ||\n (item.type == 'preset' && presetData && presetData.length > 0) ||\n (item.type != 'splitReading' && item.type != 'preset')\n ",
41510
41646
  },
41511
41647
  ],
41512
41648
  key: index,
@@ -41676,11 +41812,11 @@ var mainvue_type_template_id_e47d85b2_render = function () {
41676
41812
  2
41677
41813
  )
41678
41814
  }
41679
- var mainvue_type_template_id_e47d85b2_staticRenderFns = []
41680
- mainvue_type_template_id_e47d85b2_render._withStripped = true
41815
+ var mainvue_type_template_id_529329ae_staticRenderFns = []
41816
+ mainvue_type_template_id_529329ae_render._withStripped = true
41681
41817
 
41682
41818
 
41683
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=e47d85b2&
41819
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=529329ae&
41684
41820
 
41685
41821
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
41686
41822
  var flow_list_src_mainvue_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; };
@@ -41772,6 +41908,7 @@ var flow_list_src_mainvue_type_script_lang_js_components;
41772
41908
  //
41773
41909
  //
41774
41910
  //
41911
+ //
41775
41912
 
41776
41913
 
41777
41914
 
@@ -42069,6 +42206,12 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42069
42206
  rules: function rules(rows) {
42070
42207
  return rows.canDelete;
42071
42208
  }
42209
+ // {
42210
+ // text: '修改',
42211
+ // rules: (rows) => {
42212
+ // return this.modify && rows.pendstate == 2;
42213
+ // }
42214
+ // }
42072
42215
  }]
42073
42216
  }],
42074
42217
  preset: this.thead,
@@ -42689,8 +42832,8 @@ var flow_list_src_mainvue_type_script_lang_js_components;
42689
42832
 
42690
42833
  var flow_list_src_main_component = normalizeComponent(
42691
42834
  packages_flow_list_src_mainvue_type_script_lang_js_,
42692
- mainvue_type_template_id_e47d85b2_render,
42693
- mainvue_type_template_id_e47d85b2_staticRenderFns,
42835
+ mainvue_type_template_id_529329ae_render,
42836
+ mainvue_type_template_id_529329ae_staticRenderFns,
42694
42837
  false,
42695
42838
  null,
42696
42839
  null,
@@ -43572,7 +43715,7 @@ mainvue_type_template_id_32c03886_render._withStripped = true
43572
43715
  // CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
43573
43716
 
43574
43717
  // EXTERNAL MODULE: ./packages/icons/src/icon.json
43575
- var icon = __webpack_require__(11);
43718
+ var icon = __webpack_require__(13);
43576
43719
 
43577
43720
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=script&lang=js&
43578
43721
  //
@@ -44806,8 +44949,8 @@ layout_src_main.install = function (Vue) {
44806
44949
  };
44807
44950
 
44808
44951
  /* harmony default export */ var layout = (layout_src_main);
44809
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=51f9bb88&
44810
- var mainvue_type_template_id_51f9bb88_render = function () {
44952
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=b33f92be&
44953
+ var mainvue_type_template_id_b33f92be_render = function () {
44811
44954
  var _vm = this
44812
44955
  var _h = _vm.$createElement
44813
44956
  var _c = _vm._self._c || _h
@@ -45660,11 +45803,11 @@ var mainvue_type_template_id_51f9bb88_render = function () {
45660
45803
  )
45661
45804
  : _vm._e()
45662
45805
  }
45663
- var mainvue_type_template_id_51f9bb88_staticRenderFns = []
45664
- mainvue_type_template_id_51f9bb88_render._withStripped = true
45806
+ var mainvue_type_template_id_b33f92be_staticRenderFns = []
45807
+ mainvue_type_template_id_b33f92be_render._withStripped = true
45665
45808
 
45666
45809
 
45667
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=51f9bb88&
45810
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=b33f92be&
45668
45811
 
45669
45812
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=4f5da52e&
45670
45813
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -46787,6 +46930,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
46787
46930
  },
46788
46931
  mounted: function mounted() {
46789
46932
  this.getRemember();
46933
+ delete utils_util["a" /* default */].win.websocket;
46790
46934
  },
46791
46935
 
46792
46936
  methods: {
@@ -47400,8 +47544,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
47400
47544
 
47401
47545
  var login_src_main_component = normalizeComponent(
47402
47546
  packages_login_src_mainvue_type_script_lang_js_,
47403
- mainvue_type_template_id_51f9bb88_render,
47404
- mainvue_type_template_id_51f9bb88_staticRenderFns,
47547
+ mainvue_type_template_id_b33f92be_render,
47548
+ mainvue_type_template_id_b33f92be_staticRenderFns,
47405
47549
  false,
47406
47550
  null,
47407
47551
  null,
@@ -47418,8 +47562,8 @@ login_src_main.install = function (Vue) {
47418
47562
  };
47419
47563
 
47420
47564
  /* harmony default export */ var login = (login_src_main);
47421
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6d42b802&
47422
- var mainvue_type_template_id_6d42b802_render = function () {
47565
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=e6267c3c&
47566
+ var mainvue_type_template_id_e6267c3c_render = function () {
47423
47567
  var _vm = this
47424
47568
  var _h = _vm.$createElement
47425
47569
  var _c = _vm._self._c || _h
@@ -47844,11 +47988,11 @@ var mainvue_type_template_id_6d42b802_render = function () {
47844
47988
  1
47845
47989
  )
47846
47990
  }
47847
- var mainvue_type_template_id_6d42b802_staticRenderFns = []
47848
- mainvue_type_template_id_6d42b802_render._withStripped = true
47991
+ var mainvue_type_template_id_e6267c3c_staticRenderFns = []
47992
+ mainvue_type_template_id_e6267c3c_render._withStripped = true
47849
47993
 
47850
47994
 
47851
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6d42b802&
47995
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=e6267c3c&
47852
47996
 
47853
47997
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
47854
47998
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -49482,7 +49626,7 @@ async_componentvue_type_template_id_51f0233c_scoped_true_render._withStripped =
49482
49626
  // CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=51f0233c&scoped=true&
49483
49627
 
49484
49628
  // EXTERNAL MODULE: external "runtime-import"
49485
- var external_runtime_import_ = __webpack_require__(12);
49629
+ var external_runtime_import_ = __webpack_require__(14);
49486
49630
 
49487
49631
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=script&lang=js&
49488
49632
 
@@ -49633,21 +49777,9 @@ var async_component_component = normalizeComponent(
49633
49777
  )
49634
49778
 
49635
49779
  /* harmony default export */ var async_component = (async_component_component.exports);
49636
- // EXTERNAL MODULE: external "sockjs-client"
49637
- var external_sockjs_client_ = __webpack_require__(13);
49638
- var external_sockjs_client_default = /*#__PURE__*/__webpack_require__.n(external_sockjs_client_);
49639
-
49640
- // EXTERNAL MODULE: external "stompjs"
49641
- var external_stompjs_ = __webpack_require__(14);
49642
- var external_stompjs_default = /*#__PURE__*/__webpack_require__.n(external_stompjs_);
49643
-
49644
49780
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&
49645
-
49646
-
49647
49781
  var main_src_mainvue_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; };
49648
49782
 
49649
- function main_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
49650
-
49651
49783
  //
49652
49784
  //
49653
49785
  //
@@ -49905,13 +50037,17 @@ function main_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49905
50037
 
49906
50038
 
49907
50039
 
49908
-
49909
-
49910
50040
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
49911
50041
  var log = utils_util["a" /* default */].getParams('console');
49912
50042
  /* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({
49913
50043
  name: 'EsMain',
49914
50044
  inheritAttrs: false,
50045
+ provide: function provide() {
50046
+ return {
50047
+ esMain: this
50048
+ };
50049
+ },
50050
+
49915
50051
  components: {
49916
50052
  userinfo: userinfo,
49917
50053
  settings: settings,
@@ -50174,8 +50310,7 @@ var log = utils_util["a" /* default */].getParams('console');
50174
50310
  copyright: { comp: '', data: {} }
50175
50311
  },
50176
50312
  pageLoading: false,
50177
- client: null,
50178
- websocket: null,
50313
+ close: null,
50179
50314
  connect: 0,
50180
50315
  wjName: 'singlespa',
50181
50316
  menus: '',
@@ -50258,14 +50393,11 @@ var log = utils_util["a" /* default */].getParams('console');
50258
50393
  },
50259
50394
  created: function created() {
50260
50395
  var params = utils_util["a" /* default */].getParams() || {};
50261
- if (Object.prototype.hasOwnProperty.call(params, 'history')) {
50262
- this.history = params.history == true || params.history == 'true' || params.history == 1;
50263
- }
50264
50396
  this.homePage = typeof this.loadHomePage === 'string' ? this.loadHomePage : '';
50265
50397
  this.isHeader = params.header;
50266
50398
  var sysLogoIco = sessionStorage.getItem('sysLogoIco');
50267
50399
  sysLogoIco && utils_util["a" /* default */].setFavicon(sysLogoIco);
50268
- this.isLogin(params);
50400
+ this.getConfig(params);
50269
50401
  },
50270
50402
  mounted: function mounted() {
50271
50403
  utils_util["a" /* default */].win.reLogin = this.handleReLogin;
@@ -50281,156 +50413,6 @@ var log = utils_util["a" /* default */].getParams('console');
50281
50413
  },
50282
50414
 
50283
50415
  methods: {
50284
- isLogin: function isLogin(query) {
50285
- var _this = this;
50286
-
50287
- return main_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
50288
- var token, loginPage, pathname;
50289
- return regenerator_default.a.wrap(function _callee$(_context) {
50290
- while (1) {
50291
- switch (_context.prev = _context.next) {
50292
- case 0:
50293
- token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
50294
- loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
50295
-
50296
- if (loginPage) {
50297
- if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
50298
- pathname = utils_util["a" /* default */].win.top.location.pathname;
50299
-
50300
- if (pathname !== '/') {
50301
- pathname = pathname.split('/');
50302
- pathname.splice(pathname.length - 1);
50303
- pathname = pathname.join('/');
50304
- loginPage = pathname + '/' + loginPage.replace('./', '');
50305
- } else {
50306
- loginPage = pathname + loginPage.replace('./', '');
50307
- }
50308
- }
50309
- }
50310
-
50311
- if (!(!token && query && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType'))) {
50312
- _context.next = 8;
50313
- break;
50314
- }
50315
-
50316
- _context.next = 6;
50317
- return utils_util["a" /* default */].ajax({
50318
- method: 'post',
50319
- url: api["b" /* authCenter */],
50320
- data: query
50321
- }).then(function (res) {
50322
- if (res.rCode === 0) {
50323
- var results = res.results;
50324
-
50325
- switch (results.statusCode) {
50326
- case 0:
50327
- utils_util["a" /* default */].setStorage({
50328
- type: _this.storage,
50329
- key: {
50330
- ssId: results.ssId,
50331
- token: results.token,
50332
- Authorization: results.token,
50333
- deviceUnique: results.deviceUnique
50334
- }
50335
- });
50336
- if (query.openType) {
50337
- var _url2 = utils_util["a" /* default */].win.top.location.href;
50338
- var newUrl = utils_util["a" /* default */].delUrlParam({
50339
- url: _url2,
50340
- key: ['serverId', 'authType', 'openType']
50341
- });
50342
- switch (query.openType) {
50343
- case 'self':
50344
- utils_util["a" /* default */].win.location.href = newUrl;
50345
- break;
50346
- case 'blank':
50347
- utils_util["a" /* default */].win.open(newUrl);
50348
- break;
50349
- case 'parent':
50350
- utils_util["a" /* default */].win.parent.location.href = _href;
50351
- break;
50352
- default:
50353
- utils_util["a" /* default */].win.top.location.href = _href;
50354
- }
50355
- } else {
50356
- _this.getConfig();
50357
- }
50358
- break;
50359
- case 1:
50360
- break;
50361
- case 2:
50362
- break;
50363
- case 3:
50364
- var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(url));
50365
- switch (query.openType) {
50366
- case 'self':
50367
- utils_util["a" /* default */].win.location.href = _href;
50368
- break;
50369
- case 'blank':
50370
- utils_util["a" /* default */].win.open(_href);
50371
- break;
50372
- case 'parent':
50373
- utils_util["a" /* default */].win.parent.location.href = _href;
50374
- break;
50375
- default:
50376
- utils_util["a" /* default */].win.top.location.href = _href;
50377
- }
50378
- break;
50379
- case 4:
50380
- _this.$alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
50381
- confirmButtonText: '确定',
50382
- type: 'error',
50383
- callback: function callback() {
50384
- sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
50385
- //window.location.href = delUrlParam({ key: 'code' });
50386
- if (loginPage) {
50387
- utils_util["a" /* default */].win.top.location.replace(loginPage);
50388
- } else if (document.referrer) {
50389
- utils_util["a" /* default */].win.top.location.replace(document.referrer);
50390
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
50391
- utils_util["a" /* default */].win.top.location.href = './login.html';
50392
- } else {
50393
- _this.$router.replace('/login');
50394
- }
50395
- }
50396
- });
50397
- break;
50398
- default:
50399
- }
50400
- } else {
50401
- _this.$alert(res.msg, '提示', {
50402
- confirmButtonText: '确定',
50403
- type: 'error',
50404
- callback: function callback() {
50405
- if (loginPage) {
50406
- utils_util["a" /* default */].win.top.location.replace(loginPage);
50407
- } else if (document.referrer) {
50408
- utils_util["a" /* default */].win.top.location.replace(document.referrer);
50409
- } else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
50410
- utils_util["a" /* default */].win.top.location.href = './login.html';
50411
- } else {
50412
- _this.$router.replace('/login');
50413
- }
50414
- }
50415
- });
50416
- }
50417
- }).catch(function (e) {});
50418
-
50419
- case 6:
50420
- _context.next = 9;
50421
- break;
50422
-
50423
- case 8:
50424
- _this.getConfig();
50425
-
50426
- case 9:
50427
- case 'end':
50428
- return _context.stop();
50429
- }
50430
- }
50431
- }, _callee, _this);
50432
- }))();
50433
- },
50434
50416
  menuSuccess: function menuSuccess(res) {
50435
50417
  // this.menus
50436
50418
  this.menuType = 'custom';
@@ -50442,14 +50424,14 @@ var log = utils_util["a" /* default */].getParams('console');
50442
50424
 
50443
50425
  //获取主题模板JSON
50444
50426
  getMainDetail: function getMainDetail(id) {
50445
- var _this2 = this;
50427
+ var _this = this;
50446
50428
 
50447
50429
  var params = {
50448
50430
  url: api["cb" /* mainDetail */],
50449
50431
  params: { id: id }
50450
50432
  };
50451
50433
  utils_util["a" /* default */].ajax(params).then(function (res) {
50452
- var _that = _this2;
50434
+ var _that = _this;
50453
50435
  if (!res.results) {
50454
50436
  _that.showDefault = true;
50455
50437
  }
@@ -50485,7 +50467,7 @@ var log = utils_util["a" /* default */].getParams('console');
50485
50467
  }
50486
50468
  }).catch(function (err) {
50487
50469
  if (err.message && err.message !== 'canceled') {
50488
- _this2.$message.error(err.message);
50470
+ _this.$message.error(err.message);
50489
50471
  }
50490
50472
  });
50491
50473
  },
@@ -50527,7 +50509,7 @@ var log = utils_util["a" /* default */].getParams('console');
50527
50509
  this.navIds = ids;
50528
50510
  this.setTitle(ids[0]);
50529
50511
  }
50530
- } else if (sessionStorage.getItem('jump') && this.history) {
50512
+ } else if (sessionStorage.getItem('jump') && this.isHistory) {
50531
50513
  var _ids = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50532
50514
  if (_ids) {
50533
50515
  this.defaultActive = _ids;
@@ -50546,7 +50528,7 @@ var log = utils_util["a" /* default */].getParams('console');
50546
50528
  this.navIds = _ids2;
50547
50529
  this.setTitle(_ids2[0]);
50548
50530
  }
50549
- } else if (sessionStorage.getItem('jump') && this.history) {
50531
+ } else if (sessionStorage.getItem('jump') && this.isHistory) {
50550
50532
  var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50551
50533
  if (_ids3) {
50552
50534
  this.defaultActive = _ids3;
@@ -50561,7 +50543,7 @@ var log = utils_util["a" /* default */].getParams('console');
50561
50543
 
50562
50544
  //设置主题颜色
50563
50545
  setTheme: function setTheme(color) {
50564
- var _this3 = this;
50546
+ var _this2 = this;
50565
50547
 
50566
50548
  if (!color) {
50567
50549
  return;
@@ -50572,24 +50554,24 @@ var log = utils_util["a" /* default */].getParams('console');
50572
50554
  data: { color: escape(color.toLowerCase()) }
50573
50555
  }).then(function (res) {
50574
50556
  if (res.rCode === 0) {
50575
- _this3.color = color;
50557
+ _this2.color = color;
50576
50558
  localStorage.setItem('theme', color);
50577
50559
  var _mainConfig = JSON.parse(utils_util["a" /* default */].getStorage('mainConfig'));
50578
- _mainConfig.userStyle.color = _this3.color;
50560
+ _mainConfig.userStyle.color = _this2.color;
50579
50561
  sessionStorage.setItem('mainConfig', JSON.stringify(_mainConfig));
50580
- _this3.$emit('setting', 'theme', _this3.color);
50581
- _this3.$message({
50562
+ _this2.$emit('setting', 'theme', _this2.color);
50563
+ _this2.$message({
50582
50564
  message: res.msg,
50583
50565
  type: 'success',
50584
50566
  duration: 2000
50585
50567
  });
50586
50568
  } else {
50587
50569
  var msg = res.msg || '系统错误,请联系管理员!';
50588
- _this3.$message.error(msg);
50570
+ _this2.$message.error(msg);
50589
50571
  }
50590
50572
  }).catch(function (err) {
50591
50573
  if (err.message && err.message !== 'canceled') {
50592
- _this3.$message.error(err.message);
50574
+ _this2.$message.error(err.message);
50593
50575
  }
50594
50576
  });
50595
50577
  },
@@ -50621,18 +50603,28 @@ var log = utils_util["a" /* default */].getParams('console');
50621
50603
  this.results[i] = results[i].split(',');
50622
50604
  }
50623
50605
  if (i === 'indexUrl' && this.loadHomePage) {
50624
- this.homePage = typeof this.loadHomePage === 'string' ? this.loadHomePage : results[i];
50625
- if (this.isHomePage && this.homePage) {
50626
- if (this.menus && this.menus.length) {
50627
- var ids = null;
50628
- this.homePage && (ids = this.getId(this.menus, this.homePage));
50629
- if (ids) {
50630
- this.defaultActive = ids;
50631
- } else if (this.homePage) {
50632
- this.handleJump(this.homePage);
50606
+ var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
50607
+ var hash = utils_util["a" /* default */].win.location.hash;
50608
+ if (hash) {
50609
+ hash = hash.split('?')[0];
50610
+ }
50611
+ var jump = sessionStorage.getItem('jump');
50612
+ if (!applicationid && (!jump || !this.isHistory) && hash === '#/' && hash === '#/main') {
50613
+ this.homePage = typeof this.loadHomePage === 'string' ? this.loadHomePage : results[i];
50614
+ if (this.isHomePage && this.homePage) {
50615
+ if (this.menus && this.menus.length) {
50616
+ var ids = null;
50617
+ this.homePage && (ids = this.getId(this.menus, this.homePage));
50618
+ if (ids) {
50619
+ this.defaultActive = ids;
50620
+ } else if (this.homePage) {
50621
+ this.handleJump(this.homePage);
50622
+ }
50623
+ this.setMenu(this.menus);
50633
50624
  }
50634
- this.setMenu(this.menus);
50635
50625
  }
50626
+ } else if (this.menus && this.menus.length) {
50627
+ this.setMenu(this.menus);
50636
50628
  }
50637
50629
  }
50638
50630
  if (i === 'doorIndex' && results[i]) {
@@ -50666,9 +50658,13 @@ var log = utils_util["a" /* default */].getParams('console');
50666
50658
  },
50667
50659
 
50668
50660
  //获取用户配置及信息
50669
- getConfig: function getConfig() {
50670
- var _this4 = this;
50661
+ getConfig: function getConfig(query) {
50662
+ var _this3 = this;
50671
50663
 
50664
+ var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
50665
+ if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
50666
+ return false;
50667
+ }
50672
50668
  if (utils_util["a" /* default */].getStorage('mainConfig')) {
50673
50669
  var results = JSON.parse(utils_util["a" /* default */].getStorage('mainConfig'));
50674
50670
  this.setConfig(results);
@@ -50681,58 +50677,62 @@ var log = utils_util["a" /* default */].getParams('console');
50681
50677
  }
50682
50678
  utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
50683
50679
  if (res && res.rCode === 0) {
50684
- _this4.setConfig(res.results, 1);
50685
- if (_this4.socket) {
50686
- _this4.initWebSocket();
50680
+ _this3.setConfig(res.results, 1);
50681
+ if (_this3.socket) {
50682
+ _this3.initWebSocket();
50687
50683
  }
50688
- if (_this4.remote) {
50689
- _this4.getMenu();
50684
+ if (_this3.remote) {
50685
+ _this3.getMenu();
50690
50686
  } else {
50691
- _this4.renderMenu();
50687
+ _this3.renderMenu();
50692
50688
  }
50693
50689
  } else {
50694
50690
  var msg = res.msg || '系统错误,请联系管理员!';
50695
- _this4.$message.error(msg);
50691
+ _this3.$message.error(msg);
50696
50692
  }
50697
50693
  }).catch(function (err) {
50698
50694
  if (err.message && err.message !== 'canceled') {
50699
- _this4.$message.error(err.message);
50695
+ _this3.$message.error(err.message);
50700
50696
  }
50701
50697
  });
50702
50698
  },
50703
50699
  reGetConfig: function reGetConfig() {
50704
- var _this5 = this;
50700
+ var _this4 = this;
50705
50701
 
50706
50702
  utils_util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
50707
50703
  if (res && res.rCode === 0) {
50708
50704
  var results = JSON.parse(JSON.stringify(res.results));
50709
- _this5.setConfig(results, 1);
50705
+ _this4.setConfig(results, 1);
50710
50706
  } else {
50711
50707
  var msg = res.msg || '系统错误,请联系管理员!';
50712
- _this5.$message.error(msg);
50708
+ _this4.$message.error(msg);
50713
50709
  }
50714
50710
  }).catch(function (err) {
50715
50711
  if (err.message && err.message !== 'canceled') {
50716
- _this5.$message.error(err.message);
50712
+ _this4.$message.error(err.message);
50717
50713
  }
50718
50714
  });
50719
50715
  },
50720
- jumpMenu: function jumpMenu(res, flag) {
50716
+ jumpMenu: function jumpMenu(res, flag, param) {
50717
+ var option = { url: res, flag: flag, param: param };
50718
+ if (utils_util["a" /* default */].isObject(res)) {
50719
+ option = main_src_mainvue_type_script_lang_js_extends({}, option, res);
50720
+ }
50721
50721
  var ids = void 0;
50722
- if (typeof res === 'string') {
50723
- if (flag) {
50724
- ids = this.getId(this.menus, res, true);
50722
+ if (typeof option.url === 'string') {
50723
+ if (option.flag) {
50724
+ ids = this.getId(this.menus, option.url, true);
50725
50725
  if (!ids) {
50726
50726
  this.$message.error('未在菜单栏中找到此地址');
50727
50727
  return;
50728
50728
  }
50729
50729
  } else {
50730
- ids = res.split(',');
50730
+ ids = option.url.split(',');
50731
50731
  }
50732
50732
  } else {
50733
- ids = res;
50733
+ ids = option.url;
50734
50734
  }
50735
- this.setDefault(this.menus, ids);
50735
+ this.setDefault(this.menus, ids, option.param);
50736
50736
  },
50737
50737
  getId: function getId(arry, res, path) {
50738
50738
  if (!res) {
@@ -50770,8 +50770,8 @@ var log = utils_util["a" /* default */].getParams('console');
50770
50770
  return item.id;
50771
50771
  } else {
50772
50772
  if (path && item.url) {
50773
- var _url3 = new URL(item.url, window.location.origin);
50774
- if (_url3.hash == res) {
50773
+ var url = new URL(item.url, window.location.origin);
50774
+ if (url.hash == res) {
50775
50775
  return item.id;
50776
50776
  }
50777
50777
  }
@@ -50782,24 +50782,24 @@ var log = utils_util["a" /* default */].getParams('console');
50782
50782
 
50783
50783
  //获取应用导航菜单
50784
50784
  getMenu: function getMenu() {
50785
- var _this6 = this;
50785
+ var _this5 = this;
50786
50786
 
50787
50787
  utils_util["a" /* default */].ajax({ url: this.action, params: this.param ? this.param : {} }).then(function (res) {
50788
50788
  if (res.rCode === 0) {
50789
50789
  if (res.results && res.results.length) {
50790
- _this6.menus = JSON.parse(JSON.stringify(res.results));
50790
+ _this5.menus = JSON.parse(JSON.stringify(res.results));
50791
50791
  var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
50792
50792
  if (applicationid) {
50793
- var ids = _this6.getId(_this6.menus, applicationid);
50793
+ var ids = _this5.getId(_this5.menus, applicationid);
50794
50794
  if (ids) {
50795
- _this6.defaultActive = ids;
50795
+ _this5.defaultActive = ids;
50796
50796
  }
50797
- } else if (sessionStorage.getItem('jump') && _this6.history) {
50798
- var _ids4 = _this6.getId(_this6.menus, sessionStorage.getItem('jump'), true);
50797
+ } else if (sessionStorage.getItem('jump') && _this5.isHistory) {
50798
+ var _ids4 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50799
50799
  if (_ids4) {
50800
- _this6.defaultActive = _ids4;
50801
- _this6.navIds = _ids4;
50802
- _this6.setTitle(_ids4[0]);
50800
+ _this5.defaultActive = _ids4;
50801
+ _this5.navIds = _ids4;
50802
+ _this5.setTitle(_ids4[0]);
50803
50803
  }
50804
50804
  } else if (utils_util["a" /* default */].win.location.hash) {
50805
50805
  var hash = utils_util["a" /* default */].win.location.hash;
@@ -50807,34 +50807,34 @@ var log = utils_util["a" /* default */].getParams('console');
50807
50807
  hash = hash.split('?')[0];
50808
50808
  }
50809
50809
  if (hash !== '#/' && hash !== '#/main') {
50810
- var _ids5 = _this6.getId(_this6.menus, utils_util["a" /* default */].win.location.hash, true);
50810
+ var _ids5 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
50811
50811
  if (_ids5) {
50812
- _this6.defaultActive = _ids5;
50813
- _this6.navIds = _ids5;
50814
- _this6.setTitle(_ids5[0]);
50812
+ _this5.defaultActive = _ids5;
50813
+ _this5.navIds = _ids5;
50814
+ _this5.setTitle(_ids5[0]);
50815
50815
  }
50816
- } else if (sessionStorage.getItem('jump') && _this6.history) {
50817
- var _ids6 = _this6.getId(_this6.menus, sessionStorage.getItem('jump'), true);
50816
+ } else if (sessionStorage.getItem('jump') && _this5.isHistory) {
50817
+ var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50818
50818
  if (_ids6) {
50819
- _this6.defaultActive = _ids6;
50820
- _this6.navIds = _ids6;
50821
- _this6.setTitle(_ids6[0]);
50819
+ _this5.defaultActive = _ids6;
50820
+ _this5.navIds = _ids6;
50821
+ _this5.setTitle(_ids6[0]);
50822
50822
  }
50823
50823
  }
50824
50824
  }
50825
- _this6.setTips(_this6.menus);
50826
- utils_store.set('nav', _this6.menus);
50827
- _this6.setMenu(_this6.menus);
50825
+ _this5.setTips(_this5.menus);
50826
+ utils_store.set('nav', _this5.menus);
50827
+ _this5.setMenu(_this5.menus);
50828
50828
  } else {
50829
- _this6.$message.error('未分配菜单权限,请联系管理员!');
50829
+ _this5.$message.error('未分配菜单权限,请联系管理员!');
50830
50830
  }
50831
50831
  } else {
50832
50832
  var msg = res.msg || '系统错误,请联系管理员!';
50833
- _this6.$message.error(msg);
50833
+ _this5.$message.error(msg);
50834
50834
  }
50835
50835
  }).catch(function (err) {
50836
50836
  if (err.message && err.message !== 'canceled') {
50837
- _this6.$message.error(err.message);
50837
+ _this5.$message.error(err.message);
50838
50838
  }
50839
50839
  });
50840
50840
  },
@@ -50956,11 +50956,11 @@ var log = utils_util["a" /* default */].getParams('console');
50956
50956
 
50957
50957
  //遍历设置菜单气泡提醒
50958
50958
  setTips: function setTips(obj) {
50959
- var _this7 = this;
50959
+ var _this6 = this;
50960
50960
 
50961
50961
  if (Array.isArray(obj)) {
50962
50962
  obj.forEach(function (item) {
50963
- _this7.setTips(item);
50963
+ _this6.setTips(item);
50964
50964
  });
50965
50965
  } else {
50966
50966
  if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
@@ -50970,7 +50970,7 @@ var log = utils_util["a" /* default */].getParams('console');
50970
50970
  var flag = false;
50971
50971
  if (obj.children && obj.children.length) {
50972
50972
  obj.children.forEach(function (item) {
50973
- if (_this7.setTips(item)) {
50973
+ if (_this6.setTips(item)) {
50974
50974
  flag = true;
50975
50975
  }
50976
50976
  });
@@ -50980,7 +50980,7 @@ var log = utils_util["a" /* default */].getParams('console');
50980
50980
  }
50981
50981
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
50982
50982
  obj.fourthTabs.forEach(function (item) {
50983
- if (_this7.setTips(item)) {
50983
+ if (_this6.setTips(item)) {
50984
50984
  flag = true;
50985
50985
  }
50986
50986
  });
@@ -50999,12 +50999,12 @@ var log = utils_util["a" /* default */].getParams('console');
50999
50999
  },
51000
51000
 
51001
51001
  //设置默认导航页面
51002
- setDefault: function setDefault(res, active) {
51002
+ setDefault: function setDefault(res, active, param) {
51003
51003
  this.navIds = JSON.parse(JSON.stringify(active));
51004
51004
  this.sysId = '';
51005
51005
  this.tabsId = '';
51006
51006
  this.active = '';
51007
- this.getUrl(res, active);
51007
+ this.getUrl(res, active, param);
51008
51008
  if (this.layout === 'subsystem' || this.layout === 'subSystem' || this.layout === 'topnav' || this.layout === 'topNav' || this.layout === 'topside' || this.layout === 'topSide') {
51009
51009
  if (this.layout === 'subsystem' || this.layout === 'subSystem') {
51010
51010
  this.navs = [];
@@ -51053,34 +51053,34 @@ var log = utils_util["a" /* default */].getParams('console');
51053
51053
  },
51054
51054
 
51055
51055
  //获取页面类型及地址
51056
- getUrl: function getUrl(res, active, index) {
51056
+ getUrl: function getUrl(res, active, index, param) {
51057
51057
  index = index === undefined ? 0 : index;
51058
51058
  for (var i = 0; i < res.length; i++) {
51059
51059
  var item = res[i];
51060
51060
  if (item.id === active[index]) {
51061
51061
  if (index === active.length - 1) {
51062
- this.handleJump(item.url, item.urlopenmode, item);
51062
+ this.handleJump(item.url, item.urlopenmode, item, param);
51063
51063
  return item.url;
51064
51064
  } else {
51065
51065
  if (item.children && item.children.length) {
51066
51066
  index++;
51067
- var _url4 = this.getUrl(item.children, active, index);
51068
- if (_url4 && index === active.length - 1) {
51067
+ var url = this.getUrl(item.children, active, index, param);
51068
+ if (url && index === active.length - 1) {
51069
51069
  this.tabs = '';
51070
51070
  }
51071
- return _url4;
51071
+ return url;
51072
51072
  }
51073
51073
  if (item.fourthTabs && item.fourthTabs.length) {
51074
51074
  index++;
51075
- var _url5 = this.getUrl(item.fourthTabs, active, index);
51076
- if (_url5) {
51075
+ var _url2 = this.getUrl(item.fourthTabs, active, index, param);
51076
+ if (_url2) {
51077
51077
  this.$set(this, 'tabs', item.fourthTabs);
51078
51078
  }
51079
- return _url5;
51079
+ return _url2;
51080
51080
  }
51081
51081
  }
51082
51082
  } else if (item.children && item.children.length) {
51083
- this.getUrl(item.children, active, index);
51083
+ this.getUrl(item.children, active, index, param);
51084
51084
  }
51085
51085
  }
51086
51086
  return false;
@@ -51274,7 +51274,7 @@ var log = utils_util["a" /* default */].getParams('console');
51274
51274
 
51275
51275
  //头部工具交互事件
51276
51276
  handleClick: function handleClick(res) {
51277
- var _this8 = this;
51277
+ var _this7 = this;
51278
51278
 
51279
51279
  var type = res.type;
51280
51280
 
@@ -51295,7 +51295,7 @@ var log = utils_util["a" /* default */].getParams('console');
51295
51295
  this.setMenu(this.menus);
51296
51296
  }
51297
51297
  this.$nextTick(function () {
51298
- _this8.reset = true;
51298
+ _this7.reset = true;
51299
51299
  });
51300
51300
  break;
51301
51301
  case 'user':
@@ -51323,22 +51323,23 @@ var log = utils_util["a" /* default */].getParams('console');
51323
51323
 
51324
51324
  //刷新子页面、子路由
51325
51325
  handleRefresh: function handleRefresh() {
51326
- var _this9 = this;
51326
+ var _this8 = this;
51327
51327
 
51328
51328
  if (this.method === 'iframe') {
51329
51329
  this.page = utils_util["a" /* default */].handlerUrl(this.page);
51330
51330
  } else {
51331
51331
  this.refresh = false;
51332
51332
  this.$nextTick(function () {
51333
- _this9.refresh = true;
51333
+ _this8.refresh = true;
51334
51334
  });
51335
51335
  }
51336
51336
  },
51337
51337
 
51338
51338
  //跳转页面
51339
- handleJump: function handleJump(page, type, res) {
51340
- var _this10 = this;
51339
+ handleJump: function handleJump(page, type, res, param) {
51340
+ var _this9 = this;
51341
51341
 
51342
+ console.log(page);
51342
51343
  var prevPage = sessionStorage.getItem('jump');
51343
51344
  sessionStorage.setItem('jump', page);
51344
51345
  if (res) {
@@ -51359,7 +51360,7 @@ var log = utils_util["a" /* default */].getParams('console');
51359
51360
  } else if (type == 3) {
51360
51361
  this.method = 'iframe';
51361
51362
  this.refresh = false;
51362
- this.page = utils_util["a" /* default */].handlerUrl(page);
51363
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
51363
51364
  } else if (page) {
51364
51365
  var urls = page.split('?');
51365
51366
  if (urls[0].indexOf('.js') > 1) {
@@ -51367,17 +51368,17 @@ var log = utils_util["a" /* default */].getParams('console');
51367
51368
  this.wjName = 'singlespa';
51368
51369
  this.page = this.host + page;
51369
51370
  this.$nextTick(function () {
51370
- _this10.refresh = true;
51371
+ _this9.refresh = true;
51371
51372
  });
51372
51373
  } else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
51373
51374
  this.method = 'iframe';
51374
51375
  this.refresh = false;
51375
- this.page = utils_util["a" /* default */].handlerUrl(page);
51376
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
51376
51377
  } else {
51377
51378
  if (urls[0].indexOf('.html') === -1 && urls[0].indexOf('#/') === -1) {
51378
51379
  this.method = 'iframe';
51379
51380
  this.refresh = false;
51380
- this.page = utils_util["a" /* default */].handlerUrl(page);
51381
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
51381
51382
  } else {
51382
51383
  this.method = 'router';
51383
51384
  var routes = this.$router.options.routes;
@@ -51385,6 +51386,9 @@ var log = utils_util["a" /* default */].getParams('console');
51385
51386
  var path = this.hasRouter(routes, urls[0]);
51386
51387
  if (path) {
51387
51388
  var params = utils_util["a" /* default */].getParams({ url: page });
51389
+ if (param) {
51390
+ params = main_src_mainvue_type_script_lang_js_extends({}, params, param);
51391
+ }
51388
51392
  if (res) {
51389
51393
  this.routerKey = res.id;
51390
51394
  if (Object.prototype.hasOwnProperty.call(res, 'keepAlive')) {
@@ -51396,7 +51400,7 @@ var log = utils_util["a" /* default */].getParams('console');
51396
51400
  query: params
51397
51401
  });
51398
51402
  this.$nextTick(function () {
51399
- _this10.refresh = true;
51403
+ _this9.refresh = true;
51400
51404
  });
51401
51405
  } else {
51402
51406
  var urlopenmode = utils_util["a" /* default */].getParams({
@@ -51406,13 +51410,13 @@ var log = utils_util["a" /* default */].getParams('console');
51406
51410
  if (this.loadWujie === false || this.downgrade && isIE || urlopenmode == 3) {
51407
51411
  this.method = 'iframe';
51408
51412
  this.refresh = false;
51409
- this.page = utils_util["a" /* default */].handlerUrl(page);
51413
+ this.page = utils_util["a" /* default */].handlerUrl(page, param);
51410
51414
  } else {
51411
51415
  this.method = 'wujie';
51412
51416
  this.wjName = res && res.appCode ? res.appCode : 'application';
51413
51417
  this.page = this.host + page;
51414
51418
  this.$nextTick(function () {
51415
- _this10.refresh = true;
51419
+ _this9.refresh = true;
51416
51420
  });
51417
51421
  }
51418
51422
  }
@@ -51424,7 +51428,7 @@ var log = utils_util["a" /* default */].getParams('console');
51424
51428
  }
51425
51429
  }
51426
51430
  this.$nextTick(function () {
51427
- _this10.showPage = true;
51431
+ _this9.showPage = true;
51428
51432
  });
51429
51433
  },
51430
51434
 
@@ -51536,7 +51540,7 @@ var log = utils_util["a" /* default */].getParams('console');
51536
51540
 
51537
51541
  //监听改变菜单
51538
51542
  handleListener: function handleListener() {
51539
- var _this11 = this;
51543
+ var _this10 = this;
51540
51544
 
51541
51545
  utils_util["a" /* default */].win.addEventListener('message', function (e) {
51542
51546
  var msg = e.data;
@@ -51545,69 +51549,61 @@ var log = utils_util["a" /* default */].getParams('console');
51545
51549
  if (typeof res === 'string') {
51546
51550
  res = res.split(',');
51547
51551
  }
51548
- _this11.setDefault(_this11.menus, res);
51552
+ _this10.setDefault(_this10.menus, res);
51549
51553
  }
51550
51554
  }, false);
51551
51555
  },
51552
51556
 
51553
51557
  //开启weosocket
51554
51558
  initWebSocket: function initWebSocket() {
51555
- //初始化weosocket
51556
- if (!this.websocket) {
51557
- var _url6 = (utils_util["a" /* default */].getStorage('wshost') || '') + api["Zb" /* wss */];
51558
- this.websocket = new external_sockjs_client_default.a(_url6);
51559
- }
51560
- this.client = external_stompjs_default.a.over(this.websocket);
51561
- if (!this.isConsole && this.client) {
51562
- this.client.debug = null;
51563
- }
51564
- this.handleConnect(this.client);
51565
- },
51566
- handleConnect: function handleConnect(client) {
51567
- var _this12 = this;
51559
+ var _this11 = this;
51568
51560
 
51569
- client.connect({}, function () {
51570
- //localStorage.setItem("socket",true);
51571
- //订阅服务端的
51572
- client.subscribe(api["Qb" /* topic */], function (response) {
51573
- var res = JSON.parse(response.body);
51574
- var data = res.data;
51575
- for (var i in data) {
51576
- if (data[i] !== null && data[i] !== undefined) {
51577
- if (i === 'onlineUserNums' && data[i] > 0) {
51578
- _this12.online = data[i];
51579
- }
51580
- if (i === 'sysMsgNums') {
51581
- _this12.notice = data[i];
51582
- if (_this12.showMsg) {
51583
- _this12.$refs.message.getMsg(true);
51584
- }
51585
- }
51586
- if (i === 'menuTipsMap') {
51587
- _this12.menuTips = data[i];
51588
- }
51589
- if (i === 'sysMsgList') {
51590
- _this12.sysMsg = data[i];
51591
- }
51592
- if (i === 'extraData') {
51593
- _this12.extraData = data[i];
51561
+ utils_util["a" /* default */].socket().then(function (res, close) {
51562
+ _this11.close = close;
51563
+ var data = res.data;
51564
+ for (var i in data) {
51565
+ if (data[i] !== null && data[i] !== undefined) {
51566
+ if (i === 'onlineUserNums' && data[i] > 0) {
51567
+ _this11.online = data[i];
51568
+ }
51569
+ if (i === 'sysMsgNums') {
51570
+ _this11.notice = data[i];
51571
+ if (_this11.showMsg) {
51572
+ _this11.$refs.message.getMsg(true);
51594
51573
  }
51595
51574
  }
51575
+ if (i === 'menuTipsMap') {
51576
+ _this11.menuTips = data[i];
51577
+ }
51578
+ if (i === 'sysMsgList') {
51579
+ _this11.sysMsg = data[i];
51580
+ }
51581
+ if (i === 'extraData') {
51582
+ _this11.extraData = data[i];
51583
+ }
51596
51584
  }
51597
- });
51598
- }, function (error) {
51599
- console.log('webSocket连接失败');
51600
- client.disconnect();
51585
+ }
51586
+ if (_this11.$store) {
51587
+ _this11.$store.commit('websocket', data);
51588
+ }
51589
+ if (_this11.$eventBus) {
51590
+ _this11.$eventBus.$emit('websocket', data);
51591
+ }
51592
+ if (utils_util["a" /* default */].win.eventBus) {
51593
+ utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
51594
+ }
51595
+ }).catch(function (err) {
51596
+ console.log(err);
51601
51597
  });
51602
51598
  },
51603
51599
  handleOpened: function handleOpened(res) {
51604
- var _this13 = this;
51600
+ var _this12 = this;
51605
51601
 
51606
51602
  if (res === undefined) {
51607
51603
  this.sysMsg = [];
51608
51604
  } else if (res == false && this.sysMsg.length) {
51609
51605
  this.sysMsgOut = setTimeout(function () {
51610
- _this13.sysMsg = [];
51606
+ _this12.sysMsg = [];
51611
51607
  }, 3000);
51612
51608
  } else if (this.sysMsgOut) {
51613
51609
  clearTimeout(this.sysMsgOut);
@@ -51628,7 +51624,7 @@ var log = utils_util["a" /* default */].getParams('console');
51628
51624
  }
51629
51625
  },
51630
51626
  handleReLogin: function handleReLogin(res) {
51631
- var _this14 = this;
51627
+ var _this13 = this;
51632
51628
 
51633
51629
  if (res && typeof res == 'string') {
51634
51630
  res = JSON.parse(res);
@@ -51659,7 +51655,7 @@ var log = utils_util["a" /* default */].getParams('console');
51659
51655
  this.timer = setTimeout(function () {
51660
51656
  console.log('handleReLogin');
51661
51657
  sessionStorage.setItem('remind', 1);
51662
- _this14.$confirm(msg, btn).then(function () {
51658
+ _this13.$confirm(msg, btn).then(function () {
51663
51659
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
51664
51660
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
51665
51661
  if (loginPage) {
@@ -51717,8 +51713,8 @@ var log = utils_util["a" /* default */].getParams('console');
51717
51713
  },
51718
51714
  beforeDestroy: function beforeDestroy() {
51719
51715
  this.timer = null;
51720
- if (this.client && this.client.connected) {
51721
- this.client.disconnect();
51716
+ if (this.close) {
51717
+ this.close();
51722
51718
  }
51723
51719
  }
51724
51720
  });
@@ -51734,8 +51730,8 @@ var log = utils_util["a" /* default */].getParams('console');
51734
51730
 
51735
51731
  var main_src_main_component = normalizeComponent(
51736
51732
  packages_main_src_mainvue_type_script_lang_js_,
51737
- mainvue_type_template_id_6d42b802_render,
51738
- mainvue_type_template_id_6d42b802_staticRenderFns,
51733
+ mainvue_type_template_id_e6267c3c_render,
51734
+ mainvue_type_template_id_e6267c3c_staticRenderFns,
51739
51735
  false,
51740
51736
  null,
51741
51737
  null,
@@ -54101,8 +54097,8 @@ qr_code_src_main.install = function (Vue) {
54101
54097
  };
54102
54098
 
54103
54099
  /* harmony default export */ var qr_code = (qr_code_src_main);
54104
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=64807cce&
54105
- var mainvue_type_template_id_64807cce_render = function () {
54100
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=a0afa96c&
54101
+ var mainvue_type_template_id_a0afa96c_render = function () {
54106
54102
  var _vm = this
54107
54103
  var _h = _vm.$createElement
54108
54104
  var _c = _vm._self._c || _h
@@ -54133,6 +54129,7 @@ var mainvue_type_template_id_64807cce_render = function () {
54133
54129
  expression: "display",
54134
54130
  },
54135
54131
  ],
54132
+ attrs: { "value-key": _vm.valueKey },
54136
54133
  model: {
54137
54134
  value: _vm.model,
54138
54135
  callback: function ($$v) {
@@ -54230,11 +54227,11 @@ var mainvue_type_template_id_64807cce_render = function () {
54230
54227
  )
54231
54228
  : _vm._e()
54232
54229
  }
54233
- var mainvue_type_template_id_64807cce_staticRenderFns = []
54234
- mainvue_type_template_id_64807cce_render._withStripped = true
54230
+ var mainvue_type_template_id_a0afa96c_staticRenderFns = []
54231
+ mainvue_type_template_id_a0afa96c_render._withStripped = true
54235
54232
 
54236
54233
 
54237
- // CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=64807cce&
54234
+ // CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=a0afa96c&
54238
54235
 
54239
54236
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=script&lang=js&
54240
54237
  var radio_group_src_mainvue_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; };
@@ -54296,6 +54293,7 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
54296
54293
  //
54297
54294
  //
54298
54295
  //
54296
+ //
54299
54297
 
54300
54298
 
54301
54299
 
@@ -54421,7 +54419,7 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
54421
54419
  labelVal: function labelVal() {
54422
54420
  var _this = this;
54423
54421
 
54424
- if (this.readonly && (this.model || this.model === 0) && this.results.length) {
54422
+ if (this.readonly && this.model !== undefined && this.results.length) {
54425
54423
  if (radio_group_src_mainvue_type_script_lang_js_typeof(this.model) !== 'object') {
54426
54424
  if (utils_util["a" /* default */].isObject(this.results[0])) {
54427
54425
  var val = void 0;
@@ -54545,8 +54543,8 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
54545
54543
 
54546
54544
  var radio_group_src_main_component = normalizeComponent(
54547
54545
  packages_radio_group_src_mainvue_type_script_lang_js_,
54548
- mainvue_type_template_id_64807cce_render,
54549
- mainvue_type_template_id_64807cce_staticRenderFns,
54546
+ mainvue_type_template_id_a0afa96c_render,
54547
+ mainvue_type_template_id_a0afa96c_staticRenderFns,
54550
54548
  false,
54551
54549
  null,
54552
54550
  null,
@@ -64681,6 +64679,8 @@ tree_group_src_main.install = function (Vue) {
64681
64679
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/toolbar/src/main.vue?vue&type=script&lang=js&
64682
64680
  var toolbar_src_mainvue_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; };
64683
64681
 
64682
+ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
64683
+
64684
64684
  /* harmony default export */ var toolbar_src_mainvue_type_script_lang_js_ = ({
64685
64685
  name: 'EsToolbar',
64686
64686
  inheritAttrs: false,
@@ -64723,6 +64723,14 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
64723
64723
  small: {
64724
64724
  type: Boolean,
64725
64725
  default: true
64726
+ },
64727
+ showLabel: {
64728
+ type: Boolean,
64729
+ default: false
64730
+ },
64731
+ labelWidth: {
64732
+ type: String,
64733
+ default: 'auto'
64726
64734
  }
64727
64735
  },
64728
64736
  computed: {
@@ -64878,6 +64886,10 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
64878
64886
  }, item.label || item.text);
64879
64887
  }))]);
64880
64888
  }
64889
+
64890
+ var config = items.config,
64891
+ other = mainvue_type_script_lang_js_objectWithoutProperties(items, ['config']);
64892
+
64881
64893
  if (items.type === 'search') {
64882
64894
  var itemClass = {
64883
64895
  radio: 'es-toolbar-item-radio',
@@ -64885,13 +64897,11 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
64885
64897
  switch: 'es-toolbar-item-switch'
64886
64898
  };
64887
64899
  search = [h('es-form', {
64888
- class: ['es-form-search', _this2.small ? 'es-form-search-small' : '', _this2.showFormBtn ? '' : 'es-form-search-nobtn'],
64900
+ class: ['es-form-search', _this2.small ? 'es-form-search-small' : '', _this2.showLabel ? 'es-form-search-nobtn' : ''],
64889
64901
  props: toolbar_src_mainvue_type_script_lang_js_extends({
64890
- showButton: items.showButton,
64891
- formatSubmit: items.formatSubmit
64892
- }, items.config || {}, {
64893
64902
  size: 'medium',
64894
- showLabel: false,
64903
+ showLabel: _this2.showLabel,
64904
+ labelWidth: _this2.labelWidth,
64895
64905
  closeDialog: false,
64896
64906
  model: _this2.searchData,
64897
64907
  contents: items.contents,
@@ -64900,7 +64910,7 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
64900
64910
  search: true,
64901
64911
  isReset: items.reset,
64902
64912
  showButton: _this2.showFormBtn
64903
- }),
64913
+ }, other, config || {}),
64904
64914
  on: {
64905
64915
  submit: function submit(data) {
64906
64916
  _this2.hanleSearch(data, items.multiCondition);
@@ -64944,9 +64954,7 @@ var toolbar_src_mainvue_type_script_lang_js_extends = Object.assign || function
64944
64954
  }, [h('es-form', {
64945
64955
  class: 'es-form-search',
64946
64956
  ref: 'filter',
64947
- props: toolbar_src_mainvue_type_script_lang_js_extends({
64948
- formatSubmit: items.formatSubmit
64949
- }, items.config || {}, {
64957
+ props: toolbar_src_mainvue_type_script_lang_js_extends({}, other, config || {}, {
64950
64958
  size: 'medium',
64951
64959
  closeDialog: false,
64952
64960
  model: _this2.advancedData,
@@ -65005,8 +65013,8 @@ toolbar_src_main.install = function (Vue) {
65005
65013
  };
65006
65014
 
65007
65015
  /* harmony default export */ var packages_toolbar = (toolbar_src_main);
65008
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=b2377b8c&
65009
- var tablevue_type_template_id_b2377b8c_render = function () {
65016
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=3e2bccce&
65017
+ var tablevue_type_template_id_3e2bccce_render = function () {
65010
65018
  var _vm = this
65011
65019
  var _h = _vm.$createElement
65012
65020
  var _c = _vm._self._c || _h
@@ -65192,20 +65200,9 @@ var tablevue_type_template_id_b2377b8c_render = function () {
65192
65200
  ? _c(
65193
65201
  "es-label",
65194
65202
  _vm._b(
65195
- {
65196
- attrs: {
65197
- contents: item.label,
65198
- plain: item.plain,
65199
- rules: item.rules,
65200
- },
65201
- },
65203
+ {},
65202
65204
  "es-label",
65203
- item.label
65204
- ? {
65205
- event: item.label.event,
65206
- events: item.label.events,
65207
- }
65208
- : {},
65205
+ _vm.getLabel(item.label),
65209
65206
  false
65210
65207
  )
65211
65208
  )
@@ -65886,55 +65883,65 @@ var tablevue_type_template_id_b2377b8c_render = function () {
65886
65883
  "selector"
65887
65884
  ? _c(
65888
65885
  "es-selector",
65889
- _vm._b(
65890
- {
65891
- attrs: {
65892
- readonly:
65893
- _vm.readonly
65894
- ? _vm.readonly
65895
- : item.readonly,
65896
- plain:
65897
- item.plain,
65898
- },
65899
- on: {
65900
- change:
65901
- function (
65902
- val
65903
- ) {
65904
- _vm.handleChange(
65905
- item,
65886
+ _vm._g(
65887
+ _vm._b(
65888
+ {
65889
+ attrs: {
65890
+ readonly:
65891
+ _vm.readonly
65892
+ ? _vm.readonly
65893
+ : item.readonly,
65894
+ plain:
65895
+ item.plain,
65896
+ },
65897
+ on: {
65898
+ change:
65899
+ function (
65906
65900
  val
65907
- )
65908
- },
65909
- },
65910
- model: {
65911
- value:
65912
- _vm.model[
65913
- item.name
65914
- ],
65915
- callback:
65916
- function (
65917
- $$v
65918
- ) {
65919
- _vm.$set(
65920
- _vm.model,
65921
- item.name,
65901
+ ) {
65902
+ _vm.handleChange(
65903
+ item,
65904
+ val
65905
+ )
65906
+ },
65907
+ },
65908
+ model: {
65909
+ value:
65910
+ _vm.model[
65911
+ item
65912
+ .name
65913
+ ],
65914
+ callback:
65915
+ function (
65922
65916
  $$v
65923
- )
65924
- },
65925
- expression:
65926
- "model[item.name]",
65917
+ ) {
65918
+ _vm.$set(
65919
+ _vm.model,
65920
+ item.name,
65921
+ $$v
65922
+ )
65923
+ },
65924
+ expression:
65925
+ "model[item.name]",
65926
+ },
65927
65927
  },
65928
- },
65929
- "es-selector",
65928
+ "es-selector",
65929
+ _vm.handleExclAttribute(
65930
+ {
65931
+ data: item,
65932
+ attrs:
65933
+ "label",
65934
+ }
65935
+ ),
65936
+ false
65937
+ ),
65930
65938
  _vm.handleExclAttribute(
65931
65939
  {
65932
- data: item,
65940
+ data: item.events,
65933
65941
  attrs:
65934
- "label",
65942
+ "change",
65935
65943
  }
65936
- ),
65937
- false
65944
+ )
65938
65945
  )
65939
65946
  )
65940
65947
  : item.type === "icon"
@@ -67657,17 +67664,15 @@ var tablevue_type_template_id_b2377b8c_render = function () {
67657
67664
  2
67658
67665
  )
67659
67666
  }
67660
- var tablevue_type_template_id_b2377b8c_staticRenderFns = []
67661
- tablevue_type_template_id_b2377b8c_render._withStripped = true
67667
+ var tablevue_type_template_id_3e2bccce_staticRenderFns = []
67668
+ tablevue_type_template_id_3e2bccce_render._withStripped = true
67662
67669
 
67663
67670
 
67664
- // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=b2377b8c&
67671
+ // CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=3e2bccce&
67665
67672
 
67666
67673
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
67667
- //
67668
- //
67669
- //
67670
- //
67674
+ var src_tablevue_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; };
67675
+
67671
67676
  //
67672
67677
  //
67673
67678
  //
@@ -68891,6 +68896,9 @@ tablevue_type_template_id_b2377b8c_render._withStripped = true
68891
68896
  },
68892
68897
 
68893
68898
  methods: {
68899
+ getLabel: function getLabel(res) {
68900
+ return typeof res === 'string' ? { contents: res } : src_tablevue_type_script_lang_js_extends({}, res, { plain: res.plain || res.name === undefined });
68901
+ },
68894
68902
  getRules: function getRules(res) {
68895
68903
  if (res.rules && !res.hide) {
68896
68904
  if (Array.isArray(res.rules)) {
@@ -69020,8 +69028,8 @@ tablevue_type_template_id_b2377b8c_render._withStripped = true
69020
69028
 
69021
69029
  var form_src_table_component = normalizeComponent(
69022
69030
  packages_form_src_tablevue_type_script_lang_js_,
69023
- tablevue_type_template_id_b2377b8c_render,
69024
- tablevue_type_template_id_b2377b8c_staticRenderFns,
69031
+ tablevue_type_template_id_3e2bccce_render,
69032
+ tablevue_type_template_id_3e2bccce_staticRenderFns,
69025
69033
  false,
69026
69034
  null,
69027
69035
  null,
@@ -69038,8 +69046,8 @@ form_src_table.install = function (Vue) {
69038
69046
  };
69039
69047
 
69040
69048
  /* harmony default export */ var table_form = (form_src_table);
69041
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=079ba0f8&
69042
- var mainvue_type_template_id_079ba0f8_render = function () {
69049
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=2f5f0ecd&
69050
+ var mainvue_type_template_id_2f5f0ecd_render = function () {
69043
69051
  var _vm = this
69044
69052
  var _h = _vm.$createElement
69045
69053
  var _c = _vm._self._c || _h
@@ -69418,11 +69426,11 @@ var mainvue_type_template_id_079ba0f8_render = function () {
69418
69426
  )
69419
69427
  : _vm._e()
69420
69428
  }
69421
- var mainvue_type_template_id_079ba0f8_staticRenderFns = []
69422
- mainvue_type_template_id_079ba0f8_render._withStripped = true
69429
+ var mainvue_type_template_id_2f5f0ecd_staticRenderFns = []
69430
+ mainvue_type_template_id_2f5f0ecd_render._withStripped = true
69423
69431
 
69424
69432
 
69425
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=079ba0f8&
69433
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2f5f0ecd&
69426
69434
 
69427
69435
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
69428
69436
  /* harmony default export */ var picture = ({
@@ -70182,7 +70190,6 @@ var mainvue_type_script_lang_js_props;
70182
70190
  host += this.host;
70183
70191
  }
70184
70192
  }
70185
- console.log(host);
70186
70193
  var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["q" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
70187
70194
  utils_util["a" /* default */].win.top.open(this.kkfileview + '?url=' + url);
70188
70195
  },
@@ -70509,8 +70516,8 @@ var mainvue_type_script_lang_js_props;
70509
70516
 
70510
70517
  var upload_src_main_component = normalizeComponent(
70511
70518
  packages_upload_src_mainvue_type_script_lang_js_,
70512
- mainvue_type_template_id_079ba0f8_render,
70513
- mainvue_type_template_id_079ba0f8_staticRenderFns,
70519
+ mainvue_type_template_id_2f5f0ecd_render,
70520
+ mainvue_type_template_id_2f5f0ecd_staticRenderFns,
70514
70521
  false,
70515
70522
  null,
70516
70523
  null,
@@ -70985,7 +70992,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70985
70992
  }
70986
70993
 
70987
70994
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70988
- version: '0.4.99',
70995
+ version: '0.5.11',
70989
70996
  install: install,
70990
70997
  Button: packages_button,
70991
70998
  ButtonGroup: button_group,