fix: BUG修改

This commit is contained in:
kun 2024-03-12 18:04:49 +08:00
parent 6d1b1de3c8
commit 6524786fcd
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export const getWorkTicketDetail = (params: {}) => {
};
//工作票(弹窗数据编辑)
export const editWorkTicketDetail = (params: {}) => {
return http.get(BASEURL + `/xmgl/rtWorkTicket/edit`, params);
return http.post(BASEURL + `/xmgl/rtWorkTicket/edit`, params);
};
//风险清册
export const getRiskList = (params: {}) => {

View File

@ -260,7 +260,7 @@ let showDialog = ref(false as any);
const postData = ref({} as any);
//
const saveOperate = async () => {
const res: any = await editWorkTicketDetail({ ...detailData });
const res: any = await editWorkTicketDetail({ ...detailData.value });
if (res.success) {
ElMessage({
showClose: true,