username@email.com
2021-10-14 1c4f3bce3d88557b7ddb5f0a49b4be5e91b416f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@using DTO;
@{
    ViewBag.Title = "ExpertTestTopic";
    Layout = null;
    List<ExpertTestTopicDTO> ExpertTestTopicDTOs = ViewBag.listExpertTestTopicDTO as List<ExpertTestTopicDTO>; //问题类型
}
 
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>@SiteConfig.SiteName</title>
    <meta name="keywords" content="@SiteConfig.Keywords">
    <meta name="description" content="@SiteConfig.Description">
    <meta name="author" content="@SiteConfig.Author">
    <link rel="icon" type="image/x-icon" href="@SiteConfig.ShortcutIcon">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <style type="text/css">
        body {
            text-align: center;
            font-size: 12px;
        }
 
        table {
            border-collapse: collapse;
            border: none;
            width: 900px;
            margin: auto;
            text-align: left;
        }
 
        td {
            border: solid #e5e5e5 1px;
        }
    </style>
</head>
<body>
    @if (ExpertTestTopicDTOs != null && ExpertTestTopicDTOs.Count > 0)
    {
        
 
        <table>
            <tr>
                <td style="width:5%;"> 序号</td>
                <td style="width:7%;"> 题型</td>
                <td style="width:7%;"> 知识点</td>
                <td style="width:7%;"> 区域</td>
                <td style="width:30%;"> 试题</td>
                <td style="width:7%;"> 重点标注</td>
                <td style="width:7%;"> 审核</td>
                <td style="width:30%;"> 解析</td>
            </tr>
 
 
            @{
                int i = 1;
            }
 
            @foreach (var ExpertTestTopicDTO in ExpertTestTopicDTOs)
            {
 
        <tr>
            <td>  @i</td>
            <td> @Html.Raw(ExpertTestTopicDTO.TopictypeName)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.ZhishitypeName)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.AreaName)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.Topic)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.ZhongdianName)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.ShenpiStatusName)</td>
            <td> @Html.Raw(ExpertTestTopicDTO.Jiexi)</td>
        </tr>
               
                i++;
            }
 
        </table>
    }
</body>
<script type="text/javascript">
    window.print();
</script>
</html>