|
|
|
@ -55,6 +55,14 @@ |
|
|
|
|
<template slot="htmlSlot" slot-scope="text"> |
|
|
|
|
<div v-html="text"></div> |
|
|
|
|
</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"> |
|
|
|
|
<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;"/> |
|
|
|
@ -147,22 +155,24 @@ |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'machineNames' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
title:'工具名称', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'toolsNames' |
|
|
|
|
}, |
|
|
|
|
},*/ |
|
|
|
|
{ |
|
|
|
|
title:'前导工序', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'proProcessName' |
|
|
|
|
dataIndex: 'proProcessName', |
|
|
|
|
scopedSlots: {customRender: 'nodata'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title:'后导工序', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'postProcessName' |
|
|
|
|
dataIndex: 'postProcessName', |
|
|
|
|
scopedSlots: {customRender: 'nodata1'} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
/* { |
|
|
|
|
title:'输入产品', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'inputProduct' |
|
|
|
@ -176,7 +186,7 @@ |
|
|
|
|
title:'工人名称', |
|
|
|
|
align:"center", |
|
|
|
|
dataIndex: 'userNames' |
|
|
|
|
}, |
|
|
|
|
},*/ |
|
|
|
|
{ |
|
|
|
|
title:'机器时长', |
|
|
|
|
align:"center", |
|
|
|
@ -205,7 +215,7 @@ |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
this.getSuperFieldList(); |
|
|
|
|
//this.getSuperFieldList(); |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
importExcelUrl: function(){ |
|
|
|
|