1.// 请求接口
import { getemployeeAllInfo, getEmpDetailList, getImageUrl } from ‘@/api/emp/employeeInfo’
2.直接使用封装好的接口
getemployeeAllInfo(this.userId).then(res => {
this.resData = res.data
})

1.// 请求接口
import { getemployeeAllInfo, getEmpDetailList, getImageUrl } from ‘@/api/emp/employeeInfo’
2.直接使用封装好的接口
getemployeeAllInfo(this.userId).then(res => {
this.resData = res.data
})