eoss-ui 0.5.42 → 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 +211 -106
- package/lib/date-picker.js +155 -71
- package/lib/dialog.js +132 -71
- package/lib/eoss-ui.common.js +744 -417
- 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 +67 -28
- package/packages/data-table-form/src/tbody.vue +3 -0
- package/packages/date-picker/src/main.vue +48 -5
- 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/data-table.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- 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/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_ea89055a_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_ea89055a_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_ea89055a_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_ea89055a_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_ea89055a_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,
|
|
@@ -8205,7 +8291,6 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8205
8291
|
pageSize: 20,
|
|
8206
8292
|
totalCount: 0
|
|
8207
8293
|
},
|
|
8208
|
-
where: {},
|
|
8209
8294
|
wheres: {},
|
|
8210
8295
|
tableHeight: 'auto',
|
|
8211
8296
|
styles: {},
|
|
@@ -8213,7 +8298,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8213
8298
|
options: {},
|
|
8214
8299
|
icon: true,
|
|
8215
8300
|
show: true,
|
|
8216
|
-
sysCodes: []
|
|
8301
|
+
sysCodes: [],
|
|
8302
|
+
infiniteDisabled: this.infiniteScroll
|
|
8217
8303
|
};
|
|
8218
8304
|
},
|
|
8219
8305
|
|
|
@@ -8236,13 +8322,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8236
8322
|
});
|
|
8237
8323
|
}
|
|
8238
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
|
+
}
|
|
8239
8331
|
thead.push({
|
|
8240
8332
|
type: 'index',
|
|
8241
8333
|
label: '序号',
|
|
8242
8334
|
width: '70',
|
|
8243
8335
|
align: 'center',
|
|
8244
8336
|
fixed: 'left',
|
|
8245
|
-
index:
|
|
8337
|
+
index: index
|
|
8246
8338
|
});
|
|
8247
8339
|
}
|
|
8248
8340
|
if (this.theadData.length) {
|
|
@@ -8260,10 +8352,10 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8260
8352
|
get: function get() {
|
|
8261
8353
|
var _this = this;
|
|
8262
8354
|
|
|
8263
|
-
if (this.list) {
|
|
8355
|
+
if (this.list && this.list.length) {
|
|
8264
8356
|
return this.list;
|
|
8265
8357
|
}
|
|
8266
|
-
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) {
|
|
8267
8359
|
this.config.totalCount = this.data.length - this.lose;
|
|
8268
8360
|
return this.data.filter(function (item, index) {
|
|
8269
8361
|
return index > (_this.config.pageNum - 1) * _this.config.pageSize - 1 && index < _this.config.pageNum * _this.config.pageSize;
|
|
@@ -8516,12 +8608,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8516
8608
|
}
|
|
8517
8609
|
this.data.splice(index, 0, data);
|
|
8518
8610
|
this.$emit('dataChange', 'add', data);
|
|
8611
|
+
this.$emit('data-change', 'add', data);
|
|
8519
8612
|
this.$emit('btnClick', {
|
|
8520
8613
|
event: 'addRow',
|
|
8521
8614
|
row: data,
|
|
8522
8615
|
index: index,
|
|
8523
8616
|
data: this.data
|
|
8524
8617
|
});
|
|
8618
|
+
this.$emit('btn-click', {
|
|
8619
|
+
event: 'addRow',
|
|
8620
|
+
row: data,
|
|
8621
|
+
index: index,
|
|
8622
|
+
data: this.data
|
|
8623
|
+
});
|
|
8525
8624
|
} else {
|
|
8526
8625
|
var _index = this.data.length;
|
|
8527
8626
|
if (this.page) {
|
|
@@ -8557,12 +8656,19 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8557
8656
|
}
|
|
8558
8657
|
this.data.splice(index, 1);
|
|
8559
8658
|
this.$emit('dataChange', 'delete', data);
|
|
8659
|
+
this.$emit('data-change', 'delete', data);
|
|
8560
8660
|
this.$emit('btnClick', {
|
|
8561
8661
|
event: 'deleteRow',
|
|
8562
8662
|
row: data,
|
|
8563
8663
|
index: index,
|
|
8564
8664
|
data: this.data
|
|
8565
8665
|
});
|
|
8666
|
+
this.$emit('btn-click', {
|
|
8667
|
+
event: 'deleteRow',
|
|
8668
|
+
row: data,
|
|
8669
|
+
index: index,
|
|
8670
|
+
data: this.data
|
|
8671
|
+
});
|
|
8566
8672
|
},
|
|
8567
8673
|
checkSelect: function checkSelect(newVal) {
|
|
8568
8674
|
var _this5 = this;
|
|
@@ -8619,6 +8725,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8619
8725
|
getTableData: function getTableData(res) {
|
|
8620
8726
|
var _this7 = this;
|
|
8621
8727
|
|
|
8728
|
+
console.log(11212);
|
|
8622
8729
|
var where = void 0;
|
|
8623
8730
|
var first = void 0;
|
|
8624
8731
|
if (res) {
|
|
@@ -8628,7 +8735,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8628
8735
|
if (!this.url) {
|
|
8629
8736
|
return;
|
|
8630
8737
|
}
|
|
8631
|
-
if (first !== false) {
|
|
8738
|
+
if (first !== false && !this.infiniteScroll) {
|
|
8632
8739
|
this.config.pageNum = 1;
|
|
8633
8740
|
}
|
|
8634
8741
|
this.tableLoadingText = '加载中...';
|
|
@@ -8640,7 +8747,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8640
8747
|
reqData = utils_util["a" /* default */].extend({}, reqData, where);
|
|
8641
8748
|
}
|
|
8642
8749
|
if (this.retainSearh) {
|
|
8643
|
-
reqData = utils_util["a" /* default */].extend({}, reqData, this.
|
|
8750
|
+
reqData = utils_util["a" /* default */].extend({}, reqData, this.wheres);
|
|
8644
8751
|
}
|
|
8645
8752
|
this.tableLoading = true;
|
|
8646
8753
|
utils_util["a" /* default */].ajax({
|
|
@@ -8652,13 +8759,21 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8652
8759
|
}).then(function (res) {
|
|
8653
8760
|
_this7.tableLoading = false;
|
|
8654
8761
|
if (res.rCode === 0 || res.status === 'success') {
|
|
8655
|
-
_this7.$refs.oaTable && _this7.$refs.oaTable.resetScroll && _this7.$refs.oaTable.resetScroll(0, 0);
|
|
8656
8762
|
var results = _this7.parseData !== undefined ? _this7.parseData(res.results || res.data || res) : res.results || res.data;
|
|
8657
|
-
_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
|
+
}
|
|
8658
8770
|
_this7.config.totalCount = results.count || results.total || results.totalCount;
|
|
8659
8771
|
_this7.checked && _this7.$nextTick(function () {
|
|
8660
8772
|
_this7.checkSelect(_this7.checked);
|
|
8661
8773
|
});
|
|
8774
|
+
if (_this7.infiniteScroll && _this7.config.totalCount === _this7.list.length) {
|
|
8775
|
+
_this7.infiniteDisabled = true;
|
|
8776
|
+
}
|
|
8662
8777
|
} else {
|
|
8663
8778
|
_this7.list = [];
|
|
8664
8779
|
//this.tableHeight = false;
|
|
@@ -8958,6 +9073,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8958
9073
|
sizeChange: function sizeChange(res) {
|
|
8959
9074
|
this.config.pageSize = res;
|
|
8960
9075
|
this.config.pageNum = 1;
|
|
9076
|
+
this.checkSelect(this.checked);
|
|
8961
9077
|
this.$emit('page-size-change', res);
|
|
8962
9078
|
if (this.url) {
|
|
8963
9079
|
this.getTableData({ where: this.wheres, first: false });
|
|
@@ -8965,6 +9081,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8965
9081
|
},
|
|
8966
9082
|
currentChange: function currentChange(res) {
|
|
8967
9083
|
this.config.pageNum = res;
|
|
9084
|
+
this.checkSelect(this.checked);
|
|
8968
9085
|
this.$emit('page-current-change', res);
|
|
8969
9086
|
if (this.url) {
|
|
8970
9087
|
this.getTableData({ where: this.wheres, first: false });
|
|
@@ -8972,10 +9089,12 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8972
9089
|
},
|
|
8973
9090
|
preClick: function preClick(res) {
|
|
8974
9091
|
this.config.pageNum = res;
|
|
9092
|
+
this.checkSelect(this.checked);
|
|
8975
9093
|
this.$emit('prev', res);
|
|
8976
9094
|
},
|
|
8977
9095
|
nextClick: function nextClick(res) {
|
|
8978
9096
|
this.config.pageNum = res;
|
|
9097
|
+
this.checkSelect(this.checked);
|
|
8979
9098
|
this.$emit('next', res);
|
|
8980
9099
|
},
|
|
8981
9100
|
hanleSearch: function hanleSearch(data) {
|
|
@@ -9151,8 +9270,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9151
9270
|
|
|
9152
9271
|
var data_table_src_main_component = normalizeComponent(
|
|
9153
9272
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
9154
|
-
|
|
9155
|
-
|
|
9273
|
+
mainvue_type_template_id_4d70cb63_render,
|
|
9274
|
+
mainvue_type_template_id_4d70cb63_staticRenderFns,
|
|
9156
9275
|
false,
|
|
9157
9276
|
null,
|
|
9158
9277
|
null,
|
|
@@ -9572,8 +9691,8 @@ var thead_component = normalizeComponent(
|
|
|
9572
9691
|
)
|
|
9573
9692
|
|
|
9574
9693
|
/* harmony default export */ var src_thead = (thead_component.exports);
|
|
9575
|
-
// 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=
|
|
9576
|
-
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 () {
|
|
9577
9696
|
var _vm = this
|
|
9578
9697
|
var _h = _vm.$createElement
|
|
9579
9698
|
var _c = _vm._self._c || _h
|
|
@@ -9973,11 +10092,11 @@ var tbodyvue_type_template_id_6ced763c_render = function () {
|
|
|
9973
10092
|
0
|
|
9974
10093
|
)
|
|
9975
10094
|
}
|
|
9976
|
-
var
|
|
9977
|
-
|
|
10095
|
+
var tbodyvue_type_template_id_810ed4be_staticRenderFns = []
|
|
10096
|
+
tbodyvue_type_template_id_810ed4be_render._withStripped = true
|
|
9978
10097
|
|
|
9979
10098
|
|
|
9980
|
-
// 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&
|
|
9981
10100
|
|
|
9982
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&
|
|
9983
10102
|
var radiovue_type_template_id_3c835729_render = function () {
|
|
@@ -10484,12 +10603,15 @@ var tbodyvue_type_script_lang_js_components;
|
|
|
10484
10603
|
methods: {
|
|
10485
10604
|
handleBlur: function handleBlur(data) {
|
|
10486
10605
|
this.$emit('formBlur', data);
|
|
10606
|
+
this.$emit('form-blur', data);
|
|
10487
10607
|
},
|
|
10488
10608
|
handleFocus: function handleFocus(data) {
|
|
10489
10609
|
this.$emit('formFocus', data);
|
|
10610
|
+
this.$emit('form-focus', data);
|
|
10490
10611
|
},
|
|
10491
10612
|
handleChange: function handleChange(data) {
|
|
10492
10613
|
this.$emit('formChange', data);
|
|
10614
|
+
this.$emit('form-change', data);
|
|
10493
10615
|
},
|
|
10494
10616
|
handeClick: function handeClick(res) {
|
|
10495
10617
|
var item = res.item,
|
|
@@ -10585,8 +10707,8 @@ var tbodyvue_type_script_lang_js_components;
|
|
|
10585
10707
|
|
|
10586
10708
|
var tbody_component = normalizeComponent(
|
|
10587
10709
|
src_tbodyvue_type_script_lang_js_,
|
|
10588
|
-
|
|
10589
|
-
|
|
10710
|
+
tbodyvue_type_template_id_810ed4be_render,
|
|
10711
|
+
tbodyvue_type_template_id_810ed4be_staticRenderFns,
|
|
10590
10712
|
false,
|
|
10591
10713
|
null,
|
|
10592
10714
|
null,
|
|
@@ -11045,6 +11167,11 @@ var _formats = {
|
|
|
11045
11167
|
/* harmony default export */ var date_picker_src_mainvue_type_script_lang_js_ = ({
|
|
11046
11168
|
name: 'EsDatePicker',
|
|
11047
11169
|
inheritAttrs: false,
|
|
11170
|
+
inject: {
|
|
11171
|
+
esForm: {
|
|
11172
|
+
default: ''
|
|
11173
|
+
}
|
|
11174
|
+
},
|
|
11048
11175
|
props: {
|
|
11049
11176
|
value: [String, Array, Number, Date],
|
|
11050
11177
|
display: {
|
|
@@ -11079,16 +11206,19 @@ var _formats = {
|
|
|
11079
11206
|
format: String,
|
|
11080
11207
|
readonly: Boolean,
|
|
11081
11208
|
plain: Boolean,
|
|
11082
|
-
default: Boolean
|
|
11209
|
+
default: Boolean,
|
|
11210
|
+
setFormKeys: Array
|
|
11083
11211
|
},
|
|
11084
11212
|
data: function data() {
|
|
11085
|
-
return {
|
|
11213
|
+
return {
|
|
11214
|
+
date: ''
|
|
11215
|
+
};
|
|
11086
11216
|
},
|
|
11087
11217
|
|
|
11088
11218
|
computed: {
|
|
11089
11219
|
models: {
|
|
11090
11220
|
get: function get() {
|
|
11091
|
-
return this.value ? this.value :
|
|
11221
|
+
return this.value ? this.value : this.dae;
|
|
11092
11222
|
},
|
|
11093
11223
|
set: function set(val) {
|
|
11094
11224
|
return val;
|
|
@@ -11111,7 +11241,34 @@ var _formats = {
|
|
|
11111
11241
|
return this.range || this.type === 'datetimerange' || this.type === 'daterange' || this.type === 'monthrange' ? 'es-date-picker-range' : '';
|
|
11112
11242
|
}
|
|
11113
11243
|
},
|
|
11114
|
-
watch: {
|
|
11244
|
+
watch: {
|
|
11245
|
+
models: {
|
|
11246
|
+
deep: true,
|
|
11247
|
+
handler: function handler(val) {
|
|
11248
|
+
if (this.setFormKeys && this.esForm && this.dateType.indexOf('range') > -1) {
|
|
11249
|
+
var obj = this.esForm.models;
|
|
11250
|
+
this.setFormKeys.forEach(function (item, index) {
|
|
11251
|
+
if (val && val.length) {
|
|
11252
|
+
obj[item] = val[index];
|
|
11253
|
+
} else {
|
|
11254
|
+
delete obj[item];
|
|
11255
|
+
}
|
|
11256
|
+
});
|
|
11257
|
+
this.esForm.models = obj;
|
|
11258
|
+
}
|
|
11259
|
+
}
|
|
11260
|
+
},
|
|
11261
|
+
'esForm.models': {
|
|
11262
|
+
deep: true,
|
|
11263
|
+
handler: function handler(val) {
|
|
11264
|
+
if (this.setFormKeys && this.dateType.indexOf('range') > -1 && !utils_util["a" /* default */].isExist(this.value)) {
|
|
11265
|
+
this.date = this.setFormKeys.map(function (item) {
|
|
11266
|
+
return val[item] || '';
|
|
11267
|
+
});
|
|
11268
|
+
}
|
|
11269
|
+
}
|
|
11270
|
+
}
|
|
11271
|
+
},
|
|
11115
11272
|
mounted: function mounted() {},
|
|
11116
11273
|
|
|
11117
11274
|
methods: {
|
|
@@ -11219,8 +11376,8 @@ date_picker_src_main.install = function (Vue) {
|
|
|
11219
11376
|
};
|
|
11220
11377
|
|
|
11221
11378
|
/* harmony default export */ var date_picker = (date_picker_src_main);
|
|
11222
|
-
// 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=
|
|
11223
|
-
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 () {
|
|
11224
11381
|
var _vm = this
|
|
11225
11382
|
var _h = _vm.$createElement
|
|
11226
11383
|
var _c = _vm._self._c || _h
|
|
@@ -11729,11 +11886,11 @@ var mainvue_type_template_id_009d211c_render = function () {
|
|
|
11729
11886
|
2
|
|
11730
11887
|
)
|
|
11731
11888
|
}
|
|
11732
|
-
var
|
|
11733
|
-
|
|
11889
|
+
var mainvue_type_template_id_2b57a71d_staticRenderFns = []
|
|
11890
|
+
mainvue_type_template_id_2b57a71d_render._withStripped = true
|
|
11734
11891
|
|
|
11735
11892
|
|
|
11736
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
11893
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=2b57a71d&
|
|
11737
11894
|
|
|
11738
11895
|
// EXTERNAL MODULE: external "wujie-vue2"
|
|
11739
11896
|
var external_wujie_vue2_ = __webpack_require__(13);
|
|
@@ -12131,8 +12288,20 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
12131
12288
|
created: function created() {
|
|
12132
12289
|
var _this = this;
|
|
12133
12290
|
|
|
12134
|
-
var availWidth =
|
|
12135
|
-
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
|
+
}
|
|
12136
12305
|
this.sizes.max = { width: availWidth + 'px', height: availHeight + 'px' };
|
|
12137
12306
|
if (this.size === 'full' || this.width == '100%' && this.height == '100%') {
|
|
12138
12307
|
this.full = true;
|
|
@@ -12287,8 +12456,8 @@ var mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
12287
12456
|
|
|
12288
12457
|
var dialog_src_main_component = normalizeComponent(
|
|
12289
12458
|
packages_dialog_src_mainvue_type_script_lang_js_,
|
|
12290
|
-
|
|
12291
|
-
|
|
12459
|
+
mainvue_type_template_id_2b57a71d_render,
|
|
12460
|
+
mainvue_type_template_id_2b57a71d_staticRenderFns,
|
|
12292
12461
|
false,
|
|
12293
12462
|
null,
|
|
12294
12463
|
null,
|
|
@@ -12554,8 +12723,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
12554
12723
|
};
|
|
12555
12724
|
|
|
12556
12725
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
12557
|
-
// 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=
|
|
12558
|
-
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 () {
|
|
12559
12728
|
var _vm = this
|
|
12560
12729
|
var _h = _vm.$createElement
|
|
12561
12730
|
var _c = _vm._self._c || _h
|
|
@@ -23471,11 +23640,11 @@ var mainvue_type_template_id_93b578ee_render = function () {
|
|
|
23471
23640
|
)
|
|
23472
23641
|
: _vm._e()
|
|
23473
23642
|
}
|
|
23474
|
-
var
|
|
23475
|
-
|
|
23643
|
+
var mainvue_type_template_id_7d054bca_staticRenderFns = []
|
|
23644
|
+
mainvue_type_template_id_7d054bca_render._withStripped = true
|
|
23476
23645
|
|
|
23477
23646
|
|
|
23478
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
23647
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7d054bca&
|
|
23479
23648
|
|
|
23480
23649
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
23481
23650
|
// 手机号
|
|
@@ -27976,6 +28145,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27976
28145
|
}
|
|
27977
28146
|
_this6.values = utils_util["a" /* default */].extend({}, data, value);
|
|
27978
28147
|
_this6.$emit('valueSuccess', _this6.values);
|
|
28148
|
+
_this6.$emit('value-success', _this6.values);
|
|
27979
28149
|
_this6.$emit('result', _this6.values);
|
|
27980
28150
|
}
|
|
27981
28151
|
}).catch(function (err) {
|
|
@@ -28057,6 +28227,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28057
28227
|
if (valid) {
|
|
28058
28228
|
_this7.stepActive = index;
|
|
28059
28229
|
_this7.$emit('stepChange', _this7.stepActive);
|
|
28230
|
+
_this7.$emit('step-change', _this7.stepActive);
|
|
28060
28231
|
} else {
|
|
28061
28232
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
28062
28233
|
}
|
|
@@ -28064,6 +28235,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28064
28235
|
} else {
|
|
28065
28236
|
this.stepActive = index;
|
|
28066
28237
|
this.$emit('stepChange', this.stepActive);
|
|
28238
|
+
this.$emit('step-change', this.stepActive);
|
|
28067
28239
|
}
|
|
28068
28240
|
} else if (res.event === 'submit' || res.event === 'confirm' || res.type === 'submit') {
|
|
28069
28241
|
if (this.action) {
|
|
@@ -28103,13 +28275,16 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28103
28275
|
} else if (res.event === 'stepPrev') {
|
|
28104
28276
|
this.stepActive -= 1;
|
|
28105
28277
|
this.$emit('stepChange', this.stepActive);
|
|
28278
|
+
this.$emit('step-change', this.stepActive);
|
|
28106
28279
|
this.$emit('stepPrev', res, this.models, this.getNewValue(utils_util["a" /* default */].extend({}, this._value, this.models), res));
|
|
28107
28280
|
} else if (res.event === 'stepNext') {
|
|
28108
28281
|
this.$refs.esForm.validate(function (valid, fields, triggers) {
|
|
28109
28282
|
if (valid) {
|
|
28110
28283
|
_this7.stepActive += 1;
|
|
28111
28284
|
_this7.$emit('stepChange', _this7.stepActive);
|
|
28285
|
+
_this7.$emit('step-change', _this7.stepActive);
|
|
28112
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));
|
|
28113
28288
|
} else {
|
|
28114
28289
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
28115
28290
|
}
|
|
@@ -28157,6 +28332,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28157
28332
|
},
|
|
28158
28333
|
handleDataChange: function handleDataChange(res, data) {
|
|
28159
28334
|
this.$emit('dataChange', res, data);
|
|
28335
|
+
this.$emit('data-change', res, data);
|
|
28160
28336
|
},
|
|
28161
28337
|
handleCollapse: function handleCollapse() {},
|
|
28162
28338
|
handleChange: function handleChange(a, b, c) {
|
|
@@ -28608,8 +28784,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28608
28784
|
|
|
28609
28785
|
var form_src_main_component = normalizeComponent(
|
|
28610
28786
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28611
|
-
|
|
28612
|
-
|
|
28787
|
+
mainvue_type_template_id_7d054bca_render,
|
|
28788
|
+
mainvue_type_template_id_7d054bca_staticRenderFns,
|
|
28613
28789
|
false,
|
|
28614
28790
|
null,
|
|
28615
28791
|
null,
|
|
@@ -28626,8 +28802,8 @@ form_src_main.install = function (Vue) {
|
|
|
28626
28802
|
};
|
|
28627
28803
|
|
|
28628
28804
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
28629
|
-
// 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=
|
|
28630
|
-
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 () {
|
|
28631
28807
|
var _vm = this
|
|
28632
28808
|
var _h = _vm.$createElement
|
|
28633
28809
|
var _c = _vm._self._c || _h
|
|
@@ -30346,11 +30522,11 @@ var mainvue_type_template_id_650e1054_render = function () {
|
|
|
30346
30522
|
)
|
|
30347
30523
|
: _vm._e()
|
|
30348
30524
|
}
|
|
30349
|
-
var
|
|
30350
|
-
|
|
30525
|
+
var mainvue_type_template_id_53041718_staticRenderFns = []
|
|
30526
|
+
mainvue_type_template_id_53041718_render._withStripped = true
|
|
30351
30527
|
|
|
30352
30528
|
|
|
30353
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
30529
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=53041718&
|
|
30354
30530
|
|
|
30355
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&
|
|
30356
30532
|
var CommonOpinionsvue_type_template_id_4e1f4030_render = function () {
|
|
@@ -30528,8 +30704,8 @@ CommonOpinionsvue_type_template_id_4e1f4030_render._withStripped = true
|
|
|
30528
30704
|
|
|
30529
30705
|
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4e1f4030&
|
|
30530
30706
|
|
|
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/table.vue?vue&type=template&id=
|
|
30532
|
-
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 () {
|
|
30533
30709
|
var _vm = this
|
|
30534
30710
|
var _h = _vm.$createElement
|
|
30535
30711
|
var _c = _vm._self._c || _h
|
|
@@ -30601,11 +30777,11 @@ var tablevue_type_template_id_508feae4_render = function () {
|
|
|
30601
30777
|
2
|
|
30602
30778
|
)
|
|
30603
30779
|
}
|
|
30604
|
-
var
|
|
30605
|
-
|
|
30780
|
+
var tablevue_type_template_id_67f38db6_staticRenderFns = []
|
|
30781
|
+
tablevue_type_template_id_67f38db6_render._withStripped = true
|
|
30606
30782
|
|
|
30607
30783
|
|
|
30608
|
-
// CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=
|
|
30784
|
+
// CONCATENATED MODULE: ./packages/flow/src/table.vue?vue&type=template&id=67f38db6&
|
|
30609
30785
|
|
|
30610
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&
|
|
30611
30787
|
//
|
|
@@ -30632,6 +30808,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30632
30808
|
//
|
|
30633
30809
|
//
|
|
30634
30810
|
//
|
|
30811
|
+
//
|
|
30812
|
+
//
|
|
30813
|
+
//
|
|
30814
|
+
//
|
|
30815
|
+
//
|
|
30635
30816
|
|
|
30636
30817
|
/* harmony default export */ var flow_src_tablevue_type_script_lang_js_ = ({
|
|
30637
30818
|
name: 'Table',
|
|
@@ -30653,9 +30834,11 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30653
30834
|
methods: {
|
|
30654
30835
|
handleClick: function handleClick(val) {
|
|
30655
30836
|
this.$emit('upDateClick', val);
|
|
30837
|
+
this.$emit('up-date-click', val);
|
|
30656
30838
|
},
|
|
30657
30839
|
delClick: function delClick(val) {
|
|
30658
30840
|
this.$emit('delClick', val);
|
|
30841
|
+
this.$emit('del-click', val);
|
|
30659
30842
|
}
|
|
30660
30843
|
}
|
|
30661
30844
|
});
|
|
@@ -30671,8 +30854,8 @@ tablevue_type_template_id_508feae4_render._withStripped = true
|
|
|
30671
30854
|
|
|
30672
30855
|
var src_table_component = normalizeComponent(
|
|
30673
30856
|
packages_flow_src_tablevue_type_script_lang_js_,
|
|
30674
|
-
|
|
30675
|
-
|
|
30857
|
+
tablevue_type_template_id_67f38db6_render,
|
|
30858
|
+
tablevue_type_template_id_67f38db6_staticRenderFns,
|
|
30676
30859
|
false,
|
|
30677
30860
|
null,
|
|
30678
30861
|
null,
|
|
@@ -30681,8 +30864,8 @@ var src_table_component = normalizeComponent(
|
|
|
30681
30864
|
)
|
|
30682
30865
|
|
|
30683
30866
|
/* harmony default export */ var flow_src_table = (src_table_component.exports);
|
|
30684
|
-
// 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=
|
|
30685
|
-
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 () {
|
|
30686
30869
|
var _vm = this
|
|
30687
30870
|
var _h = _vm.$createElement
|
|
30688
30871
|
var _c = _vm._self._c || _h
|
|
@@ -30796,11 +30979,11 @@ var formvue_type_template_id_c3a13696_render = function () {
|
|
|
30796
30979
|
1
|
|
30797
30980
|
)
|
|
30798
30981
|
}
|
|
30799
|
-
var
|
|
30800
|
-
|
|
30982
|
+
var formvue_type_template_id_55fae080_staticRenderFns = []
|
|
30983
|
+
formvue_type_template_id_55fae080_render._withStripped = true
|
|
30801
30984
|
|
|
30802
30985
|
|
|
30803
|
-
// CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=
|
|
30986
|
+
// CONCATENATED MODULE: ./packages/flow/src/form.vue?vue&type=template&id=55fae080&
|
|
30804
30987
|
|
|
30805
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&
|
|
30806
30989
|
//
|
|
@@ -30922,6 +31105,7 @@ formvue_type_template_id_c3a13696_render._withStripped = true
|
|
|
30922
31105
|
this.$refs[formName].validate(function (valid) {
|
|
30923
31106
|
if (valid) {
|
|
30924
31107
|
_this2.$emit('subMit', { addVisible: false, data: _this2.newData });
|
|
31108
|
+
_this2.$emit('sub-mit', { addVisible: false, data: _this2.newData });
|
|
30925
31109
|
} else {
|
|
30926
31110
|
return false;
|
|
30927
31111
|
}
|
|
@@ -30941,8 +31125,8 @@ formvue_type_template_id_c3a13696_render._withStripped = true
|
|
|
30941
31125
|
|
|
30942
31126
|
var form_component = normalizeComponent(
|
|
30943
31127
|
src_formvue_type_script_lang_js_,
|
|
30944
|
-
|
|
30945
|
-
|
|
31128
|
+
formvue_type_template_id_55fae080_render,
|
|
31129
|
+
formvue_type_template_id_55fae080_staticRenderFns,
|
|
30946
31130
|
false,
|
|
30947
31131
|
null,
|
|
30948
31132
|
null,
|
|
@@ -32389,8 +32573,8 @@ var selectUser_component = normalizeComponent(
|
|
|
32389
32573
|
)
|
|
32390
32574
|
|
|
32391
32575
|
/* harmony default export */ var selectUser = (selectUser_component.exports);
|
|
32392
|
-
// 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=
|
|
32393
|
-
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 () {
|
|
32394
32578
|
var _vm = this
|
|
32395
32579
|
var _h = _vm.$createElement
|
|
32396
32580
|
var _c = _vm._self._c || _h
|
|
@@ -32492,11 +32676,11 @@ var CustomPresetvue_type_template_id_7a0fdf16_render = function () {
|
|
|
32492
32676
|
1
|
|
32493
32677
|
)
|
|
32494
32678
|
}
|
|
32495
|
-
var
|
|
32496
|
-
|
|
32679
|
+
var CustomPresetvue_type_template_id_1f648b95_staticRenderFns = []
|
|
32680
|
+
CustomPresetvue_type_template_id_1f648b95_render._withStripped = true
|
|
32497
32681
|
|
|
32498
32682
|
|
|
32499
|
-
// 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&
|
|
32500
32684
|
|
|
32501
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&
|
|
32502
32686
|
var CustomPresetvue_type_script_lang_js_components;
|
|
@@ -32539,6 +32723,9 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32539
32723
|
//
|
|
32540
32724
|
//
|
|
32541
32725
|
//
|
|
32726
|
+
//
|
|
32727
|
+
//
|
|
32728
|
+
//
|
|
32542
32729
|
|
|
32543
32730
|
|
|
32544
32731
|
|
|
@@ -32581,6 +32768,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32581
32768
|
watch: {
|
|
32582
32769
|
activeNames: function activeNames(val) {
|
|
32583
32770
|
this.$emit('changeActiveNames', val);
|
|
32771
|
+
this.$emit('change-active-names', val);
|
|
32584
32772
|
},
|
|
32585
32773
|
|
|
32586
32774
|
processDefinitionId: {
|
|
@@ -32605,6 +32793,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32605
32793
|
return;
|
|
32606
32794
|
}
|
|
32607
32795
|
this.$emit('loadingStart');
|
|
32796
|
+
this.$emit('loading-start');
|
|
32608
32797
|
this.show = false;
|
|
32609
32798
|
this.getPresetFlowInfo(nodeId, processDefinitionId);
|
|
32610
32799
|
// return
|
|
@@ -32670,6 +32859,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32670
32859
|
_this.$message.error(message || '系统错误,请联系管理员!');
|
|
32671
32860
|
}
|
|
32672
32861
|
_this.$emit('loadingEnd');
|
|
32862
|
+
_this.$emit('loading-end');
|
|
32673
32863
|
nodeId && setTimeout(function () {
|
|
32674
32864
|
_this.$refs.selectUser[index].changeInfo(_this.newPresetList[index]);
|
|
32675
32865
|
}, 500);
|
|
@@ -32795,6 +32985,7 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32795
32985
|
});
|
|
32796
32986
|
});
|
|
32797
32987
|
this.$emit('changeCustom', customPresetUserJson);
|
|
32988
|
+
this.$emit('change-custom', customPresetUserJson);
|
|
32798
32989
|
}
|
|
32799
32990
|
}
|
|
32800
32991
|
});
|
|
@@ -32810,8 +33001,8 @@ var CustomPresetvue_type_script_lang_js_components;
|
|
|
32810
33001
|
|
|
32811
33002
|
var CustomPreset_component = normalizeComponent(
|
|
32812
33003
|
component_CustomPresetvue_type_script_lang_js_,
|
|
32813
|
-
|
|
32814
|
-
|
|
33004
|
+
CustomPresetvue_type_template_id_1f648b95_render,
|
|
33005
|
+
CustomPresetvue_type_template_id_1f648b95_staticRenderFns,
|
|
32815
33006
|
false,
|
|
32816
33007
|
null,
|
|
32817
33008
|
null,
|
|
@@ -32820,8 +33011,8 @@ var CustomPreset_component = normalizeComponent(
|
|
|
32820
33011
|
)
|
|
32821
33012
|
|
|
32822
33013
|
/* harmony default export */ var CustomPreset = (CustomPreset_component.exports);
|
|
32823
|
-
// 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=
|
|
32824
|
-
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 () {
|
|
32825
33016
|
var _vm = this
|
|
32826
33017
|
var _h = _vm.$createElement
|
|
32827
33018
|
var _c = _vm._self._c || _h
|
|
@@ -32917,11 +33108,11 @@ var Presetvue_type_template_id_62657536_render = function () {
|
|
|
32917
33108
|
1
|
|
32918
33109
|
)
|
|
32919
33110
|
}
|
|
32920
|
-
var
|
|
32921
|
-
|
|
33111
|
+
var Presetvue_type_template_id_23d1e880_staticRenderFns = []
|
|
33112
|
+
Presetvue_type_template_id_23d1e880_render._withStripped = true
|
|
32922
33113
|
|
|
32923
33114
|
|
|
32924
|
-
// 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&
|
|
32925
33116
|
|
|
32926
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&
|
|
32927
33118
|
var Presetvue_type_script_lang_js_components;
|
|
@@ -33039,6 +33230,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33039
33230
|
});
|
|
33040
33231
|
});
|
|
33041
33232
|
this.$emit('changePreset', presetUserJson);
|
|
33233
|
+
this.$emit('change-preset', presetUserJson);
|
|
33042
33234
|
},
|
|
33043
33235
|
changePresetUser: function changePresetUser(val, index) {
|
|
33044
33236
|
var nextUser = val.nextUser;
|
|
@@ -33059,6 +33251,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33059
33251
|
var _this = this;
|
|
33060
33252
|
|
|
33061
33253
|
this.$emit('loadingStart');
|
|
33254
|
+
this.$emit('loading-start');
|
|
33062
33255
|
var nextNodeId = this.nextNodeId,
|
|
33063
33256
|
processDefinitionId = this.processDefinitionId,
|
|
33064
33257
|
businessId = this.businessId,
|
|
@@ -33146,6 +33339,7 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33146
33339
|
});
|
|
33147
33340
|
this.changeSelectData();
|
|
33148
33341
|
this.$emit('loadingEnd');
|
|
33342
|
+
this.$emit('loading-end');
|
|
33149
33343
|
},
|
|
33150
33344
|
isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
|
|
33151
33345
|
var multiple = false;
|
|
@@ -33192,8 +33386,8 @@ var Presetvue_type_script_lang_js_components;
|
|
|
33192
33386
|
|
|
33193
33387
|
var Preset_component = normalizeComponent(
|
|
33194
33388
|
component_Presetvue_type_script_lang_js_,
|
|
33195
|
-
|
|
33196
|
-
|
|
33389
|
+
Presetvue_type_template_id_23d1e880_render,
|
|
33390
|
+
Presetvue_type_template_id_23d1e880_staticRenderFns,
|
|
33197
33391
|
false,
|
|
33198
33392
|
null,
|
|
33199
33393
|
null,
|
|
@@ -34067,8 +34261,8 @@ var processForm_component = normalizeComponent(
|
|
|
34067
34261
|
)
|
|
34068
34262
|
|
|
34069
34263
|
/* harmony default export */ var processForm = (processForm_component.exports);
|
|
34070
|
-
// 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=
|
|
34071
|
-
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 () {
|
|
34072
34266
|
var _vm = this
|
|
34073
34267
|
var _h = _vm.$createElement
|
|
34074
34268
|
var _c = _vm._self._c || _h
|
|
@@ -34101,11 +34295,11 @@ var FileListvue_type_template_id_8bcb1480_render = function () {
|
|
|
34101
34295
|
1
|
|
34102
34296
|
)
|
|
34103
34297
|
}
|
|
34104
|
-
var
|
|
34105
|
-
|
|
34298
|
+
var FileListvue_type_template_id_1258a45c_staticRenderFns = []
|
|
34299
|
+
FileListvue_type_template_id_1258a45c_render._withStripped = true
|
|
34106
34300
|
|
|
34107
34301
|
|
|
34108
|
-
// 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&
|
|
34109
34303
|
|
|
34110
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&
|
|
34111
34305
|
//
|
|
@@ -34174,6 +34368,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34174
34368
|
methods: {
|
|
34175
34369
|
successFile: function successFile(response, file, fileList) {
|
|
34176
34370
|
this.$emit('changeFileNum', fileList.length);
|
|
34371
|
+
this.$emit('change-file-num', fileList.length);
|
|
34177
34372
|
},
|
|
34178
34373
|
|
|
34179
34374
|
//删除附件
|
|
@@ -34192,6 +34387,7 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34192
34387
|
if (rCode == 0) {
|
|
34193
34388
|
_this.$message.success('删除成功');
|
|
34194
34389
|
_this.$emit('changeFileNum', fileList.length);
|
|
34390
|
+
_this.$emit('change-fFile-num', fileList.length);
|
|
34195
34391
|
} else {
|
|
34196
34392
|
_this.$message.error(msg || '系统错误,请联系管理员!');
|
|
34197
34393
|
}
|
|
@@ -34215,8 +34411,8 @@ FileListvue_type_template_id_8bcb1480_render._withStripped = true
|
|
|
34215
34411
|
|
|
34216
34412
|
var FileList_component = normalizeComponent(
|
|
34217
34413
|
component_FileListvue_type_script_lang_js_,
|
|
34218
|
-
|
|
34219
|
-
|
|
34414
|
+
FileListvue_type_template_id_1258a45c_render,
|
|
34415
|
+
FileListvue_type_template_id_1258a45c_staticRenderFns,
|
|
34220
34416
|
false,
|
|
34221
34417
|
null,
|
|
34222
34418
|
null,
|
|
@@ -39205,6 +39401,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39205
39401
|
taskButtonList = _res$data2.taskButtonList;
|
|
39206
39402
|
|
|
39207
39403
|
_this23.$emit('startTaskRead', res);
|
|
39404
|
+
_this23.$emit('start-task-read', res);
|
|
39208
39405
|
_this23.currentOrgName = currentOrgName;
|
|
39209
39406
|
_this23.otherOrgName = otherOrgName;
|
|
39210
39407
|
_this23.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
@@ -39772,8 +39969,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
39772
39969
|
|
|
39773
39970
|
var flow_src_main_component = normalizeComponent(
|
|
39774
39971
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
39775
|
-
|
|
39776
|
-
|
|
39972
|
+
mainvue_type_template_id_53041718_render,
|
|
39973
|
+
mainvue_type_template_id_53041718_staticRenderFns,
|
|
39777
39974
|
false,
|
|
39778
39975
|
null,
|
|
39779
39976
|
null,
|
|
@@ -39790,8 +39987,8 @@ flow_src_main.install = function (Vue) {
|
|
|
39790
39987
|
};
|
|
39791
39988
|
|
|
39792
39989
|
/* harmony default export */ var packages_flow = (flow_src_main);
|
|
39793
|
-
// 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=
|
|
39794
|
-
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 () {
|
|
39795
39992
|
var _vm = this
|
|
39796
39993
|
var _h = _vm.$createElement
|
|
39797
39994
|
var _c = _vm._self._c || _h
|
|
@@ -41019,11 +41216,11 @@ var mainvue_type_template_id_7f13854e_render = function () {
|
|
|
41019
41216
|
2
|
|
41020
41217
|
)
|
|
41021
41218
|
}
|
|
41022
|
-
var
|
|
41023
|
-
|
|
41219
|
+
var mainvue_type_template_id_92afaed0_staticRenderFns = []
|
|
41220
|
+
mainvue_type_template_id_92afaed0_render._withStripped = true
|
|
41024
41221
|
|
|
41025
41222
|
|
|
41026
|
-
// 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&
|
|
41027
41224
|
|
|
41028
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&
|
|
41029
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; };
|
|
@@ -41599,8 +41796,20 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41599
41796
|
var item = _this.tabs[n];
|
|
41600
41797
|
var url = null;
|
|
41601
41798
|
var name = item.name;
|
|
41602
|
-
var width =
|
|
41603
|
-
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
|
+
}
|
|
41604
41813
|
if (item.url) {
|
|
41605
41814
|
url = _this.handleUrlJoinParams(item);
|
|
41606
41815
|
}
|
|
@@ -41610,7 +41819,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41610
41819
|
}
|
|
41611
41820
|
if (url) {
|
|
41612
41821
|
reject();
|
|
41613
|
-
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');
|
|
41614
41823
|
} else {
|
|
41615
41824
|
resolve();
|
|
41616
41825
|
}
|
|
@@ -41660,8 +41869,16 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41660
41869
|
handleSuccess: function handleSuccess() {
|
|
41661
41870
|
if (this.closeDialog && this.esDialog) {
|
|
41662
41871
|
this.esDialog.handleClose();
|
|
41663
|
-
} else if (utils_util["a" /* default */].win.
|
|
41664
|
-
|
|
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
|
+
}
|
|
41665
41882
|
}
|
|
41666
41883
|
if (this.events && this.events.success) {
|
|
41667
41884
|
this.events.success();
|
|
@@ -41680,6 +41897,7 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41680
41897
|
},
|
|
41681
41898
|
handleChangeData: function handleChangeData(res) {
|
|
41682
41899
|
this.$emit('changeData', res);
|
|
41900
|
+
this.$emit('change-data', res);
|
|
41683
41901
|
}
|
|
41684
41902
|
}
|
|
41685
41903
|
});
|
|
@@ -41695,8 +41913,8 @@ var flow_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
41695
41913
|
|
|
41696
41914
|
var flow_group_src_main_component = normalizeComponent(
|
|
41697
41915
|
packages_flow_group_src_mainvue_type_script_lang_js_,
|
|
41698
|
-
|
|
41699
|
-
|
|
41916
|
+
mainvue_type_template_id_92afaed0_render,
|
|
41917
|
+
mainvue_type_template_id_92afaed0_staticRenderFns,
|
|
41700
41918
|
false,
|
|
41701
41919
|
null,
|
|
41702
41920
|
null,
|
|
@@ -42972,8 +43190,8 @@ flow_list_src_main.install = function (Vue) {
|
|
|
42972
43190
|
};
|
|
42973
43191
|
|
|
42974
43192
|
/* harmony default export */ var flow_list = (flow_list_src_main);
|
|
42975
|
-
// 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=
|
|
42976
|
-
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 () {
|
|
42977
43195
|
var _vm = this
|
|
42978
43196
|
var _h = _vm.$createElement
|
|
42979
43197
|
var _c = _vm._self._c || _h
|
|
@@ -43056,11 +43274,11 @@ var mainvue_type_template_id_5b7835c6_render = function () {
|
|
|
43056
43274
|
: _vm._e(),
|
|
43057
43275
|
])
|
|
43058
43276
|
}
|
|
43059
|
-
var
|
|
43060
|
-
|
|
43277
|
+
var mainvue_type_template_id_0e0b2c4a_staticRenderFns = []
|
|
43278
|
+
mainvue_type_template_id_0e0b2c4a_render._withStripped = true
|
|
43061
43279
|
|
|
43062
43280
|
|
|
43063
|
-
// 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&
|
|
43064
43282
|
|
|
43065
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&
|
|
43066
43284
|
//
|
|
@@ -43162,7 +43380,15 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
|
|
|
43162
43380
|
duration: 500,
|
|
43163
43381
|
onClose: function onClose() {
|
|
43164
43382
|
utils_util["a" /* default */].removeStorage(['mainConfig', 'jump']);
|
|
43165
|
-
|
|
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
|
+
}
|
|
43166
43392
|
}
|
|
43167
43393
|
});
|
|
43168
43394
|
} else {
|
|
@@ -43194,8 +43420,8 @@ mainvue_type_template_id_5b7835c6_render._withStripped = true
|
|
|
43194
43420
|
|
|
43195
43421
|
var handle_user_src_main_component = normalizeComponent(
|
|
43196
43422
|
packages_handle_user_src_mainvue_type_script_lang_js_,
|
|
43197
|
-
|
|
43198
|
-
|
|
43423
|
+
mainvue_type_template_id_0e0b2c4a_render,
|
|
43424
|
+
mainvue_type_template_id_0e0b2c4a_staticRenderFns,
|
|
43199
43425
|
false,
|
|
43200
43426
|
null,
|
|
43201
43427
|
null,
|
|
@@ -43212,8 +43438,8 @@ handle_user_src_main.install = function (Vue) {
|
|
|
43212
43438
|
};
|
|
43213
43439
|
|
|
43214
43440
|
/* harmony default export */ var handle_user = (handle_user_src_main);
|
|
43215
|
-
// 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=
|
|
43216
|
-
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 () {
|
|
43217
43443
|
var _vm = this
|
|
43218
43444
|
var _h = _vm.$createElement
|
|
43219
43445
|
var _c = _vm._self._c || _h
|
|
@@ -43411,11 +43637,11 @@ var mainvue_type_template_id_78f7fb3f_render = function () {
|
|
|
43411
43637
|
0
|
|
43412
43638
|
)
|
|
43413
43639
|
}
|
|
43414
|
-
var
|
|
43415
|
-
|
|
43640
|
+
var mainvue_type_template_id_25cdd07e_staticRenderFns = []
|
|
43641
|
+
mainvue_type_template_id_25cdd07e_render._withStripped = true
|
|
43416
43642
|
|
|
43417
43643
|
|
|
43418
|
-
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=
|
|
43644
|
+
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25cdd07e&
|
|
43419
43645
|
|
|
43420
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&
|
|
43421
43647
|
//
|
|
@@ -43702,33 +43928,37 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
|
|
|
43702
43928
|
if (_this2.onQuit && typeof _this2.onQuit === 'function') {
|
|
43703
43929
|
_this2.onQuit();
|
|
43704
43930
|
} else {
|
|
43705
|
-
|
|
43706
|
-
|
|
43707
|
-
|
|
43708
|
-
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
pathname
|
|
43712
|
-
|
|
43713
|
-
|
|
43714
|
-
|
|
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
|
+
}
|
|
43715
43945
|
} else {
|
|
43716
|
-
src =
|
|
43946
|
+
src = loginPage;
|
|
43717
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';
|
|
43718
43951
|
} else {
|
|
43719
|
-
|
|
43720
|
-
|
|
43721
|
-
|
|
43722
|
-
|
|
43723
|
-
|
|
43724
|
-
|
|
43725
|
-
|
|
43726
|
-
if (hash) {
|
|
43727
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
43728
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
43729
|
-
} else {
|
|
43730
|
-
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
|
+
}
|
|
43731
43959
|
}
|
|
43960
|
+
} catch (error) {
|
|
43961
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
43732
43962
|
}
|
|
43733
43963
|
}
|
|
43734
43964
|
}
|
|
@@ -43753,8 +43983,8 @@ mainvue_type_template_id_78f7fb3f_render._withStripped = true
|
|
|
43753
43983
|
|
|
43754
43984
|
var handler_src_main_component = normalizeComponent(
|
|
43755
43985
|
packages_handler_src_mainvue_type_script_lang_js_,
|
|
43756
|
-
|
|
43757
|
-
|
|
43986
|
+
mainvue_type_template_id_25cdd07e_render,
|
|
43987
|
+
mainvue_type_template_id_25cdd07e_staticRenderFns,
|
|
43758
43988
|
false,
|
|
43759
43989
|
null,
|
|
43760
43990
|
null,
|
|
@@ -45135,8 +45365,8 @@ layout_src_main.install = function (Vue) {
|
|
|
45135
45365
|
};
|
|
45136
45366
|
|
|
45137
45367
|
/* harmony default export */ var layout = (layout_src_main);
|
|
45138
|
-
// 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=
|
|
45139
|
-
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 () {
|
|
45140
45370
|
var _vm = this
|
|
45141
45371
|
var _h = _vm.$createElement
|
|
45142
45372
|
var _c = _vm._self._c || _h
|
|
@@ -45625,7 +45855,7 @@ var mainvue_type_template_id_413b11b3_render = function () {
|
|
|
45625
45855
|
],
|
|
45626
45856
|
2
|
|
45627
45857
|
),
|
|
45628
|
-
_vm.active == 3
|
|
45858
|
+
_vm.active == 3 && _vm.identifyingId
|
|
45629
45859
|
? _c("es-qr-code", {
|
|
45630
45860
|
attrs: { content: _vm.identifyingId },
|
|
45631
45861
|
})
|
|
@@ -46015,11 +46245,11 @@ var mainvue_type_template_id_413b11b3_render = function () {
|
|
|
46015
46245
|
)
|
|
46016
46246
|
: _vm._e()
|
|
46017
46247
|
}
|
|
46018
|
-
var
|
|
46019
|
-
|
|
46248
|
+
var mainvue_type_template_id_705a6762_staticRenderFns = []
|
|
46249
|
+
mainvue_type_template_id_705a6762_render._withStripped = true
|
|
46020
46250
|
|
|
46021
46251
|
|
|
46022
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
46252
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=705a6762&
|
|
46023
46253
|
|
|
46024
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&
|
|
46025
46255
|
var resetPasswordvue_type_template_id_28f463b9_render = function () {
|
|
@@ -47311,8 +47541,10 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47311
47541
|
doAssistance: null
|
|
47312
47542
|
};
|
|
47313
47543
|
},
|
|
47314
|
-
|
|
47544
|
+
beforeCreate: function beforeCreate() {
|
|
47315
47545
|
utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
|
|
47546
|
+
},
|
|
47547
|
+
created: function created() {
|
|
47316
47548
|
this.code = utils_util["a" /* default */].getParams('code');
|
|
47317
47549
|
if (this.code) {
|
|
47318
47550
|
this.doWechatLogin(this.code);
|
|
@@ -47453,6 +47685,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47453
47685
|
this.onDownLoadApp();
|
|
47454
47686
|
} else {
|
|
47455
47687
|
this.$emit('handleDownLoadApp');
|
|
47688
|
+
this.$emit('handle-down-load-app');
|
|
47456
47689
|
}
|
|
47457
47690
|
} else {
|
|
47458
47691
|
this.showDownLoadApp = true;
|
|
@@ -47474,36 +47707,34 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47474
47707
|
getLogin: function getLogin() {
|
|
47475
47708
|
var _this3 = this;
|
|
47476
47709
|
|
|
47477
|
-
var config =
|
|
47710
|
+
var config = utils_util["a" /* default */].getStorage('initLogin');
|
|
47478
47711
|
if (config) {
|
|
47479
47712
|
this.setConfig(config);
|
|
47480
|
-
} else {
|
|
47481
|
-
utils_util["a" /* default */].ajax({ url: this.initLogin }).then(function (res) {
|
|
47482
|
-
if (res && res.rCode === 0) {
|
|
47483
|
-
utils_store.set('initLogin', res.results);
|
|
47484
|
-
utils_util["a" /* default */].setStorage({
|
|
47485
|
-
type: _this3.storage,
|
|
47486
|
-
key: 'initLogin',
|
|
47487
|
-
value: JSON.stringify(res.results)
|
|
47488
|
-
});
|
|
47489
|
-
_this3.setConfig(res.results);
|
|
47490
|
-
} else {
|
|
47491
|
-
_this3.$message({
|
|
47492
|
-
message: res.msg || '系统错误,请联系管理员!',
|
|
47493
|
-
type: 'error',
|
|
47494
|
-
duration: 2000
|
|
47495
|
-
});
|
|
47496
|
-
}
|
|
47497
|
-
}).catch(function (err) {
|
|
47498
|
-
if (err.message && err.message !== 'canceled') {
|
|
47499
|
-
_this3.$message.error(err.message);
|
|
47500
|
-
}
|
|
47501
|
-
});
|
|
47502
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
|
+
});
|
|
47503
47735
|
},
|
|
47504
47736
|
setConfig: function setConfig(res) {
|
|
47505
|
-
|
|
47506
|
-
this.identifyingId = res.identifyingId;
|
|
47737
|
+
this.identifyingId = res.identifyingId || '';
|
|
47507
47738
|
this.getImgCode();
|
|
47508
47739
|
var downloads = {};
|
|
47509
47740
|
if (res.androidDownloadUrl) {
|
|
@@ -47531,9 +47762,11 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47531
47762
|
this.loginModel = res.loginModel;
|
|
47532
47763
|
this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
|
|
47533
47764
|
this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
|
|
47765
|
+
res.loginPage && sessionStorage.setItem('loginPage', res.loginPage);
|
|
47534
47766
|
if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
|
|
47535
47767
|
this.icpInfo = res.subsystemExtend;
|
|
47536
47768
|
this.forgetUrl = res.subsystemExtend.look_pass_url;
|
|
47769
|
+
res.subsystemExtend.loginPage && sessionStorage.setItem('loginPage', res.subsystemExtend.loginPage);
|
|
47537
47770
|
if (res.subsystemExtend.login_url) {
|
|
47538
47771
|
this.actionUrl = res.subsystemExtend.login_url;
|
|
47539
47772
|
}
|
|
@@ -47723,7 +47956,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
47723
47956
|
}).then(function (res) {
|
|
47724
47957
|
_this6.submit = false;
|
|
47725
47958
|
if (res.rCode == 0) {
|
|
47726
|
-
|
|
47959
|
+
utils_util["a" /* default */].removeStorage('extUserBindHandleId');
|
|
47727
47960
|
_this6.handleRemember();
|
|
47728
47961
|
var results = res.results;
|
|
47729
47962
|
_this6.handleResults(results);
|
|
@@ -48000,8 +48233,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
48000
48233
|
|
|
48001
48234
|
var login_src_main_component = normalizeComponent(
|
|
48002
48235
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
48003
|
-
|
|
48004
|
-
|
|
48236
|
+
mainvue_type_template_id_705a6762_render,
|
|
48237
|
+
mainvue_type_template_id_705a6762_staticRenderFns,
|
|
48005
48238
|
false,
|
|
48006
48239
|
null,
|
|
48007
48240
|
null,
|
|
@@ -48018,8 +48251,8 @@ login_src_main.install = function (Vue) {
|
|
|
48018
48251
|
};
|
|
48019
48252
|
|
|
48020
48253
|
/* harmony default export */ var login = (login_src_main);
|
|
48021
|
-
// 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=
|
|
48022
|
-
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 () {
|
|
48023
48256
|
var _vm = this
|
|
48024
48257
|
var _h = _vm.$createElement
|
|
48025
48258
|
var _c = _vm._self._c || _h
|
|
@@ -48445,14 +48678,14 @@ var mainvue_type_template_id_07ff4c6a_render = function () {
|
|
|
48445
48678
|
1
|
|
48446
48679
|
)
|
|
48447
48680
|
}
|
|
48448
|
-
var
|
|
48449
|
-
|
|
48681
|
+
var mainvue_type_template_id_fd021d4a_staticRenderFns = []
|
|
48682
|
+
mainvue_type_template_id_fd021d4a_render._withStripped = true
|
|
48450
48683
|
|
|
48451
48684
|
|
|
48452
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
48685
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=fd021d4a&
|
|
48453
48686
|
|
|
48454
|
-
// 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=
|
|
48455
|
-
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 () {
|
|
48456
48689
|
var _vm = this
|
|
48457
48690
|
var _h = _vm.$createElement
|
|
48458
48691
|
var _c = _vm._self._c || _h
|
|
@@ -48468,11 +48701,11 @@ var userinfovue_type_template_id_137dd243_render = function () {
|
|
|
48468
48701
|
2
|
|
48469
48702
|
)
|
|
48470
48703
|
}
|
|
48471
|
-
var
|
|
48472
|
-
|
|
48704
|
+
var userinfovue_type_template_id_e93353b8_staticRenderFns = []
|
|
48705
|
+
userinfovue_type_template_id_e93353b8_render._withStripped = true
|
|
48473
48706
|
|
|
48474
48707
|
|
|
48475
|
-
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=
|
|
48708
|
+
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=e93353b8&
|
|
48476
48709
|
|
|
48477
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&
|
|
48478
48711
|
//
|
|
@@ -48807,32 +49040,36 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
|
|
|
48807
49040
|
type: 'warning'
|
|
48808
49041
|
}).then(function () {
|
|
48809
49042
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
48810
|
-
|
|
48811
|
-
|
|
48812
|
-
|
|
48813
|
-
|
|
48814
|
-
|
|
48815
|
-
pathname
|
|
48816
|
-
|
|
48817
|
-
|
|
48818
|
-
|
|
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
|
+
}
|
|
48819
49056
|
} else {
|
|
48820
|
-
src =
|
|
49057
|
+
src = loginPage;
|
|
48821
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';
|
|
48822
49062
|
} else {
|
|
48823
|
-
|
|
48824
|
-
|
|
48825
|
-
|
|
48826
|
-
|
|
48827
|
-
|
|
48828
|
-
|
|
48829
|
-
|
|
48830
|
-
if (hash) {
|
|
48831
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
48832
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
48833
|
-
} else {
|
|
48834
|
-
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
|
+
}
|
|
48835
49070
|
}
|
|
49071
|
+
} catch (error) {
|
|
49072
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
48836
49073
|
}
|
|
48837
49074
|
}).catch(function (e) {});
|
|
48838
49075
|
} else {
|
|
@@ -48888,8 +49125,8 @@ userinfovue_type_template_id_137dd243_render._withStripped = true
|
|
|
48888
49125
|
|
|
48889
49126
|
var userinfo_component = normalizeComponent(
|
|
48890
49127
|
src_userinfovue_type_script_lang_js_,
|
|
48891
|
-
|
|
48892
|
-
|
|
49128
|
+
userinfovue_type_template_id_e93353b8_render,
|
|
49129
|
+
userinfovue_type_template_id_e93353b8_staticRenderFns,
|
|
48893
49130
|
false,
|
|
48894
49131
|
null,
|
|
48895
49132
|
null,
|
|
@@ -50064,8 +50301,8 @@ var notice_component = normalizeComponent(
|
|
|
50064
50301
|
)
|
|
50065
50302
|
|
|
50066
50303
|
/* harmony default export */ var notice = (notice_component.exports);
|
|
50067
|
-
// 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=
|
|
50068
|
-
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 () {
|
|
50069
50306
|
var _vm = this
|
|
50070
50307
|
var _h = _vm.$createElement
|
|
50071
50308
|
var _c = _vm._self._c || _h
|
|
@@ -50077,11 +50314,11 @@ var async_componentvue_type_template_id_51f0233c_scoped_true_render = function (
|
|
|
50077
50314
|
)
|
|
50078
50315
|
)
|
|
50079
50316
|
}
|
|
50080
|
-
var
|
|
50081
|
-
|
|
50317
|
+
var async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns = []
|
|
50318
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_render._withStripped = true
|
|
50082
50319
|
|
|
50083
50320
|
|
|
50084
|
-
// 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&
|
|
50085
50322
|
|
|
50086
50323
|
// EXTERNAL MODULE: external "runtime-import"
|
|
50087
50324
|
var external_runtime_import_ = __webpack_require__(15);
|
|
@@ -50143,7 +50380,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50143
50380
|
_context.prev = 0;
|
|
50144
50381
|
|
|
50145
50382
|
if (!(url.indexOf && (url.indexOf('http:') != -1 || url.indexOf('https:') != -1 || url.indexOf('/dev-api') != -1))) {
|
|
50146
|
-
_context.next =
|
|
50383
|
+
_context.next = 21;
|
|
50147
50384
|
break;
|
|
50148
50385
|
}
|
|
50149
50386
|
|
|
@@ -50151,7 +50388,7 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50151
50388
|
catchComponent = utils_util["a" /* default */].win[url];
|
|
50152
50389
|
|
|
50153
50390
|
if (!catchComponent) {
|
|
50154
|
-
_context.next =
|
|
50391
|
+
_context.next = 9;
|
|
50155
50392
|
break;
|
|
50156
50393
|
}
|
|
50157
50394
|
|
|
@@ -50159,56 +50396,58 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50159
50396
|
_this.comp = catchComponent;
|
|
50160
50397
|
// 回传props内容
|
|
50161
50398
|
_this.$emit('handleGetProps', _this.comp.props);
|
|
50162
|
-
|
|
50399
|
+
_this.$emit('handle-get-props', _this.comp.props);
|
|
50400
|
+
_context.next = 19;
|
|
50163
50401
|
break;
|
|
50164
50402
|
|
|
50165
|
-
case
|
|
50166
|
-
_context.next =
|
|
50403
|
+
case 9:
|
|
50404
|
+
_context.next = 11;
|
|
50167
50405
|
return Object(external_runtime_import_["importScript"])(url);
|
|
50168
50406
|
|
|
50169
|
-
case
|
|
50407
|
+
case 11:
|
|
50170
50408
|
comp = _context.sent;
|
|
50171
50409
|
|
|
50172
50410
|
if (comp) {
|
|
50173
|
-
_context.next =
|
|
50411
|
+
_context.next = 15;
|
|
50174
50412
|
break;
|
|
50175
50413
|
}
|
|
50176
50414
|
|
|
50177
50415
|
_this.$message.error('不是合规组件,请检查组件上传环境和语法');
|
|
50178
50416
|
return _context.abrupt('return');
|
|
50179
50417
|
|
|
50180
|
-
case
|
|
50418
|
+
case 15:
|
|
50181
50419
|
_this.comp = comp;
|
|
50182
50420
|
utils_util["a" /* default */].win[url] = comp;
|
|
50183
50421
|
// 回传props内容
|
|
50184
50422
|
_this.$emit('handleGetProps', _this.comp.props);
|
|
50423
|
+
_this.$emit('handle-get-props', _this.comp.props);
|
|
50185
50424
|
|
|
50186
|
-
case
|
|
50187
|
-
_context.next =
|
|
50425
|
+
case 19:
|
|
50426
|
+
_context.next = 22;
|
|
50188
50427
|
break;
|
|
50189
50428
|
|
|
50190
|
-
case
|
|
50429
|
+
case 21:
|
|
50191
50430
|
// 如果不是url则当作文本片段处理
|
|
50192
50431
|
_this.comp = url;
|
|
50193
50432
|
// 回传props内容
|
|
50194
50433
|
// this.$emit('handleGetProps', this.comp.props);
|
|
50195
50434
|
|
|
50196
|
-
case
|
|
50197
|
-
_context.next =
|
|
50435
|
+
case 22:
|
|
50436
|
+
_context.next = 27;
|
|
50198
50437
|
break;
|
|
50199
50438
|
|
|
50200
|
-
case
|
|
50201
|
-
_context.prev =
|
|
50439
|
+
case 24:
|
|
50440
|
+
_context.prev = 24;
|
|
50202
50441
|
_context.t0 = _context['catch'](0);
|
|
50203
50442
|
|
|
50204
50443
|
console.error(_context.t0);
|
|
50205
50444
|
|
|
50206
|
-
case
|
|
50445
|
+
case 27:
|
|
50207
50446
|
case 'end':
|
|
50208
50447
|
return _context.stop();
|
|
50209
50448
|
}
|
|
50210
50449
|
}
|
|
50211
|
-
}, _callee, _this, [[0,
|
|
50450
|
+
}, _callee, _this, [[0, 24]]);
|
|
50212
50451
|
}))();
|
|
50213
50452
|
}
|
|
50214
50453
|
}
|
|
@@ -50225,11 +50464,11 @@ function async_componentvue_type_script_lang_js_asyncToGenerator(fn) { return fu
|
|
|
50225
50464
|
|
|
50226
50465
|
var async_component_component = normalizeComponent(
|
|
50227
50466
|
src_async_componentvue_type_script_lang_js_,
|
|
50228
|
-
|
|
50229
|
-
|
|
50467
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_render,
|
|
50468
|
+
async_componentvue_type_template_id_8b78c8b6_scoped_true_staticRenderFns,
|
|
50230
50469
|
false,
|
|
50231
50470
|
null,
|
|
50232
|
-
"
|
|
50471
|
+
"8b78c8b6",
|
|
50233
50472
|
null
|
|
50234
50473
|
|
|
50235
50474
|
)
|
|
@@ -50498,6 +50737,7 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
50498
50737
|
|
|
50499
50738
|
var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
50500
50739
|
var log = utils_util["a" /* default */].getParams('console');
|
|
50740
|
+
var appCode = utils_util["a" /* default */].getParams('appCode');
|
|
50501
50741
|
/* harmony default export */ var main_src_mainvue_type_script_lang_js_ = ({
|
|
50502
50742
|
name: 'EsMain',
|
|
50503
50743
|
inheritAttrs: false,
|
|
@@ -50535,7 +50775,12 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50535
50775
|
type: String,
|
|
50536
50776
|
default: ''
|
|
50537
50777
|
},
|
|
50538
|
-
param:
|
|
50778
|
+
param: {
|
|
50779
|
+
type: Object,
|
|
50780
|
+
default: function _default() {
|
|
50781
|
+
return {};
|
|
50782
|
+
}
|
|
50783
|
+
},
|
|
50539
50784
|
header: {
|
|
50540
50785
|
type: Boolean,
|
|
50541
50786
|
default: true
|
|
@@ -50640,7 +50885,8 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50640
50885
|
loadHomePage: {
|
|
50641
50886
|
type: [Boolean, String],
|
|
50642
50887
|
default: true
|
|
50643
|
-
}
|
|
50888
|
+
},
|
|
50889
|
+
appCode: String
|
|
50644
50890
|
},
|
|
50645
50891
|
computed: {
|
|
50646
50892
|
showHeader: function showHeader() {
|
|
@@ -50750,6 +50996,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50750
50996
|
},
|
|
50751
50997
|
isConsole: function isConsole() {
|
|
50752
50998
|
return log ? true : this.console;
|
|
50999
|
+
},
|
|
51000
|
+
menuCode: function menuCode() {
|
|
51001
|
+
return appCode || this.appCode;
|
|
50753
51002
|
}
|
|
50754
51003
|
},
|
|
50755
51004
|
watch: {
|
|
@@ -51131,8 +51380,12 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51131
51380
|
this.color = unescape(results[i].color).toLowerCase();
|
|
51132
51381
|
}
|
|
51133
51382
|
if (i === 'subsystemExtend' && results[i].webPageWatermark) {
|
|
51134
|
-
|
|
51135
|
-
|
|
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
|
+
}
|
|
51136
51389
|
}
|
|
51137
51390
|
|
|
51138
51391
|
if (i === 'subsystemExtend' && results[i].loginPage) {
|
|
@@ -51266,7 +51519,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51266
51519
|
getMenu: function getMenu() {
|
|
51267
51520
|
var _this5 = this;
|
|
51268
51521
|
|
|
51269
|
-
|
|
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) {
|
|
51270
51525
|
if (res.rCode === 0) {
|
|
51271
51526
|
if (res.results && res.results.length) {
|
|
51272
51527
|
_this5.menus = JSON.parse(JSON.stringify(res.results));
|
|
@@ -52143,32 +52398,36 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52143
52398
|
_this13.$confirm(msg, btn).then(function () {
|
|
52144
52399
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
52145
52400
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
52146
|
-
|
|
52147
|
-
|
|
52148
|
-
|
|
52149
|
-
|
|
52150
|
-
|
|
52151
|
-
pathname
|
|
52152
|
-
|
|
52153
|
-
|
|
52154
|
-
|
|
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
|
+
}
|
|
52155
52414
|
} else {
|
|
52156
|
-
src =
|
|
52415
|
+
src = loginPage;
|
|
52157
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';
|
|
52158
52420
|
} else {
|
|
52159
|
-
|
|
52160
|
-
|
|
52161
|
-
|
|
52162
|
-
|
|
52163
|
-
|
|
52164
|
-
|
|
52165
|
-
|
|
52166
|
-
if (hash) {
|
|
52167
|
-
var len = utils_util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
52168
|
-
utils_util["a" /* default */].win.top.location.href = utils_util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
52169
|
-
} else {
|
|
52170
|
-
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
|
+
}
|
|
52171
52428
|
}
|
|
52429
|
+
} catch (error) {
|
|
52430
|
+
utils_util["a" /* default */].win.postMessage({ type: 1 }, '*');
|
|
52172
52431
|
}
|
|
52173
52432
|
}).catch(function (e) {
|
|
52174
52433
|
sessionStorage.removeItem('remind');
|
|
@@ -52188,8 +52447,15 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52188
52447
|
src = pathname + url.replace('./', '/');
|
|
52189
52448
|
}
|
|
52190
52449
|
if (name) {
|
|
52191
|
-
var w =
|
|
52192
|
-
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
|
+
}
|
|
52193
52459
|
return utils_util["a" /* default */].win.open(src, name, 'width=' + w + 'px,height=' + h + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
|
|
52194
52460
|
} else {
|
|
52195
52461
|
return utils_util["a" /* default */].win.open(src);
|
|
@@ -52216,8 +52482,8 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
52216
52482
|
|
|
52217
52483
|
var main_src_main_component = normalizeComponent(
|
|
52218
52484
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
52219
|
-
|
|
52220
|
-
|
|
52485
|
+
mainvue_type_template_id_fd021d4a_render,
|
|
52486
|
+
mainvue_type_template_id_fd021d4a_staticRenderFns,
|
|
52221
52487
|
false,
|
|
52222
52488
|
null,
|
|
52223
52489
|
null,
|
|
@@ -55048,8 +55314,8 @@ radio_group_src_main.install = function (Vue) {
|
|
|
55048
55314
|
};
|
|
55049
55315
|
|
|
55050
55316
|
/* harmony default export */ var radio_group = (radio_group_src_main);
|
|
55051
|
-
// 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=
|
|
55052
|
-
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 () {
|
|
55053
55319
|
var _vm = this
|
|
55054
55320
|
var _h = _vm.$createElement
|
|
55055
55321
|
var _c = _vm._self._c || _h
|
|
@@ -55198,11 +55464,11 @@ var mainvue_type_template_id_74d02fd0_render = function () {
|
|
|
55198
55464
|
1
|
|
55199
55465
|
)
|
|
55200
55466
|
}
|
|
55201
|
-
var
|
|
55202
|
-
|
|
55467
|
+
var mainvue_type_template_id_07b8a28c_staticRenderFns = []
|
|
55468
|
+
mainvue_type_template_id_07b8a28c_render._withStripped = true
|
|
55203
55469
|
|
|
55204
55470
|
|
|
55205
|
-
// 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&
|
|
55206
55472
|
|
|
55207
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&
|
|
55208
55474
|
//
|
|
@@ -55379,7 +55645,12 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55379
55645
|
type: 'success'
|
|
55380
55646
|
});
|
|
55381
55647
|
_this3.msgBox.handleClose();
|
|
55382
|
-
|
|
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
|
+
}
|
|
55383
55654
|
} else {
|
|
55384
55655
|
_this3.$message({
|
|
55385
55656
|
message: msg,
|
|
@@ -55455,7 +55726,12 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55455
55726
|
type: 'success'
|
|
55456
55727
|
});
|
|
55457
55728
|
_this5.msgBox.handleClose();
|
|
55458
|
-
|
|
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
|
+
}
|
|
55459
55735
|
} else {
|
|
55460
55736
|
_this5.scanCode = setTimeout(function () {
|
|
55461
55737
|
_this5.handleScanCodeRetrialAuth();
|
|
@@ -55486,8 +55762,8 @@ mainvue_type_template_id_74d02fd0_render._withStripped = true
|
|
|
55486
55762
|
|
|
55487
55763
|
var retrial_auth_src_main_component = normalizeComponent(
|
|
55488
55764
|
packages_retrial_auth_src_mainvue_type_script_lang_js_,
|
|
55489
|
-
|
|
55490
|
-
|
|
55765
|
+
mainvue_type_template_id_07b8a28c_render,
|
|
55766
|
+
mainvue_type_template_id_07b8a28c_staticRenderFns,
|
|
55491
55767
|
false,
|
|
55492
55768
|
null,
|
|
55493
55769
|
null,
|
|
@@ -58518,8 +58794,8 @@ var tree_component = normalizeComponent(
|
|
|
58518
58794
|
)
|
|
58519
58795
|
|
|
58520
58796
|
/* harmony default export */ var tree = (tree_component.exports);
|
|
58521
|
-
// 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=
|
|
58522
|
-
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 () {
|
|
58523
58799
|
var _vm = this
|
|
58524
58800
|
var _h = _vm.$createElement
|
|
58525
58801
|
var _c = _vm._self._c || _h
|
|
@@ -58567,6 +58843,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58567
58843
|
disabled:
|
|
58568
58844
|
typeof item == "string" ? false : item.disabled,
|
|
58569
58845
|
"value-key": _vm.valueKey,
|
|
58846
|
+
tooltip: item[_vm.tipKey],
|
|
58570
58847
|
},
|
|
58571
58848
|
},
|
|
58572
58849
|
"el-radio",
|
|
@@ -58621,6 +58898,7 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58621
58898
|
disabled:
|
|
58622
58899
|
typeof item == "string" ? false : item.disabled,
|
|
58623
58900
|
"value-key": _vm.valueKey,
|
|
58901
|
+
tooltip: item[_vm.tipKey],
|
|
58624
58902
|
},
|
|
58625
58903
|
},
|
|
58626
58904
|
"el-checkbox",
|
|
@@ -58658,11 +58936,11 @@ var selectionvue_type_template_id_66e09547_render = function () {
|
|
|
58658
58936
|
1
|
|
58659
58937
|
)
|
|
58660
58938
|
}
|
|
58661
|
-
var
|
|
58662
|
-
|
|
58939
|
+
var selectionvue_type_template_id_0ec05c7a_staticRenderFns = []
|
|
58940
|
+
selectionvue_type_template_id_0ec05c7a_render._withStripped = true
|
|
58663
58941
|
|
|
58664
58942
|
|
|
58665
|
-
// 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&
|
|
58666
58944
|
|
|
58667
58945
|
// EXTERNAL MODULE: external "sortablejs"
|
|
58668
58946
|
var external_sortablejs_ = __webpack_require__(18);
|
|
@@ -58718,6 +58996,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58718
58996
|
//
|
|
58719
58997
|
//
|
|
58720
58998
|
//
|
|
58999
|
+
//
|
|
59000
|
+
//
|
|
58721
59001
|
|
|
58722
59002
|
|
|
58723
59003
|
|
|
@@ -58734,6 +59014,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58734
59014
|
type: String,
|
|
58735
59015
|
default: 'showname'
|
|
58736
59016
|
},
|
|
59017
|
+
tipKey: {
|
|
59018
|
+
type: String,
|
|
59019
|
+
default: 'pathname'
|
|
59020
|
+
},
|
|
58737
59021
|
valueType: {
|
|
58738
59022
|
type: String,
|
|
58739
59023
|
default: 'object',
|
|
@@ -58823,8 +59107,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58823
59107
|
|
|
58824
59108
|
var selection_component = normalizeComponent(
|
|
58825
59109
|
src_selectionvue_type_script_lang_js_,
|
|
58826
|
-
|
|
58827
|
-
|
|
59110
|
+
selectionvue_type_template_id_0ec05c7a_render,
|
|
59111
|
+
selectionvue_type_template_id_0ec05c7a_staticRenderFns,
|
|
58828
59112
|
false,
|
|
58829
59113
|
null,
|
|
58830
59114
|
null,
|
|
@@ -60689,8 +60973,8 @@ switch_src_main.install = function (Vue) {
|
|
|
60689
60973
|
};
|
|
60690
60974
|
|
|
60691
60975
|
/* harmony default export */ var packages_switch = (switch_src_main);
|
|
60692
|
-
// 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=
|
|
60693
|
-
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 () {
|
|
60694
60978
|
var _vm = this
|
|
60695
60979
|
var _h = _vm.$createElement
|
|
60696
60980
|
var _c = _vm._self._c || _h
|
|
@@ -62417,11 +62701,11 @@ var mainvue_type_template_id_f3f60fca_render = function () {
|
|
|
62417
62701
|
2
|
|
62418
62702
|
)
|
|
62419
62703
|
}
|
|
62420
|
-
var
|
|
62421
|
-
|
|
62704
|
+
var mainvue_type_template_id_53268d69_staticRenderFns = []
|
|
62705
|
+
mainvue_type_template_id_53268d69_render._withStripped = true
|
|
62422
62706
|
|
|
62423
62707
|
|
|
62424
|
-
// CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=
|
|
62708
|
+
// CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=53268d69&
|
|
62425
62709
|
|
|
62426
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&
|
|
62427
62711
|
//
|
|
@@ -63190,6 +63474,7 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
|
|
|
63190
63474
|
},
|
|
63191
63475
|
handleChangeData: function handleChangeData(res) {
|
|
63192
63476
|
this.$emit('changeData', res);
|
|
63477
|
+
this.$emit('change-data', res);
|
|
63193
63478
|
}
|
|
63194
63479
|
}
|
|
63195
63480
|
});
|
|
@@ -63205,8 +63490,8 @@ mainvue_type_template_id_f3f60fca_render._withStripped = true
|
|
|
63205
63490
|
|
|
63206
63491
|
var tabs_src_main_component = normalizeComponent(
|
|
63207
63492
|
packages_tabs_src_mainvue_type_script_lang_js_,
|
|
63208
|
-
|
|
63209
|
-
|
|
63493
|
+
mainvue_type_template_id_53268d69_render,
|
|
63494
|
+
mainvue_type_template_id_53268d69_staticRenderFns,
|
|
63210
63495
|
false,
|
|
63211
63496
|
null,
|
|
63212
63497
|
null,
|
|
@@ -64419,8 +64704,8 @@ tree_src_main.install = function (Vue) {
|
|
|
64419
64704
|
};
|
|
64420
64705
|
|
|
64421
64706
|
/* harmony default export */ var packages_tree = (tree_src_main);
|
|
64422
|
-
// 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=
|
|
64423
|
-
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 () {
|
|
64424
64709
|
var _vm = this
|
|
64425
64710
|
var _h = _vm.$createElement
|
|
64426
64711
|
var _c = _vm._self._c || _h
|
|
@@ -64749,11 +65034,11 @@ var mainvue_type_template_id_0fcb164d_render = function () {
|
|
|
64749
65034
|
2
|
|
64750
65035
|
)
|
|
64751
65036
|
}
|
|
64752
|
-
var
|
|
64753
|
-
|
|
65037
|
+
var mainvue_type_template_id_074a6d7c_staticRenderFns = []
|
|
65038
|
+
mainvue_type_template_id_074a6d7c_render._withStripped = true
|
|
64754
65039
|
|
|
64755
65040
|
|
|
64756
|
-
// 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&
|
|
64757
65042
|
|
|
64758
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&
|
|
64759
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; };
|
|
@@ -64984,7 +65269,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
64984
65269
|
checkedAsSearch: {
|
|
64985
65270
|
type: Boolean,
|
|
64986
65271
|
default: true
|
|
64987
|
-
}
|
|
65272
|
+
},
|
|
65273
|
+
iframe: Boolean
|
|
64988
65274
|
},
|
|
64989
65275
|
computed: {
|
|
64990
65276
|
wujieName: function wujieName() {
|
|
@@ -64996,7 +65282,7 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
64996
65282
|
if (src) {
|
|
64997
65283
|
if (src.indexOf('//:') === 0) {
|
|
64998
65284
|
return 'wujie';
|
|
64999
|
-
} 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) {
|
|
65000
65286
|
return 'iframe';
|
|
65001
65287
|
} else {
|
|
65002
65288
|
var routes = this.$router.options.routes;
|
|
@@ -65242,6 +65528,36 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65242
65528
|
},
|
|
65243
65529
|
handleCurrentFirst: function handleCurrentFirst(type, res, tabs) {
|
|
65244
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;
|
|
65245
65561
|
}
|
|
65246
65562
|
}
|
|
65247
65563
|
});
|
|
@@ -65257,8 +65573,8 @@ var tree_group_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
65257
65573
|
|
|
65258
65574
|
var tree_group_src_main_component = normalizeComponent(
|
|
65259
65575
|
packages_tree_group_src_mainvue_type_script_lang_js_,
|
|
65260
|
-
|
|
65261
|
-
|
|
65576
|
+
mainvue_type_template_id_074a6d7c_render,
|
|
65577
|
+
mainvue_type_template_id_074a6d7c_staticRenderFns,
|
|
65262
65578
|
false,
|
|
65263
65579
|
null,
|
|
65264
65580
|
null,
|
|
@@ -65615,8 +65931,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
65615
65931
|
};
|
|
65616
65932
|
|
|
65617
65933
|
/* harmony default export */ var packages_toolbar = (toolbar_src_main);
|
|
65618
|
-
// 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=
|
|
65619
|
-
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 () {
|
|
65620
65936
|
var _vm = this
|
|
65621
65937
|
var _h = _vm.$createElement
|
|
65622
65938
|
var _c = _vm._self._c || _h
|
|
@@ -68271,11 +68587,11 @@ var tablevue_type_template_id_0cd27751_render = function () {
|
|
|
68271
68587
|
2
|
|
68272
68588
|
)
|
|
68273
68589
|
}
|
|
68274
|
-
var
|
|
68275
|
-
|
|
68590
|
+
var tablevue_type_template_id_ec2b55d6_staticRenderFns = []
|
|
68591
|
+
tablevue_type_template_id_ec2b55d6_render._withStripped = true
|
|
68276
68592
|
|
|
68277
68593
|
|
|
68278
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
68594
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=ec2b55d6&
|
|
68279
68595
|
|
|
68280
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&
|
|
68281
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; };
|
|
@@ -69599,6 +69915,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69599
69915
|
},
|
|
69600
69916
|
handleClick: function handleClick(res) {
|
|
69601
69917
|
this.$emit('btnClick', res, this.models);
|
|
69918
|
+
this.$emit('btn-click', res, this.models);
|
|
69602
69919
|
},
|
|
69603
69920
|
handleChange: function handleChange(res, value, data) {
|
|
69604
69921
|
if (res.events && res.events.change) {
|
|
@@ -69632,6 +69949,7 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69632
69949
|
res.events.dataChange(res, value, data);
|
|
69633
69950
|
} else {
|
|
69634
69951
|
this.$emit('dataChange', res, data);
|
|
69952
|
+
this.$emit('data-change', res, data);
|
|
69635
69953
|
}
|
|
69636
69954
|
},
|
|
69637
69955
|
handleExclAttribute: function handleExclAttribute(_ref) {
|
|
@@ -69657,8 +69975,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
69657
69975
|
|
|
69658
69976
|
var form_src_table_component = normalizeComponent(
|
|
69659
69977
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
69660
|
-
|
|
69661
|
-
|
|
69978
|
+
tablevue_type_template_id_ec2b55d6_render,
|
|
69979
|
+
tablevue_type_template_id_ec2b55d6_staticRenderFns,
|
|
69662
69980
|
false,
|
|
69663
69981
|
null,
|
|
69664
69982
|
null,
|
|
@@ -69675,8 +69993,8 @@ form_src_table.install = function (Vue) {
|
|
|
69675
69993
|
};
|
|
69676
69994
|
|
|
69677
69995
|
/* harmony default export */ var table_form = (form_src_table);
|
|
69678
|
-
// 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=
|
|
69679
|
-
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 () {
|
|
69680
69998
|
var _vm = this
|
|
69681
69999
|
var _h = _vm.$createElement
|
|
69682
70000
|
var _c = _vm._self._c || _h
|
|
@@ -70055,11 +70373,11 @@ var mainvue_type_template_id_2f5f0ecd_render = function () {
|
|
|
70055
70373
|
)
|
|
70056
70374
|
: _vm._e()
|
|
70057
70375
|
}
|
|
70058
|
-
var
|
|
70059
|
-
|
|
70376
|
+
var mainvue_type_template_id_4eac4348_staticRenderFns = []
|
|
70377
|
+
mainvue_type_template_id_4eac4348_render._withStripped = true
|
|
70060
70378
|
|
|
70061
70379
|
|
|
70062
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
70380
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=4eac4348&
|
|
70063
70381
|
|
|
70064
70382
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
70065
70383
|
/* harmony default export */ var picture = ({
|
|
@@ -70811,7 +71129,16 @@ var mainvue_type_script_lang_js_props;
|
|
|
70811
71129
|
this.$refs.upload.submit();
|
|
70812
71130
|
},
|
|
70813
71131
|
openKkfileview: function openKkfileview(file) {
|
|
70814
|
-
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
|
+
}
|
|
70815
71142
|
if (this.host) {
|
|
70816
71143
|
if (utils_util["a" /* default */].startWith(this.host, 'http')) {
|
|
70817
71144
|
host = this.host;
|
|
@@ -70820,7 +71147,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
70820
71147
|
}
|
|
70821
71148
|
}
|
|
70822
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)));
|
|
70823
|
-
utils_util["a" /* default */].win.
|
|
71150
|
+
utils_util["a" /* default */].win.open(this.kkfileview + '?url=' + url);
|
|
70824
71151
|
},
|
|
70825
71152
|
handlePreview: function handlePreview(res) {
|
|
70826
71153
|
var _this4 = this;
|
|
@@ -70838,13 +71165,13 @@ var mainvue_type_script_lang_js_props;
|
|
|
70838
71165
|
if (this.kkfileview) {
|
|
70839
71166
|
this.openKkfileview(file);
|
|
70840
71167
|
} else {
|
|
70841
|
-
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);
|
|
70842
71169
|
}
|
|
70843
71170
|
} else if (suffix.includes('pdf')) {
|
|
70844
71171
|
if (this.kkfileview) {
|
|
70845
71172
|
this.openKkfileview(file);
|
|
70846
71173
|
} else {
|
|
70847
|
-
utils_util["a" /* default */].win.
|
|
71174
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["jb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
|
|
70848
71175
|
}
|
|
70849
71176
|
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
70850
71177
|
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
@@ -70863,11 +71190,11 @@ var mainvue_type_script_lang_js_props;
|
|
|
70863
71190
|
if (this.kkfileview) {
|
|
70864
71191
|
this.openKkfileview(file);
|
|
70865
71192
|
} else {
|
|
70866
|
-
utils_util["a" /* default */].win.
|
|
71193
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId);
|
|
70867
71194
|
}
|
|
70868
71195
|
}
|
|
70869
71196
|
} else {
|
|
70870
|
-
utils_util["a" /* default */].win.
|
|
71197
|
+
utils_util["a" /* default */].win.open(URL.createObjectURL(file.raw));
|
|
70871
71198
|
}
|
|
70872
71199
|
}
|
|
70873
71200
|
}
|
|
@@ -71145,8 +71472,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
71145
71472
|
|
|
71146
71473
|
var upload_src_main_component = normalizeComponent(
|
|
71147
71474
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
71148
|
-
|
|
71149
|
-
|
|
71475
|
+
mainvue_type_template_id_4eac4348_render,
|
|
71476
|
+
mainvue_type_template_id_4eac4348_staticRenderFns,
|
|
71150
71477
|
false,
|
|
71151
71478
|
null,
|
|
71152
71479
|
null,
|
|
@@ -71621,7 +71948,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
71621
71948
|
}
|
|
71622
71949
|
|
|
71623
71950
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
71624
|
-
version: '0.5.
|
|
71951
|
+
version: '0.5.44',
|
|
71625
71952
|
install: install,
|
|
71626
71953
|
Button: packages_button,
|
|
71627
71954
|
ButtonGroup: button_group,
|