n20-common-lib 1.2.23 → 1.2.26
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/package.json +1 -1
- package/src/assets/css/cl-layout-aside.scss +8 -3
- package/src/components/.DS_Store +0 -0
- package/src/components/Layout/.DS_Store +0 -0
- package/src/components/Layout/HeaderWrap/index.vue +26 -1
- package/src/components/LoginTemporary/form.vue +563 -563
- package/src/components/LoginTemporary/index.vue +135 -135
- package/src/components/LoginTemporary/qrcode.vue +90 -90
- package/src/components/LoginTemporary/retrievePw.vue +374 -374
- package/src/components/LoginTemporary/utils.js +73 -73
- package/src/components/NstcG6Components/.DS_Store +0 -0
- package/style/css/normalize.scss +726 -0
- package/style/index.css +1 -1
- package/style/index.css.map +1 -1
- package/style/pageDemo/demo-1.vue +131 -0
- package/style/pageDemo/demo-2.vue +35 -0
- package/style/pageDemo/demo-3.vue +22 -0
- package/style/pageDemo/seeCode.js +20 -0
- package/style/server-config.jsonc +606 -0
package/package.json
CHANGED
|
@@ -17,11 +17,10 @@
|
|
|
17
17
|
|
|
18
18
|
&.el-menu--collapse {
|
|
19
19
|
width: $--aside-collapse-width;
|
|
20
|
-
|
|
21
20
|
.el-tooltip,
|
|
22
21
|
.el-submenu__title {
|
|
23
|
-
padding-left:
|
|
24
|
-
padding-right:
|
|
22
|
+
padding-left: 16px !important;
|
|
23
|
+
padding-right: 16px !important;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
.open-collapsed-btn {
|
|
@@ -86,3 +85,9 @@
|
|
|
86
85
|
margin-top: -6px;
|
|
87
86
|
}
|
|
88
87
|
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
.el-menu--collapse > .el-menu-item [class^="el-icon-"],
|
|
91
|
+
.el-menu--collapse > .el-submenu > .el-submenu__title [class^="el-icon-"] {
|
|
92
|
+
width: 18px;
|
|
93
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -13,9 +13,17 @@
|
|
|
13
13
|
<el-divider direction="vertical" />
|
|
14
14
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
15
15
|
<h3 class="header-title" v-html="headerTitle"></h3>
|
|
16
|
+
<el-tooltip
|
|
17
|
+
class="set-user-btn"
|
|
18
|
+
effect="dark"
|
|
19
|
+
content="帮组文档"
|
|
20
|
+
placement="top-start"
|
|
21
|
+
>
|
|
22
|
+
<i class="el-icon-info" @click="openHelp"></i>
|
|
23
|
+
</el-tooltip>
|
|
16
24
|
|
|
17
25
|
<el-dropdown
|
|
18
|
-
class="
|
|
26
|
+
class="m-l-m"
|
|
19
27
|
trigger="click"
|
|
20
28
|
placement="bottom"
|
|
21
29
|
size="medium"
|
|
@@ -160,6 +168,7 @@
|
|
|
160
168
|
import dialogWrap from '../../Dialog/index.vue'
|
|
161
169
|
import changePwd from './changePwd.vue'
|
|
162
170
|
import noticePop from './noticePop.vue'
|
|
171
|
+
import axios from '../../../utils/axios'
|
|
163
172
|
|
|
164
173
|
import getJsonc from '../../../assets/getJsonc'
|
|
165
174
|
import realUrl from '../../../assets/realUrl'
|
|
@@ -288,6 +297,22 @@ export default {
|
|
|
288
297
|
this.rolesList = userInfo.roles || []
|
|
289
298
|
}
|
|
290
299
|
},
|
|
300
|
+
// 打开帮助文档
|
|
301
|
+
openHelp() {
|
|
302
|
+
axios
|
|
303
|
+
.get(`/bems/1.0/userManual`, {}, { responseType: 'blob' })
|
|
304
|
+
.then((res) => {
|
|
305
|
+
if (!res.size) {
|
|
306
|
+
this.$message.error('暂无帮助文档,请联系管理员!')
|
|
307
|
+
return
|
|
308
|
+
}
|
|
309
|
+
let url = window.URL.createObjectURL(res)
|
|
310
|
+
let win = window.open(url, '帮助文档')
|
|
311
|
+
setTimeout(function () {
|
|
312
|
+
win.document.title = '帮助文档'
|
|
313
|
+
}, 1000)
|
|
314
|
+
})
|
|
315
|
+
},
|
|
291
316
|
setUserFn(c) {
|
|
292
317
|
switch (c) {
|
|
293
318
|
case 'setLang':
|