|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 根据ID修改 | 
|---|
|  |  |  | export function editProblem (data) { | 
|---|
|  |  |  | return request.post('/visitsAdmin/cloudService/business/ywProblem/editProblem', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 根据ID修改 | 
|---|
|  |  |  | export function updateById (data) { | 
|---|
|  |  |  | return request.post('/visitsAdmin/cloudService/business/ywProblem/updateById', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 根据ID查询 | 
|---|
|  |  |  | export function getById (id) { | 
|---|
|  |  |  | return request.get(`/visitsAdmin/cloudService/business/ywProblem/${id}`) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 删除 | 
|---|
|  |  |  | export function deleteById (id) { | 
|---|
|  |  |  | return request.get(`/visitsAdmin/cloudService/business/ywProblem/delete/${id}`) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 根据工单查询 | 
|---|
|  |  |  | export function getByWorkorderId (workorderId) { | 
|---|
|  |  |  | return request.get(`/visitsAdmin/cloudService/business/ywProblem/getByWorkorderId?workorderId=${workorderId}`) | 
|---|
|  |  |  | } | 
|---|