eoss-ui 0.4.98 → 0.4.99

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 (106) hide show
  1. package/lib/button-group.js +17 -17
  2. package/lib/button.js +17 -17
  3. package/lib/checkbox-group.js +17 -17
  4. package/lib/data-table-form.js +17 -17
  5. package/lib/data-table.js +17 -17
  6. package/lib/date-picker.js +17 -17
  7. package/lib/dialog.js +17 -17
  8. package/lib/eoss-ui.common.js +72 -49
  9. package/lib/flow-group.js +17 -17
  10. package/lib/flow-list.js +17 -17
  11. package/lib/flow.js +42 -22
  12. package/lib/form.js +17 -17
  13. package/lib/handle-user.js +17 -17
  14. package/lib/handler.js +17 -17
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +17 -17
  17. package/lib/input.js +17 -17
  18. package/lib/login.js +17 -17
  19. package/lib/main.js +36 -33
  20. package/lib/nav.js +17 -17
  21. package/lib/page.js +17 -17
  22. package/lib/player.js +17 -17
  23. package/lib/qr-code.js +17 -17
  24. package/lib/radio-group.js +17 -17
  25. package/lib/retrial-auth.js +17 -17
  26. package/lib/select-ganged.js +17 -17
  27. package/lib/select.js +17 -17
  28. package/lib/selector-panel.js +17 -17
  29. package/lib/selector.js +17 -17
  30. package/lib/sizer.js +17 -17
  31. package/lib/steps.js +17 -17
  32. package/lib/switch.js +17 -17
  33. package/lib/table-form.js +17 -17
  34. package/lib/tabs.js +17 -17
  35. package/lib/tips.js +17 -17
  36. package/lib/tree-group.js +17 -17
  37. package/lib/tree.js +17 -17
  38. package/lib/upload.js +17 -17
  39. package/lib/utils/util.js +17 -17
  40. package/lib/wujie.js +17 -17
  41. package/lib/wxlogin.js +17 -17
  42. package/package.json +1 -1
  43. package/packages/flow/src/main.vue +20 -3
  44. package/packages/main/src/main.vue +17 -6
  45. package/packages/theme-chalk/gulpfile.js +25 -0
  46. package/src/index.js +1 -1
  47. package/src/utils/util.js +17 -17
  48. package/CHANGELOG.md +0 -929
  49. package/packages/theme-chalk/lib/base.css +0 -1
  50. package/packages/theme-chalk/lib/button-group.css +0 -1
  51. package/packages/theme-chalk/lib/button.css +0 -0
  52. package/packages/theme-chalk/lib/card.css +0 -1
  53. package/packages/theme-chalk/lib/cascader.css +0 -0
  54. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  55. package/packages/theme-chalk/lib/clients.css +0 -1
  56. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  57. package/packages/theme-chalk/lib/data-table.css +0 -1
  58. package/packages/theme-chalk/lib/date-picker.css +0 -1
  59. package/packages/theme-chalk/lib/dialog.css +0 -1
  60. package/packages/theme-chalk/lib/enterprise.css +0 -1
  61. package/packages/theme-chalk/lib/error-page.css +0 -1
  62. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  63. package/packages/theme-chalk/lib/flow-group.css +0 -1
  64. package/packages/theme-chalk/lib/flow-list.css +0 -1
  65. package/packages/theme-chalk/lib/flow.css +0 -1
  66. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  67. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  68. package/packages/theme-chalk/lib/form.css +0 -1
  69. package/packages/theme-chalk/lib/handle-user.css +0 -1
  70. package/packages/theme-chalk/lib/handler.css +0 -1
  71. package/packages/theme-chalk/lib/icon.css +0 -1
  72. package/packages/theme-chalk/lib/icons.css +0 -1
  73. package/packages/theme-chalk/lib/index.css +0 -1
  74. package/packages/theme-chalk/lib/input-number.css +0 -0
  75. package/packages/theme-chalk/lib/input.css +0 -1
  76. package/packages/theme-chalk/lib/label.css +0 -1
  77. package/packages/theme-chalk/lib/layout.css +0 -1
  78. package/packages/theme-chalk/lib/login.css +0 -1
  79. package/packages/theme-chalk/lib/main.css +0 -1
  80. package/packages/theme-chalk/lib/mainComp.css +0 -0
  81. package/packages/theme-chalk/lib/menu.css +0 -1
  82. package/packages/theme-chalk/lib/nav.css +0 -1
  83. package/packages/theme-chalk/lib/notify.css +0 -0
  84. package/packages/theme-chalk/lib/page.css +0 -1
  85. package/packages/theme-chalk/lib/pagination.css +0 -1
  86. package/packages/theme-chalk/lib/player.css +0 -1
  87. package/packages/theme-chalk/lib/qr-code.css +0 -1
  88. package/packages/theme-chalk/lib/radio-group.css +0 -1
  89. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  90. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  91. package/packages/theme-chalk/lib/select.css +0 -0
  92. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  93. package/packages/theme-chalk/lib/selector.css +0 -1
  94. package/packages/theme-chalk/lib/sizer.css +0 -1
  95. package/packages/theme-chalk/lib/steps.css +0 -1
  96. package/packages/theme-chalk/lib/switch.css +0 -1
  97. package/packages/theme-chalk/lib/table-form.css +0 -0
  98. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  99. package/packages/theme-chalk/lib/tabs.css +0 -1
  100. package/packages/theme-chalk/lib/tips.css +0 -1
  101. package/packages/theme-chalk/lib/toolbar.css +0 -1
  102. package/packages/theme-chalk/lib/tree-group.css +0 -1
  103. package/packages/theme-chalk/lib/tree.css +0 -1
  104. package/packages/theme-chalk/lib/upload.css +0 -1
  105. package/packages/theme-chalk/lib/wujie.css +0 -0
  106. package/packages/theme-chalk/lib/wxlogin.css +0 -1
