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
9273ef81
Commit
9273ef81
authored
Jun 23, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务下载列表增加数据类型列表
parent
b2a5a33f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
HomeController.cs
Bailun.DC.Web/Areas/TaskCenter/Controllers/HomeController.cs
+4
-0
ListTask.cshtml
Bailun.DC.Web/Areas/TaskCenter/Views/Home/ListTask.cshtml
+7
-1
No files found.
Bailun.DC.Web/Areas/TaskCenter/Controllers/HomeController.cs
View file @
9273ef81
...
...
@@ -105,6 +105,10 @@ namespace Bailun.DC.Web.Areas.TaskCenter.Controllers
public
IActionResult
ListTask
()
{
var
datatypes
=
new
Services
.
TaskCenterServices
().
ListDataType
();
ViewBag
.
datatypes
=
datatypes
;
return
View
();
}
...
...
Bailun.DC.Web/Areas/TaskCenter/Views/Home/ListTask.cshtml
View file @
9273ef81
...
...
@@ -13,7 +13,13 @@
<label>下载类型</label>
<select id="datatype" name="datatype" class="form-control" style="width:150px">
<option value="">请选择下载类型</option>
<option value="1">物流账单</option>
@if (ViewBag.datatypes.Count > 0)
{
foreach (var item in ViewBag.datatypes)
{
<option value="@(item.data_type)">@(item.data_type_name)</option>
}
}
</select>
</div>
<div class="form-group">
...
...
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