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
87cb5021
Commit
87cb5021
authored
Jul 30, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
ea156ea0
2fd3e6e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
index.vue
pages/workflow/process/index.vue
+8
-7
index.js
plugins/request/index.js
+2
-2
No files found.
pages/workflow/process/index.vue
View file @
87cb5021
...
...
@@ -98,7 +98,8 @@ export default {
key
:
'id'
,
title
:
this
.
l
(
'id'
),
align
:
'left'
,
high
:
true
high
:
true
,
hide
:
true
,
},
{
key
:
'name'
,
...
...
@@ -109,7 +110,7 @@ export default {
{
key
:
'status'
,
title
:
this
.
l
(
'status'
),
align
:
'
left
'
,
align
:
'
center
'
,
high
:
true
,
code
:
'workflow.schema.status'
,
width
:
80
...
...
@@ -118,7 +119,7 @@ export default {
{
key
:
'processingStatus'
,
title
:
this
.
l
(
'processingStatus'
),
align
:
'
left
'
,
align
:
'
center
'
,
easy
:
true
,
width
:
100
,
high
:
true
...
...
@@ -126,28 +127,28 @@ export default {
{
key
:
'rejectStatus'
,
title
:
this
.
l
(
'rejectStatus'
),
align
:
'
left
'
,
align
:
'
center
'
,
width
:
100
,
high
:
true
},
{
key
:
'endStatus'
,
title
:
this
.
l
(
'endStatus'
),
align
:
'
left
'
,
align
:
'
center
'
,
width
:
100
,
high
:
true
},
{
key
:
'terminateStatus'
,
title
:
this
.
l
(
'terminateStatus'
),
align
:
'
left
'
,
align
:
'
center
'
,
width
:
100
,
high
:
true
},
{
key
:
'creationTime'
,
title
:
this
.
l
(
'creationTime'
),
align
:
'
left
'
,
align
:
'
center
'
,
high
:
true
},
{
...
...
plugins/request/index.js
View file @
87cb5021
...
...
@@ -87,8 +87,8 @@ service.defaults.headers.put['Content-Type'] = 'application/json';
service
.
interceptors
.
request
.
use
(
config
=>
{
// 在请求发送之前做一些处理
//
const token = util.cookies.get('token');
const
token
=
sessionStorage
.
getItem
(
'token'
);
const
token
=
util
.
cookies
.
get
(
'token'
);
//
const token = sessionStorage.getItem('token');
if
(
token
)
{
// 让每个请求携带token-- ['X-Token']为自定义key 请根据实际情况自行修改
config
.
headers
[
'Authorization'
]
=
'Bearer '
+
token
;
...
...
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