fix:审批详情处理
This commit is contained in:
parent
f968b951f4
commit
ed6501057b
|
@ -210,16 +210,13 @@ export default {
|
||||||
getTid (){
|
getTid (){
|
||||||
var that = this;
|
var that = this;
|
||||||
if (that.t_id) {
|
if (that.t_id) {
|
||||||
that.$API.wpm.handover.item.req(that.t_id).then(res=>{
|
that.$API.ofm.mroombooking.item.req(that.t_id).then(res=>{
|
||||||
that.setData(res);
|
that.form = res;
|
||||||
if(res.ticket_.state_.type == 1 && res.create_by == that.$TOOL.data.get("USER_INFO").id ) {
|
if(res.ticket_.state_.type == 1 && res.create_by == that.$TOOL.data.get("USER_INFO").id ) {
|
||||||
that.type = "edit";
|
that.type = "edit";
|
||||||
}else{
|
}else{
|
||||||
that.type = "show";
|
that.type = "show";
|
||||||
}
|
}
|
||||||
that.$nextTick(()=>{
|
|
||||||
that.$refs.ticketd_b_start.init();
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue