Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_pda_Web
Commits
f4c5f211
Commit
f4c5f211
authored
Mar 09, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
383d71b3
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
44 additions
and
37 deletions
+44
-37
.env.production
.env.production
+2
-2
README.md
README.md
+1
-1
index.html
public/index.html
+1
-1
login.js
src/api/login.js
+24
-24
index.vue
src/layout/components/TagsView/index.vue
+1
-1
header.vue
src/layout/components/header.vue
+3
-3
element-ui.scss
src/styles/element-ui.scss
+1
-0
tagsView.scss
src/styles/themeA/tagsView.scss
+6
-1
tagsView.scss
src/styles/themeB/tagsView.scss
+1
-1
login.vue
src/views/login/login.vue
+1
-1
vue.config.js
vue.config.js
+3
-2
No files found.
.env.production
View file @
f4c5f211
...
@@ -3,7 +3,7 @@ ENV = 'production'
...
@@ -3,7 +3,7 @@ ENV = 'production'
# 私有环境
# 私有环境
# base api
# base api
#VUE_APP_BASE_API = 'http://
zt.51newsoftware.com:1018
4'
#VUE_APP_BASE_API = 'http://
49.232.167.247:2001
4'
# workFlow链接地址
# workFlow链接地址
#VUE_APP_WORKFLOW = 'http://zt.51newsoftware.com:10184/workFlow'
#VUE_APP_WORKFLOW = 'http://zt.51newsoftware.com:10184/workFlow'
# internal链接地址
# internal链接地址
...
@@ -21,7 +21,7 @@ ENV = 'production'
...
@@ -21,7 +21,7 @@ ENV = 'production'
# 生产环境
# 生产环境
# base api
# base api
VUE_APP_BASE_API = 'http://
zt.cebitic.com:1018
4'
VUE_APP_BASE_API = 'http://
49.232.167.247:2001
4'
# workFlow链接地址
# workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.cebitic.com:10184/workFlow'
VUE_APP_WORKFLOW = 'http://zt.cebitic.com:10184/workFlow'
# internal链接地址
# internal链接地址
...
...
README.md
View file @
f4c5f211
...
@@ -902,7 +902,7 @@ ENV = 'production'
...
@@ -902,7 +902,7 @@ ENV = 'production'
#
生产环境
#
生产环境
#
base
api
#
base
api
VUE_APP_BASE_API
=
'http
:
//
zt.cebitic.com
:
1018
4
'//
配置生产环境打包地址(后端的请求接口地址)
VUE_APP_BASE_API
=
'http
:
//
49.232
.
167.247
:
2001
4
'//
配置生产环境打包地址(后端的请求接口地址)
```
```
打包时运行:
打包时运行:
...
...
public/index.html
View file @
f4c5f211
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<link
rel=
"icon"
href=
"<%= BASE_URL %>liulanqi_logo.png"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>liulanqi_logo.png"
>
<!-- <link rel="stylesheet" href="//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css">-->
<!-- <link rel="stylesheet" href="//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css">-->
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
``
<script
src=
"./vconsole.min.js"
></script>
<script
src=
"./vconsole.min.js"
></script>
<script>
new
VConsole
()
</script>
<script>
new
VConsole
()
</script>
</head>
</head>
<body>
<body>
...
...
src/api/login.js
View file @
f4c5f211
...
@@ -4,39 +4,39 @@ import Qs from 'qs'
...
@@ -4,39 +4,39 @@ import Qs from 'qs'
// 登录方法
// 登录方法
// 登录方法
// 登录方法
export
function
login
(
username
,
password
,
code
,
uuid
)
{
const
data
=
{
username
,
password
// code,
// uuid
}
return
request
({
url
:
'/auth/login'
,
method
:
'post'
,
params
:
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
}
// export function login(username, password, code, uuid) {
// export function login(username, password, code, uuid) {
// const data = {
// const data = {
// username,
// username,
// password
,
// password
// code,
//
//
code,
// uuid
//
//
uuid
// }
// }
// console.log('加密前数据', data)
// return request({
// return request({
// url: '/auth/login',
// url: '/auth/login',
// method: 'post',
// method: 'post',
//
data: Qs.stringify({
//
params: data,
//
sign: encrypt(data)
//
headers: {
//
}),
//
'Content-Type': 'application/x-www-form-urlencoded'
//
headers: {
}
// }
// })
// })
// }
// }
export
function
login
(
username
,
password
,
code
,
uuid
)
{
const
data
=
{
username
,
password
,
code
,
uuid
}
console
.
log
(
'加密前数据'
,
data
)
return
request
({
url
:
'/auth/login'
,
method
:
'post'
,
data
:
Qs
.
stringify
({
sign
:
encrypt
(
data
)
}),
headers
:
{}
})
}
// 刷新token
// 刷新token
export
function
refreshToken
(
params
)
{
export
function
refreshToken
(
params
)
{
return
request
({
return
request
({
...
...
src/layout/components/TagsView/index.vue
View file @
f4c5f211
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
>
{{
tag
.
title
}}
<span
class=
"title"
>
{{
tag
.
title
}}
</span>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
</router-link>
</router-link>
</scroll-pane>
</scroll-pane>
...
...
src/layout/components/header.vue
View file @
f4c5f211
...
@@ -51,9 +51,9 @@
...
@@ -51,9 +51,9 @@
修改密码
修改密码
</router-link>
</router-link>
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"setting = true"
>
<!--
<el-dropdown-item
@
click
.
native=
"setting = true"
>
--
>
<span>
布局设置
</span
>
<!--
<span>
布局设置
</span>
--
>
</el-dropdown-item
>
<!--
</el-dropdown-item>
--
>
<el-dropdown-item
divided
@
click
.
native=
"logout"
>
<el-dropdown-item
divided
@
click
.
native=
"logout"
>
<span
style=
"display:block;"
>
退出
</span>
<span
style=
"display:block;"
>
退出
</span>
</el-dropdown-item>
</el-dropdown-item>
...
...
src/styles/element-ui.scss
View file @
f4c5f211
...
@@ -381,6 +381,7 @@ label {
...
@@ -381,6 +381,7 @@ label {
padding
:
8px
15px
;
padding
:
8px
15px
;
}
}
.el-message-box
{
.el-message-box
{
width
:
300px
;
.el-message-box__content
{
.el-message-box__content
{
padding
:
15px
;
padding
:
15px
;
}
}
...
...
src/styles/themeA/tagsView.scss
View file @
f4c5f211
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
margin-right
:
15px
;
margin-right
:
15px
;
}
}
&
.active
{
&
.active
{
width
:
138px
;
background-color
:
#fff
;
background-color
:
#fff
;
color
:
$color-theme
;
color
:
$color-theme
;
border-color
:
transparent
;
border-color
:
transparent
;
...
@@ -66,12 +67,16 @@
...
@@ -66,12 +67,16 @@
}
}
.tags-view-wrapper
{
.tags-view-wrapper
{
.tags-view-item
{
.tags-view-item
{
.title
{
margin-left
:
35px
;
}
.el-icon-close
{
.el-icon-close
{
float
:
right
;
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
vertical-align
:
2px
;
vertical-align
:
2px
;
border-radius
:
50%
;
border-radius
:
50%
;
text-align
:
center
;
//
text-align: center;
transition
:
all
.3s
cubic-bezier
(
.645
,
.045
,
.355
,
1
);
transition
:
all
.3s
cubic-bezier
(
.645
,
.045
,
.355
,
1
);
transform-origin
:
100%
50%
;
transform-origin
:
100%
50%
;
&
:before
{
&
:before
{
...
...
src/styles/themeB/tagsView.scss
View file @
f4c5f211
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
height
:
16px
;
height
:
16px
;
vertical-align
:
2px
;
vertical-align
:
2px
;
border-radius
:
50%
;
border-radius
:
50%
;
text-align
:
center
;
//
text-align: center;
transition
:
all
.3s
cubic-bezier
(
.645
,
.045
,
.355
,
1
);
transition
:
all
.3s
cubic-bezier
(
.645
,
.045
,
.355
,
1
);
transform-origin
:
100%
50%
;
transform-origin
:
100%
50%
;
&
:before
{
&
:before
{
...
...
src/views/login/login.vue
View file @
f4c5f211
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
getCode
()
//
this.getCode()
this
.
getCookie
()
this
.
getCookie
()
},
},
methods
:
{
methods
:
{
...
...
vue.config.js
View file @
f4c5f211
...
@@ -86,9 +86,10 @@ module.exports = {
...
@@ -86,9 +86,10 @@ module.exports = {
// target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.12:8082/`, // 孙浩
// target: `http://192.168.1.12:8082/`, // 孙浩
// target: `http://192.168.1.41:8082/`,
// target: `http://192.168.1.41:8082/`,
//
target: `http://49.232.167.247:20014/`, // 线上
target
:
`http://49.232.167.247:20014/`
,
// 线上
// target: `http://192.168.1.30:8082/`,
// target: `http://192.168.1.30:8082/`,
target
:
`http://localhost:8088/`
,
// target: `http://localhost:8088/`,
// target: `http://localhost:8082/`,
// target: `http://49.232.167.247:20014/`,
// target: `http://49.232.167.247:20014/`,
// changeOrigin: true,
// changeOrigin: true,
pathRewrite
:
{
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment