|
|
@ -55,6 +55,14 @@ |
|
|
|
<template slot="htmlSlot" slot-scope="text"> |
|
|
|
<template slot="htmlSlot" slot-scope="text"> |
|
|
|
<div v-html="text"></div> |
|
|
|
<div v-html="text"></div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template slot="nodata" slot-scope="text, record"> |
|
|
|
|
|
|
|
<span v-if="!text" style="font-size: 14px;font-style: italic;">无</span> |
|
|
|
|
|
|
|
<span v-else style="font-size: 14px;font-style: italic;">{{record.proProcessName}}</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<template slot="nodata1" slot-scope="text, record"> |
|
|
|
|
|
|
|
<span v-if="!text" style="font-size: 14px;font-style: italic;">无</span> |
|
|
|
|
|
|
|
<span v-else style="font-size: 14px;font-style: italic;">{{record.postProcessName}}</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
<template slot="imgSlot" slot-scope="text"> |
|
|
|
<template slot="imgSlot" slot-scope="text"> |
|
|
|
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> |
|
|
|
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> |
|
|
|
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
|
|
|
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
|
|
@ -147,22 +155,24 @@ |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'machineNames' |
|
|
|
dataIndex: 'machineNames' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
/* { |
|
|
|
title:'工具名称', |
|
|
|
title:'工具名称', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'toolsNames' |
|
|
|
dataIndex: 'toolsNames' |
|
|
|
}, |
|
|
|
},*/ |
|
|
|
{ |
|
|
|
{ |
|
|
|
title:'前导工序', |
|
|
|
title:'前导工序', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'proProcessName' |
|
|
|
dataIndex: 'proProcessName', |
|
|
|
|
|
|
|
scopedSlots: {customRender: 'nodata'} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title:'后导工序', |
|
|
|
title:'后导工序', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'postProcessName' |
|
|
|
dataIndex: 'postProcessName', |
|
|
|
|
|
|
|
scopedSlots: {customRender: 'nodata1'} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
/* { |
|
|
|
title:'输入产品', |
|
|
|
title:'输入产品', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'inputProduct' |
|
|
|
dataIndex: 'inputProduct' |
|
|
@ -176,7 +186,7 @@ |
|
|
|
title:'工人名称', |
|
|
|
title:'工人名称', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
|
dataIndex: 'userNames' |
|
|
|
dataIndex: 'userNames' |
|
|
|
}, |
|
|
|
},*/ |
|
|
|
{ |
|
|
|
{ |
|
|
|
title:'机器时长', |
|
|
|
title:'机器时长', |
|
|
|
align:"center", |
|
|
|
align:"center", |
|
|
@ -205,7 +215,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|
this.getSuperFieldList(); |
|
|
|
//this.getSuperFieldList(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
importExcelUrl: function(){ |
|
|
|
importExcelUrl: function(){ |
|
|
|