eoss-ui 0.6.94 → 0.6.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/button-group.js +1 -1
- package/lib/button.js +1 -1
- package/lib/calogin.js +234 -234
- package/lib/checkbox-group.js +1 -1
- package/lib/config/api.js +1 -1
- package/lib/data-table-form.js +1 -1
- package/lib/data-table.js +1 -1
- package/lib/date-picker.js +1 -1
- package/lib/dialog.js +1 -1
- package/lib/eoss-ui.common.js +1121 -967
- package/lib/flow-group.js +1 -1
- package/lib/flow-list.js +82 -82
- package/lib/flow.js +370 -335
- package/lib/form.js +34 -7
- package/lib/handle-user.js +4 -5
- package/lib/handler.js +1 -1
- package/lib/icon.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -1
- package/lib/input.js +2 -2
- package/lib/login.js +6 -11
- package/lib/main.js +361 -262
- package/lib/nav.js +1 -1
- package/lib/notify.js +1 -1
- package/lib/page.js +1 -1
- package/lib/pagination.js +1 -1
- package/lib/player.js +1 -1
- package/lib/qr-code.js +14 -14
- package/lib/radio-group.js +1 -1
- package/lib/retrial-auth.js +1 -1
- package/lib/select-ganged.js +1 -1
- package/lib/select.js +1 -2
- package/lib/selector-panel.js +1 -1
- package/lib/selector.js +1 -1
- package/lib/sizer.js +1 -1
- package/lib/steps.js +1 -1
- package/lib/switch.js +1 -1
- package/lib/table-form.js +2 -2
- package/lib/tabs.js +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/tips.js +1 -1
- package/lib/tree-group.js +1 -1
- package/lib/tree.js +1 -1
- package/lib/upload.js +1 -1
- package/lib/utils/rules.js +1 -1
- package/lib/wujie.js +1 -1
- package/lib/wxlogin.js +1 -1
- package/package.json +160 -160
- package/packages/.DS_Store +0 -0
- package/packages/autocomplete/.DS_Store +0 -0
- package/packages/button/index.js +5 -5
- package/packages/button/src/main.vue +418 -418
- package/packages/button-group/index.js +5 -5
- package/packages/button-group/src/main.vue +298 -298
- package/packages/calendar/index.js +5 -5
- package/packages/calogin/.DS_Store +0 -0
- package/packages/calogin/index.js +5 -5
- package/packages/calogin/src/main.vue +412 -412
- package/packages/calogin/src/plugin.js +915 -915
- package/packages/card/index.js +5 -5
- package/packages/card/src/main.vue +156 -156
- package/packages/cascader/index.js +5 -5
- package/packages/cascader/src/main.vue +168 -168
- package/packages/checkbox-group/index.js +5 -5
- package/packages/checkbox-group/src/main.vue +333 -333
- package/packages/clients/index.js +5 -5
- package/packages/clients/src/main.vue +151 -151
- package/packages/data-table/index.js +5 -5
- package/packages/data-table/src/children.vue +39 -39
- package/packages/data-table/src/column.vue +988 -988
- package/packages/data-table/src/main.vue +1831 -1831
- package/packages/data-table/src/sizer.vue +195 -195
- package/packages/data-table-form/index.js +5 -5
- package/packages/data-table-form/src/checkbox.vue +101 -101
- package/packages/data-table-form/src/colgroup.vue +17 -17
- package/packages/data-table-form/src/main.vue +181 -181
- package/packages/data-table-form/src/radio.vue +65 -65
- package/packages/data-table-form/src/table.vue +233 -233
- package/packages/data-table-form/src/tbody.vue +336 -336
- package/packages/data-table-form/src/thead.vue +68 -68
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/index.js +5 -5
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/date-picker/src/main.vue +236 -236
- package/packages/dialog/index.js +5 -5
- package/packages/enable-drag/index.js +5 -5
- package/packages/enterprise/index.js +5 -5
- package/packages/enterprise/src/main.vue +66 -66
- package/packages/error-page/index.js +5 -5
- package/packages/error-page/src/main.vue +44 -44
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/index.js +5 -5
- package/packages/flow/src/.DS_Store +0 -0
- package/packages/flow/src/component/Circulate.vue +403 -403
- package/packages/flow/src/component/CommonOpinions.vue +364 -364
- package/packages/flow/src/component/CustomPreset.vue +322 -322
- package/packages/flow/src/component/FileList.vue +99 -99
- package/packages/flow/src/component/Preset.vue +255 -255
- package/packages/flow/src/component/SendMsg.vue +242 -242
- package/packages/flow/src/component/TimeLimit.vue +190 -190
- package/packages/flow/src/component/taskUnionExamine.vue +641 -641
- package/packages/flow/src/form.vue +121 -121
- package/packages/flow/src/freeStartFlow.vue +2844 -2844
- package/packages/flow/src/main.vue +3726 -3726
- package/packages/flow/src/processForm.vue +1287 -1287
- package/packages/flow/src/processReject.vue +308 -299
- package/packages/flow/src/reset.vue +941 -941
- package/packages/flow/src/startTaskRead.vue +690 -681
- package/packages/flow/src/supervise.vue +159 -159
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-group/index.js +5 -5
- package/packages/flow-group/src/main.vue +692 -692
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/flow-list/index.js +5 -5
- package/packages/flow-list/src/main.vue +1770 -1770
- package/packages/form/.DS_Store +0 -0
- package/packages/form/index.js +5 -5
- package/packages/form/src/main.vue +3846 -3814
- package/packages/form/src/table.vue +1508 -1508
- package/packages/handle-user/index.js +5 -5
- package/packages/handle-user/src/main.vue +137 -138
- package/packages/handler/index.js +5 -5
- package/packages/handler/src/main.vue +493 -493
- package/packages/icon/index.js +5 -5
- package/packages/icon/src/main.vue +101 -101
- package/packages/icons/index.js +5 -5
- package/packages/icons/src/main.vue +81 -81
- package/packages/input/index.js +5 -5
- package/packages/input/src/main.vue +356 -356
- package/packages/input-number/index.js +5 -5
- package/packages/input-number/src/main.vue +106 -106
- package/packages/label/index.js +5 -5
- package/packages/label/src/main.vue +457 -457
- package/packages/layout/index.js +5 -5
- package/packages/layout/src/item.vue +152 -152
- package/packages/layout/src/main.vue +31 -31
- package/packages/login/.DS_Store +0 -0
- package/packages/login/index.js +5 -5
- package/packages/login/src/main.vue +1993 -1998
- package/packages/login/src/resetPassword.vue +562 -562
- package/packages/main/.DS_Store +0 -0
- package/packages/main/index.js +5 -5
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/message.vue +249 -249
- package/packages/main/src/default/notice.vue +157 -157
- package/packages/main/src/default/userinfo.vue +502 -503
- package/packages/main/src/main.vue +0 -2
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +464 -464
- package/packages/main/src/public/settings.vue +221 -221
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +259 -259
- package/packages/main/src/simplicity/index.vue +2125 -2102
- package/packages/main/src/simplicity/lists.vue +84 -84
- package/packages/main/src/simplicity/menu-list.vue +135 -135
- package/packages/main/src/simplicity/message.vue +259 -259
- package/packages/main/src/simplicity/notice.vue +190 -190
- package/packages/main/src/simplicity/router-page.vue +45 -45
- package/packages/main/src/simplicity/sub-menu.vue +264 -264
- package/packages/main/src/simplicity/user.vue +258 -260
- package/packages/main/src/simplicity/userinfo.vue +356 -308
- package/packages/menu/.DS_Store +0 -0
- package/packages/menu/index.js +5 -5
- package/packages/menu/src/main.vue +584 -584
- package/packages/nav/index.js +5 -5
- package/packages/nav/src/main.vue +351 -351
- package/packages/notify/index.js +5 -5
- package/packages/notify/src/main.vue +538 -538
- package/packages/page/index.js +5 -5
- package/packages/page/src/main.vue +167 -167
- package/packages/pagination/index.js +5 -5
- package/packages/pagination/src/main.vue +96 -96
- package/packages/player/index.js +5 -5
- package/packages/player/src/main.vue +194 -194
- package/packages/qr-code/index.js +5 -5
- package/packages/qr-code/src/main.vue +170 -170
- package/packages/radio-group/index.js +6 -6
- package/packages/radio-group/src/main.vue +319 -319
- package/packages/retrial-auth/index.js +5 -5
- package/packages/retrial-auth/src/main.vue +280 -280
- package/packages/scrollbar/.DS_Store +0 -0
- package/packages/select/.DS_Store +0 -0
- package/packages/select/index.js +5 -5
- package/packages/select/src/main.vue +781 -782
- package/packages/select-ganged/index.js +5 -5
- package/packages/select-ganged/src/main.vue +724 -724
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/index.js +5 -5
- package/packages/selector/src/main.vue +761 -761
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/index.js +5 -5
- package/packages/selector-panel/src/main.vue +1027 -1027
- package/packages/selector-panel/src/selection.vue +170 -170
- package/packages/selector-panel/src/tree.vue +129 -129
- package/packages/sizer/index.js +5 -5
- package/packages/sizer/src/main.vue +254 -254
- package/packages/steps/index.js +5 -5
- package/packages/steps/src/main.vue +181 -181
- package/packages/switch/index.js +5 -5
- package/packages/switch/src/main.vue +154 -154
- package/packages/table-form/index.js +5 -5
- package/packages/tabs/index.js +5 -5
- package/packages/tabs/src/main.vue +788 -788
- package/packages/tabs-panel/index.js +5 -5
- package/packages/tabs-panel/src/main.vue +29 -29
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/base.scss +261 -261
- package/packages/theme-chalk/src/button-group.scss +176 -176
- package/packages/theme-chalk/src/button.scss +24 -24
- package/packages/theme-chalk/src/calendar.scss +113 -113
- package/packages/theme-chalk/src/card.scss +99 -99
- package/packages/theme-chalk/src/checkbox-group.scss +8 -8
- package/packages/theme-chalk/src/clients.scss +87 -87
- package/packages/theme-chalk/src/data-table-form.scss +67 -67
- package/packages/theme-chalk/src/data-table.scss +293 -293
- package/packages/theme-chalk/src/date-picker.scss +7 -7
- package/packages/theme-chalk/src/dialog.scss +77 -77
- package/packages/theme-chalk/src/enable-drag.scss +181 -181
- package/packages/theme-chalk/src/enterprise.scss +5 -5
- package/packages/theme-chalk/src/error-page.scss +18 -18
- package/packages/theme-chalk/src/flow-group.scss +110 -110
- package/packages/theme-chalk/src/flow-list.scss +39 -39
- package/packages/theme-chalk/src/flow.scss +348 -348
- package/packages/theme-chalk/src/form.scss +499 -499
- package/packages/theme-chalk/src/handle-user.scss +40 -40
- package/packages/theme-chalk/src/handler.scss +143 -143
- package/packages/theme-chalk/src/icon.scss +1817 -1817
- package/packages/theme-chalk/src/icons.scss +99 -99
- package/packages/theme-chalk/src/input.scss +9 -9
- package/packages/theme-chalk/src/label.scss +24 -24
- package/packages/theme-chalk/src/layout.scss +46 -46
- package/packages/theme-chalk/src/login.scss +984 -984
- package/packages/theme-chalk/src/main.scss +663 -663
- package/packages/theme-chalk/src/menu.scss +222 -222
- package/packages/theme-chalk/src/mixins/color.scss +117 -117
- package/packages/theme-chalk/src/nav.scss +111 -111
- package/packages/theme-chalk/src/page.scss +3 -3
- package/packages/theme-chalk/src/pagination.scss +29 -29
- package/packages/theme-chalk/src/player.scss +9 -9
- package/packages/theme-chalk/src/qr-code.scss +17 -17
- package/packages/theme-chalk/src/radio-group.scss +9 -9
- package/packages/theme-chalk/src/retrial-auth.scss +38 -38
- package/packages/theme-chalk/src/select-ganged.scss +8 -8
- package/packages/theme-chalk/src/select.scss +8 -8
- package/packages/theme-chalk/src/selector-panel.scss +204 -204
- package/packages/theme-chalk/src/selector.scss +92 -92
- package/packages/theme-chalk/src/simplicity.scss +1361 -1355
- package/packages/theme-chalk/src/sizer.scss +36 -36
- package/packages/theme-chalk/src/steps.scss +88 -88
- package/packages/theme-chalk/src/switch.scss +3 -3
- package/packages/theme-chalk/src/table-form.scss +1 -1
- package/packages/theme-chalk/src/tabs.scss +87 -87
- package/packages/theme-chalk/src/tips.scss +7 -7
- package/packages/theme-chalk/src/toolbar.scss +179 -179
- package/packages/theme-chalk/src/tree-group.scss +72 -72
- package/packages/theme-chalk/src/tree.scss +165 -165
- package/packages/theme-chalk/src/upload.scss +172 -172
- package/packages/theme-chalk/src/wxlogin.scss +3 -3
- package/packages/tips/index.js +5 -5
- package/packages/tips/src/main.vue +141 -141
- package/packages/toolbar/index.js +5 -5
- package/packages/toolbar/src/main.vue +430 -430
- package/packages/tree/index.js +5 -5
- package/packages/tree-group/index.js +5 -5
- package/packages/upload/.DS_Store +0 -0
- package/packages/upload/index.js +5 -5
- package/packages/upload/src/main.vue +1343 -1343
- package/packages/upload/src/picture.js +15 -15
- package/packages/wujie/index.js +5 -5
- package/packages/wujie/src/main.vue +145 -145
- package/packages/wxlogin/index.js +5 -5
- package/packages/wxlogin/src/main.vue +128 -128
- package/src/.DS_Store +0 -0
- package/src/config/api.js +308 -308
- package/src/config/image.js +2 -2
- package/src/index.js +163 -163
- package/src/utils/.DS_Store +0 -0
- package/src/utils/bus.js +3 -3
- package/src/utils/date-util.js +312 -312
- package/src/utils/http.js +50 -50
- package/src/utils/rules.js +18 -18
- package/src/utils/store.js +21 -21
- package/src/utils/webSocket.js +107 -107
package/lib/main.js
CHANGED
|
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
|
|
|
3717
3717
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
|
|
3718
3718
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
|
|
3719
3719
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
|
|
3720
|
-
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/
|
|
3720
|
+
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/oa';
|
|
3721
3721
|
// 登录
|
|
3722
3722
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
|
3723
3723
|
var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
|
|
@@ -4354,7 +4354,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
|
|
|
4354
4354
|
// ESM COMPAT FLAG
|
|
4355
4355
|
__webpack_require__.r(__webpack_exports__);
|
|
4356
4356
|
|
|
4357
|
-
// 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=
|
|
4357
|
+
// 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=b0817718&
|
|
4358
4358
|
var render = function () {
|
|
4359
4359
|
var _vm = this
|
|
4360
4360
|
var _h = _vm.$createElement
|
|
@@ -4452,13 +4452,13 @@ var staticRenderFns = []
|
|
|
4452
4452
|
render._withStripped = true
|
|
4453
4453
|
|
|
4454
4454
|
|
|
4455
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
4455
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=b0817718&
|
|
4456
4456
|
|
|
4457
4457
|
// EXTERNAL MODULE: ./src/config/image.js
|
|
4458
4458
|
var config_image = __webpack_require__(20);
|
|
4459
4459
|
|
|
4460
|
-
// 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=
|
|
4461
|
-
var
|
|
4460
|
+
// 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=60bf1a32&scoped=true&
|
|
4461
|
+
var simplicityvue_type_template_id_60bf1a32_scoped_true_render = function () {
|
|
4462
4462
|
var _vm = this
|
|
4463
4463
|
var _h = _vm.$createElement
|
|
4464
4464
|
var _c = _vm._self._c || _h
|
|
@@ -4476,7 +4476,7 @@ var simplicityvue_type_template_id_634782ec_scoped_true_render = function () {
|
|
|
4476
4476
|
_c(
|
|
4477
4477
|
"div",
|
|
4478
4478
|
{
|
|
4479
|
-
staticClass: "es-simplicity-org-name es-text-ellipsis-
|
|
4479
|
+
staticClass: "es-simplicity-org-name es-text-ellipsis-row4",
|
|
4480
4480
|
attrs: {
|
|
4481
4481
|
title:
|
|
4482
4482
|
_vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName,
|
|
@@ -4512,21 +4512,49 @@ var simplicityvue_type_template_id_634782ec_scoped_true_render = function () {
|
|
|
4512
4512
|
close: _vm.handlerClose,
|
|
4513
4513
|
},
|
|
4514
4514
|
}),
|
|
4515
|
-
_c(
|
|
4516
|
-
|
|
4515
|
+
_c(
|
|
4516
|
+
"div",
|
|
4517
|
+
{
|
|
4518
|
+
staticClass: "es-simplicity-pannel-user",
|
|
4519
|
+
attrs: { slot: "reference" },
|
|
4517
4520
|
slot: "reference",
|
|
4518
|
-
user: _vm.user,
|
|
4519
|
-
size: 56,
|
|
4520
|
-
"show-name": true,
|
|
4521
4521
|
},
|
|
4522
|
-
|
|
4523
|
-
|
|
4522
|
+
[
|
|
4523
|
+
_c("avatar", {
|
|
4524
|
+
directives: [
|
|
4525
|
+
{
|
|
4526
|
+
name: "show",
|
|
4527
|
+
rawName: "v-show",
|
|
4528
|
+
value: _vm.showAvatar,
|
|
4529
|
+
expression: "showAvatar",
|
|
4530
|
+
},
|
|
4531
|
+
],
|
|
4532
|
+
attrs: { user: _vm.user, size: 56, "show-name": true },
|
|
4533
|
+
}),
|
|
4534
|
+
_c("div", { staticClass: "es-simplicity-username" }, [
|
|
4535
|
+
_vm._v(_vm._s(_vm.user.username)),
|
|
4536
|
+
]),
|
|
4537
|
+
_c(
|
|
4538
|
+
"div",
|
|
4539
|
+
{
|
|
4540
|
+
directives: [
|
|
4541
|
+
{
|
|
4542
|
+
name: "show",
|
|
4543
|
+
rawName: "v-show",
|
|
4544
|
+
value: !_vm.showAvatar,
|
|
4545
|
+
expression: "!showAvatar",
|
|
4546
|
+
},
|
|
4547
|
+
],
|
|
4548
|
+
staticClass: "es-simplicity-greeting",
|
|
4549
|
+
},
|
|
4550
|
+
[_vm._v("\n " + _vm._s(_vm.greeting) + "\n ")]
|
|
4551
|
+
),
|
|
4552
|
+
],
|
|
4553
|
+
1
|
|
4554
|
+
),
|
|
4524
4555
|
],
|
|
4525
4556
|
1
|
|
4526
4557
|
),
|
|
4527
|
-
_c("div", { staticClass: "es-simplicity-username" }, [
|
|
4528
|
-
_vm._v(_vm._s(_vm.user.username)),
|
|
4529
|
-
]),
|
|
4530
4558
|
_c(
|
|
4531
4559
|
"div",
|
|
4532
4560
|
{ staticClass: "es-simplicity-side-Application" },
|
|
@@ -5124,11 +5152,11 @@ var simplicityvue_type_template_id_634782ec_scoped_true_render = function () {
|
|
|
5124
5152
|
),
|
|
5125
5153
|
])
|
|
5126
5154
|
}
|
|
5127
|
-
var
|
|
5128
|
-
|
|
5155
|
+
var simplicityvue_type_template_id_60bf1a32_scoped_true_staticRenderFns = []
|
|
5156
|
+
simplicityvue_type_template_id_60bf1a32_scoped_true_render._withStripped = true
|
|
5129
5157
|
|
|
5130
5158
|
|
|
5131
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
5159
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=60bf1a32&scoped=true&
|
|
5132
5160
|
|
|
5133
5161
|
// 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=e722b45c&scoped=true&
|
|
5134
5162
|
var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
|
|
@@ -7212,10 +7240,10 @@ var external_throttle_debounce_ = __webpack_require__(14);
|
|
|
7212
7240
|
this.$emit('click', res);
|
|
7213
7241
|
},
|
|
7214
7242
|
|
|
7215
|
-
/**
|
|
7216
|
-
* @desc:获取气泡提醒
|
|
7217
|
-
* @author huangbo
|
|
7218
|
-
* @date 2024年9月7日
|
|
7243
|
+
/**
|
|
7244
|
+
* @desc:获取气泡提醒
|
|
7245
|
+
* @author huangbo
|
|
7246
|
+
* @date 2024年9月7日
|
|
7219
7247
|
**/
|
|
7220
7248
|
getBadge: function getBadge(res) {
|
|
7221
7249
|
var num = res.tips || 0;
|
|
@@ -7252,8 +7280,8 @@ var apps_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7252
7280
|
)
|
|
7253
7281
|
|
|
7254
7282
|
/* harmony default export */ var simplicity_apps = (apps_component.exports);
|
|
7255
|
-
// 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/user.vue?vue&type=template&id=
|
|
7256
|
-
var
|
|
7283
|
+
// 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/user.vue?vue&type=template&id=79e71c00&scoped=true&
|
|
7284
|
+
var uservue_type_template_id_79e71c00_scoped_true_render = function () {
|
|
7257
7285
|
var _vm = this
|
|
7258
7286
|
var _h = _vm.$createElement
|
|
7259
7287
|
var _c = _vm._self._c || _h
|
|
@@ -7364,14 +7392,14 @@ var uservue_type_template_id_cf46141e_scoped_true_render = function () {
|
|
|
7364
7392
|
on: { click: _vm.handleOpen },
|
|
7365
7393
|
},
|
|
7366
7394
|
[
|
|
7367
|
-
_vm._v("\n
|
|
7395
|
+
_vm._v("\n 资料修改 "),
|
|
7368
7396
|
_c("i", { staticClass: "es-icon-arrow-right" }),
|
|
7369
7397
|
]
|
|
7370
7398
|
),
|
|
7371
7399
|
_c(
|
|
7372
7400
|
"es-dialog",
|
|
7373
7401
|
{
|
|
7374
|
-
attrs: { title: "
|
|
7402
|
+
attrs: { title: "资料修改", visible: _vm.visible },
|
|
7375
7403
|
on: {
|
|
7376
7404
|
"update:visible": function ($event) {
|
|
7377
7405
|
_vm.visible = $event
|
|
@@ -7392,14 +7420,14 @@ var uservue_type_template_id_cf46141e_scoped_true_render = function () {
|
|
|
7392
7420
|
1
|
|
7393
7421
|
)
|
|
7394
7422
|
}
|
|
7395
|
-
var
|
|
7396
|
-
|
|
7423
|
+
var uservue_type_template_id_79e71c00_scoped_true_staticRenderFns = []
|
|
7424
|
+
uservue_type_template_id_79e71c00_scoped_true_render._withStripped = true
|
|
7397
7425
|
|
|
7398
7426
|
|
|
7399
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=
|
|
7427
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=79e71c00&scoped=true&
|
|
7400
7428
|
|
|
7401
|
-
// 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/userinfo.vue?vue&type=template&id=
|
|
7402
|
-
var
|
|
7429
|
+
// 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/userinfo.vue?vue&type=template&id=fb004f62&
|
|
7430
|
+
var userinfovue_type_template_id_fb004f62_render = function () {
|
|
7403
7431
|
var _vm = this
|
|
7404
7432
|
var _h = _vm.$createElement
|
|
7405
7433
|
var _c = _vm._self._c || _h
|
|
@@ -7408,20 +7436,34 @@ var userinfovue_type_template_id_8643d5d2_render = function () {
|
|
|
7408
7436
|
{
|
|
7409
7437
|
ref: "form",
|
|
7410
7438
|
staticClass: "es-user-info",
|
|
7411
|
-
attrs: {
|
|
7439
|
+
attrs: {
|
|
7440
|
+
"validate-on-rule-change": false,
|
|
7441
|
+
model: _vm.model,
|
|
7442
|
+
contents: _vm.forms,
|
|
7443
|
+
autocomplete: false,
|
|
7444
|
+
rules: _vm.formRules,
|
|
7445
|
+
events: _vm.events,
|
|
7446
|
+
},
|
|
7412
7447
|
on: { submit: _vm.handleFormSubmit },
|
|
7413
7448
|
},
|
|
7414
7449
|
[_c("template", { slot: "other" }, [_vm._t("default")], 2)],
|
|
7415
7450
|
2
|
|
7416
7451
|
)
|
|
7417
7452
|
}
|
|
7418
|
-
var
|
|
7419
|
-
|
|
7453
|
+
var userinfovue_type_template_id_fb004f62_staticRenderFns = []
|
|
7454
|
+
userinfovue_type_template_id_fb004f62_render._withStripped = true
|
|
7420
7455
|
|
|
7421
7456
|
|
|
7422
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=
|
|
7457
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=fb004f62&
|
|
7423
7458
|
|
|
7424
7459
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
|
|
7460
|
+
var userinfovue_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; };
|
|
7461
|
+
|
|
7462
|
+
var _props;
|
|
7463
|
+
|
|
7464
|
+
//
|
|
7465
|
+
//
|
|
7466
|
+
//
|
|
7425
7467
|
//
|
|
7426
7468
|
//
|
|
7427
7469
|
//
|
|
@@ -7442,7 +7484,7 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
7442
7484
|
|
|
7443
7485
|
/* harmony default export */ var userinfovue_type_script_lang_js_ = ({
|
|
7444
7486
|
name: 'UserInfo',
|
|
7445
|
-
props: {
|
|
7487
|
+
props: (_props = {
|
|
7446
7488
|
secret: {
|
|
7447
7489
|
type: Boolean,
|
|
7448
7490
|
default: true
|
|
@@ -7453,18 +7495,97 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
7453
7495
|
default: function _default() {
|
|
7454
7496
|
return {};
|
|
7455
7497
|
}
|
|
7498
|
+
},
|
|
7499
|
+
rules: {
|
|
7500
|
+
type: Object,
|
|
7501
|
+
default: function _default() {
|
|
7502
|
+
return {};
|
|
7503
|
+
}
|
|
7456
7504
|
}
|
|
7457
|
-
},
|
|
7505
|
+
}, _props['rules'] = {
|
|
7506
|
+
type: Object,
|
|
7507
|
+
default: function _default() {
|
|
7508
|
+
return {};
|
|
7509
|
+
}
|
|
7510
|
+
}, _props),
|
|
7458
7511
|
data: function data() {
|
|
7512
|
+
var _this = this;
|
|
7513
|
+
|
|
7459
7514
|
return {
|
|
7460
|
-
model: this.value
|
|
7515
|
+
model: this.value,
|
|
7516
|
+
events: {
|
|
7517
|
+
oldpassword: {
|
|
7518
|
+
change: function change() {
|
|
7519
|
+
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7520
|
+
_this.$refs.form.clearValidate();
|
|
7521
|
+
}
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
7524
|
+
password: {
|
|
7525
|
+
change: function change() {
|
|
7526
|
+
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7527
|
+
_this.$refs.form.clearValidate();
|
|
7528
|
+
}
|
|
7529
|
+
}
|
|
7530
|
+
},
|
|
7531
|
+
repassword: {
|
|
7532
|
+
change: function change() {
|
|
7533
|
+
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7534
|
+
_this.$refs.form.clearValidate();
|
|
7535
|
+
}
|
|
7536
|
+
}
|
|
7537
|
+
}
|
|
7538
|
+
}
|
|
7461
7539
|
};
|
|
7462
7540
|
},
|
|
7463
7541
|
|
|
7464
7542
|
computed: {
|
|
7465
|
-
|
|
7466
|
-
|
|
7543
|
+
formRules: function formRules() {
|
|
7544
|
+
return userinfovue_type_script_lang_js_extends({
|
|
7545
|
+
idCard: {
|
|
7546
|
+
pattern: new RegExp('(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)'),
|
|
7547
|
+
message: '身份证号不合法'
|
|
7548
|
+
},
|
|
7549
|
+
phone: {
|
|
7550
|
+
pattern: new RegExp('^[1][3, 4, 5, 6, 7, 8, 9][0-9]{9}$'),
|
|
7551
|
+
message: '手机号不合法',
|
|
7552
|
+
trigger: 'blur'
|
|
7553
|
+
},
|
|
7554
|
+
email: {
|
|
7555
|
+
type: 'email',
|
|
7556
|
+
message: '请输入正确的邮箱地址',
|
|
7557
|
+
trigger: 'blur'
|
|
7558
|
+
},
|
|
7559
|
+
officeTel: {
|
|
7560
|
+
pattern: new RegExp('^(?:\\(?0([1-9]\\d{1,2})\\)?[- ]?)?([2-9]\\d{6,7})$'),
|
|
7561
|
+
message: '座机号不合法',
|
|
7562
|
+
trigger: 'blur'
|
|
7563
|
+
},
|
|
7467
7564
|
|
|
7565
|
+
oldpassword: this.model.password || this.model.repassword ? {
|
|
7566
|
+
required: true,
|
|
7567
|
+
message: '请输入旧密码'
|
|
7568
|
+
} : {},
|
|
7569
|
+
|
|
7570
|
+
password: [this.model.repassword || this.model.oldpassword ? {
|
|
7571
|
+
required: true,
|
|
7572
|
+
message: '请输入新密码'
|
|
7573
|
+
} : {},, {
|
|
7574
|
+
pattern: this.checkPassword,
|
|
7575
|
+
message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
|
|
7576
|
+
trigger: 'blur'
|
|
7577
|
+
}],
|
|
7578
|
+
repassword: [this.model.password || this.model.oldpassword ? {
|
|
7579
|
+
required: true,
|
|
7580
|
+
message: '请再次输入新密码'
|
|
7581
|
+
} : {}, { validator: this.repassword, trigger: 'blur' }, this.checkPassword ? {
|
|
7582
|
+
pattern: this.checkPassword,
|
|
7583
|
+
message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
|
|
7584
|
+
trigger: 'blur'
|
|
7585
|
+
} : {}]
|
|
7586
|
+
}, this.rules);
|
|
7587
|
+
},
|
|
7588
|
+
forms: function forms() {
|
|
7468
7589
|
return this.contents ? this.contents : [{
|
|
7469
7590
|
name: 'orgName',
|
|
7470
7591
|
label: '所属机构',
|
|
@@ -7500,83 +7621,40 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
7500
7621
|
placeholder: '电子邮箱',
|
|
7501
7622
|
label: '电子邮箱',
|
|
7502
7623
|
type: 'text',
|
|
7503
|
-
rules: {
|
|
7504
|
-
type: 'email',
|
|
7505
|
-
message: '请输入正确的邮箱地址',
|
|
7506
|
-
trigger: 'blur'
|
|
7507
|
-
},
|
|
7508
7624
|
col: 6
|
|
7509
7625
|
}, {
|
|
7510
7626
|
name: 'officeTel',
|
|
7511
7627
|
placeholder: '座机号',
|
|
7512
7628
|
label: '座机号',
|
|
7513
7629
|
type: 'text',
|
|
7514
|
-
rules: {
|
|
7515
|
-
type: 'telephone'
|
|
7516
|
-
//message: '请输入正确的邮箱地址',
|
|
7517
|
-
//trigger: 'blur'
|
|
7518
|
-
},
|
|
7519
7630
|
col: 6
|
|
7520
7631
|
}, {
|
|
7521
7632
|
name: 'oldpassword',
|
|
7522
7633
|
placeholder: '旧密码',
|
|
7523
7634
|
label: '旧密码',
|
|
7524
7635
|
type: 'text',
|
|
7525
|
-
col: 6
|
|
7526
|
-
rules: this.model.password || this.model.repassword ? {
|
|
7527
|
-
required: true,
|
|
7528
|
-
message: '请输入旧密码'
|
|
7529
|
-
} : {},
|
|
7530
|
-
events: {
|
|
7531
|
-
change: function change() {
|
|
7532
|
-
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7533
|
-
_this.$refs.form.clearValidate();
|
|
7534
|
-
}
|
|
7535
|
-
}
|
|
7536
|
-
}
|
|
7636
|
+
col: 6
|
|
7537
7637
|
}, {
|
|
7538
7638
|
name: 'password',
|
|
7539
7639
|
placeholder: '新密码',
|
|
7540
7640
|
label: '新密码',
|
|
7541
7641
|
type: 'text',
|
|
7542
|
-
col: 6
|
|
7543
|
-
rules: [this.model.repassword || this.model.oldpassword ? {
|
|
7544
|
-
required: true,
|
|
7545
|
-
message: '请输入新密码'
|
|
7546
|
-
} : {}, {
|
|
7547
|
-
pattern: this.checkPassword,
|
|
7548
|
-
message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
|
|
7549
|
-
trigger: 'blur'
|
|
7550
|
-
}],
|
|
7551
|
-
events: {
|
|
7552
|
-
change: function change() {
|
|
7553
|
-
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7554
|
-
_this.$refs.form.clearValidate();
|
|
7555
|
-
}
|
|
7556
|
-
}
|
|
7557
|
-
}
|
|
7642
|
+
col: 6
|
|
7558
7643
|
}, {
|
|
7559
7644
|
name: 'repassword',
|
|
7560
7645
|
placeholder: '确认新密码',
|
|
7561
7646
|
label: '确认新密码',
|
|
7562
7647
|
type: 'text',
|
|
7563
|
-
col: 6
|
|
7564
|
-
rules: [this.model.password || this.model.oldpassword ? {
|
|
7565
|
-
required: true,
|
|
7566
|
-
message: '请再次输入新密码'
|
|
7567
|
-
} : {}, { validator: this.repassword, trigger: 'blur' }, this.checkPassword ? {
|
|
7568
|
-
pattern: this.checkPassword,
|
|
7569
|
-
message: this.checkPasswordMsg ? this.checkPasswordMsg : '密码格式不合法',
|
|
7570
|
-
trigger: 'blur'
|
|
7571
|
-
} : {}],
|
|
7572
|
-
events: {
|
|
7573
|
-
change: function change() {
|
|
7574
|
-
if (!_this.model.repassword && !_this.model.oldpassword && !_this.model.repassword) {
|
|
7575
|
-
_this.$refs.form.clearValidate();
|
|
7576
|
-
}
|
|
7577
|
-
}
|
|
7578
|
-
}
|
|
7648
|
+
col: 6
|
|
7579
7649
|
}];
|
|
7650
|
+
},
|
|
7651
|
+
formKey: function formKey() {
|
|
7652
|
+
var keys = this.forms.filter(function (item) {
|
|
7653
|
+
return item.disabled !== true && item.readonly !== true && !['oldpassword', 'password', 'repassword'].includes(item.name);
|
|
7654
|
+
}).map(function (item) {
|
|
7655
|
+
return item.name;
|
|
7656
|
+
});
|
|
7657
|
+
return keys;
|
|
7580
7658
|
}
|
|
7581
7659
|
},
|
|
7582
7660
|
created: function created() {},
|
|
@@ -7588,24 +7666,29 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
7588
7666
|
|
|
7589
7667
|
var initLogin = util["a" /* default */].getStorage('initLogin');
|
|
7590
7668
|
initLogin && (initLogin = JSON.parse(initLogin));
|
|
7669
|
+
var _model = this.model,
|
|
7670
|
+
oldpassword = _model.oldpassword,
|
|
7671
|
+
password = _model.password;
|
|
7672
|
+
|
|
7673
|
+
var data = userinfovue_type_script_lang_js_extends({}, Object.fromEntries(Object.entries(this.model).filter(function (_ref) {
|
|
7674
|
+
var key = _ref[0];
|
|
7675
|
+
return _this2.formKey.includes(key);
|
|
7676
|
+
})));
|
|
7591
7677
|
util["a" /* default */].ajax({
|
|
7592
7678
|
url: api["uc" /* updateUserInfo */],
|
|
7593
|
-
params: {
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
phone: this.model.phone,
|
|
7597
|
-
oldPassword: this.secret && initLogin && initLogin.secret && this.model.oldpassword ? util["a" /* default */].esmEncrypt({
|
|
7598
|
-
data: this.model.oldpassword,
|
|
7679
|
+
params: userinfovue_type_script_lang_js_extends({}, data, {
|
|
7680
|
+
oldPassword: this.secret && initLogin && initLogin.secret && oldpassword ? util["a" /* default */].esmEncrypt({
|
|
7681
|
+
data: oldpassword,
|
|
7599
7682
|
key: initLogin.secret
|
|
7600
|
-
}) :
|
|
7601
|
-
password: this.secret && initLogin && initLogin.secret &&
|
|
7602
|
-
data:
|
|
7683
|
+
}) : oldpassword,
|
|
7684
|
+
password: this.secret && initLogin && initLogin.secret && password ? util["a" /* default */].esmEncrypt({
|
|
7685
|
+
data: password,
|
|
7603
7686
|
key: initLogin.secret
|
|
7604
|
-
}) :
|
|
7605
|
-
}
|
|
7687
|
+
}) : password
|
|
7688
|
+
})
|
|
7606
7689
|
}).then(function (res) {
|
|
7607
7690
|
if (res.rCode === 0) {
|
|
7608
|
-
if (
|
|
7691
|
+
if (oldpassword && password) {
|
|
7609
7692
|
_this2.$confirm('密码修改成功,请重新登录!', '提示', {
|
|
7610
7693
|
confirmButtonText: '确定',
|
|
7611
7694
|
cancelButtonText: '取消',
|
|
@@ -7682,8 +7765,8 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
7682
7765
|
|
|
7683
7766
|
var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
7684
7767
|
simplicity_userinfovue_type_script_lang_js_,
|
|
7685
|
-
|
|
7686
|
-
|
|
7768
|
+
userinfovue_type_template_id_fb004f62_render,
|
|
7769
|
+
userinfovue_type_template_id_fb004f62_staticRenderFns,
|
|
7687
7770
|
false,
|
|
7688
7771
|
null,
|
|
7689
7772
|
null,
|
|
@@ -7802,7 +7885,6 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7802
7885
|
watch: {
|
|
7803
7886
|
notify: {
|
|
7804
7887
|
immediate: true,
|
|
7805
|
-
userInfo: {},
|
|
7806
7888
|
handler: function handler(val) {
|
|
7807
7889
|
if (val) {
|
|
7808
7890
|
this.checked = val.split(',');
|
|
@@ -7925,8 +8007,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7925
8007
|
} else {
|
|
7926
8008
|
_this4.$message({
|
|
7927
8009
|
message: res.msg || '系统错误,请联系管理员!',
|
|
7928
|
-
type: 'error'
|
|
7929
|
-
duration: 1500
|
|
8010
|
+
type: 'error'
|
|
7930
8011
|
});
|
|
7931
8012
|
}
|
|
7932
8013
|
}).catch(function (err) {
|
|
@@ -7959,11 +8040,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7959
8040
|
|
|
7960
8041
|
var user_component = Object(componentNormalizer["a" /* default */])(
|
|
7961
8042
|
simplicity_uservue_type_script_lang_js_,
|
|
7962
|
-
|
|
7963
|
-
|
|
8043
|
+
uservue_type_template_id_79e71c00_scoped_true_render,
|
|
8044
|
+
uservue_type_template_id_79e71c00_scoped_true_staticRenderFns,
|
|
7964
8045
|
false,
|
|
7965
8046
|
null,
|
|
7966
|
-
"
|
|
8047
|
+
"79e71c00",
|
|
7967
8048
|
null
|
|
7968
8049
|
|
|
7969
8050
|
)
|
|
@@ -10842,6 +10923,15 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
10842
10923
|
//
|
|
10843
10924
|
//
|
|
10844
10925
|
//
|
|
10926
|
+
//
|
|
10927
|
+
//
|
|
10928
|
+
//
|
|
10929
|
+
//
|
|
10930
|
+
//
|
|
10931
|
+
//
|
|
10932
|
+
//
|
|
10933
|
+
//
|
|
10934
|
+
//
|
|
10845
10935
|
|
|
10846
10936
|
|
|
10847
10937
|
|
|
@@ -10931,6 +11021,11 @@ var events = [function (tabs, index, that) {
|
|
|
10931
11021
|
search: search
|
|
10932
11022
|
},
|
|
10933
11023
|
props: {
|
|
11024
|
+
//是否显示头像
|
|
11025
|
+
avatar: {
|
|
11026
|
+
type: Boolean,
|
|
11027
|
+
default: false
|
|
11028
|
+
},
|
|
10934
11029
|
//im用例编码
|
|
10935
11030
|
imUseCaseCode: String,
|
|
10936
11031
|
//ai用例编码
|
|
@@ -11040,6 +11135,10 @@ var events = [function (tabs, index, that) {
|
|
|
11040
11135
|
},
|
|
11041
11136
|
data: function data() {
|
|
11042
11137
|
return {
|
|
11138
|
+
//是否显示头像
|
|
11139
|
+
showAvatar: this.avatar,
|
|
11140
|
+
// 问候语
|
|
11141
|
+
greeting: util["a" /* default */].timeCycle() + '好!',
|
|
11043
11142
|
//用例权限编码
|
|
11044
11143
|
useCaseCodes: util["a" /* default */].getStorage('useCaseCodes'),
|
|
11045
11144
|
//显示用户信息
|
|
@@ -11224,10 +11323,10 @@ var events = [function (tabs, index, that) {
|
|
|
11224
11323
|
},
|
|
11225
11324
|
|
|
11226
11325
|
methods: {
|
|
11227
|
-
/**
|
|
11228
|
-
* @desc:匹配路由
|
|
11229
|
-
* @author huangbo
|
|
11230
|
-
* @date 2024年9月7日
|
|
11326
|
+
/**
|
|
11327
|
+
* @desc:匹配路由
|
|
11328
|
+
* @author huangbo
|
|
11329
|
+
* @date 2024年9月7日
|
|
11231
11330
|
**/
|
|
11232
11331
|
hasRouter: function hasRouter(res, url, code) {
|
|
11233
11332
|
if (!url) {
|
|
@@ -11271,10 +11370,10 @@ var events = [function (tabs, index, that) {
|
|
|
11271
11370
|
return false;
|
|
11272
11371
|
},
|
|
11273
11372
|
|
|
11274
|
-
/**
|
|
11275
|
-
* @desc:获取初始数据
|
|
11276
|
-
* @author huangbo
|
|
11277
|
-
* @date 2024年9月7日
|
|
11373
|
+
/**
|
|
11374
|
+
* @desc:获取初始数据
|
|
11375
|
+
* @author huangbo
|
|
11376
|
+
* @date 2024年9月7日
|
|
11278
11377
|
**/
|
|
11279
11378
|
init: function init(results, first) {
|
|
11280
11379
|
this.setConfig(results);
|
|
@@ -11283,10 +11382,10 @@ var events = [function (tabs, index, that) {
|
|
|
11283
11382
|
}
|
|
11284
11383
|
},
|
|
11285
11384
|
|
|
11286
|
-
/**
|
|
11287
|
-
* @desc:设置用户配置及信息
|
|
11288
|
-
* @author huangbo
|
|
11289
|
-
* @date 2024年9月7日
|
|
11385
|
+
/**
|
|
11386
|
+
* @desc:设置用户配置及信息
|
|
11387
|
+
* @author huangbo
|
|
11388
|
+
* @date 2024年9月7日
|
|
11290
11389
|
**/
|
|
11291
11390
|
setConfig: function setConfig(results) {
|
|
11292
11391
|
localStorage.setItem('mainConfig', JSON.stringify(results));
|
|
@@ -11341,6 +11440,9 @@ var events = [function (tabs, index, that) {
|
|
|
11341
11440
|
this.notify = results[i].notify || '';
|
|
11342
11441
|
}
|
|
11343
11442
|
if (i === 'subsystemExtend' && results[i]) {
|
|
11443
|
+
if (Object.prototype.hasOwnProperty.call(results[i], 'showAvatar')) {
|
|
11444
|
+
this.showAvatar = JSON.parse(results[i].showAvatar);
|
|
11445
|
+
}
|
|
11344
11446
|
if (results[i].themeColor) {
|
|
11345
11447
|
var _color = unescape(results[i].themeColor).toLowerCase();
|
|
11346
11448
|
if (util["a" /* default */].startWith(_color, '#')) {
|
|
@@ -11352,7 +11454,7 @@ var events = [function (tabs, index, that) {
|
|
|
11352
11454
|
this.singleLogout = results[i].singleLogout.split(',');
|
|
11353
11455
|
}
|
|
11354
11456
|
if (results[i].userInfoContents) {
|
|
11355
|
-
this.userInfoContents = results[i].userInfoContents;
|
|
11457
|
+
this.userInfoContents = JSON.parse(results[i].userInfoContents);
|
|
11356
11458
|
}
|
|
11357
11459
|
if (results[i].webPageWatermark) {
|
|
11358
11460
|
try {
|
|
@@ -11389,10 +11491,10 @@ var events = [function (tabs, index, that) {
|
|
|
11389
11491
|
this.doorIndex = results[i].portalPage || results[i].portalpage;
|
|
11390
11492
|
}
|
|
11391
11493
|
if (results[i].multipleVersion || results[i].oldVersion) {
|
|
11392
|
-
this.showOld = results[i].oldVersion ? results[i].oldVersion : true;
|
|
11494
|
+
this.showOld = results[i].oldVersion ? JSON.parse(results[i].oldVersion) : true;
|
|
11393
11495
|
}
|
|
11394
11496
|
if (results[i].topRightToolHide) {
|
|
11395
|
-
this.topRightToolHide = results[i].topRightToolHide;
|
|
11497
|
+
this.topRightToolHide = JSON.parse(results[i].topRightToolHide);
|
|
11396
11498
|
}
|
|
11397
11499
|
if (results[i].contact) {
|
|
11398
11500
|
var contact = JSON.parse(results[i].contact);
|
|
@@ -11420,10 +11522,10 @@ var events = [function (tabs, index, that) {
|
|
|
11420
11522
|
}
|
|
11421
11523
|
},
|
|
11422
11524
|
|
|
11423
|
-
/**
|
|
11424
|
-
* @desc:获取所有应用
|
|
11425
|
-
* @author huangbo
|
|
11426
|
-
* @date 2024年9月7日
|
|
11525
|
+
/**
|
|
11526
|
+
* @desc:获取所有应用
|
|
11527
|
+
* @author huangbo
|
|
11528
|
+
* @date 2024年9月7日
|
|
11427
11529
|
**/
|
|
11428
11530
|
getApplications: function getApplications() {
|
|
11429
11531
|
var _this = this;
|
|
@@ -11471,10 +11573,10 @@ var events = [function (tabs, index, that) {
|
|
|
11471
11573
|
});
|
|
11472
11574
|
},
|
|
11473
11575
|
|
|
11474
|
-
/**
|
|
11475
|
-
* @desc:获取菜单列表
|
|
11476
|
-
* @author huangbo
|
|
11477
|
-
* @date 2024年9月7日
|
|
11576
|
+
/**
|
|
11577
|
+
* @desc:获取菜单列表
|
|
11578
|
+
* @author huangbo
|
|
11579
|
+
* @date 2024年9月7日
|
|
11478
11580
|
**/
|
|
11479
11581
|
getMenus: function getMenus(loading) {
|
|
11480
11582
|
var _this2 = this;
|
|
@@ -11507,10 +11609,10 @@ var events = [function (tabs, index, that) {
|
|
|
11507
11609
|
});
|
|
11508
11610
|
},
|
|
11509
11611
|
|
|
11510
|
-
/**
|
|
11511
|
-
* @desc:处理菜单列表
|
|
11512
|
-
* @author huangbo
|
|
11513
|
-
* @date 2024年9月7日
|
|
11612
|
+
/**
|
|
11613
|
+
* @desc:处理菜单列表
|
|
11614
|
+
* @author huangbo
|
|
11615
|
+
* @date 2024年9月7日
|
|
11514
11616
|
**/
|
|
11515
11617
|
renderMenus: function renderMenus(res) {
|
|
11516
11618
|
this.menus = res;
|
|
@@ -11606,10 +11708,10 @@ var events = [function (tabs, index, that) {
|
|
|
11606
11708
|
}
|
|
11607
11709
|
},
|
|
11608
11710
|
|
|
11609
|
-
/**
|
|
11610
|
-
* @desc:设置页面加载类型
|
|
11611
|
-
* @author huangbo
|
|
11612
|
-
* @date 2024年9月7日
|
|
11711
|
+
/**
|
|
11712
|
+
* @desc:设置页面加载类型
|
|
11713
|
+
* @author huangbo
|
|
11714
|
+
* @date 2024年9月7日
|
|
11613
11715
|
**/
|
|
11614
11716
|
setIframeType: function setIframeType(res) {
|
|
11615
11717
|
var url = res.url;
|
|
@@ -11665,10 +11767,10 @@ var events = [function (tabs, index, that) {
|
|
|
11665
11767
|
return res;
|
|
11666
11768
|
},
|
|
11667
11769
|
|
|
11668
|
-
/**
|
|
11669
|
-
* @desc:获取菜单
|
|
11670
|
-
* @author huangbo
|
|
11671
|
-
* @date 2024年9月7日
|
|
11770
|
+
/**
|
|
11771
|
+
* @desc:获取菜单
|
|
11772
|
+
* @author huangbo
|
|
11773
|
+
* @date 2024年9月7日
|
|
11672
11774
|
**/
|
|
11673
11775
|
getMenu: function getMenu(menus, res, key) {
|
|
11674
11776
|
if (Array.isArray(menus)) {
|
|
@@ -11697,10 +11799,10 @@ var events = [function (tabs, index, that) {
|
|
|
11697
11799
|
return false;
|
|
11698
11800
|
},
|
|
11699
11801
|
|
|
11700
|
-
/**
|
|
11701
|
-
* @desc:获取菜单第一条数据
|
|
11702
|
-
* @author huangbo
|
|
11703
|
-
* @date 2024年9月7日
|
|
11802
|
+
/**
|
|
11803
|
+
* @desc:获取菜单第一条数据
|
|
11804
|
+
* @author huangbo
|
|
11805
|
+
* @date 2024年9月7日
|
|
11704
11806
|
**/
|
|
11705
11807
|
getFirst: function getFirst(obj) {
|
|
11706
11808
|
if (!obj) {
|
|
@@ -11719,10 +11821,10 @@ var events = [function (tabs, index, that) {
|
|
|
11719
11821
|
}
|
|
11720
11822
|
},
|
|
11721
11823
|
|
|
11722
|
-
/**
|
|
11723
|
-
* @desc:遍历设置菜单气泡提醒
|
|
11724
|
-
* @author huangbo
|
|
11725
|
-
* @date 2024年9月7日
|
|
11824
|
+
/**
|
|
11825
|
+
* @desc:遍历设置菜单气泡提醒
|
|
11826
|
+
* @author huangbo
|
|
11827
|
+
* @date 2024年9月7日
|
|
11726
11828
|
**/
|
|
11727
11829
|
setTips: function setTips(obj) {
|
|
11728
11830
|
var _this3 = this;
|
|
@@ -11785,10 +11887,10 @@ var events = [function (tabs, index, that) {
|
|
|
11785
11887
|
}
|
|
11786
11888
|
},
|
|
11787
11889
|
|
|
11788
|
-
/**
|
|
11789
|
-
* @desc:获取气泡提醒
|
|
11790
|
-
* @author huangbo
|
|
11791
|
-
* @date 2024年9月7日
|
|
11890
|
+
/**
|
|
11891
|
+
* @desc:获取气泡提醒
|
|
11892
|
+
* @author huangbo
|
|
11893
|
+
* @date 2024年9月7日
|
|
11792
11894
|
**/
|
|
11793
11895
|
getBadge: function getBadge(res) {
|
|
11794
11896
|
var num = res.tips || 0;
|
|
@@ -11802,10 +11904,10 @@ var events = [function (tabs, index, that) {
|
|
|
11802
11904
|
};
|
|
11803
11905
|
},
|
|
11804
11906
|
|
|
11805
|
-
/**
|
|
11806
|
-
* @desc:开启weosocket
|
|
11807
|
-
* @author huangbo
|
|
11808
|
-
* @date 2024年9月7日
|
|
11907
|
+
/**
|
|
11908
|
+
* @desc:开启weosocket
|
|
11909
|
+
* @author huangbo
|
|
11910
|
+
* @date 2024年9月7日
|
|
11809
11911
|
**/
|
|
11810
11912
|
initWebSocket: function initWebSocket() {
|
|
11811
11913
|
var _this5 = this;
|
|
@@ -11854,10 +11956,10 @@ var events = [function (tabs, index, that) {
|
|
|
11854
11956
|
});
|
|
11855
11957
|
},
|
|
11856
11958
|
|
|
11857
|
-
/**
|
|
11858
|
-
* @desc:显示用户信息
|
|
11859
|
-
* @author huangbo
|
|
11860
|
-
* @date 2024年9月7日
|
|
11959
|
+
/**
|
|
11960
|
+
* @desc:显示用户信息
|
|
11961
|
+
* @author huangbo
|
|
11962
|
+
* @date 2024年9月7日
|
|
11861
11963
|
**/
|
|
11862
11964
|
showUserInfo: function showUserInfo() {
|
|
11863
11965
|
if (this.showUser === false) {
|
|
@@ -11865,19 +11967,19 @@ var events = [function (tabs, index, that) {
|
|
|
11865
11967
|
}
|
|
11866
11968
|
},
|
|
11867
11969
|
|
|
11868
|
-
/**
|
|
11869
|
-
* @desc:删除更多应用菜单点击
|
|
11870
|
-
* @author huangbo
|
|
11871
|
-
* @date 2024年9月7日
|
|
11970
|
+
/**
|
|
11971
|
+
* @desc:删除更多应用菜单点击
|
|
11972
|
+
* @author huangbo
|
|
11973
|
+
* @date 2024年9月7日
|
|
11872
11974
|
**/
|
|
11873
11975
|
handleDelete: function handleDelete(index) {
|
|
11874
11976
|
this.newApps.splice(index, 1);
|
|
11875
11977
|
},
|
|
11876
11978
|
|
|
11877
|
-
/**
|
|
11878
|
-
* @desc:储存更多应用菜单点击
|
|
11879
|
-
* @author huangbo
|
|
11880
|
-
* @date 2024年9月7日
|
|
11979
|
+
/**
|
|
11980
|
+
* @desc:储存更多应用菜单点击
|
|
11981
|
+
* @author huangbo
|
|
11982
|
+
* @date 2024年9月7日
|
|
11881
11983
|
**/
|
|
11882
11984
|
handlerClickApps: function handlerClickApps(res) {
|
|
11883
11985
|
if (res.permission === false) {
|
|
@@ -11890,10 +11992,10 @@ var events = [function (tabs, index, that) {
|
|
|
11890
11992
|
this.handlerClickApp(res);
|
|
11891
11993
|
},
|
|
11892
11994
|
|
|
11893
|
-
/**
|
|
11894
|
-
* @desc:侧边应用菜单点击
|
|
11895
|
-
* @author huangbo
|
|
11896
|
-
* @date 2024年9月7日
|
|
11995
|
+
/**
|
|
11996
|
+
* @desc:侧边应用菜单点击
|
|
11997
|
+
* @author huangbo
|
|
11998
|
+
* @date 2024年9月7日
|
|
11897
11999
|
**/
|
|
11898
12000
|
handlerClickApp: function handlerClickApp(res) {
|
|
11899
12001
|
this.showMsg = false;
|
|
@@ -11982,10 +12084,10 @@ var events = [function (tabs, index, that) {
|
|
|
11982
12084
|
}
|
|
11983
12085
|
},
|
|
11984
12086
|
|
|
11985
|
-
/**
|
|
11986
|
-
* @desc:显示Drawer界面
|
|
11987
|
-
* @author huangbo
|
|
11988
|
-
* @date 2024年9月7日
|
|
12087
|
+
/**
|
|
12088
|
+
* @desc:显示Drawer界面
|
|
12089
|
+
* @author huangbo
|
|
12090
|
+
* @date 2024年9月7日
|
|
11989
12091
|
**/
|
|
11990
12092
|
handlerSetDrawer: function handlerSetDrawer(res, type) {
|
|
11991
12093
|
var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
|
|
@@ -12005,19 +12107,19 @@ var events = [function (tabs, index, that) {
|
|
|
12005
12107
|
}
|
|
12006
12108
|
},
|
|
12007
12109
|
|
|
12008
|
-
/**
|
|
12009
|
-
* @desc:关闭Drawer界面
|
|
12010
|
-
* @author huangbo
|
|
12011
|
-
* @date 2024年9月7日
|
|
12110
|
+
/**
|
|
12111
|
+
* @desc:关闭Drawer界面
|
|
12112
|
+
* @author huangbo
|
|
12113
|
+
* @date 2024年9月7日
|
|
12012
12114
|
**/
|
|
12013
12115
|
handleCloseDrawer: function handleCloseDrawer() {
|
|
12014
12116
|
this.drawer = { visible: false };
|
|
12015
12117
|
},
|
|
12016
12118
|
|
|
12017
|
-
/**
|
|
12018
|
-
* @desc:菜单点击
|
|
12019
|
-
* @author huangbo
|
|
12020
|
-
* @date 2024年9月7日
|
|
12119
|
+
/**
|
|
12120
|
+
* @desc:菜单点击
|
|
12121
|
+
* @author huangbo
|
|
12122
|
+
* @date 2024年9月7日
|
|
12021
12123
|
**/
|
|
12022
12124
|
handlerClickMenu: function handlerClickMenu(res) {
|
|
12023
12125
|
util["a" /* default */].ajax({
|
|
@@ -12066,19 +12168,19 @@ var events = [function (tabs, index, that) {
|
|
|
12066
12168
|
},
|
|
12067
12169
|
|
|
12068
12170
|
|
|
12069
|
-
/**
|
|
12070
|
-
* @desc:用户详情请求成功
|
|
12071
|
-
* @author huangbo
|
|
12072
|
-
* @date 2024年9月7日
|
|
12171
|
+
/**
|
|
12172
|
+
* @desc:用户详情请求成功
|
|
12173
|
+
* @author huangbo
|
|
12174
|
+
* @date 2024年9月7日
|
|
12073
12175
|
**/
|
|
12074
12176
|
handleSuccess: function handleSuccess(res) {
|
|
12075
12177
|
this.simpleUserInfo = res.simpleUserInfo;
|
|
12076
12178
|
},
|
|
12077
12179
|
|
|
12078
|
-
/**
|
|
12079
|
-
* @desc:修改用户配置
|
|
12080
|
-
* @author huangbo
|
|
12081
|
-
* @date 2024年9月7日
|
|
12180
|
+
/**
|
|
12181
|
+
* @desc:修改用户配置
|
|
12182
|
+
* @author huangbo
|
|
12183
|
+
* @date 2024年9月7日
|
|
12082
12184
|
**/
|
|
12083
12185
|
handleChangeConfig: function handleChangeConfig(name, res) {
|
|
12084
12186
|
if (name == 'userHeadUrl') {
|
|
@@ -12094,10 +12196,10 @@ var events = [function (tabs, index, that) {
|
|
|
12094
12196
|
}
|
|
12095
12197
|
},
|
|
12096
12198
|
|
|
12097
|
-
/**
|
|
12098
|
-
* @desc:关闭webSocket
|
|
12099
|
-
* @author huangbo
|
|
12100
|
-
* @date 2024年9月7日
|
|
12199
|
+
/**
|
|
12200
|
+
* @desc:关闭webSocket
|
|
12201
|
+
* @author huangbo
|
|
12202
|
+
* @date 2024年9月7日
|
|
12101
12203
|
**/
|
|
12102
12204
|
handlerClose: function handlerClose() {
|
|
12103
12205
|
if (this.webSocket) {
|
|
@@ -12105,10 +12207,10 @@ var events = [function (tabs, index, that) {
|
|
|
12105
12207
|
}
|
|
12106
12208
|
},
|
|
12107
12209
|
|
|
12108
|
-
/**
|
|
12109
|
-
* @desc:刷新选中iframe页签
|
|
12110
|
-
* @author huangbo
|
|
12111
|
-
* @date 2024年9月7日
|
|
12210
|
+
/**
|
|
12211
|
+
* @desc:刷新选中iframe页签
|
|
12212
|
+
* @author huangbo
|
|
12213
|
+
* @date 2024年9月7日
|
|
12112
12214
|
**/
|
|
12113
12215
|
handleRefresh: function handleRefresh() {
|
|
12114
12216
|
var i = util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
|
|
@@ -12129,10 +12231,10 @@ var events = [function (tabs, index, that) {
|
|
|
12129
12231
|
}
|
|
12130
12232
|
},
|
|
12131
12233
|
|
|
12132
|
-
/**
|
|
12133
|
-
* @desc:删除iframe
|
|
12134
|
-
* @author huangbo
|
|
12135
|
-
* @date 2024年9月7日
|
|
12234
|
+
/**
|
|
12235
|
+
* @desc:删除iframe
|
|
12236
|
+
* @author huangbo
|
|
12237
|
+
* @date 2024年9月7日
|
|
12136
12238
|
**/
|
|
12137
12239
|
handleRemove: function handleRemove(name) {
|
|
12138
12240
|
var len = this.tabs.length - 1;
|
|
@@ -12149,10 +12251,10 @@ var events = [function (tabs, index, that) {
|
|
|
12149
12251
|
}
|
|
12150
12252
|
},
|
|
12151
12253
|
|
|
12152
|
-
/**
|
|
12153
|
-
* @desc:tabs鼠标右键事件
|
|
12154
|
-
* @author huangbo
|
|
12155
|
-
* @date 2024年9月7日
|
|
12254
|
+
/**
|
|
12255
|
+
* @desc:tabs鼠标右键事件
|
|
12256
|
+
* @author huangbo
|
|
12257
|
+
* @date 2024年9月7日
|
|
12156
12258
|
**/
|
|
12157
12259
|
handleContextmenu: function handleContextmenu(tabs, e) {
|
|
12158
12260
|
var disabled = {};
|
|
@@ -12177,10 +12279,10 @@ var events = [function (tabs, index, that) {
|
|
|
12177
12279
|
window.addEventListener('click', this.closeTabsEvents);
|
|
12178
12280
|
},
|
|
12179
12281
|
|
|
12180
|
-
/**
|
|
12181
|
-
* @desc:tabs页签事件
|
|
12182
|
-
* @author huangbo
|
|
12183
|
-
* @date 2024年9月7日
|
|
12282
|
+
/**
|
|
12283
|
+
* @desc:tabs页签事件
|
|
12284
|
+
* @author huangbo
|
|
12285
|
+
* @date 2024年9月7日
|
|
12184
12286
|
**/
|
|
12185
12287
|
handleTabsEvents: function handleTabsEvents(num) {
|
|
12186
12288
|
if (this.pane !== null) {
|
|
@@ -12198,10 +12300,10 @@ var events = [function (tabs, index, that) {
|
|
|
12198
12300
|
window.removeEventListener('click', this.closeTabsEvents);
|
|
12199
12301
|
},
|
|
12200
12302
|
|
|
12201
|
-
/**
|
|
12202
|
-
* @desc:handler工具栏点击事件
|
|
12203
|
-
* @author huangbo
|
|
12204
|
-
* @date 2024年9月7日
|
|
12303
|
+
/**
|
|
12304
|
+
* @desc:handler工具栏点击事件
|
|
12305
|
+
* @author huangbo
|
|
12306
|
+
* @date 2024年9月7日
|
|
12205
12307
|
**/
|
|
12206
12308
|
handleClick: function handleClick(res) {
|
|
12207
12309
|
var type = res.type,
|
|
@@ -12279,10 +12381,10 @@ var events = [function (tabs, index, that) {
|
|
|
12279
12381
|
this.$emit('handler-click', res);
|
|
12280
12382
|
},
|
|
12281
12383
|
|
|
12282
|
-
/**
|
|
12283
|
-
* @desc:退出登录
|
|
12284
|
-
* @author huangbo
|
|
12285
|
-
* @date 2024年9月7日
|
|
12384
|
+
/**
|
|
12385
|
+
* @desc:退出登录
|
|
12386
|
+
* @author huangbo
|
|
12387
|
+
* @date 2024年9月7日
|
|
12286
12388
|
**/
|
|
12287
12389
|
handleQuit: function handleQuit() {
|
|
12288
12390
|
var _this6 = this;
|
|
@@ -12357,10 +12459,10 @@ var events = [function (tabs, index, that) {
|
|
|
12357
12459
|
}).catch(function (e) {});
|
|
12358
12460
|
},
|
|
12359
12461
|
|
|
12360
|
-
/**
|
|
12361
|
-
* @desc:主题、消息回调
|
|
12362
|
-
* @author huangbo
|
|
12363
|
-
* @date 2024年9月7日
|
|
12462
|
+
/**
|
|
12463
|
+
* @desc:主题、消息回调
|
|
12464
|
+
* @author huangbo
|
|
12465
|
+
* @date 2024年9月7日
|
|
12364
12466
|
**/
|
|
12365
12467
|
handleChange: function handleChange(res) {
|
|
12366
12468
|
var type = res.type,
|
|
@@ -12376,10 +12478,10 @@ var events = [function (tabs, index, that) {
|
|
|
12376
12478
|
}
|
|
12377
12479
|
},
|
|
12378
12480
|
|
|
12379
|
-
/**
|
|
12380
|
-
* @desc:菜单布局样式切换
|
|
12381
|
-
* @author huangbo
|
|
12382
|
-
* @date 2024年9月7日
|
|
12481
|
+
/**
|
|
12482
|
+
* @desc:菜单布局样式切换
|
|
12483
|
+
* @author huangbo
|
|
12484
|
+
* @date 2024年9月7日
|
|
12383
12485
|
**/
|
|
12384
12486
|
handleLayout: function handleLayout(res, active) {
|
|
12385
12487
|
if (active) {
|
|
@@ -12388,10 +12490,10 @@ var events = [function (tabs, index, that) {
|
|
|
12388
12490
|
this.$emit('chang-layout', res, active);
|
|
12389
12491
|
},
|
|
12390
12492
|
|
|
12391
|
-
/**
|
|
12392
|
-
* @desc:消息修改总数
|
|
12393
|
-
* @author huangbo
|
|
12394
|
-
* @date 2024年9月7日
|
|
12493
|
+
/**
|
|
12494
|
+
* @desc:消息修改总数
|
|
12495
|
+
* @author huangbo
|
|
12496
|
+
* @date 2024年9月7日
|
|
12395
12497
|
**/
|
|
12396
12498
|
handleMenuTips: function handleMenuTips(id, num) {
|
|
12397
12499
|
if (num) {
|
|
@@ -12402,10 +12504,10 @@ var events = [function (tabs, index, that) {
|
|
|
12402
12504
|
}
|
|
12403
12505
|
},
|
|
12404
12506
|
|
|
12405
|
-
/**
|
|
12406
|
-
* @desc:处理即时消息
|
|
12407
|
-
* @author huangbo
|
|
12408
|
-
* @date 2024年9月7日
|
|
12507
|
+
/**
|
|
12508
|
+
* @desc:处理即时消息
|
|
12509
|
+
* @author huangbo
|
|
12510
|
+
* @date 2024年9月7日
|
|
12409
12511
|
**/
|
|
12410
12512
|
handleOpened: function handleOpened(res) {
|
|
12411
12513
|
var _this7 = this;
|
|
@@ -12529,11 +12631,11 @@ var events = [function (tabs, index, that) {
|
|
|
12529
12631
|
|
|
12530
12632
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
12531
12633
|
src_simplicityvue_type_script_lang_js_,
|
|
12532
|
-
|
|
12533
|
-
|
|
12634
|
+
simplicityvue_type_template_id_60bf1a32_scoped_true_render,
|
|
12635
|
+
simplicityvue_type_template_id_60bf1a32_scoped_true_staticRenderFns,
|
|
12534
12636
|
false,
|
|
12535
12637
|
null,
|
|
12536
|
-
"
|
|
12638
|
+
"60bf1a32",
|
|
12537
12639
|
null
|
|
12538
12640
|
|
|
12539
12641
|
)
|
|
@@ -13097,8 +13199,8 @@ defaultvue_type_template_id_377c361a_render._withStripped = true
|
|
|
13097
13199
|
|
|
13098
13200
|
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=377c361a&
|
|
13099
13201
|
|
|
13100
|
-
// 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=
|
|
13101
|
-
var
|
|
13202
|
+
// 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=138be27a&
|
|
13203
|
+
var userinfovue_type_template_id_138be27a_render = function () {
|
|
13102
13204
|
var _vm = this
|
|
13103
13205
|
var _h = _vm.$createElement
|
|
13104
13206
|
var _c = _vm._self._c || _h
|
|
@@ -13114,14 +13216,14 @@ var userinfovue_type_template_id_14b0e976_render = function () {
|
|
|
13114
13216
|
2
|
|
13115
13217
|
)
|
|
13116
13218
|
}
|
|
13117
|
-
var
|
|
13118
|
-
|
|
13219
|
+
var userinfovue_type_template_id_138be27a_staticRenderFns = []
|
|
13220
|
+
userinfovue_type_template_id_138be27a_render._withStripped = true
|
|
13119
13221
|
|
|
13120
13222
|
|
|
13121
|
-
// CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=
|
|
13223
|
+
// CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=138be27a&
|
|
13122
13224
|
|
|
13123
13225
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=script&lang=js&
|
|
13124
|
-
var
|
|
13226
|
+
var default_userinfovue_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; };
|
|
13125
13227
|
|
|
13126
13228
|
//
|
|
13127
13229
|
//
|
|
@@ -13381,7 +13483,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
13381
13483
|
_this2.checkPasswordMsg = results.checkPasswordMsg;
|
|
13382
13484
|
}
|
|
13383
13485
|
_this2.results = results.simpleUserInfo;
|
|
13384
|
-
_this2.values =
|
|
13486
|
+
_this2.values = default_userinfovue_type_script_lang_js_extends({}, _this2.values, results.simpleUserInfo);
|
|
13385
13487
|
// this.values.orgName = results.simpleUserInfo.orgName;
|
|
13386
13488
|
// this.values.depName = results.simpleUserInfo.depName;
|
|
13387
13489
|
// this.values.idCard = results.simpleUserInfo.idCard;
|
|
@@ -13442,8 +13544,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
13442
13544
|
} else {
|
|
13443
13545
|
_this3.$message({
|
|
13444
13546
|
message: res.msg || '系统错误,请联系管理员!',
|
|
13445
|
-
type: 'error'
|
|
13446
|
-
duration: 1500
|
|
13547
|
+
type: 'error'
|
|
13447
13548
|
});
|
|
13448
13549
|
}
|
|
13449
13550
|
}).catch(function (err) {
|
|
@@ -13578,8 +13679,8 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
13578
13679
|
|
|
13579
13680
|
var default_userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
13580
13681
|
src_default_userinfovue_type_script_lang_js_,
|
|
13581
|
-
|
|
13582
|
-
|
|
13682
|
+
userinfovue_type_template_id_138be27a_render,
|
|
13683
|
+
userinfovue_type_template_id_138be27a_staticRenderFns,
|
|
13583
13684
|
false,
|
|
13584
13685
|
null,
|
|
13585
13686
|
null,
|
|
@@ -16677,8 +16778,6 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
16677
16778
|
mounted: function mounted() {
|
|
16678
16779
|
var _this = this;
|
|
16679
16780
|
|
|
16680
|
-
console.log('params', this.$refs, this.$refs.main);
|
|
16681
|
-
|
|
16682
16781
|
var token = util["a" /* default */].getStorage('token') || util["a" /* default */].getStorage('Authorization');
|
|
16683
16782
|
this.isLogin = token ? true : this.isLogin;
|
|
16684
16783
|
if (!token && Object.prototype.hasOwnProperty.call(this.params, 'serverId') && Object.prototype.hasOwnProperty.call(this.params, 'authType')) {
|