eoss-ui 0.5.94 → 0.5.95
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/.DS_Store +0 -0
- package/lib/data-table.js +28 -23
- package/lib/eoss-ui.common.js +433 -521
- package/lib/handler.js +201 -198
- package/lib/index.js +1 -1
- package/lib/login.js +114 -121
- package/lib/main.js +52 -144
- package/lib/table-form.js +8 -5
- package/lib/upload.js +8 -8
- 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 +17 -36
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +36 -36
- package/packages/main/src/main.vue +2 -89
- package/packages/main/src/simplicity/index.vue +1 -2
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/upload/src/main.vue +8 -3
- 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=1b54d530&
|
|
41314
|
+
var mainvue_type_template_id_1b54d530_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_1b54d530_staticRenderFns = []
|
|
42302
|
+
mainvue_type_template_id_1b54d530_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=1b54d530&
|
|
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,30 @@ 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
|
+
}
|
|
44369
44373
|
}
|
|
44370
|
-
|
|
44371
|
-
},
|
|
44374
|
+
_this11.showLaunch = false;
|
|
44375
|
+
}, this.launchTime);
|
|
44372
44376
|
} else {
|
|
44373
|
-
if (this.launchShow) {
|
|
44374
|
-
sessionStorage.setItem('launch', this.launchShow);
|
|
44375
|
-
}
|
|
44376
44377
|
this.$message({
|
|
44377
44378
|
message: '登录成功!',
|
|
44378
44379
|
type: 'success',
|
|
44379
44380
|
duration: 1500,
|
|
44380
44381
|
onClose: function onClose() {
|
|
44381
|
-
if (
|
|
44382
|
-
window.location.href =
|
|
44383
|
-
} else if (results.doorIndex &&
|
|
44382
|
+
if (_this11.toUrl) {
|
|
44383
|
+
window.location.href = _this11.toUrl;
|
|
44384
|
+
} else if (results.doorIndex && _this11.doorIndex) {
|
|
44384
44385
|
sessionStorage.setItem('doorIndex', results.doorIndex);
|
|
44385
44386
|
localStorage.setItem('isLogined', true);
|
|
44386
44387
|
window.location.href = results.doorIndex;
|
|
@@ -44388,7 +44389,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44388
44389
|
if (window.location.href.indexOf('login.html') > -1) {
|
|
44389
44390
|
window.location.href = './main.html';
|
|
44390
44391
|
} else {
|
|
44391
|
-
|
|
44392
|
+
_this11.$router.push({ name: 'main' });
|
|
44392
44393
|
}
|
|
44393
44394
|
}
|
|
44394
44395
|
}
|
|
@@ -44401,11 +44402,11 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44401
44402
|
//cancelButtonText: '取消',
|
|
44402
44403
|
type: 'warning'
|
|
44403
44404
|
}).then(function () {
|
|
44404
|
-
|
|
44405
|
-
if (typeof
|
|
44406
|
-
utils_util["a" /* default */].win.open(
|
|
44405
|
+
_this11.operationCheckCode = results.checkCode;
|
|
44406
|
+
if (typeof _this11.forget === 'string') {
|
|
44407
|
+
utils_util["a" /* default */].win.open(_this11.forgetUrl);
|
|
44407
44408
|
} else {
|
|
44408
|
-
|
|
44409
|
+
_this11.showResetPassword = true;
|
|
44409
44410
|
}
|
|
44410
44411
|
}).catch(function (e) {});
|
|
44411
44412
|
break;
|
|
@@ -44446,13 +44447,13 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44446
44447
|
type: 'error',
|
|
44447
44448
|
duration: 1500,
|
|
44448
44449
|
onClose: function onClose() {
|
|
44449
|
-
if (
|
|
44450
|
+
if (_this11.code) {
|
|
44450
44451
|
window.location.href = utils_util["a" /* default */].delUrlParam({ key: 'code' });
|
|
44451
44452
|
if (window.location.hash) {
|
|
44452
44453
|
location.reload();
|
|
44453
44454
|
}
|
|
44454
44455
|
} else {
|
|
44455
|
-
|
|
44456
|
+
_this11.getImgCode();
|
|
44456
44457
|
}
|
|
44457
44458
|
}
|
|
44458
44459
|
});
|
|
@@ -44462,15 +44463,15 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44462
44463
|
}
|
|
44463
44464
|
},
|
|
44464
44465
|
handleAssistance: function handleAssistance(data) {
|
|
44465
|
-
var
|
|
44466
|
+
var _this12 = this;
|
|
44466
44467
|
|
|
44467
44468
|
clearTimeout(this.doAssistance);
|
|
44468
44469
|
this.doAssistance = setTimeout(function () {
|
|
44469
|
-
|
|
44470
|
+
_this12.doAssistanceLogin(data);
|
|
44470
44471
|
}, this.scanIntervalTime);
|
|
44471
44472
|
},
|
|
44472
44473
|
doAssistanceLogin: function doAssistanceLogin(data) {
|
|
44473
|
-
var
|
|
44474
|
+
var _this13 = this;
|
|
44474
44475
|
|
|
44475
44476
|
utils_util["a" /* default */].ajax({
|
|
44476
44477
|
method: 'post',
|
|
@@ -44480,19 +44481,19 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44480
44481
|
if (res.rCode === 0) {
|
|
44481
44482
|
var results = res.results;
|
|
44482
44483
|
if (results.statusCode === 0) {
|
|
44483
|
-
clearTimeout(
|
|
44484
|
-
|
|
44484
|
+
clearTimeout(_this13.doAssistance);
|
|
44485
|
+
_this13.handleResults(results, 3);
|
|
44485
44486
|
} else {
|
|
44486
|
-
|
|
44487
|
+
_this13.handleAssistance(data);
|
|
44487
44488
|
}
|
|
44488
44489
|
} else {
|
|
44489
|
-
clearTimeout(
|
|
44490
|
-
|
|
44490
|
+
clearTimeout(_this13.doAssistance);
|
|
44491
|
+
_this13.$message.error(res.msg);
|
|
44491
44492
|
}
|
|
44492
44493
|
}).catch(function (err) {
|
|
44493
|
-
clearTimeout(
|
|
44494
|
+
clearTimeout(_this13.doAssistance);
|
|
44494
44495
|
if (err.message && err.message !== 'canceled') {
|
|
44495
|
-
|
|
44496
|
+
_this13.$message.error(err.message);
|
|
44496
44497
|
}
|
|
44497
44498
|
});
|
|
44498
44499
|
},
|
|
@@ -44529,8 +44530,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
44529
44530
|
|
|
44530
44531
|
var login_src_main_component = normalizeComponent(
|
|
44531
44532
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
44532
|
-
|
|
44533
|
-
|
|
44533
|
+
mainvue_type_template_id_1b54d530_render,
|
|
44534
|
+
mainvue_type_template_id_1b54d530_staticRenderFns,
|
|
44534
44535
|
false,
|
|
44535
44536
|
null,
|
|
44536
44537
|
null,
|
|
@@ -44547,8 +44548,8 @@ login_src_main.install = function (Vue) {
|
|
|
44547
44548
|
};
|
|
44548
44549
|
|
|
44549
44550
|
/* 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
|
|
44551
|
+
// 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&
|
|
44552
|
+
var mainvue_type_template_id_f52b5d68_render = function () {
|
|
44552
44553
|
var _vm = this
|
|
44553
44554
|
var _h = _vm.$createElement
|
|
44554
44555
|
var _c = _vm._self._c || _h
|
|
@@ -44613,43 +44614,18 @@ var mainvue_type_template_id_24977ea8_render = function () {
|
|
|
44613
44614
|
]
|
|
44614
44615
|
)
|
|
44615
44616
|
}),
|
|
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
44617
|
],
|
|
44642
44618
|
2
|
|
44643
44619
|
)
|
|
44644
44620
|
}
|
|
44645
|
-
var
|
|
44646
|
-
|
|
44621
|
+
var mainvue_type_template_id_f52b5d68_staticRenderFns = []
|
|
44622
|
+
mainvue_type_template_id_f52b5d68_render._withStripped = true
|
|
44647
44623
|
|
|
44648
44624
|
|
|
44649
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
44625
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=f52b5d68&
|
|
44650
44626
|
|
|
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
|
|
44627
|
+
// 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=3284b186&scoped=true&
|
|
44628
|
+
var simplicityvue_type_template_id_3284b186_scoped_true_render = function () {
|
|
44653
44629
|
var _vm = this
|
|
44654
44630
|
var _h = _vm.$createElement
|
|
44655
44631
|
var _c = _vm._self._c || _h
|
|
@@ -45275,11 +45251,11 @@ var simplicityvue_type_template_id_797818d8_scoped_true_render = function () {
|
|
|
45275
45251
|
),
|
|
45276
45252
|
])
|
|
45277
45253
|
}
|
|
45278
|
-
var
|
|
45279
|
-
|
|
45254
|
+
var simplicityvue_type_template_id_3284b186_scoped_true_staticRenderFns = []
|
|
45255
|
+
simplicityvue_type_template_id_3284b186_scoped_true_render._withStripped = true
|
|
45280
45256
|
|
|
45281
45257
|
|
|
45282
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
45258
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=3284b186&scoped=true&
|
|
45283
45259
|
|
|
45284
45260
|
// 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
45261
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -51704,7 +51680,7 @@ var events = [function (tabs, index, that) {
|
|
|
51704
51680
|
}).then(function () {
|
|
51705
51681
|
utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
51706
51682
|
if (res.rCode == 0) {
|
|
51707
|
-
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump'
|
|
51683
|
+
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
51708
51684
|
if (_this8.onQuit && typeof _this8.onQuit === 'function') {
|
|
51709
51685
|
_this8.onQuit();
|
|
51710
51686
|
} else {
|
|
@@ -51885,18 +51861,18 @@ var events = [function (tabs, index, that) {
|
|
|
51885
51861
|
|
|
51886
51862
|
var simplicity_component = normalizeComponent(
|
|
51887
51863
|
src_simplicityvue_type_script_lang_js_,
|
|
51888
|
-
|
|
51889
|
-
|
|
51864
|
+
simplicityvue_type_template_id_3284b186_scoped_true_render,
|
|
51865
|
+
simplicityvue_type_template_id_3284b186_scoped_true_staticRenderFns,
|
|
51890
51866
|
false,
|
|
51891
51867
|
null,
|
|
51892
|
-
"
|
|
51868
|
+
"3284b186",
|
|
51893
51869
|
null
|
|
51894
51870
|
|
|
51895
51871
|
)
|
|
51896
51872
|
|
|
51897
51873
|
/* 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
|
|
51874
|
+
// 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=118f98c2&
|
|
51875
|
+
var defaultvue_type_template_id_118f98c2_render = function () {
|
|
51900
51876
|
var _vm = this
|
|
51901
51877
|
var _h = _vm.$createElement
|
|
51902
51878
|
var _c = _vm._self._c || _h
|
|
@@ -52283,11 +52259,11 @@ var defaultvue_type_template_id_3665477e_render = function () {
|
|
|
52283
52259
|
1
|
|
52284
52260
|
)
|
|
52285
52261
|
}
|
|
52286
|
-
var
|
|
52287
|
-
|
|
52262
|
+
var defaultvue_type_template_id_118f98c2_staticRenderFns = []
|
|
52263
|
+
defaultvue_type_template_id_118f98c2_render._withStripped = true
|
|
52288
52264
|
|
|
52289
52265
|
|
|
52290
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
52266
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=118f98c2&
|
|
52291
52267
|
|
|
52292
52268
|
// 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
52269
|
var userinfovue_type_template_id_d207c2e8_render = function () {
|
|
@@ -54366,7 +54342,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54366
54342
|
default: true
|
|
54367
54343
|
},
|
|
54368
54344
|
loadHomePage: {
|
|
54369
|
-
type:
|
|
54345
|
+
type: Boolean,
|
|
54370
54346
|
default: true
|
|
54371
54347
|
},
|
|
54372
54348
|
appCode: String,
|
|
@@ -54557,6 +54533,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54557
54533
|
selectPage: '',
|
|
54558
54534
|
//主页面
|
|
54559
54535
|
homePage: '',
|
|
54536
|
+
isLoadHomePage: this.loadHomePage,
|
|
54560
54537
|
//header背景
|
|
54561
54538
|
mainLogo: null,
|
|
54562
54539
|
headerImg: this.headerImage,
|
|
@@ -54610,8 +54587,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54610
54587
|
},
|
|
54611
54588
|
created: function created() {
|
|
54612
54589
|
var params = utils_util["a" /* default */].getParams() || {};
|
|
54613
|
-
if (
|
|
54614
|
-
this.
|
|
54590
|
+
if (params.homePage == 0) {
|
|
54591
|
+
this.isLoadHomePage = false;
|
|
54615
54592
|
}
|
|
54616
54593
|
this.isHeader = params.header;
|
|
54617
54594
|
var sysLogoIco = sessionStorage.getItem('sysLogoIco');
|
|
@@ -54783,29 +54760,30 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
54783
54760
|
if (i === 'initApplication' && results[i]) {
|
|
54784
54761
|
this.results[i] = results[i].split(',');
|
|
54785
54762
|
}
|
|
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
|
-
|
|
54763
|
+
if (i === 'indexUrl' && results[i]) {
|
|
54764
|
+
this.homePage = results[i];
|
|
54765
|
+
if (this.isLoadHomePage) {
|
|
54766
|
+
var applicationid = utils_util["a" /* default */].getParams('applicationid') || utils_util["a" /* default */].getParams('applicationId');
|
|
54767
|
+
var hash = utils_util["a" /* default */].win.location.hash;
|
|
54768
|
+
if (hash) {
|
|
54769
|
+
hash = hash.split('?')[0];
|
|
54770
|
+
}
|
|
54771
|
+
var jump = sessionStorage.getItem('jump');
|
|
54772
|
+
if (!applicationid && !this.menuCode && (!jump || !this.isHistory) && (hash === '#/' || hash === '#/main') || jump == results[i]) {
|
|
54773
|
+
if (this.isHomePage) {
|
|
54774
|
+
if (this.menus && this.menus.length) {
|
|
54775
|
+
var ids = ids = this.getId(this.menus, this.homePage);
|
|
54776
|
+
if (ids) {
|
|
54777
|
+
this.defaultActive = ids;
|
|
54778
|
+
} else {
|
|
54779
|
+
this.handleJump(this.homePage);
|
|
54780
|
+
}
|
|
54781
|
+
this.setMenu(this.menus);
|
|
54803
54782
|
}
|
|
54804
|
-
this.setMenu(this.menus);
|
|
54805
54783
|
}
|
|
54784
|
+
} else if (this.menus && this.menus.length) {
|
|
54785
|
+
this.setMenu(this.menus);
|
|
54806
54786
|
}
|
|
54807
|
-
} else if (this.menus && this.menus.length) {
|
|
54808
|
-
this.setMenu(this.menus);
|
|
54809
54787
|
}
|
|
54810
54788
|
}
|
|
54811
54789
|
if (i === 'doorIndex' && results[i]) {
|
|
@@ -55113,9 +55091,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55113
55091
|
this.isDefault = false;
|
|
55114
55092
|
this.setDefault(res, this.defaultActive);
|
|
55115
55093
|
} else {
|
|
55116
|
-
if (this.homePage
|
|
55117
|
-
this.isDefault =
|
|
55118
|
-
if (this.
|
|
55094
|
+
if (this.homePage) {
|
|
55095
|
+
this.isDefault = this.isLoadHomePage;
|
|
55096
|
+
if (this.isLoadHomePage && (!this.defaultActive || !this.defaultActive.length)) {
|
|
55119
55097
|
var _ids6 = this.getId(this.menus, this.homePage);
|
|
55120
55098
|
if (_ids6) {
|
|
55121
55099
|
this.defaultActive = _ids6;
|
|
@@ -55949,8 +55927,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
55949
55927
|
|
|
55950
55928
|
var default_component = normalizeComponent(
|
|
55951
55929
|
src_defaultvue_type_script_lang_js_,
|
|
55952
|
-
|
|
55953
|
-
|
|
55930
|
+
defaultvue_type_template_id_118f98c2_render,
|
|
55931
|
+
defaultvue_type_template_id_118f98c2_staticRenderFns,
|
|
55954
55932
|
false,
|
|
55955
55933
|
null,
|
|
55956
55934
|
null,
|
|
@@ -56001,15 +55979,6 @@ var default_component = normalizeComponent(
|
|
|
56001
55979
|
//
|
|
56002
55980
|
//
|
|
56003
55981
|
//
|
|
56004
|
-
//
|
|
56005
|
-
//
|
|
56006
|
-
//
|
|
56007
|
-
//
|
|
56008
|
-
//
|
|
56009
|
-
//
|
|
56010
|
-
//
|
|
56011
|
-
//
|
|
56012
|
-
//
|
|
56013
55982
|
|
|
56014
55983
|
|
|
56015
55984
|
|
|
@@ -56061,18 +56030,10 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56061
56030
|
appCode: '',
|
|
56062
56031
|
params: {},
|
|
56063
56032
|
dialogs: [],
|
|
56064
|
-
visibles: []
|
|
56065
|
-
sysName: '',
|
|
56066
|
-
userName: '',
|
|
56067
|
-
launchShow: this.launch,
|
|
56068
|
-
showLaunch: false,
|
|
56069
|
-
launchImages: this.launchImage,
|
|
56070
|
-
launchKey: 'day',
|
|
56071
|
-
launchTimer: null
|
|
56033
|
+
visibles: []
|
|
56072
56034
|
};
|
|
56073
56035
|
},
|
|
56074
56036
|
created: function created() {
|
|
56075
|
-
this.init();
|
|
56076
56037
|
this.params = utils_util["a" /* default */].getParams() || {};
|
|
56077
56038
|
this.sysCode = this.params.sysCode;
|
|
56078
56039
|
this.appCode = this.params.appCode;
|
|
@@ -56136,47 +56097,13 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56136
56097
|
},
|
|
56137
56098
|
|
|
56138
56099
|
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
56100
|
/**
|
|
56174
56101
|
* @desc:重新登录
|
|
56175
56102
|
* @author huangbo
|
|
56176
56103
|
* @date 2024年9月7日
|
|
56177
56104
|
**/
|
|
56178
56105
|
handleReLogin: function handleReLogin(res) {
|
|
56179
|
-
var
|
|
56106
|
+
var _this2 = this;
|
|
56180
56107
|
|
|
56181
56108
|
if (res && typeof res == 'string') {
|
|
56182
56109
|
res = JSON.parse(res);
|
|
@@ -56207,8 +56134,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56207
56134
|
this.timer = setTimeout(function () {
|
|
56208
56135
|
console.log('handleReLogin');
|
|
56209
56136
|
sessionStorage.setItem('remind', 1);
|
|
56210
|
-
|
|
56211
|
-
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump'
|
|
56137
|
+
_this2.$confirm(msg, btn).then(function () {
|
|
56138
|
+
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
56212
56139
|
var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
|
|
56213
56140
|
try {
|
|
56214
56141
|
if (loginPage) {
|
|
@@ -56254,7 +56181,7 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56254
56181
|
* @date 2024年9月7日
|
|
56255
56182
|
**/
|
|
56256
56183
|
getConfig: function getConfig(query) {
|
|
56257
|
-
var
|
|
56184
|
+
var _this3 = this;
|
|
56258
56185
|
|
|
56259
56186
|
var token = utils_util["a" /* default */].getStorage('token') || utils_util["a" /* default */].getStorage('Authorization');
|
|
56260
56187
|
if (!token && Object.prototype.hasOwnProperty.call(query, 'serverId') && Object.prototype.hasOwnProperty.call(query, 'authType')) {
|
|
@@ -56263,28 +56190,10 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56263
56190
|
var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
|
|
56264
56191
|
if (!mainConfig || mainConfig == '{}') {
|
|
56265
56192
|
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);
|
|
56193
|
+
_this3.$refs.main.init(res);
|
|
56283
56194
|
});
|
|
56284
56195
|
} else {
|
|
56285
56196
|
mainConfig = JSON.parse(mainConfig);
|
|
56286
|
-
this.userName = mainConfig.userModel.username || mainConfig.userModel.userName;
|
|
56287
|
-
this.sysName = mainConfig.subsystemName;
|
|
56288
56197
|
}
|
|
56289
56198
|
},
|
|
56290
56199
|
|
|
@@ -56356,8 +56265,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
|
|
|
56356
56265
|
|
|
56357
56266
|
var main_src_main_component = normalizeComponent(
|
|
56358
56267
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
56359
|
-
|
|
56360
|
-
|
|
56268
|
+
mainvue_type_template_id_f52b5d68_render,
|
|
56269
|
+
mainvue_type_template_id_f52b5d68_staticRenderFns,
|
|
56361
56270
|
false,
|
|
56362
56271
|
null,
|
|
56363
56272
|
null,
|
|
@@ -70504,8 +70413,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
70504
70413
|
};
|
|
70505
70414
|
|
|
70506
70415
|
/* 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
|
|
70416
|
+
// 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&
|
|
70417
|
+
var tablevue_type_template_id_270d4342_render = function () {
|
|
70509
70418
|
var _vm = this
|
|
70510
70419
|
var _h = _vm.$createElement
|
|
70511
70420
|
var _c = _vm._self._c || _h
|
|
@@ -73297,11 +73206,11 @@ var tablevue_type_template_id_38b43090_render = function () {
|
|
|
73297
73206
|
2
|
|
73298
73207
|
)
|
|
73299
73208
|
}
|
|
73300
|
-
var
|
|
73301
|
-
|
|
73209
|
+
var tablevue_type_template_id_270d4342_staticRenderFns = []
|
|
73210
|
+
tablevue_type_template_id_270d4342_render._withStripped = true
|
|
73302
73211
|
|
|
73303
73212
|
|
|
73304
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
73213
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=270d4342&
|
|
73305
73214
|
|
|
73306
73215
|
// 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
73216
|
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 +74566,9 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
74657
74566
|
this.cols = widths;
|
|
74658
74567
|
},
|
|
74659
74568
|
handleClick: function handleClick(res) {
|
|
74569
|
+
if (res.event && typeof res.event === 'function') {
|
|
74570
|
+
res.event(res);
|
|
74571
|
+
}
|
|
74660
74572
|
this.$emit('btnClick', res, this.models);
|
|
74661
74573
|
this.$emit('btn-click', res, this.models);
|
|
74662
74574
|
},
|
|
@@ -74718,8 +74630,8 @@ var src_tablevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
74718
74630
|
|
|
74719
74631
|
var form_src_table_component = normalizeComponent(
|
|
74720
74632
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
74721
|
-
|
|
74722
|
-
|
|
74633
|
+
tablevue_type_template_id_270d4342_render,
|
|
74634
|
+
tablevue_type_template_id_270d4342_staticRenderFns,
|
|
74723
74635
|
false,
|
|
74724
74636
|
null,
|
|
74725
74637
|
null,
|
|
@@ -74736,8 +74648,8 @@ form_src_table.install = function (Vue) {
|
|
|
74736
74648
|
};
|
|
74737
74649
|
|
|
74738
74650
|
/* 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
|
|
74651
|
+
// 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&
|
|
74652
|
+
var mainvue_type_template_id_2842c2fa_render = function () {
|
|
74741
74653
|
var _vm = this
|
|
74742
74654
|
var _h = _vm.$createElement
|
|
74743
74655
|
var _c = _vm._self._c || _h
|
|
@@ -75117,11 +75029,11 @@ var mainvue_type_template_id_12134e47_render = function () {
|
|
|
75117
75029
|
)
|
|
75118
75030
|
: _vm._e()
|
|
75119
75031
|
}
|
|
75120
|
-
var
|
|
75121
|
-
|
|
75032
|
+
var mainvue_type_template_id_2842c2fa_staticRenderFns = []
|
|
75033
|
+
mainvue_type_template_id_2842c2fa_render._withStripped = true
|
|
75122
75034
|
|
|
75123
75035
|
|
|
75124
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
75036
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=2842c2fa&
|
|
75125
75037
|
|
|
75126
75038
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
75127
75039
|
/* harmony default export */ var picture = ({
|
|
@@ -75732,8 +75644,6 @@ var _props;
|
|
|
75732
75644
|
});
|
|
75733
75645
|
this.filesTotalSize = filesTotalSize;
|
|
75734
75646
|
this.$emit('input', val);
|
|
75735
|
-
} else {
|
|
75736
|
-
this.getFiles(this.params);
|
|
75737
75647
|
}
|
|
75738
75648
|
}
|
|
75739
75649
|
},
|
|
@@ -75842,6 +75752,7 @@ var _props;
|
|
|
75842
75752
|
dochubConfig: _this3.dochubConfig
|
|
75843
75753
|
});
|
|
75844
75754
|
}
|
|
75755
|
+
_this3.getFiles(_this3.params);
|
|
75845
75756
|
}
|
|
75846
75757
|
}).catch(function (err) {
|
|
75847
75758
|
if (err.message && err.message !== 'canceled') {
|
|
@@ -75857,9 +75768,10 @@ var _props;
|
|
|
75857
75768
|
if (!this.show || this.fileList && Array.isArray(this.fileList) && this.fileList.length || this.requiredOwnId && !Object.prototype.hasOwnProperty.call(params, 'ownId')) {
|
|
75858
75769
|
return false;
|
|
75859
75770
|
}
|
|
75771
|
+
var url = typeof this.fileList === 'string' ? this.fileList : this.dochubConfig.getDocumentList ? this.dochubConfig.getDocumentList : api["z" /* getAdjunctFileInfos */];
|
|
75860
75772
|
utils_util["a" /* default */].ajax({
|
|
75861
75773
|
method: this.method,
|
|
75862
|
-
url:
|
|
75774
|
+
url: url,
|
|
75863
75775
|
data: params,
|
|
75864
75776
|
params: params,
|
|
75865
75777
|
format: false
|
|
@@ -76251,8 +76163,8 @@ var _props;
|
|
|
76251
76163
|
|
|
76252
76164
|
var upload_src_main_component = normalizeComponent(
|
|
76253
76165
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
76254
|
-
|
|
76255
|
-
|
|
76166
|
+
mainvue_type_template_id_2842c2fa_render,
|
|
76167
|
+
mainvue_type_template_id_2842c2fa_staticRenderFns,
|
|
76256
76168
|
false,
|
|
76257
76169
|
null,
|
|
76258
76170
|
null,
|
|
@@ -76745,7 +76657,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
76745
76657
|
}
|
|
76746
76658
|
|
|
76747
76659
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
76748
|
-
version: '0.5.
|
|
76660
|
+
version: '0.5.95',
|
|
76749
76661
|
install: install,
|
|
76750
76662
|
Button: packages_button,
|
|
76751
76663
|
ButtonGroup: button_group,
|