@@ -1939,29 +1939,29 @@ var isLogined = function isLogined(_ref8) {
1939
1939
  loginPage = _ref8.loginPage,
1940
1940
  redirect = _ref8.redirect;
1941
1941
 
1942
- var logined = getStorage('logined');
1943
1942
  if (cookie === undefined) {
1944
1943
  cookie = getParams({ name: 'cookie' });
1945
1944
  }
1946
- // eslint-disable-next-line eqeqeq
1947
- if (logined || cookie == true || cookie == 1) {
1948
- if (loginPage) {
1949
- sessionStorage.setItem('loginPage', loginPage);
1950
- if (!startWith(loginPage, ['http', '/'], true)) {
1951
- var pathname = win.top.location.pathname;
1952
- if (pathname !== '/') {
1953
- pathname = pathname.split('/');
1954
- pathname.splice(pathname.length - 1);
1955
- pathname = pathname.join('/');
1956
- loginPage = pathname + '/' + loginPage.replace('./', '');
1957
- } else {
1958
- loginPage = pathname + loginPage.replace('./', '');
1959
- }
1945
+ if (loginPage) {
1946
+ sessionStorage.setItem('loginPage', loginPage);
1947
+ if (!startWith(loginPage, ['http', '/'], true)) {
1948
+ var pathname = win.top.location.pathname;
1949
+ if (pathname !== '/') {
1950
+ pathname = pathname.split('/');
1951
+ pathname.splice(pathname.length - 1);
1952
+ pathname = pathname.join('/');
1953
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1954
+ } else {
1955
+ loginPage = pathname + loginPage.replace('./', '');
1960
1956
  }
1961
1957
  }
1962
- next();
1958
+ }
1959
+ var token = getStorage('token') || getStorage('Authorization');
1960
+ var logined = getStorage('logined');
1961
+ // eslint-disable-next-line eqeqeq
1962
+ if (token || logined || cookie == true || cookie == 1) {
1963
+ next && next();
1963
1964
  } else {
1964
- var token = getStorage('token') || getStorage('Authorization');
1965
1965
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1966
1966
  ajax({
1967
1967
  method: 'post',
package/lib/button.js CHANGED
@@ -1939,29 +1939,29 @@ var isLogined = function isLogined(_ref8) {
1939
1939
  loginPage = _ref8.loginPage,
1940
1940
  redirect = _ref8.redirect;
1941
1941
 
1942
- var logined = getStorage('logined');
1943
1942
  if (cookie === undefined) {
1944
1943
  cookie = getParams({ name: 'cookie' });
1945
1944
  }
1946
- // eslint-disable-next-line eqeqeq
1947
- if (logined || cookie == true || cookie == 1) {
1948
- if (loginPage) {
1949
- sessionStorage.setItem('loginPage', loginPage);
1950
- if (!startWith(loginPage, ['http', '/'], true)) {
1951
- var pathname = win.top.location.pathname;
1952
- if (pathname !== '/') {
1953
- pathname = pathname.split('/');
1954
- pathname.splice(pathname.length - 1);
1955
- pathname = pathname.join('/');
1956
- loginPage = pathname + '/' + loginPage.replace('./', '');
1957
- } else {
1958
- loginPage = pathname + loginPage.replace('./', '');
1959
- }
1945
+ if (loginPage) {
1946
+ sessionStorage.setItem('loginPage', loginPage);
1947
+ if (!startWith(loginPage, ['http', '/'], true)) {
1948
+ var pathname = win.top.location.pathname;
1949
+ if (pathname !== '/') {
1950
+ pathname = pathname.split('/');
1951
+ pathname.splice(pathname.length - 1);
1952
+ pathname = pathname.join('/');
1953
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1954
+ } else {
1955
+ loginPage = pathname + loginPage.replace('./', '');
1960
1956
  }
1961
1957
  }
1962
- next();
1958
+ }
1959
+ var token = getStorage('token') || getStorage('Authorization');
1960
+ var logined = getStorage('logined');
1961
+ // eslint-disable-next-line eqeqeq
1962
+ if (token || logined || cookie == true || cookie == 1) {
1963
+ next && next();
1963
1964
  } else {
1964
- var token = getStorage('token') || getStorage('Authorization');
1965
1965
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1966
1966
  ajax({
1967
1967
  method: 'post',
@@ -1939,29 +1939,29 @@ var isLogined = function isLogined(_ref8) {
1939
1939
  loginPage = _ref8.loginPage,
1940
1940
  redirect = _ref8.redirect;
1941
1941
 
1942
- var logined = getStorage('logined');
1943
1942
  if (cookie === undefined) {
1944
1943
  cookie = getParams({ name: 'cookie' });
1945
1944
  }
1946
- // eslint-disable-next-line eqeqeq
1947
- if (logined || cookie == true || cookie == 1) {
1948
- if (loginPage) {
1949
- sessionStorage.setItem('loginPage', loginPage);
1950
- if (!startWith(loginPage, ['http', '/'], true)) {
1951
- var pathname = win.top.location.pathname;
1952
- if (pathname !== '/') {
1953
- pathname = pathname.split('/');
1954
- pathname.splice(pathname.length - 1);
1955
- pathname = pathname.join('/');
1956
- loginPage = pathname + '/' + loginPage.replace('./', '');
1957
- } else {
1958
- loginPage = pathname + loginPage.replace('./', '');
1959
- }
1945
+ if (loginPage) {
1946
+ sessionStorage.setItem('loginPage', loginPage);
1947
+ if (!startWith(loginPage, ['http', '/'], true)) {
1948
+ var pathname = win.top.location.pathname;
1949
+ if (pathname !== '/') {
1950
+ pathname = pathname.split('/');
1951
+ pathname.splice(pathname.length - 1);
1952
+ pathname = pathname.join('/');
1953
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1954
+ } else {
1955
+ loginPage = pathname + loginPage.replace('./', '');
1960
1956
  }
1961
1957
  }
1962
- next();
1958
+ }
1959
+ var token = getStorage('token') || getStorage('Authorization');
1960
+ var logined = getStorage('logined');
1961
+ // eslint-disable-next-line eqeqeq
1962
+ if (token || logined || cookie == true || cookie == 1) {
1963
+ next && next();
1963
1964
  } else {
1964
- var token = getStorage('token') || getStorage('Authorization');
1965
1965
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1966
1966
  ajax({
1967
1967
  method: 'post',
@@ -1938,29 +1938,29 @@ var isLogined = function isLogined(_ref8) {
1938
1938
  loginPage = _ref8.loginPage,
1939
1939
  redirect = _ref8.redirect;
1940
1940
 
1941
- var logined = getStorage('logined');
1942
1941
  if (cookie === undefined) {
1943
1942
  cookie = getParams({ name: 'cookie' });
1944
1943
  }
1945
- // eslint-disable-next-line eqeqeq
1946
- if (logined || cookie == true || cookie == 1) {
1947
- if (loginPage) {
1948
- sessionStorage.setItem('loginPage', loginPage);
1949
- if (!startWith(loginPage, ['http', '/'], true)) {
1950
- var pathname = win.top.location.pathname;
1951
- if (pathname !== '/') {
1952
- pathname = pathname.split('/');
1953
- pathname.splice(pathname.length - 1);
1954
- pathname = pathname.join('/');
1955
- loginPage = pathname + '/' + loginPage.replace('./', '');
1956
- } else {
1957
- loginPage = pathname + loginPage.replace('./', '');
1958
- }
1944
+ if (loginPage) {
1945
+ sessionStorage.setItem('loginPage', loginPage);
1946
+ if (!startWith(loginPage, ['http', '/'], true)) {
1947
+ var pathname = win.top.location.pathname;
1948
+ if (pathname !== '/') {
1949
+ pathname = pathname.split('/');
1950
+ pathname.splice(pathname.length - 1);
1951
+ pathname = pathname.join('/');
1952
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1953
+ } else {
1954
+ loginPage = pathname + loginPage.replace('./', '');
1959
1955
  }
1960
1956
  }
1961
- next();
1957
+ }
1958
+ var token = getStorage('token') || getStorage('Authorization');
1959
+ var logined = getStorage('logined');
1960
+ // eslint-disable-next-line eqeqeq
1961
+ if (token || logined || cookie == true || cookie == 1) {
1962
+ next && next();
1962
1963
  } else {
1963
- var token = getStorage('token') || getStorage('Authorization');
1964
1964
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1965
1965
  ajax({
1966
1966
  method: 'post',
package/lib/data-table.js CHANGED
@@ -1938,29 +1938,29 @@ var isLogined = function isLogined(_ref8) {
1938
1938
  loginPage = _ref8.loginPage,
1939
1939
  redirect = _ref8.redirect;
1940
1940
 
1941
- var logined = getStorage('logined');
1942
1941
  if (cookie === undefined) {
1943
1942
  cookie = getParams({ name: 'cookie' });
1944
1943
  }
1945
- // eslint-disable-next-line eqeqeq
1946
- if (logined || cookie == true || cookie == 1) {
1947
- if (loginPage) {
1948
- sessionStorage.setItem('loginPage', loginPage);
1949
- if (!startWith(loginPage, ['http', '/'], true)) {
1950
- var pathname = win.top.location.pathname;
1951
- if (pathname !== '/') {
1952
- pathname = pathname.split('/');
1953
- pathname.splice(pathname.length - 1);
1954
- pathname = pathname.join('/');
1955
- loginPage = pathname + '/' + loginPage.replace('./', '');
1956
- } else {
1957
- loginPage = pathname + loginPage.replace('./', '');
1958
- }
1944
+ if (loginPage) {
1945
+ sessionStorage.setItem('loginPage', loginPage);
1946
+ if (!startWith(loginPage, ['http', '/'], true)) {
1947
+ var pathname = win.top.location.pathname;
1948
+ if (pathname !== '/') {
1949
+ pathname = pathname.split('/');
1950
+ pathname.splice(pathname.length - 1);
1951
+ pathname = pathname.join('/');
1952
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1953
+ } else {
1954
+ loginPage = pathname + loginPage.replace('./', '');
1959
1955
  }
1960
1956
  }
1961
- next();
1957
+ }
1958
+ var token = getStorage('token') || getStorage('Authorization');
1959
+ var logined = getStorage('logined');
1960
+ // eslint-disable-next-line eqeqeq
1961
+ if (token || logined || cookie == true || cookie == 1) {
1962
+ next && next();
1962
1963
  } else {
1963
- var token = getStorage('token') || getStorage('Authorization');
1964
1964
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1965
1965
  ajax({
1966
1966
  method: 'post',
@@ -1939,29 +1939,29 @@ var isLogined = function isLogined(_ref8) {
1939
1939
  loginPage = _ref8.loginPage,
1940
1940
  redirect = _ref8.redirect;
1941
1941
 
1942
- var logined = getStorage('logined');
1943
1942
  if (cookie === undefined) {
1944
1943
  cookie = getParams({ name: 'cookie' });
1945
1944
  }
1946
- // eslint-disable-next-line eqeqeq
1947
- if (logined || cookie == true || cookie == 1) {
1948
- if (loginPage) {
1949
- sessionStorage.setItem('loginPage', loginPage);
1950
- if (!startWith(loginPage, ['http', '/'], true)) {
1951
- var pathname = win.top.location.pathname;
1952
- if (pathname !== '/') {
1953
- pathname = pathname.split('/');
1954
- pathname.splice(pathname.length - 1);
1955
- pathname = pathname.join('/');
1956
- loginPage = pathname + '/' + loginPage.replace('./', '');
1957
- } else {
1958
- loginPage = pathname + loginPage.replace('./', '');
1959
- }
1945
+ if (loginPage) {
1946
+ sessionStorage.setItem('loginPage', loginPage);
1947
+ if (!startWith(loginPage, ['http', '/'], true)) {
1948
+ var pathname = win.top.location.pathname;
1949
+ if (pathname !== '/') {
1950
+ pathname = pathname.split('/');
1951
+ pathname.splice(pathname.length - 1);
1952
+ pathname = pathname.join('/');
1953
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1954
+ } else {
1955
+ loginPage = pathname + loginPage.replace('./', '');
1960
1956
  }
1961
1957
  }
1962
- next();
1958
+ }
1959
+ var token = getStorage('token') || getStorage('Authorization');
1960
+ var logined = getStorage('logined');
1961
+ // eslint-disable-next-line eqeqeq
1962
+ if (token || logined || cookie == true || cookie == 1) {
1963
+ next && next();
1963
1964
  } else {
1964
- var token = getStorage('token') || getStorage('Authorization');
1965
1965
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1966
1966
  ajax({
1967
1967
  method: 'post',
package/lib/dialog.js CHANGED
@@ -1938,29 +1938,29 @@ var isLogined = function isLogined(_ref8) {
1938
1938
  loginPage = _ref8.loginPage,
1939
1939
  redirect = _ref8.redirect;
1940
1940
 
1941
- var logined = getStorage('logined');
1942
1941
  if (cookie === undefined) {
1943
1942
  cookie = getParams({ name: 'cookie' });
1944
1943
  }
1945
- // eslint-disable-next-line eqeqeq
1946
- if (logined || cookie == true || cookie == 1) {
1947
- if (loginPage) {
1948
- sessionStorage.setItem('loginPage', loginPage);
1949
- if (!startWith(loginPage, ['http', '/'], true)) {
1950
- var pathname = win.top.location.pathname;
1951
- if (pathname !== '/') {
1952
- pathname = pathname.split('/');
1953
- pathname.splice(pathname.length - 1);
1954
- pathname = pathname.join('/');
1955
- loginPage = pathname + '/' + loginPage.replace('./', '');
1956
- } else {
1957
- loginPage = pathname + loginPage.replace('./', '');
1958
- }
1944
+ if (loginPage) {
1945
+ sessionStorage.setItem('loginPage', loginPage);
1946
+ if (!startWith(loginPage, ['http', '/'], true)) {
1947
+ var pathname = win.top.location.pathname;
1948
+ if (pathname !== '/') {
1949
+ pathname = pathname.split('/');
1950
+ pathname.splice(pathname.length - 1);
1951
+ pathname = pathname.join('/');
1952
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1953
+ } else {
1954
+ loginPage = pathname + loginPage.replace('./', '');
1959
1955
  }
1960
1956
  }
1961
- next();
1957
+ }
1958
+ var token = getStorage('token') || getStorage('Authorization');
1959
+ var logined = getStorage('logined');
1960
+ // eslint-disable-next-line eqeqeq
1961
+ if (token || logined || cookie == true || cookie == 1) {
1962
+ next && next();
1962
1963
  } else {
1963
- var token = getStorage('token') || getStorage('Authorization');
1964
1964
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1965
1965
  ajax({
1966
1966
  method: 'post',
@@ -1938,29 +1938,29 @@ var isLogined = function isLogined(_ref8) {
1938
1938
  loginPage = _ref8.loginPage,
1939
1939
  redirect = _ref8.redirect;
1940
1940
 
1941
- var logined = getStorage('logined');
1942
1941
  if (cookie === undefined) {
1943
1942
  cookie = getParams({ name: 'cookie' });
1944
1943
  }
1945
- // eslint-disable-next-line eqeqeq
1946
- if (logined || cookie == true || cookie == 1) {
1947
- if (loginPage) {
1948
- sessionStorage.setItem('loginPage', loginPage);
1949
- if (!startWith(loginPage, ['http', '/'], true)) {
1950
- var pathname = win.top.location.pathname;
1951
- if (pathname !== '/') {
1952
- pathname = pathname.split('/');
1953
- pathname.splice(pathname.length - 1);
1954
- pathname = pathname.join('/');
1955
- loginPage = pathname + '/' + loginPage.replace('./', '');
1956
- } else {
1957
- loginPage = pathname + loginPage.replace('./', '');
1958
- }
1944
+ if (loginPage) {
1945
+ sessionStorage.setItem('loginPage', loginPage);
1946
+ if (!startWith(loginPage, ['http', '/'], true)) {
1947
+ var pathname = win.top.location.pathname;
1948
+ if (pathname !== '/') {
1949
+ pathname = pathname.split('/');
1950
+ pathname.splice(pathname.length - 1);
1951
+ pathname = pathname.join('/');
1952
+ loginPage = pathname + '/' + loginPage.replace('./', '');
1953
+ } else {
1954
+ loginPage = pathname + loginPage.replace('./', '');
1959
1955
  }
1960
1956
  }
1961
- next();
1957
+ }
1958
+ var token = getStorage('token') || getStorage('Authorization');
1959
+ var logined = getStorage('logined');
1960
+ // eslint-disable-next-line eqeqeq
1961
+ if (token || logined || cookie == true || cookie == 1) {
1962
+ next && next();
1962
1963
  } else {
1963
- var token = getStorage('token') || getStorage('Authorization');
1964
1964
  if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
1965
1965
  ajax({
1966
1966
  method: 'post',
@@ -28676,8 +28676,8 @@ form_src_main.install = function (Vue) {
28676
28676
  };
28677
28677
 
28678
28678
  /* harmony default export */ var packages_form = (form_src_main);
28679
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=6538259e&
28680
- var mainvue_type_template_id_6538259e_render = function () {
28679
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=fd749ad0&
28680
+ var mainvue_type_template_id_fd749ad0_render = function () {
28681
28681
  var _vm = this
28682
28682
  var _h = _vm.$createElement
28683
28683
  var _c = _vm._self._c || _h
@@ -30004,7 +30004,16 @@ var mainvue_type_template_id_6538259e_render = function () {
30004
30004
  _vm.rejectBtn,
30005
30005
  },
30006
30006
  },
30007
- [_vm._v("驳回")]
30007
+ [
30008
+ _vm._v(
30009
+ "\n " +
30010
+ _vm._s(
30011
+ _vm.rejectObj
30012
+ .value
30013
+ ) +
30014
+ "\n "
30015
+ ),
30016
+ ]
30008
30017
  ),
30009
30018
  ])
30010
30019
  : _vm._e(),
@@ -30298,11 +30307,11 @@ var mainvue_type_template_id_6538259e_render = function () {
30298
30307
  )
30299
30308
  : _vm._e()
30300
30309
  }
30301
- var mainvue_type_template_id_6538259e_staticRenderFns = []
30302
- mainvue_type_template_id_6538259e_render._withStripped = true
30310
+ var mainvue_type_template_id_fd749ad0_staticRenderFns = []
30311
+ mainvue_type_template_id_fd749ad0_render._withStripped = true
30303
30312
 
30304
30313
 
30305
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=6538259e&
30314
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fd749ad0&
30306
30315
 
30307
30316
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
30308
30317
  var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
@@ -37849,6 +37858,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
37849
37858
  //
37850
37859
  //
37851
37860
  //
37861
+ //
37862
+ //
37852
37863
 
37853
37864
 
37854
37865
 
@@ -37910,6 +37921,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
37910
37921
  flowDisabled: false,
37911
37922
  activeNames: '',
37912
37923
  isEndUserTask: true,
37924
+ isForceDisplayDefaultOptionForPrefix: false,
37913
37925
  selectUserList: [],
37914
37926
  selectNextCurrentOrgObjList: [],
37915
37927
  flowMultiple: true,
@@ -39094,6 +39106,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39094
39106
  } else if (_this14.nodeInfos.length > 0) {
39095
39107
  _this14.nextNode.nextNodeId = _this14.nodeInfos[0].nodeId;
39096
39108
  }
39109
+ _this14.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
39110
+ if (nodeInfoMap.nodeExtAttr.submitText) {
39111
+ _this14.btnList.map(function (x) {
39112
+ if (x.event === 'sub') {
39113
+ x.text = nodeInfoMap.nodeExtAttr.submitText;
39114
+ }
39115
+ });
39116
+ }
39097
39117
  }
39098
39118
  _this14.choiceOrgId = choiceOrgId;
39099
39119
  _this14.choiceDeptId = choiceDeptId;
@@ -39154,7 +39174,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39154
39174
  if (!_this14.isOpinionRequired) {
39155
39175
  _this14.isOpinionRequired = 0;
39156
39176
  }
39157
- opinion && (_this14.value = opinion);
39177
+ // opinion && (this.value = opinion);
39158
39178
  _this14.nextNode.notificationMsg = defaultNotificationMessage;
39159
39179
  _this14.moreList = [];
39160
39180
  if (taskButtonList && taskButtonList.length != 0) {
@@ -39458,7 +39478,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39458
39478
  removeSignUserId = removeSignUserId.join(',');
39459
39479
  params = flow_src_mainvue_type_script_lang_js_extends({}, _this18.nextNode, {
39460
39480
  pendingId: _this18.pendingId,
39461
- opinion: _this18.value,
39481
+ opinion: _this18.isForceDisplayDefaultOptionForPrefix && !_this18.value.startsWith(_this18.nodeDefaultSubmitOpinion) ? _this18.nodeDefaultSubmitOpinion + _this18.value : _this18.value,
39462
39482
  userId: utils_util["a" /* default */].getStorage('userId'),
39463
39483
  nextUserId: _this18.multiple ? nextUserId.join(',') : _this18.nextNode.nextUserId,
39464
39484
  addSignUserId: addSignUserId,
@@ -39573,8 +39593,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
39573
39593
 
39574
39594
  var flow_src_main_component = normalizeComponent(
39575
39595
  packages_flow_src_mainvue_type_script_lang_js_,
39576
- mainvue_type_template_id_6538259e_render,
39577
- mainvue_type_template_id_6538259e_staticRenderFns,
39596
+ mainvue_type_template_id_fd749ad0_render,
39597
+ mainvue_type_template_id_fd749ad0_staticRenderFns,
39578
39598
  false,
39579
39599
  null,
39580
39600
  null,
@@ -47398,8 +47418,8 @@ login_src_main.install = function (Vue) {
47398
47418
  };
47399
47419
 
47400
47420
  /* harmony default export */ var login = (login_src_main);
47401
- // 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=67d8ca27&
47402
- var mainvue_type_template_id_67d8ca27_render = function () {
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 () {
47403
47423
  var _vm = this
47404
47424
  var _h = _vm.$createElement
47405
47425
  var _c = _vm._self._c || _h
@@ -47824,11 +47844,11 @@ var mainvue_type_template_id_67d8ca27_render = function () {
47824
47844
  1
47825
47845
  )
47826
47846
  }
47827
- var mainvue_type_template_id_67d8ca27_staticRenderFns = []
47828
- mainvue_type_template_id_67d8ca27_render._withStripped = true
47847
+ var mainvue_type_template_id_6d42b802_staticRenderFns = []
47848
+ mainvue_type_template_id_6d42b802_render._withStripped = true
47829
47849
 
47830
47850
 
47831
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=67d8ca27&
47851
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6d42b802&
47832
47852
 
47833
47853
  // 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&
47834
47854
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -50237,11 +50257,15 @@ var log = utils_util["a" /* default */].getParams('console');
50237
50257
  };
50238
50258
  },
50239
50259
  created: function created() {
50260
+ 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
+ }
50240
50264
  this.homePage = typeof this.loadHomePage === 'string' ? this.loadHomePage : '';
50241
- this.isHeader = utils_util["a" /* default */].getParams('header');
50265
+ this.isHeader = params.header;
50242
50266
  var sysLogoIco = sessionStorage.getItem('sysLogoIco');
50243
50267
  sysLogoIco && utils_util["a" /* default */].setFavicon(sysLogoIco);
50244
- this.isLogin();
50268
+ this.isLogin(params);
50245
50269
  },
50246
50270
  mounted: function mounted() {
50247
50271
  utils_util["a" /* default */].win.reLogin = this.handleReLogin;
@@ -50257,16 +50281,15 @@ var log = utils_util["a" /* default */].getParams('console');
50257
50281
  },
50258
50282
 
50259
50283
  methods: {
50260
- isLogin: function isLogin() {
50284
+ isLogin: function isLogin(query) {
50261
50285
  var _this = this;
50262
50286
 
50263
50287
  return main_src_mainvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
50264
- var query, token, loginPage, pathname;
50288
+ var token, loginPage, pathname;
50265
50289
  return regenerator_default.a.wrap(function _callee$(_context) {
50266
50290
  while (1) {
50267
50291
  switch (_context.prev = _context.next) {
50268
50292
  case 0:
50269
- query = utils_util["a" /* default */].getParams();
50270
50293
  token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
50271
50294
  loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
50272
50295
 
@@ -50285,12 +50308,12 @@ var log = utils_util["a" /* default */].getParams('console');
50285
50308
  }
50286
50309
  }
50287
50310
 
50288
- if (!(!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType'))) {
50289
- _context.next = 9;
50311
+ if (!(!token && query && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType'))) {
50312
+ _context.next = 8;
50290
50313
  break;
50291
50314
  }
50292
50315
 
50293
- _context.next = 7;
50316
+ _context.next = 6;
50294
50317
  return utils_util["a" /* default */].ajax({
50295
50318
  method: 'post',
50296
50319
  url: api["b" /* authCenter */],
@@ -50393,14 +50416,14 @@ var log = utils_util["a" /* default */].getParams('console');
50393
50416
  }
50394
50417
  }).catch(function (e) {});
50395
50418
 
50396
- case 7:
50397
- _context.next = 10;
50419
+ case 6:
50420
+ _context.next = 9;
50398
50421
  break;
50399
50422
 
50400
- case 9:
50423
+ case 8:
50401
50424
  _this.getConfig();
50402
50425
 
50403
- case 10:
50426
+ case 9:
50404
50427
  case 'end':
50405
50428
  return _context.stop();
50406
50429
  }
@@ -50940,7 +50963,7 @@ var log = utils_util["a" /* default */].getParams('console');
50940
50963
  _this7.setTips(item);
50941
50964
  });
50942
50965
  } else {
50943
- if (Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
50966
+ if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
50944
50967
  this.$set(obj, 'tips', false);
50945
50968
  delete obj.tips;
50946
50969
  }
@@ -51238,7 +51261,7 @@ var log = utils_util["a" /* default */].getParams('console');
51238
51261
  if (res.path !== '/' && pathname == _path) {
51239
51262
  return pathname;
51240
51263
  }
51241
- if (Object.prototype.hasOwnProperty.call(res, 'children')) {
51264
+ if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
51242
51265
  var _path2 = this.hasRouter(res.children, url);
51243
51266
  if (_path2) {
51244
51267
  return _path2;
@@ -51711,8 +51734,8 @@ var log = utils_util["a" /* default */].getParams('console');
51711
51734
 
51712
51735
  var main_src_main_component = normalizeComponent(
51713
51736
  packages_main_src_mainvue_type_script_lang_js_,
51714
- mainvue_type_template_id_67d8ca27_render,
51715
- mainvue_type_template_id_67d8ca27_staticRenderFns,
51737
+ mainvue_type_template_id_6d42b802_render,
51738
+ mainvue_type_template_id_6d42b802_staticRenderFns,
51716
51739
  false,
51717
51740
  null,
51718
51741
  null,
@@ -70962,7 +70985,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70962
70985
  }
70963
70986
 
70964
70987
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70965
- version: '0.4.98',
70988
+ version: '0.4.99',
70966
70989
  install: install,
70967
70990
  Button: packages_button,
70968
70991
  ButtonGroup: button_group,