Commit 1a91098e authored by jiaorz's avatar jiaorz

禁用取消bug

parent 0de2f7b8
...@@ -32,7 +32,7 @@ export function reject(obj) { ...@@ -32,7 +32,7 @@ export function reject(obj) {
}); });
} }
export function unbook(obj) { export function unbookunbook(obj) {
return fetch({ return fetch({
url: '/vehicle/vehicleInfo/unbook/4employee', url: '/vehicle/vehicleInfo/unbook/4employee',
method: 'delete', method: 'delete',
......
...@@ -73,7 +73,10 @@ ...@@ -73,7 +73,10 @@
* */ * */
cancel() { cancel() {
console.log("取消禁用"); console.log("取消禁用");
cancleBook(this.currentItem.ii.vehicleBookRecord.id).then(response => {this.$emit("jinyongDialogEvent", true);}); var data = {
"vehicleBookRecordId":this.currentItem.ii.vehicleBookRecord.id
}
cancleBook(data).then(response => {this.$emit("jinyongDialogEvent", true);});
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment