2023-1-9产品部件工序修缮

zhc4dev
lenovo 2 years ago
parent 00ce5ee23e
commit 5e36a9c53f
  1. 16
      ant-design-vue-jeecg/src/views/pdcomponentprocess/ProductComponentProcessList.vue
  2. 8
      ant-design-vue-jeecg/src/views/pdmodulecomponent/ProductModuleComponentList.vue

@ -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;
}
},

@ -83,7 +83,7 @@
</a-button>
</template>
<span slot="action1" slot-scope="text, record">
<a @click="bujian(record.id)">管理</a>
<a @click="bujian(record.id,record.componentId_dictText,idt)">管理</a>
</span>
<span slot="action" slot-scope="text, record">
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
@ -122,6 +122,7 @@
description: '产品模块部件表管理页面',
component:'',
productId:'',
idt:'',
//
columns: [
{
@ -188,6 +189,7 @@
}
},
created() {
this.idt=this.$route.query.id;
this.getSuperFieldList();
},
computed: {
@ -214,11 +216,13 @@
this.$message.warning(res.message);
}
})},
bujian(id){
bujian(id,name,product){
this.$router.push({
path: '/pdcomponentprocess/ProductComponentProcessList',
query: { //
'id': id,
name:name,
product:product
}
});
},

Loading…
Cancel
Save