eoss-ui 0.4.72 → 0.4.74
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/button-group.js +2 -2
- package/lib/button.js +2 -2
- package/lib/checkbox-group.js +2 -2
- package/lib/data-table-form.js +2 -2
- package/lib/data-table.js +8 -8
- package/lib/date-picker.js +2 -2
- package/lib/dialog.js +2 -2
- package/lib/eoss-ui.common.js +99 -86
- package/lib/flow-group.js +2 -2
- package/lib/flow-list.js +2 -2
- package/lib/flow.js +2 -2
- package/lib/form.js +2 -2
- package/lib/handle-user.js +2 -2
- package/lib/handler.js +2 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +2 -2
- package/lib/input.js +2 -2
- package/lib/login.js +2 -2
- package/lib/main.js +67 -60
- package/lib/nav.js +2 -2
- package/lib/page.js +2 -2
- package/lib/player.js +2 -2
- package/lib/qr-code.js +2 -2
- package/lib/radio-group.js +2 -2
- package/lib/retrial-auth.js +2 -2
- package/lib/select-ganged.js +2 -2
- package/lib/select.js +2 -2
- package/lib/selector-panel.js +2 -2
- package/lib/selector.js +2 -2
- package/lib/sizer.js +2 -2
- package/lib/steps.js +2 -2
- package/lib/switch.js +2 -2
- package/lib/table-form.js +2 -2
- package/lib/tabs.js +2 -2
- package/lib/tips.js +2 -2
- package/lib/tree-group.js +15 -9
- package/lib/tree.js +2 -2
- package/lib/upload.js +2 -2
- package/lib/utils/util.js +2 -2
- package/lib/wujie.js +2 -2
- package/lib/wxlogin.js +2 -2
- package/package.json +1 -1
- package/packages/data-table/src/main.vue +4 -1
- package/packages/main/src/main.vue +4 -1
- package/packages/tree-group/src/main.vue +11 -5
- package/src/index.js +1 -1
- package/src/utils/util.js +2 -2
package/lib/input-number.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/input.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/login.js
CHANGED
|
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
|
|
|
1513
1513
|
* @param {String} [attr] - 样式属性名
|
|
1514
1514
|
**/
|
|
1515
1515
|
|
|
1516
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1517
|
-
if (dom.style[attr]) {
|
|
1516
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1517
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1518
1518
|
return dom.style[attr];
|
|
1519
1519
|
}
|
|
1520
1520
|
if (win.getComputedStyle) {
|
package/lib/main.js
CHANGED
|
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
|
|
|
1513
1513
|
* @param {String} [attr] - 样式属性名
|
|
1514
1514
|
**/
|
|
1515
1515
|
|
|
1516
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1517
|
-
if (dom.style[attr]) {
|
|
1516
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1517
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1518
1518
|
return dom.style[attr];
|
|
1519
1519
|
}
|
|
1520
1520
|
if (win.getComputedStyle) {
|
|
@@ -3430,7 +3430,7 @@ module.exports = require("stompjs");
|
|
|
3430
3430
|
// ESM COMPAT FLAG
|
|
3431
3431
|
__webpack_require__.r(__webpack_exports__);
|
|
3432
3432
|
|
|
3433
|
-
// 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=
|
|
3433
|
+
// 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=da442792&
|
|
3434
3434
|
var render = function () {
|
|
3435
3435
|
var _vm = this
|
|
3436
3436
|
var _h = _vm.$createElement
|
|
@@ -3675,65 +3675,69 @@ var render = function () {
|
|
|
3675
3675
|
"div",
|
|
3676
3676
|
{ staticClass: "es-body" },
|
|
3677
3677
|
[
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
directives: [
|
|
3678
|
+
_vm.showPage
|
|
3679
|
+
? _c(
|
|
3680
|
+
"div",
|
|
3682
3681
|
{
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
staticClass: "es-body-main",
|
|
3690
|
-
attrs: {
|
|
3691
|
-
"element-loading-background": "rgba(0, 0, 0, 0.5)",
|
|
3692
|
-
},
|
|
3693
|
-
},
|
|
3694
|
-
[
|
|
3695
|
-
_vm.method === "iframe"
|
|
3696
|
-
? _c("iframe", {
|
|
3697
|
-
attrs: {
|
|
3698
|
-
id: _vm.iframeId,
|
|
3699
|
-
name: _vm.iframeId,
|
|
3700
|
-
frameborder: "0",
|
|
3701
|
-
width: "100%",
|
|
3702
|
-
height: "100%",
|
|
3703
|
-
src: _vm.page,
|
|
3682
|
+
directives: [
|
|
3683
|
+
{
|
|
3684
|
+
name: "loading",
|
|
3685
|
+
rawName: "v-loading",
|
|
3686
|
+
value: _vm.pageLoading,
|
|
3687
|
+
expression: "pageLoading",
|
|
3704
3688
|
},
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3689
|
+
],
|
|
3690
|
+
staticClass: "es-body-main",
|
|
3691
|
+
attrs: {
|
|
3692
|
+
"element-loading-background": "rgba(0, 0, 0, 0.5)",
|
|
3693
|
+
},
|
|
3694
|
+
},
|
|
3695
|
+
[
|
|
3696
|
+
_vm.method === "iframe"
|
|
3697
|
+
? _c("iframe", {
|
|
3698
|
+
attrs: {
|
|
3699
|
+
id: _vm.iframeId,
|
|
3700
|
+
name: _vm.iframeId,
|
|
3701
|
+
frameborder: "0",
|
|
3702
|
+
width: "100%",
|
|
3703
|
+
height: "100%",
|
|
3704
|
+
src: _vm.page,
|
|
3705
|
+
},
|
|
3706
|
+
})
|
|
3707
|
+
: _vm.method === "wujie" && _vm.refresh
|
|
3708
|
+
? [
|
|
3709
|
+
_c("es-wujie", {
|
|
3710
|
+
attrs: {
|
|
3711
|
+
show: true,
|
|
3712
|
+
props: _vm.wjProps,
|
|
3713
|
+
attrs: _vm.wjAttrs,
|
|
3714
|
+
name: _vm.wjName,
|
|
3715
|
+
url: _vm.page,
|
|
3716
|
+
},
|
|
3717
|
+
}),
|
|
3718
|
+
]
|
|
3719
|
+
: _vm.method === "router" && _vm.refresh
|
|
3720
|
+
? [
|
|
3721
|
+
!_vm.isKeepAlive
|
|
3727
3722
|
? _c("router-view", { key: _vm.routerKey })
|
|
3728
3723
|
: _vm._e(),
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3724
|
+
_c(
|
|
3725
|
+
"keep-alive",
|
|
3726
|
+
[
|
|
3727
|
+
_vm.isKeepAlive
|
|
3728
|
+
? _c("router-view", {
|
|
3729
|
+
key: _vm.routerKey,
|
|
3730
|
+
})
|
|
3731
|
+
: _vm._e(),
|
|
3732
|
+
],
|
|
3733
|
+
1
|
|
3734
|
+
),
|
|
3735
|
+
]
|
|
3736
|
+
: _vm._e(),
|
|
3737
|
+
],
|
|
3738
|
+
2
|
|
3739
|
+
)
|
|
3740
|
+
: _vm._e(),
|
|
3737
3741
|
_vm.themeJSON.copyright.comp
|
|
3738
3742
|
? _c(
|
|
3739
3743
|
"AsyncComponent",
|
|
@@ -3856,7 +3860,7 @@ var staticRenderFns = []
|
|
|
3856
3860
|
render._withStripped = true
|
|
3857
3861
|
|
|
3858
3862
|
|
|
3859
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
3863
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=da442792&
|
|
3860
3864
|
|
|
3861
3865
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
|
|
3862
3866
|
var userinfovue_type_template_id_799780ee_render = function () {
|
|
@@ -5915,6 +5919,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
5915
5919
|
//
|
|
5916
5920
|
//
|
|
5917
5921
|
//
|
|
5922
|
+
//
|
|
5918
5923
|
|
|
5919
5924
|
|
|
5920
5925
|
|
|
@@ -6267,7 +6272,8 @@ var log = util["a" /* default */].getParams('console');
|
|
|
6267
6272
|
isSide: null,
|
|
6268
6273
|
navIds: null,
|
|
6269
6274
|
timer: null,
|
|
6270
|
-
pid: null
|
|
6275
|
+
pid: null,
|
|
6276
|
+
showPage: false
|
|
6271
6277
|
};
|
|
6272
6278
|
},
|
|
6273
6279
|
created: function created() {
|
|
@@ -6904,6 +6910,7 @@ var log = util["a" /* default */].getParams('console');
|
|
|
6904
6910
|
}
|
|
6905
6911
|
this.tabsId = active[active.length - 1];
|
|
6906
6912
|
}
|
|
6913
|
+
this.showPage = true;
|
|
6907
6914
|
},
|
|
6908
6915
|
|
|
6909
6916
|
//获取页面类型及地址
|
package/lib/nav.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/page.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/player.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/qr-code.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/radio-group.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/retrial-auth.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/select-ganged.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/select.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/selector-panel.js
CHANGED
|
@@ -1513,8 +1513,8 @@ var getStorage = function getStorage(key) {
|
|
|
1513
1513
|
* @param {String} [attr] - 样式属性名
|
|
1514
1514
|
**/
|
|
1515
1515
|
|
|
1516
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1517
|
-
if (dom.style[attr]) {
|
|
1516
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1517
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1518
1518
|
return dom.style[attr];
|
|
1519
1519
|
}
|
|
1520
1520
|
if (win.getComputedStyle) {
|
package/lib/selector.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/sizer.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/steps.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/switch.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/table-form.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/tabs.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/tips.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/tree-group.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
|
@@ -3366,7 +3366,7 @@ module.exports = require("json-bigint");
|
|
|
3366
3366
|
// ESM COMPAT FLAG
|
|
3367
3367
|
__webpack_require__.r(__webpack_exports__);
|
|
3368
3368
|
|
|
3369
|
-
// 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=
|
|
3369
|
+
// 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=11d86630&
|
|
3370
3370
|
var render = function () {
|
|
3371
3371
|
var _vm = this
|
|
3372
3372
|
var _h = _vm.$createElement
|
|
@@ -3679,7 +3679,7 @@ var staticRenderFns = []
|
|
|
3679
3679
|
render._withStripped = true
|
|
3680
3680
|
|
|
3681
3681
|
|
|
3682
|
-
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=
|
|
3682
|
+
// CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
|
|
3683
3683
|
|
|
3684
3684
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
3685
3685
|
var util = __webpack_require__(0);
|
|
@@ -3880,7 +3880,11 @@ var util = __webpack_require__(0);
|
|
|
3880
3880
|
default: '#/empty'
|
|
3881
3881
|
},
|
|
3882
3882
|
zoom: false,
|
|
3883
|
-
|
|
3883
|
+
clickedAsSearch: {
|
|
3884
|
+
type: Boolean,
|
|
3885
|
+
default: true
|
|
3886
|
+
},
|
|
3887
|
+
checkedAsSearch: {
|
|
3884
3888
|
type: Boolean,
|
|
3885
3889
|
default: true
|
|
3886
3890
|
}
|
|
@@ -4072,7 +4076,9 @@ var util = __webpack_require__(0);
|
|
|
4072
4076
|
this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
|
|
4073
4077
|
},
|
|
4074
4078
|
handleNodeClick: function handleNodeClick(data, node) {
|
|
4075
|
-
this.
|
|
4079
|
+
if (this.clickedAsSearch) {
|
|
4080
|
+
this.checkeds = data;
|
|
4081
|
+
}
|
|
4076
4082
|
if (this.onNodeClick) {
|
|
4077
4083
|
this.onNodeClick(this, data, node);
|
|
4078
4084
|
} else {
|
|
@@ -4082,7 +4088,7 @@ var util = __webpack_require__(0);
|
|
|
4082
4088
|
handleCheckChange: function handleCheckChange() {
|
|
4083
4089
|
var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
|
|
4084
4090
|
var checkeds = this.$refs[ref].getCheckedNodes();
|
|
4085
|
-
if (this.
|
|
4091
|
+
if (this.checkedAsSearch) {
|
|
4086
4092
|
this.checkeds = checkeds;
|
|
4087
4093
|
}
|
|
4088
4094
|
if (this.onCheckChange) {
|
|
@@ -4099,8 +4105,8 @@ var util = __webpack_require__(0);
|
|
|
4099
4105
|
this.$emit('enterprise-confirm', res);
|
|
4100
4106
|
},
|
|
4101
4107
|
handleResults: function handleResults(res) {
|
|
4102
|
-
if (this.tree.showCheckbox && this.tree.checkedFirst && this.
|
|
4103
|
-
this.checkeds = res
|
|
4108
|
+
if (this.tree.showCheckbox && this.tree.checkedFirst && this.checkedAsSearch || this.tree.currentFirst) {
|
|
4109
|
+
this.checkeds = res[0];
|
|
4104
4110
|
}
|
|
4105
4111
|
this.$emit('results', res);
|
|
4106
4112
|
},
|
package/lib/tree.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/upload.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/utils/util.js
CHANGED
|
@@ -1429,8 +1429,8 @@ var getStorage = function getStorage(key) {
|
|
|
1429
1429
|
* @param {String} [attr] - 样式属性名
|
|
1430
1430
|
**/
|
|
1431
1431
|
|
|
1432
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1433
|
-
if (dom.style[attr]) {
|
|
1432
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1433
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1434
1434
|
return dom.style[attr];
|
|
1435
1435
|
}
|
|
1436
1436
|
if (win.getComputedStyle) {
|
package/lib/wujie.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/lib/wxlogin.js
CHANGED
|
@@ -1514,8 +1514,8 @@ var getStorage = function getStorage(key) {
|
|
|
1514
1514
|
* @param {String} [attr] - 样式属性名
|
|
1515
1515
|
**/
|
|
1516
1516
|
|
|
1517
|
-
var getStyle = function getStyle(dom, attr) {
|
|
1518
|
-
if (dom.style[attr]) {
|
|
1517
|
+
var getStyle = function getStyle(dom, attr, exclude) {
|
|
1518
|
+
if (dom.style[attr] && dom.style[attr].indexOf(exclude) === -1) {
|
|
1519
1519
|
return dom.style[attr];
|
|
1520
1520
|
}
|
|
1521
1521
|
if (win.getComputedStyle) {
|
package/package.json
CHANGED
|
@@ -1208,7 +1208,10 @@ export default {
|
|
|
1208
1208
|
},
|
|
1209
1209
|
resetHeight(warn) {
|
|
1210
1210
|
if (this.full && !this.height && !this.maxHeight) {
|
|
1211
|
-
let height = parseInt(
|
|
1211
|
+
let height = parseInt(
|
|
1212
|
+
util.getStyle(this.$el.parentNode, 'height', '%'),
|
|
1213
|
+
10
|
|
1214
|
+
);
|
|
1212
1215
|
height =
|
|
1213
1216
|
(height == NaN ? 0 : height) -
|
|
1214
1217
|
parseInt(util.getStyle(this.$el.parentNode, 'padding-top'), 10) -
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
class="es-body-main"
|
|
160
160
|
v-loading="pageLoading"
|
|
161
161
|
element-loading-background="rgba(0, 0, 0, 0.5)"
|
|
162
|
+
v-if="showPage"
|
|
162
163
|
>
|
|
163
164
|
<iframe
|
|
164
165
|
v-if="method === 'iframe'"
|
|
@@ -611,7 +612,8 @@ export default {
|
|
|
611
612
|
isSide: null,
|
|
612
613
|
navIds: null,
|
|
613
614
|
timer: null,
|
|
614
|
-
pid: null
|
|
615
|
+
pid: null,
|
|
616
|
+
showPage: false
|
|
615
617
|
};
|
|
616
618
|
},
|
|
617
619
|
created() {
|
|
@@ -1306,6 +1308,7 @@ export default {
|
|
|
1306
1308
|
}
|
|
1307
1309
|
this.tabsId = active[active.length - 1];
|
|
1308
1310
|
}
|
|
1311
|
+
this.showPage = true;
|
|
1309
1312
|
},
|
|
1310
1313
|
//获取页面类型及地址
|
|
1311
1314
|
getUrl(res, active, index) {
|
|
@@ -193,7 +193,11 @@ export default {
|
|
|
193
193
|
default: '#/empty'
|
|
194
194
|
},
|
|
195
195
|
zoom: false,
|
|
196
|
-
|
|
196
|
+
clickedAsSearch: {
|
|
197
|
+
type: Boolean,
|
|
198
|
+
default: true
|
|
199
|
+
},
|
|
200
|
+
checkedAsSearch: {
|
|
197
201
|
type: Boolean,
|
|
198
202
|
default: true
|
|
199
203
|
}
|
|
@@ -410,7 +414,9 @@ export default {
|
|
|
410
414
|
this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
|
|
411
415
|
},
|
|
412
416
|
handleNodeClick(data, node) {
|
|
413
|
-
this.
|
|
417
|
+
if (this.clickedAsSearch) {
|
|
418
|
+
this.checkeds = data;
|
|
419
|
+
}
|
|
414
420
|
if (this.onNodeClick) {
|
|
415
421
|
this.onNodeClick(this, data, node);
|
|
416
422
|
} else {
|
|
@@ -425,7 +431,7 @@ export default {
|
|
|
425
431
|
: 'groupTree' + this.active
|
|
426
432
|
: 'groupTree';
|
|
427
433
|
let checkeds = this.$refs[ref].getCheckedNodes();
|
|
428
|
-
if (this.
|
|
434
|
+
if (this.checkedAsSearch) {
|
|
429
435
|
this.checkeds = checkeds;
|
|
430
436
|
}
|
|
431
437
|
if (this.onCheckChange) {
|
|
@@ -445,10 +451,10 @@ export default {
|
|
|
445
451
|
if (
|
|
446
452
|
(this.tree.showCheckbox &&
|
|
447
453
|
this.tree.checkedFirst &&
|
|
448
|
-
this.
|
|
454
|
+
this.checkedAsSearch) ||
|
|
449
455
|
this.tree.currentFirst
|
|
450
456
|
) {
|
|
451
|
-
this.checkeds = res
|
|
457
|
+
this.checkeds = res[0];
|
|
452
458
|
}
|
|
453
459
|
this.$emit('results', res);
|
|
454
460
|
},
|