eoss-ui 0.5.43 → 0.5.44
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.
- package/CHANGELOG.md +929 -0
- package/README.md +18 -0
- package/lib/button-group.js +120 -69
- package/lib/button.js +133 -72
- package/lib/checkbox-group.js +116 -67
- package/lib/data-table-form.js +126 -74
- package/lib/data-table.js +210 -104
- package/lib/date-picker.js +116 -67
- package/lib/dialog.js +132 -71
- package/lib/eoss-ui.common.js +704 -411
- package/lib/flow-group.js +144 -74
- package/lib/flow-list.js +120 -69
- package/lib/flow.js +169 -99
- package/lib/form.js +125 -69
- package/lib/handle-user.js +127 -70
- package/lib/handler.js +145 -92
- package/lib/index.js +1 -1
- package/lib/input-number.js +116 -67
- package/lib/input.js +116 -67
- package/lib/login.js +149 -97
- package/lib/main.js +234 -152
- package/lib/nav.js +116 -67
- package/lib/page.js +116 -67
- package/lib/player.js +116 -67
- package/lib/qr-code.js +116 -67
- package/lib/radio-group.js +116 -67
- package/lib/retrial-auth.js +130 -71
- package/lib/select-ganged.js +116 -67
- package/lib/select.js +116 -67
- package/lib/selector-panel.js +131 -74
- package/lib/selector.js +116 -67
- package/lib/sizer.js +116 -67
- package/lib/steps.js +116 -67
- package/lib/switch.js +116 -67
- package/lib/table-form.js +123 -72
- package/lib/tabs.js +119 -69
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +116 -67
- package/lib/tree-group.js +151 -71
- package/lib/tree.js +116 -67
- package/lib/upload.js +136 -78
- package/lib/utils/util.js +116 -67
- package/lib/wujie.js +116 -67
- package/lib/wxlogin.js +116 -67
- package/package.json +2 -2
- package/packages/button/src/main.vue +17 -5
- package/packages/button-group/src/main.vue +2 -0
- package/packages/data-table/src/column.vue +4 -0
- package/packages/data-table/src/main.vue +66 -26
- package/packages/data-table-form/src/tbody.vue +3 -0
- package/packages/dialog/src/main.vue +14 -2
- package/packages/flow/src/component/CustomPreset.vue +14 -7
- package/packages/flow/src/component/FileList.vue +4 -2
- package/packages/flow/src/component/Preset.vue +11 -13
- package/packages/flow/src/form.vue +5 -4
- package/packages/flow/src/main.vue +7 -7
- package/packages/flow/src/table.vue +8 -1
- package/packages/flow-group/src/main.vue +26 -5
- package/packages/form/src/main.vue +12 -0
- package/packages/form/src/table.vue +2 -0
- package/packages/handle-user/src/main.vue +9 -1
- package/packages/handler/src/main.vue +31 -27
- package/packages/login/src/main.vue +35 -31
- package/packages/main/src/async-component/index.vue +4 -2
- package/packages/main/src/main.vue +62 -30
- package/packages/main/src/userinfo.vue +29 -25
- package/packages/retrial-auth/src/main.vue +12 -2
- package/packages/selector-panel/src/selection.vue +6 -0
- package/packages/tabs/src/main.vue +1 -0
- package/packages/theme-chalk/lib/base.css +1 -0
- package/packages/theme-chalk/lib/button-group.css +1 -0
- package/packages/theme-chalk/lib/button.css +1 -0
- package/packages/theme-chalk/lib/card.css +1 -0
- package/packages/theme-chalk/lib/cascader.css +0 -0
- package/packages/theme-chalk/lib/checkbox-group.css +1 -0
- package/packages/theme-chalk/lib/clients.css +1 -0
- package/packages/theme-chalk/lib/data-table-form.css +1 -0
- package/packages/theme-chalk/lib/data-table.css +1 -0
- package/packages/theme-chalk/lib/date-picker.css +1 -0
- package/packages/theme-chalk/lib/dialog.css +1 -0
- package/packages/theme-chalk/lib/enterprise.css +1 -0
- package/packages/theme-chalk/lib/error-page.css +1 -0
- package/packages/theme-chalk/lib/flow-chart.css +0 -0
- package/packages/theme-chalk/lib/flow-group.css +1 -0
- package/packages/theme-chalk/lib/flow-list.css +1 -0
- package/packages/theme-chalk/lib/flow.css +1 -0
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/form.css +1 -0
- package/packages/theme-chalk/lib/handle-user.css +1 -0
- package/packages/theme-chalk/lib/handler.css +1 -0
- package/packages/theme-chalk/lib/icon.css +1 -0
- package/packages/theme-chalk/lib/icons.css +1 -0
- package/packages/theme-chalk/lib/index.css +1 -0
- package/packages/theme-chalk/lib/input-number.css +0 -0
- package/packages/theme-chalk/lib/input.css +1 -0
- package/packages/theme-chalk/lib/label.css +1 -0
- package/packages/theme-chalk/lib/layout.css +1 -0
- package/packages/theme-chalk/lib/login.css +1 -0
- package/packages/theme-chalk/lib/main.css +1 -0
- package/packages/theme-chalk/lib/mainComp.css +0 -0
- package/packages/theme-chalk/lib/menu.css +1 -0
- package/packages/theme-chalk/lib/nav.css +1 -0
- package/packages/theme-chalk/lib/notify.css +0 -0
- package/packages/theme-chalk/lib/page.css +1 -0
- package/packages/theme-chalk/lib/pagination.css +1 -0
- package/packages/theme-chalk/lib/player.css +1 -0
- package/packages/theme-chalk/lib/qr-code.css +1 -0
- package/packages/theme-chalk/lib/radio-group.css +1 -0
- package/packages/theme-chalk/lib/retrial-auth.css +1 -0
- package/packages/theme-chalk/lib/select-ganged.css +1 -0
- package/packages/theme-chalk/lib/select.css +1 -0
- package/packages/theme-chalk/lib/selector-panel.css +1 -0
- package/packages/theme-chalk/lib/selector.css +1 -0
- package/packages/theme-chalk/lib/sizer.css +1 -0
- package/packages/theme-chalk/lib/steps.css +1 -0
- package/packages/theme-chalk/lib/switch.css +1 -0
- package/packages/theme-chalk/lib/table-form.css +0 -0
- package/packages/theme-chalk/lib/tabs-panel.css +0 -0
- package/packages/theme-chalk/lib/tabs.css +1 -0
- package/packages/theme-chalk/lib/tips.css +1 -0
- package/packages/theme-chalk/lib/toolbar.css +1 -0
- package/packages/theme-chalk/lib/tree-group.css +1 -0
- package/packages/theme-chalk/lib/tree.css +1 -0
- package/packages/theme-chalk/lib/upload.css +1 -0
- package/packages/theme-chalk/lib/wujie.css +0 -0
- package/packages/theme-chalk/lib/wxlogin.css +1 -0
- package/packages/theme-chalk/src/data-table.scss +6 -0
- package/packages/tree-group/src/main.vue +36 -2
- package/packages/upload/src/main.vue +15 -6
- package/src/index.js +1 -1
- package/src/utils/util.js +132 -80
- package/packages/theme-chalk/gulpfile.js +0 -25
package/lib/eoss-ui.common.js
CHANGED
|
@@ -257,7 +257,13 @@ var ajax = function ajax(_ref) {
|
|
|
257
257
|
if (response.status === 200) {
|
|
258
258
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
259
259
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
260
|
-
|
|
260
|
+
var href = '';
|
|
261
|
+
try {
|
|
262
|
+
href = win.top.location.href;
|
|
263
|
+
} catch (error) {
|
|
264
|
+
href = win.location.href;
|
|
265
|
+
}
|
|
266
|
+
if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
|
|
261
267
|
var remind = sessionStorage.getItem('remind');
|
|
262
268
|
if (!remind) {
|
|
263
269
|
clearTimeout(loginMsg);
|
|
@@ -273,33 +279,37 @@ var ajax = function ajax(_ref) {
|
|
|
273
279
|
closeOnClickModal: false,
|
|
274
280
|
type: 'warning'
|
|
275
281
|
}).then(function () {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
pathname
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
try {
|
|
283
|
+
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
284
|
+
if (loginPage) {
|
|
285
|
+
var src = void 0;
|
|
286
|
+
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
287
|
+
var pathname = win.top.location.pathname;
|
|
288
|
+
if (pathname !== '/') {
|
|
289
|
+
pathname = pathname.split('/');
|
|
290
|
+
pathname.splice(pathname.length - 1);
|
|
291
|
+
pathname = pathname.join('/');
|
|
292
|
+
src = pathname + '/' + loginPage.replace('./', '');
|
|
293
|
+
} else {
|
|
294
|
+
src = pathname + loginPage.replace('./', '');
|
|
295
|
+
}
|
|
286
296
|
} else {
|
|
287
|
-
src =
|
|
297
|
+
src = loginPage;
|
|
288
298
|
}
|
|
299
|
+
win.top.location.href = src;
|
|
300
|
+
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
301
|
+
win.top.location.href = './login.html';
|
|
289
302
|
} else {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
if (hash) {
|
|
298
|
-
var len = win.top.location.href.indexOf(hash);
|
|
299
|
-
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
300
|
-
} else {
|
|
301
|
-
win.top.location.href = '/login.html';
|
|
303
|
+
var hash = win.top.location.hash;
|
|
304
|
+
if (hash) {
|
|
305
|
+
var len = win.top.location.href.indexOf(hash);
|
|
306
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
307
|
+
} else {
|
|
308
|
+
win.top.location.href = '/login.html';
|
|
309
|
+
}
|
|
302
310
|
}
|
|
311
|
+
} catch (error) {
|
|
312
|
+
win.postMessage({ type: 1 }, '*');
|
|
303
313
|
}
|
|
304
314
|
}).catch(function (e) {
|
|
305
315
|
sessionStorage.removeItem('remind');
|
|
@@ -737,7 +747,13 @@ var delUrlParam = function delUrlParam(_ref2) {
|
|
|
737
747
|
var url = _ref2.url,
|
|
738
748
|
key = _ref2.key;
|
|
739
749
|
|
|
740
|
-
var
|
|
750
|
+
var pUrl = '';
|
|
751
|
+
try {
|
|
752
|
+
pUrl = win.top.location.href;
|
|
753
|
+
} catch (error) {
|
|
754
|
+
pUrl = win.location.href;
|
|
755
|
+
}
|
|
756
|
+
var src = url ? decodeURI(url) : decodeURI(pUrl);
|
|
741
757
|
var param = getParams({ url: src });
|
|
742
758
|
if (param && key.length) {
|
|
743
759
|
if (Array.isArray(key)) {
|
|
@@ -1987,7 +2003,12 @@ var isLogined = function isLogined(_ref8) {
|
|
|
1987
2003
|
}).catch(function () {});
|
|
1988
2004
|
return;
|
|
1989
2005
|
}
|
|
1990
|
-
var pathname =
|
|
2006
|
+
var pathname = '';
|
|
2007
|
+
try {
|
|
2008
|
+
pathname = win.top.location.pathname;
|
|
2009
|
+
} catch (error) {
|
|
2010
|
+
pathname = win.location.pathname;
|
|
2011
|
+
}
|
|
1991
2012
|
if (loginPage) {
|
|
1992
2013
|
sessionStorage.setItem('loginPage', loginPage);
|
|
1993
2014
|
if (!startWith(loginPage, ['http', '/'], true)) {
|
|
@@ -2028,22 +2049,38 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2028
2049
|
deviceUnique: results.deviceUnique
|
|
2029
2050
|
}
|
|
2030
2051
|
});
|
|
2031
|
-
|
|
2032
|
-
url
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2052
|
+
try {
|
|
2053
|
+
var url = delUrlParam({
|
|
2054
|
+
url: win.top.location.href,
|
|
2055
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2056
|
+
});
|
|
2057
|
+
win.top.location.href = url;
|
|
2058
|
+
setTimeout(function () {
|
|
2059
|
+
win.top.location.reload();
|
|
2060
|
+
}, 200);
|
|
2061
|
+
} catch (error) {
|
|
2062
|
+
var _url2 = delUrlParam({
|
|
2063
|
+
url: win.location.href,
|
|
2064
|
+
key: ['serverId', 'authType', 'code', 'sessionId']
|
|
2065
|
+
});
|
|
2066
|
+
win.location.href = _url2;
|
|
2067
|
+
setTimeout(function () {
|
|
2068
|
+
win.location.reload();
|
|
2069
|
+
}, 200);
|
|
2070
|
+
}
|
|
2039
2071
|
break;
|
|
2040
2072
|
case 1:
|
|
2041
2073
|
break;
|
|
2042
2074
|
case 2:
|
|
2043
2075
|
break;
|
|
2044
2076
|
case 3:
|
|
2045
|
-
|
|
2046
|
-
|
|
2077
|
+
try {
|
|
2078
|
+
var href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.top.location.href));
|
|
2079
|
+
win.top.location.href = href;
|
|
2080
|
+
} catch (error) {
|
|
2081
|
+
var _href = results.authorizeUrl.replace('{redirectUri}', encodeURIComponent(win.location.href));
|
|
2082
|
+
win.location.href = _href;
|
|
2083
|
+
}
|
|
2047
2084
|
break;
|
|
2048
2085
|
case 4:
|
|
2049
2086
|
eoss_element__WEBPACK_IMPORTED_MODULE_5__["MessageBox"].alert(results.msg ? results.msg : '账号未绑定,账号密码登录后自动绑定!', '提示', {
|
|
@@ -2051,14 +2088,18 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2051
2088
|
type: 'error',
|
|
2052
2089
|
callback: function callback() {
|
|
2053
2090
|
sessionStorage.setItem('extUserBindHandleId', results.extUserBindHandleId);
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
win.top.location.href
|
|
2060
|
-
|
|
2061
|
-
|
|
2091
|
+
try {
|
|
2092
|
+
if (loginPage) {
|
|
2093
|
+
win.top.location.replace(loginPage);
|
|
2094
|
+
} else if (document.referrer) {
|
|
2095
|
+
win.top.location.replace(document.referrer);
|
|
2096
|
+
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
2097
|
+
win.top.location.href = './login.html';
|
|
2098
|
+
} else {
|
|
2099
|
+
next('/login');
|
|
2100
|
+
}
|
|
2101
|
+
} catch (error) {
|
|
2102
|
+
win.postMessage({ type: 1 }, '*');
|
|
2062
2103
|
}
|
|
2063
2104
|
}
|
|
2064
2105
|
});
|
|
@@ -2070,14 +2111,18 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2070
2111
|
confirmButtonText: '确定',
|
|
2071
2112
|
type: 'error',
|
|
2072
2113
|
callback: function callback() {
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
win.top.location.href
|
|
2079
|
-
|
|
2080
|
-
|
|
2114
|
+
try {
|
|
2115
|
+
if (loginPage) {
|
|
2116
|
+
win.top.location.replace(loginPage);
|
|
2117
|
+
} else if (document.referrer) {
|
|
2118
|
+
win.top.location.replace(document.referrer);
|
|
2119
|
+
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
2120
|
+
win.top.location.href = './login.html';
|
|
2121
|
+
} else {
|
|
2122
|
+
next('/login');
|
|
2123
|
+
}
|
|
2124
|
+
} catch (error) {
|
|
2125
|
+
win.postMessage({ type: 1 }, '*');
|
|
2081
2126
|
}
|
|
2082
2127
|
}
|
|
2083
2128
|
});
|
|
@@ -2090,14 +2135,18 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2090
2135
|
next();
|
|
2091
2136
|
}
|
|
2092
2137
|
} else {
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
win.top.location.href
|
|
2099
|
-
|
|
2100
|
-
|
|
2138
|
+
try {
|
|
2139
|
+
if (loginPage) {
|
|
2140
|
+
win.top.location.replace(loginPage);
|
|
2141
|
+
} else if (document.referrer) {
|
|
2142
|
+
win.top.location.replace(document.referrer);
|
|
2143
|
+
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
2144
|
+
win.top.location.href = './login.html';
|
|
2145
|
+
} else {
|
|
2146
|
+
next('/login');
|
|
2147
|
+
}
|
|
2148
|
+
} catch (error) {
|
|
2149
|
+
win.postMessage({ type: 1 }, '*');
|
|
2101
2150
|
}
|
|
2102
2151
|
}
|
|
2103
2152
|
}
|
|
@@ -2527,30 +2576,30 @@ var setStorage = function setStorage(_ref14) {
|
|
|
2527
2576
|
if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
|
|
2528
2577
|
value = JSON.stringify(value);
|
|
2529
2578
|
}
|
|
2530
|
-
if (type ===
|
|
2579
|
+
if (type === 'localStorage') {
|
|
2531
2580
|
if (typeof key === 'string') {
|
|
2532
|
-
|
|
2581
|
+
localStorage.setItem(key, value);
|
|
2533
2582
|
} else if (Array.isArray(key)) {
|
|
2534
2583
|
for (var i in key) {
|
|
2535
|
-
|
|
2584
|
+
localStorage.setItem(key[i], value);
|
|
2536
2585
|
}
|
|
2537
2586
|
} else {
|
|
2538
2587
|
for (var _i6 in key) {
|
|
2539
2588
|
var val = _typeof(key[_i6]) === 'object' ? JSON.stringify(key[_i6]) : key[_i6];
|
|
2540
|
-
|
|
2589
|
+
localStorage.setItem(_i6, val);
|
|
2541
2590
|
}
|
|
2542
2591
|
}
|
|
2543
2592
|
} else {
|
|
2544
2593
|
if (typeof key === 'string') {
|
|
2545
|
-
|
|
2594
|
+
sessionStorage.setItem(key, value);
|
|
2546
2595
|
} else if (Array.isArray(key)) {
|
|
2547
2596
|
for (var _i7 in key) {
|
|
2548
|
-
|
|
2597
|
+
sessionStorage.setItem(key[_i7], value);
|
|
2549
2598
|
}
|
|
2550
2599
|
} else {
|
|
2551
2600
|
for (var _i8 in key) {
|
|
2552
2601
|
var _val = _typeof(key[_i8]) === 'object' ? JSON.stringify(key[_i8]) : key[_i8];
|
|
2553
|
-
|
|
2602
|
+
sessionStorage.setItem(_i8, _val);
|
|
2554
2603
|
}
|
|
2555
2604
|
}
|
|
2556
2605
|
}
|
|
@@ -3709,8 +3758,20 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3709
3758
|
var param = this.param ? this.param : {};
|
|
3710
3759
|
evt.stopPropagation();
|
|
3711
3760
|
evt.preventDefault();
|
|
3712
|
-
var width =
|
|
3713
|
-
var height =
|
|
3761
|
+
var width = 0;
|
|
3762
|
+
var height = 0;
|
|
3763
|
+
try {
|
|
3764
|
+
width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
|
|
3765
|
+
height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
|
|
3766
|
+
} catch (error) {
|
|
3767
|
+
try {
|
|
3768
|
+
width = utils_util["a" /* default */].win.parent.screen.availWidth - 10;
|
|
3769
|
+
height = utils_util["a" /* default */].win.parent.screen.availHeight - 60;
|
|
3770
|
+
} catch (error) {
|
|
3771
|
+
width = utils_util["a" /* default */].win.screen.availWidth - 10;
|
|
3772
|
+
height = utils_util["a" /* default */].win.screen.availHeight - 60;
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3714
3775
|
var flag = true;
|
|
3715
3776
|
if (this.esForm) {
|
|
3716
3777
|
var params = utils_util["a" /* default */].getParams({ url: this.link });
|
|
@@ -3832,12 +3893,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3832
3893
|
if (flag) {
|
|
3833
3894
|
if (this.specs) {
|
|
3834
3895
|
if (typeof this.specs === 'boolean') {
|
|
3835
|
-
windows = utils_util["a" /* default */].win.
|
|
3896
|
+
windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
|
|
3836
3897
|
} else {
|
|
3837
|
-
windows = utils_util["a" /* default */].win.
|
|
3898
|
+
windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
|
|
3838
3899
|
}
|
|
3839
3900
|
} else {
|
|
3840
|
-
windows = utils_util["a" /* default */].win.
|
|
3901
|
+
windows = utils_util["a" /* default */].win.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
|
|
3841
3902
|
}
|
|
3842
3903
|
}
|
|
3843
3904
|
if (windows) {
|
|
@@ -4045,8 +4106,8 @@ main.install = function (Vue) {
|
|
|
4045
4106
|
};
|
|
4046
4107
|
|
|
4047
4108
|
/* harmony default export */ var packages_button = (main);
|
|
4048
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=
|
|
4049
|
-
var
|
|
4109
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
|
|
4110
|
+
var mainvue_type_template_id_10c7630a_render = function () {
|
|
4050
4111
|
var _vm = this
|
|
4051
4112
|
var _h = _vm.$createElement
|
|
4052
4113
|
var _c = _vm._self._c || _h
|
|
@@ -4128,11 +4189,11 @@ var mainvue_type_template_id_d8f0dac2_render = function () {
|
|
|
4128
4189
|
2
|
|
4129
4190
|
)
|
|
4130
4191
|
}
|
|
4131
|
-
var
|
|
4132
|
-
|
|
4192
|
+
var mainvue_type_template_id_10c7630a_staticRenderFns = []
|
|
4193
|
+
mainvue_type_template_id_10c7630a_render._withStripped = true
|
|
4133
4194
|
|
|
4134
4195
|
|
|
4135
|
-
// CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=
|
|
4196
|
+
// CONCATENATED MODULE: ./packages/button-group/src/main.vue?vue&type=template&id=10c7630a&
|
|
4136
4197
|
|
|
4137
4198
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button-group/src/main.vue?vue&type=script&lang=js&
|
|
4138
4199
|
//
|
|
@@ -4247,9 +4308,11 @@ mainvue_type_template_id_d8f0dac2_render._withStripped = true
|
|
|
4247
4308
|
},
|
|
4248
4309
|
handleClick: function handleClick(obj) {
|
|
4249
4310
|
this.$emit('handleClick', obj);
|
|
4311
|
+
this.$emit('handle-click', obj);
|
|
4250
4312
|
},
|
|
4251
4313
|
handleCommand: function handleCommand(res) {
|
|
4252
4314
|
this.$emit('handleClick', { row: this.data, handle: res });
|
|
4315
|
+
this.$emit('handle-click', { row: this.data, handle: res });
|
|
4253
4316
|
},
|
|
4254
4317
|
resetWidth: function resetWidth() {
|
|
4255
4318
|
var _this2 = this;
|
|
@@ -4282,8 +4345,8 @@ mainvue_type_template_id_d8f0dac2_render._withStripped = true
|
|
|
4282
4345
|
|
|
4283
4346
|
var src_main_component = normalizeComponent(
|
|
4284
4347
|
packages_button_group_src_mainvue_type_script_lang_js_,
|
|
4285
|
-
|
|
4286
|
-
|
|
4348
|
+
mainvue_type_template_id_10c7630a_render,
|
|
4349
|
+
mainvue_type_template_id_10c7630a_staticRenderFns,
|
|
4287
4350
|
false,
|
|
4288
4351
|
null,
|
|
4289
4352
|
null,
|
|
@@ -5625,8 +5688,8 @@ clients_src_main.install = function (Vue) {
|
|
|
5625
5688
|
};
|
|
5626
5689
|
|
|
5627
5690
|
/* harmony default export */ var clients = (clients_src_main);
|
|
5628
|
-
// 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=
|
|
5629
|
-
var
|
|
5691
|
+
// 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=4d70cb63&
|
|
5692
|
+
var mainvue_type_template_id_4d70cb63_render = function () {
|
|
5630
5693
|
var _vm = this
|
|
5631
5694
|
var _h = _vm.$createElement
|
|
5632
5695
|
var _c = _vm._self._c || _h
|
|
@@ -5646,6 +5709,7 @@ var mainvue_type_template_id_85146f6a_render = function () {
|
|
|
5646
5709
|
staticClass: "es-data-table",
|
|
5647
5710
|
attrs: {
|
|
5648
5711
|
"label-width": "0",
|
|
5712
|
+
"element-loading-background": "rgba(0, 0, 0, 0.65)",
|
|
5649
5713
|
model: _vm.tag === "div" ? "" : _vm.datas,
|
|
5650
5714
|
"element-loading-text": _vm.tableLoadingText,
|
|
5651
5715
|
},
|
|
@@ -5669,14 +5733,18 @@ var mainvue_type_template_id_85146f6a_render = function () {
|
|
|
5669
5733
|
},
|
|
5670
5734
|
false
|
|
5671
5735
|
),
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5736
|
+
Object.assign(
|
|
5737
|
+
{},
|
|
5738
|
+
{
|
|
5739
|
+
click: _vm.handleClick,
|
|
5740
|
+
search: _vm.hanleSearch,
|
|
5741
|
+
submit: _vm.hanleSubmit,
|
|
5742
|
+
tabs: _vm.handleTabs,
|
|
5743
|
+
reset: _vm.hanleReset,
|
|
5744
|
+
cancel: _vm.hanleCancel,
|
|
5745
|
+
},
|
|
5746
|
+
_vm.toolbars.events || {}
|
|
5747
|
+
)
|
|
5680
5748
|
)
|
|
5681
5749
|
)
|
|
5682
5750
|
: _vm._e(),
|
|
@@ -5718,6 +5786,8 @@ var mainvue_type_template_id_85146f6a_render = function () {
|
|
|
5718
5786
|
? _vm.tableHeight
|
|
5719
5787
|
: undefined,
|
|
5720
5788
|
border: _vm.border,
|
|
5789
|
+
infiniteScroll: _vm.getTableData,
|
|
5790
|
+
infiniteScrollDisabled: _vm.infiniteDisabled,
|
|
5721
5791
|
}),
|
|
5722
5792
|
false
|
|
5723
5793
|
),
|
|
@@ -5840,7 +5910,16 @@ var mainvue_type_template_id_85146f6a_render = function () {
|
|
|
5840
5910
|
],
|
|
5841
5911
|
2
|
|
5842
5912
|
),
|
|
5843
|
-
_vm.
|
|
5913
|
+
_vm.infiniteScroll
|
|
5914
|
+
? _c("div", { staticClass: "es-table-page es-loading-page" }, [
|
|
5915
|
+
_c("span", [
|
|
5916
|
+
_vm._v("共" + _vm._s(_vm.config.totalCount) + "条,"),
|
|
5917
|
+
]),
|
|
5918
|
+
_c("span", [
|
|
5919
|
+
_vm._v("已加载" + _vm._s(_vm.datas.length) + "条"),
|
|
5920
|
+
]),
|
|
5921
|
+
])
|
|
5922
|
+
: _vm.page
|
|
5844
5923
|
? _c(
|
|
5845
5924
|
"es-pagination",
|
|
5846
5925
|
_vm._g(
|
|
@@ -5875,11 +5954,11 @@ var mainvue_type_template_id_85146f6a_render = function () {
|
|
|
5875
5954
|
1
|
|
5876
5955
|
)
|
|
5877
5956
|
}
|
|
5878
|
-
var
|
|
5879
|
-
|
|
5957
|
+
var mainvue_type_template_id_4d70cb63_staticRenderFns = []
|
|
5958
|
+
mainvue_type_template_id_4d70cb63_render._withStripped = true
|
|
5880
5959
|
|
|
5881
5960
|
|
|
5882
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
5961
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=4d70cb63&
|
|
5883
5962
|
|
|
5884
5963
|
// 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=29bcbc72&
|
|
5885
5964
|
var childrenvue_type_template_id_29bcbc72_render = function () {
|
|
@@ -5924,8 +6003,8 @@ childrenvue_type_template_id_29bcbc72_render._withStripped = true
|
|
|
5924
6003
|
|
|
5925
6004
|
// CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=29bcbc72&
|
|
5926
6005
|
|
|
5927
|
-
// 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=
|
|
5928
|
-
var
|
|
6006
|
+
// 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=00e33786&
|
|
6007
|
+
var columnvue_type_template_id_00e33786_render = function () {
|
|
5929
6008
|
var _vm = this
|
|
5930
6009
|
var _h = _vm.$createElement
|
|
5931
6010
|
var _c = _vm._self._c || _h
|
|
@@ -6643,11 +6722,11 @@ var columnvue_type_template_id_84eb4d70_render = function () {
|
|
|
6643
6722
|
2
|
|
6644
6723
|
)
|
|
6645
6724
|
}
|
|
6646
|
-
var
|
|
6647
|
-
|
|
6725
|
+
var columnvue_type_template_id_00e33786_staticRenderFns = []
|
|
6726
|
+
columnvue_type_template_id_00e33786_render._withStripped = true
|
|
6648
6727
|
|
|
6649
6728
|
|
|
6650
|
-
// CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=
|
|
6729
|
+
// CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=00e33786&
|
|
6651
6730
|
|
|
6652
6731
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
6653
6732
|
var regenerator_ = __webpack_require__(2);
|
|
@@ -7419,10 +7498,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
7419
7498
|
handleBlur: function handleBlur(data) {
|
|
7420
7499
|
this.events && this.events.blur && this.events.blur(data);
|
|
7421
7500
|
this.$emit('formBlur', data);
|
|
7501
|
+
this.$emit('form-blur', data);
|
|
7422
7502
|
},
|
|
7423
7503
|
handleFocus: function handleFocus(data) {
|
|
7424
7504
|
this.events && this.events.focus && this.events.focus(data);
|
|
7425
7505
|
this.$emit('formFocus', data);
|
|
7506
|
+
this.$emit('form-focus', data);
|
|
7426
7507
|
},
|
|
7427
7508
|
handleChange: function handleChange(data) {
|
|
7428
7509
|
var _this3 = this;
|
|
@@ -7479,9 +7560,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
7479
7560
|
}
|
|
7480
7561
|
this.events && this.events.change && this.events.change(data);
|
|
7481
7562
|
this.$emit('formChange', data);
|
|
7563
|
+
this.$emit('form-change', data);
|
|
7482
7564
|
},
|
|
7483
7565
|
handleClick: function handleClick(data) {
|
|
7484
7566
|
this.$emit('handleClick', data);
|
|
7567
|
+
this.$emit('handle-click', data);
|
|
7485
7568
|
},
|
|
7486
7569
|
formatDate: function formatDate(date, fmt) {
|
|
7487
7570
|
return utils_util["a" /* default */].formatDate(date, fmt);
|
|
@@ -7500,8 +7583,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
7500
7583
|
|
|
7501
7584
|
var column_component = normalizeComponent(
|
|
7502
7585
|
src_columnvue_type_script_lang_js_,
|
|
7503
|
-
|
|
7504
|
-
|
|
7586
|
+
columnvue_type_template_id_00e33786_render,
|
|
7587
|
+
columnvue_type_template_id_00e33786_staticRenderFns,
|
|
7505
7588
|
false,
|
|
7506
7589
|
null,
|
|
7507
7590
|
null,
|
|
@@ -7953,6 +8036,14 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
7953
8036
|
//
|
|
7954
8037
|
//
|
|
7955
8038
|
//
|
|
8039
|
+
//
|
|
8040
|
+
//
|
|
8041
|
+
//
|
|
8042
|
+
//
|
|
8043
|
+
//
|
|
8044
|
+
//
|
|
8045
|
+
//
|
|
8046
|
+
//
|
|
7956
8047
|
|
|
7957
8048
|
|
|
7958
8049
|
|
|
@@ -8177,21 +8268,16 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8177
8268
|
}
|
|
8178
8269
|
},
|
|
8179
8270
|
rowData: [Object, Boolean],
|
|
8180
|
-
least:
|
|
8181
|
-
type: Boolean,
|
|
8182
|
-
default: false
|
|
8183
|
-
},
|
|
8271
|
+
least: Boolean,
|
|
8184
8272
|
//保留搜索参数
|
|
8185
|
-
retainSearh:
|
|
8186
|
-
|
|
8187
|
-
default: false
|
|
8188
|
-
}
|
|
8273
|
+
retainSearh: Boolean,
|
|
8274
|
+
infiniteScroll: Boolean
|
|
8189
8275
|
},
|
|
8190
8276
|
data: function data() {
|
|
8191
8277
|
return {
|
|
8192
8278
|
requests: [],
|
|
8193
8279
|
theadData: [],
|
|
8194
|
-
list:
|
|
8280
|
+
list: [],
|
|
8195
8281
|
tableLoading: this.loading,
|
|
8196
8282
|
tableLoadingText: '加载中...',
|
|
8197
8283
|
isFirsetCheck: false,
|
|
@@ -8212,7 +8298,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8212
8298
|
options: {},
|
|
8213
8299
|
icon: true,
|
|
8214
8300
|
show: true,
|
|
8215
|
-
sysCodes: []
|
|
8301
|
+
sysCodes: [],
|
|
8302
|
+
infiniteDisabled: this.infiniteScroll
|
|
8216
8303
|
};
|
|
8217
8304
|
},
|
|
8218
8305
|
|
|
@@ -8235,13 +8322,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8235
8322
|
});
|
|
8236
8323
|
}
|
|
8237
8324
|
if (this.numbers) {
|
|
8325
|
+
var index = 1;
|
|
8326
|
+
if (this.infiniteScroll) {
|
|
8327
|
+
index = typeof this.index == 'boolean' ? 1 : this.index;
|
|
8328
|
+
} else if (this.index || this.index === 0) {
|
|
8329
|
+
index = this.index === true ? (this.config.pageNum - 1) * this.config.pageSize + 1 : this.index;
|
|
8330
|
+
}
|
|
8238
8331
|
thead.push({
|
|
8239
8332
|
type: 'index',
|
|
8240
8333
|
label: '序号',
|
|
8241
8334
|
width: '70',
|
|
8242
8335
|
align: 'center',
|
|
8243
8336
|
fixed: 'left',
|
|
8244
|
-
index:
|
|
8337
|
+
index: index
|
|
8245
8338
|
});
|
|
8246
8339
|
}
|
|
8247
8340
|
if (this.theadData.length) {
|
|
@@ -8259,10 +8352,10 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8259
8352
|
get: function get() {
|
|
8260
8353
|
var _this = this;
|
|
8261
8354
|
|
|
8262
|
-
if (this.list) {
|
|
8355
|
+
if (this.list && this.list.length) {
|
|
8263
8356
|
return this.list;
|
|
8264
8357
|
}
|
|
8265
|
-
if (this.page && this.data && this.data.length && this.config.totalCount < this.data.length +
|
|
8358
|
+
if (this.page && this.data && this.data.length && this.config.totalCount < this.data.length + 2) {
|
|
8266
8359
|
this.config.totalCount = this.data.length - this.lose;
|
|
8267
8360
|
return this.data.filter(function (item, index) {
|
|
8268
8361
|
return index > (_this.config.pageNum - 1) * _this.config.pageSize - 1 && index < _this.config.pageNum * _this.config.pageSize;
|
|
@@ -8515,12 +8608,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8515
8608
|
}
|
|
8516
8609
|
this.data.splice(index, 0, data);
|
|
8517
8610
|
this.$emit('dataChange', 'add', data);
|
|
8611
|
+
this.$emit('data-change', 'add', data);
|
|
8518
8612
|
this.$emit('btnClick', {
|
|
8519
8613
|
event: 'addRow',
|
|
8520
8614
|
row: data,
|
|
8521
8615
|
index: index,
|
|
8522
8616
|
data: this.data
|
|
8523
8617
|
});
|
|
8618
|
+
this.$emit('btn-click', {
|
|
8619
|
+
event: 'addRow',
|
|
8620
|
+
row: data,
|
|
8621
|
+
index: index,
|
|
8622
|
+
data: this.data
|
|
8623
|
+
});
|
|
8524
8624
|
} else {
|
|
8525
8625
|
var _index = this.data.length;
|
|
8526
8626
|
if (this.page) {
|
|
@@ -8556,12 +8656,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8556
8656
|
}
|
|
8557
8657
|
this.data.splice(index, 1);
|
|
8558
8658
|
this.$emit('dataChange', 'delete', data);
|
|
8659
|
+
this.$emit('data-change', 'delete', data);
|
|
8559
8660
|
this.$emit('btnClick', {
|
|
8560
8661
|
event: 'deleteRow',
|
|
8561
8662
|
row: data,
|
|
8562
8663
|
index: index,
|
|
8563
8664
|
data: this.data
|
|
8564
8665
|
});
|
|
8666
|
+
this.$emit('btn-click', {
|
|
8667
|
+
event: 'deleteRow',
|
|
8668
|
+
row: data,
|
|
8669
|
+
index: index,
|
|
8670
|
+
data: this.data
|
|
8671
|
+
});
|
|
8565
8672
|
},
|
|
8566
8673
|
checkSelect: function checkSelect(newVal) {
|
|
8567
8674
|
var _this5 = this;
|
|
@@ -8618,6 +8725,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8618
8725
|
getTableData: function getTableData(res) {
|
|
8619
8726
|
var _this7 = this;
|
|
8620
8727
|
|
|
8728
|
+
console.log(11212);
|
|
8621
8729
|
var where = void 0;
|
|
8622
8730
|
var first = void 0;
|
|
8623
8731
|
if (res) {
|
|
@@ -8627,7 +8735,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8627
8735
|
if (!this.url) {
|
|
8628
8736
|
return;
|
|
8629
8737
|
}
|
|
8630
|
-
if (first !== false) {
|
|
8738
|
+
if (first !== false && !this.infiniteScroll) {
|
|
8631
8739
|
this.config.pageNum = 1;
|
|
8632
8740
|
}
|
|
8633
8741
|
this.tableLoadingText = '加载中...';
|
|
@@ -8651,13 +8759,21 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8651
8759
|
}).then(function (res) {
|
|
8652
8760
|
_this7.tableLoading = false;
|
|
8653
8761
|
if (res.rCode === 0 || res.status === 'success') {
|
|
8654
|
-
_this7.$refs.oaTable && _this7.$refs.oaTable.resetScroll && _this7.$refs.oaTable.resetScroll(0, 0);
|
|
8655
8762
|
var results = _this7.parseData !== undefined ? _this7.parseData(res.results || res.data || res) : res.results || res.data;
|
|
8656
|
-
_this7.
|
|
8763
|
+
if (_this7.infiniteScroll) {
|
|
8764
|
+
_this7.list = _this7.list.concat(results.data || results.records || results.list);
|
|
8765
|
+
_this7.config.pageNum += 1;
|
|
8766
|
+
} else {
|
|
8767
|
+
_this7.list = results.data || results.records || results.list || [];
|
|
8768
|
+
_this7.$refs.oaTable && _this7.$refs.oaTable.resetScroll && _this7.$refs.oaTable.resetScroll(0, 0);
|
|
8769
|
+
}
|
|
8657
8770
|
_this7.config.totalCount = results.count || results.total || results.totalCount;
|
|
8658
8771
|
_this7.checked && _this7.$nextTick(function () {
|
|
8659
8772
|
_this7.checkSelect(_this7.checked);
|
|
8660
8773
|
});
|
|
8774
|
+
if (_this7.infiniteScroll && _this7.config.totalCount === _this7.list.length) {
|
|
8775
|
+
_this7.infiniteDisabled = true;
|
|
8776
|
+
}
|
|
8661
8777
|
} else {
|
|
8662
8778
|
_this7.list = [];
|
|
8663
8779
|
//this.tableHeight = false;
|
|
@@ -8957,6 +9073,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8957
9073
|
sizeChange: function sizeChange(res) {
|
|
8958
9074
|
this.config.pageSize = res;
|
|
8959
9075
|
this.config.pageNum = 1;
|
|
9076
|
+
this.checkSelect(this.checked);
|
|
8960
9077
|
this.$emit('page-size-change', res);
|
|
8961
9078
|
if (this.url) {
|
|
8962
9079
|
this.getTableData({ where: this.wheres, first: false });
|
|
@@ -8964,6 +9081,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8964
9081
|
},
|
|
8965
9082
|
currentChange: function currentChange(res) {
|
|
8966
9083
|
this.config.pageNum = res;
|
|
9084
|
+
this.checkSelect(this.checked);
|
|
8967
9085
|
this.$emit('page-current-change', res);
|
|
8968
9086
|
if (this.url) {
|
|
8969
9087
|
this.getTableData({ where: this.wheres, first: false });
|
|
@@ -8971,10 +9089,12 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8971
9089
|
},
|
|
8972
9090
|
preClick: function preClick(res) {
|
|
8973
9091
|
this.config.pageNum = res;
|
|
9092
|
+
this.checkSelect(this.checked);
|
|
8974
9093
|
this.$emit('prev', res);
|
|
8975
9094
|
},
|
|
8976
9095
|
nextClick: function nextClick(res) {
|
|
8977
9096
|
this.config.pageNum = res;
|
|
9097
|
+
this.checkSelect(this.checked);
|
|
8978
9098
|
this.$emit('next', res);
|
|
8979
9099
|
},
|
|
8980
9100
|
hanleSearch: function hanleSearch(data) {
|
|
@@ -9150,8 +9270,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9150
9270
|
|
|
9151
9271
|
var data_table_src_main_component = normalizeComponent(
|
|
9152
9272
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
9153
|
-
|
|
9154
|
-
|
|
9273
|
+
mainvue_type_template_id_4d70cb63_render,
|
|
9274
|
+
mainvue_type_template_id_4d70cb63_staticRenderFns,
|
|
9155
9275
|
false,
|
|
9156
9276
|
null,
|
|
9157
9277
|
null,
|
|
@@ -9571,8 +9691,8 @@ var thead_component = normalizeComponent(
|
|
|
9571
9691
|
)
|
|
9572
9692
|
|
|
9573
9693
|
/* harmony default export */ var src_thead = (thead_component.exports);
|
|
9574
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=
|
|
9575
|
-
var
|
|
9694
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/tbody.vue?vue&type=template&id=810ed4be&
|
|
9695
|
+
var tbodyvue_type_template_id_810ed4be_render = function () {
|
|
9576
9696
|
var _vm = this
|
|
9577
9697
|
var _h = _vm.$createElement
|
|
9578
9698
|
var _c = _vm._self._c || _h
|
|
@@ -9972,11 +10092,11 @@ var tbodyvue_type_template_id_6ced763c_render = function () {
|
|
|
9972
10092
|
0
|
|
9973
10093
|
)
|
|
9974
10094
|
}
|
|
9975
|
-
var
|
|
9976
|
-
|
|
10095
|
+
var tbodyvue_type_template_id_810ed4be_staticRenderFns = []
|
|
10096
|
+
tbodyvue_type_template_id_810ed4be_render._withStripped = true
|
|
9977
10097
|
|
|
9978
10098
|
|
|
9979
|
-
// CONCATENATED MODULE: ./packages/data-table-form/src/tbody.vue?vue&type=template&id=
|
|
10099
|
+
// CONCATENATED MODULE: ./packages/data-table-form/src/tbody.vue?vue&type=template&id=810ed4be&
|
|
9980
10100
|
|
|
9981
10101
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table-form/src/radio.vue?vue&type=template&id=3c835729&
|
|
9982
10102
|
var radiovue_type_template_id_3c835729_render = function () {
|
|
@@ -10483,12 +10603,15 @@ var tbodyvue_type_script_lang_js_components;
|
|
|
10483
10603
|
methods: {
|
|
10484
10604
|
handleBlur: function handleBlur(data) {
|
|
10485
10605
|
this.$emit('formBlur', data);
|
|
10606
|
+
this.$emit('form-blur', data);
|
|
10486
10607
|
},
|
|
10487
10608
|
handleFocus: function handleFocus(data) {
|
|
10488
10609
|
this.$emit('formFocus', data);
|
|
10610
|
+
this.$emit('form-focus', data);
|
|
10489
10611
|
},
|
|
10490
10612
|
handleChange: function handleChange(data) {
|
|
10491
10613
|
this.$emit('formChange', data);
|
|
10614
|
+
this.$emit('form-change', data);
|
|
10492
10615
|
},
|
|
10493
10616
|
handeClick: function handeClick(res) {
|
|
10494
10617
|
var item = res.item,
|
|
@@ -10584,8 +10707,8 @@ var tbodyvue_type_script_lang_js_components;
|
|
|
10584
10707
|
|
|
10585
10708
|
var tbody_component = normalizeComponent(
|
|
10586
10709
|
src_tbodyvue_type_script_lang_js_,
|
|
10587
|
-
|
|
10588
|
-
|
|
10710
|
+
tbodyvue_type_template_id_810ed4be_render,
|
|
10711
|
+
tbodyvue_type_template_id_810ed4be_staticRenderFns,
|
|
10589
10712
|
false,
|
|
10590
10713
|
null,
|
|
10591
10714
|
null,
|
|
@@ -11253,8 +11376,8 @@ date_picker_src_main.install = function (Vue) {
|
|
|
11253
11376
|
};
|
|
11254
11377
|
|
|
11255
11378
|
/* harmony default export */ var date_picker = (date_picker_src_main);
|
|
11256
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
11257
|
-
var
|
|
11379
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=2b57a71d&
|
|
11380
|
+
var mainvue_type_template_id_2b57a71d_render = function () {
|
|
11258
11381
|
var _vm = this
|
|
11259
11382
|
var _h = _vm.$createElement
|
|
11260
11383
|
var _c = _vm._self._c || _h
|
|
@@ -11763,11 +11886,11 @@ var mainvue_type_template_id_009d211c_render = function () {
|
|
|
11763
11886
|
2
|
|
11764
11887
|
)
|
|
11765
11888
|
}
|
|
11766
|
-
var
|
|
11767
|
-
|
|
11889
|
+
var mainvue_type_template_id_2b57a71d_staticRenderFns = []
|
|
11890
|
+
mainvue_type_template_id_2b57a71d_render._withStripped = true
|
|
11768
11891
|
|
|
11769
11892
|
|
|
11770
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
11893
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=2b57a71d&
|
|
11771
11894
|
|
|
11772
11895
|
// EXTERNAL MODULE: external "wujie-vue2"
|
|
11773
11896
|
var external_wujie_vue2_ = __webpack_require__(13);
|
|
@@ -12165,8 +12288,20 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
12165
12288
|
created: function created() {
|
|
12166
12289
|
var _this = this;
|
|
12167
12290
|
|
|
12168
|
-
var availWidth =
|
|
12169
|
-
var availHeight =
|
|
12291
|
+
var availWidth = 0;
|
|
12292
|
+
var availHeight = 0;
|
|
12293
|
+
try {
|
|
12294
|
+
availWidth = utils_util["a" /* default */].win.top.document.body.offsetWidth - 260;
|
|
12295
|
+
availHeight = utils_util["a" /* default */].win.top.document.body.offsetHeight - 60;
|
|
12296
|
+
} catch (error) {
|
|
12297
|
+
try {
|
|
12298
|
+
availWidth = utils_util["a" /* default */].win.parent.document.body.offsetWidth - 260;
|
|
12299
|
+
availHeight = utils_util["a" /* default */].win.parent.document.body.offsetHeight - 60;
|
|
12300
|
+
} catch (error) {
|
|
12301
|
+
availWidth = utils_util["a" /* default */].win.document.body.offsetWidth - 260;
|
|
12302
|
+
availHeight = utils_util["a" /* default */].win.document.body.offsetHeight - 60;
|
|
12303
|
+
}
|
|
12304
|
+
}
|
|
12170
12305
|
this.sizes.max = { width: availWidth + 'px', height: availHeight + 'px' };
|
|
12171
12306
|
if (this.size === 'full' || this.width == '100%' && this.height == '100%') {
|
|
12172
12307
|
this.full = true;
|
|
@@ -12321,8 +12456,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
12321
12456
|
|
|
12322
12457
|
var dialog_src_main_component = normalizeComponent(
|
|
12323
12458
|
packages_dialog_src_mainvue_type_script_lang_js_,
|
|
12324
|
-
|
|
12325
|
-
|
|
12459
|
+
mainvue_type_template_id_2b57a71d_render,
|
|
12460
|
+
mainvue_type_template_id_2b57a71d_staticRenderFns,
|
|
12326
12461
|
false,
|
|
12327
12462
|
null,
|
|
12328
12463
|
null,
|
|
@@ -12588,8 +12723,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
12588
12723
|
};
|
|
12589
12724
|
|
|
12590
12725
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
12591
|
-
// 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=
|
|
12592
|
-
var
|
|
12726
|
+
// 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=7d054bca&
|
|
12727
|
+
var mainvue_type_template_id_7d054bca_render = function () {
|
|
12593
12728
|
var _vm = this
|
|
12594
12729
|
var _h = _vm.$createElement
|
|
12595
12730
|
var _c = _vm._self._c || _h
|
|
@@ -23505,11 +23640,11 @@ var mainvue_type_template_id_93b578ee_render = function () {
|
|
|
23505
23640
|
)
|
|
23506
23641
|
: _vm._e()
|
|
23507
23642
|
}
|
|
23508
|
-
var
|
|
23509
|
-
|
|
23643
|
+
var mainvue_type_template_id_7d054bca_staticRenderFns = []
|
|
23644
|
+
mainvue_type_template_id_7d054bca_render._withStripped = true
|
|
23510
23645
|
|
|
23511
23646
|
|
|
23512
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
23647
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7d054bca&
|
|
23513
23648
|
|
|
23514
23649
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
23515
23650
|
// 手机号
|
|
@@ -28010,6 +28145,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28010
28145
|
}
|
|
28011
28146
|
_this6.values = utils_util["a" /* default */].extend({}, data, value);
|
|
28012
28147
|
_this6.$emit('valueSuccess', _this6.values);
|
|
28148
|
+
_this6.$emit('value-success', _this6.values);
|
|
28013
28149
|
_this6.$emit('result', _this6.values);
|
|
28014
28150
|
}
|
|
28015
28151
|
}).catch(function (err) {
|
|
@@ -28091,6 +28227,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28091
28227
|
if (valid) {
|
|
28092
28228
|
_this7.stepActive = index;
|
|
28093
28229
|
_this7.$emit('stepChange', _this7.stepActive);
|
|
28230
|
+
_this7.$emit('step-change', _this7.stepActive);
|
|
28094
28231
|
} else {
|
|
28095
28232
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
28096
28233
|
}
|
|
@@ -28098,6 +28235,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28098
28235
|
} else {
|
|
28099
28236
|
this.stepActive = index;
|
|
28100
28237
|
this.$emit('stepChange', this.stepActive);
|
|
28238
|
+
this.$emit('step-change', this.stepActive);
|
|
28101
28239
|
}
|
|
28102
28240
|
} else if (res.event === 'submit' || res.event === 'confirm' || res.type === 'submit') {
|
|
28103
28241
|
if (this.action) {
|
|
@@ -28137,13 +28275,16 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28137
28275
|
} else if (res.event === 'stepPrev') {
|
|
28138
28276
|
this.stepActive -= 1;
|
|
28139
28277
|
this.$emit('stepChange', this.stepActive);
|
|
28278
|
+
this.$emit('step-change', this.stepActive);
|
|
28140
28279
|
this.$emit('stepPrev', res, this.models, this.getNewValue(utils_util["a" /* default */].extend({}, this._value, this.models), res));
|
|
28141
28280
|
} else if (res.event === 'stepNext') {
|
|
28142
28281
|
this.$refs.esForm.validate(function (valid, fields, triggers) {
|
|
28143
28282
|
if (valid) {
|
|
28144
28283
|
_this7.stepActive += 1;
|
|
28145
28284
|
_this7.$emit('stepChange', _this7.stepActive);
|
|
28285
|
+
_this7.$emit('step-change', _this7.stepActive);
|
|
28146
28286
|
_this7.$emit('stepNext', res, _this7.models, _this7.getNewValue(utils_util["a" /* default */].extend({}, _this7._value, _this7.models), res));
|
|
28287
|
+
_this7.$emit('step-next', res, _this7.models, _this7.getNewValue(utils_util["a" /* default */].extend({}, _this7._value, _this7.models), res));
|
|
28147
28288
|
} else {
|
|
28148
28289
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
28149
28290
|
}
|
|
@@ -28191,6 +28332,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28191
28332
|
},
|
|
28192
28333
|
handleDataChange: function handleDataChange(res, data) {
|
|
28193
28334
|
this.$emit('dataChange', res, data);
|
|
28335
|
+
this.$emit('data-change', res, data);
|
|
28194
28336
|
},
|
|
28195
28337
|
handleCollapse: function handleCollapse() {},
|
|
28196
28338
|
handleChange: function handleChange(a, b, c) {
|
|
@@ -28642,8 +28784,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28642
28784
|
|
|
28643
28785
|
var form_src_main_component = normalizeComponent(
|
|
28644
28786
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28645
|
-
|
|
28646
|
-
|
|
28787
|
+
mainvue_type_template_id_7d054bca_render,
|
|
28788
|
+
mainvue_type_template_id_7d054bca_staticRenderFns,
|
|
28647
28789
|
false,
|
|
28648
28790
|
null,
|
|
28649
28791
|
null,
|
|
@@ -28660,8 +28802,8 @@ form_src_main.install = function (Vue) {
|
|
|
28660
28802
|
};
|
|
28661
28803
|
|
|
28662
28804
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
28663
|
-
// 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=
|
|
28664
|
-
var
|
|
28805
|
+
// 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=53041718&
|
|
28806
|
+
var mainvue_type_template_id_53041718_render = function () {
|
|
28665
28807
|
var _vm = this
|
|
28666
28808
|
var _h = _vm.$createElement
|
|
28667
28809
|
var _c = _vm._self._c || _h
|
|
@@ -30380,11 +30522,11 @@ var mainvue_type_template_id_650e1054_render = function () {
|
|
|
30380
30522
|
)
|
|
30381
30523
|
: _vm._e()
|
|
30382
30524
|
}
|
|
30383
|
-
var
|
|
30384
|
-
|
|
30525
|
+
var mainvue_type_template_id_53041718_staticRenderFns = []
|
|
30526
|
+
mainvue_type_template_id_53041718_render._withStripped = true
|
|
30385
30527
|
|
|
30386
30528
|
|
|
30387
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
30529
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=53041718&
|
|
30388
30530
|
|
|
30389
30531
|
// 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&
|
|
30390
30532
|
var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
@@ -30562,8 +30704,8 @@ CommonOpinionsvue_type_template_id_4e1f4030_render._withStripped = true
|
|
|
30562
30704
|
|
|
30563
30705
|
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
|
|
30564
30706
|
|
|
30565
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=
|
|
30566
|
-
var
|
|
30707
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
|
|
30708
|
+
var tablevue_type_template_id_67f38db6_render = function () {
|
|
30567
30709
|
var _vm = this
|
|
30568
30710
|
var _h = _vm.$createElement
|
|
30569
30711
|
var _c = _vm._self._c || _h
|
|
@@ -30635,11 +30777,11 @@ var tablevue_type_template_id_508feae4_render = function () {
|
|
|
30635
30777
|
2
|
|
30636
30778
|
)
|
|
30637
30779
|
}
|
|
30638
|
-
var
|
|
30639
|
-
|
|
30780
|
+
var tablevue_type_template_id_67f38db6_staticRenderFns = []
|
|
30781
|
+
tablevue_type_template_id_67f38db6_render._withStripped = true
|
|
30640
30782
|
|
|
30641
30783
|
|
|
30642
|
-
// CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=
|
|
30784
|
+
// CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
|
|
30643
30785
|
|
|
30644
30786
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/table.vue?vue&type=script&lang=js&
|
|
30645
30787
|
//
|
|
@@ -30666,6 +30808,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30666
30808
|
//
|
|
30667
30809
|
//
|
|
30668
30810
|
//
|
|
30811
|
+
//
|
|
30812
|
+
//
|
|
30813
|
+
//
|
|
30814
|
+
//
|
|
30815
|
+
//
|
|
30669
30816
|
|
|
30670
30817
|
/* harmony default export */ var flow_src_tablevue_type_script_lang_js_ = ({
|
|
30671
30818
|
name: 'Table',
|
|
@@ -30687,9 +30834,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30687
30834
|
methods: {
|
|
30688
30835
|
handleClick: function handleClick(val) {
|
|
30689
30836
|
this.$emit('upDateClick', val);
|
|
30837
|
+
this.$emit('up-date-click', val);
|
|
30690
30838
|
},
|
|
30691
30839
|
delClick: function delClick(val) {
|
|
30692
30840
|
this.$emit('delClick', val);
|
|
30841
|
+
this.$emit('del-click', val);
|
|
30693
30842
|
}
|
|
30694
30843
|
}
|
|
30695
30844
|
});
|
|
@@ -30705,8 +30854,8 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30705
30854
|
|
|
30706
30855
|
var src_table_component = normalizeComponent(
|
|
30707
30856
|
packages_flow_src_tablevue_type_script_lang_js_,
|
|
30708
|
-
|
|
30709
|
-
|
|
30857
|
+
tablevue_type_template_id_67f38db6_render,
|
|
30858
|
+
tablevue_type_template_id_67f38db6_staticRenderFns,
|
|
30710
30859
|
false,
|
|
30711
30860
|
null,
|
|
30712
30861
|
null,
|
|
@@ -30715,8 +30864,8 @@ var src_table_component = normalizeComponent(
|
|
|
30715
30864
|
)
|
|
30716
30865
|
|
|
30717
30866
|
/* harmony default export */ var flow_src_table = (src_table_component.exports);
|
|
30718
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=template&id=
|
|
30719
|
-
var
|
|
30867
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=template&id=55fae080&
|
|
30868
|
+
var formvue_type_template_id_55fae080_render = function () {
|
|
30720
30869
|
var _vm = this
|
|
30721
30870
|
var _h = _vm.$createElement
|
|
30722
30871
|
var _c = _vm._self._c || _h
|
|
@@ -30830,11 +30979,11 @@ var formvue_type_template_id_c3a13696_render = function () {
|
|
|
30830
30979
|
1
|
|
30831
30980
|
)
|
|
30832
30981
|
}
|
|
30833
|
-
var
|
|
30834
|
-
|
|
30982
|
+
var formvue_type_template_id_55fae080_staticRenderFns = []
|
|
30983
|
+
formvue_type_template_id_55fae080_render._withStripped = true
|
|
30835
30984
|
|
|
30836
30985
|
|
|
30837
|
-
// CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=
|
|
30986
|
+
// CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=55fae080&
|
|
30838
30987
|
|
|
30839
30988
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/form.vue?vue&type=script&lang=js&
|
|
30840
30989
|
//
|
|
@@ -30956,6 +31105,7 @@ formvue_type_template_id_c3a13696_render._withStripped = true
|
|
|
30956
31105
|
this.$refs[formName].validate(function (valid) {
|
|
30957
31106
|
if (valid) {
|
|
30958
31107
|
_this2.$emit('subMit', { addVisible: false, data: _this2.newData });
|
|
31108
|
+
_this2.$emit('sub-mit', { addVisible: false, data: _this2.newData });
|
|
30959
31109
|
} else {
|
|
30960
31110
|
return false;
|
|
30961
31111
|
}
|
|
@@ -30975,8 +31125,8 @@ formvue_type_template_id_c3a13696_render._withStripped = true
|
|
|
30975
31125
|
|
|
30976
31126
|
var form_component = normalizeComponent(
|
|
30977
31127
|
src_formvue_type_script_lang_js_,
|
|
30978
|
-
|
|
30979
|
-
|
|
31128
|
+
formvue_type_template_id_55fae080_render,
|
|
31129
|
+
formvue_type_template_id_55fae080_staticRenderFns,
|
|
30980
31130
|
false,
|
|
30981
31131
|
null,
|
|
30982
31132
|
null,
|
|
@@ -32423,8 +32573,8 @@ var selectUser_component = normalizeComponent(
|
|
|
32423
32573
|
)
|
|
32424
32574
|
|
|
32425
32575
|
/* harmony default export */ var selectUser = (selectUser_component.exports);
|
|
32426
|
-
// 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/CustomPreset.vue?vue&type=template&id=
|
|
32427
|
-
var
|
|
32576
|
+
// 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/CustomPreset.vue?vue&type=template&id=1f648b95&
|
|
32577
|
+
var CustomPresetvue_type_template_id_1f648b95_render = function () {
|
|
32428
32578
|
var _vm = this
|
|
32429
32579
|
var _h = _vm.$createElement
|
|
32430
32580
|
var _c = _vm._self._c || _h
|
|
@@ -32526,11 +32676,11 @@ var CustomPresetvue_type_template_id_7a0fdf16_render = function () {
|
|
|
32526
32676
|
1
|
|
32527
32677
|
)
|
|
32528
32678
|
}
|
|
32529
|
-
var
|
|
32530
|
-
|
|
32679
|
+
var CustomPresetvue_type_template_id_1f648b95_staticRenderFns = []
|
|
32680
|
+
CustomPresetvue_type_template_id_1f648b95_render._withStripped = true
|
|
32531
32681
|
|
|
32532
32682
|
|
|
32533
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=
|
|
32683
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CustomPreset.vue?vue&type=template&id=1f648b95&
|
|
32534
32684
|
|
|
32535
32685
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CustomPreset.vue?vue&type=script&lang=js&
|
|
32536
32686
|
var CustomPresetvue_type_script_lang_js_components;
|
|
@@ -32573,6 +32723,9 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32573
32723
|
//
|
|
32574
32724
|
//
|
|
32575
32725
|
//
|
|
32726
|
+
//
|
|
32727
|
+
//
|
|
32728
|
+
//
|
|
32576
32729
|
|
|
32577
32730
|
|
|
32578
32731
|
|
|
@@ -32615,6 +32768,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32615
32768
|
watch: {
|
|
32616
32769
|
activeNames: function activeNames(val) {
|
|
32617
32770
|
this.$emit('changeActiveNames', val);
|
|
32771
|
+
this.$emit('change-active-names', val);
|
|
32618
32772
|
},
|
|
32619
32773
|
|
|
32620
32774
|
processDefinitionId: {
|
|
@@ -32639,6 +32793,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32639
32793
|
return;
|
|
32640
32794
|
}
|
|
32641
32795
|
this.$emit('loadingStart');
|
|
32796
|
+
this.$emit('loading-start');
|
|
32642
32797
|
this.show = false;
|
|
32643
32798
|
this.getPresetFlowInfo(nodeId, processDefinitionId);
|
|
32644
32799
|
// return
|
|
@@ -32704,6 +32859,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32704
32859
|
_this.$message.error(message || '系统错误,请联系管理员!');
|
|
32705
32860
|
}
|
|
32706
32861
|
_this.$emit('loadingEnd');
|
|
32862
|
+
_this.$emit('loading-end');
|
|
32707
32863
|
nodeId && setTimeout(function () {
|
|
32708
32864
|
_this.$refs.selectUser[index].changeInfo(_this.newPresetList[index]);
|
|
32709
32865
|
}, 500);
|
|
@@ -32829,6 +32985,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32829
32985
|
});
|
|
32830
32986
|
});
|
|
32831
32987
|
this.$emit('changeCustom', customPresetUserJson);
|
|
32988
|
+
this.$emit('change-custom', customPresetUserJson);
|
|
32832
32989
|
}
|
|
32833
32990
|
}
|
|
32834
32991
|
});
|
|
@@ -32844,8 +33001,8 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32844
33001
|
|
|
32845
33002
|
var CustomPreset_component = normalizeComponent(
|
|
32846
33003
|
component_CustomPresetvue_type_script_lang_js_,
|
|
32847
|
-
|
|
32848
|
-
|
|
33004
|
+
CustomPresetvue_type_template_id_1f648b95_render,
|
|
33005
|
+
CustomPresetvue_type_template_id_1f648b95_staticRenderFns,
|
|
32849
33006
|
false,
|
|
32850
33007
|
null,
|
|
32851
33008
|
null,
|
|
@@ -32854,8 +33011,8 @@ var CustomPreset_component = normalizeComponent(
|
|
|
32854
33011
|
)
|
|
32855
33012
|
|
|
32856
33013
|
/* harmony default export */ var CustomPreset = (CustomPreset_component.exports);
|
|
32857
|
-
// 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/Preset.vue?vue&type=template&id=
|
|
32858
|
-
var
|
|
33014
|
+
// 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/Preset.vue?vue&type=template&id=23d1e880&
|
|
33015
|
+
var Presetvue_type_template_id_23d1e880_render = function () {
|
|
32859
33016
|
var _vm = this
|
|
32860
33017
|
var _h = _vm.$createElement
|
|
32861
33018
|
var _c = _vm._self._c || _h
|
|
@@ -32951,11 +33108,11 @@ var Presetvue_type_template_id_62657536_render = function () {
|
|
|
32951
33108
|
1
|
|
32952
33109
|
)
|
|
32953
33110
|
}
|
|
32954
|
-
var
|
|
32955
|
-
|
|
33111
|
+
var Presetvue_type_template_id_23d1e880_staticRenderFns = []
|
|
33112
|
+
Presetvue_type_template_id_23d1e880_render._withStripped = true
|
|
32956
33113
|
|
|
32957
33114
|
|
|
32958
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/Preset.vue?vue&type=template&id=
|
|
33115
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/Preset.vue?vue&type=template&id=23d1e880&
|
|
32959
33116
|
|
|
32960
33117
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Preset.vue?vue&type=script&lang=js&
|
|
32961
33118
|
var Presetvue_type_script_lang_js_components;
|
|
@@ -33073,6 +33230,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33073
33230
|
});
|
|
33074
33231
|
});
|
|
33075
33232
|
this.$emit('changePreset', presetUserJson);
|
|
33233
|
+
this.$emit('change-preset', presetUserJson);
|
|
33076
33234
|
},
|
|
33077
33235
|
changePresetUser: function changePresetUser(val, index) {
|
|
33078
33236
|
var nextUser = val.nextUser;
|
|
@@ -33093,6 +33251,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33093
33251
|
var _this = this;
|
|
33094
33252
|
|
|
33095
33253
|
this.$emit('loadingStart');
|
|
33254
|
+
this.$emit('loading-start');
|
|
33096
33255
|
var nextNodeId = this.nextNodeId,
|
|
33097
33256
|
processDefinitionId = this.processDefinitionId,
|
|
33098
33257
|
businessId = this.businessId,
|
|
@@ -33180,6 +33339,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33180
33339
|
});
|
|
33181
33340
|
this.changeSelectData();
|
|
33182
33341
|
this.$emit('loadingEnd');
|
|
33342
|
+
this.$emit('loading-end');
|
|
33183
33343
|
},
|
|
33184
33344
|
isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
|
|
33185
33345
|
var multiple = false;
|
|
@@ -33226,8 +33386,8 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33226
33386
|
|
|
33227
33387
|
var Preset_component = normalizeComponent(
|
|
33228
33388
|
component_Presetvue_type_script_lang_js_,
|
|
33229
|
-
|
|
33230
|
-
|
|
33389
|
+
Presetvue_type_template_id_23d1e880_render,
|
|
33390
|
+
Presetvue_type_template_id_23d1e880_staticRenderFns,
|
|
33231
33391
|
false,
|
|
33232
33392
|
null,
|
|
33233
33393
|
null,
|
|
@@ -34101,8 +34261,8 @@ var processForm_component = normalizeComponent(
|
|
|
34101
34261
|
)
|
|
34102
34262
|
|
|
34103
34263
|
/* harmony default export */ var processForm = (processForm_component.exports);
|
|
34104
|
-
// 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/FileList.vue?vue&type=template&id=
|
|
34105
|
-
var
|
|
34264
|
+
// 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/FileList.vue?vue&type=template&id=1258a45c&
|
|
34265
|
+
var FileListvue_type_template_id_1258a45c_render = function () {
|
|
34106
34266
|
var _vm = this
|
|
34107
34267
|
var _h = _vm.$createElement
|
|
34108
34268
|
var _c = _vm._self._c || _h
|
|
@@ -34135,11 +34295,11 @@ var FileListvue_type_template_id_8bcb1480_render = function () {
|
|
|
34135
34295
|
1
|
|
34136
34296
|
)
|
|
34137
34297
|
}
|
|
34138
|
-
var
|
|
34139
|
-
|
|
34298
|
+
var FileListvue_type_template_id_1258a45c_staticRenderFns = []
|
|
34299
|
+
FileListvue_type_template_id_1258a45c_render._withStripped = true
|
|
34140
34300
|
|
|
34141
34301
|
|
|
34142
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=
|
|
34302
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=1258a45c&
|
|
34143
34303
|
|
|
34144
34304
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
|
|
34145
34305
|
//
|
|
@@ -34208,6 +34368,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34208
34368
|
methods: {
|
|
34209
34369
|
successFile: function successFile(response, file, fileList) {
|
|
34210
34370
|
this.$emit('changeFileNum', fileList.length);
|
|
34371
|
+
this.$emit('change-file-num', fileList.length);
|
|
34211
34372
|
},
|
|
34212
34373
|
|
|
34213
34374
|
//删除附件
|
|
@@ -34226,6 +34387,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34226
34387
|
if (rCode == 0) {
|
|
34227
34388
|
_this.$message.success('删除成功');
|
|
34228
34389
|
_this.$emit('changeFileNum', fileList.length);
|
|
34390
|
+
_this.$emit('change-fFile-num', fileList.length);
|
|
34229
34391
|
} else {
|
|
34230
34392
|
_this.$message.error(msg || '系统错误,请联系管理员!');
|
|
34231
34393
|
}
|
|
@@ -34249,8 +34411,8 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34249
34411
|
|
|
34250
34412
|
var FileList_component = normalizeComponent(
|
|
34251
34413
|
component_FileListvue_type_script_lang_js_,
|
|
34252
|
-
|
|
34253
|
-
|
|
34414
|
+
FileListvue_type_template_id_1258a45c_render,
|
|
34415
|
+
FileListvue_type_template_id_1258a45c_staticRenderFns,
|
|
34254
34416
|
false,
|
|
34255
34417
|
null,
|
|
34256
34418
|
null,
|
|
@@ -39239,6 +39401,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39239
39401
|
taskButtonList = _res$data2.taskButtonList;
|
|
39240
39402
|
|
|
39241
39403
|
_this23.$emit('startTaskRead', res);
|
|
39404
|
+
_this23.$emit('start-task-read', res);
|
|
39242
39405
|
_this23.currentOrgName = currentOrgName;
|
|
39243
39406
|
_this23.otherOrgName = otherOrgName;
|
|
39244
39407
|
_this23.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
@@ -39806,8 +39969,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39806
39969
|
|
|
39807
39970
|
var flow_src_main_component = normalizeComponent(
|
|
39808
39971
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
39809
|
-
|
|
39810
|
-
|
|
39972
|
+
mainvue_type_template_id_53041718_render,
|
|
39973
|
+
mainvue_type_template_id_53041718_staticRenderFns,
|
|
39811
39974
|
false,
|
|
39812
39975
|
null,
|
|
39813
39976
|
null,
|
|
@@ -39824,8 +39987,8 @@ flow_src_main.install = function (Vue) {
|
|
|
39824
39987
|
};
|
|
39825
39988
|
|
|
39826
39989
|
/* harmony default export */ var packages_flow = (flow_src_main);
|
|
39827
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=
|
|
39828
|
-
var
|
|
39990
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=template&id=92afaed0&
|
|
39991
|
+
var mainvue_type_template_id_92afaed0_render = function () {
|
|
39829
39992
|
var _vm = this
|
|
39830
39993
|
var _h = _vm.$createElement
|
|
39831
39994
|
var _c = _vm._self._c || _h
|
|
@@ -41053,11 +41216,11 @@ var mainvue_type_template_id_7f13854e_render = function () {
|
|
|
41053
41216
|
2
|
|
41054
41217
|
)
|
|
41055
41218
|
}
|
|
41056
|
-
var
|
|
41057
|
-
|
|
41219
|
+
var mainvue_type_template_id_92afaed0_staticRenderFns = []
|
|
41220
|
+
mainvue_type_template_id_92afaed0_render._withStripped = true
|
|
41058
41221
|
|
|
41059
41222
|
|
|
41060
|
-
// CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=
|
|
41223
|
+
// CONCATENATED MODULE: ./packages/flow-group/src/main.vue?vue&type=template&id=92afaed0&
|
|
41061
41224
|
|
|
41062
41225
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-group/src/main.vue?vue&type=script&lang=js&
|
|
41063
41226
|
var flow_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; };
|
|
@@ -41633,8 +41796,20 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41633
41796
|
var item = _this.tabs[n];
|
|
41634
41797
|
var url = null;
|
|
41635
41798
|
var name = item.name;
|
|
41636
|
-
var width =
|
|
41637
|
-
var height =
|
|
41799
|
+
var width = 0;
|
|
41800
|
+
var height = 0;
|
|
41801
|
+
try {
|
|
41802
|
+
width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
|
|
41803
|
+
height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
|
|
41804
|
+
} catch (error) {
|
|
41805
|
+
try {
|
|
41806
|
+
width = utils_util["a" /* default */].win.parent.screen.availWidth - 10;
|
|
41807
|
+
height = utils_util["a" /* default */].win.parent.screen.availHeight - 60;
|
|
41808
|
+
} catch (error) {
|
|
41809
|
+
width = utils_util["a" /* default */].win.screen.availWidth - 10;
|
|
41810
|
+
height = utils_util["a" /* default */].win.screen.availHeight - 60;
|
|
41811
|
+
}
|
|
41812
|
+
}
|
|
41638
41813
|
if (item.url) {
|
|
41639
41814
|
url = _this.handleUrlJoinParams(item);
|
|
41640
41815
|
}
|
|
@@ -41644,7 +41819,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41644
41819
|
}
|
|
41645
41820
|
if (url) {
|
|
41646
41821
|
reject();
|
|
41647
|
-
utils_util["a" /* default */].win.
|
|
41822
|
+
utils_util["a" /* default */].win.open(url, name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
|
|
41648
41823
|
} else {
|
|
41649
41824
|
resolve();
|
|
41650
41825
|
}
|
|
@@ -41694,8 +41869,16 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41694
41869
|
handleSuccess: function handleSuccess() {
|
|
41695
41870
|
if (this.closeDialog && this.esDialog) {
|
|
41696
41871
|
this.esDialog.handleClose();
|
|
41697
|
-
} else if (utils_util["a" /* default */].win.
|
|
41698
|
-
|
|
41872
|
+
} else if (utils_util["a" /* default */].win.opener) {
|
|
41873
|
+
try {
|
|
41874
|
+
utils_util["a" /* default */].win.top.close();
|
|
41875
|
+
} catch (error) {
|
|
41876
|
+
try {
|
|
41877
|
+
utils_util["a" /* default */].win.parent.close();
|
|
41878
|
+
} catch (error) {
|
|
41879
|
+
utils_util["a" /* default */].win.postMessage({ type: 0 }, '*');
|
|
41880
|
+
}
|
|
41881
|
+
}
|
|
41699
41882
|
}
|
|
41700
41883
|
if (this.events && this.events.success) {
|
|
41701
41884
|
this.events.success();
|
|
@@ -41714,6 +41897,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41714
41897
|
},
|
|
41715
41898
|
handleChangeData: function handleChangeData(res) {
|
|
41716
41899
|
this.$emit('changeData', res);
|
|
41900
|
+
this.$emit('change-data', res);
|
|
41717
41901
|
}
|
|
41718
41902
|
}
|
|
41719
41903
|
});
|
|
@@ -41729,8 +41913,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41729
41913
|
|
|
41730
41914
|
var flow_group_src_main_component = normalizeComponent(
|
|
41731
41915
|
packages_flow_group_src_mainvue_type_script_lang_js_,
|
|
41732
|
-
|
|
41733
|
-
|
|
41916
|
+
mainvue_type_template_id_92afaed0_render,
|
|
41917
|
+
mainvue_type_template_id_92afaed0_staticRenderFns,
|
|
41734
41918
|
false,
|
|
41735
41919
|
null,
|
|
41736
41920
|
null,
|
|
@@ -43006,8 +43190,8 @@ flow_list_src_main.install = function (Vue) {
|
|
|
43006
43190
|
};
|
|
43007
43191
|
|
|
43008
43192
|
/* harmony default export */ var flow_list = (flow_list_src_main);
|
|
43009
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=
|
|
43010
|
-
var
|
|
43193
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=0e0b2c4a&
|
|
43194
|
+
var mainvue_type_template_id_0e0b2c4a_render = function () {
|
|
43011
43195
|
var _vm = this
|
|
43012
43196
|
var _h = _vm.$createElement
|
|
43013
43197
|
var _c = _vm._self._c || _h
|
|
@@ -43090,11 +43274,11 @@ var mainvue_type_template_id_5b7835c6_render = function () {
|
|
|
43090
43274
|
: _vm._e(),
|
|
43091
43275
|
])
|
|
43092
43276
|
}
|
|
43093
|
-
var
|
|
43094
|
-
|
|
43277
|
+
var mainvue_type_template_id_0e0b2c4a_staticRenderFns = []
|
|
43278
|
+
mainvue_type_template_id_0e0b2c4a_render._withStripped = true
|
|
43095
43279
|
|
|
43096
43280
|
|
|
43097
|
-
// CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=
|
|
43281
|
+
// CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=0e0b2c4a&
|
|
43098
43282
|
|
|
43099
43283
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=script&lang=js&
|
|
43100
43284
|
//
|
|
@@ -43196,7 +43380,15 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
|
|
|
43196
43380
|
duration: 500,
|
|
43197
43381
|
onClose: function onClose() {
|
|
43198
43382
|
utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
|
|
43199
|
-
|
|
43383
|
+
try {
|
|
43384
|
+
utils_util["a" /* default */].win.top.location.reload();
|
|
43385
|
+
} catch (error) {
|
|
43386
|
+
try {
|
|
43387
|
+
utils_util["a" /* default */].win.parent.location.reload();
|
|
43388
|
+
} catch (error) {
|
|
43389
|
+
utils_util["a" /* default */].win.location.reload();
|
|
43390
|
+
}
|
|
43391
|
+
}
|
|
43200
43392
|
}
|
|
43201
43393
|
});
|
|
43202
43394
|
} else {
|
|
@@ -43228,8 +43420,8 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
|
|
|
43228
43420
|
|
|
43229
43421
|
var handle_user_src_main_component = normalizeComponent(
|
|
43230
43422
|
packages_handle_user_src_mainvue_type_script_lang_js_,
|
|
43231
|
-
|
|
43232
|
-
|
|
43423
|
+
mainvue_type_template_id_0e0b2c4a_render,
|
|
43424
|
+
mainvue_type_template_id_0e0b2c4a_staticRenderFns,
|
|
43233
43425
|
false,
|
|
43234
43426
|
null,
|
|
43235
43427
|
null,
|
|
@@ -43246,8 +43438,8 @@ handle_user_src_main.install = function (Vue) {
|
|
|
43246
43438
|
};
|
|
43247
43439
|
|
|
43248
43440
|
/* harmony default export */ var handle_user = (handle_user_src_main);
|
|
43249
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=
|
|
43250
|
-
var
|
|
43441
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=25cdd07e&
|
|
43442
|
+
var mainvue_type_template_id_25cdd07e_render = function () {
|
|
43251
43443
|
var _vm = this
|
|
43252
43444
|
var _h = _vm.$createElement
|
|
43253
43445
|
var _c = _vm._self._c || _h
|
|
@@ -43445,11 +43637,11 @@ var mainvue_type_template_id_78f7fb3f_render = function () {
|
|
|
43445
43637
|
0
|
|
43446
43638
|
)
|
|
43447
43639
|
}
|
|
43448
|
-
var
|
|
43449
|
-
|
|
43640
|
+
var mainvue_type_template_id_25cdd07e_staticRenderFns = []
|
|
43641
|
+
mainvue_type_template_id_25cdd07e_render._withStripped = true
|
|
43450
43642
|
|
|
43451
43643
|
|
|
43452
|
-
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=
|
|
43644
|
+
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25cdd07e&
|
|
43453
43645
|
|
|
43454
43646
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
|
|
43455
43647
|
//
|
|
@@ -43736,33 +43928,37 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
|
|
|
43736
43928
|
if (_this2.onQuit && typeof _this2.onQuit === 'function') {
|
|
43737
43929
|
_this2.onQuit();
|
|
43738
43930
|
} else {
|
|
43739
|
-
|
|
43740
|
-
|
|
43741
|
-
|
|
43742
|
-
|
|
43743
|
-
|
|
43744
|
-
|
|
43745
|
-
pathname
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43931
|
+
try {
|
|
43932
|
+
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
43933
|
+
if (loginPage) {
|
|
43934
|
+
var src = void 0;
|
|
43935
|
+
if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
|
|
43936
|
+
var pathname = utils_util["a" /* default */].win.top.location.pathname;
|
|
43937
|
+
if (pathname !== '/') {
|
|
43938
|
+
pathname = pathname.split('/');
|
|
43939
|
+
pathname.splice(pathname.length - 1);
|
|
43940
|
+
pathname = pathname.join('/');
|
|
43941
|
+
src = pathname + '/' + loginPage.replace('./', '');
|
|
43942
|
+
} else {
|
|
43943
|
+
src = pathname + loginPage.replace('./', '');
|
|
43944
|
+
}
|
|
43749
43945
|
} else {
|
|
43750
|
-
src =
|
|
43946
|
+
src = loginPage;
|
|
43751
43947
|
}
|
|
43948
|
+
utils_util["a" /* default */].win.top.location.href = src;
|
|
43949
|
+
} else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
43950
|
+
utils_util["a" /* default */].win.top.location.href = './login.html';
|
|
43752
43951
|
} else {
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
if (hash) {
|
|
43761
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
43762
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
43763
|
-
} else {
|
|
43764
|
-
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
43952
|
+
var hash = utils_util["a" /* default */].win.top.location.hash;
|
|
43953
|
+
if (hash) {
|
|
43954
|
+
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
43955
|
+
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
43956
|
+
} else {
|
|
43957
|
+
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
43958
|
+
}
|
|
43765
43959
|
}
|
|
43960
|
+
} catch (error) {
|
|
43961
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
43766
43962
|
}
|
|
43767
43963
|
}
|
|
43768
43964
|
}
|
|
@@ -43787,8 +43983,8 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
|
|
|
43787
43983
|
|
|
43788
43984
|
var handler_src_main_component = normalizeComponent(
|
|
43789
43985
|
packages_handler_src_mainvue_type_script_lang_js_,
|
|
43790
|
-
|
|
43791
|
-
|
|
43986
|
+
mainvue_type_template_id_25cdd07e_render,
|
|
43987
|
+
mainvue_type_template_id_25cdd07e_staticRenderFns,
|
|
43792
43988
|
false,
|
|
43793
43989
|
null,
|
|
43794
43990
|
null,
|
|
@@ -45169,8 +45365,8 @@ layout_src_main.install = function (Vue) {
|
|
|
45169
45365
|
};
|
|
45170
45366
|
|
|
45171
45367
|
/* harmony default export */ var layout = (layout_src_main);
|
|
45172
|
-
// 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=
|
|
45173
|
-
var
|
|
45368
|
+
// 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=705a6762&
|
|
45369
|
+
var mainvue_type_template_id_705a6762_render = function () {
|
|
45174
45370
|
var _vm = this
|
|
45175
45371
|
var _h = _vm.$createElement
|
|
45176
45372
|
var _c = _vm._self._c || _h
|
|
@@ -45659,7 +45855,7 @@ var mainvue_type_template_id_413b11b3_render = function () {
|
|
|
45659
45855
|
],
|
|
45660
45856
|
2
|
|
45661
45857
|
),
|
|
45662
|
-
_vm.active == 3
|
|
45858
|
+
_vm.active == 3 && _vm.identifyingId
|
|
45663
45859
|
? _c("es-qr-code", {
|
|
45664
45860
|
attrs: { content: _vm.identifyingId },
|
|
45665
45861
|
})
|
|
@@ -46049,11 +46245,11 @@ var mainvue_type_template_id_413b11b3_render = function () {
|
|
|
46049
46245
|
)
|
|
46050
46246
|
: _vm._e()
|
|
46051
46247
|
}
|
|
46052
|
-
var
|
|
46053
|
-
|
|
46248
|
+
var mainvue_type_template_id_705a6762_staticRenderFns = []
|
|
46249
|
+
mainvue_type_template_id_705a6762_render._withStripped = true
|
|
46054
46250
|
|
|
46055
46251
|
|
|
46056
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
46252
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=705a6762&
|
|
46057
46253
|
|
|
46058
46254
|
// 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=28f463b9&
|
|
46059
46255
|
var resetPasswordvue_type_template_id_28f463b9_render = function () {
|
|
@@ -47345,8 +47541,10 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47345
47541
|
doAssistance: null
|
|
47346
47542
|
};
|
|
47347
47543
|
},
|
|
47348
|
-
|
|
47544
|
+
beforeCreate: function beforeCreate() {
|
|
47349
47545
|
utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
|
|
47546
|
+
},
|
|
47547
|
+
created: function created() {
|
|
47350
47548
|
this.code = utils_util["a" /* default */].getParams('code');
|
|
47351
47549
|
if (this.code) {
|
|
47352
47550
|
this.doWechatLogin(this.code);
|
|
@@ -47487,6 +47685,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47487
47685
|
this.onDownLoadApp();
|
|
47488
47686
|
} else {
|
|
47489
47687
|
this.$emit('handleDownLoadApp');
|
|
47688
|
+
this.$emit('handle-down-load-app');
|
|
47490
47689
|
}
|
|
47491
47690
|
} else {
|
|
47492
47691
|
this.showDownLoadApp = true;
|
|
@@ -47508,36 +47707,34 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47508
47707
|
getLogin: function getLogin() {
|
|
47509
47708
|
var _this3 = this;
|
|
47510
47709
|
|
|
47511
|
-
var config =
|
|
47710
|
+
var config = utils_util["a" /* default */].getStorage('initLogin');
|
|
47512
47711
|
if (config) {
|
|
47513
47712
|
this.setConfig(config);
|
|
47514
|
-
} else {
|
|
47515
|
-
utils_util["a" /* default */].ajax({ url: this.initLogin }).then(function (res) {
|
|
47516
|
-
if (res && res.rCode === 0) {
|
|
47517
|
-
utils_store.set('initLogin', res.results);
|
|
47518
|
-
utils_util["a" /* default */].setStorage({
|
|
47519
|
-
type: _this3.storage,
|
|
47520
|
-
key: 'initLogin',
|
|
47521
|
-
value: JSON.stringify(res.results)
|
|
47522
|
-
});
|
|
47523
|
-
_this3.setConfig(res.results);
|
|
47524
|
-
} else {
|
|
47525
|
-
_this3.$message({
|
|
47526
|
-
message: res.msg || '系统错误,请联系管理员!',
|
|
47527
|
-
type: 'error',
|
|
47528
|
-
duration: 2000
|
|
47529
|
-
});
|
|
47530
|
-
}
|
|
47531
|
-
}).catch(function (err) {
|
|
47532
|
-
if (err.message && err.message !== 'canceled') {
|
|
47533
|
-
_this3.$message.error(err.message);
|
|
47534
|
-
}
|
|
47535
|
-
});
|
|
47536
47713
|
}
|
|
47714
|
+
utils_util["a" /* default */].ajax({ url: this.initLogin }).then(function (res) {
|
|
47715
|
+
if (res && res.rCode === 0) {
|
|
47716
|
+
utils_store.set('initLogin', res.results);
|
|
47717
|
+
utils_util["a" /* default */].setStorage({
|
|
47718
|
+
type: 'localStorage',
|
|
47719
|
+
key: 'initLogin',
|
|
47720
|
+
value: JSON.stringify(res.results)
|
|
47721
|
+
});
|
|
47722
|
+
_this3.setConfig(res.results);
|
|
47723
|
+
} else {
|
|
47724
|
+
_this3.$message({
|
|
47725
|
+
message: res.msg || '系统错误,请联系管理员!',
|
|
47726
|
+
type: 'error',
|
|
47727
|
+
duration: 2000
|
|
47728
|
+
});
|
|
47729
|
+
}
|
|
47730
|
+
}).catch(function (err) {
|
|
47731
|
+
if (err.message && err.message !== 'canceled') {
|
|
47732
|
+
_this3.$message.error(err.message);
|
|
47733
|
+
}
|
|
47734
|
+
});
|
|
47537
47735
|
},
|
|
47538
47736
|
setConfig: function setConfig(res) {
|
|
47539
|
-
|
|
47540
|
-
this.identifyingId = res.identifyingId;
|
|
47737
|
+
this.identifyingId = res.identifyingId || '';
|
|
47541
47738
|
this.getImgCode();
|
|
47542
47739
|
var downloads = {};
|
|
47543
47740
|
if (res.androidDownloadUrl) {
|
|
@@ -47565,9 +47762,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47565
47762
|
this.loginModel = res.loginModel;
|
|
47566
47763
|
this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
|
|
47567
47764
|
this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
|
|
47765
|
+
res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
|
|
47568
47766
|
if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
|
|
47569
47767
|
this.icpInfo = res.subsystemExtend;
|
|
47570
47768
|
this.forgetUrl = res.subsystemExtend.look_pass_url;
|
|
47769
|
+
res.subsystemExtend.loginPage && sessionStorage.setItem('loginPage', res.subsystemExtend.loginPage);
|
|
47571
47770
|
if (res.subsystemExtend.login_url) {
|
|
47572
47771
|
this.actionUrl = res.subsystemExtend.login_url;
|
|
47573
47772
|
}
|
|
@@ -47757,7 +47956,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47757
47956
|
}).then(function (res) {
|
|
47758
47957
|
_this6.submit = false;
|
|
47759
47958
|
if (res.rCode == 0) {
|
|
47760
|
-
|
|
47959
|
+
utils_util["a" /* default */].removeStorage('extUserBindHandleId');
|
|
47761
47960
|
_this6.handleRemember();
|
|
47762
47961
|
var results = res.results;
|
|
47763
47962
|
_this6.handleResults(results);
|
|
@@ -48034,8 +48233,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
48034
48233
|
|
|
48035
48234
|
var login_src_main_component = normalizeComponent(
|
|
48036
48235
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
48037
|
-
|
|
48038
|
-
|
|
48236
|
+
mainvue_type_template_id_705a6762_render,
|
|
48237
|
+
mainvue_type_template_id_705a6762_staticRenderFns,
|
|
48039
48238
|
false,
|
|
48040
48239
|
null,
|
|
48041
48240
|
null,
|
|
@@ -48052,8 +48251,8 @@ login_src_main.install = function (Vue) {
|
|
|
48052
48251
|
};
|
|
48053
48252
|
|
|
48054
48253
|
/* harmony default export */ var login = (login_src_main);
|
|
48055
|
-
// 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=
|
|
48056
|
-
var
|
|
48254
|
+
// 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=fd021d4a&
|
|
48255
|
+
var mainvue_type_template_id_fd021d4a_render = function () {
|
|
48057
48256
|
var _vm = this
|
|
48058
48257
|
var _h = _vm.$createElement
|
|
48059
48258
|
var _c = _vm._self._c || _h
|
|
@@ -48479,14 +48678,14 @@ var mainvue_type_template_id_07ff4c6a_render = function () {
|
|
|
48479
48678
|
1
|
|
48480
48679
|
)
|
|
48481
48680
|
}
|
|
48482
|
-
var
|
|
48483
|
-
|
|
48681
|
+
var mainvue_type_template_id_fd021d4a_staticRenderFns = []
|
|
48682
|
+
mainvue_type_template_id_fd021d4a_render._withStripped = true
|
|
48484
48683
|
|
|
48485
48684
|
|
|
48486
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
48685
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=fd021d4a&
|
|
48487
48686
|
|
|
48488
|
-
// 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=
|
|
48489
|
-
var
|
|
48687
|
+
// 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=e93353b8&
|
|
48688
|
+
var userinfovue_type_template_id_e93353b8_render = function () {
|
|
48490
48689
|
var _vm = this
|
|
48491
48690
|
var _h = _vm.$createElement
|
|
48492
48691
|
var _c = _vm._self._c || _h
|
|
@@ -48502,11 +48701,11 @@ var userinfovue_type_template_id_137dd243_render = function () {
|
|
|
48502
48701
|
2
|
|
48503
48702
|
)
|
|
48504
48703
|
}
|
|
48505
|
-
var
|
|
48506
|
-
|
|
48704
|
+
var userinfovue_type_template_id_e93353b8_staticRenderFns = []
|
|
48705
|
+
userinfovue_type_template_id_e93353b8_render._withStripped = true
|
|
48507
48706
|
|
|
48508
48707
|
|
|
48509
|
-
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=
|
|
48708
|
+
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=e93353b8&
|
|
48510
48709
|
|
|
48511
48710
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=script&lang=js&
|
|
48512
48711
|
//
|
|
@@ -48841,32 +49040,36 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
|
|
|
48841
49040
|
type: 'warning'
|
|
48842
49041
|
}).then(function () {
|
|
48843
49042
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
48844
|
-
|
|
48845
|
-
|
|
48846
|
-
|
|
48847
|
-
|
|
48848
|
-
|
|
48849
|
-
pathname
|
|
48850
|
-
|
|
48851
|
-
|
|
48852
|
-
|
|
49043
|
+
try {
|
|
49044
|
+
if (loginPage) {
|
|
49045
|
+
var src = void 0;
|
|
49046
|
+
if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
|
|
49047
|
+
var pathname = utils_util["a" /* default */].win.top.location.pathname;
|
|
49048
|
+
if (pathname !== '/') {
|
|
49049
|
+
pathname = pathname.split('/');
|
|
49050
|
+
pathname.splice(pathname.length - 1);
|
|
49051
|
+
pathname = pathname.join('/');
|
|
49052
|
+
src = pathname + '/' + loginPage.replace('./', '');
|
|
49053
|
+
} else {
|
|
49054
|
+
src = pathname + loginPage.replace('./', '');
|
|
49055
|
+
}
|
|
48853
49056
|
} else {
|
|
48854
|
-
src =
|
|
49057
|
+
src = loginPage;
|
|
48855
49058
|
}
|
|
49059
|
+
utils_util["a" /* default */].win.top.location.href = src;
|
|
49060
|
+
} else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
49061
|
+
utils_util["a" /* default */].win.top.location.href = './login.html';
|
|
48856
49062
|
} else {
|
|
48857
|
-
|
|
48858
|
-
|
|
48859
|
-
|
|
48860
|
-
|
|
48861
|
-
|
|
48862
|
-
|
|
48863
|
-
|
|
48864
|
-
if (hash) {
|
|
48865
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
48866
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
48867
|
-
} else {
|
|
48868
|
-
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
49063
|
+
var hash = utils_util["a" /* default */].win.top.location.hash;
|
|
49064
|
+
if (hash) {
|
|
49065
|
+
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
49066
|
+
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
49067
|
+
} else {
|
|
49068
|
+
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
49069
|
+
}
|
|
48869
49070
|
}
|
|
49071
|
+
} catch (error) {
|
|
49072
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
48870
49073
|
}
|
|
48871
49074
|
}).catch(function (e) {});
|
|
48872
49075
|
} else {
|
|
@@ -48922,8 +49125,8 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
|
|
|
48922
49125
|
|
|
48923
49126
|
var userinfo_component = normalizeComponent(
|
|
48924
49127
|
src_userinfovue_type_script_lang_js_,
|
|
48925
|
-
|
|
48926
|
-
|
|
49128
|
+
userinfovue_type_template_id_e93353b8_render,
|
|
49129
|
+
userinfovue_type_template_id_e93353b8_staticRenderFns,
|
|
48927
49130
|
false,
|
|
48928
49131
|
null,
|
|
48929
49132
|
null,
|
|
@@ -50098,8 +50301,8 @@ var notice_component = normalizeComponent(
|
|
|
50098
50301
|
)
|
|
50099
50302
|
|
|
50100
50303
|
/* harmony default export */ var notice = (notice_component.exports);
|
|
50101
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=template&id=
|
|
50102
|
-
var
|
|
50304
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=template&id=8b78c8b6&scoped=true&
|
|
50305
|
+
var async_componentvue_type_template_id_8b78c8b6_scoped_true_render = function () {
|
|
50103
50306
|
var _vm = this
|
|
50104
50307
|
var _h = _vm.$createElement
|
|
50105
50308
|
var _c = _vm._self._c || _h
|
|
@@ -50111,11 +50314,11 @@ var async_componentvue_type_template_id_51f0233c_scoped_true_render = function (
|
|
|
50111
50314
|
)
|
|
50112
50315
|
)
|
|
50113
50316
|
}
|
|
50114
|
-
var
|
|
50115
|
-
|
|
50317
|
+
var async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns = []
|
|
50318
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_render._withStripped = true
|
|
50116
50319
|
|
|
50117
50320
|
|
|
50118
|
-
// CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=
|
|
50321
|
+
// CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=8b78c8b6&scoped=true&
|
|
50119
50322
|
|
|
50120
50323
|
// EXTERNAL MODULE: external "runtime-import"
|
|
50121
50324
|
var external_runtime_import_ = __webpack_require__(15);
|
|
@@ -50177,7 +50380,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50177
50380
|
_context.prev = 0;
|
|
50178
50381
|
|
|
50179
50382
|
if (!(url.indexOf && (url.indexOf('http:') != -1 || url.indexOf('https:') != -1 || url.indexOf('/dev-api') != -1))) {
|
|
50180
|
-
_context.next =
|
|
50383
|
+
_context.next = 21;
|
|
50181
50384
|
break;
|
|
50182
50385
|
}
|
|
50183
50386
|
|
|
@@ -50185,7 +50388,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50185
50388
|
catchComponent = utils_util["a" /* default */].win[url];
|
|
50186
50389
|
|
|
50187
50390
|
if (!catchComponent) {
|
|
50188
|
-
_context.next =
|
|
50391
|
+
_context.next = 9;
|
|
50189
50392
|
break;
|
|
50190
50393
|
}
|
|
50191
50394
|
|
|
@@ -50193,56 +50396,58 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50193
50396
|
_this.comp = catchComponent;
|
|
50194
50397
|
// 回传props内容
|
|
50195
50398
|
_this.$emit('handleGetProps', _this.comp.props);
|
|
50196
|
-
|
|
50399
|
+
_this.$emit('handle-get-props', _this.comp.props);
|
|
50400
|
+
_context.next = 19;
|
|
50197
50401
|
break;
|
|
50198
50402
|
|
|
50199
|
-
case
|
|
50200
|
-
_context.next =
|
|
50403
|
+
case 9:
|
|
50404
|
+
_context.next = 11;
|
|
50201
50405
|
return Object(external_runtime_import_["importScript"])(url);
|
|
50202
50406
|
|
|
50203
|
-
case
|
|
50407
|
+
case 11:
|
|
50204
50408
|
comp = _context.sent;
|
|
50205
50409
|
|
|
50206
50410
|
if (comp) {
|
|
50207
|
-
_context.next =
|
|
50411
|
+
_context.next = 15;
|
|
50208
50412
|
break;
|
|
50209
50413
|
}
|
|
50210
50414
|
|
|
50211
50415
|
_this.$message.error('不是合规组件,请检查组件上传环境和语法');
|
|
50212
50416
|
return _context.abrupt('return');
|
|
50213
50417
|
|
|
50214
|
-
case
|
|
50418
|
+
case 15:
|
|
50215
50419
|
_this.comp = comp;
|
|
50216
50420
|
utils_util["a" /* default */].win[url] = comp;
|
|
50217
50421
|
// 回传props内容
|
|
50218
50422
|
_this.$emit('handleGetProps', _this.comp.props);
|
|
50423
|
+
_this.$emit('handle-get-props', _this.comp.props);
|
|
50219
50424
|
|
|
50220
|
-
case
|
|
50221
|
-
_context.next =
|
|
50425
|
+
case 19:
|
|
50426
|
+
_context.next = 22;
|
|
50222
50427
|
break;
|
|
50223
50428
|
|
|
50224
|
-
case
|
|
50429
|
+
case 21:
|
|
50225
50430
|
// 如果不是url则当作文本片段处理
|
|
50226
50431
|
_this.comp = url;
|
|
50227
50432
|
// 回传props内容
|
|
50228
50433
|
// this.$emit('handleGetProps', this.comp.props);
|
|
50229
50434
|
|
|
50230
|
-
case
|
|
50231
|
-
_context.next =
|
|
50435
|
+
case 22:
|
|
50436
|
+
_context.next = 27;
|
|
50232
50437
|
break;
|
|
50233
50438
|
|
|
50234
|
-
case
|
|
50235
|
-
_context.prev =
|
|
50439
|
+
case 24:
|
|
50440
|
+
_context.prev = 24;
|
|
50236
50441
|
_context.t0 = _context['catch'](0);
|
|
50237
50442
|
|
|
50238
50443
|
console.error(_context.t0);
|
|
50239
50444
|
|
|
50240
|
-
case
|
|
50445
|
+
case 27:
|
|
50241
50446
|
case 'end':
|
|
50242
50447
|
return _context.stop();
|
|
50243
50448
|
}
|
|
50244
50449
|
}
|
|
50245
|
-
}, _callee, _this, [[0,
|
|
50450
|
+
}, _callee, _this, [[0, 24]]);
|
|
50246
50451
|
}))();
|
|
50247
50452
|
}
|
|
50248
50453
|
}
|
|
@@ -50259,11 +50464,11 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50259
50464
|
|
|
50260
50465
|
var async_component_component = normalizeComponent(
|
|
50261
50466
|
src_async_componentvue_type_script_lang_js_,
|
|
50262
|
-
|
|
50263
|
-
|
|
50467
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_render,
|
|
50468
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns,
|
|
50264
50469
|
false,
|
|
50265
50470
|
null,
|
|
50266
|
-
"
|
|
50471
|
+
"8b78c8b6",
|
|
50267
50472
|
null
|
|
50268
50473
|
|
|
50269
50474
|
)
|
|
@@ -50532,6 +50737,7 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
50532
50737
|
|
|
50533
50738
|
var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
50534
50739
|
var log = utils_util["a" /* default */].getParams('console');
|
|
50740
|
+
var appCode = utils_util["a" /* default */].getParams('appCode');
|
|
50535
50741
|
/* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({
|
|
50536
50742
|
name: 'EsMain',
|
|
50537
50743
|
inheritAttrs: false,
|
|
@@ -50569,7 +50775,12 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50569
50775
|
type: String,
|
|
50570
50776
|
default: ''
|
|
50571
50777
|
},
|
|
50572
|
-
param:
|
|
50778
|
+
param: {
|
|
50779
|
+
type: Object,
|
|
50780
|
+
default: function _default() {
|
|
50781
|
+
return {};
|
|
50782
|
+
}
|
|
50783
|
+
},
|
|
50573
50784
|
header: {
|
|
50574
50785
|
type: Boolean,
|
|
50575
50786
|
default: true
|
|
@@ -50674,7 +50885,8 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50674
50885
|
loadHomePage: {
|
|
50675
50886
|
type: [Boolean, String],
|
|
50676
50887
|
default: true
|
|
50677
|
-
}
|
|
50888
|
+
},
|
|
50889
|
+
appCode: String
|
|
50678
50890
|
},
|
|
50679
50891
|
computed: {
|
|
50680
50892
|
showHeader: function showHeader() {
|
|
@@ -50784,6 +50996,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50784
50996
|
},
|
|
50785
50997
|
isConsole: function isConsole() {
|
|
50786
50998
|
return log ? true : this.console;
|
|
50999
|
+
},
|
|
51000
|
+
menuCode: function menuCode() {
|
|
51001
|
+
return appCode || this.appCode;
|
|
50787
51002
|
}
|
|
50788
51003
|
},
|
|
50789
51004
|
watch: {
|
|
@@ -51165,8 +51380,12 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51165
51380
|
this.color = unescape(results[i].color).toLowerCase();
|
|
51166
51381
|
}
|
|
51167
51382
|
if (i === 'subsystemExtend' && results[i].webPageWatermark) {
|
|
51168
|
-
|
|
51169
|
-
|
|
51383
|
+
try {
|
|
51384
|
+
utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
|
|
51385
|
+
utils_util["a" /* default */].watermark(results[i].webPageWatermark);
|
|
51386
|
+
} catch (error) {
|
|
51387
|
+
utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
|
|
51388
|
+
}
|
|
51170
51389
|
}
|
|
51171
51390
|
|
|
51172
51391
|
if (i === 'subsystemExtend' && results[i].loginPage) {
|
|
@@ -51300,7 +51519,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51300
51519
|
getMenu: function getMenu() {
|
|
51301
51520
|
var _this5 = this;
|
|
51302
51521
|
|
|
51303
|
-
|
|
51522
|
+
var param = this.menuCode ? { menuCode: this.menuCode } : {};
|
|
51523
|
+
var params = main_src_mainvue_type_script_lang_js_extends({}, this.param, param);
|
|
51524
|
+
utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
|
|
51304
51525
|
if (res.rCode === 0) {
|
|
51305
51526
|
if (res.results && res.results.length) {
|
|
51306
51527
|
_this5.menus = JSON.parse(JSON.stringify(res.results));
|
|
@@ -52177,32 +52398,36 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52177
52398
|
_this13.$confirm(msg, btn).then(function () {
|
|
52178
52399
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
52179
52400
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
52180
|
-
|
|
52181
|
-
|
|
52182
|
-
|
|
52183
|
-
|
|
52184
|
-
|
|
52185
|
-
pathname
|
|
52186
|
-
|
|
52187
|
-
|
|
52188
|
-
|
|
52401
|
+
try {
|
|
52402
|
+
if (loginPage) {
|
|
52403
|
+
var src = void 0;
|
|
52404
|
+
if (!utils_util["a" /* default */].startWith(loginPage, ['http', '/'], true)) {
|
|
52405
|
+
var pathname = utils_util["a" /* default */].win.top.location.pathname;
|
|
52406
|
+
if (pathname !== '/') {
|
|
52407
|
+
pathname = pathname.split('/');
|
|
52408
|
+
pathname.splice(pathname.length - 1);
|
|
52409
|
+
pathname = pathname.join('/');
|
|
52410
|
+
src = pathname + '/' + loginPage.replace('./', '');
|
|
52411
|
+
} else {
|
|
52412
|
+
src = pathname + loginPage.replace('./', '');
|
|
52413
|
+
}
|
|
52189
52414
|
} else {
|
|
52190
|
-
src =
|
|
52415
|
+
src = loginPage;
|
|
52191
52416
|
}
|
|
52417
|
+
utils_util["a" /* default */].win.top.location.href = src;
|
|
52418
|
+
} else if (utils_util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
52419
|
+
utils_util["a" /* default */].win.top.location.href = './login.html';
|
|
52192
52420
|
} else {
|
|
52193
|
-
|
|
52194
|
-
|
|
52195
|
-
|
|
52196
|
-
|
|
52197
|
-
|
|
52198
|
-
|
|
52199
|
-
|
|
52200
|
-
if (hash) {
|
|
52201
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
52202
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
52203
|
-
} else {
|
|
52204
|
-
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
52421
|
+
var hash = utils_util["a" /* default */].win.top.location.hash;
|
|
52422
|
+
if (hash) {
|
|
52423
|
+
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
52424
|
+
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
52425
|
+
} else {
|
|
52426
|
+
utils_util["a" /* default */].win.top.location.href = '/login.html';
|
|
52427
|
+
}
|
|
52205
52428
|
}
|
|
52429
|
+
} catch (error) {
|
|
52430
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
52206
52431
|
}
|
|
52207
52432
|
}).catch(function (e) {
|
|
52208
52433
|
sessionStorage.removeItem('remind');
|
|
@@ -52222,8 +52447,15 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52222
52447
|
src = pathname + url.replace('./', '/');
|
|
52223
52448
|
}
|
|
52224
52449
|
if (name) {
|
|
52225
|
-
var w =
|
|
52226
|
-
var h =
|
|
52450
|
+
var w = 0;
|
|
52451
|
+
var h = 0;
|
|
52452
|
+
try {
|
|
52453
|
+
w = width ? width : utils_util["a" /* default */].win.top.screen.availWidth - 10;
|
|
52454
|
+
h = height ? height : utils_util["a" /* default */].win.top.screen.availHeight - 60;
|
|
52455
|
+
} catch (error) {
|
|
52456
|
+
w = width ? width : utils_util["a" /* default */].win.screen.availWidth - 10;
|
|
52457
|
+
h = height ? height : utils_util["a" /* default */].win.screen.availHeight - 60;
|
|
52458
|
+
}
|
|
52227
52459
|
return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
|
|
52228
52460
|
} else {
|
|
52229
52461
|
return utils_util["a" /* default */].win.open(src);
|
|
@@ -52250,8 +52482,8 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52250
52482
|
|
|
52251
52483
|
var main_src_main_component = normalizeComponent(
|
|
52252
52484
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
52253
|
-
|
|
52254
|
-
|
|
52485
|
+
mainvue_type_template_id_fd021d4a_render,
|
|
52486
|
+
mainvue_type_template_id_fd021d4a_staticRenderFns,
|
|
52255
52487
|
false,
|
|
52256
52488
|
null,
|
|
52257
52489
|
null,
|
|
@@ -55082,8 +55314,8 @@ radio_group_src_main.install = function (Vue) {
|
|
|
55082
55314
|
};
|
|
55083
55315
|
|
|
55084
55316
|
/* harmony default export */ var radio_group = (radio_group_src_main);
|
|
55085
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=
|
|
55086
|
-
var
|
|
55317
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=07b8a28c&
|
|
55318
|
+
var mainvue_type_template_id_07b8a28c_render = function () {
|
|
55087
55319
|
var _vm = this
|
|
55088
55320
|
var _h = _vm.$createElement
|
|
55089
55321
|
var _c = _vm._self._c || _h
|
|
@@ -55232,11 +55464,11 @@ var mainvue_type_template_id_74d02fd0_render = function () {
|
|
|
55232
55464
|
1
|
|
55233
55465
|
)
|
|
55234
55466
|
}
|
|
55235
|
-
var
|
|
55236
|
-
|
|
55467
|
+
var mainvue_type_template_id_07b8a28c_staticRenderFns = []
|
|
55468
|
+
mainvue_type_template_id_07b8a28c_render._withStripped = true
|
|
55237
55469
|
|
|
55238
55470
|
|
|
55239
|
-
// CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=
|
|
55471
|
+
// CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=07b8a28c&
|
|
55240
55472
|
|
|
55241
55473
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=script&lang=js&
|
|
55242
55474
|
//
|
|
@@ -55413,7 +55645,12 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55413
55645
|
type: 'success'
|
|
55414
55646
|
});
|
|
55415
55647
|
_this3.msgBox.handleClose();
|
|
55416
|
-
|
|
55648
|
+
try {
|
|
55649
|
+
_this3.reload && utils_util["a" /* default */].win.top.location.reload();
|
|
55650
|
+
} catch (error) {
|
|
55651
|
+
_this3.reload && utils_util["a" /* default */].win.location.reload();
|
|
55652
|
+
utils_util["a" /* default */].win.postMessage({ type: 3 }, '*');
|
|
55653
|
+
}
|
|
55417
55654
|
} else {
|
|
55418
55655
|
_this3.$message({
|
|
55419
55656
|
message: msg,
|
|
@@ -55489,7 +55726,12 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55489
55726
|
type: 'success'
|
|
55490
55727
|
});
|
|
55491
55728
|
_this5.msgBox.handleClose();
|
|
55492
|
-
|
|
55729
|
+
try {
|
|
55730
|
+
_this5.reload && utils_util["a" /* default */].win.top.location.reload();
|
|
55731
|
+
} catch (error) {
|
|
55732
|
+
_this5.reload && utils_util["a" /* default */].win.location.reload();
|
|
55733
|
+
utils_util["a" /* default */].win.postMessage({ type: 3 }, '*');
|
|
55734
|
+
}
|
|
55493
55735
|
} else {
|
|
55494
55736
|
_this5.scanCode = setTimeout(function () {
|
|
55495
55737
|
_this5.handleScanCodeRetrialAuth();
|
|
@@ -55520,8 +55762,8 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55520
55762
|
|
|
55521
55763
|
var retrial_auth_src_main_component = normalizeComponent(
|
|
55522
55764
|
packages_retrial_auth_src_mainvue_type_script_lang_js_,
|
|
55523
|
-
|
|
55524
|
-
|
|
55765
|
+
mainvue_type_template_id_07b8a28c_render,
|
|
55766
|
+
mainvue_type_template_id_07b8a28c_staticRenderFns,
|
|
55525
55767
|
false,
|
|
55526
55768
|
null,
|
|
55527
55769
|
null,
|
|
@@ -58552,8 +58794,8 @@ var tree_component = normalizeComponent(
|
|
|
58552
58794
|
)
|
|
58553
58795
|
|
|
58554
58796
|
/* harmony default export */ var tree = (tree_component.exports);
|
|
58555
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
58556
|
-
var
|
|
58797
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
|
|
58798
|
+
var selectionvue_type_template_id_0ec05c7a_render = function () {
|
|
58557
58799
|
var _vm = this
|
|
58558
58800
|
var _h = _vm.$createElement
|
|
58559
58801
|
var _c = _vm._self._c || _h
|
|
@@ -58601,6 +58843,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58601
58843
|
disabled:
|
|
58602
58844
|
typeof item == "string" ? false : item.disabled,
|
|
58603
58845
|
"value-key": _vm.valueKey,
|
|
58846
|
+
tooltip: item[_vm.tipKey],
|
|
58604
58847
|
},
|
|
58605
58848
|
},
|
|
58606
58849
|
"el-radio",
|
|
@@ -58655,6 +58898,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58655
58898
|
disabled:
|
|
58656
58899
|
typeof item == "string" ? false : item.disabled,
|
|
58657
58900
|
"value-key": _vm.valueKey,
|
|
58901
|
+
tooltip: item[_vm.tipKey],
|
|
58658
58902
|
},
|
|
58659
58903
|
},
|
|
58660
58904
|
"el-checkbox",
|
|
@@ -58692,11 +58936,11 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58692
58936
|
1
|
|
58693
58937
|
)
|
|
58694
58938
|
}
|
|
58695
|
-
var
|
|
58696
|
-
|
|
58939
|
+
var selectionvue_type_template_id_0ec05c7a_staticRenderFns = []
|
|
58940
|
+
selectionvue_type_template_id_0ec05c7a_render._withStripped = true
|
|
58697
58941
|
|
|
58698
58942
|
|
|
58699
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
58943
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
|
|
58700
58944
|
|
|
58701
58945
|
// EXTERNAL MODULE: external "sortablejs"
|
|
58702
58946
|
var external_sortablejs_ = __webpack_require__(18);
|
|
@@ -58752,6 +58996,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58752
58996
|
//
|
|
58753
58997
|
//
|
|
58754
58998
|
//
|
|
58999
|
+
//
|
|
59000
|
+
//
|
|
58755
59001
|
|
|
58756
59002
|
|
|
58757
59003
|
|
|
@@ -58768,6 +59014,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58768
59014
|
type: String,
|
|
58769
59015
|
default: 'showname'
|
|
58770
59016
|
},
|
|
59017
|
+
tipKey: {
|
|
59018
|
+
type: String,
|
|
59019
|
+
default: 'pathname'
|
|
59020
|
+
},
|
|
58771
59021
|
valueType: {
|
|
58772
59022
|
type: String,
|
|
58773
59023
|
default: 'object',
|
|
@@ -58857,8 +59107,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58857
59107
|
|
|
58858
59108
|
var selection_component = normalizeComponent(
|
|
58859
59109
|
src_selectionvue_type_script_lang_js_,
|
|
58860
|
-
|
|
58861
|
-
|
|
59110
|
+
selectionvue_type_template_id_0ec05c7a_render,
|
|
59111
|
+
selectionvue_type_template_id_0ec05c7a_staticRenderFns,
|
|
58862
59112
|
false,
|
|
58863
59113
|
null,
|
|
58864
59114
|
null,
|
|
@@ -60723,8 +60973,8 @@ switch_src_main.install = function (Vue) {
|
|
|
60723
60973
|
};
|
|
60724
60974
|
|
|
60725
60975
|
/* harmony default export */ var packages_switch = (switch_src_main);
|
|
60726
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=
|
|
60727
|
-
var
|
|
60976
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=53268d69&
|
|
60977
|
+
var mainvue_type_template_id_53268d69_render = function () {
|
|
60728
60978
|
var _vm = this
|
|
60729
60979
|
var _h = _vm.$createElement
|
|
60730
60980
|
var _c = _vm._self._c || _h
|
|
@@ -62451,11 +62701,11 @@ var mainvue_type_template_id_f3f60fca_render = function () {
|
|
|
62451
62701
|
2
|
|
62452
62702
|
)
|
|
62453
62703
|
}
|
|
62454
|
-
var
|
|
62455
|
-
|
|
62704
|
+
var mainvue_type_template_id_53268d69_staticRenderFns = []
|
|
62705
|
+
mainvue_type_template_id_53268d69_render._withStripped = true
|
|
62456
62706
|
|
|
62457
62707
|
|
|
62458
|
-
// CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=
|
|
62708
|
+
// CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=53268d69&
|
|
62459
62709
|
|
|
62460
62710
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=script&lang=js&
|
|
62461
62711
|
//
|
|
@@ -63224,6 +63474,7 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
|
|
|
63224
63474
|
},
|
|
63225
63475
|
handleChangeData: function handleChangeData(res) {
|
|
63226
63476
|
this.$emit('changeData', res);
|
|
63477
|
+
this.$emit('change-data', res);
|
|
63227
63478
|
}
|
|
63228
63479
|
}
|
|
63229
63480
|
});
|
|
@@ -63239,8 +63490,8 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
|
|
|
63239
63490
|
|
|
63240
63491
|
var tabs_src_main_component = normalizeComponent(
|
|
63241
63492
|
packages_tabs_src_mainvue_type_script_lang_js_,
|
|
63242
|
-
|
|
63243
|
-
|
|
63493
|
+
mainvue_type_template_id_53268d69_render,
|
|
63494
|
+
mainvue_type_template_id_53268d69_staticRenderFns,
|
|
63244
63495
|
false,
|
|
63245
63496
|
null,
|
|
63246
63497
|
null,
|
|
@@ -64453,8 +64704,8 @@ tree_src_main.install = function (Vue) {
|
|
|
64453
64704
|
};
|
|
64454
64705
|
|
|
64455
64706
|
/* harmony default export */ var packages_tree = (tree_src_main);
|
|
64456
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
64457
|
-
var
|
|
64707
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
|
|
64708
|
+
var mainvue_type_template_id_074a6d7c_render = function () {
|
|
64458
64709
|
var _vm = this
|
|
64459
64710
|
var _h = _vm.$createElement
|
|
64460
64711
|
var _c = _vm._self._c || _h
|
|
@@ -64783,11 +65034,11 @@ var mainvue_type_template_id_0fcb164d_render = function () {
|
|
|
64783
65034
|
2
|
|
64784
65035
|
)
|
|
64785
65036
|
}
|
|
64786
|
-
var
|
|
64787
|
-
|
|
65037
|
+
var mainvue_type_template_id_074a6d7c_staticRenderFns = []
|
|
65038
|
+
mainvue_type_template_id_074a6d7c_render._withStripped = true
|
|
64788
65039
|
|
|
64789
65040
|
|
|
64790
|
-
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
65041
|
+
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=074a6d7c&
|
|
64791
65042
|
|
|
64792
65043
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
|
|
64793
65044
|
var tree_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; };
|
|
@@ -65018,7 +65269,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65018
65269
|
checkedAsSearch: {
|
|
65019
65270
|
type: Boolean,
|
|
65020
65271
|
default: true
|
|
65021
|
-
}
|
|
65272
|
+
},
|
|
65273
|
+
iframe: Boolean
|
|
65022
65274
|
},
|
|
65023
65275
|
computed: {
|
|
65024
65276
|
wujieName: function wujieName() {
|
|
@@ -65030,7 +65282,7 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65030
65282
|
if (src) {
|
|
65031
65283
|
if (src.indexOf('//:') === 0) {
|
|
65032
65284
|
return 'wujie';
|
|
65033
|
-
} else if (src.indexOf('dhtml') > -1 || src.indexOf('html') > -1 && src.indexOf('html#') === -1) {
|
|
65285
|
+
} else if (src.indexOf('dhtml') > -1 || src.indexOf('html') > -1 && src.indexOf('html#') === -1 || this.iframe) {
|
|
65034
65286
|
return 'iframe';
|
|
65035
65287
|
} else {
|
|
65036
65288
|
var routes = this.$router.options.routes;
|
|
@@ -65276,6 +65528,36 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65276
65528
|
},
|
|
65277
65529
|
handleCurrentFirst: function handleCurrentFirst(type, res, tabs) {
|
|
65278
65530
|
this.$emit('current-first', type, res, tabs);
|
|
65531
|
+
},
|
|
65532
|
+
hasRouter: function hasRouter(res, url) {
|
|
65533
|
+
if (!url) {
|
|
65534
|
+
return false;
|
|
65535
|
+
}
|
|
65536
|
+
if (Array.isArray(res)) {
|
|
65537
|
+
for (var i in res) {
|
|
65538
|
+
var path = this.hasRouter(res[i], url);
|
|
65539
|
+
if (path) {
|
|
65540
|
+
return path;
|
|
65541
|
+
}
|
|
65542
|
+
}
|
|
65543
|
+
} else {
|
|
65544
|
+
var _path = res.path;
|
|
65545
|
+
if (_path !== '/' && _path !== '/404') {
|
|
65546
|
+
_path = _path.replace(_path[1], _path[1].toLowerCase());
|
|
65547
|
+
}
|
|
65548
|
+
var pathname = url.substring(url.indexOf('#/') + 1);
|
|
65549
|
+
pathname = pathname.replace(pathname[1], pathname[1].toLowerCase()).split('?')[0];
|
|
65550
|
+
if (res.path !== '/' && pathname == _path) {
|
|
65551
|
+
return pathname;
|
|
65552
|
+
}
|
|
65553
|
+
if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
|
|
65554
|
+
var _path2 = this.hasRouter(res.children, url);
|
|
65555
|
+
if (_path2) {
|
|
65556
|
+
return _path2;
|
|
65557
|
+
}
|
|
65558
|
+
}
|
|
65559
|
+
}
|
|
65560
|
+
return false;
|
|
65279
65561
|
}
|
|
65280
65562
|
}
|
|
65281
65563
|
});
|
|
@@ -65291,8 +65573,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65291
65573
|
|
|
65292
65574
|
var tree_group_src_main_component = normalizeComponent(
|
|
65293
65575
|
packages_tree_group_src_mainvue_type_script_lang_js_,
|
|
65294
|
-
|
|
65295
|
-
|
|
65576
|
+
mainvue_type_template_id_074a6d7c_render,
|
|
65577
|
+
mainvue_type_template_id_074a6d7c_staticRenderFns,
|
|
65296
65578
|
false,
|
|
65297
65579
|
null,
|
|
65298
65580
|
null,
|
|
@@ -65649,8 +65931,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
65649
65931
|
};
|
|
65650
65932
|
|
|
65651
65933
|
/* harmony default export */ var packages_toolbar = (toolbar_src_main);
|
|
65652
|
-
// 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=
|
|
65653
|
-
var
|
|
65934
|
+
// 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=ec2b55d6&
|
|
65935
|
+
var tablevue_type_template_id_ec2b55d6_render = function () {
|
|
65654
65936
|
var _vm = this
|
|
65655
65937
|
var _h = _vm.$createElement
|
|
65656
65938
|
var _c = _vm._self._c || _h
|
|
@@ -68305,11 +68587,11 @@ var tablevue_type_template_id_0cd27751_render = function () {
|
|
|
68305
68587
|
2
|
|
68306
68588
|
)
|
|
68307
68589
|
}
|
|
68308
|
-
var
|
|
68309
|
-
|
|
68590
|
+
var tablevue_type_template_id_ec2b55d6_staticRenderFns = []
|
|
68591
|
+
tablevue_type_template_id_ec2b55d6_render._withStripped = true
|
|
68310
68592
|
|
|
68311
68593
|
|
|
68312
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
68594
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=ec2b55d6&
|
|
68313
68595
|
|
|
68314
68596
|
// 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&
|
|
68315
68597
|
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; };
|
|
@@ -69633,6 +69915,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69633
69915
|
},
|
|
69634
69916
|
handleClick: function handleClick(res) {
|
|
69635
69917
|
this.$emit('btnClick', res, this.models);
|
|
69918
|
+
this.$emit('btn-click', res, this.models);
|
|
69636
69919
|
},
|
|
69637
69920
|
handleChange: function handleChange(res, value, data) {
|
|
69638
69921
|
if (res.events && res.events.change) {
|
|
@@ -69666,6 +69949,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69666
69949
|
res.events.dataChange(res, value, data);
|
|
69667
69950
|
} else {
|
|
69668
69951
|
this.$emit('dataChange', res, data);
|
|
69952
|
+
this.$emit('data-change', res, data);
|
|
69669
69953
|
}
|
|
69670
69954
|
},
|
|
69671
69955
|
handleExclAttribute: function handleExclAttribute(_ref) {
|
|
@@ -69691,8 +69975,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69691
69975
|
|
|
69692
69976
|
var form_src_table_component = normalizeComponent(
|
|
69693
69977
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
69694
|
-
|
|
69695
|
-
|
|
69978
|
+
tablevue_type_template_id_ec2b55d6_render,
|
|
69979
|
+
tablevue_type_template_id_ec2b55d6_staticRenderFns,
|
|
69696
69980
|
false,
|
|
69697
69981
|
null,
|
|
69698
69982
|
null,
|
|
@@ -69709,8 +69993,8 @@ form_src_table.install = function (Vue) {
|
|
|
69709
69993
|
};
|
|
69710
69994
|
|
|
69711
69995
|
/* harmony default export */ var table_form = (form_src_table);
|
|
69712
|
-
// 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=
|
|
69713
|
-
var
|
|
69996
|
+
// 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=4eac4348&
|
|
69997
|
+
var mainvue_type_template_id_4eac4348_render = function () {
|
|
69714
69998
|
var _vm = this
|
|
69715
69999
|
var _h = _vm.$createElement
|
|
69716
70000
|
var _c = _vm._self._c || _h
|
|
@@ -70089,11 +70373,11 @@ var mainvue_type_template_id_2f5f0ecd_render = function () {
|
|
|
70089
70373
|
)
|
|
70090
70374
|
: _vm._e()
|
|
70091
70375
|
}
|
|
70092
|
-
var
|
|
70093
|
-
|
|
70376
|
+
var mainvue_type_template_id_4eac4348_staticRenderFns = []
|
|
70377
|
+
mainvue_type_template_id_4eac4348_render._withStripped = true
|
|
70094
70378
|
|
|
70095
70379
|
|
|
70096
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
70380
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=4eac4348&
|
|
70097
70381
|
|
|
70098
70382
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
70099
70383
|
/* harmony default export */ var picture = ({
|
|
@@ -70845,7 +71129,16 @@ var mainvue_type_script_lang_js_props;
|
|
|
70845
71129
|
this.$refs.upload.submit();
|
|
70846
71130
|
},
|
|
70847
71131
|
openKkfileview: function openKkfileview(file) {
|
|
70848
|
-
var host =
|
|
71132
|
+
var host = '';
|
|
71133
|
+
try {
|
|
71134
|
+
host = utils_util["a" /* default */].win.top.location.origin;
|
|
71135
|
+
} catch (error) {
|
|
71136
|
+
try {
|
|
71137
|
+
host = utils_util["a" /* default */].win.parent.location.origin;
|
|
71138
|
+
} catch (error) {
|
|
71139
|
+
host = utils_util["a" /* default */].win.location.origin;
|
|
71140
|
+
}
|
|
71141
|
+
}
|
|
70849
71142
|
if (this.host) {
|
|
70850
71143
|
if (utils_util["a" /* default */].startWith(this.host, 'http')) {
|
|
70851
71144
|
host = this.host;
|
|
@@ -70854,7 +71147,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
70854
71147
|
}
|
|
70855
71148
|
}
|
|
70856
71149
|
var url = encodeURIComponent(external_js_base64_["Base64"].encode(host + (typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */]) + ('?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&fullfilename=' + file.originalName)));
|
|
70857
|
-
utils_util["a" /* default */].win.
|
|
71150
|
+
utils_util["a" /* default */].win.open(this.kkfileview + '?url=' + url);
|
|
70858
71151
|
},
|
|
70859
71152
|
handlePreview: function handlePreview(res) {
|
|
70860
71153
|
var _this4 = this;
|
|
@@ -70872,13 +71165,13 @@ var mainvue_type_script_lang_js_props;
|
|
|
70872
71165
|
if (this.kkfileview) {
|
|
70873
71166
|
this.openKkfileview(file);
|
|
70874
71167
|
} else {
|
|
70875
|
-
utils_util["a" /* default */].win.
|
|
71168
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["kb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
|
|
70876
71169
|
}
|
|
70877
71170
|
} else if (suffix.includes('pdf')) {
|
|
70878
71171
|
if (this.kkfileview) {
|
|
70879
71172
|
this.openKkfileview(file);
|
|
70880
71173
|
} else {
|
|
70881
|
-
utils_util["a" /* default */].win.
|
|
71174
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["jb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
|
|
70882
71175
|
}
|
|
70883
71176
|
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
70884
71177
|
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
@@ -70897,11 +71190,11 @@ var mainvue_type_script_lang_js_props;
|
|
|
70897
71190
|
if (this.kkfileview) {
|
|
70898
71191
|
this.openKkfileview(file);
|
|
70899
71192
|
} else {
|
|
70900
|
-
utils_util["a" /* default */].win.
|
|
71193
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId);
|
|
70901
71194
|
}
|
|
70902
71195
|
}
|
|
70903
71196
|
} else {
|
|
70904
|
-
utils_util["a" /* default */].win.
|
|
71197
|
+
utils_util["a" /* default */].win.open(URL.createObjectURL(file.raw));
|
|
70905
71198
|
}
|
|
70906
71199
|
}
|
|
70907
71200
|
}
|
|
@@ -71179,8 +71472,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
71179
71472
|
|
|
71180
71473
|
var upload_src_main_component = normalizeComponent(
|
|
71181
71474
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
71182
|
-
|
|
71183
|
-
|
|
71475
|
+
mainvue_type_template_id_4eac4348_render,
|
|
71476
|
+
mainvue_type_template_id_4eac4348_staticRenderFns,
|
|
71184
71477
|
false,
|
|
71185
71478
|
null,
|
|
71186
71479
|
null,
|
|
@@ -71655,7 +71948,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
71655
71948
|
}
|
|
71656
71949
|
|
|
71657
71950
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
71658
|
-
version: '0.5.
|
|
71951
|
+
version: '0.5.44',
|
|
71659
71952
|
install: install,
|
|
71660
71953
|
Button: packages_button,
|
|
71661
71954
|
ButtonGroup: button_group,
|