Commit 26941f0c authored by 周远喜's avatar 周远喜

od

parent a014758f
...@@ -259,17 +259,17 @@ export default { ...@@ -259,17 +259,17 @@ export default {
this.$Message.error("未设置结束时间"); this.$Message.error("未设置结束时间");
return return
} }
if(!row.executor){ if(row.executor.length==0){
this.$Message.error("设置执行人"); this.$Message.error("设置执行人");
return return
} }
delete row.chlidren; delete row.chlidren;
delete row.parent; delete row.parent;
console.warn(row) console.warn(row)
var data=JSON.parse(JSON.stringify(row));
data.status=1; row.status=1;
Api.sendtask(data).then(r=>{ Api.sendtask(row).then(r=>{
if(r.result){ if(r.success){
this.$Message.info("任务派发成功!"); this.$Message.info("任务派发成功!");
this.search(); this.search();
} }
......
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