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

od

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