fix:审批详情处理

This commit is contained in:
shijing 2025-10-14 10:31:57 +08:00
parent f968b951f4
commit ed6501057b
1 changed files with 2 additions and 5 deletions

View File

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