|
|
@ -1,5 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<a-card :bordered="false"> |
|
|
|
<a-card :bordered="false"> |
|
|
|
|
|
|
|
<p style="font-size: 30px;color:#333">{{biaoTi}}</p> |
|
|
|
<!-- 查询区域 --> |
|
|
|
<!-- 查询区域 --> |
|
|
|
<div class="table-page-search-wrapper"> |
|
|
|
<div class="table-page-search-wrapper"> |
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
@ -33,6 +34,7 @@ |
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<!-- 操作按钮区域 --> |
|
|
|
<div class="table-operator"> |
|
|
|
<div class="table-operator"> |
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
|
|
|
|
|
<a-button @click="fanhui" type="primary" icon="plus">返回</a-button> |
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('产品部件工序')">导出</a-button>--> |
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('产品部件工序')">导出</a-button>--> |
|
|
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> |
|
|
|
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">--> |
|
|
|
<!-- <a-button type="primary" icon="import">导入</a-button>--> |
|
|
|
<!-- <a-button type="primary" icon="import">导入</a-button>--> |
|
|
@ -127,6 +129,8 @@ |
|
|
|
productId:'', |
|
|
|
productId:'', |
|
|
|
processId:'', |
|
|
|
processId:'', |
|
|
|
componentId:'', |
|
|
|
componentId:'', |
|
|
|
|
|
|
|
biaoTi: '', |
|
|
|
|
|
|
|
idt:'', |
|
|
|
// 表头 |
|
|
|
// 表头 |
|
|
|
columns: [ |
|
|
|
columns: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -188,6 +192,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|
|
|
|
|
this.idt=this.$route.query.product; |
|
|
|
this.getSuperFieldList(); |
|
|
|
this.getSuperFieldList(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
@ -214,6 +219,15 @@ |
|
|
|
this.$message.warning(res.message); |
|
|
|
this.$message.warning(res.message); |
|
|
|
} |
|
|
|
} |
|
|
|
})}, |
|
|
|
})}, |
|
|
|
|
|
|
|
fanhui(){ |
|
|
|
|
|
|
|
this.$router.push({ |
|
|
|
|
|
|
|
/*返回产品*/ |
|
|
|
|
|
|
|
path: '/pdmodulecomponent/ProductModuleComponentList',/*在引号中填写返回vue*/ |
|
|
|
|
|
|
|
query:{ |
|
|
|
|
|
|
|
id:this.idt, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
initDictConfig(){ |
|
|
|
initDictConfig(){ |
|
|
|
}, |
|
|
|
}, |
|
|
|
valueChange(value){ |
|
|
|
valueChange(value){ |
|
|
@ -232,7 +246,7 @@ |
|
|
|
loadParameter() { |
|
|
|
loadParameter() { |
|
|
|
if (this.loadRouteType === false) { |
|
|
|
if (this.loadRouteType === false) { |
|
|
|
this.id = this.$route.query.id; |
|
|
|
this.id = this.$route.query.id; |
|
|
|
console.log("***********") |
|
|
|
this.biaoTi = this.$route.query.styleNames+"部件工序管理"; |
|
|
|
this.loadRouteType = true; |
|
|
|
this.loadRouteType = true; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|