diff --git a/src/views/wf/visitdetail.vue b/src/views/wf/visitdetail.vue index fba83349..0c8da213 100644 --- a/src/views/wf/visitdetail.vue +++ b/src/views/wf/visitdetail.vue @@ -46,10 +46,10 @@ - + {{ticketDetail.sn }} - + {{rpjDetail.name }} @@ -194,9 +194,16 @@ this.ticketId = this.$route.query.id; this.type = this.$route.query.type; this.projectId = this.$route.query.projectId; + this.cateType = this.$route.query.catetype; + if(this.cateType==='visit'){ + this.getVisit(); + }else if(this.cateType==='rparty'){ + this.getVisit(); + } this.getticketItem(); - this.getVisit(); + this.getBtns(); + this.getRpj(); }, methods: { @@ -222,7 +229,9 @@ //入厂项目详情 getRpj(){ - + this.$API.rpmrpj.item.req(this.projectId).then((res) => { + this.rpjDetail = res; + }); }, //加签处理-start addNode(){