更改订单信息页面的删除
This commit is contained in:
parent
98de6eb141
commit
9aa3335264
@ -2,23 +2,25 @@ import request from '@/utils/request'
|
||||
// 查询护理类型信息列表
|
||||
export function appointmentOrderDetailsList(query) {
|
||||
return request({
|
||||
url: '/system/appointmentOrderDetails/appointmentOrderDetailsList',
|
||||
url: 'system/appointmentOrder/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function Detailed(id) {
|
||||
return request({
|
||||
url: `/system/appointmentOrderDetails/Detailed`+`?orderNo=${id}`,
|
||||
method: 'get',
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
//删除
|
||||
export function deldetailed(id) {
|
||||
export function deldetailed(appointmentOrderId) {
|
||||
return request({
|
||||
url: '/system/appointmentOrderDetails/' + id,
|
||||
method: 'delete'
|
||||
url: '/system/appointmentOrder/'+appointmentOrderId,
|
||||
method: 'post',
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@ -318,7 +318,6 @@ export default {
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
seeLook(row) {
|
||||
this.innerVisible4 = true;
|
||||
const id = row.orderNo;
|
||||
@ -371,8 +370,9 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
// console.log('row :>> ', row);
|
||||
this.$confirm(
|
||||
'是否确认删除订单编号为"' + row.orderNo + '"的数据项?',
|
||||
'是否确认删除订单信息的数据项?',
|
||||
"提示",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
@ -381,9 +381,10 @@ export default {
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
deldetailed(row.appointOrderDetailsId).then((res) => {
|
||||
deldetailed(row.appointmentOrderId).then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
this.getList();
|
||||
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
@ -406,4 +407,4 @@ export default {
|
||||
height: 500px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user