“dzb”
2022-10-11 387e8b0743240de72425e5b5c5709d629ace9aa4
src/components/dispatch/index.vue
@@ -300,17 +300,21 @@
        },
        // 人员更改
        async handlePerChange(id){
            await this.getLawUser(id);
            let obj =  await this.getLawUser(id);
            this.dispatch.lawEnforcerName = obj.nickName;
            this.dispatch.contactWay = obj.mobile;
        },
        // 获取执法人员信息
        async getLawUser(id){
            let obj = {}
            await this.$axios({
                method:'get',
                url:`sccg/admin/${id}`
            })
            .then(res=>{
                console.log(res);
                obj = res.data;
            })
            return obj;
        }
    }
}