书签 分享 收藏 举报 版权申诉 / 23

类型QuartzNet进阶持久化管理.docx

  • 文档编号:30208040
  • 上传时间:2023-08-07
  • 格式:DOCX
  • 页数:23
  • 大小:191.76KB

  • 功能设置
  • 导航菜单

    添加任务

    序号

    群组

    作业名称

    触发器名称

    执行计划

    描述

    上次执行

    下次执行

    状态

    操作

    @foreach(variteminModel)

    {

    @item.id

    @item.GroupName

    @item.JobName

    @item.TriggerName

    @item.Cron

    @item.Description

    @item.PreTime

    @item.NextTime

    @switch(item.TriggerState)

    {

    case"None":

    @:

    未启动

    break;

    case"Normal":

    @:

    运行中

    break;

    case"Paused":

    @:

    暂停

    break;

    default:

    break;

    }

    编辑

    @if(item.TriggerState=="None")

    {

    运行

    }

    @if(item.TriggerState=="Normal")

    {

    暂停

    停止

    }

    @if(item.TriggerState=="Paused")

    {

    继续

    }

    删除

    }

    none;">

    确认删除

    这些项目将被永久删除,并且无法恢复。

    你确定吗

    取消

    确定

    --.animated-->

    @sectionscript{

    $(function(){

    $('.delete').on("click",function(){

    var_url=$(this).attr("href");

    $("#mediumModal").modal('show');

    $("#mediumModal.btn-primary").click(function(){

    window.location.href=_url;

    })

    returnfalse;

    })

    });

    }

     

    Edit视图:

    @modelTYWeixin.Models.dt_job

    @{

    ViewBag.Title="编辑任务";

    }

    编辑任务

    @using(Html.BeginForm("Edit","Job",FormMethod.Post,new{@class="form-horizontalform-borderedform-nav"}))

    {

    @Html.ValidationSummary(true,"",new{@class="text-danger"})

    @Html.HiddenFor(model=>model.id)

    @Html.AntiForgeryToken()

    @Html.Label("群组",htmlAttributes:

    new{@class="form-control-label"})

    @Html.EditorFor(model=>model.GroupName,new{htmlAttributes=new{@class="form-control"}})

    @Html.ValidationMessageFor(model=>model.GroupName,"",new{@class="text-danger"})

    @Html.Label("作业名称",htmlAttributes:

    new{@class="form-control-label"})

    @Html.EditorFor(model=>model.JobName,new{htmlAttributes=new{@class="form-control"}})

    @Html.ValidationMessageFor(model=>model.JobName,"",new{@class="text-danger"})

    @Html.Label("触发器名称",htmlAttributes:

    new{@class="form-control-labelcolcol-md-2"})

    @Html.EditorFor(model=>model.TriggerName,new{htmlAttributes=new{@class="form-control"}})

    @Html.ValidationMessageFor(model=>model.TriggerName,"",new{@class="text-danger"})

    @Html.Label("执行计划",htmlAttributes:

    new{@class="form-control-labelcolcol-md-2"})

    @Html.EditorFor(model=>model.Cron,new{htmlAttributes=new{@class="form-control"}})

    @Html.ValidationMessageFor(model=>model.Cron,"",new{@class="text-danger"})

    @Html.Label("描述",htmlAttributes:

    new{@class="form-control-labelcolcol-md-2"})

    @Html.TextAreaFor(model=>model.Description,htmlAttributes:

    new{@class="form-control",rows="3"})

    @Html.ValidationMessageFor(model=>model.Description,"",new{@class="text-danger"})

    保存

    返回

    }

    举报
    举报
    版权申诉
    版权申诉
    word格式文档无特别注明外均可编辑修改;预览文档经过压缩,下载后原文更清晰! 立即下载
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    QuartzNet 进阶 持久 管理
    提示  冰豆网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:QuartzNet进阶持久化管理.docx
    链接地址:https://www.bdocx.com/doc/30208040.html
    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2022 冰点文档网站版权所有

    经营许可证编号:鄂ICP备2022015515号-1

    收起
    展开