Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
0cd2ef25
Commit
0cd2ef25
authored
Jun 19, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整页面样式,增加查看模版详情页面功能
parent
18866b11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
14 deletions
+22
-14
AddTaskTemplate.cshtml
...DC.Web/Areas/TaskCenter/Views/Home/AddTaskTemplate.cshtml
+9
-9
Templates.cshtml
Bailun.DC.Web/Areas/TaskCenter/Views/Home/Templates.cshtml
+13
-5
No files found.
Bailun.DC.Web/Areas/TaskCenter/Views/Home/AddTaskTemplate.cshtml
View file @
0cd2ef25
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div class="row">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12">
<label style="width:110px">下载类型:</label>
<label style="width:110px">下载类型:</label>
<select id="download_type" name="download_type" class="form-control" style="width:1
3
0px;display:inline">
<select id="download_type" name="download_type" class="form-control" style="width:1
1
0px;display:inline">
<option value="">请选择下载类型</option>
<option value="">请选择下载类型</option>
<option value="1">物流账单</option>
<option value="1">物流账单</option>
</select>
</select>
...
@@ -24,27 +24,27 @@
...
@@ -24,27 +24,27 @@
<div class="row">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12">
<label style="width:110px">启动频率-月:</label>
<label style="width:110px">启动频率-月:</label>
<input id="start_frequency_month" name="start_frequency_month" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_month" style="width:
8
0px;display:inline;" />
<input id="start_frequency_month" name="start_frequency_month" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_month" style="width:
11
0px;display:inline;" />
<span style="color:#ccc;font-size:13px;">说明:月,如果指定月份启动,则填写对应的月份,0则不指定</span>
<span style="color:#ccc;font-size:13px;
margin-left:10px;
">说明:月,如果指定月份启动,则填写对应的月份,0则不指定</span>
</div>
</div>
<div class="col-sm-12">
<div class="col-sm-12">
<label style="width:110px">启动频率-日:</label>
<label style="width:110px">启动频率-日:</label>
<input id="start_frequency_day" name="start_frequency_day" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_day" style="width:
8
0px;display:inline;" />
<input id="start_frequency_day" name="start_frequency_day" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_day" style="width:
11
0px;display:inline;" />
<span style="color:#ccc;font-size:13px;">说明:日,如果指定每个月的哪天启动,则填写对应的每月的几号,0则不指定</span>
<span style="color:#ccc;font-size:13px;
margin-left:10px;
">说明:日,如果指定每个月的哪天启动,则填写对应的每月的几号,0则不指定</span>
</div>
</div>
<div class="col-sm-12">
<div class="col-sm-12">
<label style="width:110px">启动频率-小时:</label>
<label style="width:110px">启动频率-小时:</label>
<input id="start_frequency_hour" name="start_frequency_hour" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_hour" style="width:
8
0px;display:inline;" />
<input id="start_frequency_hour" name="start_frequency_hour" type="number" class="form-control" placeholder="" value="@ViewBag.m.start_frequency_hour" style="width:
11
0px;display:inline;" />
<span style="color:#ccc;font-size:13px;">说明:时,如果指定每个天的某个小时启动,则填写对应的每天的几点,0则不指定</span>
<span style="color:#ccc;font-size:13px;
margin-left:10px;
">说明:时,如果指定每个天的某个小时启动,则填写对应的每天的几点,0则不指定</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12">
<label style="width:1
3
0px">状态:</label>
<label style="width:1
1
0px">状态:</label>
<select id="status" name="status" class="form-control" style="width:1
3
0px;display:inline">
<select id="status" name="status" class="form-control" style="width:1
1
0px;display:inline">
<option value="1">启用</option>
<option value="1">启用</option>
<option value="0">禁用</option>
<option value="0">禁用</option>
</select>
</select>
...
...
Bailun.DC.Web/Areas/TaskCenter/Views/Home/Templates.cshtml
View file @
0cd2ef25
...
@@ -13,16 +13,16 @@
...
@@ -13,16 +13,16 @@
<label> </label>
<label> </label>
<button type="button" class="btn btn-warning" onclick="Add();">新增模版</button>
<button type="button" class="btn btn-warning" onclick="Add();">新增模版</button>
</div>
</div>
<div class="form-group">
<div class="form-group"
style="margin-left:5px;"
>
<label>下载类型</label>
<label>下载类型</label>
<select id="datatype" name="datatype" class="form-control" style="width:1
2
0px">
<select id="datatype" name="datatype" class="form-control" style="width:1
5
0px">
<option value="">请选择下载类型</option>
<option value="">请选择下载类型</option>
<option value="1">物流账单</option>
<option value="1">物流账单</option>
</select>
</select>
</div>
</div>
<div class="form-group">
<div class="form-group">
<label></label>
<label></label>
<select id="status" name="status" class="form-control" style="width:1
3
0px">
<select id="status" name="status" class="form-control" style="width:1
5
0px">
<option value="">请选择模版状态</option>
<option value="">请选择模版状态</option>
<option value="1">启用</option>
<option value="1">启用</option>
<option value="0">停用</option>
<option value="0">停用</option>
...
@@ -58,8 +58,12 @@
...
@@ -58,8 +58,12 @@
{ field: 'start_frequency_hour', title: '启动频率-小时', width: '130' },
{ field: 'start_frequency_hour', title: '启动频率-小时', width: '130' },
{ field: 'status', title: '状态', width: '80' },
{ field: 'status', title: '状态', width: '80' },
{ field: 'lastupdatetime', title: '最后更新时间', width: '130' },
{ field: 'lastupdatetime', title: '最后更新时间', width: '130' },
{ field: 'note', title: '备注', width: '200' }
{ field: 'note', title: '备注', width: '200' },
{
field: '', title: '操作', width: '100', formatter: function (idx, data) {
return '<a href="javascript:;" onclick="Detail('+data.id+')" class="btn btn-success btn-xs">查看详情</a>';
}
}
];
];
var url = '@Url.Content("~/TaskCenter/Home/TemplatesJson")' + '?' + $('#toolbar').serialize();
var url = '@Url.Content("~/TaskCenter/Home/TemplatesJson")' + '?' + $('#toolbar').serialize();
...
@@ -76,6 +80,10 @@
...
@@ -76,6 +80,10 @@
layer_show('新增模版', '@Url.Content("~/TaskCenter/Home/AddTaskTemplate?id=0")', '90%', '90%');
layer_show('新增模版', '@Url.Content("~/TaskCenter/Home/AddTaskTemplate?id=0")', '90%', '90%');
}
}
function Detail(id) {
layer_show('模板详情', '@Url.Content("~/TaskCenter/Home/AddTaskTemplate?id=")'+id, '90%', '90%');
}
</script>
</script>
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment