Commit 87cb5021 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents ea156ea0 2fd3e6e7
...@@ -98,7 +98,8 @@ export default { ...@@ -98,7 +98,8 @@ export default {
key: 'id', key: 'id',
title: this.l('id'), title: this.l('id'),
align: 'left', align: 'left',
high: true high: true,
hide:true,
}, },
{ {
key: 'name', key: 'name',
...@@ -109,7 +110,7 @@ export default { ...@@ -109,7 +110,7 @@ export default {
{ {
key: 'status', key: 'status',
title: this.l('status'), title: this.l('status'),
align: 'left', align: 'center',
high: true, high: true,
code: 'workflow.schema.status', code: 'workflow.schema.status',
width: 80 width: 80
...@@ -118,7 +119,7 @@ export default { ...@@ -118,7 +119,7 @@ export default {
{ {
key: 'processingStatus', key: 'processingStatus',
title: this.l('processingStatus'), title: this.l('processingStatus'),
align: 'left', align: 'center',
easy: true, easy: true,
width: 100, width: 100,
high: true high: true
...@@ -126,28 +127,28 @@ export default { ...@@ -126,28 +127,28 @@ export default {
{ {
key: 'rejectStatus', key: 'rejectStatus',
title: this.l('rejectStatus'), title: this.l('rejectStatus'),
align: 'left', align: 'center',
width: 100, width: 100,
high: true high: true
}, },
{ {
key: 'endStatus', key: 'endStatus',
title: this.l('endStatus'), title: this.l('endStatus'),
align: 'left', align: 'center',
width: 100, width: 100,
high: true high: true
}, },
{ {
key: 'terminateStatus', key: 'terminateStatus',
title: this.l('terminateStatus'), title: this.l('terminateStatus'),
align: 'left', align: 'center',
width: 100, width: 100,
high: true high: true
}, },
{ {
key: 'creationTime', key: 'creationTime',
title: this.l('creationTime'), title: this.l('creationTime'),
align: 'left', align: 'center',
high: true high: true
}, },
{ {
......
...@@ -87,8 +87,8 @@ service.defaults.headers.put['Content-Type'] = 'application/json'; ...@@ -87,8 +87,8 @@ service.defaults.headers.put['Content-Type'] = 'application/json';
service.interceptors.request.use( service.interceptors.request.use(
config => { config => {
// 在请求发送之前做一些处理 // 在请求发送之前做一些处理
// const token = util.cookies.get('token'); const token = util.cookies.get('token');
const token = sessionStorage.getItem('token'); // const token = sessionStorage.getItem('token');
if (token) { if (token) {
// 让每个请求携带token-- ['X-Token']为自定义key 请根据实际情况自行修改 // 让每个请求携带token-- ['X-Token']为自定义key 请根据实际情况自行修改
config.headers['Authorization'] = 'Bearer ' + token; config.headers['Authorization'] = 'Bearer ' + token;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment