eoss-ui 0.6.74 → 0.6.76
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/lib/eoss-ui.common.js +153 -145
- package/lib/index.js +1 -1
- package/lib/main.js +138 -131
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/upload.js +7 -6
- package/package.json +2 -2
- package/packages/login/src/IcpItem.vue +66 -0
- package/packages/main/src/default/index.vue +39 -35
- package/packages/main/src/main.vue +1 -2
- package/packages/main/src/simplicity/index.vue +3 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/upload.scss +6 -2
- package/packages/upload/src/main.vue +2 -1
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -57966,8 +57966,8 @@ login_src_main.install = function (Vue) {
|
|
|
57966
57966
|
};
|
|
57967
57967
|
|
|
57968
57968
|
/* harmony default export */ var login = (login_src_main);
|
|
57969
|
-
// 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=
|
|
57970
|
-
var
|
|
57969
|
+
// 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=7d366933&
|
|
57970
|
+
var mainvue_type_template_id_7d366933_render = function () {
|
|
57971
57971
|
var _vm = this
|
|
57972
57972
|
var _h = _vm.$createElement
|
|
57973
57973
|
var _c = _vm._self._c || _h
|
|
@@ -58060,14 +58060,14 @@ var mainvue_type_template_id_2c29aadc_render = function () {
|
|
|
58060
58060
|
)
|
|
58061
58061
|
: _vm._e()
|
|
58062
58062
|
}
|
|
58063
|
-
var
|
|
58064
|
-
|
|
58063
|
+
var mainvue_type_template_id_7d366933_staticRenderFns = []
|
|
58064
|
+
mainvue_type_template_id_7d366933_render._withStripped = true
|
|
58065
58065
|
|
|
58066
58066
|
|
|
58067
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
58067
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=7d366933&
|
|
58068
58068
|
|
|
58069
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
58070
|
-
var
|
|
58069
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=532a2b35&scoped=true&
|
|
58070
|
+
var simplicityvue_type_template_id_532a2b35_scoped_true_render = function () {
|
|
58071
58071
|
var _vm = this
|
|
58072
58072
|
var _h = _vm.$createElement
|
|
58073
58073
|
var _c = _vm._self._c || _h
|
|
@@ -58733,11 +58733,11 @@ var simplicityvue_type_template_id_7ecd2ea0_scoped_true_render = function () {
|
|
|
58733
58733
|
),
|
|
58734
58734
|
])
|
|
58735
58735
|
}
|
|
58736
|
-
var
|
|
58737
|
-
|
|
58736
|
+
var simplicityvue_type_template_id_532a2b35_scoped_true_staticRenderFns = []
|
|
58737
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_render._withStripped = true
|
|
58738
58738
|
|
|
58739
58739
|
|
|
58740
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
58740
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=532a2b35&scoped=true&
|
|
58741
58741
|
|
|
58742
58742
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
|
|
58743
58743
|
var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
|
|
@@ -64948,6 +64948,9 @@ var events = [function (tabs, index, that) {
|
|
|
64948
64948
|
this.themeColor = color;
|
|
64949
64949
|
}
|
|
64950
64950
|
}
|
|
64951
|
+
if (results[i].indexUrl) {
|
|
64952
|
+
this.indexUrl = results[i].indexUrl;
|
|
64953
|
+
}
|
|
64951
64954
|
this.userStyle = results[i];
|
|
64952
64955
|
this.notify = results[i].notify || '';
|
|
64953
64956
|
}
|
|
@@ -66137,18 +66140,18 @@ var events = [function (tabs, index, that) {
|
|
|
66137
66140
|
|
|
66138
66141
|
var simplicity_component = normalizeComponent(
|
|
66139
66142
|
src_simplicityvue_type_script_lang_js_,
|
|
66140
|
-
|
|
66141
|
-
|
|
66143
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_render,
|
|
66144
|
+
simplicityvue_type_template_id_532a2b35_scoped_true_staticRenderFns,
|
|
66142
66145
|
false,
|
|
66143
66146
|
null,
|
|
66144
|
-
"
|
|
66147
|
+
"532a2b35",
|
|
66145
66148
|
null
|
|
66146
66149
|
|
|
66147
66150
|
)
|
|
66148
66151
|
|
|
66149
66152
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
66150
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=
|
|
66151
|
-
var
|
|
66153
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0d60331a&
|
|
66154
|
+
var defaultvue_type_template_id_0d60331a_render = function () {
|
|
66152
66155
|
var _vm = this
|
|
66153
66156
|
var _h = _vm.$createElement
|
|
66154
66157
|
var _c = _vm._self._c || _h
|
|
@@ -66699,11 +66702,11 @@ var defaultvue_type_template_id_51c8d794_render = function () {
|
|
|
66699
66702
|
1
|
|
66700
66703
|
)
|
|
66701
66704
|
}
|
|
66702
|
-
var
|
|
66703
|
-
|
|
66705
|
+
var defaultvue_type_template_id_0d60331a_staticRenderFns = []
|
|
66706
|
+
defaultvue_type_template_id_0d60331a_render._withStripped = true
|
|
66704
66707
|
|
|
66705
66708
|
|
|
66706
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
66709
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0d60331a&
|
|
66707
66710
|
|
|
66708
66711
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=516cb128&
|
|
66709
66712
|
var userinfovue_type_template_id_516cb128_render = function () {
|
|
@@ -68741,8 +68744,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
68741
68744
|
},
|
|
68742
68745
|
setTitle: function setTitle(id) {
|
|
68743
68746
|
var node = void 0;
|
|
68744
|
-
for (var
|
|
68745
|
-
var item = this.menus[
|
|
68747
|
+
for (var _i = 0; _i < this.menus.length; _i++) {
|
|
68748
|
+
var item = this.menus[_i];
|
|
68746
68749
|
if (item.id == id) {
|
|
68747
68750
|
this.title = item.text;
|
|
68748
68751
|
node = item;
|
|
@@ -68852,106 +68855,88 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
68852
68855
|
useCaseCodes: results.resourceCodes || results.userModel.resourceCodes
|
|
68853
68856
|
}
|
|
68854
68857
|
});
|
|
68855
|
-
for (var
|
|
68856
|
-
if (
|
|
68857
|
-
this.mainLogo = results[
|
|
68858
|
+
for (var _i2 in results) {
|
|
68859
|
+
if (_i2 === 'mainLogoUrl' && results[_i2]) {
|
|
68860
|
+
this.mainLogo = results[_i2];
|
|
68858
68861
|
}
|
|
68859
|
-
if (
|
|
68860
|
-
this.headerImg = results[
|
|
68862
|
+
if (_i2 === 'mainBannerUrl' && results[_i2] && this.headerImage === undefined) {
|
|
68863
|
+
this.headerImg = results[_i2];
|
|
68861
68864
|
}
|
|
68862
|
-
if (
|
|
68863
|
-
this.results[
|
|
68865
|
+
if (_i2 === 'initApplication' && results[_i2]) {
|
|
68866
|
+
this.results[_i2] = results[_i2].split(',');
|
|
68864
68867
|
}
|
|
68865
|
-
if (
|
|
68866
|
-
this.homePage = results[
|
|
68867
|
-
if (this.isLoadHomePage) {
|
|
68868
|
-
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
68869
|
-
var hash = utils_util["a" /* default */].win.location.hash;
|
|
68870
|
-
if (hash) {
|
|
68871
|
-
hash = hash.split('?')[0];
|
|
68872
|
-
}
|
|
68873
|
-
var jump = sessionStorage.getItem('jump');
|
|
68874
|
-
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
68875
|
-
if (this.isHomePage) {
|
|
68876
|
-
if (this.menus && this.menus.length) {
|
|
68877
|
-
var ids = ids = this.getId(this.menus, this.homePage);
|
|
68878
|
-
if (ids) {
|
|
68879
|
-
this.defaultActive = ids;
|
|
68880
|
-
} else {
|
|
68881
|
-
this.handleJump(this.homePage);
|
|
68882
|
-
}
|
|
68883
|
-
this.setMenu(this.menus);
|
|
68884
|
-
}
|
|
68885
|
-
}
|
|
68886
|
-
} else if (this.menus && this.menus.length) {
|
|
68887
|
-
this.setMenu(this.menus);
|
|
68888
|
-
}
|
|
68889
|
-
}
|
|
68868
|
+
if (_i2 === 'indexUrl' && results[_i2]) {
|
|
68869
|
+
this.homePage = results[_i2];
|
|
68890
68870
|
}
|
|
68891
|
-
if (
|
|
68892
|
-
window.open(results[
|
|
68893
|
-
this.doorIndex = results[
|
|
68871
|
+
if (_i2 === 'doorIndex' && results[_i2]) {
|
|
68872
|
+
window.open(results[_i2]);
|
|
68873
|
+
this.doorIndex = results[_i2];
|
|
68894
68874
|
}
|
|
68895
|
-
if (
|
|
68896
|
-
document.title = results[
|
|
68875
|
+
if (_i2 === 'subsystemName' && results[_i2]) {
|
|
68876
|
+
document.title = results[_i2];
|
|
68897
68877
|
}
|
|
68898
|
-
if (
|
|
68899
|
-
utils_util["a" /* default */].setStorage('loginPage', results[
|
|
68878
|
+
if (_i2 === 'loginPage' && results[_i2]) {
|
|
68879
|
+
utils_util["a" /* default */].setStorage('loginPage', results[_i2]);
|
|
68900
68880
|
}
|
|
68901
|
-
if (
|
|
68902
|
-
localStorage.setItem('sysLogoIco', results[
|
|
68903
|
-
utils_util["a" /* default */].setFavicon(results[
|
|
68881
|
+
if (_i2 === 'sysLogoIco' && results[_i2]) {
|
|
68882
|
+
localStorage.setItem('sysLogoIco', results[_i2]);
|
|
68883
|
+
utils_util["a" /* default */].setFavicon(results[_i2]);
|
|
68904
68884
|
}
|
|
68905
|
-
if (
|
|
68906
|
-
|
|
68907
|
-
|
|
68908
|
-
|
|
68885
|
+
if (_i2 === 'userStyle' && results[_i2]) {
|
|
68886
|
+
if (results[_i2].color) {
|
|
68887
|
+
var color = unescape(results[_i2].color).toLowerCase();
|
|
68888
|
+
if (utils_util["a" /* default */].startWith(color, '#')) {
|
|
68889
|
+
this.color = color;
|
|
68890
|
+
}
|
|
68891
|
+
}
|
|
68892
|
+
if (results[_i2].indexUrl) {
|
|
68893
|
+
this.homePage = results[_i2].indexUrl;
|
|
68909
68894
|
}
|
|
68910
68895
|
}
|
|
68911
|
-
if (
|
|
68912
|
-
if (results[
|
|
68913
|
-
this.singleLogout = results[
|
|
68896
|
+
if (_i2 === 'subsystemExtend' && results[_i2]) {
|
|
68897
|
+
if (results[_i2].singleLogout) {
|
|
68898
|
+
this.singleLogout = results[_i2].singleLogout.split(',');
|
|
68914
68899
|
}
|
|
68915
|
-
if (results[
|
|
68916
|
-
this.color = unescape(results[
|
|
68900
|
+
if (results[_i2].themeColor) {
|
|
68901
|
+
this.color = unescape(results[_i2].themeColor).toLowerCase();
|
|
68917
68902
|
}
|
|
68918
|
-
if (results[
|
|
68919
|
-
this.userInfoContents = results[
|
|
68903
|
+
if (results[_i2].userInfoContents) {
|
|
68904
|
+
this.userInfoContents = results[_i2].userInfoContents;
|
|
68920
68905
|
}
|
|
68921
|
-
if (results[
|
|
68906
|
+
if (results[_i2].webPageWatermark) {
|
|
68922
68907
|
try {
|
|
68923
|
-
utils_util["a" /* default */].win.webPageWatermark = results[
|
|
68924
|
-
utils_util["a" /* default */].watermark(results[
|
|
68908
|
+
utils_util["a" /* default */].win.webPageWatermark = results[_i2].webPageWatermark;
|
|
68909
|
+
utils_util["a" /* default */].watermark(results[_i2].webPageWatermark);
|
|
68925
68910
|
} catch (error) {}
|
|
68926
68911
|
}
|
|
68927
|
-
if (results[
|
|
68928
|
-
utils_util["a" /* default */].setStorage('loginPage', results[
|
|
68912
|
+
if (results[_i2].loginPage) {
|
|
68913
|
+
utils_util["a" /* default */].setStorage('loginPage', results[_i2].loginPage);
|
|
68929
68914
|
}
|
|
68930
|
-
if (results[
|
|
68931
|
-
this.doorIndex = results[
|
|
68915
|
+
if (results[_i2].portalPage || results[_i2].portalpage) {
|
|
68916
|
+
this.doorIndex = results[_i2].portalPage || results[_i2].portalpage;
|
|
68932
68917
|
}
|
|
68933
|
-
if (results[
|
|
68918
|
+
if (results[_i2].multipleVersion) {
|
|
68934
68919
|
this.showSet = true;
|
|
68935
68920
|
}
|
|
68936
|
-
if (results[
|
|
68937
|
-
this.topRightToolHide = results[
|
|
68921
|
+
if (results[_i2].topRightToolHide) {
|
|
68922
|
+
this.topRightToolHide = results[_i2].topRightToolHide;
|
|
68938
68923
|
}
|
|
68939
|
-
if (results[
|
|
68940
|
-
var contact = JSON.parse(results[
|
|
68924
|
+
if (results[_i2].contact) {
|
|
68925
|
+
var contact = JSON.parse(results[_i2].contact);
|
|
68941
68926
|
var content = contact.content.split(',');
|
|
68942
68927
|
this.contact = defaultvue_type_script_lang_js_extends({}, contact, {
|
|
68943
68928
|
content: content
|
|
68944
68929
|
});
|
|
68945
68930
|
}
|
|
68946
|
-
if (results[
|
|
68947
|
-
if (typeof results[
|
|
68931
|
+
if (results[_i2].aiConfig) {
|
|
68932
|
+
if (typeof results[_i2].aiConfig == 'string') {
|
|
68948
68933
|
try {
|
|
68949
|
-
this.aiConfig = JSON.parse(results[
|
|
68934
|
+
this.aiConfig = JSON.parse(results[_i2].aiConfig);
|
|
68950
68935
|
} catch (error) {
|
|
68951
|
-
this.aiConfig = { url: results[
|
|
68936
|
+
this.aiConfig = { url: results[_i2].aiConfig };
|
|
68952
68937
|
}
|
|
68953
68938
|
} else {
|
|
68954
|
-
this.aiConfig = results[
|
|
68939
|
+
this.aiConfig = results[_i2].aiConfig;
|
|
68955
68940
|
}
|
|
68956
68941
|
this.$nextTick(function () {
|
|
68957
68942
|
// util.draggableMove({
|
|
@@ -68961,19 +68946,42 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
68961
68946
|
// });
|
|
68962
68947
|
});
|
|
68963
68948
|
}
|
|
68964
|
-
if (results[
|
|
68965
|
-
if (typeof results[
|
|
68949
|
+
if (results[_i2].imConfig) {
|
|
68950
|
+
if (typeof results[_i2].imConfig == 'string') {
|
|
68966
68951
|
try {
|
|
68967
|
-
this.imConfig = JSON.parse(results[
|
|
68952
|
+
this.imConfig = JSON.parse(results[_i2].imConfig);
|
|
68968
68953
|
} catch (error) {
|
|
68969
|
-
this.imConfig = { url: results[
|
|
68954
|
+
this.imConfig = { url: results[_i2].imConfig };
|
|
68970
68955
|
}
|
|
68971
68956
|
} else {
|
|
68972
|
-
this.imConfig = results[
|
|
68957
|
+
this.imConfig = results[_i2].imConfig;
|
|
68973
68958
|
}
|
|
68974
68959
|
}
|
|
68975
68960
|
}
|
|
68976
|
-
utils_store.set(
|
|
68961
|
+
utils_store.set(_i2, results[_i2]);
|
|
68962
|
+
}
|
|
68963
|
+
if (this.isLoadHomePage && this.homePage) {
|
|
68964
|
+
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
68965
|
+
var hash = utils_util["a" /* default */].win.location.hash;
|
|
68966
|
+
if (hash) {
|
|
68967
|
+
hash = hash.split('?')[0];
|
|
68968
|
+
}
|
|
68969
|
+
var jump = sessionStorage.getItem('jump');
|
|
68970
|
+
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
68971
|
+
if (this.isHomePage) {
|
|
68972
|
+
if (this.menus && this.menus.length) {
|
|
68973
|
+
var ids = ids = this.getId(this.menus, this.homePage);
|
|
68974
|
+
if (ids) {
|
|
68975
|
+
this.defaultActive = ids;
|
|
68976
|
+
} else {
|
|
68977
|
+
this.handleJump(this.homePage);
|
|
68978
|
+
}
|
|
68979
|
+
this.setMenu(this.menus);
|
|
68980
|
+
}
|
|
68981
|
+
}
|
|
68982
|
+
} else if (this.menus && this.menus.length) {
|
|
68983
|
+
this.setMenu(this.menus);
|
|
68984
|
+
}
|
|
68977
68985
|
}
|
|
68978
68986
|
this.userModel = results.userModel;
|
|
68979
68987
|
},
|
|
@@ -69093,8 +69101,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69093
69101
|
if (!url) {
|
|
69094
69102
|
return false;
|
|
69095
69103
|
}
|
|
69096
|
-
for (var
|
|
69097
|
-
var item = menus[
|
|
69104
|
+
for (var _i3 = 0; _i3 < menus.length; _i3++) {
|
|
69105
|
+
var item = menus[_i3];
|
|
69098
69106
|
if (item.id === url || item.appCode && item.appCode === url) {
|
|
69099
69107
|
if (item.url) {
|
|
69100
69108
|
if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
|
|
@@ -69281,10 +69289,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69281
69289
|
}
|
|
69282
69290
|
}
|
|
69283
69291
|
if (this.application) {
|
|
69284
|
-
for (var
|
|
69285
|
-
if (res[
|
|
69286
|
-
this.menu = res[
|
|
69287
|
-
this.title = res[
|
|
69292
|
+
for (var _i4 = 0; _i4 < res.length; _i4++) {
|
|
69293
|
+
if (res[_i4].hasPermission) {
|
|
69294
|
+
this.menu = res[_i4].children;
|
|
69295
|
+
this.title = res[_i4].text;
|
|
69288
69296
|
break;
|
|
69289
69297
|
}
|
|
69290
69298
|
}
|
|
@@ -69447,10 +69455,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69447
69455
|
} else {
|
|
69448
69456
|
this.active = active.slice(1);
|
|
69449
69457
|
}
|
|
69450
|
-
for (var
|
|
69451
|
-
if (res[
|
|
69452
|
-
this.menu = res[
|
|
69453
|
-
this.title = res[
|
|
69458
|
+
for (var _i5 = 0; _i5 < res.length; _i5++) {
|
|
69459
|
+
if (res[_i5].id === active[0]) {
|
|
69460
|
+
this.menu = res[_i5].children;
|
|
69461
|
+
this.title = res[_i5].text;
|
|
69454
69462
|
break;
|
|
69455
69463
|
}
|
|
69456
69464
|
}
|
|
@@ -69470,8 +69478,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69470
69478
|
|
|
69471
69479
|
//获取页面类型及地址
|
|
69472
69480
|
getUrl: function getUrl(res, active, param) {
|
|
69473
|
-
for (var
|
|
69474
|
-
var item = res[
|
|
69481
|
+
for (var _i6 = 0; _i6 < res.length; _i6++) {
|
|
69482
|
+
var item = res[_i6];
|
|
69475
69483
|
if (item.id === active) {
|
|
69476
69484
|
if (item.url) {
|
|
69477
69485
|
this.handleJump(item.url, item.urlopenmode, item, param);
|
|
@@ -69499,9 +69507,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69499
69507
|
setUrl: function setUrl(url, param) {
|
|
69500
69508
|
var obj = param ? param : {};
|
|
69501
69509
|
var params = utils_util["a" /* default */].getParams({ url: url }, true);
|
|
69502
|
-
for (var
|
|
69503
|
-
if (
|
|
69504
|
-
obj[
|
|
69510
|
+
for (var _i7 in params) {
|
|
69511
|
+
if (_i7 != 'model' && _i7 != 'view' && _i7 != '_baseUrl') {
|
|
69512
|
+
obj[_i7] = params[_i7];
|
|
69505
69513
|
}
|
|
69506
69514
|
}
|
|
69507
69515
|
var _url = params._baseUrl ? params._baseUrl : './primary.html';
|
|
@@ -69677,8 +69685,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69677
69685
|
return false;
|
|
69678
69686
|
}
|
|
69679
69687
|
if (Array.isArray(res)) {
|
|
69680
|
-
for (var
|
|
69681
|
-
var path = this.hasRouter(res[
|
|
69688
|
+
for (var _i8 in res) {
|
|
69689
|
+
var path = this.hasRouter(res[_i8], url);
|
|
69682
69690
|
if (path) {
|
|
69683
69691
|
return path;
|
|
69684
69692
|
}
|
|
@@ -69897,8 +69905,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69897
69905
|
},
|
|
69898
69906
|
getFourthTabs: function getFourthTabs(menus, id) {
|
|
69899
69907
|
if (Array.isArray(menus)) {
|
|
69900
|
-
for (var
|
|
69901
|
-
var fourth = this.getFourthTabs(menus[
|
|
69908
|
+
for (var _i9 = 0; _i9 < menus.length; _i9++) {
|
|
69909
|
+
var fourth = this.getFourthTabs(menus[_i9], id);
|
|
69902
69910
|
if (fourth) {
|
|
69903
69911
|
return fourth;
|
|
69904
69912
|
}
|
|
@@ -69908,8 +69916,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69908
69916
|
return menus;
|
|
69909
69917
|
}
|
|
69910
69918
|
if (menus.children && menus.children.length) {
|
|
69911
|
-
for (var
|
|
69912
|
-
var _fourth = this.getFourthTabs(menus.children[
|
|
69919
|
+
for (var _i10 = 0; _i10 < menus.children.length; _i10++) {
|
|
69920
|
+
var _fourth = this.getFourthTabs(menus.children[_i10], id);
|
|
69913
69921
|
if (_fourth) {
|
|
69914
69922
|
return _fourth;
|
|
69915
69923
|
}
|
|
@@ -70014,26 +70022,26 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
70014
70022
|
take: api["oc" /* topic */],
|
|
70015
70023
|
success: function success(res) {
|
|
70016
70024
|
var data = res.data || {};
|
|
70017
|
-
for (var
|
|
70018
|
-
if (data[
|
|
70019
|
-
if (
|
|
70020
|
-
_this11.online = data[
|
|
70025
|
+
for (var _i11 in data) {
|
|
70026
|
+
if (data[_i11] !== null && data[_i11] !== undefined) {
|
|
70027
|
+
if (_i11 === 'onlineUserNums' && data[_i11] > 0) {
|
|
70028
|
+
_this11.online = data[_i11];
|
|
70021
70029
|
}
|
|
70022
|
-
if (
|
|
70023
|
-
_this11.notice = data[
|
|
70030
|
+
if (_i11 === 'sysMsgNums' && data[_i11] !== null) {
|
|
70031
|
+
_this11.notice = data[_i11];
|
|
70024
70032
|
if (_this11.showMsg) {
|
|
70025
70033
|
_this11.$refs.message.getMsg(true);
|
|
70026
70034
|
}
|
|
70027
70035
|
}
|
|
70028
|
-
if (
|
|
70029
|
-
_this11.menuTips = data[
|
|
70036
|
+
if (_i11 === 'menuTipsMap' && data[_i11] !== null) {
|
|
70037
|
+
_this11.menuTips = data[_i11];
|
|
70030
70038
|
}
|
|
70031
|
-
if (
|
|
70032
|
-
_this11.sysMsg = data[
|
|
70033
|
-
data[
|
|
70039
|
+
if (_i11 === 'sysMsgList' && data[_i11] !== null) {
|
|
70040
|
+
_this11.sysMsg = data[_i11];
|
|
70041
|
+
data[_i11] && data[_i11].length && _this11.$emit('bus-emit', 'waitdone');
|
|
70034
70042
|
}
|
|
70035
|
-
if (
|
|
70036
|
-
_this11.extraData = data[
|
|
70043
|
+
if (_i11 === 'extraData' && data[_i11] !== null) {
|
|
70044
|
+
_this11.extraData = data[_i11];
|
|
70037
70045
|
}
|
|
70038
70046
|
}
|
|
70039
70047
|
}
|
|
@@ -70140,8 +70148,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
70140
70148
|
|
|
70141
70149
|
var default_component = normalizeComponent(
|
|
70142
70150
|
src_defaultvue_type_script_lang_js_,
|
|
70143
|
-
|
|
70144
|
-
|
|
70151
|
+
defaultvue_type_template_id_0d60331a_render,
|
|
70152
|
+
defaultvue_type_template_id_0d60331a_staticRenderFns,
|
|
70145
70153
|
false,
|
|
70146
70154
|
null,
|
|
70147
70155
|
null,
|
|
@@ -70273,12 +70281,11 @@ function src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { va
|
|
|
70273
70281
|
if (this.params.cookie && (this.params.cookie == true || this.params.cookie == 1)) {
|
|
70274
70282
|
this.isLogin = true;
|
|
70275
70283
|
}
|
|
70276
|
-
this.getConfig(this.params);
|
|
70277
|
-
// 主应用监听事件
|
|
70278
70284
|
},
|
|
70279
70285
|
mounted: function mounted() {
|
|
70280
70286
|
var _this = this;
|
|
70281
70287
|
|
|
70288
|
+
this.getConfig(this.params);
|
|
70282
70289
|
if (this.isLogin) {
|
|
70283
70290
|
if (utils_util["a" /* default */].win.$wujie) {
|
|
70284
70291
|
utils_util["a" /* default */].win.$wujie.bus.$on('changeTheme', function (res) {
|
|
@@ -70586,8 +70593,8 @@ function src_mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { va
|
|
|
70586
70593
|
|
|
70587
70594
|
var main_src_main_component = normalizeComponent(
|
|
70588
70595
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
70589
|
-
|
|
70590
|
-
|
|
70596
|
+
mainvue_type_template_id_7d366933_render,
|
|
70597
|
+
mainvue_type_template_id_7d366933_staticRenderFns,
|
|
70591
70598
|
false,
|
|
70592
70599
|
null,
|
|
70593
70600
|
null,
|
|
@@ -89203,8 +89210,8 @@ form_src_table.install = function (Vue) {
|
|
|
89203
89210
|
};
|
|
89204
89211
|
|
|
89205
89212
|
/* harmony default export */ var table_form = (form_src_table);
|
|
89206
|
-
// 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=
|
|
89207
|
-
var
|
|
89213
|
+
// 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=8bdc905c&
|
|
89214
|
+
var mainvue_type_template_id_8bdc905c_render = function () {
|
|
89208
89215
|
var _vm = this
|
|
89209
89216
|
var _h = _vm.$createElement
|
|
89210
89217
|
var _c = _vm._self._c || _h
|
|
@@ -89584,11 +89591,11 @@ var mainvue_type_template_id_1e0d1d4c_render = function () {
|
|
|
89584
89591
|
)
|
|
89585
89592
|
: _vm._e()
|
|
89586
89593
|
}
|
|
89587
|
-
var
|
|
89588
|
-
|
|
89594
|
+
var mainvue_type_template_id_8bdc905c_staticRenderFns = []
|
|
89595
|
+
mainvue_type_template_id_8bdc905c_render._withStripped = true
|
|
89589
89596
|
|
|
89590
89597
|
|
|
89591
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
89598
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=8bdc905c&
|
|
89592
89599
|
|
|
89593
89600
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
89594
89601
|
/* harmony default export */ var picture = ({
|
|
@@ -89921,7 +89928,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
89921
89928
|
showInfo: {
|
|
89922
89929
|
type: Array,
|
|
89923
89930
|
default: function _default() {
|
|
89924
|
-
return [{ label: '上传时间', field: 'uploadTime', width:
|
|
89931
|
+
return [{ label: '上传时间', field: 'uploadTime', width: 170 }, { label: '大小', field: 'fileSize', width: 100 }, { label: '上传人', field: 'userName', width: 100 }];
|
|
89925
89932
|
}
|
|
89926
89933
|
},
|
|
89927
89934
|
// 上传地址
|
|
@@ -90055,6 +90062,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
90055
90062
|
png: 'es-icon-picture',
|
|
90056
90063
|
gif: 'es-icon-picture',
|
|
90057
90064
|
jpg: 'es-icon-picture',
|
|
90065
|
+
jpeg: 'es-icon-picture',
|
|
90058
90066
|
xls: 'es-icon-excel',
|
|
90059
90067
|
xlsx: 'es-icon-excel',
|
|
90060
90068
|
docx: 'es-icon-word',
|
|
@@ -90750,8 +90758,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
90750
90758
|
|
|
90751
90759
|
var upload_src_main_component = normalizeComponent(
|
|
90752
90760
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
90753
|
-
|
|
90754
|
-
|
|
90761
|
+
mainvue_type_template_id_8bdc905c_render,
|
|
90762
|
+
mainvue_type_template_id_8bdc905c_staticRenderFns,
|
|
90755
90763
|
false,
|
|
90756
90764
|
null,
|
|
90757
90765
|
null,
|
|
@@ -91252,7 +91260,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
91252
91260
|
}
|
|
91253
91261
|
|
|
91254
91262
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
91255
|
-
version: '0.6.
|
|
91263
|
+
version: '0.6.76',
|
|
91256
91264
|
install: install,
|
|
91257
91265
|
Button: packages_button,
|
|
91258
91266
|
ButtonGroup: button_group,
|