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