Commit 46a167cd authored by zhoumaotao's avatar zhoumaotao

调整代码

parent 15100064
...@@ -87,7 +87,7 @@ export function completedRk(params) { ...@@ -87,7 +87,7 @@ export function completedRk(params) {
} }
/* 删除任务 */ /* 删除任务 */
export function deleteRk(params) { export function deleteRk(params) {
return http.post('/xgwcs/rkzy/delete', filterSpace(params) || {}).then(e => { return http.post('/xgwcs/rkzy/deleteRkzy', filterSpace(params) || {}).then(e => {
return filter(e) return filter(e)
}) })
} }
...@@ -166,7 +166,7 @@ export function callMaterials(params) { ...@@ -166,7 +166,7 @@ export function callMaterials(params) {
} }
/* 取消下架作业*/ /* 取消下架作业*/
export function cancelMaterials(params) { export function cancelMaterials(params) {
return http.post("/xgwcs/rkzy/delete ", filterSpace(params) || {}).then(e => { return http.post("/xgwcs/rkzy/deleteCkzy ", filterSpace(params) || {}).then(e => {
return filter(e) return filter(e)
}) })
} }
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
that.modalName="" that.modalName=""
let data={rwid:that.rkdjlist[that.index].id} let data={id:that.rkdjlist[that.index].id}
deleteRk(data).then(e=>{ deleteRk(data).then(e=>{
if(e){ if(e){
that.$tip.toast("解除绑定信息成功") that.$tip.toast("解除绑定信息成功")
......
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