Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
d1f7cf7a
Commit
d1f7cf7a
authored
Jun 10, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product-rjt
parents
b1115b8c
fb482dfa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
index.vue
pages/account/login/index.vue
+2
-2
index3.vue
pages/account/login/index3.vue
+3
-3
index.vue
pages/home/index.vue
+1
-1
route.js
plugins/route.js
+1
-1
config.js
static/config.js
+2
-2
No files found.
pages/account/login/index.vue
View file @
d1f7cf7a
...
...
@@ -77,10 +77,10 @@ export default {
password
}).
then
(
r
=>
{
if
(
r
>
0
)
{
this
.
$Message
.
success
(
"登
陆
成功!"
);
this
.
$Message
.
success
(
"登
录
成功!"
);
this
.
initUserInfo
(
r
);
}
else
{
this
.
$Message
.
error
(
"登
陆
失败!"
);
this
.
$Message
.
error
(
"登
录
失败!"
);
}
});
}
...
...
pages/account/login/index3.vue
View file @
d1f7cf7a
...
...
@@ -29,7 +29,7 @@
</div>
<!--
<div
class=
"page-account-top-desc tc"
>
SaaS MES 制造执行系统
</div>
-->
</div>
<h3
class=
"mb20"
>
用户登
陆
</h3>
<h3
class=
"mb20"
>
用户登
录
</h3>
<Login
@
on-submit=
"handleSubmit"
>
<UserName
name=
"username"
value=
""
/>
<Password
name=
"password"
value=
""
enter-to-submit
/>
...
...
@@ -80,10 +80,10 @@ export default {
password
}).
then
(
r
=>
{
if
(
r
>
0
)
{
this
.
$Message
.
success
(
"登
陆
成功!"
);
this
.
$Message
.
success
(
"登
录
成功!"
);
this
.
initUserInfo
(
r
);
}
else
{
this
.
$Message
.
error
(
"登
陆
失败!"
);
this
.
$Message
.
error
(
"登
录
失败!"
);
}
});
}
...
...
pages/home/index.vue
View file @
d1f7cf7a
...
...
@@ -5,7 +5,7 @@
<img
src=
"@/assets/images/home/user.png"
/>
</div>
<div
class=
"user-text"
>
<p>
你好:张飞,欢迎登
陆
MES系统!
</p>
<p>
你好:张飞,欢迎登
录
MES系统!
</p>
<p>
<span>
xx公司/xx车间xx班组
</span>
&
nbsp
&
nbsp
<span>
工艺技术员
</span>
...
...
plugins/route.js
View file @
d1f7cf7a
...
...
@@ -23,7 +23,7 @@ export default ({
next
();
}
else
{
// 没有登录的时候跳转到登录界面
// 携带上登
陆
成功之后需要跳转的页面完整路径
// 携带上登
录
成功之后需要跳转的页面完整路径
next
({
name
:
'login'
,
query
:
{
...
...
static/config.js
View file @
d1f7cf7a
...
...
@@ -10,7 +10,7 @@ let address=systemApi.dev;
//let address=systemApi.local;
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登
陆
认证
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登
录
认证
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10000/plan`
;
//订单
// window.PlanUrl = `http://localhost:10050/api/services/app`; //Process-api
...
...
@@ -26,7 +26,7 @@ window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接
window
.
iconImg
=
`/imgicon/`
;
/* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登
陆
认证
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登
录
认证
window.designUrl = `http://${address}:10030/api/services/app`; //Process-api 工艺规程
window.PlanUrl = `http://${address}:10050/api/services/app`; //Process-api
window.routeUrl = `http://${address}:10050/api/services/app`; //Process-api
...
...
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