eoss-ui 0.5.78 → 0.5.80
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 +1 -1
- package/lib/button.js +1 -1
- package/lib/checkbox-group.js +1 -1
- package/lib/clients.js +99 -86
- package/lib/data-table-form.js +1 -1
- package/lib/data-table.js +16 -11
- package/lib/date-picker.js +1 -1
- package/lib/dialog.js +1 -1
- package/lib/eoss-ui.common.js +377 -246
- package/lib/flow-group.js +1 -1
- package/lib/flow-list.js +1 -1
- package/lib/flow.js +1 -1
- package/lib/form.js +109 -29
- package/lib/handle-user.js +1 -1
- package/lib/handler.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -1
- package/lib/input.js +1 -5
- package/lib/login.js +3 -5
- package/lib/main.js +61 -49
- package/lib/nav.js +1 -1
- package/lib/page.js +1 -1
- package/lib/player.js +1 -1
- package/lib/qr-code.js +1 -1
- package/lib/radio-group.js +1 -1
- package/lib/retrial-auth.js +1 -1
- package/lib/select-ganged.js +1 -1
- package/lib/select.js +1 -1
- package/lib/selector-panel.js +1 -1
- package/lib/selector.js +1 -1
- package/lib/sizer.js +1 -1
- package/lib/steps.js +1 -1
- package/lib/switch.js +1 -1
- package/lib/table-form.js +1 -1
- package/lib/tabs.js +1 -1
- package/lib/theme-chalk/clients.css +1 -1
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +1 -1
- package/lib/tree-group.js +1 -1
- package/lib/tree.js +1 -1
- package/lib/upload.js +68 -41
- package/lib/utils/util.js +1 -1
- package/lib/wujie.js +1 -1
- package/lib/wxlogin.js +1 -1
- package/package.json +2 -2
- package/packages/clients/src/main.vue +49 -44
- package/packages/data-table/src/main.vue +16 -5
- package/packages/form/src/main.vue +27 -13
- package/packages/input/src/main.vue +0 -4
- package/packages/login/src/main.vue +0 -1
- package/packages/main/src/main.vue +55 -51
- package/packages/theme-chalk/lib/clients.css +1 -1
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/clients.scss +1 -1
- package/packages/theme-chalk/src/data-table.scss +3 -0
- package/packages/theme-chalk/src/form.scss +2 -2
- package/packages/theme-chalk/src/login.scss +8 -5
- package/packages/upload/src/main.vue +126 -72
- package/src/index.js +1 -1
- package/src/utils/util.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -350,7 +350,7 @@ var ajax = function ajax(_ref) {
|
|
|
350
350
|
}, 1000);
|
|
351
351
|
}
|
|
352
352
|
// eslint-disable-next-line no-undef
|
|
353
|
-
return Promise.resolve(response.data);
|
|
353
|
+
return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
|
|
354
354
|
}
|
|
355
355
|
}, function (error) {
|
|
356
356
|
loading && loading.close();
|
|
@@ -6542,8 +6542,8 @@ checkbox_group_src_main.install = function (Vue) {
|
|
|
6542
6542
|
};
|
|
6543
6543
|
|
|
6544
6544
|
/* harmony default export */ var checkbox_group = (checkbox_group_src_main);
|
|
6545
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/clients/src/main.vue?vue&type=template&id=
|
|
6546
|
-
var
|
|
6545
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/clients/src/main.vue?vue&type=template&id=f0512042&
|
|
6546
|
+
var mainvue_type_template_id_f0512042_render = function () {
|
|
6547
6547
|
var _vm = this
|
|
6548
6548
|
var _h = _vm.$createElement
|
|
6549
6549
|
var _c = _vm._self._c || _h
|
|
@@ -6568,86 +6568,94 @@ var mainvue_type_template_id_5451de76_render = function () {
|
|
|
6568
6568
|
{ staticClass: "es-clients-list" },
|
|
6569
6569
|
[
|
|
6570
6570
|
_vm._l(_vm.downloads, function (item, key) {
|
|
6571
|
-
return
|
|
6572
|
-
"
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
{ staticClass: "es-clients-item-title" },
|
|
6582
|
-
[
|
|
6583
|
-
key == "ios"
|
|
6584
|
-
? [
|
|
6585
|
-
_c("i", { staticClass: "es-icon-ios" }),
|
|
6586
|
-
_vm._v("苹果系统\n "),
|
|
6587
|
-
]
|
|
6588
|
-
: _vm._e(),
|
|
6589
|
-
key == "android"
|
|
6590
|
-
? [
|
|
6591
|
-
_c("i", { staticClass: "es-icon-android" }),
|
|
6592
|
-
_vm._v("安卓系统\n "),
|
|
6593
|
-
]
|
|
6594
|
-
: _vm._e(),
|
|
6595
|
-
key == "pad"
|
|
6596
|
-
? [
|
|
6597
|
-
_c("i", { staticClass: "es-icon-pad" }),
|
|
6598
|
-
_vm._v("平板\n "),
|
|
6599
|
-
]
|
|
6600
|
-
: _vm._e(),
|
|
6601
|
-
key == "uos"
|
|
6602
|
-
? [
|
|
6603
|
-
_c("i", { staticClass: "es-icon-monitor" }),
|
|
6604
|
-
_vm._v("UOS统信系统\n "),
|
|
6605
|
-
]
|
|
6606
|
-
: _vm._e(),
|
|
6607
|
-
],
|
|
6608
|
-
2
|
|
6609
|
-
),
|
|
6610
|
-
key == "mac" || key == "win" || key == "linux" || key == "uos"
|
|
6611
|
-
? _c("div", { staticClass: "es-clients-pc-image" }, [
|
|
6612
|
-
_c("img", {
|
|
6613
|
-
attrs: { src: _vm.pcImage, width: "100%" },
|
|
6614
|
-
on: {
|
|
6615
|
-
click: function ($event) {
|
|
6616
|
-
$event.stopPropagation()
|
|
6617
|
-
_vm.handleDownload(item)
|
|
6618
|
-
},
|
|
6619
|
-
},
|
|
6620
|
-
}),
|
|
6571
|
+
return [
|
|
6572
|
+
key == "ios" || key == "android" || key == "pad" || key == "uos"
|
|
6573
|
+
? _c(
|
|
6574
|
+
"li",
|
|
6575
|
+
{
|
|
6576
|
+
key: key,
|
|
6577
|
+
staticClass: "es-clients-item",
|
|
6578
|
+
style: { width: 100 / _vm.num + "%" },
|
|
6579
|
+
},
|
|
6580
|
+
[
|
|
6621
6581
|
_c(
|
|
6622
6582
|
"div",
|
|
6623
|
-
{
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6583
|
+
{ staticClass: "es-clients-item-title" },
|
|
6584
|
+
[
|
|
6585
|
+
key == "ios"
|
|
6586
|
+
? [
|
|
6587
|
+
_c("i", { staticClass: "es-icon-ios" }),
|
|
6588
|
+
_vm._v("苹果系统\n "),
|
|
6589
|
+
]
|
|
6590
|
+
: _vm._e(),
|
|
6591
|
+
key == "android"
|
|
6592
|
+
? [
|
|
6593
|
+
_c("i", { staticClass: "es-icon-android" }),
|
|
6594
|
+
_vm._v("安卓系统\n "),
|
|
6595
|
+
]
|
|
6596
|
+
: _vm._e(),
|
|
6597
|
+
key == "pad"
|
|
6598
|
+
? [
|
|
6599
|
+
_c("i", { staticClass: "es-icon-pad" }),
|
|
6600
|
+
_vm._v("平板\n "),
|
|
6601
|
+
]
|
|
6602
|
+
: _vm._e(),
|
|
6603
|
+
key == "uos"
|
|
6604
|
+
? [
|
|
6605
|
+
_c("i", { staticClass: "es-icon-monitor" }),
|
|
6606
|
+
_vm._v("UOS统信系统\n "),
|
|
6607
|
+
]
|
|
6608
|
+
: _vm._e(),
|
|
6609
|
+
],
|
|
6610
|
+
2
|
|
6646
6611
|
),
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6612
|
+
key == "uos"
|
|
6613
|
+
? _c("div", { staticClass: "es-clients-pc-image" }, [
|
|
6614
|
+
_c("img", {
|
|
6615
|
+
attrs: { src: _vm.pcImage, width: "100%" },
|
|
6616
|
+
on: {
|
|
6617
|
+
click: function ($event) {
|
|
6618
|
+
$event.stopPropagation()
|
|
6619
|
+
_vm.handleDownload(item)
|
|
6620
|
+
},
|
|
6621
|
+
},
|
|
6622
|
+
}),
|
|
6623
|
+
_c(
|
|
6624
|
+
"div",
|
|
6625
|
+
{
|
|
6626
|
+
staticClass:
|
|
6627
|
+
"es-clients-item-title es-clients-pc-download",
|
|
6628
|
+
on: {
|
|
6629
|
+
click: function ($event) {
|
|
6630
|
+
$event.stopPropagation()
|
|
6631
|
+
_vm.handleDownload(item)
|
|
6632
|
+
},
|
|
6633
|
+
},
|
|
6634
|
+
},
|
|
6635
|
+
[_vm._v("\n 下载\n ")]
|
|
6636
|
+
),
|
|
6637
|
+
])
|
|
6638
|
+
: _c(
|
|
6639
|
+
"div",
|
|
6640
|
+
{ staticClass: "es-qr-code-box" },
|
|
6641
|
+
[
|
|
6642
|
+
_c("es-qr-code", {
|
|
6643
|
+
attrs: { content: item, auto: "" },
|
|
6644
|
+
}),
|
|
6645
|
+
],
|
|
6646
|
+
1
|
|
6647
|
+
),
|
|
6648
|
+
key == "ios"
|
|
6649
|
+
? _c("div", { staticClass: "es-clients-remark" }, [
|
|
6650
|
+
_vm._v(
|
|
6651
|
+
"\n 备注: 苹果手机安装后请在设置- -通用- -设备管理中进行激活操作\n "
|
|
6652
|
+
),
|
|
6653
|
+
])
|
|
6654
|
+
: _vm._e(),
|
|
6655
|
+
]
|
|
6656
|
+
)
|
|
6657
|
+
: _vm._e(),
|
|
6658
|
+
]
|
|
6651
6659
|
}),
|
|
6652
6660
|
_vm.downloads.mac || _vm.downloads.win || _vm.downloads.linux
|
|
6653
6661
|
? _c(
|
|
@@ -6691,7 +6699,7 @@ var mainvue_type_template_id_5451de76_render = function () {
|
|
|
6691
6699
|
),
|
|
6692
6700
|
])
|
|
6693
6701
|
}
|
|
6694
|
-
var
|
|
6702
|
+
var mainvue_type_template_id_f0512042_staticRenderFns = [
|
|
6695
6703
|
function () {
|
|
6696
6704
|
var _vm = this
|
|
6697
6705
|
var _h = _vm.$createElement
|
|
@@ -6702,10 +6710,10 @@ var mainvue_type_template_id_5451de76_staticRenderFns = [
|
|
|
6702
6710
|
])
|
|
6703
6711
|
},
|
|
6704
6712
|
]
|
|
6705
|
-
|
|
6713
|
+
mainvue_type_template_id_f0512042_render._withStripped = true
|
|
6706
6714
|
|
|
6707
6715
|
|
|
6708
|
-
// CONCATENATED MODULE: ./packages/clients/src/main.vue?vue&type=template&id=
|
|
6716
|
+
// CONCATENATED MODULE: ./packages/clients/src/main.vue?vue&type=template&id=f0512042&
|
|
6709
6717
|
|
|
6710
6718
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/clients/src/main.vue?vue&type=script&lang=js&
|
|
6711
6719
|
//
|
|
@@ -6779,6 +6787,11 @@ mainvue_type_template_id_5451de76_render._withStripped = true
|
|
|
6779
6787
|
//
|
|
6780
6788
|
//
|
|
6781
6789
|
//
|
|
6790
|
+
//
|
|
6791
|
+
//
|
|
6792
|
+
//
|
|
6793
|
+
//
|
|
6794
|
+
//
|
|
6782
6795
|
|
|
6783
6796
|
//import util from 'eoss-ui/src/utils/util';
|
|
6784
6797
|
/* harmony default export */ var clients_src_mainvue_type_script_lang_js_ = ({
|
|
@@ -6806,7 +6819,7 @@ mainvue_type_template_id_5451de76_render._withStripped = true
|
|
|
6806
6819
|
|
|
6807
6820
|
methods: {
|
|
6808
6821
|
handleDownload: function handleDownload(url) {
|
|
6809
|
-
if (url) {
|
|
6822
|
+
if (url && typeof url == 'string') {
|
|
6810
6823
|
window.open(url);
|
|
6811
6824
|
return;
|
|
6812
6825
|
}
|
|
@@ -6814,24 +6827,24 @@ mainvue_type_template_id_5451de76_render._withStripped = true
|
|
|
6814
6827
|
var isMac = navigator.platform == 'Mac68K' || navigator.platform == 'MacPPC' || navigator.platform == 'Macintosh' || navigator.platform == 'MacIntel';
|
|
6815
6828
|
var isLinux = navigator.platform == 'X11' || navigator.platform.indexOf('Linux') > -1;
|
|
6816
6829
|
if (isWin) {
|
|
6817
|
-
if (this.win) {
|
|
6818
|
-
window.open(this.win);
|
|
6830
|
+
if (this.downloads.win) {
|
|
6831
|
+
window.open(this.downloads.win);
|
|
6819
6832
|
} else {
|
|
6820
6833
|
this.$message.error('下载地址不存在!');
|
|
6821
6834
|
return;
|
|
6822
6835
|
}
|
|
6823
6836
|
}
|
|
6824
6837
|
if (isMac) {
|
|
6825
|
-
if (this.mac) {
|
|
6826
|
-
window.open(this.mac);
|
|
6838
|
+
if (this.downloads.mac) {
|
|
6839
|
+
window.open(this.downloads.mac);
|
|
6827
6840
|
} else {
|
|
6828
6841
|
this.$message.error('下载地址不存在!');
|
|
6829
6842
|
return;
|
|
6830
6843
|
}
|
|
6831
6844
|
}
|
|
6832
6845
|
if (isLinux) {
|
|
6833
|
-
if (this.linux) {
|
|
6834
|
-
window.open(this.linux);
|
|
6846
|
+
if (this.downloads.linux) {
|
|
6847
|
+
window.open(this.downloads.linux);
|
|
6835
6848
|
} else {
|
|
6836
6849
|
this.$message.error('下载地址不存在!');
|
|
6837
6850
|
return;
|
|
@@ -6852,8 +6865,8 @@ mainvue_type_template_id_5451de76_render._withStripped = true
|
|
|
6852
6865
|
|
|
6853
6866
|
var clients_src_main_component = normalizeComponent(
|
|
6854
6867
|
packages_clients_src_mainvue_type_script_lang_js_,
|
|
6855
|
-
|
|
6856
|
-
|
|
6868
|
+
mainvue_type_template_id_f0512042_render,
|
|
6869
|
+
mainvue_type_template_id_f0512042_staticRenderFns,
|
|
6857
6870
|
false,
|
|
6858
6871
|
null,
|
|
6859
6872
|
null,
|
|
@@ -6870,8 +6883,8 @@ clients_src_main.install = function (Vue) {
|
|
|
6870
6883
|
};
|
|
6871
6884
|
|
|
6872
6885
|
/* harmony default export */ var clients = (clients_src_main);
|
|
6873
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
6874
|
-
var
|
|
6886
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=1f63e6c2&
|
|
6887
|
+
var mainvue_type_template_id_1f63e6c2_render = function () {
|
|
6875
6888
|
var _vm = this
|
|
6876
6889
|
var _h = _vm.$createElement
|
|
6877
6890
|
var _c = _vm._self._c || _h
|
|
@@ -7181,11 +7194,11 @@ var mainvue_type_template_id_58029cb3_render = function () {
|
|
|
7181
7194
|
1
|
|
7182
7195
|
)
|
|
7183
7196
|
}
|
|
7184
|
-
var
|
|
7185
|
-
|
|
7197
|
+
var mainvue_type_template_id_1f63e6c2_staticRenderFns = []
|
|
7198
|
+
mainvue_type_template_id_1f63e6c2_render._withStripped = true
|
|
7186
7199
|
|
|
7187
7200
|
|
|
7188
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
7201
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=1f63e6c2&
|
|
7189
7202
|
|
|
7190
7203
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
|
|
7191
7204
|
var childrenvue_type_template_id_44b7ff61_render = function () {
|
|
@@ -9695,7 +9708,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9695
9708
|
if (this.list && this.list.length) {
|
|
9696
9709
|
return this.list;
|
|
9697
9710
|
}
|
|
9698
|
-
if (this.
|
|
9711
|
+
if (this.page && (mainvue_type_script_lang_js_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
|
|
9699
9712
|
this.config.totalCount = this.data.length - this.lose;
|
|
9700
9713
|
}
|
|
9701
9714
|
if (this.page && this.data.length > this.config.pageSize) {
|
|
@@ -9765,10 +9778,15 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9765
9778
|
},
|
|
9766
9779
|
|
|
9767
9780
|
// data: {
|
|
9768
|
-
// immediate: true,
|
|
9769
9781
|
// deep: true,
|
|
9770
9782
|
// handler(val) {
|
|
9771
|
-
//
|
|
9783
|
+
// if (
|
|
9784
|
+
// this.page &&
|
|
9785
|
+
// typeof this.page === 'object' &&
|
|
9786
|
+
// !Object.prototype.hasOwnProperty.call(this.page, 'totalCount')
|
|
9787
|
+
// ) {
|
|
9788
|
+
// this.config.totalCount = val.length - this.lose;
|
|
9789
|
+
// }
|
|
9772
9790
|
// }
|
|
9773
9791
|
// },
|
|
9774
9792
|
page: function page() {
|
|
@@ -10109,7 +10127,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10109
10127
|
if (where) {
|
|
10110
10128
|
reqData = utils_util["a" /* default */].extend({}, reqData, where);
|
|
10111
10129
|
}
|
|
10112
|
-
if (this.retainSearh) {
|
|
10130
|
+
if (this.retainSearh || first === false) {
|
|
10113
10131
|
reqData = utils_util["a" /* default */].extend({}, reqData, this.wheres);
|
|
10114
10132
|
}
|
|
10115
10133
|
if (this.isJoin) {
|
|
@@ -10333,7 +10351,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10333
10351
|
}
|
|
10334
10352
|
var thead = this.theads;
|
|
10335
10353
|
if (this.$refs.oaTable) {
|
|
10336
|
-
thead = this.$refs.oaTable.getThead();
|
|
10354
|
+
thead = this.$refs.oaTable.getThead().thead;
|
|
10337
10355
|
}
|
|
10338
10356
|
if (handle.action) {
|
|
10339
10357
|
var isConfirm = handle.confirm || true;
|
|
@@ -10642,8 +10660,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10642
10660
|
|
|
10643
10661
|
var data_table_src_main_component = normalizeComponent(
|
|
10644
10662
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
10645
|
-
|
|
10646
|
-
|
|
10663
|
+
mainvue_type_template_id_1f63e6c2_render,
|
|
10664
|
+
mainvue_type_template_id_1f63e6c2_staticRenderFns,
|
|
10647
10665
|
false,
|
|
10648
10666
|
null,
|
|
10649
10667
|
null,
|
|
@@ -14117,8 +14135,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
14117
14135
|
};
|
|
14118
14136
|
|
|
14119
14137
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
14120
|
-
// 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=
|
|
14121
|
-
var
|
|
14138
|
+
// 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=3b85e994&
|
|
14139
|
+
var mainvue_type_template_id_3b85e994_render = function () {
|
|
14122
14140
|
var _vm = this
|
|
14123
14141
|
var _h = _vm.$createElement
|
|
14124
14142
|
var _c = _vm._self._c || _h
|
|
@@ -14231,33 +14249,40 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
14231
14249
|
!items.hide
|
|
14232
14250
|
? _c(
|
|
14233
14251
|
"el-collapse-item",
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14252
|
+
_vm._b(
|
|
14253
|
+
{
|
|
14254
|
+
directives: [
|
|
14255
|
+
{
|
|
14256
|
+
name: "show",
|
|
14257
|
+
rawName: "v-show",
|
|
14258
|
+
value: items.show !== false,
|
|
14259
|
+
expression:
|
|
14260
|
+
"items.show !== false",
|
|
14261
|
+
},
|
|
14262
|
+
],
|
|
14263
|
+
key: indexs,
|
|
14264
|
+
staticClass: "es-collapse-item",
|
|
14265
|
+
class: {
|
|
14266
|
+
"es-collapse-readonly":
|
|
14267
|
+
_vm.accordion
|
|
14268
|
+
? false
|
|
14269
|
+
: !_vm.collapse,
|
|
14270
|
+
"es-collapse-caption":
|
|
14271
|
+
items.caption,
|
|
14242
14272
|
},
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
_vm.accordion
|
|
14273
|
+
attrs: {
|
|
14274
|
+
"show-title": items.showTitle,
|
|
14275
|
+
name:
|
|
14276
|
+
items.name || String(indexs),
|
|
14277
|
+
readonly: _vm.accordion
|
|
14249
14278
|
? false
|
|
14250
14279
|
: !_vm.collapse,
|
|
14251
|
-
|
|
14252
|
-
items.caption,
|
|
14253
|
-
},
|
|
14254
|
-
attrs: {
|
|
14255
|
-
name: items.name || String(indexs),
|
|
14256
|
-
readonly: _vm.accordion
|
|
14257
|
-
? false
|
|
14258
|
-
: !_vm.collapse,
|
|
14280
|
+
},
|
|
14259
14281
|
},
|
|
14260
|
-
|
|
14282
|
+
"el-collapse-item",
|
|
14283
|
+
items.config,
|
|
14284
|
+
false
|
|
14285
|
+
),
|
|
14261
14286
|
[
|
|
14262
14287
|
_c(
|
|
14263
14288
|
"div",
|
|
@@ -15910,6 +15935,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
15910
15935
|
attrs:
|
|
15911
15936
|
[
|
|
15912
15937
|
"value",
|
|
15938
|
+
"type",
|
|
15913
15939
|
],
|
|
15914
15940
|
}
|
|
15915
15941
|
),
|
|
@@ -16089,6 +16115,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16089
16115
|
_c(
|
|
16090
16116
|
"el-form-item",
|
|
16091
16117
|
{
|
|
16118
|
+
class:
|
|
16119
|
+
{
|
|
16120
|
+
"fixed-width":
|
|
16121
|
+
inline.width,
|
|
16122
|
+
},
|
|
16092
16123
|
attrs:
|
|
16093
16124
|
{
|
|
16094
16125
|
"label-width":
|
|
@@ -16582,6 +16613,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16582
16613
|
attrs:
|
|
16583
16614
|
[
|
|
16584
16615
|
"value",
|
|
16616
|
+
"type",
|
|
16585
16617
|
],
|
|
16586
16618
|
}
|
|
16587
16619
|
),
|
|
@@ -16720,6 +16752,13 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16720
16752
|
_c(
|
|
16721
16753
|
"el-form-item",
|
|
16722
16754
|
{
|
|
16755
|
+
class:
|
|
16756
|
+
{
|
|
16757
|
+
"fixed-width":
|
|
16758
|
+
item
|
|
16759
|
+
.inline
|
|
16760
|
+
.width,
|
|
16761
|
+
},
|
|
16723
16762
|
attrs:
|
|
16724
16763
|
{
|
|
16725
16764
|
"label-width":
|
|
@@ -17313,6 +17352,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
17313
17352
|
attrs:
|
|
17314
17353
|
[
|
|
17315
17354
|
"value",
|
|
17355
|
+
"type",
|
|
17316
17356
|
],
|
|
17317
17357
|
}
|
|
17318
17358
|
),
|
|
@@ -18508,7 +18548,10 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
18508
18548
|
_vm.handleExclAttribute(
|
|
18509
18549
|
{
|
|
18510
18550
|
data: item,
|
|
18511
|
-
attrs: [
|
|
18551
|
+
attrs: [
|
|
18552
|
+
"value",
|
|
18553
|
+
"type",
|
|
18554
|
+
],
|
|
18512
18555
|
}
|
|
18513
18556
|
),
|
|
18514
18557
|
false
|
|
@@ -18677,6 +18720,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
18677
18720
|
_c(
|
|
18678
18721
|
"el-form-item",
|
|
18679
18722
|
{
|
|
18723
|
+
class:
|
|
18724
|
+
{
|
|
18725
|
+
"fixed-width":
|
|
18726
|
+
inline.width,
|
|
18727
|
+
},
|
|
18680
18728
|
attrs:
|
|
18681
18729
|
{
|
|
18682
18730
|
"label-width":
|
|
@@ -19170,6 +19218,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19170
19218
|
attrs:
|
|
19171
19219
|
[
|
|
19172
19220
|
"value",
|
|
19221
|
+
"type",
|
|
19173
19222
|
],
|
|
19174
19223
|
}
|
|
19175
19224
|
),
|
|
@@ -19304,6 +19353,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19304
19353
|
_c(
|
|
19305
19354
|
"el-form-item",
|
|
19306
19355
|
{
|
|
19356
|
+
class: {
|
|
19357
|
+
"fixed-width":
|
|
19358
|
+
item.inline
|
|
19359
|
+
.width,
|
|
19360
|
+
},
|
|
19307
19361
|
attrs: {
|
|
19308
19362
|
"label-width":
|
|
19309
19363
|
"0",
|
|
@@ -19825,6 +19879,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19825
19879
|
attrs:
|
|
19826
19880
|
[
|
|
19827
19881
|
"value",
|
|
19882
|
+
"type",
|
|
19828
19883
|
],
|
|
19829
19884
|
}
|
|
19830
19885
|
),
|
|
@@ -21601,6 +21656,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
21601
21656
|
data: item,
|
|
21602
21657
|
attrs: [
|
|
21603
21658
|
"value",
|
|
21659
|
+
"type",
|
|
21604
21660
|
],
|
|
21605
21661
|
}
|
|
21606
21662
|
),
|
|
@@ -21779,6 +21835,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
21779
21835
|
_c(
|
|
21780
21836
|
"el-form-item",
|
|
21781
21837
|
{
|
|
21838
|
+
class:
|
|
21839
|
+
{
|
|
21840
|
+
"fixed-width":
|
|
21841
|
+
inline.width,
|
|
21842
|
+
},
|
|
21782
21843
|
attrs:
|
|
21783
21844
|
{
|
|
21784
21845
|
"label-width":
|
|
@@ -22272,6 +22333,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22272
22333
|
attrs:
|
|
22273
22334
|
[
|
|
22274
22335
|
"value",
|
|
22336
|
+
"type",
|
|
22275
22337
|
],
|
|
22276
22338
|
}
|
|
22277
22339
|
),
|
|
@@ -22409,6 +22471,13 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22409
22471
|
_c(
|
|
22410
22472
|
"el-form-item",
|
|
22411
22473
|
{
|
|
22474
|
+
class:
|
|
22475
|
+
{
|
|
22476
|
+
"fixed-width":
|
|
22477
|
+
item
|
|
22478
|
+
.inline
|
|
22479
|
+
.width,
|
|
22480
|
+
},
|
|
22412
22481
|
attrs:
|
|
22413
22482
|
{
|
|
22414
22483
|
"label-width":
|
|
@@ -22949,6 +23018,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22949
23018
|
attrs:
|
|
22950
23019
|
[
|
|
22951
23020
|
"value",
|
|
23021
|
+
"type",
|
|
22952
23022
|
],
|
|
22953
23023
|
}
|
|
22954
23024
|
),
|
|
@@ -24029,7 +24099,10 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24029
24099
|
"component",
|
|
24030
24100
|
_vm.handleExclAttribute({
|
|
24031
24101
|
data: item,
|
|
24032
|
-
attrs: [
|
|
24102
|
+
attrs: [
|
|
24103
|
+
"value",
|
|
24104
|
+
"type",
|
|
24105
|
+
],
|
|
24033
24106
|
}),
|
|
24034
24107
|
false
|
|
24035
24108
|
),
|
|
@@ -24206,6 +24279,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24206
24279
|
_c(
|
|
24207
24280
|
"el-form-item",
|
|
24208
24281
|
{
|
|
24282
|
+
class:
|
|
24283
|
+
{
|
|
24284
|
+
"fixed-width":
|
|
24285
|
+
inline.width,
|
|
24286
|
+
},
|
|
24209
24287
|
attrs:
|
|
24210
24288
|
{
|
|
24211
24289
|
"label-width":
|
|
@@ -24699,6 +24777,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24699
24777
|
attrs:
|
|
24700
24778
|
[
|
|
24701
24779
|
"value",
|
|
24780
|
+
"type",
|
|
24702
24781
|
],
|
|
24703
24782
|
}
|
|
24704
24783
|
),
|
|
@@ -24833,6 +24912,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24833
24912
|
_c(
|
|
24834
24913
|
"el-form-item",
|
|
24835
24914
|
{
|
|
24915
|
+
class: {
|
|
24916
|
+
"fixed-width":
|
|
24917
|
+
item.inline
|
|
24918
|
+
.width,
|
|
24919
|
+
},
|
|
24836
24920
|
attrs: {
|
|
24837
24921
|
"label-width":
|
|
24838
24922
|
"0",
|
|
@@ -25336,6 +25420,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
25336
25420
|
attrs:
|
|
25337
25421
|
[
|
|
25338
25422
|
"value",
|
|
25423
|
+
"type",
|
|
25339
25424
|
],
|
|
25340
25425
|
}
|
|
25341
25426
|
),
|
|
@@ -25574,11 +25659,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
25574
25659
|
)
|
|
25575
25660
|
: _vm._e()
|
|
25576
25661
|
}
|
|
25577
|
-
var
|
|
25578
|
-
|
|
25662
|
+
var mainvue_type_template_id_3b85e994_staticRenderFns = []
|
|
25663
|
+
mainvue_type_template_id_3b85e994_render._withStripped = true
|
|
25579
25664
|
|
|
25580
25665
|
|
|
25581
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
25666
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=3b85e994&
|
|
25582
25667
|
|
|
25583
25668
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
25584
25669
|
// 手机号
|
|
@@ -29610,6 +29695,19 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29610
29695
|
//
|
|
29611
29696
|
//
|
|
29612
29697
|
//
|
|
29698
|
+
//
|
|
29699
|
+
//
|
|
29700
|
+
//
|
|
29701
|
+
//
|
|
29702
|
+
//
|
|
29703
|
+
//
|
|
29704
|
+
//
|
|
29705
|
+
//
|
|
29706
|
+
//
|
|
29707
|
+
//
|
|
29708
|
+
//
|
|
29709
|
+
//
|
|
29710
|
+
//
|
|
29613
29711
|
|
|
29614
29712
|
|
|
29615
29713
|
|
|
@@ -30103,7 +30201,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30103
30201
|
|
|
30104
30202
|
this.$nextTick(function () {
|
|
30105
30203
|
!_this4.height && _this4.getHeight();
|
|
30106
|
-
_this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
|
|
30204
|
+
_this4.$refs.esForm && _this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
|
|
30107
30205
|
});
|
|
30108
30206
|
},
|
|
30109
30207
|
|
|
@@ -30905,8 +31003,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30905
31003
|
|
|
30906
31004
|
var form_src_main_component = normalizeComponent(
|
|
30907
31005
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
30908
|
-
|
|
30909
|
-
|
|
31006
|
+
mainvue_type_template_id_3b85e994_render,
|
|
31007
|
+
mainvue_type_template_id_3b85e994_staticRenderFns,
|
|
30910
31008
|
false,
|
|
30911
31009
|
null,
|
|
30912
31010
|
null,
|
|
@@ -46574,10 +46672,6 @@ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var ta
|
|
|
46574
46672
|
return {};
|
|
46575
46673
|
}
|
|
46576
46674
|
},
|
|
46577
|
-
autocomplete: {
|
|
46578
|
-
type: [String, Boolean],
|
|
46579
|
-
default: ''
|
|
46580
|
-
},
|
|
46581
46675
|
fetchSuggestions: Function,
|
|
46582
46676
|
focusShow: {
|
|
46583
46677
|
type: Boolean,
|
|
@@ -47696,8 +47790,8 @@ layout_src_main.install = function (Vue) {
|
|
|
47696
47790
|
};
|
|
47697
47791
|
|
|
47698
47792
|
/* harmony default export */ var layout = (layout_src_main);
|
|
47699
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
47700
|
-
var
|
|
47793
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=7b7f902c&
|
|
47794
|
+
var mainvue_type_template_id_7b7f902c_render = function () {
|
|
47701
47795
|
var _vm = this
|
|
47702
47796
|
var _h = _vm.$createElement
|
|
47703
47797
|
var _c = _vm._self._c || _h
|
|
@@ -47866,7 +47960,6 @@ var mainvue_type_template_id_42e58f21_render = function () {
|
|
|
47866
47960
|
placeholder: _vm.username.placeholder,
|
|
47867
47961
|
focusShow: _vm.focusShow,
|
|
47868
47962
|
data: _vm.users,
|
|
47869
|
-
autocomplete: true,
|
|
47870
47963
|
},
|
|
47871
47964
|
on: { select: _vm.handleBlur },
|
|
47872
47965
|
model: {
|
|
@@ -48637,11 +48730,11 @@ var mainvue_type_template_id_42e58f21_render = function () {
|
|
|
48637
48730
|
)
|
|
48638
48731
|
: _vm._e()
|
|
48639
48732
|
}
|
|
48640
|
-
var
|
|
48641
|
-
|
|
48733
|
+
var mainvue_type_template_id_7b7f902c_staticRenderFns = []
|
|
48734
|
+
mainvue_type_template_id_7b7f902c_render._withStripped = true
|
|
48642
48735
|
|
|
48643
48736
|
|
|
48644
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
48737
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=7b7f902c&
|
|
48645
48738
|
|
|
48646
48739
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=579bc87d&
|
|
48647
48740
|
var resetPasswordvue_type_template_id_579bc87d_render = function () {
|
|
@@ -49567,7 +49660,6 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49567
49660
|
//
|
|
49568
49661
|
//
|
|
49569
49662
|
//
|
|
49570
|
-
//
|
|
49571
49663
|
|
|
49572
49664
|
|
|
49573
49665
|
|
|
@@ -50712,8 +50804,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
50712
50804
|
|
|
50713
50805
|
var login_src_main_component = normalizeComponent(
|
|
50714
50806
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
50715
|
-
|
|
50716
|
-
|
|
50807
|
+
mainvue_type_template_id_7b7f902c_render,
|
|
50808
|
+
mainvue_type_template_id_7b7f902c_staticRenderFns,
|
|
50717
50809
|
false,
|
|
50718
50810
|
null,
|
|
50719
50811
|
null,
|
|
@@ -50730,8 +50822,8 @@ login_src_main.install = function (Vue) {
|
|
|
50730
50822
|
};
|
|
50731
50823
|
|
|
50732
50824
|
/* harmony default export */ var login = (login_src_main);
|
|
50733
|
-
// 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=
|
|
50734
|
-
var
|
|
50825
|
+
// 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=68d3ef61&
|
|
50826
|
+
var mainvue_type_template_id_68d3ef61_render = function () {
|
|
50735
50827
|
var _vm = this
|
|
50736
50828
|
var _h = _vm.$createElement
|
|
50737
50829
|
var _c = _vm._self._c || _h
|
|
@@ -50949,7 +51041,9 @@ var mainvue_type_template_id_1008f824_render = function () {
|
|
|
50949
51041
|
biserial: _vm.biserial,
|
|
50950
51042
|
title: _vm.showNavTitle ? _vm.title : false,
|
|
50951
51043
|
showCollapse: _vm.showNavTitle
|
|
50952
|
-
? _vm.
|
|
51044
|
+
? _vm.layout == "side"
|
|
51045
|
+
? false
|
|
51046
|
+
: _vm.showCollapse
|
|
50953
51047
|
: false,
|
|
50954
51048
|
"menu-tips": _vm.menuTips,
|
|
50955
51049
|
"is-default": _vm.isDefault,
|
|
@@ -51210,11 +51304,11 @@ var mainvue_type_template_id_1008f824_render = function () {
|
|
|
51210
51304
|
1
|
|
51211
51305
|
)
|
|
51212
51306
|
}
|
|
51213
|
-
var
|
|
51214
|
-
|
|
51307
|
+
var mainvue_type_template_id_68d3ef61_staticRenderFns = []
|
|
51308
|
+
mainvue_type_template_id_68d3ef61_render._withStripped = true
|
|
51215
51309
|
|
|
51216
51310
|
|
|
51217
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
51311
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=68d3ef61&
|
|
51218
51312
|
|
|
51219
51313
|
// 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=75d533de&
|
|
51220
51314
|
var userinfovue_type_template_id_75d533de_render = function () {
|
|
@@ -53354,6 +53448,8 @@ var main_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
|
|
|
53354
53448
|
//
|
|
53355
53449
|
//
|
|
53356
53450
|
//
|
|
53451
|
+
//
|
|
53452
|
+
//
|
|
53357
53453
|
|
|
53358
53454
|
|
|
53359
53455
|
|
|
@@ -53564,7 +53660,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
53564
53660
|
return this.layout === 'topside' ? this.navBoxWidth : undefined;
|
|
53565
53661
|
},
|
|
53566
53662
|
_navWidth: function _navWidth() {
|
|
53567
|
-
return this.layout === 'side' ? this.navBoxWidth : this.layout === '
|
|
53663
|
+
return this.layout === 'side' ? this.navBoxWidth : this.layout === 'topside' ? '0' : this.navWidth;
|
|
53568
53664
|
},
|
|
53569
53665
|
showNavTitle: function showNavTitle() {
|
|
53570
53666
|
return this.layout !== 'topside';
|
|
@@ -53903,14 +53999,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
53903
53999
|
var ids = this.getId(this.menus, applicationid);
|
|
53904
54000
|
if (ids) {
|
|
53905
54001
|
this.defaultActive = ids;
|
|
53906
|
-
this.navIds = ids;
|
|
54002
|
+
//this.navIds = ids;
|
|
53907
54003
|
this.setTitle(ids[0]);
|
|
53908
54004
|
}
|
|
53909
54005
|
} else if (sessionStorage.getItem('jump') && this.isHistory) {
|
|
53910
54006
|
var _ids = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
53911
54007
|
if (_ids) {
|
|
53912
54008
|
this.defaultActive = _ids;
|
|
53913
|
-
this.navIds =
|
|
54009
|
+
//this.navIds = ids;
|
|
53914
54010
|
this.setTitle(_ids[0]);
|
|
53915
54011
|
}
|
|
53916
54012
|
} else if (utils_util["a" /* default */].win.location.hash) {
|
|
@@ -53922,14 +54018,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
53922
54018
|
var _ids2 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
|
|
53923
54019
|
if (_ids2) {
|
|
53924
54020
|
this.defaultActive = _ids2;
|
|
53925
|
-
this.navIds =
|
|
54021
|
+
//this.navIds = ids;
|
|
53926
54022
|
this.setTitle(_ids2[0]);
|
|
53927
54023
|
}
|
|
53928
54024
|
} else if (sessionStorage.getItem('jump') && this.isHistory) {
|
|
53929
54025
|
var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
53930
54026
|
if (_ids3) {
|
|
53931
54027
|
this.defaultActive = _ids3;
|
|
53932
|
-
this.navIds =
|
|
54028
|
+
//this.navIds = ids;
|
|
53933
54029
|
this.setTitle(_ids3[0]);
|
|
53934
54030
|
}
|
|
53935
54031
|
}
|
|
@@ -54002,7 +54098,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54002
54098
|
if (i === 'initApplication' && results[i]) {
|
|
54003
54099
|
this.results[i] = results[i].split(',');
|
|
54004
54100
|
}
|
|
54005
|
-
if (i === 'indexUrl' && this.loadHomePage) {
|
|
54101
|
+
if (i === 'indexUrl' && results[i] && this.loadHomePage) {
|
|
54006
54102
|
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
54007
54103
|
var hash = utils_util["a" /* default */].win.location.hash;
|
|
54008
54104
|
if (hash) {
|
|
@@ -54030,7 +54126,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54030
54126
|
if (i === 'doorIndex' && results[i]) {
|
|
54031
54127
|
window.open(results[i]);
|
|
54032
54128
|
}
|
|
54033
|
-
if (i === 'subsystemName') {
|
|
54129
|
+
if (i === 'subsystemName' && results[i]) {
|
|
54034
54130
|
document.title = results[i];
|
|
54035
54131
|
}
|
|
54036
54132
|
if (i === 'loginPage' && results[i]) {
|
|
@@ -54040,29 +54136,30 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54040
54136
|
sessionStorage.setItem('sysLogoIco', results[i]);
|
|
54041
54137
|
utils_util["a" /* default */].setFavicon(results[i]);
|
|
54042
54138
|
}
|
|
54043
|
-
if (i === '
|
|
54044
|
-
this.color = unescape(results[i].themeColor).toLowerCase();
|
|
54045
|
-
}
|
|
54046
|
-
if (i === 'userStyle' && results[i].color) {
|
|
54139
|
+
if (i === 'userStyle' && results[i] && results[i].color) {
|
|
54047
54140
|
var color = unescape(results[i].color).toLowerCase();
|
|
54048
54141
|
if (utils_util["a" /* default */].startWith(color, '#')) {
|
|
54049
54142
|
this.color = color;
|
|
54050
54143
|
}
|
|
54051
54144
|
}
|
|
54052
|
-
if (i === 'subsystemExtend' && results[i]
|
|
54053
|
-
|
|
54054
|
-
|
|
54055
|
-
|
|
54056
|
-
|
|
54057
|
-
|
|
54058
|
-
|
|
54059
|
-
|
|
54060
|
-
|
|
54145
|
+
if (i === 'subsystemExtend' && results[i]) {
|
|
54146
|
+
if (results[i].themeColor) {
|
|
54147
|
+
this.color = unescape(results[i].themeColor).toLowerCase();
|
|
54148
|
+
}
|
|
54149
|
+
if (results[i].userInfoContents) {
|
|
54150
|
+
this.userInfoContents = results[i].userInfoContents;
|
|
54151
|
+
}
|
|
54152
|
+
if (results[i].webPageWatermark) {
|
|
54153
|
+
try {
|
|
54154
|
+
utils_util["a" /* default */].win.top.webPageWatermark = results[i].webPageWatermark;
|
|
54155
|
+
utils_util["a" /* default */].watermark(results[i].webPageWatermark);
|
|
54156
|
+
} catch (error) {
|
|
54157
|
+
utils_util["a" /* default */].win.postMessage({ type: 2, content: results[i].webPageWatermark }, '*');
|
|
54158
|
+
}
|
|
54159
|
+
}
|
|
54160
|
+
if (results[i].loginPage) {
|
|
54161
|
+
utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
|
|
54061
54162
|
}
|
|
54062
|
-
}
|
|
54063
|
-
|
|
54064
|
-
if (i === 'subsystemExtend' && results[i].loginPage) {
|
|
54065
|
-
utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
|
|
54066
54163
|
}
|
|
54067
54164
|
utils_store.set(i, results[i]);
|
|
54068
54165
|
}
|
|
@@ -54238,8 +54335,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54238
54335
|
return item.id;
|
|
54239
54336
|
} else {
|
|
54240
54337
|
if (item.url) {
|
|
54241
|
-
var
|
|
54242
|
-
if (
|
|
54338
|
+
var _url = new URL(item.url, window.location.origin);
|
|
54339
|
+
if (_url.hash == url) {
|
|
54243
54340
|
return item.id;
|
|
54244
54341
|
}
|
|
54245
54342
|
}
|
|
@@ -54292,7 +54389,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54292
54389
|
var _ids4 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash);
|
|
54293
54390
|
if (_ids4) {
|
|
54294
54391
|
this.defaultActive = _ids4;
|
|
54295
|
-
this.navIds =
|
|
54392
|
+
//this.navIds = ids;
|
|
54296
54393
|
this.setTitle(_ids4[0]);
|
|
54297
54394
|
}
|
|
54298
54395
|
}
|
|
@@ -54300,7 +54397,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54300
54397
|
var _ids5 = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
54301
54398
|
if (_ids5) {
|
|
54302
54399
|
this.defaultActive = _ids5;
|
|
54303
|
-
this.navIds =
|
|
54400
|
+
//this.navIds = ids;
|
|
54304
54401
|
this.setTitle(_ids5[0]);
|
|
54305
54402
|
}
|
|
54306
54403
|
}
|
|
@@ -54549,11 +54646,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54549
54646
|
}
|
|
54550
54647
|
if (item.fourthTabs && item.fourthTabs.length) {
|
|
54551
54648
|
index++;
|
|
54552
|
-
var
|
|
54553
|
-
if (
|
|
54649
|
+
var _url2 = this.getUrl(item.fourthTabs, active, index, param);
|
|
54650
|
+
if (_url2) {
|
|
54554
54651
|
this.$set(this, 'tabs', item.fourthTabs);
|
|
54555
54652
|
}
|
|
54556
|
-
return
|
|
54653
|
+
return _url2;
|
|
54557
54654
|
}
|
|
54558
54655
|
}
|
|
54559
54656
|
} else if (item.children && item.children.length) {
|
|
@@ -54595,7 +54692,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54595
54692
|
//this.active = '';
|
|
54596
54693
|
if (this.layout === 'topside') {
|
|
54597
54694
|
if (this.title !== node.text) {
|
|
54598
|
-
this.navIds = [node.id];
|
|
54695
|
+
//this.navIds = [node.id];
|
|
54599
54696
|
this.menu = node.children;
|
|
54600
54697
|
this.active = node.id;
|
|
54601
54698
|
this.title = node.text;
|
|
@@ -54604,18 +54701,21 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54604
54701
|
var subNode = this.getFirst(node);
|
|
54605
54702
|
if (subNode) {
|
|
54606
54703
|
this.active = subNode.id;
|
|
54607
|
-
this.navIds = [
|
|
54704
|
+
// this.navIds = [
|
|
54705
|
+
// node.id,
|
|
54706
|
+
// ...this.getId(node.children, subNode.url)
|
|
54707
|
+
// ];
|
|
54608
54708
|
}
|
|
54609
54709
|
}
|
|
54610
54710
|
} else {
|
|
54611
|
-
this.navIds = this.getId(this.menus, node.url);
|
|
54711
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
54612
54712
|
this.setTitle(this.navIds[0]);
|
|
54613
54713
|
this.tabsId = fourthTabs ? node.id : '';
|
|
54614
54714
|
}
|
|
54615
54715
|
break;
|
|
54616
54716
|
case 'sys':
|
|
54617
54717
|
if (Number(node.urlopenmode) !== 1) {
|
|
54618
|
-
this.navIds = [node.id];
|
|
54718
|
+
//this.navIds = [node.id];
|
|
54619
54719
|
this.tabs = [];
|
|
54620
54720
|
this.menu = node.children;
|
|
54621
54721
|
if (this.title !== node.text) {
|
|
@@ -54626,7 +54726,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54626
54726
|
var _subNode = this.getFirst(node);
|
|
54627
54727
|
if (_subNode) {
|
|
54628
54728
|
this.active = _subNode.id;
|
|
54629
|
-
this.navIds = [
|
|
54729
|
+
// this.navIds = [
|
|
54730
|
+
// node.id,
|
|
54731
|
+
// ...this.getId(node.children, subNode.url)
|
|
54732
|
+
// ];
|
|
54630
54733
|
}
|
|
54631
54734
|
}
|
|
54632
54735
|
this.isSide = true;
|
|
@@ -54634,7 +54737,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54634
54737
|
break;
|
|
54635
54738
|
case 'sub':
|
|
54636
54739
|
this.hideSubMenu = false;
|
|
54637
|
-
this.navIds = [node.id];
|
|
54740
|
+
//this.navIds = [node.id];
|
|
54638
54741
|
if (node.url) {
|
|
54639
54742
|
this.tabs = [];
|
|
54640
54743
|
}
|
|
@@ -54646,7 +54749,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54646
54749
|
var _subNode2 = this.getFirst(node);
|
|
54647
54750
|
this.active = [node.id];
|
|
54648
54751
|
if (_subNode2 && node.id !== _subNode2.id) {
|
|
54649
|
-
this.navIds = this.getId(this.menus,
|
|
54752
|
+
//this.navIds = this.getId(this.menus, subNode.url);
|
|
54650
54753
|
this.$set(this.active, 1, _subNode2.id);
|
|
54651
54754
|
}
|
|
54652
54755
|
}
|
|
@@ -54670,7 +54773,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54670
54773
|
} else {
|
|
54671
54774
|
this.active = tab.id;
|
|
54672
54775
|
}
|
|
54673
|
-
this.navIds = this.getId(this.menus, tab.url);
|
|
54776
|
+
//this.navIds = this.getId(this.menus, tab.url);
|
|
54674
54777
|
}
|
|
54675
54778
|
} else {
|
|
54676
54779
|
var _tab = (node.fourthTabs || []).filter(function (item) {
|
|
@@ -54679,17 +54782,17 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54679
54782
|
if (_tab) {
|
|
54680
54783
|
this.tabs = node.fourthTabs;
|
|
54681
54784
|
this.tabsId = _tab.id;
|
|
54682
|
-
this.navIds = this.getId(this.menus,
|
|
54785
|
+
//this.navIds = this.getId(this.menus, tab.url);
|
|
54683
54786
|
} else {
|
|
54684
|
-
|
|
54685
|
-
|
|
54787
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
54788
|
+
}
|
|
54686
54789
|
}
|
|
54687
54790
|
} else {
|
|
54688
54791
|
if (node.fourthTabs.length) {
|
|
54689
54792
|
this.tabs = node.fourthTabs;
|
|
54690
54793
|
this.tabsId = this.tabs[0].id;
|
|
54691
54794
|
this.handleJump(this.tabs[0].url, this.tabs[0].urlopenmode, this.tabs[0]);
|
|
54692
|
-
this.navIds = this.getId(this.menus, this.tabs[0].url);
|
|
54795
|
+
//this.navIds = this.getId(this.menus, this.tabs[0].url);
|
|
54693
54796
|
}
|
|
54694
54797
|
}
|
|
54695
54798
|
} else {
|
|
@@ -54702,14 +54805,14 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54702
54805
|
} else {
|
|
54703
54806
|
this.active = _subNode3.id;
|
|
54704
54807
|
}
|
|
54705
|
-
this.navIds = this.getId(this.menus,
|
|
54808
|
+
//this.navIds = this.getId(this.menus, subNode.url);
|
|
54706
54809
|
}
|
|
54707
54810
|
}
|
|
54708
54811
|
}
|
|
54709
54812
|
break;
|
|
54710
54813
|
case 'tabs':
|
|
54711
54814
|
this.tabsId = node.id;
|
|
54712
|
-
this.navIds = this.getId(this.menus, node.url);
|
|
54815
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
54713
54816
|
break;
|
|
54714
54817
|
}
|
|
54715
54818
|
if (node.url) {
|
|
@@ -54818,6 +54921,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54818
54921
|
handleJump: function handleJump(page, type, res, param) {
|
|
54819
54922
|
var _this10 = this;
|
|
54820
54923
|
|
|
54924
|
+
this.navIds = this.getId(this.menus, page);
|
|
54821
54925
|
console.log(page);
|
|
54822
54926
|
var prevPage = sessionStorage.getItem('jump');
|
|
54823
54927
|
sessionStorage.setItem('jump', page);
|
|
@@ -55229,8 +55333,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55229
55333
|
|
|
55230
55334
|
var main_src_main_component = normalizeComponent(
|
|
55231
55335
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
55232
|
-
|
|
55233
|
-
|
|
55336
|
+
mainvue_type_template_id_68d3ef61_render,
|
|
55337
|
+
mainvue_type_template_id_68d3ef61_staticRenderFns,
|
|
55234
55338
|
false,
|
|
55235
55339
|
null,
|
|
55236
55340
|
null,
|
|
@@ -73410,8 +73514,8 @@ form_src_table.install = function (Vue) {
|
|
|
73410
73514
|
};
|
|
73411
73515
|
|
|
73412
73516
|
/* harmony default export */ var table_form = (form_src_table);
|
|
73413
|
-
// 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=
|
|
73414
|
-
var
|
|
73517
|
+
// 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=2013892f&
|
|
73518
|
+
var mainvue_type_template_id_2013892f_render = function () {
|
|
73415
73519
|
var _vm = this
|
|
73416
73520
|
var _h = _vm.$createElement
|
|
73417
73521
|
var _c = _vm._self._c || _h
|
|
@@ -73791,11 +73895,11 @@ var mainvue_type_template_id_5a391a7a_render = function () {
|
|
|
73791
73895
|
)
|
|
73792
73896
|
: _vm._e()
|
|
73793
73897
|
}
|
|
73794
|
-
var
|
|
73795
|
-
|
|
73898
|
+
var mainvue_type_template_id_2013892f_staticRenderFns = []
|
|
73899
|
+
mainvue_type_template_id_2013892f_render._withStripped = true
|
|
73796
73900
|
|
|
73797
73901
|
|
|
73798
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
73902
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2013892f&
|
|
73799
73903
|
|
|
73800
73904
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
73801
73905
|
/* harmony default export */ var picture = ({
|
|
@@ -74231,9 +74335,10 @@ var _props;
|
|
|
74231
74335
|
videoChange: false,
|
|
74232
74336
|
source: '',
|
|
74233
74337
|
excludeNames: '',
|
|
74234
|
-
previewAdjunct: api["jb" /* previewAdjunct */],
|
|
74235
74338
|
boxHeight: this.listHeight,
|
|
74236
|
-
|
|
74339
|
+
previewAdjunct: api["jb" /* previewAdjunct */],
|
|
74340
|
+
kkfileview: null,
|
|
74341
|
+
dochubConfig: {}
|
|
74237
74342
|
};
|
|
74238
74343
|
},
|
|
74239
74344
|
|
|
@@ -74277,7 +74382,7 @@ var _props;
|
|
|
74277
74382
|
return this.showFileList;
|
|
74278
74383
|
},
|
|
74279
74384
|
url: function url() {
|
|
74280
|
-
var url = this.action ? this.action : this.portrait ? api["Zb" /* uploadOnlyOne */] : api["bc" /* uploads */];
|
|
74385
|
+
var url = this.action ? this.action : this.portrait ? this.dochubConfig.reuploadDocument || api["Zb" /* uploadOnlyOne */] : this.dochubConfig.uploadDocument || api["bc" /* uploads */];
|
|
74281
74386
|
return url.indexOf(this.host) > -1 ? url : this.host + url;
|
|
74282
74387
|
},
|
|
74283
74388
|
excludes: function excludes() {
|
|
@@ -74481,6 +74586,7 @@ var _props;
|
|
|
74481
74586
|
this.fileAccept = config.accept;
|
|
74482
74587
|
this.fileSize = config.size;
|
|
74483
74588
|
this.fileTotalSize = config.totalSize;
|
|
74589
|
+
this.dochubConfig = config.dochubConfig;
|
|
74484
74590
|
} else {
|
|
74485
74591
|
utils_util["a" /* default */].ajax({
|
|
74486
74592
|
method: this.method,
|
|
@@ -74497,6 +74603,9 @@ var _props;
|
|
|
74497
74603
|
return item;
|
|
74498
74604
|
}).join(',');
|
|
74499
74605
|
}
|
|
74606
|
+
if (res.results.dochubConfig && Object.keys(res.results.dochubConfig).length) {
|
|
74607
|
+
_this3.dochubConfig = res.results.dochubConfig;
|
|
74608
|
+
}
|
|
74500
74609
|
if (res.results.kkViewRootPath) {
|
|
74501
74610
|
_this3.kkfileview = res.results.kkViewRootPath;
|
|
74502
74611
|
}
|
|
@@ -74505,7 +74614,8 @@ var _props;
|
|
|
74505
74614
|
utils_store.set(_this3.code, {
|
|
74506
74615
|
accept: _this3.fileAccept,
|
|
74507
74616
|
size: _this3.fileSize,
|
|
74508
|
-
totalSize: _this3.fileTotalSize
|
|
74617
|
+
totalSize: _this3.fileTotalSize,
|
|
74618
|
+
dochubConfig: _this3.dochubConfig
|
|
74509
74619
|
});
|
|
74510
74620
|
}
|
|
74511
74621
|
}
|
|
@@ -74585,36 +74695,55 @@ var _props;
|
|
|
74585
74695
|
if (res.status === 'success') {
|
|
74586
74696
|
var suffix = file.suffix;
|
|
74587
74697
|
suffix = suffix.toLowerCase();
|
|
74588
|
-
if (
|
|
74589
|
-
if (
|
|
74590
|
-
this.
|
|
74591
|
-
|
|
74592
|
-
|
|
74593
|
-
|
|
74594
|
-
|
|
74595
|
-
|
|
74596
|
-
|
|
74698
|
+
if (this.dochubConfig.previewDocumentUrl) {
|
|
74699
|
+
if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
74700
|
+
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId);
|
|
74701
|
+
this.title = file.originalName;
|
|
74702
|
+
this.showImg = true;
|
|
74703
|
+
this.$nextTick(function () {
|
|
74704
|
+
_this5.loadImage();
|
|
74705
|
+
});
|
|
74706
|
+
} else if (suffix.includes('mp4')) {
|
|
74707
|
+
this.source = {
|
|
74708
|
+
src: this.host + (url ? url : this.previewAdjunct + '?adjunctId=' + file.adjunctId)
|
|
74709
|
+
};
|
|
74710
|
+
this.title = file.originalName;
|
|
74711
|
+
this.showVideo = true;
|
|
74597
74712
|
} else {
|
|
74598
|
-
utils_util["a" /* default */].win.open(this.host + (url ? url :
|
|
74713
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : this.dochubConfig.previewDocumentUrl + '?documentId=' + file.adjunctId + '&action=\u9644\u4EF6\u9884\u89C8'));
|
|
74599
74714
|
}
|
|
74600
|
-
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
74601
|
-
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
74602
|
-
this.title = file.originalName;
|
|
74603
|
-
this.showImg = true;
|
|
74604
|
-
this.$nextTick(function () {
|
|
74605
|
-
_this5.loadImage();
|
|
74606
|
-
});
|
|
74607
|
-
} else if (suffix.includes('mp4')) {
|
|
74608
|
-
this.source = {
|
|
74609
|
-
src: this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId
|
|
74610
|
-
};
|
|
74611
|
-
this.title = file.originalName;
|
|
74612
|
-
this.showVideo = true;
|
|
74613
74715
|
} else {
|
|
74614
|
-
if (
|
|
74615
|
-
this.
|
|
74716
|
+
if (suffix.includes('doc') || suffix.includes('docx') || suffix.includes('xls') || suffix.includes('xlsx') || suffix.includes('ppt')) {
|
|
74717
|
+
if (this.kkfileview) {
|
|
74718
|
+
this.openKkfileview(file);
|
|
74719
|
+
} else {
|
|
74720
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["lb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
|
|
74721
|
+
}
|
|
74722
|
+
} else if (suffix.includes('pdf')) {
|
|
74723
|
+
if (this.kkfileview) {
|
|
74724
|
+
this.openKkfileview(file);
|
|
74725
|
+
} else {
|
|
74726
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["kb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
|
|
74727
|
+
}
|
|
74728
|
+
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
74729
|
+
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
74730
|
+
this.title = file.originalName;
|
|
74731
|
+
this.showImg = true;
|
|
74732
|
+
this.$nextTick(function () {
|
|
74733
|
+
_this5.loadImage();
|
|
74734
|
+
});
|
|
74735
|
+
} else if (suffix.includes('mp4')) {
|
|
74736
|
+
this.source = {
|
|
74737
|
+
src: this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId
|
|
74738
|
+
};
|
|
74739
|
+
this.title = file.originalName;
|
|
74740
|
+
this.showVideo = true;
|
|
74616
74741
|
} else {
|
|
74617
|
-
|
|
74742
|
+
if (this.kkfileview) {
|
|
74743
|
+
this.openKkfileview(file);
|
|
74744
|
+
} else {
|
|
74745
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId);
|
|
74746
|
+
}
|
|
74618
74747
|
}
|
|
74619
74748
|
}
|
|
74620
74749
|
} else {
|
|
@@ -74720,16 +74849,18 @@ var _props;
|
|
|
74720
74849
|
var userName = file.userName || file.response && file.response.userName || utils_util["a" /* default */].getStorage('userName');
|
|
74721
74850
|
// eslint-disable-next-line no-undef
|
|
74722
74851
|
return new Promise(function (resolve, reject) {
|
|
74723
|
-
var url = typeof _this7.deleted === 'string' ? _this7.deleted : _this7.remove === 'string' ? _this7.remove : api["g" /* delAdjunct */];
|
|
74852
|
+
var url = typeof _this7.deleted === 'string' ? _this7.deleted : _this7.remove === 'string' ? _this7.remove : _this7.dochubConfig.deleteDocumentUrl || api["g" /* delAdjunct */];
|
|
74724
74853
|
utils_util["a" /* default */].ajax({
|
|
74725
74854
|
method: _this7.method,
|
|
74726
74855
|
url: url,
|
|
74727
74856
|
data: {
|
|
74728
74857
|
userName: userName,
|
|
74858
|
+
documentId: file.adjunctId || file.response.adjunctId,
|
|
74729
74859
|
id: file.adjunctId || file.response.adjunctId
|
|
74730
74860
|
},
|
|
74731
74861
|
params: {
|
|
74732
74862
|
userName: userName,
|
|
74863
|
+
documentId: file.adjunctId || file.response.adjunctId,
|
|
74733
74864
|
id: file.adjunctId || file.response.adjunctId
|
|
74734
74865
|
}
|
|
74735
74866
|
}).then(function (res) {
|
|
@@ -74757,13 +74888,13 @@ var _props;
|
|
|
74757
74888
|
}
|
|
74758
74889
|
},
|
|
74759
74890
|
handleDownloads: function handleDownloads() {
|
|
74760
|
-
var url = typeof this.downloads === 'string' ? this.downloads : api["Yb" /* uploadDownloads */];
|
|
74891
|
+
var url = typeof this.downloads === 'string' ? this.downloads : this.dochubConfig.compressDownloadDocument || api["Yb" /* uploadDownloads */];
|
|
74761
74892
|
utils_util["a" /* default */].win.open(this.host + url + '?ownId=' + this.ownId + '&code=' + this.code + (this.extendCode ? '&extendCode=' + this.extendCode : ''));
|
|
74762
74893
|
},
|
|
74763
74894
|
handleDownload: function handleDownload(file) {
|
|
74764
74895
|
if (file.status === 'success') {
|
|
74765
|
-
var url = typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */];
|
|
74766
|
-
utils_util["a" /* default */].win.open(this.host + url + '?adjunctId=' + (file.adjunctId || file.response.adjunctId));
|
|
74896
|
+
var url = typeof this.download === 'string' ? this.download : this.dochubConfig.downloadDocumentUrl || api["r" /* downloadByAdjunctId */];
|
|
74897
|
+
utils_util["a" /* default */].win.open(this.host + url + '?adjunctId=' + (file.adjunctId || file.response.adjunctId) + '&documentId=' + (file.adjunctId || file.response.adjunctId));
|
|
74767
74898
|
} else {
|
|
74768
74899
|
this.aLinkDownload(file);
|
|
74769
74900
|
}
|
|
@@ -74797,7 +74928,7 @@ var _props;
|
|
|
74797
74928
|
ids = ids.join(',');
|
|
74798
74929
|
utils_util["a" /* default */].ajax({
|
|
74799
74930
|
method: this.method,
|
|
74800
|
-
url: api["ac" /* uploadSort */],
|
|
74931
|
+
url: this.dochubConfig.sortDocumentsUrl || api["ac" /* uploadSort */],
|
|
74801
74932
|
data: {
|
|
74802
74933
|
ids: ids
|
|
74803
74934
|
},
|
|
@@ -74896,8 +75027,8 @@ var _props;
|
|
|
74896
75027
|
|
|
74897
75028
|
var upload_src_main_component = normalizeComponent(
|
|
74898
75029
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
74899
|
-
|
|
74900
|
-
|
|
75030
|
+
mainvue_type_template_id_2013892f_render,
|
|
75031
|
+
mainvue_type_template_id_2013892f_staticRenderFns,
|
|
74901
75032
|
false,
|
|
74902
75033
|
null,
|
|
74903
75034
|
null,
|
|
@@ -75390,7 +75521,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
75390
75521
|
}
|
|
75391
75522
|
|
|
75392
75523
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
75393
|
-
version: '0.5.
|
|
75524
|
+
version: '0.5.80',
|
|
75394
75525
|
install: install,
|
|
75395
75526
|
Button: packages_button,
|
|
75396
75527
|
ButtonGroup: button_group,
|