ticketDetail

This commit is contained in:
shijing 2022-07-18 08:35:57 +08:00
parent 90f9fcc2ca
commit 973a92fd25
1 changed files with 13 additions and 4 deletions

View File

@ -46,10 +46,10 @@
<el-card style="margin-left: 10px; margin-bottom: 10px" v-if="cateType==='rparty'"> <el-card style="margin-left: 10px; margin-bottom: 10px" v-if="cateType==='rparty'">
<el-descriptions title="来访信息" :column="3"> <el-descriptions title="来访信息" :column="3">
<el-descriptions-item label="工单流水号:"> <el-descriptions-item label="工单流水号:">
<!--{{ticketDetail.sn }}--> {{ticketDetail.sn }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="相关方:"> <el-descriptions-item label="相关方:">
<!--{{rpjDetail.name }}--> {{rpjDetail.name }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="入厂项目:"> <el-descriptions-item label="入厂项目:">
<!--{{rpjDetail.company }}--> <!--{{rpjDetail.company }}-->
@ -194,9 +194,16 @@
this.ticketId = this.$route.query.id; this.ticketId = this.$route.query.id;
this.type = this.$route.query.type; this.type = this.$route.query.type;
this.projectId = this.$route.query.projectId; 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.getticketItem();
this.getVisit();
this.getBtns(); this.getBtns();
this.getRpj();
}, },
methods: { methods: {
@ -222,7 +229,9 @@
// //
getRpj(){ getRpj(){
this.$API.rpmrpj.item.req(this.projectId).then((res) => {
this.rpjDetail = res;
});
}, },
//-start //-start
addNode(){ addNode(){