eoss-ui 0.5.94 → 0.5.96
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/data-table.js +28 -23
- package/lib/eoss-ui.common.js +539 -604
- package/lib/handler.js +201 -198
- package/lib/index.js +1 -1
- package/lib/login.js +116 -121
- package/lib/main.js +141 -218
- package/lib/table-form.js +8 -5
- package/lib/upload.js +8 -8
- package/lib/wujie.js +10 -4
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +7 -4
- package/packages/form/src/table.vue +3 -0
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +5 -6
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +20 -37
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +38 -38
- package/packages/main/src/main.vue +2 -89
- package/packages/main/src/simplicity/index.vue +67 -43
- package/packages/main/src/simplicity/router-page.vue +5 -4
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/upload/src/main.vue +8 -3
- package/packages/wujie/src/main.vue +10 -2
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -7025,8 +7025,8 @@ clients_src_main.install = function (Vue) {
|
|
|
7025
7025
|
};
|
|
7026
7026
|
|
|
7027
7027
|
/* harmony default export */ var clients = (clients_src_main);
|
|
7028
|
-
// 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=
|
|
7029
|
-
var
|
|
7028
|
+
// 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=24d19c7c&
|
|
7029
|
+
var mainvue_type_template_id_24d19c7c_render = function () {
|
|
7030
7030
|
var _vm = this
|
|
7031
7031
|
var _h = _vm.$createElement
|
|
7032
7032
|
var _c = _vm._self._c || _h
|
|
@@ -7199,25 +7199,27 @@ var mainvue_type_template_id_2e439cbf_render = function () {
|
|
|
7199
7199
|
})
|
|
7200
7200
|
: item.type === "index" ||
|
|
7201
7201
|
item.type === "selection"
|
|
7202
|
-
?
|
|
7203
|
-
|
|
7204
|
-
_vm._b(
|
|
7205
|
-
{
|
|
7206
|
-
key:
|
|
7207
|
-
item.key ||
|
|
7208
|
-
item.label ||
|
|
7209
|
-
item.title ||
|
|
7210
|
-
index,
|
|
7211
|
-
},
|
|
7202
|
+
? [
|
|
7203
|
+
_c(
|
|
7212
7204
|
"el-table-column",
|
|
7213
|
-
_vm.
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7205
|
+
_vm._b(
|
|
7206
|
+
{
|
|
7207
|
+
key:
|
|
7208
|
+
item.key ||
|
|
7209
|
+
item.label ||
|
|
7210
|
+
item.title ||
|
|
7211
|
+
index,
|
|
7212
|
+
},
|
|
7213
|
+
"el-table-column",
|
|
7214
|
+
_vm.dragSort
|
|
7215
|
+
? Object.assign({}, item, {
|
|
7216
|
+
fixed: false,
|
|
7217
|
+
})
|
|
7218
|
+
: item,
|
|
7219
|
+
false
|
|
7220
|
+
)
|
|
7221
|
+
),
|
|
7222
|
+
]
|
|
7221
7223
|
: [
|
|
7222
7224
|
_c(
|
|
7223
7225
|
"children",
|
|
@@ -7422,11 +7424,11 @@ var mainvue_type_template_id_2e439cbf_render = function () {
|
|
|
7422
7424
|
1
|
|
7423
7425
|
)
|
|
7424
7426
|
}
|
|
7425
|
-
var
|
|
7426
|
-
|
|
7427
|
+
var mainvue_type_template_id_24d19c7c_staticRenderFns = []
|
|
7428
|
+
mainvue_type_template_id_24d19c7c_render._withStripped = true
|
|
7427
7429
|
|
|
7428
7430
|
|
|
7429
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
7431
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=24d19c7c&
|
|
7430
7432
|
|
|
7431
7433
|
// 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=271bb842&
|
|
7432
7434
|
var childrenvue_type_template_id_271bb842_render = function () {
|
|
@@ -9793,6 +9795,9 @@ var data_table_src_mainvue_type_script_lang_js_extends = Object.assign || functi
|
|
|
9793
9795
|
//
|
|
9794
9796
|
//
|
|
9795
9797
|
//
|
|
9798
|
+
//
|
|
9799
|
+
//
|
|
9800
|
+
//
|
|
9796
9801
|
|
|
9797
9802
|
|
|
9798
9803
|
|
|
@@ -11260,8 +11265,8 @@ var pageView = utils_util["a" /* default */].getParams('pageView');
|
|
|
11260
11265
|
|
|
11261
11266
|
var data_table_src_main_component = normalizeComponent(
|
|
11262
11267
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
11263
|
-
|
|
11264
|
-
|
|
11268
|
+
mainvue_type_template_id_24d19c7c_render,
|
|
11269
|
+
mainvue_type_template_id_24d19c7c_staticRenderFns,
|
|
11265
11270
|
false,
|
|
11266
11271
|
null,
|
|
11267
11272
|
null,
|
|
@@ -39171,232 +39176,235 @@ handle_user_src_main.install = function (Vue) {
|
|
|
39171
39176
|
};
|
|
39172
39177
|
|
|
39173
39178
|
/* harmony default export */ var handle_user = (handle_user_src_main);
|
|
39174
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=
|
|
39175
|
-
var
|
|
39179
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=25b75938&
|
|
39180
|
+
var mainvue_type_template_id_25b75938_render = function () {
|
|
39176
39181
|
var _vm = this
|
|
39177
39182
|
var _h = _vm.$createElement
|
|
39178
39183
|
var _c = _vm._self._c || _h
|
|
39179
39184
|
return _c(
|
|
39180
39185
|
"ul",
|
|
39181
39186
|
{ staticClass: "es-handler" },
|
|
39182
|
-
|
|
39183
|
-
|
|
39184
|
-
|
|
39185
|
-
{ key: index, staticClass: "es-handler-item" },
|
|
39186
|
-
[
|
|
39187
|
+
[
|
|
39188
|
+
_vm._l(_vm.lists, function (item, index) {
|
|
39189
|
+
return [
|
|
39187
39190
|
!item.hide
|
|
39188
|
-
?
|
|
39189
|
-
|
|
39190
|
-
|
|
39191
|
-
|
|
39192
|
-
|
|
39193
|
-
|
|
39194
|
-
|
|
39195
|
-
"job-scrollbar": _vm.jobScrollbar,
|
|
39196
|
-
},
|
|
39197
|
-
on: {
|
|
39198
|
-
"visible-change": _vm.handleVisibleChange,
|
|
39199
|
-
click: _vm.handleClick,
|
|
39200
|
-
change: _vm.handleChange,
|
|
39201
|
-
},
|
|
39202
|
-
})
|
|
39203
|
-
: item.type === "date"
|
|
39204
|
-
? _c("div", { staticClass: "es-handler-date" }, [
|
|
39205
|
-
_c("div", [
|
|
39206
|
-
_vm._v(
|
|
39207
|
-
"\n " + _vm._s(_vm.time) + "\n "
|
|
39208
|
-
),
|
|
39209
|
-
_vm.show
|
|
39210
|
-
? _c("span", [
|
|
39211
|
-
_vm._v("当前"),
|
|
39212
|
-
_c(
|
|
39213
|
-
"span",
|
|
39214
|
-
{
|
|
39215
|
-
staticClass: "es-online-num",
|
|
39216
|
-
class: { "es-pointer": _vm.onlineList },
|
|
39217
|
-
on: {
|
|
39218
|
-
click: function ($event) {
|
|
39219
|
-
$event.stopPropagation()
|
|
39220
|
-
_vm.onlineList
|
|
39221
|
-
? _vm.handleClick({ type: "online" })
|
|
39222
|
-
: ""
|
|
39223
|
-
},
|
|
39224
|
-
},
|
|
39225
|
-
},
|
|
39226
|
-
[_vm._v(_vm._s(_vm.online))]
|
|
39227
|
-
),
|
|
39228
|
-
_vm._v("人在线"),
|
|
39229
|
-
])
|
|
39230
|
-
: _vm._e(),
|
|
39231
|
-
]),
|
|
39232
|
-
_c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
|
|
39233
|
-
])
|
|
39234
|
-
: item.type === "system"
|
|
39235
|
-
? _c(
|
|
39236
|
-
"el-popover",
|
|
39237
|
-
{
|
|
39238
|
-
ref: "system",
|
|
39239
|
-
refInFor: true,
|
|
39191
|
+
? _c(
|
|
39192
|
+
"li",
|
|
39193
|
+
{ key: index, staticClass: "es-handler-item" },
|
|
39194
|
+
[
|
|
39195
|
+
item.type === "user"
|
|
39196
|
+
? _c("es-handle-user", {
|
|
39197
|
+
staticClass: "es-handler-user",
|
|
39240
39198
|
attrs: {
|
|
39241
|
-
|
|
39242
|
-
|
|
39243
|
-
"
|
|
39244
|
-
_vm.system.length > 4
|
|
39245
|
-
? "es-popper-sub-system is-width"
|
|
39246
|
-
: "es-popper-sub-system",
|
|
39199
|
+
data: item,
|
|
39200
|
+
userModel: _vm.userModel,
|
|
39201
|
+
"job-scrollbar": _vm.jobScrollbar,
|
|
39247
39202
|
},
|
|
39248
39203
|
on: {
|
|
39249
|
-
|
|
39250
|
-
|
|
39204
|
+
"visible-change": _vm.handleVisibleChange,
|
|
39205
|
+
click: _vm.handleClick,
|
|
39206
|
+
change: _vm.handleChange,
|
|
39207
|
+
},
|
|
39208
|
+
})
|
|
39209
|
+
: item.type === "date"
|
|
39210
|
+
? _c("div", { staticClass: "es-handler-date" }, [
|
|
39211
|
+
_c("div", [
|
|
39212
|
+
_vm._v(
|
|
39213
|
+
"\n " + _vm._s(_vm.time) + "\n "
|
|
39214
|
+
),
|
|
39215
|
+
_vm.show
|
|
39216
|
+
? _c("span", [
|
|
39217
|
+
_vm._v("当前"),
|
|
39218
|
+
_c(
|
|
39219
|
+
"span",
|
|
39220
|
+
{
|
|
39221
|
+
staticClass: "es-online-num",
|
|
39222
|
+
class: { "es-pointer": _vm.onlineList },
|
|
39223
|
+
on: {
|
|
39224
|
+
click: function ($event) {
|
|
39225
|
+
$event.stopPropagation()
|
|
39226
|
+
_vm.onlineList
|
|
39227
|
+
? _vm.handleClick({ type: "online" })
|
|
39228
|
+
: ""
|
|
39229
|
+
},
|
|
39230
|
+
},
|
|
39231
|
+
},
|
|
39232
|
+
[_vm._v(_vm._s(_vm.online))]
|
|
39233
|
+
),
|
|
39234
|
+
_vm._v("人在线"),
|
|
39235
|
+
])
|
|
39236
|
+
: _vm._e(),
|
|
39237
|
+
]),
|
|
39238
|
+
_c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
|
|
39239
|
+
])
|
|
39240
|
+
: item.type === "system"
|
|
39241
|
+
? _c(
|
|
39242
|
+
"el-popover",
|
|
39243
|
+
{
|
|
39244
|
+
ref: "system",
|
|
39245
|
+
refInFor: true,
|
|
39246
|
+
attrs: {
|
|
39247
|
+
placement: "bottom",
|
|
39248
|
+
trigger: "hover",
|
|
39249
|
+
"popper-class":
|
|
39250
|
+
_vm.system.length > 4
|
|
39251
|
+
? "es-popper-sub-system is-width"
|
|
39252
|
+
: "es-popper-sub-system",
|
|
39251
39253
|
},
|
|
39252
|
-
|
|
39253
|
-
|
|
39254
|
+
on: {
|
|
39255
|
+
show: function ($event) {
|
|
39256
|
+
_vm.showPopper = true
|
|
39257
|
+
},
|
|
39258
|
+
hide: function ($event) {
|
|
39259
|
+
_vm.showPopper = false
|
|
39260
|
+
},
|
|
39254
39261
|
},
|
|
39255
39262
|
},
|
|
39256
|
-
|
|
39257
|
-
|
|
39258
|
-
|
|
39259
|
-
|
|
39260
|
-
|
|
39261
|
-
|
|
39262
|
-
|
|
39263
|
-
|
|
39264
|
-
|
|
39265
|
-
|
|
39266
|
-
|
|
39267
|
-
|
|
39268
|
-
|
|
39269
|
-
|
|
39270
|
-
|
|
39271
|
-
|
|
39272
|
-
|
|
39273
|
-
|
|
39274
|
-
|
|
39275
|
-
|
|
39276
|
-
|
|
39277
|
-
|
|
39278
|
-
0),
|
|
39279
|
-
},
|
|
39280
|
-
attrs: { title: ele.text },
|
|
39281
|
-
on: {
|
|
39282
|
-
click: function ($event) {
|
|
39283
|
-
$event.stopPropagation()
|
|
39284
|
-
_vm.handleSelect({ node: ele })
|
|
39263
|
+
[
|
|
39264
|
+
_vm.system.length
|
|
39265
|
+
? _c(
|
|
39266
|
+
"el-scrollbar",
|
|
39267
|
+
{ attrs: { "max-height": _vm.maxHeight } },
|
|
39268
|
+
[
|
|
39269
|
+
_c(
|
|
39270
|
+
"ul",
|
|
39271
|
+
{ staticClass: "es-sub-system" },
|
|
39272
|
+
_vm._l(_vm.system, function (ele) {
|
|
39273
|
+
return _c(
|
|
39274
|
+
"li",
|
|
39275
|
+
{
|
|
39276
|
+
key: ele.id,
|
|
39277
|
+
staticClass: "es-sub-system-item",
|
|
39278
|
+
class: {
|
|
39279
|
+
"es-disabled":
|
|
39280
|
+
(_vm.application &&
|
|
39281
|
+
!ele.hasPermission) ||
|
|
39282
|
+
(ele.extendData &&
|
|
39283
|
+
ele.extendData.businessStatus ==
|
|
39284
|
+
0),
|
|
39285
39285
|
},
|
|
39286
|
-
|
|
39287
|
-
|
|
39288
|
-
|
|
39289
|
-
|
|
39290
|
-
|
|
39291
|
-
{
|
|
39292
|
-
attrs: {
|
|
39293
|
-
"is-dot":
|
|
39294
|
-
typeof ele.tips === "boolean",
|
|
39295
|
-
hidden: !ele.tips,
|
|
39296
|
-
max: 99,
|
|
39297
|
-
value:
|
|
39298
|
-
typeof ele.tips !== "boolean"
|
|
39299
|
-
? ele.tips
|
|
39300
|
-
: 0,
|
|
39286
|
+
attrs: { title: ele.text },
|
|
39287
|
+
on: {
|
|
39288
|
+
click: function ($event) {
|
|
39289
|
+
$event.stopPropagation()
|
|
39290
|
+
_vm.handleSelect({ node: ele })
|
|
39301
39291
|
},
|
|
39302
39292
|
},
|
|
39303
|
-
|
|
39304
|
-
|
|
39305
|
-
|
|
39306
|
-
|
|
39307
|
-
|
|
39308
|
-
|
|
39309
|
-
"
|
|
39310
|
-
|
|
39311
|
-
|
|
39312
|
-
|
|
39313
|
-
|
|
39314
|
-
|
|
39315
|
-
|
|
39316
|
-
|
|
39317
|
-
_vm.unicode(ele.icons)
|
|
39318
|
-
? ""
|
|
39319
|
-
: ele.icons
|
|
39320
|
-
),
|
|
39293
|
+
},
|
|
39294
|
+
[
|
|
39295
|
+
_c(
|
|
39296
|
+
"el-badge",
|
|
39297
|
+
{
|
|
39298
|
+
attrs: {
|
|
39299
|
+
"is-dot":
|
|
39300
|
+
typeof ele.tips === "boolean",
|
|
39301
|
+
hidden: !ele.tips,
|
|
39302
|
+
max: 99,
|
|
39303
|
+
value:
|
|
39304
|
+
typeof ele.tips !== "boolean"
|
|
39305
|
+
? ele.tips
|
|
39306
|
+
: 0,
|
|
39321
39307
|
},
|
|
39322
|
-
}
|
|
39323
|
-
|
|
39324
|
-
|
|
39325
|
-
|
|
39326
|
-
|
|
39327
|
-
|
|
39328
|
-
|
|
39329
|
-
|
|
39330
|
-
|
|
39331
|
-
|
|
39332
|
-
|
|
39333
|
-
|
|
39334
|
-
|
|
39335
|
-
|
|
39336
|
-
|
|
39337
|
-
|
|
39338
|
-
|
|
39339
|
-
|
|
39340
|
-
|
|
39341
|
-
|
|
39342
|
-
|
|
39343
|
-
|
|
39344
|
-
|
|
39345
|
-
|
|
39346
|
-
|
|
39347
|
-
|
|
39348
|
-
|
|
39349
|
-
|
|
39350
|
-
|
|
39351
|
-
|
|
39352
|
-
|
|
39353
|
-
|
|
39354
|
-
|
|
39355
|
-
|
|
39356
|
-
|
|
39357
|
-
|
|
39358
|
-
|
|
39308
|
+
},
|
|
39309
|
+
[
|
|
39310
|
+
_c("i", {
|
|
39311
|
+
class: [
|
|
39312
|
+
_vm.unicode(ele.icons)
|
|
39313
|
+
? ele.icons
|
|
39314
|
+
: "es-icon",
|
|
39315
|
+
"es-sub-system-icon",
|
|
39316
|
+
{
|
|
39317
|
+
"es-icon-yingyong":
|
|
39318
|
+
!ele.icons,
|
|
39319
|
+
},
|
|
39320
|
+
],
|
|
39321
|
+
domProps: {
|
|
39322
|
+
innerHTML: _vm._s(
|
|
39323
|
+
_vm.unicode(ele.icons)
|
|
39324
|
+
? ""
|
|
39325
|
+
: ele.icons
|
|
39326
|
+
),
|
|
39327
|
+
},
|
|
39328
|
+
}),
|
|
39329
|
+
]
|
|
39330
|
+
),
|
|
39331
|
+
_c(
|
|
39332
|
+
"div",
|
|
39333
|
+
{
|
|
39334
|
+
staticClass:
|
|
39335
|
+
"es-sub-system-title",
|
|
39336
|
+
},
|
|
39337
|
+
[_vm._v(_vm._s(ele.text))]
|
|
39338
|
+
),
|
|
39339
|
+
],
|
|
39340
|
+
1
|
|
39341
|
+
)
|
|
39342
|
+
}),
|
|
39343
|
+
0
|
|
39344
|
+
),
|
|
39345
|
+
]
|
|
39346
|
+
)
|
|
39347
|
+
: _vm._e(),
|
|
39348
|
+
_c("div", {
|
|
39349
|
+
staticClass: "es-handler-icon",
|
|
39350
|
+
class: item.icon,
|
|
39351
|
+
attrs: { slot: "reference", title: item.title },
|
|
39352
|
+
slot: "reference",
|
|
39353
|
+
}),
|
|
39354
|
+
],
|
|
39355
|
+
1
|
|
39356
|
+
)
|
|
39357
|
+
: item.type === "notice"
|
|
39358
|
+
? _c(
|
|
39359
|
+
"el-badge",
|
|
39360
|
+
{
|
|
39361
|
+
staticClass: "es-badge",
|
|
39362
|
+
attrs: {
|
|
39363
|
+
value: _vm.notice,
|
|
39364
|
+
max: 99,
|
|
39365
|
+
hidden: _vm.notice === 0,
|
|
39366
|
+
},
|
|
39359
39367
|
},
|
|
39360
|
-
|
|
39361
|
-
|
|
39362
|
-
|
|
39363
|
-
|
|
39364
|
-
|
|
39365
|
-
|
|
39366
|
-
|
|
39367
|
-
|
|
39368
|
-
|
|
39369
|
-
|
|
39368
|
+
[
|
|
39369
|
+
_c("div", {
|
|
39370
|
+
staticClass: "es-handler-icon",
|
|
39371
|
+
class: item.icon,
|
|
39372
|
+
attrs: { title: item.title },
|
|
39373
|
+
on: {
|
|
39374
|
+
click: function ($event) {
|
|
39375
|
+
$event.stopPropagation()
|
|
39376
|
+
_vm.handleClick(item)
|
|
39377
|
+
},
|
|
39370
39378
|
},
|
|
39379
|
+
}),
|
|
39380
|
+
]
|
|
39381
|
+
)
|
|
39382
|
+
: _c("div", {
|
|
39383
|
+
staticClass: "es-handler-icon",
|
|
39384
|
+
class: item.icon,
|
|
39385
|
+
attrs: { title: item.title },
|
|
39386
|
+
on: {
|
|
39387
|
+
click: function ($event) {
|
|
39388
|
+
$event.stopPropagation()
|
|
39389
|
+
_vm.handleClick(item)
|
|
39371
39390
|
},
|
|
39372
|
-
}),
|
|
39373
|
-
]
|
|
39374
|
-
)
|
|
39375
|
-
: _c("div", {
|
|
39376
|
-
staticClass: "es-handler-icon",
|
|
39377
|
-
class: item.icon,
|
|
39378
|
-
attrs: { title: item.title },
|
|
39379
|
-
on: {
|
|
39380
|
-
click: function ($event) {
|
|
39381
|
-
$event.stopPropagation()
|
|
39382
|
-
_vm.handleClick(item)
|
|
39383
39391
|
},
|
|
39384
|
-
},
|
|
39385
|
-
|
|
39386
|
-
|
|
39392
|
+
}),
|
|
39393
|
+
],
|
|
39394
|
+
1
|
|
39395
|
+
)
|
|
39387
39396
|
: _vm._e(),
|
|
39388
|
-
]
|
|
39389
|
-
|
|
39390
|
-
|
|
39391
|
-
|
|
39392
|
-
0
|
|
39397
|
+
]
|
|
39398
|
+
}),
|
|
39399
|
+
],
|
|
39400
|
+
2
|
|
39393
39401
|
)
|
|
39394
39402
|
}
|
|
39395
|
-
var
|
|
39396
|
-
|
|
39403
|
+
var mainvue_type_template_id_25b75938_staticRenderFns = []
|
|
39404
|
+
mainvue_type_template_id_25b75938_render._withStripped = true
|
|
39397
39405
|
|
|
39398
39406
|
|
|
39399
|
-
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=
|
|
39407
|
+
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25b75938&
|
|
39400
39408
|
|
|
39401
39409
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
|
|
39402
39410
|
//
|
|
@@ -39691,7 +39699,7 @@ mainvue_type_template_id_2cddbcc4_render._withStripped = true
|
|
|
39691
39699
|
}).then(function () {
|
|
39692
39700
|
utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
39693
39701
|
if (res.rCode == 0) {
|
|
39694
|
-
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump'
|
|
39702
|
+
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
39695
39703
|
if (_this2.onQuit && typeof _this2.onQuit === 'function') {
|
|
39696
39704
|
_this2.onQuit();
|
|
39697
39705
|
} else {
|
|
@@ -39753,8 +39761,8 @@ mainvue_type_template_id_2cddbcc4_render._withStripped = true
|
|
|
39753
39761
|
|
|
39754
39762
|
var handler_src_main_component = normalizeComponent(
|
|
39755
39763
|
packages_handler_src_mainvue_type_script_lang_js_,
|
|
39756
|
-
|
|
39757
|
-
|
|
39764
|
+
mainvue_type_template_id_25b75938_render,
|
|
39765
|
+
mainvue_type_template_id_25b75938_staticRenderFns,
|
|
39758
39766
|
false,
|
|
39759
39767
|
null,
|
|
39760
39768
|
null,
|
|
@@ -41302,8 +41310,8 @@ layout_src_main.install = function (Vue) {
|
|
|
41302
41310
|
};
|
|
41303
41311
|
|
|
41304
41312
|
/* harmony default export */ var layout = (layout_src_main);
|
|
41305
|
-
// 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=
|
|
41306
|
-
var
|
|
41313
|
+
// 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=1151d028&
|
|
41314
|
+
var mainvue_type_template_id_1151d028_render = function () {
|
|
41307
41315
|
var _vm = this
|
|
41308
41316
|
var _h = _vm.$createElement
|
|
41309
41317
|
var _c = _vm._self._c || _h
|
|
@@ -42290,11 +42298,11 @@ var mainvue_type_template_id_e5f09a0a_render = function () {
|
|
|
42290
42298
|
)
|
|
42291
42299
|
: _vm._e()
|
|
42292
42300
|
}
|
|
42293
|
-
var
|
|
42294
|
-
|
|
42301
|
+
var mainvue_type_template_id_1151d028_staticRenderFns = []
|
|
42302
|
+
mainvue_type_template_id_1151d028_render._withStripped = true
|
|
42295
42303
|
|
|
42296
42304
|
|
|
42297
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
42305
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=1151d028&
|
|
42298
42306
|
|
|
42299
42307
|
// 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=cab38660&
|
|
42300
42308
|
var resetPasswordvue_type_template_id_cab38660_render = function () {
|
|
@@ -43692,20 +43700,16 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
43692
43700
|
showLaunch: false,
|
|
43693
43701
|
launchImages: this.launchImage,
|
|
43694
43702
|
launchKey: 'day',
|
|
43695
|
-
launchTime:
|
|
43696
|
-
type: Number,
|
|
43697
|
-
default: 3000
|
|
43698
|
-
}
|
|
43703
|
+
launchTime: 3000
|
|
43699
43704
|
};
|
|
43700
43705
|
},
|
|
43701
43706
|
beforeCreate: function beforeCreate() {
|
|
43702
43707
|
this.setScale = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
43703
43708
|
utils_util["a" /* default */].setScale();
|
|
43704
43709
|
});
|
|
43705
|
-
utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes'
|
|
43710
|
+
utils_util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
|
|
43706
43711
|
},
|
|
43707
43712
|
created: function created() {
|
|
43708
|
-
sessionStorage.setItem('launchImage', JSON.stringify(this.launchImages));
|
|
43709
43713
|
this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
|
|
43710
43714
|
if (ceshi == 'true' || ceshi == true) {
|
|
43711
43715
|
this.loginModel = '0';
|
|
@@ -43912,7 +43916,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
43912
43916
|
config = utils_util["a" /* default */].getStorage('initLogin');
|
|
43913
43917
|
|
|
43914
43918
|
if (config) {
|
|
43915
|
-
_this4.setConfig(config);
|
|
43919
|
+
_this4.setConfig(JSON.parse(config));
|
|
43916
43920
|
}
|
|
43917
43921
|
_context.next = 4;
|
|
43918
43922
|
return utils_util["a" /* default */].ajax({ url: _this4.initLogin }).then(function (res) {
|
|
@@ -43947,8 +43951,6 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
43947
43951
|
}))();
|
|
43948
43952
|
},
|
|
43949
43953
|
setConfig: function setConfig(res) {
|
|
43950
|
-
var _this5 = this;
|
|
43951
|
-
|
|
43952
43954
|
var isLogined = localStorage.getItem('isLogined');
|
|
43953
43955
|
this.identifyingId = res.identifyingId || '';
|
|
43954
43956
|
this.getImgCode();
|
|
@@ -43972,7 +43974,6 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
43972
43974
|
downloads['linux'] = res.linuxDownloadUrl;
|
|
43973
43975
|
}
|
|
43974
43976
|
this.sysName = res.subsystemName;
|
|
43975
|
-
sessionStorage.setItem('sysName', this.sysName);
|
|
43976
43977
|
this.secret = res.secret;
|
|
43977
43978
|
this.setup = res.setup;
|
|
43978
43979
|
this.downloadSetup = res.downloadSetup;
|
|
@@ -44045,19 +44046,15 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44045
44046
|
this.warningText = res.subsystemExtend.warningText;
|
|
44046
44047
|
}
|
|
44047
44048
|
if (res.subsystemExtend.launchTime) {
|
|
44048
|
-
|
|
44049
|
+
this.launchTime = parseInt(res.subsystemExtend.launchTime, 10);
|
|
44049
44050
|
}
|
|
44050
44051
|
if (res.subsystemExtend.launchImage) {
|
|
44051
44052
|
if (!this.launchShow) {
|
|
44052
44053
|
this.launchShow = true;
|
|
44053
|
-
setTimeout(function () {
|
|
44054
|
-
_this5.launchShow = false;
|
|
44055
|
-
}, res.subsystemExtend.launchTime ? parseInt(res.subsystemExtend.launchTime) : this.launchTime);
|
|
44056
44054
|
}
|
|
44057
44055
|
if (res.subsystemExtend.launchImage != 'true' && res.subsystemExtend.launchImage != true) {
|
|
44058
44056
|
this.launchImages = res.subsystemExtend.launchImage.indexOf('{') > -1 && res.subsystemExtend.launchImage.indexOf('}') > -1 ? JSON.parse(res.subsystemExtend.launchImage) : res.subsystemExtend.launchImage;
|
|
44059
44057
|
}
|
|
44060
|
-
sessionStorage.setItem('launchImage', JSON.stringify(this.launchImages));
|
|
44061
44058
|
}
|
|
44062
44059
|
}
|
|
44063
44060
|
this.passModifyModel = res.passModifyModel;
|
|
@@ -44078,7 +44075,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44078
44075
|
return this.imageCode;
|
|
44079
44076
|
},
|
|
44080
44077
|
getCode: function getCode() {
|
|
44081
|
-
var
|
|
44078
|
+
var _this5 = this;
|
|
44082
44079
|
|
|
44083
44080
|
if (this.countdown) {
|
|
44084
44081
|
return false;
|
|
@@ -44120,14 +44117,14 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44120
44117
|
}
|
|
44121
44118
|
this.countdown = 60;
|
|
44122
44119
|
this.timer = setInterval(function () {
|
|
44123
|
-
if (
|
|
44124
|
-
|
|
44125
|
-
|
|
44126
|
-
|
|
44120
|
+
if (_this5.countdown > 0) {
|
|
44121
|
+
_this5.countdown--;
|
|
44122
|
+
_this5.disabled = true;
|
|
44123
|
+
_this5.btnText = '重新获取' + _this5.countdown + 's';
|
|
44127
44124
|
} else {
|
|
44128
|
-
|
|
44129
|
-
|
|
44130
|
-
|
|
44125
|
+
_this5.btnText = '重新获取';
|
|
44126
|
+
_this5.disabled = false;
|
|
44127
|
+
_this5.submit = false;
|
|
44131
44128
|
}
|
|
44132
44129
|
}, 1000);
|
|
44133
44130
|
utils_util["a" /* default */].ajax({
|
|
@@ -44135,26 +44132,26 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44135
44132
|
url: this.active == 12 ? this.getTwoFactorLoginCode : this.getLoginCode,
|
|
44136
44133
|
data: data
|
|
44137
44134
|
}).then(function (res) {
|
|
44138
|
-
|
|
44135
|
+
_this5.$message({
|
|
44139
44136
|
message: res.msg,
|
|
44140
44137
|
duration: 2000,
|
|
44141
44138
|
type: res.rCode == 0 ? 'success' : 'error'
|
|
44142
44139
|
});
|
|
44143
44140
|
|
|
44144
44141
|
if (res.rCode === 2) {
|
|
44145
|
-
|
|
44146
|
-
|
|
44147
|
-
|
|
44148
|
-
clearInterval(
|
|
44142
|
+
_this5.btnText = '获取验证码';
|
|
44143
|
+
_this5.disabled = false;
|
|
44144
|
+
_this5.countdown = 0;
|
|
44145
|
+
clearInterval(_this5.timer);
|
|
44149
44146
|
}
|
|
44150
44147
|
}).catch(function (err) {
|
|
44151
44148
|
if (err.message && err.message !== 'canceled') {
|
|
44152
|
-
|
|
44149
|
+
_this5.$message.error(err.message);
|
|
44153
44150
|
}
|
|
44154
44151
|
});
|
|
44155
44152
|
},
|
|
44156
44153
|
handleLogin: function handleLogin() {
|
|
44157
|
-
var
|
|
44154
|
+
var _this6 = this;
|
|
44158
44155
|
|
|
44159
44156
|
if (this.submit) {
|
|
44160
44157
|
return false;
|
|
@@ -44162,40 +44159,40 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44162
44159
|
var ref = 'login' + this.active;
|
|
44163
44160
|
this.$refs[ref].validate(function (valid) {
|
|
44164
44161
|
if (valid) {
|
|
44165
|
-
|
|
44162
|
+
_this6.submit = true;
|
|
44166
44163
|
var param = utils_util["a" /* default */].getParams() || {};
|
|
44167
|
-
var data =
|
|
44168
|
-
username:
|
|
44169
|
-
password:
|
|
44170
|
-
data:
|
|
44171
|
-
key:
|
|
44172
|
-
}) :
|
|
44173
|
-
identifyingCode:
|
|
44174
|
-
identifyingId:
|
|
44175
|
-
} :
|
|
44176
|
-
username:
|
|
44177
|
-
password:
|
|
44178
|
-
data:
|
|
44179
|
-
key:
|
|
44180
|
-
}) :
|
|
44181
|
-
targetType:
|
|
44182
|
-
verificationCode:
|
|
44164
|
+
var data = _this6.active == '0' ? {
|
|
44165
|
+
username: _this6.formData.username,
|
|
44166
|
+
password: _this6.secret && _this6.isEncrypt ? utils_util["a" /* default */].esmEncrypt({
|
|
44167
|
+
data: _this6.formData.password,
|
|
44168
|
+
key: _this6.secret
|
|
44169
|
+
}) : _this6.formData.password,
|
|
44170
|
+
identifyingCode: _this6.formData.identifyingCode,
|
|
44171
|
+
identifyingId: _this6.identifyingId
|
|
44172
|
+
} : _this6.active == '12' ? {
|
|
44173
|
+
username: _this6.formData.username,
|
|
44174
|
+
password: _this6.secret && _this6.isEncrypt ? utils_util["a" /* default */].esmEncrypt({
|
|
44175
|
+
data: _this6.formData.password,
|
|
44176
|
+
key: _this6.secret
|
|
44177
|
+
}) : _this6.formData.password,
|
|
44178
|
+
targetType: _this6.passModifyModel.indexOf('11') > -1 ? 'EMAIL' : 'SMS',
|
|
44179
|
+
verificationCode: _this6.formData.identifyingCode
|
|
44183
44180
|
} : {
|
|
44184
|
-
target:
|
|
44185
|
-
verificationCode:
|
|
44186
|
-
targetType:
|
|
44181
|
+
target: _this6.formData.target,
|
|
44182
|
+
verificationCode: _this6.formData.verificationCode,
|
|
44183
|
+
targetType: _this6.active == '6' ? 'SMS' : 'EMAIL'
|
|
44187
44184
|
};
|
|
44188
|
-
if (
|
|
44189
|
-
if (
|
|
44190
|
-
|
|
44185
|
+
if (_this6.onLogin) {
|
|
44186
|
+
if (_this6.active == '0') {
|
|
44187
|
+
_this6.onLogin(login_src_mainvue_type_script_lang_js_extends({}, param, data), _this6.getImgCode, _this6.handleRemember);
|
|
44191
44188
|
} else {
|
|
44192
|
-
|
|
44189
|
+
_this6.onLogin(login_src_mainvue_type_script_lang_js_extends({}, param, data));
|
|
44193
44190
|
}
|
|
44194
44191
|
} else {
|
|
44195
|
-
|
|
44192
|
+
_this6.handleUserLogin(login_src_mainvue_type_script_lang_js_extends({}, param, _this6.param, data));
|
|
44196
44193
|
}
|
|
44197
44194
|
} else {
|
|
44198
|
-
|
|
44195
|
+
_this6.submit = false;
|
|
44199
44196
|
return false;
|
|
44200
44197
|
}
|
|
44201
44198
|
});
|
|
@@ -44211,7 +44208,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44211
44208
|
}
|
|
44212
44209
|
},
|
|
44213
44210
|
handleUserLogin: function handleUserLogin(data) {
|
|
44214
|
-
var
|
|
44211
|
+
var _this7 = this;
|
|
44215
44212
|
|
|
44216
44213
|
var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
|
|
44217
44214
|
utils_util["a" /* default */].ajax({
|
|
@@ -44219,68 +44216,68 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44219
44216
|
url: this.active == '0' ? this.actionUrl : this.active == '12' ? this.doTwoFactorLogin : this.doCodeLogin,
|
|
44220
44217
|
data: extUserBindHandleId ? login_src_mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
|
|
44221
44218
|
}).then(function (res) {
|
|
44222
|
-
|
|
44219
|
+
_this7.submit = false;
|
|
44223
44220
|
if (res.rCode == 0) {
|
|
44224
44221
|
utils_util["a" /* default */].removeStorage('extUserBindHandleId');
|
|
44225
|
-
|
|
44222
|
+
_this7.handleRemember();
|
|
44226
44223
|
var results = res.results;
|
|
44227
|
-
|
|
44228
|
-
if (
|
|
44229
|
-
|
|
44224
|
+
_this7.handleResults(results);
|
|
44225
|
+
if (_this7.onSuccess) {
|
|
44226
|
+
_this7.onSuccess(res);
|
|
44230
44227
|
}
|
|
44231
44228
|
} else {
|
|
44232
44229
|
var msg = res.results && res.results.msg ? res.results.msg : res.msg;
|
|
44233
|
-
|
|
44230
|
+
_this7.$message({
|
|
44234
44231
|
message: msg || '系统错误,请联系管理员!',
|
|
44235
44232
|
type: 'error',
|
|
44236
44233
|
duration: 1500,
|
|
44237
44234
|
onClose: function onClose() {
|
|
44238
|
-
|
|
44239
|
-
|
|
44240
|
-
|
|
44241
|
-
clearInterval(
|
|
44242
|
-
|
|
44235
|
+
_this7.btnText = '获取验证码';
|
|
44236
|
+
_this7.disabled = false;
|
|
44237
|
+
_this7.countdown = 0;
|
|
44238
|
+
clearInterval(_this7.timer);
|
|
44239
|
+
_this7.getImgCode();
|
|
44243
44240
|
}
|
|
44244
44241
|
});
|
|
44245
|
-
|
|
44242
|
+
_this7.onError(res);
|
|
44246
44243
|
}
|
|
44247
44244
|
}).catch(function (err) {
|
|
44248
|
-
|
|
44245
|
+
_this7.submit = false;
|
|
44249
44246
|
if (err.message && err.message !== 'canceled') {
|
|
44250
|
-
|
|
44247
|
+
_this7.$message.error(err.message);
|
|
44251
44248
|
}
|
|
44252
44249
|
});
|
|
44253
44250
|
},
|
|
44254
44251
|
caLogin: function caLogin(signedData) {
|
|
44255
|
-
var
|
|
44252
|
+
var _this8 = this;
|
|
44256
44253
|
|
|
44257
44254
|
utils_util["a" /* default */].ajax({
|
|
44258
44255
|
method: 'post',
|
|
44259
44256
|
url: this.caAction,
|
|
44260
44257
|
data: { identifyingId: this.identifyingId, signedData: signedData }
|
|
44261
44258
|
}).then(function (res) {
|
|
44262
|
-
|
|
44259
|
+
_this8.submit = false;
|
|
44263
44260
|
if (res.rCode == 0) {
|
|
44264
44261
|
var results = res.results;
|
|
44265
|
-
|
|
44266
|
-
if (
|
|
44267
|
-
|
|
44262
|
+
_this8.handleResults(results);
|
|
44263
|
+
if (_this8.onSuccess) {
|
|
44264
|
+
_this8.onSuccess(res);
|
|
44268
44265
|
}
|
|
44269
44266
|
} else {
|
|
44270
44267
|
var msg = res.results && res.results.msg ? res.results.msg : res.msg;
|
|
44271
|
-
|
|
44268
|
+
_this8.$message({
|
|
44272
44269
|
message: msg || '系统错误,请联系管理员!',
|
|
44273
44270
|
type: 'error',
|
|
44274
44271
|
duration: 1500,
|
|
44275
44272
|
onClose: function onClose() {
|
|
44276
|
-
|
|
44273
|
+
_this8.getImgCode();
|
|
44277
44274
|
}
|
|
44278
44275
|
});
|
|
44279
|
-
|
|
44276
|
+
_this8.onError(res);
|
|
44280
44277
|
}
|
|
44281
44278
|
}).catch(function (err) {
|
|
44282
44279
|
if (err.message && err.message !== 'canceled') {
|
|
44283
|
-
|
|
44280
|
+
_this8.$message.error(err.message);
|
|
44284
44281
|
}
|
|
44285
44282
|
});
|
|
44286
44283
|
},
|
|
@@ -44297,17 +44294,17 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44297
44294
|
|
|
44298
44295
|
//获取app登录信息
|
|
44299
44296
|
loginInfo: function loginInfo(res) {
|
|
44300
|
-
var
|
|
44297
|
+
var _this9 = this;
|
|
44301
44298
|
|
|
44302
44299
|
clearTimeout(this.interval);
|
|
44303
44300
|
if (res) {
|
|
44304
44301
|
this.interval = setTimeout(function () {
|
|
44305
|
-
|
|
44302
|
+
_this9.initRequestLoginInfo();
|
|
44306
44303
|
}, this.scanIntervalTime);
|
|
44307
44304
|
}
|
|
44308
44305
|
},
|
|
44309
44306
|
initRequestLoginInfo: function initRequestLoginInfo() {
|
|
44310
|
-
var
|
|
44307
|
+
var _this10 = this;
|
|
44311
44308
|
|
|
44312
44309
|
if (this.identifyingId == '') {
|
|
44313
44310
|
return false;
|
|
@@ -44322,21 +44319,21 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44322
44319
|
if (res.rCode === 0) {
|
|
44323
44320
|
var results = res.results;
|
|
44324
44321
|
if (results.statusCode === 0) {
|
|
44325
|
-
clearTimeout(
|
|
44326
|
-
|
|
44322
|
+
clearTimeout(_this10.interval);
|
|
44323
|
+
_this10.handleResults(results, 3);
|
|
44327
44324
|
} else {
|
|
44328
|
-
|
|
44325
|
+
_this10.loginInfo(true);
|
|
44329
44326
|
}
|
|
44330
44327
|
}
|
|
44331
44328
|
}).catch(function (err) {
|
|
44332
|
-
clearTimeout(
|
|
44329
|
+
clearTimeout(_this10.interval);
|
|
44333
44330
|
if (err.message && err.message !== 'canceled') {
|
|
44334
|
-
|
|
44331
|
+
_this10.$message.error(err.message);
|
|
44335
44332
|
}
|
|
44336
44333
|
});
|
|
44337
44334
|
},
|
|
44338
44335
|
handleResults: function handleResults(results, type) {
|
|
44339
|
-
var
|
|
44336
|
+
var _this11 = this;
|
|
44340
44337
|
|
|
44341
44338
|
switch (results.statusCode) {
|
|
44342
44339
|
case 0:
|
|
@@ -44353,7 +44350,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44353
44350
|
useCaseCodes: results.resourceCodes
|
|
44354
44351
|
}
|
|
44355
44352
|
});
|
|
44356
|
-
if (this.launchShow
|
|
44353
|
+
if (this.launchShow) {
|
|
44357
44354
|
this.$message({
|
|
44358
44355
|
message: '登录成功!',
|
|
44359
44356
|
type: 'success',
|
|
@@ -44361,26 +44358,32 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44361
44358
|
});
|
|
44362
44359
|
this.showLaunch = true;
|
|
44363
44360
|
setTimeout(function () {
|
|
44364
|
-
|
|
44365
|
-
|
|
44366
|
-
|
|
44361
|
+
if (_this11.toUrl) {
|
|
44362
|
+
window.location.href = _this11.toUrl;
|
|
44363
|
+
} else if (results.doorIndex && _this11.doorIndex) {
|
|
44364
|
+
sessionStorage.setItem('doorIndex', results.doorIndex);
|
|
44365
|
+
localStorage.setItem('isLogined', true);
|
|
44366
|
+
window.location.href = results.doorIndex;
|
|
44367
44367
|
} else {
|
|
44368
|
-
|
|
44368
|
+
if (window.location.href.indexOf('login.html') > -1) {
|
|
44369
|
+
window.location.href = './main.html';
|
|
44370
|
+
} else {
|
|
44371
|
+
_this11.$router.push({ name: 'main' });
|
|
44372
|
+
_this11.$nextTick(function () {
|
|
44373
|
+
_this11.showLaunch = false;
|
|
44374
|
+
});
|
|
44375
|
+
}
|
|
44369
44376
|
}
|
|
44370
|
-
|
|
44371
|
-
}, 3000);
|
|
44377
|
+
}, this.launchTime);
|
|
44372
44378
|
} else {
|
|
44373
|
-
if (this.launchShow) {
|
|
44374
|
-
sessionStorage.setItem('launch', this.launchShow);
|
|
44375
|
-
}
|
|
44376
44379
|
this.$message({
|
|
44377
44380
|
message: '登录成功!',
|
|
44378
44381
|
type: 'success',
|
|
44379
44382
|
duration: 1500,
|
|
44380
44383
|
onClose: function onClose() {
|
|
44381
|
-
if (
|
|
44382
|
-
window.location.href =
|
|
44383
|
-
} else if (results.doorIndex &&
|
|
44384
|
+
if (_this11.toUrl) {
|
|
44385
|
+
window.location.href = _this11.toUrl;
|
|
44386
|
+
} else if (results.doorIndex && _this11.doorIndex) {
|
|
44384
44387
|
sessionStorage.setItem('doorIndex', results.doorIndex);
|
|
44385
44388
|
localStorage.setItem('isLogined', true);
|
|
44386
44389
|
window.location.href = results.doorIndex;
|
|
@@ -44388,7 +44391,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44388
44391
|
if (window.location.href.indexOf('login.html') > -1) {
|
|
44389
44392
|
window.location.href = './main.html';
|
|
44390
44393
|
} else {
|
|
44391
|
-
|
|
44394
|
+
_this11.$router.push({ name: 'main' });
|
|
44392
44395
|
}
|
|
44393
44396
|
}
|
|
44394
44397
|
}
|
|
@@ -44401,11 +44404,11 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44401
44404
|
//cancelButtonText: '取消',
|
|
44402
44405
|
type: 'warning'
|
|
44403
44406
|
}).then(function () {
|
|
44404
|
-
|
|
44405
|
-
if (typeof
|
|
44406
|
-
utils_util["a" /* default */].win.open(
|
|
44407
|
+
_this11.operationCheckCode = results.checkCode;
|
|
44408
|
+
if (typeof _this11.forget === 'string') {
|
|
44409
|
+
utils_util["a" /* default */].win.open(_this11.forgetUrl);
|
|
44407
44410
|
} else {
|
|
44408
|
-
|
|
44411
|
+
_this11.showResetPassword = true;
|
|
44409
44412
|
}
|
|
44410
44413
|
}).catch(function (e) {});
|
|
44411
44414
|
break;
|
|
@@ -44446,13 +44449,13 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44446
44449
|
type: 'error',
|
|
44447
44450
|
duration: 1500,
|
|
44448
44451
|
onClose: function onClose() {
|
|
44449
|
-
if (
|
|
44452
|
+
if (_this11.code) {
|
|
44450
44453
|
window.location.href = utils_util["a" /* default */].delUrlParam({ key: 'code' });
|
|
44451
44454
|
if (window.location.hash) {
|
|
44452
44455
|
location.reload();
|
|
44453
44456
|
}
|
|
44454
44457
|
} else {
|
|
44455
|
-
|
|
44458
|
+
_this11.getImgCode();
|
|
44456
44459
|
}
|
|
44457
44460
|
}
|
|
44458
44461
|
});
|
|
@@ -44462,15 +44465,15 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44462
44465
|
}
|
|
44463
44466
|
},
|
|
44464
44467
|
handleAssistance: function handleAssistance(data) {
|
|
44465
|
-
var
|
|
44468
|
+
var _this12 = this;
|
|
44466
44469
|
|
|
44467
44470
|
clearTimeout(this.doAssistance);
|
|
44468
44471
|
this.doAssistance = setTimeout(function () {
|
|
44469
|
-
|
|
44472
|
+
_this12.doAssistanceLogin(data);
|
|
44470
44473
|
}, this.scanIntervalTime);
|
|
44471
44474
|
},
|
|
44472
44475
|
doAssistanceLogin: function doAssistanceLogin(data) {
|
|
44473
|
-
var
|
|
44476
|
+
var _this13 = this;
|
|
44474
44477
|
|
|
44475
44478
|
utils_util["a" /* default */].ajax({
|
|
44476
44479
|
method: 'post',
|
|
@@ -44480,19 +44483,19 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44480
44483
|
if (res.rCode === 0) {
|
|
44481
44484
|
var results = res.results;
|
|
44482
44485
|
if (results.statusCode === 0) {
|
|
44483
|
-
clearTimeout(
|
|
44484
|
-
|
|
44486
|
+
clearTimeout(_this13.doAssistance);
|
|
44487
|
+
_this13.handleResults(results, 3);
|
|
44485
44488
|
} else {
|
|
44486
|
-
|
|
44489
|
+
_this13.handleAssistance(data);
|
|
44487
44490
|
}
|
|
44488
44491
|
} else {
|
|
44489
|
-
clearTimeout(
|
|
44490
|
-
|
|
44492
|
+
clearTimeout(_this13.doAssistance);
|
|
44493
|
+
_this13.$message.error(res.msg);
|
|
44491
44494
|
}
|
|
44492
44495
|
}).catch(function (err) {
|
|
44493
|
-
clearTimeout(
|
|
44496
|
+
clearTimeout(_this13.doAssistance);
|
|
44494
44497
|
if (err.message && err.message !== 'canceled') {
|
|
44495
|
-
|
|
44498
|
+
_this13.$message.error(err.message);
|
|
44496
44499
|
}
|
|
44497
44500
|
});
|
|
44498
44501
|
},
|
|
@@ -44529,8 +44532,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44529
44532
|
|
|
44530
44533
|
var login_src_main_component = normalizeComponent(
|
|
44531
44534
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
44532
|
-
|
|
44533
|
-
|
|
44535
|
+
mainvue_type_template_id_1151d028_render,
|
|
44536
|
+
mainvue_type_template_id_1151d028_staticRenderFns,
|
|
44534
44537
|
false,
|
|
44535
44538
|
null,
|
|
44536
44539
|
null,
|
|
@@ -44547,8 +44550,8 @@ login_src_main.install = function (Vue) {
|
|
|
44547
44550
|
};
|
|
44548
44551
|
|
|
44549
44552
|
/* harmony default export */ var login = (login_src_main);
|
|
44550
|
-
// 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=
|
|
44551
|
-
var
|
|
44553
|
+
// 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=f52b5d68&
|
|
44554
|
+
var mainvue_type_template_id_f52b5d68_render = function () {
|
|
44552
44555
|
var _vm = this
|
|
44553
44556
|
var _h = _vm.$createElement
|
|
44554
44557
|
var _c = _vm._self._c || _h
|
|
@@ -44613,43 +44616,18 @@ var mainvue_type_template_id_24977ea8_render = function () {
|
|
|
44613
44616
|
]
|
|
44614
44617
|
)
|
|
44615
44618
|
}),
|
|
44616
|
-
_c("transition", { attrs: { name: "launch-fade" } }, [
|
|
44617
|
-
_c(
|
|
44618
|
-
"div",
|
|
44619
|
-
{
|
|
44620
|
-
directives: [
|
|
44621
|
-
{
|
|
44622
|
-
name: "show",
|
|
44623
|
-
rawName: "v-show",
|
|
44624
|
-
value: _vm.launchShow,
|
|
44625
|
-
expression: "launchShow",
|
|
44626
|
-
},
|
|
44627
|
-
],
|
|
44628
|
-
staticClass: "es-launch-image",
|
|
44629
|
-
style: _vm._launchImage,
|
|
44630
|
-
},
|
|
44631
|
-
[
|
|
44632
|
-
_c("p", { staticClass: "es-launch-text es-launch-user-name" }, [
|
|
44633
|
-
_vm._v(_vm._s(_vm.userName) + ",你好!"),
|
|
44634
|
-
]),
|
|
44635
|
-
_c("p", { staticClass: "es-launch-text es-launch-system-name" }, [
|
|
44636
|
-
_vm._v("\n 欢迎进入" + _vm._s(_vm.sysName) + "\n "),
|
|
44637
|
-
]),
|
|
44638
|
-
]
|
|
44639
|
-
),
|
|
44640
|
-
]),
|
|
44641
44619
|
],
|
|
44642
44620
|
2
|
|
44643
44621
|
)
|
|
44644
44622
|
}
|
|
44645
|
-
var
|
|
44646
|
-
|
|
44623
|
+
var mainvue_type_template_id_f52b5d68_staticRenderFns = []
|
|
44624
|
+
mainvue_type_template_id_f52b5d68_render._withStripped = true
|
|
44647
44625
|
|
|
44648
44626
|
|
|
44649
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
44627
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=f52b5d68&
|
|
44650
44628
|
|
|
44651
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
44652
|
-
var
|
|
44629
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=03f1f7f2&scoped=true&
|
|
44630
|
+
var simplicityvue_type_template_id_03f1f7f2_scoped_true_render = function () {
|
|
44653
44631
|
var _vm = this
|
|
44654
44632
|
var _h = _vm.$createElement
|
|
44655
44633
|
var _c = _vm._self._c || _h
|
|
@@ -44956,6 +44934,7 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
44956
44934
|
: [
|
|
44957
44935
|
_c("es-wujie", {
|
|
44958
44936
|
attrs: {
|
|
44937
|
+
host: _vm.host,
|
|
44959
44938
|
show: true,
|
|
44960
44939
|
props: _vm.wjProps,
|
|
44961
44940
|
attrs: _vm.wjAttrs,
|
|
@@ -45132,8 +45111,17 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
45132
45111
|
attrs: { label: item.text || item.name, name: item.id },
|
|
45133
45112
|
},
|
|
45134
45113
|
[
|
|
45135
|
-
|
|
45136
|
-
|
|
45114
|
+
item.method === "router"
|
|
45115
|
+
? _c(
|
|
45116
|
+
"router-page",
|
|
45117
|
+
_vm._b(
|
|
45118
|
+
{ attrs: { query: _vm.$parent.params } },
|
|
45119
|
+
"router-page",
|
|
45120
|
+
item,
|
|
45121
|
+
false
|
|
45122
|
+
)
|
|
45123
|
+
)
|
|
45124
|
+
: _vm.isIE || item.method == "iframe"
|
|
45137
45125
|
? _c("iframe", {
|
|
45138
45126
|
attrs: {
|
|
45139
45127
|
id: _vm.activeName == item.id ? _vm.iframeId : "",
|
|
@@ -45144,9 +45132,10 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
45144
45132
|
src: item.url,
|
|
45145
45133
|
},
|
|
45146
45134
|
})
|
|
45147
|
-
: item.method === "wujie"
|
|
45135
|
+
: item.method === "wujie"
|
|
45148
45136
|
? _c("es-wujie", {
|
|
45149
45137
|
attrs: {
|
|
45138
|
+
host: _vm.host,
|
|
45150
45139
|
show: true,
|
|
45151
45140
|
props: _vm.wjProps,
|
|
45152
45141
|
attrs: _vm.wjAttrs,
|
|
@@ -45154,16 +45143,6 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
45154
45143
|
url: item.url,
|
|
45155
45144
|
},
|
|
45156
45145
|
})
|
|
45157
|
-
: item.method === "router" && item.refresh
|
|
45158
|
-
? _c(
|
|
45159
|
-
"router-page",
|
|
45160
|
-
_vm._b(
|
|
45161
|
-
{ attrs: { query: _vm.$parent.params } },
|
|
45162
|
-
"router-page",
|
|
45163
|
-
item,
|
|
45164
|
-
false
|
|
45165
|
-
)
|
|
45166
|
-
)
|
|
45167
45146
|
: _vm._e(),
|
|
45168
45147
|
],
|
|
45169
45148
|
1
|
|
@@ -45275,11 +45254,11 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
45275
45254
|
),
|
|
45276
45255
|
])
|
|
45277
45256
|
}
|
|
45278
|
-
var
|
|
45279
|
-
|
|
45257
|
+
var simplicityvue_type_template_id_03f1f7f2_scoped_true_staticRenderFns = []
|
|
45258
|
+
simplicityvue_type_template_id_03f1f7f2_scoped_true_render._withStripped = true
|
|
45280
45259
|
|
|
45281
45260
|
|
|
45282
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
45261
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=03f1f7f2&scoped=true&
|
|
45283
45262
|
|
|
45284
45263
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
|
|
45285
45264
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -48971,22 +48950,28 @@ var settings_component = normalizeComponent(
|
|
|
48971
48950
|
)
|
|
48972
48951
|
|
|
48973
48952
|
/* harmony default export */ var settings = (settings_component.exports);
|
|
48974
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/router-page.vue?vue&type=template&id=
|
|
48975
|
-
var
|
|
48953
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/router-page.vue?vue&type=template&id=31352afe&scoped=true&
|
|
48954
|
+
var router_pagevue_type_template_id_31352afe_scoped_true_render = function () {
|
|
48976
48955
|
var _vm = this
|
|
48977
48956
|
var _h = _vm.$createElement
|
|
48978
48957
|
var _c = _vm._self._c || _h
|
|
48979
48958
|
return _c(
|
|
48980
|
-
"
|
|
48981
|
-
|
|
48959
|
+
"div",
|
|
48960
|
+
{ staticStyle: { height: "100%" } },
|
|
48961
|
+
[
|
|
48962
|
+
_c("router-view", {
|
|
48963
|
+
key: _vm.keys || _vm.appCode,
|
|
48964
|
+
attrs: { name: _vm.appCode },
|
|
48965
|
+
}),
|
|
48966
|
+
],
|
|
48982
48967
|
1
|
|
48983
48968
|
)
|
|
48984
48969
|
}
|
|
48985
|
-
var
|
|
48986
|
-
|
|
48970
|
+
var router_pagevue_type_template_id_31352afe_scoped_true_staticRenderFns = []
|
|
48971
|
+
router_pagevue_type_template_id_31352afe_scoped_true_render._withStripped = true
|
|
48987
48972
|
|
|
48988
48973
|
|
|
48989
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=template&id=
|
|
48974
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=template&id=31352afe&scoped=true&
|
|
48990
48975
|
|
|
48991
48976
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
|
|
48992
48977
|
var router_pagevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -49011,7 +48996,8 @@ var router_pagevue_type_script_lang_js_extends = Object.assign || function (targ
|
|
|
49011
48996
|
default: function _default() {
|
|
49012
48997
|
return {};
|
|
49013
48998
|
}
|
|
49014
|
-
}
|
|
48999
|
+
},
|
|
49000
|
+
keys: String
|
|
49015
49001
|
},
|
|
49016
49002
|
data: function data() {
|
|
49017
49003
|
return {};
|
|
@@ -49046,11 +49032,11 @@ var router_pagevue_type_script_lang_js_extends = Object.assign || function (targ
|
|
|
49046
49032
|
|
|
49047
49033
|
var router_page_component = normalizeComponent(
|
|
49048
49034
|
simplicity_router_pagevue_type_script_lang_js_,
|
|
49049
|
-
|
|
49050
|
-
|
|
49035
|
+
router_pagevue_type_template_id_31352afe_scoped_true_render,
|
|
49036
|
+
router_pagevue_type_template_id_31352afe_scoped_true_staticRenderFns,
|
|
49051
49037
|
false,
|
|
49052
49038
|
null,
|
|
49053
|
-
"
|
|
49039
|
+
"31352afe",
|
|
49054
49040
|
null
|
|
49055
49041
|
|
|
49056
49042
|
)
|
|
@@ -50374,6 +50360,8 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
50374
50360
|
//
|
|
50375
50361
|
//
|
|
50376
50362
|
//
|
|
50363
|
+
//
|
|
50364
|
+
//
|
|
50377
50365
|
|
|
50378
50366
|
|
|
50379
50367
|
|
|
@@ -50396,11 +50384,12 @@ var events = [function (tabs, index, that) {
|
|
|
50396
50384
|
|
|
50397
50385
|
if (tab.method == 'iframe') {
|
|
50398
50386
|
tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
50399
|
-
}
|
|
50400
|
-
|
|
50401
|
-
|
|
50402
|
-
|
|
50403
|
-
|
|
50387
|
+
}
|
|
50388
|
+
if (tab.method === 'wujie' && tab.appCode) {
|
|
50389
|
+
window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
|
|
50390
|
+
}
|
|
50391
|
+
if (tab.method === 'router') {
|
|
50392
|
+
that.$set(tabs[index], 'keys', utils_util["a" /* default */].uuid());
|
|
50404
50393
|
}
|
|
50405
50394
|
return tabs;
|
|
50406
50395
|
}, function (tabs, index, that) {
|
|
@@ -50550,7 +50539,13 @@ var events = [function (tabs, index, that) {
|
|
|
50550
50539
|
default: 220
|
|
50551
50540
|
},
|
|
50552
50541
|
//路由方式
|
|
50553
|
-
routeType: String
|
|
50542
|
+
routeType: String,
|
|
50543
|
+
host: {
|
|
50544
|
+
type: String,
|
|
50545
|
+
default: function _default() {
|
|
50546
|
+
return sessionStorage.getItem('host') || '';
|
|
50547
|
+
}
|
|
50548
|
+
}
|
|
50554
50549
|
},
|
|
50555
50550
|
data: function data() {
|
|
50556
50551
|
return {
|
|
@@ -51080,12 +51075,12 @@ var events = [function (tabs, index, that) {
|
|
|
51080
51075
|
setIframeType: function setIframeType(res) {
|
|
51081
51076
|
var url = res.url;
|
|
51082
51077
|
|
|
51083
|
-
if (url) {
|
|
51084
|
-
res.refresh = false;
|
|
51085
|
-
}
|
|
51086
51078
|
var urls = url.split('?');
|
|
51087
51079
|
if (urls[0].indexOf('.js') > 1 && !isIE) {
|
|
51088
51080
|
res.method = 'wujie';
|
|
51081
|
+
if (!res.appCode) {
|
|
51082
|
+
res.appCode = 'application_' + Date.now();
|
|
51083
|
+
}
|
|
51089
51084
|
} else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
|
|
51090
51085
|
res.method = 'iframe';
|
|
51091
51086
|
} else {
|
|
@@ -51098,6 +51093,7 @@ var events = [function (tabs, index, that) {
|
|
|
51098
51093
|
if (path && this.routeType !== 'wujie') {
|
|
51099
51094
|
res.method = 'router';
|
|
51100
51095
|
res.path = path;
|
|
51096
|
+
res.keys = utils_util["a" /* default */].uuid();
|
|
51101
51097
|
} else {
|
|
51102
51098
|
var urlopenmode = utils_util["a" /* default */].getParams({
|
|
51103
51099
|
url: url,
|
|
@@ -51107,18 +51103,21 @@ var events = [function (tabs, index, that) {
|
|
|
51107
51103
|
res.method = 'iframe';
|
|
51108
51104
|
} else {
|
|
51109
51105
|
res.method = 'wujie';
|
|
51106
|
+
if (!res.appCode) {
|
|
51107
|
+
res.appCode = 'application_' + Date.now();
|
|
51108
|
+
}
|
|
51110
51109
|
}
|
|
51111
51110
|
}
|
|
51112
51111
|
} else if (urls[0].indexOf('.html') > -1 && urls[0].indexOf('#/') > -1 || urls[0].indexOf('/#/') > -1) {
|
|
51113
51112
|
res.method = 'wujie';
|
|
51113
|
+
if (!res.appCode) {
|
|
51114
|
+
res.appCode = 'application_' + Date.now();
|
|
51115
|
+
}
|
|
51114
51116
|
} else {
|
|
51115
51117
|
res.method = 'iframe';
|
|
51116
51118
|
}
|
|
51117
51119
|
}
|
|
51118
51120
|
}
|
|
51119
|
-
if (Object.prototype.hasOwnProperty.call(res, 'refresh')) {
|
|
51120
|
-
res.refresh = true;
|
|
51121
|
-
}
|
|
51122
51121
|
return res;
|
|
51123
51122
|
},
|
|
51124
51123
|
|
|
@@ -51441,8 +51440,6 @@ var events = [function (tabs, index, that) {
|
|
|
51441
51440
|
* @date 2024年9月7日
|
|
51442
51441
|
**/
|
|
51443
51442
|
handlerClickMenu: function handlerClickMenu(res) {
|
|
51444
|
-
var _this5 = this;
|
|
51445
|
-
|
|
51446
51443
|
utils_util["a" /* default */].ajax({
|
|
51447
51444
|
url: api["mb" /* recordUserApp */],
|
|
51448
51445
|
params: {
|
|
@@ -51463,14 +51460,13 @@ var events = [function (tabs, index, that) {
|
|
|
51463
51460
|
this.activeName = res.id;
|
|
51464
51461
|
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab7.url));
|
|
51465
51462
|
} else {
|
|
51466
|
-
|
|
51467
|
-
|
|
51468
|
-
this.activeName = res.id;
|
|
51463
|
+
if (_tab7.method === 'wujie' && _tab7.appCode) {
|
|
51464
|
+
window.document.querySelector('iframe[name=' + _tab7.appCode + ']').contentWindow.location.reload(true);
|
|
51469
51465
|
}
|
|
51470
|
-
|
|
51471
|
-
|
|
51472
|
-
|
|
51473
|
-
|
|
51466
|
+
if (_tab7.method === 'router') {
|
|
51467
|
+
this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
|
|
51468
|
+
}
|
|
51469
|
+
this.activeName = res.id;
|
|
51474
51470
|
}
|
|
51475
51471
|
}
|
|
51476
51472
|
},
|
|
@@ -51521,8 +51517,6 @@ var events = [function (tabs, index, that) {
|
|
|
51521
51517
|
* @date 2024年9月7日
|
|
51522
51518
|
**/
|
|
51523
51519
|
handleRefresh: function handleRefresh() {
|
|
51524
|
-
var _this6 = this;
|
|
51525
|
-
|
|
51526
51520
|
var i = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
|
|
51527
51521
|
var tab = this.tabs[i];
|
|
51528
51522
|
if (tab.method === 'iframe') {
|
|
@@ -51531,11 +51525,12 @@ var events = [function (tabs, index, that) {
|
|
|
51531
51525
|
var _tab8 = this.tabs[i];
|
|
51532
51526
|
if (_tab8.method === 'iframe') {
|
|
51533
51527
|
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab8.url));
|
|
51534
|
-
}
|
|
51535
|
-
|
|
51536
|
-
|
|
51537
|
-
|
|
51538
|
-
|
|
51528
|
+
}
|
|
51529
|
+
if (_tab8.method === 'wujie' && _tab8.appCode) {
|
|
51530
|
+
window.document.querySelector('iframe[name=' + _tab8.appCode + ']').contentWindow.location.reload(true);
|
|
51531
|
+
}
|
|
51532
|
+
if (_tab8.method === 'router') {
|
|
51533
|
+
this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
|
|
51539
51534
|
}
|
|
51540
51535
|
}
|
|
51541
51536
|
},
|
|
@@ -51615,8 +51610,6 @@ var events = [function (tabs, index, that) {
|
|
|
51615
51610
|
* @date 2024年9月7日
|
|
51616
51611
|
**/
|
|
51617
51612
|
handleClick: function handleClick(res) {
|
|
51618
|
-
var _this7 = this;
|
|
51619
|
-
|
|
51620
51613
|
var type = res.type,
|
|
51621
51614
|
event = res.event,
|
|
51622
51615
|
open = res.open,
|
|
@@ -51661,11 +51654,12 @@ var events = [function (tabs, index, that) {
|
|
|
51661
51654
|
var tab = this.tabs[i];
|
|
51662
51655
|
if (tab.method === 'iframe') {
|
|
51663
51656
|
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(tab.url));
|
|
51664
|
-
}
|
|
51665
|
-
|
|
51666
|
-
|
|
51667
|
-
|
|
51668
|
-
|
|
51657
|
+
}
|
|
51658
|
+
if (tab.method === 'wujie' && tab.appCode) {
|
|
51659
|
+
window.document.querySelector('iframe[name=' + tab.appCode + ']').contentWindow.location.reload(true);
|
|
51660
|
+
}
|
|
51661
|
+
if (tab.method === 'router') {
|
|
51662
|
+
this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
|
|
51669
51663
|
}
|
|
51670
51664
|
}
|
|
51671
51665
|
this.activeName = this.homePage.id;
|
|
@@ -51695,7 +51689,7 @@ var events = [function (tabs, index, that) {
|
|
|
51695
51689
|
* @date 2024年9月7日
|
|
51696
51690
|
**/
|
|
51697
51691
|
handleQuit: function handleQuit() {
|
|
51698
|
-
var
|
|
51692
|
+
var _this5 = this;
|
|
51699
51693
|
|
|
51700
51694
|
this.$confirm('确定注销吗?', '退出系统', {
|
|
51701
51695
|
confirmButtonText: '确定',
|
|
@@ -51704,9 +51698,9 @@ var events = [function (tabs, index, that) {
|
|
|
51704
51698
|
}).then(function () {
|
|
51705
51699
|
utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
51706
51700
|
if (res.rCode == 0) {
|
|
51707
|
-
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump'
|
|
51708
|
-
if (
|
|
51709
|
-
|
|
51701
|
+
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
51702
|
+
if (_this5.onQuit && typeof _this5.onQuit === 'function') {
|
|
51703
|
+
_this5.onQuit();
|
|
51710
51704
|
} else {
|
|
51711
51705
|
try {
|
|
51712
51706
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
@@ -51744,7 +51738,7 @@ var events = [function (tabs, index, that) {
|
|
|
51744
51738
|
}
|
|
51745
51739
|
}).catch(function (err) {
|
|
51746
51740
|
if (err.message && err.message !== 'canceled') {
|
|
51747
|
-
|
|
51741
|
+
_this5.$message.error(err.message);
|
|
51748
51742
|
}
|
|
51749
51743
|
});
|
|
51750
51744
|
}).catch(function (e) {});
|
|
@@ -51789,21 +51783,19 @@ var events = [function (tabs, index, that) {
|
|
|
51789
51783
|
* @date 2024年9月7日
|
|
51790
51784
|
**/
|
|
51791
51785
|
handleOpened: function handleOpened(res) {
|
|
51792
|
-
var
|
|
51786
|
+
var _this6 = this;
|
|
51793
51787
|
|
|
51794
51788
|
if (res === undefined) {
|
|
51795
51789
|
this.sysMsg = [];
|
|
51796
51790
|
} else if (res == false && this.sysMsg.length) {
|
|
51797
51791
|
this.sysMsgOut = setTimeout(function () {
|
|
51798
|
-
|
|
51792
|
+
_this6.sysMsg = [];
|
|
51799
51793
|
}, 3000);
|
|
51800
51794
|
} else if (this.sysMsgOut) {
|
|
51801
51795
|
clearTimeout(this.sysMsgOut);
|
|
51802
51796
|
}
|
|
51803
51797
|
},
|
|
51804
51798
|
jumpMenu: function jumpMenu(res, close) {
|
|
51805
|
-
var _this10 = this;
|
|
51806
|
-
|
|
51807
51799
|
var apps = res;
|
|
51808
51800
|
if (typeof res === 'string') {
|
|
51809
51801
|
apps = res.split(',');
|
|
@@ -51821,11 +51813,12 @@ var events = [function (tabs, index, that) {
|
|
|
51821
51813
|
var _tab9 = this.tabs[i];
|
|
51822
51814
|
if (_tab9.method === 'iframe') {
|
|
51823
51815
|
this.$set(this.tabs[i], 'url', utils_util["a" /* default */].handlerUrl(_tab9.url));
|
|
51824
|
-
}
|
|
51825
|
-
|
|
51826
|
-
|
|
51827
|
-
|
|
51828
|
-
|
|
51816
|
+
}
|
|
51817
|
+
if (_tab9.method === 'wujie' && _tab9.appCode) {
|
|
51818
|
+
window.document.querySelector('iframe[name=' + _tab9.appCode + ']').contentWindow.location.reload(true);
|
|
51819
|
+
}
|
|
51820
|
+
if (_tab9.method === 'router') {
|
|
51821
|
+
this.$set(this.tabs[i], 'keys', utils_util["a" /* default */].uuid());
|
|
51829
51822
|
}
|
|
51830
51823
|
}
|
|
51831
51824
|
if (close) {
|
|
@@ -51845,13 +51838,13 @@ var events = [function (tabs, index, that) {
|
|
|
51845
51838
|
|
|
51846
51839
|
//监听改变菜单
|
|
51847
51840
|
handleListener: function handleListener() {
|
|
51848
|
-
var
|
|
51841
|
+
var _this7 = this;
|
|
51849
51842
|
|
|
51850
51843
|
utils_util["a" /* default */].win.addEventListener('message', function (e) {
|
|
51851
51844
|
var msg = e.data;
|
|
51852
51845
|
if (msg.key == 'jump_Menu') {
|
|
51853
51846
|
var res = msg.data1;
|
|
51854
|
-
|
|
51847
|
+
_this7.jumpMenu(res);
|
|
51855
51848
|
}
|
|
51856
51849
|
}, false);
|
|
51857
51850
|
},
|
|
@@ -51885,18 +51878,18 @@ var events = [function (tabs, index, that) {
|
|
|
51885
51878
|
|
|
51886
51879
|
var simplicity_component = normalizeComponent(
|
|
51887
51880
|
src_simplicityvue_type_script_lang_js_,
|
|
51888
|
-
|
|
51889
|
-
|
|
51881
|
+
simplicityvue_type_template_id_03f1f7f2_scoped_true_render,
|
|
51882
|
+
simplicityvue_type_template_id_03f1f7f2_scoped_true_staticRenderFns,
|
|
51890
51883
|
false,
|
|
51891
51884
|
null,
|
|
51892
|
-
"
|
|
51885
|
+
"03f1f7f2",
|
|
51893
51886
|
null
|
|
51894
51887
|
|
|
51895
51888
|
)
|
|
51896
51889
|
|
|
51897
51890
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
51898
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=
|
|
51899
|
-
var
|
|
51891
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=3c855b6a&
|
|
51892
|
+
var defaultvue_type_template_id_3c855b6a_render = function () {
|
|
51900
51893
|
var _vm = this
|
|
51901
51894
|
var _h = _vm.$createElement
|
|
51902
51895
|
var _c = _vm._self._c || _h
|
|
@@ -52283,11 +52276,11 @@ var defaultvue_type_template_id_3665477e_render = function () {
|
|
|
52283
52276
|
1
|
|
52284
52277
|
)
|
|
52285
52278
|
}
|
|
52286
|
-
var
|
|
52287
|
-
|
|
52279
|
+
var defaultvue_type_template_id_3c855b6a_staticRenderFns = []
|
|
52280
|
+
defaultvue_type_template_id_3c855b6a_render._withStripped = true
|
|
52288
52281
|
|
|
52289
52282
|
|
|
52290
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
52283
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=3c855b6a&
|
|
52291
52284
|
|
|
52292
52285
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=d207c2e8&
|
|
52293
52286
|
var userinfovue_type_template_id_d207c2e8_render = function () {
|
|
@@ -54366,7 +54359,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54366
54359
|
default: true
|
|
54367
54360
|
},
|
|
54368
54361
|
loadHomePage: {
|
|
54369
|
-
type:
|
|
54362
|
+
type: Boolean,
|
|
54370
54363
|
default: true
|
|
54371
54364
|
},
|
|
54372
54365
|
appCode: String,
|
|
@@ -54557,6 +54550,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54557
54550
|
selectPage: '',
|
|
54558
54551
|
//主页面
|
|
54559
54552
|
homePage: '',
|
|
54553
|
+
isLoadHomePage: this.loadHomePage,
|
|
54560
54554
|
//header背景
|
|
54561
54555
|
mainLogo: null,
|
|
54562
54556
|
headerImg: this.headerImage,
|
|
@@ -54610,8 +54604,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54610
54604
|
},
|
|
54611
54605
|
created: function created() {
|
|
54612
54606
|
var params = utils_util["a" /* default */].getParams() || {};
|
|
54613
|
-
if (
|
|
54614
|
-
this.
|
|
54607
|
+
if (params.homePage == 0) {
|
|
54608
|
+
this.isLoadHomePage = false;
|
|
54615
54609
|
}
|
|
54616
54610
|
this.isHeader = params.header;
|
|
54617
54611
|
var sysLogoIco = sessionStorage.getItem('sysLogoIco');
|
|
@@ -54783,29 +54777,30 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54783
54777
|
if (i === 'initApplication' && results[i]) {
|
|
54784
54778
|
this.results[i] = results[i].split(',');
|
|
54785
54779
|
}
|
|
54786
|
-
if (i === 'indexUrl' && results[i]
|
|
54787
|
-
|
|
54788
|
-
|
|
54789
|
-
|
|
54790
|
-
hash =
|
|
54791
|
-
|
|
54792
|
-
|
|
54793
|
-
|
|
54794
|
-
|
|
54795
|
-
if (this.
|
|
54796
|
-
if (this.
|
|
54797
|
-
|
|
54798
|
-
|
|
54799
|
-
|
|
54800
|
-
|
|
54801
|
-
|
|
54802
|
-
|
|
54780
|
+
if (i === 'indexUrl' && results[i]) {
|
|
54781
|
+
this.homePage = results[i];
|
|
54782
|
+
if (this.isLoadHomePage) {
|
|
54783
|
+
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
54784
|
+
var hash = utils_util["a" /* default */].win.location.hash;
|
|
54785
|
+
if (hash) {
|
|
54786
|
+
hash = hash.split('?')[0];
|
|
54787
|
+
}
|
|
54788
|
+
var jump = sessionStorage.getItem('jump');
|
|
54789
|
+
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
54790
|
+
if (this.isHomePage) {
|
|
54791
|
+
if (this.menus && this.menus.length) {
|
|
54792
|
+
var ids = ids = this.getId(this.menus, this.homePage);
|
|
54793
|
+
if (ids) {
|
|
54794
|
+
this.defaultActive = ids;
|
|
54795
|
+
} else {
|
|
54796
|
+
this.handleJump(this.homePage);
|
|
54797
|
+
}
|
|
54798
|
+
this.setMenu(this.menus);
|
|
54803
54799
|
}
|
|
54804
|
-
this.setMenu(this.menus);
|
|
54805
54800
|
}
|
|
54801
|
+
} else if (this.menus && this.menus.length) {
|
|
54802
|
+
this.setMenu(this.menus);
|
|
54806
54803
|
}
|
|
54807
|
-
} else if (this.menus && this.menus.length) {
|
|
54808
|
-
this.setMenu(this.menus);
|
|
54809
54804
|
}
|
|
54810
54805
|
}
|
|
54811
54806
|
if (i === 'doorIndex' && results[i]) {
|
|
@@ -55113,9 +55108,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55113
55108
|
this.isDefault = false;
|
|
55114
55109
|
this.setDefault(res, this.defaultActive);
|
|
55115
55110
|
} else {
|
|
55116
|
-
if (this.homePage
|
|
55117
|
-
this.isDefault =
|
|
55118
|
-
if (this.
|
|
55111
|
+
if (this.homePage) {
|
|
55112
|
+
this.isDefault = this.isLoadHomePage;
|
|
55113
|
+
if (this.isLoadHomePage && (!this.defaultActive || !this.defaultActive.length)) {
|
|
55119
55114
|
var _ids6 = this.getId(this.menus, this.homePage);
|
|
55120
55115
|
if (_ids6) {
|
|
55121
55116
|
this.defaultActive = _ids6;
|
|
@@ -55949,8 +55944,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55949
55944
|
|
|
55950
55945
|
var default_component = normalizeComponent(
|
|
55951
55946
|
src_defaultvue_type_script_lang_js_,
|
|
55952
|
-
|
|
55953
|
-
|
|
55947
|
+
defaultvue_type_template_id_3c855b6a_render,
|
|
55948
|
+
defaultvue_type_template_id_3c855b6a_staticRenderFns,
|
|
55954
55949
|
false,
|
|
55955
55950
|
null,
|
|
55956
55951
|
null,
|
|
@@ -56001,15 +55996,6 @@ var default_component = normalizeComponent(
|
|
|
56001
55996
|
//
|
|
56002
55997
|
//
|
|
56003
55998
|
//
|
|
56004
|
-
//
|
|
56005
|
-
//
|
|
56006
|
-
//
|
|
56007
|
-
//
|
|
56008
|
-
//
|
|
56009
|
-
//
|
|
56010
|
-
//
|
|
56011
|
-
//
|
|
56012
|
-
//
|
|
56013
55999
|
|
|
56014
56000
|
|
|
56015
56001
|
|
|
@@ -56061,18 +56047,10 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56061
56047
|
appCode: '',
|
|
56062
56048
|
params: {},
|
|
56063
56049
|
dialogs: [],
|
|
56064
|
-
visibles: []
|
|
56065
|
-
sysName: '',
|
|
56066
|
-
userName: '',
|
|
56067
|
-
launchShow: this.launch,
|
|
56068
|
-
showLaunch: false,
|
|
56069
|
-
launchImages: this.launchImage,
|
|
56070
|
-
launchKey: 'day',
|
|
56071
|
-
launchTimer: null
|
|
56050
|
+
visibles: []
|
|
56072
56051
|
};
|
|
56073
56052
|
},
|
|
56074
56053
|
created: function created() {
|
|
56075
|
-
this.init();
|
|
56076
56054
|
this.params = utils_util["a" /* default */].getParams() || {};
|
|
56077
56055
|
this.sysCode = this.params.sysCode;
|
|
56078
56056
|
this.appCode = this.params.appCode;
|
|
@@ -56136,47 +56114,13 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56136
56114
|
},
|
|
56137
56115
|
|
|
56138
56116
|
methods: {
|
|
56139
|
-
/**
|
|
56140
|
-
* @desc:初始化
|
|
56141
|
-
* @author huangbo
|
|
56142
|
-
* @date 2024年9月7日
|
|
56143
|
-
**/
|
|
56144
|
-
init: function init() {
|
|
56145
|
-
var _this2 = this;
|
|
56146
|
-
|
|
56147
|
-
this.userName = utils_util["a" /* default */].getStorage('userName');
|
|
56148
|
-
this.sysName = utils_util["a" /* default */].getStorage('sysName');
|
|
56149
|
-
this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
|
|
56150
|
-
var showLaunch = sessionStorage.getItem('showLaunch');
|
|
56151
|
-
var launch = sessionStorage.getItem('launch');
|
|
56152
|
-
var launchImage = sessionStorage.getItem('launchImage');
|
|
56153
|
-
var launchTime = utils_util["a" /* default */].getStorage('launchTime');
|
|
56154
|
-
if (launchImage) {
|
|
56155
|
-
this.launchImages = JSON.parse(launchImage);
|
|
56156
|
-
}
|
|
56157
|
-
if (showLaunch) {
|
|
56158
|
-
this.launchShow = false;
|
|
56159
|
-
} else if (launch) {
|
|
56160
|
-
if (launch == 'true') {
|
|
56161
|
-
this.launchShow = true;
|
|
56162
|
-
clearTimeout(this.launchTimer);
|
|
56163
|
-
this.launchTimer = setTimeout(function () {
|
|
56164
|
-
_this2.launchShow = false;
|
|
56165
|
-
sessionStorage.setItem('showLaunch', 1);
|
|
56166
|
-
}, launchTime ? parseInt(launchTime, 10) : this.launchTime);
|
|
56167
|
-
} else {
|
|
56168
|
-
this.launchShow = false;
|
|
56169
|
-
}
|
|
56170
|
-
}
|
|
56171
|
-
},
|
|
56172
|
-
|
|
56173
56117
|
/**
|
|
56174
56118
|
* @desc:重新登录
|
|
56175
56119
|
* @author huangbo
|
|
56176
56120
|
* @date 2024年9月7日
|
|
56177
56121
|
**/
|
|
56178
56122
|
handleReLogin: function handleReLogin(res) {
|
|
56179
|
-
var
|
|
56123
|
+
var _this2 = this;
|
|
56180
56124
|
|
|
56181
56125
|
if (res && typeof res == 'string') {
|
|
56182
56126
|
res = JSON.parse(res);
|
|
@@ -56207,8 +56151,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56207
56151
|
this.timer = setTimeout(function () {
|
|
56208
56152
|
console.log('handleReLogin');
|
|
56209
56153
|
sessionStorage.setItem('remind', 1);
|
|
56210
|
-
|
|
56211
|
-
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump'
|
|
56154
|
+
_this2.$confirm(msg, btn).then(function () {
|
|
56155
|
+
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
56212
56156
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
56213
56157
|
try {
|
|
56214
56158
|
if (loginPage) {
|
|
@@ -56254,7 +56198,7 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56254
56198
|
* @date 2024年9月7日
|
|
56255
56199
|
**/
|
|
56256
56200
|
getConfig: function getConfig(query) {
|
|
56257
|
-
var
|
|
56201
|
+
var _this3 = this;
|
|
56258
56202
|
|
|
56259
56203
|
var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
|
|
56260
56204
|
if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
|
|
@@ -56263,28 +56207,10 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56263
56207
|
var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
|
|
56264
56208
|
if (!mainConfig || mainConfig == '{}') {
|
|
56265
56209
|
utils_util["a" /* default */].getMainConfig(function (res) {
|
|
56266
|
-
|
|
56267
|
-
_this4.sysName = res.subsystemName;
|
|
56268
|
-
if (res.subsystemExtend && res.subsystemExtend.launchImage) {
|
|
56269
|
-
if (!_this4.launchShow) {
|
|
56270
|
-
_this4.launchShow = true;
|
|
56271
|
-
clearTimeout(_this4.launchTimer);
|
|
56272
|
-
_this4.launchTimer = setTimeout(function () {
|
|
56273
|
-
_this4.launchShow = false;
|
|
56274
|
-
sessionStorage.setItem('showLaunch', 1);
|
|
56275
|
-
}, res.subsystemExtend.launchTime ? parseInt(res.subsystemExtend.launchTime, 10) : _this4.launchTime);
|
|
56276
|
-
}
|
|
56277
|
-
if (res.subsystemExtend.launchImage != 'true' && res.subsystemExtend.launchImage != true) {
|
|
56278
|
-
_this4.launchImages = res.subsystemExtend.launchImage.indexOf('{') > -1 && res.subsystemExtend.launchImage.indexOf('}') > -1 ? JSON.parse(res.subsystemExtend.launchImage) : res.subsystemExtend.launchImage;
|
|
56279
|
-
}
|
|
56280
|
-
sessionStorage.setItem('launchImage', JSON.stringify(_this4.launchImages));
|
|
56281
|
-
}
|
|
56282
|
-
_this4.$refs.main.init(res);
|
|
56210
|
+
_this3.$refs.main.init(res);
|
|
56283
56211
|
});
|
|
56284
56212
|
} else {
|
|
56285
56213
|
mainConfig = JSON.parse(mainConfig);
|
|
56286
|
-
this.userName = mainConfig.userModel.username || mainConfig.userModel.userName;
|
|
56287
|
-
this.sysName = mainConfig.subsystemName;
|
|
56288
56214
|
}
|
|
56289
56215
|
},
|
|
56290
56216
|
|
|
@@ -56356,8 +56282,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56356
56282
|
|
|
56357
56283
|
var main_src_main_component = normalizeComponent(
|
|
56358
56284
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
56359
|
-
|
|
56360
|
-
|
|
56285
|
+
mainvue_type_template_id_f52b5d68_render,
|
|
56286
|
+
mainvue_type_template_id_f52b5d68_staticRenderFns,
|
|
56361
56287
|
false,
|
|
56362
56288
|
null,
|
|
56363
56289
|
null,
|
|
@@ -70504,8 +70430,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
70504
70430
|
};
|
|
70505
70431
|
|
|
70506
70432
|
/* harmony default export */ var packages_toolbar = (toolbar_src_main);
|
|
70507
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=
|
|
70508
|
-
var
|
|
70433
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=270d4342&
|
|
70434
|
+
var tablevue_type_template_id_270d4342_render = function () {
|
|
70509
70435
|
var _vm = this
|
|
70510
70436
|
var _h = _vm.$createElement
|
|
70511
70437
|
var _c = _vm._self._c || _h
|
|
@@ -73297,11 +73223,11 @@ var tablevue_type_template_id_38b43090_render = function () {
|
|
|
73297
73223
|
2
|
|
73298
73224
|
)
|
|
73299
73225
|
}
|
|
73300
|
-
var
|
|
73301
|
-
|
|
73226
|
+
var tablevue_type_template_id_270d4342_staticRenderFns = []
|
|
73227
|
+
tablevue_type_template_id_270d4342_render._withStripped = true
|
|
73302
73228
|
|
|
73303
73229
|
|
|
73304
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
73230
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=270d4342&
|
|
73305
73231
|
|
|
73306
73232
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
|
|
73307
73233
|
var src_tablevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -74657,6 +74583,9 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
74657
74583
|
this.cols = widths;
|
|
74658
74584
|
},
|
|
74659
74585
|
handleClick: function handleClick(res) {
|
|
74586
|
+
if (res.event && typeof res.event === 'function') {
|
|
74587
|
+
res.event(res);
|
|
74588
|
+
}
|
|
74660
74589
|
this.$emit('btnClick', res, this.models);
|
|
74661
74590
|
this.$emit('btn-click', res, this.models);
|
|
74662
74591
|
},
|
|
@@ -74718,8 +74647,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
74718
74647
|
|
|
74719
74648
|
var form_src_table_component = normalizeComponent(
|
|
74720
74649
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
74721
|
-
|
|
74722
|
-
|
|
74650
|
+
tablevue_type_template_id_270d4342_render,
|
|
74651
|
+
tablevue_type_template_id_270d4342_staticRenderFns,
|
|
74723
74652
|
false,
|
|
74724
74653
|
null,
|
|
74725
74654
|
null,
|
|
@@ -74736,8 +74665,8 @@ form_src_table.install = function (Vue) {
|
|
|
74736
74665
|
};
|
|
74737
74666
|
|
|
74738
74667
|
/* harmony default export */ var table_form = (form_src_table);
|
|
74739
|
-
// 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=
|
|
74740
|
-
var
|
|
74668
|
+
// 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=2842c2fa&
|
|
74669
|
+
var mainvue_type_template_id_2842c2fa_render = function () {
|
|
74741
74670
|
var _vm = this
|
|
74742
74671
|
var _h = _vm.$createElement
|
|
74743
74672
|
var _c = _vm._self._c || _h
|
|
@@ -75117,11 +75046,11 @@ var mainvue_type_template_id_12134e47_render = function () {
|
|
|
75117
75046
|
)
|
|
75118
75047
|
: _vm._e()
|
|
75119
75048
|
}
|
|
75120
|
-
var
|
|
75121
|
-
|
|
75049
|
+
var mainvue_type_template_id_2842c2fa_staticRenderFns = []
|
|
75050
|
+
mainvue_type_template_id_2842c2fa_render._withStripped = true
|
|
75122
75051
|
|
|
75123
75052
|
|
|
75124
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
75053
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2842c2fa&
|
|
75125
75054
|
|
|
75126
75055
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
75127
75056
|
/* harmony default export */ var picture = ({
|
|
@@ -75732,8 +75661,6 @@ var _props;
|
|
|
75732
75661
|
});
|
|
75733
75662
|
this.filesTotalSize = filesTotalSize;
|
|
75734
75663
|
this.$emit('input', val);
|
|
75735
|
-
} else {
|
|
75736
|
-
this.getFiles(this.params);
|
|
75737
75664
|
}
|
|
75738
75665
|
}
|
|
75739
75666
|
},
|
|
@@ -75842,6 +75769,7 @@ var _props;
|
|
|
75842
75769
|
dochubConfig: _this3.dochubConfig
|
|
75843
75770
|
});
|
|
75844
75771
|
}
|
|
75772
|
+
_this3.getFiles(_this3.params);
|
|
75845
75773
|
}
|
|
75846
75774
|
}).catch(function (err) {
|
|
75847
75775
|
if (err.message && err.message !== 'canceled') {
|
|
@@ -75857,9 +75785,10 @@ var _props;
|
|
|
75857
75785
|
if (!this.show || this.fileList && Array.isArray(this.fileList) && this.fileList.length || this.requiredOwnId && !Object.prototype.hasOwnProperty.call(params, 'ownId')) {
|
|
75858
75786
|
return false;
|
|
75859
75787
|
}
|
|
75788
|
+
var url = typeof this.fileList === 'string' ? this.fileList : this.dochubConfig.getDocumentList ? this.dochubConfig.getDocumentList : api["z" /* getAdjunctFileInfos */];
|
|
75860
75789
|
utils_util["a" /* default */].ajax({
|
|
75861
75790
|
method: this.method,
|
|
75862
|
-
url:
|
|
75791
|
+
url: url,
|
|
75863
75792
|
data: params,
|
|
75864
75793
|
params: params,
|
|
75865
75794
|
format: false
|
|
@@ -76251,8 +76180,8 @@ var _props;
|
|
|
76251
76180
|
|
|
76252
76181
|
var upload_src_main_component = normalizeComponent(
|
|
76253
76182
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
76254
|
-
|
|
76255
|
-
|
|
76183
|
+
mainvue_type_template_id_2842c2fa_render,
|
|
76184
|
+
mainvue_type_template_id_2842c2fa_staticRenderFns,
|
|
76256
76185
|
false,
|
|
76257
76186
|
null,
|
|
76258
76187
|
null,
|
|
@@ -76269,8 +76198,8 @@ upload_src_main.install = function (Vue) {
|
|
|
76269
76198
|
};
|
|
76270
76199
|
|
|
76271
76200
|
/* harmony default export */ var upload = (upload_src_main);
|
|
76272
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/wujie/src/main.vue?vue&type=template&id=
|
|
76273
|
-
var
|
|
76201
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/wujie/src/main.vue?vue&type=template&id=86017ede&
|
|
76202
|
+
var mainvue_type_template_id_86017ede_render = function () {
|
|
76274
76203
|
var _vm = this
|
|
76275
76204
|
var _h = _vm.$createElement
|
|
76276
76205
|
var _c = _vm._self._c || _h
|
|
@@ -76313,11 +76242,11 @@ var mainvue_type_template_id_332bb271_render = function () {
|
|
|
76313
76242
|
)
|
|
76314
76243
|
: _vm._e()
|
|
76315
76244
|
}
|
|
76316
|
-
var
|
|
76317
|
-
|
|
76245
|
+
var mainvue_type_template_id_86017ede_staticRenderFns = []
|
|
76246
|
+
mainvue_type_template_id_86017ede_render._withStripped = true
|
|
76318
76247
|
|
|
76319
76248
|
|
|
76320
|
-
// CONCATENATED MODULE: ./packages/wujie/src/main.vue?vue&type=template&id=
|
|
76249
|
+
// CONCATENATED MODULE: ./packages/wujie/src/main.vue?vue&type=template&id=86017ede&
|
|
76321
76250
|
|
|
76322
76251
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/wujie/src/main.vue?vue&type=script&lang=js&
|
|
76323
76252
|
var wujie_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -76363,6 +76292,10 @@ var wujie_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
76363
76292
|
height: { type: String, default: '100%' },
|
|
76364
76293
|
name: { type: String, default: '' },
|
|
76365
76294
|
loading: { type: HTMLElement, default: undefined },
|
|
76295
|
+
host: {
|
|
76296
|
+
type: String,
|
|
76297
|
+
default: ''
|
|
76298
|
+
},
|
|
76366
76299
|
url: { type: String, default: '' },
|
|
76367
76300
|
sync: { type: Boolean, default: false },
|
|
76368
76301
|
prefix: { type: Object, default: undefined },
|
|
@@ -76436,8 +76369,9 @@ var wujie_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
76436
76369
|
if (val) {
|
|
76437
76370
|
var urls = val.split('?');
|
|
76438
76371
|
var plugins = this.plugins;
|
|
76372
|
+
var defaultUrl = '';
|
|
76439
76373
|
if (urls[0].indexOf('.js') > 1) {
|
|
76440
|
-
|
|
76374
|
+
defaultUrl = this.param ? utils_util["a" /* default */].urlJoinParams({
|
|
76441
76375
|
url: './primary.html',
|
|
76442
76376
|
param: this.param,
|
|
76443
76377
|
timestamp: true
|
|
@@ -76446,8 +76380,9 @@ var wujie_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
76446
76380
|
jsBeforeLoaders: [{ src: val }]
|
|
76447
76381
|
});
|
|
76448
76382
|
} else {
|
|
76449
|
-
|
|
76383
|
+
defaultUrl = val;
|
|
76450
76384
|
}
|
|
76385
|
+
this.defaultUrl = utils_util["a" /* default */].startWith(defaultUrl, 'http') ? defaultUrl : this.host + defaultUrl;
|
|
76451
76386
|
this.defaultPlugins = plugins;
|
|
76452
76387
|
}
|
|
76453
76388
|
}
|
|
@@ -76470,8 +76405,8 @@ var wujie_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
76470
76405
|
|
|
76471
76406
|
var wujie_src_main_component = normalizeComponent(
|
|
76472
76407
|
packages_wujie_src_mainvue_type_script_lang_js_,
|
|
76473
|
-
|
|
76474
|
-
|
|
76408
|
+
mainvue_type_template_id_86017ede_render,
|
|
76409
|
+
mainvue_type_template_id_86017ede_staticRenderFns,
|
|
76475
76410
|
false,
|
|
76476
76411
|
null,
|
|
76477
76412
|
null,
|
|
@@ -76745,7 +76680,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
76745
76680
|
}
|
|
76746
76681
|
|
|
76747
76682
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
76748
|
-
version: '0.5.
|
|
76683
|
+
version: '0.5.96',
|
|
76749
76684
|
install: install,
|
|
76750
76685
|
Button: packages_button,
|
|
76751
76686
|
ButtonGroup: button_group,
|