eoss-ui 0.5.79 → 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 +9 -9
- 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 +254 -147
- 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 +28 -27
- 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/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 +7 -7
- 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 +25 -24
- 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/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/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
|
|
@@ -6699,7 +6699,7 @@ var mainvue_type_template_id_df397a80_render = function () {
|
|
|
6699
6699
|
),
|
|
6700
6700
|
])
|
|
6701
6701
|
}
|
|
6702
|
-
var
|
|
6702
|
+
var mainvue_type_template_id_f0512042_staticRenderFns = [
|
|
6703
6703
|
function () {
|
|
6704
6704
|
var _vm = this
|
|
6705
6705
|
var _h = _vm.$createElement
|
|
@@ -6710,10 +6710,10 @@ var mainvue_type_template_id_df397a80_staticRenderFns = [
|
|
|
6710
6710
|
])
|
|
6711
6711
|
},
|
|
6712
6712
|
]
|
|
6713
|
-
|
|
6713
|
+
mainvue_type_template_id_f0512042_render._withStripped = true
|
|
6714
6714
|
|
|
6715
6715
|
|
|
6716
|
-
// CONCATENATED MODULE: ./packages/clients/src/main.vue?vue&type=template&id=
|
|
6716
|
+
// CONCATENATED MODULE: ./packages/clients/src/main.vue?vue&type=template&id=f0512042&
|
|
6717
6717
|
|
|
6718
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&
|
|
6719
6719
|
//
|
|
@@ -6819,7 +6819,7 @@ mainvue_type_template_id_df397a80_render._withStripped = true
|
|
|
6819
6819
|
|
|
6820
6820
|
methods: {
|
|
6821
6821
|
handleDownload: function handleDownload(url) {
|
|
6822
|
-
if (url) {
|
|
6822
|
+
if (url && typeof url == 'string') {
|
|
6823
6823
|
window.open(url);
|
|
6824
6824
|
return;
|
|
6825
6825
|
}
|
|
@@ -6827,24 +6827,24 @@ mainvue_type_template_id_df397a80_render._withStripped = true
|
|
|
6827
6827
|
var isMac = navigator.platform == 'Mac68K' || navigator.platform == 'MacPPC' || navigator.platform == 'Macintosh' || navigator.platform == 'MacIntel';
|
|
6828
6828
|
var isLinux = navigator.platform == 'X11' || navigator.platform.indexOf('Linux') > -1;
|
|
6829
6829
|
if (isWin) {
|
|
6830
|
-
if (this.win) {
|
|
6831
|
-
window.open(this.win);
|
|
6830
|
+
if (this.downloads.win) {
|
|
6831
|
+
window.open(this.downloads.win);
|
|
6832
6832
|
} else {
|
|
6833
6833
|
this.$message.error('下载地址不存在!');
|
|
6834
6834
|
return;
|
|
6835
6835
|
}
|
|
6836
6836
|
}
|
|
6837
6837
|
if (isMac) {
|
|
6838
|
-
if (this.mac) {
|
|
6839
|
-
window.open(this.mac);
|
|
6838
|
+
if (this.downloads.mac) {
|
|
6839
|
+
window.open(this.downloads.mac);
|
|
6840
6840
|
} else {
|
|
6841
6841
|
this.$message.error('下载地址不存在!');
|
|
6842
6842
|
return;
|
|
6843
6843
|
}
|
|
6844
6844
|
}
|
|
6845
6845
|
if (isLinux) {
|
|
6846
|
-
if (this.linux) {
|
|
6847
|
-
window.open(this.linux);
|
|
6846
|
+
if (this.downloads.linux) {
|
|
6847
|
+
window.open(this.downloads.linux);
|
|
6848
6848
|
} else {
|
|
6849
6849
|
this.$message.error('下载地址不存在!');
|
|
6850
6850
|
return;
|
|
@@ -6865,8 +6865,8 @@ mainvue_type_template_id_df397a80_render._withStripped = true
|
|
|
6865
6865
|
|
|
6866
6866
|
var clients_src_main_component = normalizeComponent(
|
|
6867
6867
|
packages_clients_src_mainvue_type_script_lang_js_,
|
|
6868
|
-
|
|
6869
|
-
|
|
6868
|
+
mainvue_type_template_id_f0512042_render,
|
|
6869
|
+
mainvue_type_template_id_f0512042_staticRenderFns,
|
|
6870
6870
|
false,
|
|
6871
6871
|
null,
|
|
6872
6872
|
null,
|
|
@@ -6883,8 +6883,8 @@ clients_src_main.install = function (Vue) {
|
|
|
6883
6883
|
};
|
|
6884
6884
|
|
|
6885
6885
|
/* harmony default export */ var clients = (clients_src_main);
|
|
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=
|
|
6887
|
-
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 () {
|
|
6888
6888
|
var _vm = this
|
|
6889
6889
|
var _h = _vm.$createElement
|
|
6890
6890
|
var _c = _vm._self._c || _h
|
|
@@ -7194,11 +7194,11 @@ var mainvue_type_template_id_58029cb3_render = function () {
|
|
|
7194
7194
|
1
|
|
7195
7195
|
)
|
|
7196
7196
|
}
|
|
7197
|
-
var
|
|
7198
|
-
|
|
7197
|
+
var mainvue_type_template_id_1f63e6c2_staticRenderFns = []
|
|
7198
|
+
mainvue_type_template_id_1f63e6c2_render._withStripped = true
|
|
7199
7199
|
|
|
7200
7200
|
|
|
7201
|
-
// 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&
|
|
7202
7202
|
|
|
7203
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&
|
|
7204
7204
|
var childrenvue_type_template_id_44b7ff61_render = function () {
|
|
@@ -9708,7 +9708,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9708
9708
|
if (this.list && this.list.length) {
|
|
9709
9709
|
return this.list;
|
|
9710
9710
|
}
|
|
9711
|
-
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)) {
|
|
9712
9712
|
this.config.totalCount = this.data.length - this.lose;
|
|
9713
9713
|
}
|
|
9714
9714
|
if (this.page && this.data.length > this.config.pageSize) {
|
|
@@ -9778,10 +9778,15 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9778
9778
|
},
|
|
9779
9779
|
|
|
9780
9780
|
// data: {
|
|
9781
|
-
// immediate: true,
|
|
9782
9781
|
// deep: true,
|
|
9783
9782
|
// handler(val) {
|
|
9784
|
-
//
|
|
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
|
+
// }
|
|
9785
9790
|
// }
|
|
9786
9791
|
// },
|
|
9787
9792
|
page: function page() {
|
|
@@ -10122,7 +10127,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10122
10127
|
if (where) {
|
|
10123
10128
|
reqData = utils_util["a" /* default */].extend({}, reqData, where);
|
|
10124
10129
|
}
|
|
10125
|
-
if (this.retainSearh) {
|
|
10130
|
+
if (this.retainSearh || first === false) {
|
|
10126
10131
|
reqData = utils_util["a" /* default */].extend({}, reqData, this.wheres);
|
|
10127
10132
|
}
|
|
10128
10133
|
if (this.isJoin) {
|
|
@@ -10346,7 +10351,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10346
10351
|
}
|
|
10347
10352
|
var thead = this.theads;
|
|
10348
10353
|
if (this.$refs.oaTable) {
|
|
10349
|
-
thead = this.$refs.oaTable.getThead();
|
|
10354
|
+
thead = this.$refs.oaTable.getThead().thead;
|
|
10350
10355
|
}
|
|
10351
10356
|
if (handle.action) {
|
|
10352
10357
|
var isConfirm = handle.confirm || true;
|
|
@@ -10655,8 +10660,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10655
10660
|
|
|
10656
10661
|
var data_table_src_main_component = normalizeComponent(
|
|
10657
10662
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
10658
|
-
|
|
10659
|
-
|
|
10663
|
+
mainvue_type_template_id_1f63e6c2_render,
|
|
10664
|
+
mainvue_type_template_id_1f63e6c2_staticRenderFns,
|
|
10660
10665
|
false,
|
|
10661
10666
|
null,
|
|
10662
10667
|
null,
|
|
@@ -14130,8 +14135,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
14130
14135
|
};
|
|
14131
14136
|
|
|
14132
14137
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
14133
|
-
// 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=
|
|
14134
|
-
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 () {
|
|
14135
14140
|
var _vm = this
|
|
14136
14141
|
var _h = _vm.$createElement
|
|
14137
14142
|
var _c = _vm._self._c || _h
|
|
@@ -14244,33 +14249,40 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
14244
14249
|
!items.hide
|
|
14245
14250
|
? _c(
|
|
14246
14251
|
"el-collapse-item",
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
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,
|
|
14255
14272
|
},
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
_vm.accordion
|
|
14273
|
+
attrs: {
|
|
14274
|
+
"show-title": items.showTitle,
|
|
14275
|
+
name:
|
|
14276
|
+
items.name || String(indexs),
|
|
14277
|
+
readonly: _vm.accordion
|
|
14262
14278
|
? false
|
|
14263
14279
|
: !_vm.collapse,
|
|
14264
|
-
|
|
14265
|
-
items.caption,
|
|
14266
|
-
},
|
|
14267
|
-
attrs: {
|
|
14268
|
-
name: items.name || String(indexs),
|
|
14269
|
-
readonly: _vm.accordion
|
|
14270
|
-
? false
|
|
14271
|
-
: !_vm.collapse,
|
|
14280
|
+
},
|
|
14272
14281
|
},
|
|
14273
|
-
|
|
14282
|
+
"el-collapse-item",
|
|
14283
|
+
items.config,
|
|
14284
|
+
false
|
|
14285
|
+
),
|
|
14274
14286
|
[
|
|
14275
14287
|
_c(
|
|
14276
14288
|
"div",
|
|
@@ -15923,6 +15935,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
15923
15935
|
attrs:
|
|
15924
15936
|
[
|
|
15925
15937
|
"value",
|
|
15938
|
+
"type",
|
|
15926
15939
|
],
|
|
15927
15940
|
}
|
|
15928
15941
|
),
|
|
@@ -16102,6 +16115,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16102
16115
|
_c(
|
|
16103
16116
|
"el-form-item",
|
|
16104
16117
|
{
|
|
16118
|
+
class:
|
|
16119
|
+
{
|
|
16120
|
+
"fixed-width":
|
|
16121
|
+
inline.width,
|
|
16122
|
+
},
|
|
16105
16123
|
attrs:
|
|
16106
16124
|
{
|
|
16107
16125
|
"label-width":
|
|
@@ -16595,6 +16613,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16595
16613
|
attrs:
|
|
16596
16614
|
[
|
|
16597
16615
|
"value",
|
|
16616
|
+
"type",
|
|
16598
16617
|
],
|
|
16599
16618
|
}
|
|
16600
16619
|
),
|
|
@@ -16733,6 +16752,13 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
16733
16752
|
_c(
|
|
16734
16753
|
"el-form-item",
|
|
16735
16754
|
{
|
|
16755
|
+
class:
|
|
16756
|
+
{
|
|
16757
|
+
"fixed-width":
|
|
16758
|
+
item
|
|
16759
|
+
.inline
|
|
16760
|
+
.width,
|
|
16761
|
+
},
|
|
16736
16762
|
attrs:
|
|
16737
16763
|
{
|
|
16738
16764
|
"label-width":
|
|
@@ -17326,6 +17352,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
17326
17352
|
attrs:
|
|
17327
17353
|
[
|
|
17328
17354
|
"value",
|
|
17355
|
+
"type",
|
|
17329
17356
|
],
|
|
17330
17357
|
}
|
|
17331
17358
|
),
|
|
@@ -18521,7 +18548,10 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
18521
18548
|
_vm.handleExclAttribute(
|
|
18522
18549
|
{
|
|
18523
18550
|
data: item,
|
|
18524
|
-
attrs: [
|
|
18551
|
+
attrs: [
|
|
18552
|
+
"value",
|
|
18553
|
+
"type",
|
|
18554
|
+
],
|
|
18525
18555
|
}
|
|
18526
18556
|
),
|
|
18527
18557
|
false
|
|
@@ -18690,6 +18720,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
18690
18720
|
_c(
|
|
18691
18721
|
"el-form-item",
|
|
18692
18722
|
{
|
|
18723
|
+
class:
|
|
18724
|
+
{
|
|
18725
|
+
"fixed-width":
|
|
18726
|
+
inline.width,
|
|
18727
|
+
},
|
|
18693
18728
|
attrs:
|
|
18694
18729
|
{
|
|
18695
18730
|
"label-width":
|
|
@@ -19183,6 +19218,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19183
19218
|
attrs:
|
|
19184
19219
|
[
|
|
19185
19220
|
"value",
|
|
19221
|
+
"type",
|
|
19186
19222
|
],
|
|
19187
19223
|
}
|
|
19188
19224
|
),
|
|
@@ -19317,6 +19353,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19317
19353
|
_c(
|
|
19318
19354
|
"el-form-item",
|
|
19319
19355
|
{
|
|
19356
|
+
class: {
|
|
19357
|
+
"fixed-width":
|
|
19358
|
+
item.inline
|
|
19359
|
+
.width,
|
|
19360
|
+
},
|
|
19320
19361
|
attrs: {
|
|
19321
19362
|
"label-width":
|
|
19322
19363
|
"0",
|
|
@@ -19838,6 +19879,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
19838
19879
|
attrs:
|
|
19839
19880
|
[
|
|
19840
19881
|
"value",
|
|
19882
|
+
"type",
|
|
19841
19883
|
],
|
|
19842
19884
|
}
|
|
19843
19885
|
),
|
|
@@ -21614,6 +21656,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
21614
21656
|
data: item,
|
|
21615
21657
|
attrs: [
|
|
21616
21658
|
"value",
|
|
21659
|
+
"type",
|
|
21617
21660
|
],
|
|
21618
21661
|
}
|
|
21619
21662
|
),
|
|
@@ -21792,6 +21835,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
21792
21835
|
_c(
|
|
21793
21836
|
"el-form-item",
|
|
21794
21837
|
{
|
|
21838
|
+
class:
|
|
21839
|
+
{
|
|
21840
|
+
"fixed-width":
|
|
21841
|
+
inline.width,
|
|
21842
|
+
},
|
|
21795
21843
|
attrs:
|
|
21796
21844
|
{
|
|
21797
21845
|
"label-width":
|
|
@@ -22285,6 +22333,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22285
22333
|
attrs:
|
|
22286
22334
|
[
|
|
22287
22335
|
"value",
|
|
22336
|
+
"type",
|
|
22288
22337
|
],
|
|
22289
22338
|
}
|
|
22290
22339
|
),
|
|
@@ -22422,6 +22471,13 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22422
22471
|
_c(
|
|
22423
22472
|
"el-form-item",
|
|
22424
22473
|
{
|
|
22474
|
+
class:
|
|
22475
|
+
{
|
|
22476
|
+
"fixed-width":
|
|
22477
|
+
item
|
|
22478
|
+
.inline
|
|
22479
|
+
.width,
|
|
22480
|
+
},
|
|
22425
22481
|
attrs:
|
|
22426
22482
|
{
|
|
22427
22483
|
"label-width":
|
|
@@ -22962,6 +23018,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
22962
23018
|
attrs:
|
|
22963
23019
|
[
|
|
22964
23020
|
"value",
|
|
23021
|
+
"type",
|
|
22965
23022
|
],
|
|
22966
23023
|
}
|
|
22967
23024
|
),
|
|
@@ -24042,7 +24099,10 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24042
24099
|
"component",
|
|
24043
24100
|
_vm.handleExclAttribute({
|
|
24044
24101
|
data: item,
|
|
24045
|
-
attrs: [
|
|
24102
|
+
attrs: [
|
|
24103
|
+
"value",
|
|
24104
|
+
"type",
|
|
24105
|
+
],
|
|
24046
24106
|
}),
|
|
24047
24107
|
false
|
|
24048
24108
|
),
|
|
@@ -24219,6 +24279,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24219
24279
|
_c(
|
|
24220
24280
|
"el-form-item",
|
|
24221
24281
|
{
|
|
24282
|
+
class:
|
|
24283
|
+
{
|
|
24284
|
+
"fixed-width":
|
|
24285
|
+
inline.width,
|
|
24286
|
+
},
|
|
24222
24287
|
attrs:
|
|
24223
24288
|
{
|
|
24224
24289
|
"label-width":
|
|
@@ -24712,6 +24777,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24712
24777
|
attrs:
|
|
24713
24778
|
[
|
|
24714
24779
|
"value",
|
|
24780
|
+
"type",
|
|
24715
24781
|
],
|
|
24716
24782
|
}
|
|
24717
24783
|
),
|
|
@@ -24846,6 +24912,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
24846
24912
|
_c(
|
|
24847
24913
|
"el-form-item",
|
|
24848
24914
|
{
|
|
24915
|
+
class: {
|
|
24916
|
+
"fixed-width":
|
|
24917
|
+
item.inline
|
|
24918
|
+
.width,
|
|
24919
|
+
},
|
|
24849
24920
|
attrs: {
|
|
24850
24921
|
"label-width":
|
|
24851
24922
|
"0",
|
|
@@ -25349,6 +25420,7 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
25349
25420
|
attrs:
|
|
25350
25421
|
[
|
|
25351
25422
|
"value",
|
|
25423
|
+
"type",
|
|
25352
25424
|
],
|
|
25353
25425
|
}
|
|
25354
25426
|
),
|
|
@@ -25587,11 +25659,11 @@ var mainvue_type_template_id_32a172fb_render = function () {
|
|
|
25587
25659
|
)
|
|
25588
25660
|
: _vm._e()
|
|
25589
25661
|
}
|
|
25590
|
-
var
|
|
25591
|
-
|
|
25662
|
+
var mainvue_type_template_id_3b85e994_staticRenderFns = []
|
|
25663
|
+
mainvue_type_template_id_3b85e994_render._withStripped = true
|
|
25592
25664
|
|
|
25593
25665
|
|
|
25594
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
25666
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=3b85e994&
|
|
25595
25667
|
|
|
25596
25668
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
25597
25669
|
// 手机号
|
|
@@ -29623,6 +29695,19 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
29623
29695
|
//
|
|
29624
29696
|
//
|
|
29625
29697
|
//
|
|
29698
|
+
//
|
|
29699
|
+
//
|
|
29700
|
+
//
|
|
29701
|
+
//
|
|
29702
|
+
//
|
|
29703
|
+
//
|
|
29704
|
+
//
|
|
29705
|
+
//
|
|
29706
|
+
//
|
|
29707
|
+
//
|
|
29708
|
+
//
|
|
29709
|
+
//
|
|
29710
|
+
//
|
|
29626
29711
|
|
|
29627
29712
|
|
|
29628
29713
|
|
|
@@ -30116,7 +30201,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30116
30201
|
|
|
30117
30202
|
this.$nextTick(function () {
|
|
30118
30203
|
!_this4.height && _this4.getHeight();
|
|
30119
|
-
_this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
|
|
30204
|
+
_this4.$refs.esForm && _this4.$refs.esForm.$el.addEventListener('keyup', _this4.handleEnter);
|
|
30120
30205
|
});
|
|
30121
30206
|
},
|
|
30122
30207
|
|
|
@@ -30918,8 +31003,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
30918
31003
|
|
|
30919
31004
|
var form_src_main_component = normalizeComponent(
|
|
30920
31005
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
30921
|
-
|
|
30922
|
-
|
|
31006
|
+
mainvue_type_template_id_3b85e994_render,
|
|
31007
|
+
mainvue_type_template_id_3b85e994_staticRenderFns,
|
|
30923
31008
|
false,
|
|
30924
31009
|
null,
|
|
30925
31010
|
null,
|
|
@@ -46587,10 +46672,6 @@ function mainvue_type_script_lang_js_objectWithoutProperties(obj, keys) { var ta
|
|
|
46587
46672
|
return {};
|
|
46588
46673
|
}
|
|
46589
46674
|
},
|
|
46590
|
-
autocomplete: {
|
|
46591
|
-
type: [String, Boolean],
|
|
46592
|
-
default: ''
|
|
46593
|
-
},
|
|
46594
46675
|
fetchSuggestions: Function,
|
|
46595
46676
|
focusShow: {
|
|
46596
46677
|
type: Boolean,
|
|
@@ -47709,8 +47790,8 @@ layout_src_main.install = function (Vue) {
|
|
|
47709
47790
|
};
|
|
47710
47791
|
|
|
47711
47792
|
/* harmony default export */ var layout = (layout_src_main);
|
|
47712
|
-
// 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=
|
|
47713
|
-
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 () {
|
|
47714
47795
|
var _vm = this
|
|
47715
47796
|
var _h = _vm.$createElement
|
|
47716
47797
|
var _c = _vm._self._c || _h
|
|
@@ -47879,7 +47960,6 @@ var mainvue_type_template_id_42e58f21_render = function () {
|
|
|
47879
47960
|
placeholder: _vm.username.placeholder,
|
|
47880
47961
|
focusShow: _vm.focusShow,
|
|
47881
47962
|
data: _vm.users,
|
|
47882
|
-
autocomplete: true,
|
|
47883
47963
|
},
|
|
47884
47964
|
on: { select: _vm.handleBlur },
|
|
47885
47965
|
model: {
|
|
@@ -48650,11 +48730,11 @@ var mainvue_type_template_id_42e58f21_render = function () {
|
|
|
48650
48730
|
)
|
|
48651
48731
|
: _vm._e()
|
|
48652
48732
|
}
|
|
48653
|
-
var
|
|
48654
|
-
|
|
48733
|
+
var mainvue_type_template_id_7b7f902c_staticRenderFns = []
|
|
48734
|
+
mainvue_type_template_id_7b7f902c_render._withStripped = true
|
|
48655
48735
|
|
|
48656
48736
|
|
|
48657
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
48737
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=7b7f902c&
|
|
48658
48738
|
|
|
48659
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&
|
|
48660
48740
|
var resetPasswordvue_type_template_id_579bc87d_render = function () {
|
|
@@ -49580,7 +49660,6 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
49580
49660
|
//
|
|
49581
49661
|
//
|
|
49582
49662
|
//
|
|
49583
|
-
//
|
|
49584
49663
|
|
|
49585
49664
|
|
|
49586
49665
|
|
|
@@ -50725,8 +50804,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
50725
50804
|
|
|
50726
50805
|
var login_src_main_component = normalizeComponent(
|
|
50727
50806
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
50728
|
-
|
|
50729
|
-
|
|
50807
|
+
mainvue_type_template_id_7b7f902c_render,
|
|
50808
|
+
mainvue_type_template_id_7b7f902c_staticRenderFns,
|
|
50730
50809
|
false,
|
|
50731
50810
|
null,
|
|
50732
50811
|
null,
|
|
@@ -50743,8 +50822,8 @@ login_src_main.install = function (Vue) {
|
|
|
50743
50822
|
};
|
|
50744
50823
|
|
|
50745
50824
|
/* harmony default export */ var login = (login_src_main);
|
|
50746
|
-
// 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=
|
|
50747
|
-
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 () {
|
|
50748
50827
|
var _vm = this
|
|
50749
50828
|
var _h = _vm.$createElement
|
|
50750
50829
|
var _c = _vm._self._c || _h
|
|
@@ -51225,11 +51304,11 @@ var mainvue_type_template_id_460b1704_render = function () {
|
|
|
51225
51304
|
1
|
|
51226
51305
|
)
|
|
51227
51306
|
}
|
|
51228
|
-
var
|
|
51229
|
-
|
|
51307
|
+
var mainvue_type_template_id_68d3ef61_staticRenderFns = []
|
|
51308
|
+
mainvue_type_template_id_68d3ef61_render._withStripped = true
|
|
51230
51309
|
|
|
51231
51310
|
|
|
51232
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
51311
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=68d3ef61&
|
|
51233
51312
|
|
|
51234
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&
|
|
51235
51314
|
var userinfovue_type_template_id_75d533de_render = function () {
|
|
@@ -54019,7 +54098,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54019
54098
|
if (i === 'initApplication' && results[i]) {
|
|
54020
54099
|
this.results[i] = results[i].split(',');
|
|
54021
54100
|
}
|
|
54022
|
-
if (i === 'indexUrl' && this.loadHomePage) {
|
|
54101
|
+
if (i === 'indexUrl' && results[i] && this.loadHomePage) {
|
|
54023
54102
|
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
54024
54103
|
var hash = utils_util["a" /* default */].win.location.hash;
|
|
54025
54104
|
if (hash) {
|
|
@@ -54047,7 +54126,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54047
54126
|
if (i === 'doorIndex' && results[i]) {
|
|
54048
54127
|
window.open(results[i]);
|
|
54049
54128
|
}
|
|
54050
|
-
if (i === 'subsystemName') {
|
|
54129
|
+
if (i === 'subsystemName' && results[i]) {
|
|
54051
54130
|
document.title = results[i];
|
|
54052
54131
|
}
|
|
54053
54132
|
if (i === 'loginPage' && results[i]) {
|
|
@@ -54057,29 +54136,30 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54057
54136
|
sessionStorage.setItem('sysLogoIco', results[i]);
|
|
54058
54137
|
utils_util["a" /* default */].setFavicon(results[i]);
|
|
54059
54138
|
}
|
|
54060
|
-
if (i === '
|
|
54061
|
-
this.color = unescape(results[i].themeColor).toLowerCase();
|
|
54062
|
-
}
|
|
54063
|
-
if (i === 'userStyle' && results[i].color) {
|
|
54139
|
+
if (i === 'userStyle' && results[i] && results[i].color) {
|
|
54064
54140
|
var color = unescape(results[i].color).toLowerCase();
|
|
54065
54141
|
if (utils_util["a" /* default */].startWith(color, '#')) {
|
|
54066
54142
|
this.color = color;
|
|
54067
54143
|
}
|
|
54068
54144
|
}
|
|
54069
|
-
if (i === 'subsystemExtend' && results[i]
|
|
54070
|
-
|
|
54071
|
-
|
|
54072
|
-
|
|
54073
|
-
|
|
54074
|
-
|
|
54075
|
-
|
|
54076
|
-
|
|
54077
|
-
|
|
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);
|
|
54078
54162
|
}
|
|
54079
|
-
}
|
|
54080
|
-
|
|
54081
|
-
if (i === 'subsystemExtend' && results[i].loginPage) {
|
|
54082
|
-
utils_util["a" /* default */].setStorage('loginPage', results[i].loginPage);
|
|
54083
54163
|
}
|
|
54084
54164
|
utils_store.set(i, results[i]);
|
|
54085
54165
|
}
|
|
@@ -54255,8 +54335,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54255
54335
|
return item.id;
|
|
54256
54336
|
} else {
|
|
54257
54337
|
if (item.url) {
|
|
54258
|
-
var
|
|
54259
|
-
if (
|
|
54338
|
+
var _url = new URL(item.url, window.location.origin);
|
|
54339
|
+
if (_url.hash == url) {
|
|
54260
54340
|
return item.id;
|
|
54261
54341
|
}
|
|
54262
54342
|
}
|
|
@@ -54566,11 +54646,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54566
54646
|
}
|
|
54567
54647
|
if (item.fourthTabs && item.fourthTabs.length) {
|
|
54568
54648
|
index++;
|
|
54569
|
-
var
|
|
54570
|
-
if (
|
|
54649
|
+
var _url2 = this.getUrl(item.fourthTabs, active, index, param);
|
|
54650
|
+
if (_url2) {
|
|
54571
54651
|
this.$set(this, 'tabs', item.fourthTabs);
|
|
54572
54652
|
}
|
|
54573
|
-
return
|
|
54653
|
+
return _url2;
|
|
54574
54654
|
}
|
|
54575
54655
|
}
|
|
54576
54656
|
} else if (item.children && item.children.length) {
|
|
@@ -55253,8 +55333,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55253
55333
|
|
|
55254
55334
|
var main_src_main_component = normalizeComponent(
|
|
55255
55335
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
55256
|
-
|
|
55257
|
-
|
|
55336
|
+
mainvue_type_template_id_68d3ef61_render,
|
|
55337
|
+
mainvue_type_template_id_68d3ef61_staticRenderFns,
|
|
55258
55338
|
false,
|
|
55259
55339
|
null,
|
|
55260
55340
|
null,
|
|
@@ -73434,8 +73514,8 @@ form_src_table.install = function (Vue) {
|
|
|
73434
73514
|
};
|
|
73435
73515
|
|
|
73436
73516
|
/* harmony default export */ var table_form = (form_src_table);
|
|
73437
|
-
// 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=
|
|
73438
|
-
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 () {
|
|
73439
73519
|
var _vm = this
|
|
73440
73520
|
var _h = _vm.$createElement
|
|
73441
73521
|
var _c = _vm._self._c || _h
|
|
@@ -73815,11 +73895,11 @@ var mainvue_type_template_id_5a391a7a_render = function () {
|
|
|
73815
73895
|
)
|
|
73816
73896
|
: _vm._e()
|
|
73817
73897
|
}
|
|
73818
|
-
var
|
|
73819
|
-
|
|
73898
|
+
var mainvue_type_template_id_2013892f_staticRenderFns = []
|
|
73899
|
+
mainvue_type_template_id_2013892f_render._withStripped = true
|
|
73820
73900
|
|
|
73821
73901
|
|
|
73822
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
73902
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2013892f&
|
|
73823
73903
|
|
|
73824
73904
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
73825
73905
|
/* harmony default export */ var picture = ({
|
|
@@ -74255,9 +74335,10 @@ var _props;
|
|
|
74255
74335
|
videoChange: false,
|
|
74256
74336
|
source: '',
|
|
74257
74337
|
excludeNames: '',
|
|
74258
|
-
previewAdjunct: api["jb" /* previewAdjunct */],
|
|
74259
74338
|
boxHeight: this.listHeight,
|
|
74260
|
-
|
|
74339
|
+
previewAdjunct: api["jb" /* previewAdjunct */],
|
|
74340
|
+
kkfileview: null,
|
|
74341
|
+
dochubConfig: {}
|
|
74261
74342
|
};
|
|
74262
74343
|
},
|
|
74263
74344
|
|
|
@@ -74301,7 +74382,7 @@ var _props;
|
|
|
74301
74382
|
return this.showFileList;
|
|
74302
74383
|
},
|
|
74303
74384
|
url: function url() {
|
|
74304
|
-
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 */];
|
|
74305
74386
|
return url.indexOf(this.host) > -1 ? url : this.host + url;
|
|
74306
74387
|
},
|
|
74307
74388
|
excludes: function excludes() {
|
|
@@ -74505,6 +74586,7 @@ var _props;
|
|
|
74505
74586
|
this.fileAccept = config.accept;
|
|
74506
74587
|
this.fileSize = config.size;
|
|
74507
74588
|
this.fileTotalSize = config.totalSize;
|
|
74589
|
+
this.dochubConfig = config.dochubConfig;
|
|
74508
74590
|
} else {
|
|
74509
74591
|
utils_util["a" /* default */].ajax({
|
|
74510
74592
|
method: this.method,
|
|
@@ -74521,6 +74603,9 @@ var _props;
|
|
|
74521
74603
|
return item;
|
|
74522
74604
|
}).join(',');
|
|
74523
74605
|
}
|
|
74606
|
+
if (res.results.dochubConfig && Object.keys(res.results.dochubConfig).length) {
|
|
74607
|
+
_this3.dochubConfig = res.results.dochubConfig;
|
|
74608
|
+
}
|
|
74524
74609
|
if (res.results.kkViewRootPath) {
|
|
74525
74610
|
_this3.kkfileview = res.results.kkViewRootPath;
|
|
74526
74611
|
}
|
|
@@ -74529,7 +74614,8 @@ var _props;
|
|
|
74529
74614
|
utils_store.set(_this3.code, {
|
|
74530
74615
|
accept: _this3.fileAccept,
|
|
74531
74616
|
size: _this3.fileSize,
|
|
74532
|
-
totalSize: _this3.fileTotalSize
|
|
74617
|
+
totalSize: _this3.fileTotalSize,
|
|
74618
|
+
dochubConfig: _this3.dochubConfig
|
|
74533
74619
|
});
|
|
74534
74620
|
}
|
|
74535
74621
|
}
|
|
@@ -74609,36 +74695,55 @@ var _props;
|
|
|
74609
74695
|
if (res.status === 'success') {
|
|
74610
74696
|
var suffix = file.suffix;
|
|
74611
74697
|
suffix = suffix.toLowerCase();
|
|
74612
|
-
if (
|
|
74613
|
-
if (
|
|
74614
|
-
this.
|
|
74615
|
-
|
|
74616
|
-
|
|
74617
|
-
|
|
74618
|
-
|
|
74619
|
-
|
|
74620
|
-
|
|
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;
|
|
74621
74712
|
} else {
|
|
74622
|
-
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'));
|
|
74623
74714
|
}
|
|
74624
|
-
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
74625
|
-
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
74626
|
-
this.title = file.originalName;
|
|
74627
|
-
this.showImg = true;
|
|
74628
|
-
this.$nextTick(function () {
|
|
74629
|
-
_this5.loadImage();
|
|
74630
|
-
});
|
|
74631
|
-
} else if (suffix.includes('mp4')) {
|
|
74632
|
-
this.source = {
|
|
74633
|
-
src: this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId
|
|
74634
|
-
};
|
|
74635
|
-
this.title = file.originalName;
|
|
74636
|
-
this.showVideo = true;
|
|
74637
74715
|
} else {
|
|
74638
|
-
if (
|
|
74639
|
-
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;
|
|
74640
74741
|
} else {
|
|
74641
|
-
|
|
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
|
+
}
|
|
74642
74747
|
}
|
|
74643
74748
|
}
|
|
74644
74749
|
} else {
|
|
@@ -74744,16 +74849,18 @@ var _props;
|
|
|
74744
74849
|
var userName = file.userName || file.response && file.response.userName || utils_util["a" /* default */].getStorage('userName');
|
|
74745
74850
|
// eslint-disable-next-line no-undef
|
|
74746
74851
|
return new Promise(function (resolve, reject) {
|
|
74747
|
-
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 */];
|
|
74748
74853
|
utils_util["a" /* default */].ajax({
|
|
74749
74854
|
method: _this7.method,
|
|
74750
74855
|
url: url,
|
|
74751
74856
|
data: {
|
|
74752
74857
|
userName: userName,
|
|
74858
|
+
documentId: file.adjunctId || file.response.adjunctId,
|
|
74753
74859
|
id: file.adjunctId || file.response.adjunctId
|
|
74754
74860
|
},
|
|
74755
74861
|
params: {
|
|
74756
74862
|
userName: userName,
|
|
74863
|
+
documentId: file.adjunctId || file.response.adjunctId,
|
|
74757
74864
|
id: file.adjunctId || file.response.adjunctId
|
|
74758
74865
|
}
|
|
74759
74866
|
}).then(function (res) {
|
|
@@ -74781,13 +74888,13 @@ var _props;
|
|
|
74781
74888
|
}
|
|
74782
74889
|
},
|
|
74783
74890
|
handleDownloads: function handleDownloads() {
|
|
74784
|
-
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 */];
|
|
74785
74892
|
utils_util["a" /* default */].win.open(this.host + url + '?ownId=' + this.ownId + '&code=' + this.code + (this.extendCode ? '&extendCode=' + this.extendCode : ''));
|
|
74786
74893
|
},
|
|
74787
74894
|
handleDownload: function handleDownload(file) {
|
|
74788
74895
|
if (file.status === 'success') {
|
|
74789
|
-
var url = typeof this.download === 'string' ? this.download : api["r" /* downloadByAdjunctId */];
|
|
74790
|
-
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));
|
|
74791
74898
|
} else {
|
|
74792
74899
|
this.aLinkDownload(file);
|
|
74793
74900
|
}
|
|
@@ -74821,7 +74928,7 @@ var _props;
|
|
|
74821
74928
|
ids = ids.join(',');
|
|
74822
74929
|
utils_util["a" /* default */].ajax({
|
|
74823
74930
|
method: this.method,
|
|
74824
|
-
url: api["ac" /* uploadSort */],
|
|
74931
|
+
url: this.dochubConfig.sortDocumentsUrl || api["ac" /* uploadSort */],
|
|
74825
74932
|
data: {
|
|
74826
74933
|
ids: ids
|
|
74827
74934
|
},
|
|
@@ -74920,8 +75027,8 @@ var _props;
|
|
|
74920
75027
|
|
|
74921
75028
|
var upload_src_main_component = normalizeComponent(
|
|
74922
75029
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
74923
|
-
|
|
74924
|
-
|
|
75030
|
+
mainvue_type_template_id_2013892f_render,
|
|
75031
|
+
mainvue_type_template_id_2013892f_staticRenderFns,
|
|
74925
75032
|
false,
|
|
74926
75033
|
null,
|
|
74927
75034
|
null,
|
|
@@ -75414,7 +75521,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
75414
75521
|
}
|
|
75415
75522
|
|
|
75416
75523
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
75417
|
-
version: '0.5.
|
|
75524
|
+
version: '0.5.80',
|
|
75418
75525
|
install: install,
|
|
75419
75526
|
Button: packages_button,
|
|
75420
75527
|
ButtonGroup: button_group,
|