Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0381e13b
authored
Apr 07, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'lw/develop' into v2.5.x
2 parents
f151db6f
6865fc55
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
16 deletions
linkwe-mobile/src/App.vue
linkwe-pc/src/styles/element-ui.scss
linkwe-pc/src/styles/index.scss
linkwe-pc/src/views/drainageCode/staff/list.vue
linkwe-mobile/src/App.vue
View file @
0381e13
...
...
@@ -34,7 +34,7 @@ export default {
const
noAuth
=
this
.
$router
.
app
.
$route
.
meta
?
this
.
$router
.
app
.
$route
.
meta
.
noAuth
:
false
if
(
!
code
&&
!
noAuth
)
{
this
.
$
toast
(
'未获得授权'
)
this
.
$
dialog
({
message
:
'未获得授权'
}
)
}
const
noGetUser
=
this
.
$router
.
app
.
$route
.
meta
?
this
.
$router
.
app
.
$route
.
meta
.
noAuth
:
false
...
...
@@ -42,8 +42,17 @@ export default {
// this.$toast('未获得授权')
return
}
let
{
data
}
=
await
getUserInfo
(
code
,
this
.
agentId
)
this
.
$store
.
state
.
userId
=
data
.
userId
let
userId
=
sessionStorage
.
getItem
(
'userId'
)
//取缓存中的用户信息
if
(
userId
)
{
userId
=
JSON
.
parse
(
userId
)
}
else
{
let
{
data
}
=
await
getUserInfo
(
code
,
this
.
agentId
)
// 存入sessionStorage,解决刷新重复code获取用户问题
sessionStorage
.
setItem
(
'userId'
,
JSON
.
stringify
(
data
.
userId
))
userId
=
data
.
userId
}
this
.
$store
.
state
.
userId
=
userId
})
// this.$toast('userId:' + this.$store.state.userId)
...
...
linkwe-pc/src/styles/element-ui.scss
View file @
0381e13
...
...
@@ -77,6 +77,27 @@
margin
:
0
auto
;
}
.el-dialog
{
display
:
flex
;
flex-direction
:
column
;
margin
:
0
!
important
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
/*height:600px;*/
max-height
:
calc
(
100%
-
30px
);
max-width
:
calc
(
100%
-
30px
);
}
.el-dialog
.el-dialog__body
{
flex
:
1
;
overflow
:
auto
;
}
// .el-dialog:not(.is-fullscreen) {
// margin-top: 6vh !important;
// }
// refine element ui upload
.upload-container
{
.el-upload
{
...
...
linkwe-pc/src/styles/index.scss
View file @
0381e13
@import
"./variables.scss"
;
@import
"./mixin.scss"
;
@import
"./transition.scss"
;
@import
"./element-ui.scss"
;
@import
"./sidebar.scss"
;
@import
'./variables.scss'
;
@import
'./mixin.scss'
;
@import
'./transition.scss'
;
@import
'./element-ui.scss'
;
@import
'./sidebar.scss'
;
::-webkit-scrollbar
{
/*滚动条整体样式*/
...
...
@@ -86,7 +86,7 @@ div:focus {
visibility
:
hidden
;
display
:
block
;
font-size
:
0
;
content
:
" "
;
content
:
' '
;
clear
:
both
;
height
:
0
;
}
...
...
@@ -100,8 +100,8 @@ aside {
display
:
block
;
line-height
:
32px
;
font-size
:
16px
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
"Fira Sans"
,
"Droid Sans"
,
"Helvetica Neue"
,
sans-serif
;
font-family
:
-
apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen
,
Ubuntu
,
Cantarell
,
'Fira Sans'
,
'Droid Sans'
,
'Helvetica Neue'
,
sans-serif
;
color
:
#2c3e50
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
...
...
@@ -189,10 +189,6 @@ aside {
z-index
:
1000
!
important
;
}
.el-dialog
:not
(
.is-fullscreen
)
{
margin-top
:
6vh
!
important
;
}
.el-table
{
.el-table__header-wrapper
,
.el-table__fixed-header-wrapper
{
...
...
@@ -392,7 +388,7 @@ aside {
height
:
auto
;
}
.fr
{
[
class
^=
"el-icon-"
]
{
[
class
^=
'el-icon-'
]
{
margin-left
:
5px
;
}
.el-icon-edit-outline
{
...
...
linkwe-pc/src/views/drainageCode/staff/list.vue
View file @
0381e13
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment