| | |
| | | <a-row :gutter="24"> |
| | | |
| | | <a-col :md="6" :sm="10"> |
| | | <a-form-model-item label="任务类名" prop="jobClassName"> |
| | | <a-input placeholder="请输入任务类名" v-model="queryParam.jobClassName"></a-input> |
| | | <a-form-model-item label="任务名称" prop="jobClassName"> |
| | | <a-input placeholder="请输入任务名称" v-model="queryParam.jobName"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :md="6" :sm="10"> |
| | |
| | | onOk: function(){ |
| | | getAction(that.url.pause,{id:record.id}).then((res)=>{ |
| | | if(res.success){ |
| | | that.$message.success(res.message); |
| | | // that.$message.success(res.message); |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loadData(); |
| | | that.onClearSelected(); |
| | | }else{ |
| | | that.$message.warning(res.message); |
| | | // that.$message.warning(res.message); |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | onOk: function(){ |
| | | getAction(that.url.resume,{id:record.id}).then((res)=>{ |
| | | if(res.success){ |
| | | that.$message.success(res.message); |
| | | // that.$message.success(res.message); |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loadData(); |
| | | that.onClearSelected(); |
| | | }else{ |
| | | that.$message.warning(res.message); |
| | | // that.$message.warning(res.message); |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | onOk: function(){ |
| | | getAction(that.url.execute,{id:record.id}).then((res)=>{ |
| | | if(res.success){ |
| | | that.$message.success(res.message); |
| | | // that.$message.success(res.message); |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loadData(); |
| | | that.onClearSelected(); |
| | | }else{ |
| | | that.$message.warning(res.message); |
| | | // that.$message.warning(res.message); |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }); |
| | | } |