eoss-ui 0.4.66 → 0.4.67
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/checkbox-group.js +36 -7
- package/lib/dialog.js +3 -3
- package/lib/editor.js +2 -2
- package/lib/eoss-ui.common.js +270 -133
- package/lib/form.js +9 -4
- package/lib/index.js +1 -1
- package/lib/main.js +70 -51
- package/lib/menu.js +7 -3
- package/lib/nav.js +3 -2
- package/lib/player.js +2 -2
- package/lib/radio-group.js +36 -7
- package/lib/select-ganged.js +25 -5
- package/lib/select.js +55 -15
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/package.json +1 -1
- package/packages/checkbox-group/src/main.vue +47 -5
- package/packages/form/src/main.vue +7 -2
- package/packages/main/src/main.vue +30 -15
- package/packages/main/src/userinfo.vue +12 -2
- package/packages/menu/src/main.vue +19 -3
- package/packages/nav/src/main.vue +1 -0
- package/packages/radio-group/src/main.vue +47 -5
- package/packages/select/src/main.vue +66 -21
- package/packages/select-ganged/src/main.vue +42 -18
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/src/main.scss +5 -1
- package/packages/theme-chalk/src/menu.scss +1 -1
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -95,7 +95,7 @@ module.exports =
|
|
|
95
95
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
96
96
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
|
97
97
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
|
|
98
|
-
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
98
|
+
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
|
|
99
99
|
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
|
|
100
100
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
|
|
101
101
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -2770,31 +2770,31 @@ module.exports = require("axios");
|
|
|
2770
2770
|
/* 6 */
|
|
2771
2771
|
/***/ (function(module, exports) {
|
|
2772
2772
|
|
|
2773
|
-
module.exports = require("
|
|
2773
|
+
module.exports = require("slate");
|
|
2774
2774
|
|
|
2775
2775
|
/***/ }),
|
|
2776
2776
|
/* 7 */
|
|
2777
2777
|
/***/ (function(module, exports) {
|
|
2778
2778
|
|
|
2779
|
-
module.exports = require("
|
|
2779
|
+
module.exports = require("video.js");
|
|
2780
2780
|
|
|
2781
2781
|
/***/ }),
|
|
2782
2782
|
/* 8 */
|
|
2783
2783
|
/***/ (function(module, exports) {
|
|
2784
2784
|
|
|
2785
|
-
module.exports = require("
|
|
2785
|
+
module.exports = require("json-bigint");
|
|
2786
2786
|
|
|
2787
2787
|
/***/ }),
|
|
2788
2788
|
/* 9 */
|
|
2789
2789
|
/***/ (function(module, exports) {
|
|
2790
2790
|
|
|
2791
|
-
module.exports = require("
|
|
2791
|
+
module.exports = require("vue");
|
|
2792
2792
|
|
|
2793
2793
|
/***/ }),
|
|
2794
2794
|
/* 10 */
|
|
2795
2795
|
/***/ (function(module, exports) {
|
|
2796
2796
|
|
|
2797
|
-
module.exports = require("
|
|
2797
|
+
module.exports = require("wujie-vue2");
|
|
2798
2798
|
|
|
2799
2799
|
/***/ }),
|
|
2800
2800
|
/* 11 */
|
|
@@ -3480,8 +3480,8 @@ src_main.install = function (Vue) {
|
|
|
3480
3480
|
};
|
|
3481
3481
|
|
|
3482
3482
|
/* harmony default export */ var button_group = (src_main);
|
|
3483
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=
|
|
3484
|
-
var
|
|
3483
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=template&id=667a17b1&
|
|
3484
|
+
var mainvue_type_template_id_667a17b1_render = function () {
|
|
3485
3485
|
var _vm = this
|
|
3486
3486
|
var _h = _vm.$createElement
|
|
3487
3487
|
var _c = _vm._self._c || _h
|
|
@@ -3609,17 +3609,17 @@ var mainvue_type_template_id_d474eac6_render = function () {
|
|
|
3609
3609
|
)
|
|
3610
3610
|
: _vm._e()
|
|
3611
3611
|
}
|
|
3612
|
-
var
|
|
3613
|
-
|
|
3612
|
+
var mainvue_type_template_id_667a17b1_staticRenderFns = []
|
|
3613
|
+
mainvue_type_template_id_667a17b1_render._withStripped = true
|
|
3614
3614
|
|
|
3615
3615
|
|
|
3616
|
-
// CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=
|
|
3616
|
+
// CONCATENATED MODULE: ./packages/checkbox-group/src/main.vue?vue&type=template&id=667a17b1&
|
|
3617
3617
|
|
|
3618
3618
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3619
3619
|
var api = __webpack_require__(1);
|
|
3620
3620
|
|
|
3621
3621
|
// CONCATENATED MODULE: ./src/utils/store.js
|
|
3622
|
-
var
|
|
3622
|
+
var store_store = {
|
|
3623
3623
|
state: {},
|
|
3624
3624
|
set: function set(name, value) {
|
|
3625
3625
|
this.state[name] = value;
|
|
@@ -3638,8 +3638,8 @@ var store = {
|
|
|
3638
3638
|
}
|
|
3639
3639
|
}
|
|
3640
3640
|
};
|
|
3641
|
-
window.__store =
|
|
3642
|
-
/* harmony default export */ var utils_store = (
|
|
3641
|
+
window.__store = store_store;
|
|
3642
|
+
/* harmony default export */ var utils_store = (store_store);
|
|
3643
3643
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox-group/src/main.vue?vue&type=script&lang=js&
|
|
3644
3644
|
var 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; };
|
|
3645
3645
|
|
|
@@ -3705,6 +3705,14 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3705
3705
|
/* harmony default export */ var checkbox_group_src_mainvue_type_script_lang_js_ = ({
|
|
3706
3706
|
name: 'EsCheckboxGroup',
|
|
3707
3707
|
inheritAttrs: false,
|
|
3708
|
+
inject: {
|
|
3709
|
+
esForm: {
|
|
3710
|
+
default: ''
|
|
3711
|
+
},
|
|
3712
|
+
sysCodes: {
|
|
3713
|
+
default: ''
|
|
3714
|
+
}
|
|
3715
|
+
},
|
|
3708
3716
|
props: {
|
|
3709
3717
|
method: {
|
|
3710
3718
|
type: String,
|
|
@@ -3766,11 +3774,13 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3766
3774
|
isNoParamRequest: {
|
|
3767
3775
|
type: Boolean,
|
|
3768
3776
|
default: true
|
|
3769
|
-
}
|
|
3777
|
+
},
|
|
3778
|
+
dataKey: String
|
|
3770
3779
|
},
|
|
3771
3780
|
data: function data() {
|
|
3772
3781
|
return {
|
|
3773
|
-
options: ''
|
|
3782
|
+
options: '',
|
|
3783
|
+
canceled: false
|
|
3774
3784
|
};
|
|
3775
3785
|
},
|
|
3776
3786
|
|
|
@@ -3857,6 +3867,18 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3857
3867
|
handler: function handler() {
|
|
3858
3868
|
this.url && this.getData(this.url);
|
|
3859
3869
|
}
|
|
3870
|
+
},
|
|
3871
|
+
sysCodes: {
|
|
3872
|
+
deep: true,
|
|
3873
|
+
handler: function handler(val) {
|
|
3874
|
+
if (this.canceled && val && (this.sysCode && val[this.sysCode] || this.dataKey && val[this.dataKey])) {
|
|
3875
|
+
if (this.parseData) {
|
|
3876
|
+
this.options = this.parseData(JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey])));
|
|
3877
|
+
} else {
|
|
3878
|
+
this.options = JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey]));
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
}
|
|
3860
3882
|
}
|
|
3861
3883
|
},
|
|
3862
3884
|
created: function created() {},
|
|
@@ -3883,9 +3905,11 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3883
3905
|
data: params
|
|
3884
3906
|
}).then(function (res) {
|
|
3885
3907
|
_this2.loading = false;
|
|
3908
|
+
_this2.canceled = false;
|
|
3886
3909
|
if (res.rCode === 0) {
|
|
3887
3910
|
_this2.options = JSON.parse(JSON.stringify(res.results));
|
|
3888
|
-
if (sysCode) {
|
|
3911
|
+
if (sysCode || _this2.dataKey) {
|
|
3912
|
+
_this2.esForm && _this2.esForm.setSysCodes(sysCode || _this2.dataKey, JSON.parse(JSON.stringify(_this2.options)));
|
|
3889
3913
|
utils_store.set(sysCode, JSON.parse(JSON.stringify(res.results)));
|
|
3890
3914
|
}
|
|
3891
3915
|
} else {
|
|
@@ -3894,8 +3918,13 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3894
3918
|
}
|
|
3895
3919
|
}).catch(function (err) {
|
|
3896
3920
|
_this2.loading = false;
|
|
3897
|
-
if (err.message
|
|
3898
|
-
|
|
3921
|
+
if (err.message) {
|
|
3922
|
+
if (err.message !== 'canceled') {
|
|
3923
|
+
_this2.$message.error(err.message);
|
|
3924
|
+
}
|
|
3925
|
+
if (err.message === 'canceled' && sysCode) {
|
|
3926
|
+
_this2.canceled = true;
|
|
3927
|
+
}
|
|
3899
3928
|
}
|
|
3900
3929
|
});
|
|
3901
3930
|
},
|
|
@@ -3919,8 +3948,8 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
3919
3948
|
|
|
3920
3949
|
var checkbox_group_src_main_component = normalizeComponent(
|
|
3921
3950
|
packages_checkbox_group_src_mainvue_type_script_lang_js_,
|
|
3922
|
-
|
|
3923
|
-
|
|
3951
|
+
mainvue_type_template_id_667a17b1_render,
|
|
3952
|
+
mainvue_type_template_id_667a17b1_staticRenderFns,
|
|
3924
3953
|
false,
|
|
3925
3954
|
null,
|
|
3926
3955
|
null,
|
|
@@ -7355,7 +7384,7 @@ var sizer_component = normalizeComponent(
|
|
|
7355
7384
|
|
|
7356
7385
|
/* harmony default export */ var sizer = (sizer_component.exports);
|
|
7357
7386
|
// EXTERNAL MODULE: external "vue"
|
|
7358
|
-
var external_vue_ = __webpack_require__(
|
|
7387
|
+
var external_vue_ = __webpack_require__(9);
|
|
7359
7388
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
7360
7389
|
|
|
7361
7390
|
// CONCATENATED MODULE: ./src/utils/bus.js
|
|
@@ -11179,7 +11208,7 @@ mainvue_type_template_id_19392db6_render._withStripped = true
|
|
|
11179
11208
|
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=19392db6&
|
|
11180
11209
|
|
|
11181
11210
|
// EXTERNAL MODULE: external "wujie-vue2"
|
|
11182
|
-
var external_wujie_vue2_ = __webpack_require__(
|
|
11211
|
+
var external_wujie_vue2_ = __webpack_require__(10);
|
|
11183
11212
|
var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wujie_vue2_);
|
|
11184
11213
|
|
|
11185
11214
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
|
|
@@ -11786,7 +11815,7 @@ mainvue_type_template_id_f482498c_render._withStripped = true
|
|
|
11786
11815
|
// CONCATENATED MODULE: ./packages/editor/src/main.vue?vue&type=template&id=f482498c&
|
|
11787
11816
|
|
|
11788
11817
|
// EXTERNAL MODULE: external "slate"
|
|
11789
|
-
var external_slate_ = __webpack_require__(
|
|
11818
|
+
var external_slate_ = __webpack_require__(6);
|
|
11790
11819
|
|
|
11791
11820
|
// EXTERNAL MODULE: external "slate-history"
|
|
11792
11821
|
var external_slate_history_ = __webpack_require__(11);
|
|
@@ -13116,8 +13145,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
13116
13145
|
};
|
|
13117
13146
|
|
|
13118
13147
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
13119
|
-
// 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=
|
|
13120
|
-
var
|
|
13148
|
+
// 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=562019ae&
|
|
13149
|
+
var mainvue_type_template_id_562019ae_render = function () {
|
|
13121
13150
|
var _vm = this
|
|
13122
13151
|
var _h = _vm.$createElement
|
|
13123
13152
|
var _c = _vm._self._c || _h
|
|
@@ -23764,11 +23793,11 @@ var mainvue_type_template_id_6cbf9b66_render = function () {
|
|
|
23764
23793
|
)
|
|
23765
23794
|
: _vm._e()
|
|
23766
23795
|
}
|
|
23767
|
-
var
|
|
23768
|
-
|
|
23796
|
+
var mainvue_type_template_id_562019ae_staticRenderFns = []
|
|
23797
|
+
mainvue_type_template_id_562019ae_render._withStripped = true
|
|
23769
23798
|
|
|
23770
23799
|
|
|
23771
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
23800
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=562019ae&
|
|
23772
23801
|
|
|
23773
23802
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
23774
23803
|
// 手机号
|
|
@@ -27566,7 +27595,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27566
27595
|
inheritAttrs: false,
|
|
27567
27596
|
provide: function provide() {
|
|
27568
27597
|
return {
|
|
27569
|
-
esForm: this
|
|
27598
|
+
esForm: this,
|
|
27599
|
+
sysCodes: this.sysCodes
|
|
27570
27600
|
};
|
|
27571
27601
|
},
|
|
27572
27602
|
|
|
@@ -27740,7 +27770,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27740
27770
|
newHeight: null,
|
|
27741
27771
|
uuid: utils_util["a" /* default */].uuid(32),
|
|
27742
27772
|
dialog: false,
|
|
27743
|
-
refresh: true
|
|
27773
|
+
refresh: true,
|
|
27774
|
+
sysCodes: {}
|
|
27744
27775
|
};
|
|
27745
27776
|
},
|
|
27746
27777
|
|
|
@@ -28740,6 +28771,9 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28740
28771
|
data: data,
|
|
28741
28772
|
attrs: attrs
|
|
28742
28773
|
});
|
|
28774
|
+
},
|
|
28775
|
+
setSysCodes: function setSysCodes(name, value) {
|
|
28776
|
+
this.$set(this.sysCodes, name, value);
|
|
28743
28777
|
}
|
|
28744
28778
|
}
|
|
28745
28779
|
});
|
|
@@ -28755,8 +28789,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28755
28789
|
|
|
28756
28790
|
var form_src_main_component = normalizeComponent(
|
|
28757
28791
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28758
|
-
|
|
28759
|
-
|
|
28792
|
+
mainvue_type_template_id_562019ae_render,
|
|
28793
|
+
mainvue_type_template_id_562019ae_staticRenderFns,
|
|
28760
28794
|
false,
|
|
28761
28795
|
null,
|
|
28762
28796
|
null,
|
|
@@ -47708,8 +47742,8 @@ login_src_main.install = function (Vue) {
|
|
|
47708
47742
|
};
|
|
47709
47743
|
|
|
47710
47744
|
/* harmony default export */ var login = (login_src_main);
|
|
47711
|
-
// 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=
|
|
47712
|
-
var
|
|
47745
|
+
// 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=3f8b642a&
|
|
47746
|
+
var mainvue_type_template_id_3f8b642a_render = function () {
|
|
47713
47747
|
var _vm = this
|
|
47714
47748
|
var _h = _vm.$createElement
|
|
47715
47749
|
var _c = _vm._self._c || _h
|
|
@@ -48130,14 +48164,14 @@ var mainvue_type_template_id_9f517a06_render = function () {
|
|
|
48130
48164
|
1
|
|
48131
48165
|
)
|
|
48132
48166
|
}
|
|
48133
|
-
var
|
|
48134
|
-
|
|
48167
|
+
var mainvue_type_template_id_3f8b642a_staticRenderFns = []
|
|
48168
|
+
mainvue_type_template_id_3f8b642a_render._withStripped = true
|
|
48135
48169
|
|
|
48136
48170
|
|
|
48137
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
48171
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=3f8b642a&
|
|
48138
48172
|
|
|
48139
|
-
// 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=
|
|
48140
|
-
var
|
|
48173
|
+
// 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&
|
|
48174
|
+
var userinfovue_type_template_id_799780ee_render = function () {
|
|
48141
48175
|
var _vm = this
|
|
48142
48176
|
var _h = _vm.$createElement
|
|
48143
48177
|
var _c = _vm._self._c || _h
|
|
@@ -48153,11 +48187,11 @@ var userinfovue_type_template_id_c2c69d4a_render = function () {
|
|
|
48153
48187
|
2
|
|
48154
48188
|
)
|
|
48155
48189
|
}
|
|
48156
|
-
var
|
|
48157
|
-
|
|
48190
|
+
var userinfovue_type_template_id_799780ee_staticRenderFns = []
|
|
48191
|
+
userinfovue_type_template_id_799780ee_render._withStripped = true
|
|
48158
48192
|
|
|
48159
48193
|
|
|
48160
|
-
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=
|
|
48194
|
+
// CONCATENATED MODULE: ./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
|
|
48161
48195
|
|
|
48162
48196
|
// 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&
|
|
48163
48197
|
//
|
|
@@ -48184,6 +48218,10 @@ userinfovue_type_template_id_c2c69d4a_render._withStripped = true
|
|
|
48184
48218
|
showNotify: {
|
|
48185
48219
|
type: Boolean,
|
|
48186
48220
|
default: true
|
|
48221
|
+
},
|
|
48222
|
+
secret: {
|
|
48223
|
+
type: Boolean,
|
|
48224
|
+
default: true
|
|
48187
48225
|
}
|
|
48188
48226
|
},
|
|
48189
48227
|
data: function data() {
|
|
@@ -48468,11 +48506,11 @@ userinfovue_type_template_id_c2c69d4a_render._withStripped = true
|
|
|
48468
48506
|
email: this.values.email,
|
|
48469
48507
|
officeTel: this.values.officetel,
|
|
48470
48508
|
phone: this.values.phone,
|
|
48471
|
-
oldPassword: initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
|
|
48509
|
+
oldPassword: this.secret && initLogin && initLogin.secret && this.values.oldpassword ? utils_util["a" /* default */].esmEncrypt({
|
|
48472
48510
|
data: this.values.oldpassword,
|
|
48473
48511
|
key: initLogin.secret
|
|
48474
48512
|
}) : this.values.oldpassword,
|
|
48475
|
-
password: initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
|
|
48513
|
+
password: this.secret && initLogin && initLogin.secret && this.values.password ? utils_util["a" /* default */].esmEncrypt({
|
|
48476
48514
|
data: this.values.password,
|
|
48477
48515
|
key: initLogin.secret
|
|
48478
48516
|
}) : this.values.password
|
|
@@ -48568,8 +48606,8 @@ userinfovue_type_template_id_c2c69d4a_render._withStripped = true
|
|
|
48568
48606
|
|
|
48569
48607
|
var userinfo_component = normalizeComponent(
|
|
48570
48608
|
src_userinfovue_type_script_lang_js_,
|
|
48571
|
-
|
|
48572
|
-
|
|
48609
|
+
userinfovue_type_template_id_799780ee_render,
|
|
48610
|
+
userinfovue_type_template_id_799780ee_staticRenderFns,
|
|
48573
48611
|
false,
|
|
48574
48612
|
null,
|
|
48575
48613
|
null,
|
|
@@ -50744,10 +50782,10 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50744
50782
|
this.homePage = results[i];
|
|
50745
50783
|
if (this.isHomePage) {
|
|
50746
50784
|
if (this.menus) {
|
|
50747
|
-
var
|
|
50748
|
-
this.homePage && (
|
|
50749
|
-
if (
|
|
50750
|
-
this.defaultActive =
|
|
50785
|
+
var ids = null;
|
|
50786
|
+
this.homePage && (ids = this.getId(this.menus, this.homePage));
|
|
50787
|
+
if (ids) {
|
|
50788
|
+
this.defaultActive = ids;
|
|
50751
50789
|
} else if (this.homePage) {
|
|
50752
50790
|
this.handleJump(this.homePage);
|
|
50753
50791
|
}
|
|
@@ -50897,9 +50935,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50897
50935
|
_this5.menus = JSON.parse(JSON.stringify(res.results));
|
|
50898
50936
|
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
50899
50937
|
if (applicationid) {
|
|
50900
|
-
var
|
|
50901
|
-
if (
|
|
50902
|
-
_this5.defaultActive =
|
|
50938
|
+
var ids = _this5.getId(_this5.menus, applicationid);
|
|
50939
|
+
if (ids) {
|
|
50940
|
+
_this5.defaultActive = ids;
|
|
50903
50941
|
}
|
|
50904
50942
|
} else if (utils_util["a" /* default */].win.location.hash) {
|
|
50905
50943
|
var hash = utils_util["a" /* default */].win.location.hash;
|
|
@@ -50907,26 +50945,26 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50907
50945
|
hash = hash.split('?')[0];
|
|
50908
50946
|
}
|
|
50909
50947
|
if (hash !== '#/' && hash !== '#/main') {
|
|
50910
|
-
var
|
|
50911
|
-
if (
|
|
50912
|
-
_this5.defaultActive =
|
|
50913
|
-
_this5.navIds =
|
|
50914
|
-
_this5.setTitle(
|
|
50948
|
+
var _ids4 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
|
|
50949
|
+
if (_ids4) {
|
|
50950
|
+
_this5.defaultActive = _ids4;
|
|
50951
|
+
_this5.navIds = _ids4;
|
|
50952
|
+
_this5.setTitle(_ids4[0]);
|
|
50915
50953
|
}
|
|
50916
50954
|
} else if (sessionStorage.getItem('jump') && _this5.history) {
|
|
50917
|
-
var
|
|
50918
|
-
if (
|
|
50919
|
-
_this5.defaultActive =
|
|
50920
|
-
_this5.navIds =
|
|
50921
|
-
_this5.setTitle(
|
|
50955
|
+
var _ids5 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
|
|
50956
|
+
if (_ids5) {
|
|
50957
|
+
_this5.defaultActive = _ids5;
|
|
50958
|
+
_this5.navIds = _ids5;
|
|
50959
|
+
_this5.setTitle(_ids5[0]);
|
|
50922
50960
|
}
|
|
50923
50961
|
}
|
|
50924
50962
|
} else if (sessionStorage.getItem('jump') && _this5.history) {
|
|
50925
|
-
var
|
|
50926
|
-
if (
|
|
50927
|
-
_this5.defaultActive =
|
|
50928
|
-
_this5.navIds =
|
|
50929
|
-
_this5.setTitle(
|
|
50963
|
+
var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
|
|
50964
|
+
if (_ids6) {
|
|
50965
|
+
_this5.defaultActive = _ids6;
|
|
50966
|
+
_this5.navIds = _ids6;
|
|
50967
|
+
_this5.setTitle(_ids6[0]);
|
|
50930
50968
|
}
|
|
50931
50969
|
}
|
|
50932
50970
|
_this5.setTips(_this5.menus);
|
|
@@ -50952,9 +50990,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
50952
50990
|
if (this.homePage || !utils_util["a" /* default */].getStorage('mainConfig')) {
|
|
50953
50991
|
this.isDefault = true;
|
|
50954
50992
|
if (this.homePage && (!this.defaultActive || !this.defaultActive.length)) {
|
|
50955
|
-
var
|
|
50956
|
-
if (
|
|
50957
|
-
this.defaultActive =
|
|
50993
|
+
var ids = this.getId(this.menus, this.homePage);
|
|
50994
|
+
if (ids) {
|
|
50995
|
+
this.defaultActive = ids;
|
|
50958
50996
|
this.isDefault = false;
|
|
50959
50997
|
this.setDefault(res, this.defaultActive);
|
|
50960
50998
|
return false;
|
|
@@ -51218,11 +51256,14 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51218
51256
|
switch (type) {
|
|
51219
51257
|
case 'nav':
|
|
51220
51258
|
this.tabs = [];
|
|
51221
|
-
this.active = '';
|
|
51259
|
+
//this.active = '';
|
|
51222
51260
|
if (this.layout === 'topside') {
|
|
51223
|
-
this.
|
|
51224
|
-
|
|
51225
|
-
|
|
51261
|
+
if (this.title !== node.text) {
|
|
51262
|
+
this.navIds = [node.id];
|
|
51263
|
+
this.menu = node.children;
|
|
51264
|
+
this.active = node.id;
|
|
51265
|
+
this.title = node.text;
|
|
51266
|
+
}
|
|
51226
51267
|
if (this.setFirstAsDefault) {
|
|
51227
51268
|
var subNode = this.getFirst(node);
|
|
51228
51269
|
if (subNode) {
|
|
@@ -51232,7 +51273,7 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51232
51273
|
}
|
|
51233
51274
|
} else {
|
|
51234
51275
|
this.navIds = this.getId(this.menus, node.url, true);
|
|
51235
|
-
this.setTitle(
|
|
51276
|
+
this.setTitle(this.navIds[0]);
|
|
51236
51277
|
this.tabsId = fourthTabs ? node.id : '';
|
|
51237
51278
|
}
|
|
51238
51279
|
break;
|
|
@@ -51241,7 +51282,10 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51241
51282
|
this.navIds = [node.id];
|
|
51242
51283
|
this.tabs = [];
|
|
51243
51284
|
this.menu = node.children;
|
|
51244
|
-
this.title
|
|
51285
|
+
if (this.title !== node.text) {
|
|
51286
|
+
this.active = '';
|
|
51287
|
+
this.title = node.text;
|
|
51288
|
+
}
|
|
51245
51289
|
if (this.setFirstAsDefault) {
|
|
51246
51290
|
var _subNode = this.getFirst(node);
|
|
51247
51291
|
if (_subNode) {
|
|
@@ -51257,6 +51301,10 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51257
51301
|
if (node.url) {
|
|
51258
51302
|
this.tabs = [];
|
|
51259
51303
|
}
|
|
51304
|
+
if (this.title !== node.text) {
|
|
51305
|
+
this.active = [node.id];
|
|
51306
|
+
this.title = node.text;
|
|
51307
|
+
}
|
|
51260
51308
|
if (this.setFirstAsDefault) {
|
|
51261
51309
|
var _subNode2 = this.getFirst(node);
|
|
51262
51310
|
this.active = [node.id];
|
|
@@ -51307,16 +51355,18 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51307
51355
|
this.navIds = this.getId(this.menus, this.tabs[0].url, true);
|
|
51308
51356
|
}
|
|
51309
51357
|
}
|
|
51310
|
-
} else
|
|
51311
|
-
this.
|
|
51312
|
-
|
|
51313
|
-
|
|
51314
|
-
if (
|
|
51315
|
-
|
|
51316
|
-
|
|
51317
|
-
|
|
51358
|
+
} else {
|
|
51359
|
+
if (this.setFirstAsDefault) {
|
|
51360
|
+
this.tabs = [];
|
|
51361
|
+
var _subNode3 = this.getFirst(node);
|
|
51362
|
+
if (_subNode3) {
|
|
51363
|
+
if (this.biserial) {
|
|
51364
|
+
this.$set(this.active, 1, _subNode3.id);
|
|
51365
|
+
} else {
|
|
51366
|
+
this.active = _subNode3.id;
|
|
51367
|
+
}
|
|
51368
|
+
this.navIds = this.getId(this.menus, _subNode3.url, true);
|
|
51318
51369
|
}
|
|
51319
|
-
this.navIds = this.getId(this.menus, _subNode3.url, true);
|
|
51320
51370
|
}
|
|
51321
51371
|
}
|
|
51322
51372
|
break;
|
|
@@ -51551,6 +51601,9 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51551
51601
|
return false;
|
|
51552
51602
|
},
|
|
51553
51603
|
handleLayout: function handleLayout(res, old) {
|
|
51604
|
+
if (res == old) {
|
|
51605
|
+
return;
|
|
51606
|
+
}
|
|
51554
51607
|
this.layout = res;
|
|
51555
51608
|
switch (res) {
|
|
51556
51609
|
case 'topnav':
|
|
@@ -51816,8 +51869,8 @@ var log = utils_util["a" /* default */].getParams('console');
|
|
|
51816
51869
|
|
|
51817
51870
|
var main_src_main_component = normalizeComponent(
|
|
51818
51871
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
51819
|
-
|
|
51820
|
-
|
|
51872
|
+
mainvue_type_template_id_3f8b642a_render,
|
|
51873
|
+
mainvue_type_template_id_3f8b642a_staticRenderFns,
|
|
51821
51874
|
false,
|
|
51822
51875
|
null,
|
|
51823
51876
|
null,
|
|
@@ -51927,7 +51980,9 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
51927
51980
|
return {
|
|
51928
51981
|
maxH: '',
|
|
51929
51982
|
maxW: '',
|
|
51930
|
-
menuId: null
|
|
51983
|
+
menuId: null,
|
|
51984
|
+
defaultOpeneds: [],
|
|
51985
|
+
isChange: false
|
|
51931
51986
|
};
|
|
51932
51987
|
},
|
|
51933
51988
|
mounted: function mounted() {},
|
|
@@ -51949,6 +52004,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
51949
52004
|
handleSelect: function handleSelect(key, keyPath, item) {
|
|
51950
52005
|
var _this2 = this;
|
|
51951
52006
|
|
|
52007
|
+
this.isChange = true;
|
|
51952
52008
|
if (this.menuId !== null && keyPath.indexOf(this.menuId) == -1) {
|
|
51953
52009
|
this.$refs.menu.close(this.menuId);
|
|
51954
52010
|
} else {
|
|
@@ -52025,7 +52081,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
52025
52081
|
}
|
|
52026
52082
|
}));
|
|
52027
52083
|
return [h('el-submenu', {
|
|
52028
|
-
class: ['es-submenu', 'es-submenu-' + this.mode],
|
|
52084
|
+
class: ['es-submenu', 'es-submenu-' + this.mode, item.id === this.active && !this.isChange ? 'es-menu-item-focus' : ''],
|
|
52029
52085
|
props: {
|
|
52030
52086
|
popperClass: popper,
|
|
52031
52087
|
popperAppendToBody: true,
|
|
@@ -52043,7 +52099,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
52043
52099
|
}
|
|
52044
52100
|
}));
|
|
52045
52101
|
return [h('el-submenu', {
|
|
52046
|
-
class: ['es-submenu', 'es-submenu-' + this.mode],
|
|
52102
|
+
class: ['es-submenu', 'es-submenu-' + this.mode, item.id === this.active && !this.isChange ? 'es-menu-item-focus' : ''],
|
|
52047
52103
|
props: {
|
|
52048
52104
|
popperClass: popper,
|
|
52049
52105
|
popperAppendToBody: true,
|
|
@@ -52127,6 +52183,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
52127
52183
|
class: ['es-menu', 'es-menu-' + this.mode, { 'es-menu-collapse': this.collapse }, { 'es-menu-nav': this.subNav }],
|
|
52128
52184
|
ref: 'menu',
|
|
52129
52185
|
props: {
|
|
52186
|
+
defaultOpeneds: this.defaultOpeneds,
|
|
52130
52187
|
defaultActive: this.active,
|
|
52131
52188
|
collapse: this.collapse,
|
|
52132
52189
|
mode: this.mode,
|
|
@@ -52172,8 +52229,8 @@ menu_src_main.install = function (Vue) {
|
|
|
52172
52229
|
};
|
|
52173
52230
|
|
|
52174
52231
|
/* harmony default export */ var menu = (menu_src_main);
|
|
52175
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=
|
|
52176
|
-
var
|
|
52232
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=template&id=1e79807a&
|
|
52233
|
+
var mainvue_type_template_id_1e79807a_render = function () {
|
|
52177
52234
|
var _vm = this
|
|
52178
52235
|
var _h = _vm.$createElement
|
|
52179
52236
|
var _c = _vm._self._c || _h
|
|
@@ -52311,11 +52368,11 @@ var mainvue_type_template_id_57ae81a0_render = function () {
|
|
|
52311
52368
|
]
|
|
52312
52369
|
)
|
|
52313
52370
|
}
|
|
52314
|
-
var
|
|
52315
|
-
|
|
52371
|
+
var mainvue_type_template_id_1e79807a_staticRenderFns = []
|
|
52372
|
+
mainvue_type_template_id_1e79807a_render._withStripped = true
|
|
52316
52373
|
|
|
52317
52374
|
|
|
52318
|
-
// CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=
|
|
52375
|
+
// CONCATENATED MODULE: ./packages/nav/src/main.vue?vue&type=template&id=1e79807a&
|
|
52319
52376
|
|
|
52320
52377
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/nav/src/main.vue?vue&type=script&lang=js&
|
|
52321
52378
|
//
|
|
@@ -52449,6 +52506,7 @@ mainvue_type_template_id_57ae81a0_render._withStripped = true
|
|
|
52449
52506
|
biserial: {
|
|
52450
52507
|
handler: function handler(val) {
|
|
52451
52508
|
this.isShow = !val;
|
|
52509
|
+
this.resetHeight();
|
|
52452
52510
|
}
|
|
52453
52511
|
},
|
|
52454
52512
|
defaultActive: {
|
|
@@ -52582,8 +52640,8 @@ mainvue_type_template_id_57ae81a0_render._withStripped = true
|
|
|
52582
52640
|
|
|
52583
52641
|
var nav_src_main_component = normalizeComponent(
|
|
52584
52642
|
packages_nav_src_mainvue_type_script_lang_js_,
|
|
52585
|
-
|
|
52586
|
-
|
|
52643
|
+
mainvue_type_template_id_1e79807a_render,
|
|
52644
|
+
mainvue_type_template_id_1e79807a_staticRenderFns,
|
|
52587
52645
|
false,
|
|
52588
52646
|
null,
|
|
52589
52647
|
null,
|
|
@@ -53720,7 +53778,7 @@ mainvue_type_template_id_29c1659e_render._withStripped = true
|
|
|
53720
53778
|
// CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=29c1659e&
|
|
53721
53779
|
|
|
53722
53780
|
// EXTERNAL MODULE: external "video.js"
|
|
53723
|
-
var external_video_js_ = __webpack_require__(
|
|
53781
|
+
var external_video_js_ = __webpack_require__(7);
|
|
53724
53782
|
var external_video_js_default = /*#__PURE__*/__webpack_require__.n(external_video_js_);
|
|
53725
53783
|
|
|
53726
53784
|
// EXTERNAL MODULE: external "video.js/dist/lang/zh-CN.json"
|
|
@@ -54183,8 +54241,8 @@ qr_code_src_main.install = function (Vue) {
|
|
|
54183
54241
|
};
|
|
54184
54242
|
|
|
54185
54243
|
/* harmony default export */ var qr_code = (qr_code_src_main);
|
|
54186
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=
|
|
54187
|
-
var
|
|
54244
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=template&id=64807cce&
|
|
54245
|
+
var mainvue_type_template_id_64807cce_render = function () {
|
|
54188
54246
|
var _vm = this
|
|
54189
54247
|
var _h = _vm.$createElement
|
|
54190
54248
|
var _c = _vm._self._c || _h
|
|
@@ -54312,11 +54370,11 @@ var mainvue_type_template_id_34723cb0_render = function () {
|
|
|
54312
54370
|
)
|
|
54313
54371
|
: _vm._e()
|
|
54314
54372
|
}
|
|
54315
|
-
var
|
|
54316
|
-
|
|
54373
|
+
var mainvue_type_template_id_64807cce_staticRenderFns = []
|
|
54374
|
+
mainvue_type_template_id_64807cce_render._withStripped = true
|
|
54317
54375
|
|
|
54318
54376
|
|
|
54319
|
-
// CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=
|
|
54377
|
+
// CONCATENATED MODULE: ./packages/radio-group/src/main.vue?vue&type=template&id=64807cce&
|
|
54320
54378
|
|
|
54321
54379
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio-group/src/main.vue?vue&type=script&lang=js&
|
|
54322
54380
|
var radio_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; };
|
|
@@ -54385,6 +54443,14 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
54385
54443
|
/* harmony default export */ var radio_group_src_mainvue_type_script_lang_js_ = ({
|
|
54386
54444
|
name: 'EsRadioGroup',
|
|
54387
54445
|
inheritAttrs: false,
|
|
54446
|
+
inject: {
|
|
54447
|
+
esForm: {
|
|
54448
|
+
default: ''
|
|
54449
|
+
},
|
|
54450
|
+
sysCodes: {
|
|
54451
|
+
default: ''
|
|
54452
|
+
}
|
|
54453
|
+
},
|
|
54388
54454
|
props: {
|
|
54389
54455
|
method: {
|
|
54390
54456
|
type: String,
|
|
@@ -54446,11 +54512,13 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
54446
54512
|
isNoParamRequest: {
|
|
54447
54513
|
type: Boolean,
|
|
54448
54514
|
default: true
|
|
54449
|
-
}
|
|
54515
|
+
},
|
|
54516
|
+
dataKey: String
|
|
54450
54517
|
},
|
|
54451
54518
|
data: function data() {
|
|
54452
54519
|
return {
|
|
54453
|
-
options: null
|
|
54520
|
+
options: null,
|
|
54521
|
+
canceled: false
|
|
54454
54522
|
};
|
|
54455
54523
|
},
|
|
54456
54524
|
|
|
@@ -54539,6 +54607,18 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
54539
54607
|
handler: function handler() {
|
|
54540
54608
|
this.url && this.getData(this.url);
|
|
54541
54609
|
}
|
|
54610
|
+
},
|
|
54611
|
+
sysCodes: {
|
|
54612
|
+
deep: true,
|
|
54613
|
+
handler: function handler(val) {
|
|
54614
|
+
if (this.canceled && val && (this.sysCode && val[this.sysCode] || this.dataKey && val[this.dataKey])) {
|
|
54615
|
+
if (this.parseData) {
|
|
54616
|
+
this.options = this.parseData(JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey])));
|
|
54617
|
+
} else {
|
|
54618
|
+
this.options = JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey]));
|
|
54619
|
+
}
|
|
54620
|
+
}
|
|
54621
|
+
}
|
|
54542
54622
|
}
|
|
54543
54623
|
},
|
|
54544
54624
|
created: function created() {},
|
|
@@ -54565,16 +54645,23 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
54565
54645
|
data: params
|
|
54566
54646
|
}).then(function (res) {
|
|
54567
54647
|
_this2.loading = false;
|
|
54648
|
+
_this2.canceled = false;
|
|
54568
54649
|
if (res.rCode === 0) {
|
|
54569
54650
|
_this2.options = JSON.parse(JSON.stringify(res.results));
|
|
54570
|
-
if (sysCode) {
|
|
54651
|
+
if (sysCode || _this2.dataKey) {
|
|
54652
|
+
_this2.esForm && _this2.esForm.setSysCodes(sysCode || _this2.dataKey, JSON.parse(JSON.stringify(_this2.options)));
|
|
54571
54653
|
utils_store.set(sysCode, JSON.parse(JSON.stringify(res.results)));
|
|
54572
54654
|
}
|
|
54573
54655
|
}
|
|
54574
54656
|
}).catch(function (err) {
|
|
54575
54657
|
_this2.loading = false;
|
|
54576
|
-
if (err.message
|
|
54577
|
-
|
|
54658
|
+
if (err.message) {
|
|
54659
|
+
if (err.message !== 'canceled') {
|
|
54660
|
+
_this2.$message.error(err.message);
|
|
54661
|
+
}
|
|
54662
|
+
if (err.message === 'canceled' && sysCode) {
|
|
54663
|
+
_this2.canceled = true;
|
|
54664
|
+
}
|
|
54578
54665
|
}
|
|
54579
54666
|
});
|
|
54580
54667
|
},
|
|
@@ -54598,8 +54685,8 @@ var radio_group_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "func
|
|
|
54598
54685
|
|
|
54599
54686
|
var radio_group_src_main_component = normalizeComponent(
|
|
54600
54687
|
packages_radio_group_src_mainvue_type_script_lang_js_,
|
|
54601
|
-
|
|
54602
|
-
|
|
54688
|
+
mainvue_type_template_id_64807cce_render,
|
|
54689
|
+
mainvue_type_template_id_64807cce_staticRenderFns,
|
|
54603
54690
|
false,
|
|
54604
54691
|
null,
|
|
54605
54692
|
null,
|
|
@@ -55081,6 +55168,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55081
55168
|
|
|
55082
55169
|
|
|
55083
55170
|
|
|
55171
|
+
|
|
55084
55172
|
/* harmony default export */ var select_src_mainvue_type_script_lang_js_ = ({
|
|
55085
55173
|
name: 'EsSelect',
|
|
55086
55174
|
componentName: 'EsSelect',
|
|
@@ -55091,6 +55179,14 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55091
55179
|
};
|
|
55092
55180
|
},
|
|
55093
55181
|
|
|
55182
|
+
inject: {
|
|
55183
|
+
esForm: {
|
|
55184
|
+
default: ''
|
|
55185
|
+
},
|
|
55186
|
+
sysCodes: {
|
|
55187
|
+
default: ''
|
|
55188
|
+
}
|
|
55189
|
+
},
|
|
55094
55190
|
props: {
|
|
55095
55191
|
value: [String, Array, Object, Number],
|
|
55096
55192
|
method: {
|
|
@@ -55199,7 +55295,8 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55199
55295
|
isNoParamRequest: {
|
|
55200
55296
|
type: Boolean,
|
|
55201
55297
|
default: true
|
|
55202
|
-
}
|
|
55298
|
+
},
|
|
55299
|
+
dataKey: String
|
|
55203
55300
|
},
|
|
55204
55301
|
data: function data() {
|
|
55205
55302
|
return {
|
|
@@ -55207,7 +55304,8 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55207
55304
|
options: '',
|
|
55208
55305
|
valKey: this.valueKey,
|
|
55209
55306
|
label: this.labelKey,
|
|
55210
|
-
hidden: false
|
|
55307
|
+
hidden: false,
|
|
55308
|
+
canceled: false
|
|
55211
55309
|
};
|
|
55212
55310
|
},
|
|
55213
55311
|
|
|
@@ -55290,6 +55388,18 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55290
55388
|
this.getData(this.sysCode);
|
|
55291
55389
|
}
|
|
55292
55390
|
}
|
|
55391
|
+
},
|
|
55392
|
+
sysCodes: {
|
|
55393
|
+
deep: true,
|
|
55394
|
+
handler: function handler(val) {
|
|
55395
|
+
if (this.canceled && val && (this.sysCode && val[this.sysCode] || this.dataKey && val[this.dataKey])) {
|
|
55396
|
+
if (this.parseData) {
|
|
55397
|
+
this.options = this.parseData(JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey])));
|
|
55398
|
+
} else {
|
|
55399
|
+
this.options = JSON.parse(JSON.stringify(val[this.sysCode || this.dataKey]));
|
|
55400
|
+
}
|
|
55401
|
+
}
|
|
55402
|
+
}
|
|
55293
55403
|
}
|
|
55294
55404
|
},
|
|
55295
55405
|
mounted: function mounted() {
|
|
@@ -55372,13 +55482,15 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55372
55482
|
data: params
|
|
55373
55483
|
}).then(function (res) {
|
|
55374
55484
|
_this3.loading = false;
|
|
55485
|
+
_this3.canceled = false;
|
|
55375
55486
|
if (res.rCode === 0) {
|
|
55376
55487
|
if (_this3.parseData) {
|
|
55377
|
-
_this3.options = _this3.parseData(res.results);
|
|
55488
|
+
_this3.options = _this3.parseData(JSON.parse(JSON.stringify(res.results)));
|
|
55378
55489
|
} else {
|
|
55379
55490
|
_this3.options = JSON.parse(JSON.stringify(res.results));
|
|
55380
55491
|
}
|
|
55381
|
-
if (sysCode) {
|
|
55492
|
+
if (sysCode || _this3.dataKey) {
|
|
55493
|
+
_this3.esForm && _this3.esForm.setSysCodes(sysCode || _this3.dataKey, JSON.parse(JSON.stringify(_this3.options)));
|
|
55382
55494
|
utils_store.set(sysCode, JSON.parse(JSON.stringify(_this3.options)));
|
|
55383
55495
|
}
|
|
55384
55496
|
} else {
|
|
@@ -55386,16 +55498,21 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55386
55498
|
}
|
|
55387
55499
|
}).catch(function (err) {
|
|
55388
55500
|
_this3.loading = false;
|
|
55389
|
-
if (err.message
|
|
55390
|
-
|
|
55501
|
+
if (err.message) {
|
|
55502
|
+
if (err.message !== 'canceled') {
|
|
55503
|
+
_this3.$message.error(err.message);
|
|
55504
|
+
}
|
|
55505
|
+
if (err.message === 'canceled' && sysCode) {
|
|
55506
|
+
_this3.canceled = true;
|
|
55507
|
+
}
|
|
55391
55508
|
}
|
|
55392
55509
|
});
|
|
55393
55510
|
},
|
|
55394
55511
|
search: function search(query) {
|
|
55395
55512
|
var _this4 = this;
|
|
55396
55513
|
|
|
55397
|
-
if (query !== '') {
|
|
55398
|
-
if (this.url !== '') {
|
|
55514
|
+
if (query && query !== '') {
|
|
55515
|
+
if (this.url && this.url !== '') {
|
|
55399
55516
|
this.loading = true;
|
|
55400
55517
|
var params = {};
|
|
55401
55518
|
params[this.remoteKey] = query;
|
|
@@ -55408,13 +55525,7 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55408
55525
|
}).then(function (res) {
|
|
55409
55526
|
_this4.loading = false;
|
|
55410
55527
|
if (res.rCode === 0) {
|
|
55411
|
-
_this4.options = res.results
|
|
55412
|
-
if (item[_this4.label]) {
|
|
55413
|
-
return item[_this4.label].toLowerCase().indexOf(query.toLowerCase()) > -1;
|
|
55414
|
-
} else {
|
|
55415
|
-
return item.label.toLowerCase().indexOf(query.toLowerCase()) > -1;
|
|
55416
|
-
}
|
|
55417
|
-
});
|
|
55528
|
+
_this4.options = JSON.parse(JSON.stringify(res.results));
|
|
55418
55529
|
}
|
|
55419
55530
|
}).catch(function (err) {
|
|
55420
55531
|
_this4.loading = false;
|
|
@@ -55529,6 +55640,9 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55529
55640
|
this.onLoadsub({ data: data, params: params, node: node }).then(function (res) {
|
|
55530
55641
|
_this6.loading = false;
|
|
55531
55642
|
_this6.$set(data, 'children', JSON.parse(JSON.stringify(res)));
|
|
55643
|
+
if (_this6.dataKey && _this6.esForm) {
|
|
55644
|
+
_this6.esForm.setSysCodes(_this6.dataKey, JSON.parse(JSON.stringify(_this6.options)));
|
|
55645
|
+
}
|
|
55532
55646
|
}).catch(function (e) {
|
|
55533
55647
|
_this6.loading = false;
|
|
55534
55648
|
});
|
|
@@ -55553,6 +55667,9 @@ var select_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function"
|
|
|
55553
55667
|
} else {
|
|
55554
55668
|
console.error('tree数据格式错误');
|
|
55555
55669
|
}
|
|
55670
|
+
if (_this6.dataKey && _this6.esForm) {
|
|
55671
|
+
_this6.esForm.setSysCodes(_this6.dataKey, JSON.parse(JSON.stringify(_this6.options)));
|
|
55672
|
+
}
|
|
55556
55673
|
}
|
|
55557
55674
|
}).catch(function (err) {
|
|
55558
55675
|
_this6.loading = false;
|
|
@@ -55731,6 +55848,14 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
55731
55848
|
};
|
|
55732
55849
|
},
|
|
55733
55850
|
|
|
55851
|
+
inject: {
|
|
55852
|
+
esForm: {
|
|
55853
|
+
default: ''
|
|
55854
|
+
},
|
|
55855
|
+
sysCodes: {
|
|
55856
|
+
default: ''
|
|
55857
|
+
}
|
|
55858
|
+
},
|
|
55734
55859
|
props: {
|
|
55735
55860
|
method: {
|
|
55736
55861
|
type: String,
|
|
@@ -55824,7 +55949,8 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
55824
55949
|
type: String,
|
|
55825
55950
|
default: 'hasSub'
|
|
55826
55951
|
},
|
|
55827
|
-
defaultValue: Boolean
|
|
55952
|
+
defaultValue: Boolean,
|
|
55953
|
+
dataKey: String
|
|
55828
55954
|
},
|
|
55829
55955
|
data: function data() {
|
|
55830
55956
|
return {
|
|
@@ -55836,7 +55962,8 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
55836
55962
|
wheres: [{}],
|
|
55837
55963
|
first: true,
|
|
55838
55964
|
height: undefined,
|
|
55839
|
-
gangedNum: null
|
|
55965
|
+
gangedNum: null,
|
|
55966
|
+
canceled: false
|
|
55840
55967
|
};
|
|
55841
55968
|
},
|
|
55842
55969
|
|
|
@@ -55949,13 +56076,23 @@ var select_ganged_src_mainvue_type_script_lang_js_extends = Object.assign || fun
|
|
|
55949
56076
|
params: this.param,
|
|
55950
56077
|
data: this.param
|
|
55951
56078
|
}).then(function (res) {
|
|
56079
|
+
_this.canceled = false;
|
|
55952
56080
|
if (res.rCode === 0) {
|
|
55953
56081
|
_this.lists = res.results;
|
|
55954
56082
|
_this.getChildren(_this.results, _this.values);
|
|
56083
|
+
if (sysCode || _this.dataKey) {
|
|
56084
|
+
_this.esForm && _this.esForm.setSysCodes(sysCode || _this.dataKey, JSON.parse(JSON.stringify(_this.lists)));
|
|
56085
|
+
store.set(sysCode, JSON.parse(JSON.stringify(_this.lists)));
|
|
56086
|
+
}
|
|
55955
56087
|
}
|
|
55956
|
-
}).catch(function (
|
|
55957
|
-
if (err.message
|
|
55958
|
-
|
|
56088
|
+
}).catch(function (err) {
|
|
56089
|
+
if (err.message) {
|
|
56090
|
+
if (err.message !== 'canceled') {
|
|
56091
|
+
_this.$message.error(err.message);
|
|
56092
|
+
}
|
|
56093
|
+
if (err.message === 'canceled' && sysCode) {
|
|
56094
|
+
_this.canceled = true;
|
|
56095
|
+
}
|
|
55959
56096
|
}
|
|
55960
56097
|
});
|
|
55961
56098
|
},
|
|
@@ -70588,7 +70725,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70588
70725
|
}
|
|
70589
70726
|
|
|
70590
70727
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
70591
|
-
version: '0.4.
|
|
70728
|
+
version: '0.4.67',
|
|
70592
70729
|
install: install,
|
|
70593
70730
|
Button: packages_button,
|
|
70594
70731
|
ButtonGroup: button_group,
|