123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace TEAMModelOS.SDK.DI
- {
- public class Constant
- {
- public static readonly List<string> objectiveTypes = new List<string>() { "single", "multiple", "sortmultiple", "judge" };
- public static readonly List<string> BlobPrefix = new List<string> { "exam", "vote", "survey", "item", "paper", "syllabus", "records", "doc", "image", "res", "video", "audio", "other", "thum", "train", "temp", "jyzx" };
- public static readonly List<string> ContentPrefix = new List<string> { "doc", "image", "res", "video", "audio", "other" };
- public static readonly string TEAMModelOS = "TEAMModelOS";
- public static readonly string teammodelos_blob = "teammodelos";
- public static readonly string ScopeTeacher = "teacher";
- public static readonly string ScopeTmdUser = "tmduser";
- public static readonly string ScopeStudent = "student";
- public static readonly string ScopeBusiness = "business";
- public static readonly string RowKey = "RowKey";
- public static readonly string PartitionKey = "PartitionKey";
- public static readonly string School = "School";
- public static readonly string Normal = "Normal";
- public static readonly string Common = "Common";
- public static readonly string Teacher = "Teacher";
- public static readonly string Student = "Student";
- public static readonly int private_lesson_limit = 50;
- public static readonly int private_lesson_expire = 7;
- public static readonly int school_lesson_expire = 7;
- public const string Equal = "eq";
- public const string NotEqual = "ne";
- public const string GreaterThan = "gt";
- public const string GreaterThanOrEqual = "ge";
- public const string LessThan = "lt";
- public const string LessThanOrEqual = "le";
- //目前IES的tag只有"IES",待動態更新架構完成後再還原為"IES_{類別}"
- //public static readonly string NotifyType_IES5_Management = "IES_Management";
- //public static readonly string NotifyType_IES5_Course = "IES_Course";
- //public static readonly string NotifyType_IES5_Task = "IES_Task";
- //public static readonly string NotifyType_IES5_Contect = "IES_Contect";
- public static readonly string NotifyType_IES5_Management = "IES";
- public static readonly string NotifyType_IES5_Course = "IES";
- public static readonly string NotifyType_IES5_Task = "IES";
- public static readonly string NotifyType_IES5_Contect = "IES";
- public static readonly Dictionary<string, string> DefaultPeriod = new Dictionary<string, string> {
- {"pre" ,"学前"},
- {"primary","小学"},
- {"junior","初中"},
- {"senior","高中" },
- {"secondary","中职(中专,技校,职高)" },
- {"college","高职(专科)"},
- {"university","大学本科"},
- {"special","特殊教育"},
- {"edu-bureau","教育局"},
- {"elecedu-dept","电教部门"},
- // {"master","硕士研究生学段"},
- // {"doctor","博士研究生学段"},
- // {"adult-secondary","成人中专"},
- // {"adult-higher","成人高教"},
- //{"other","其它"}
- };
- public static readonly string html = @"
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset=""UTF-8"">
- <meta http-equiv=""X-UA-Compatible"" content=""IE=edge"">
- <meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">
- <title>校本研修活动完成情况</title>
- <style>
- body {
- font-family: ""fangsong"";
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .tch-table,
- .details-table {
- width: 100%;
- }
- .tch-table table {
- width: 100%;
- margin: 15px 0;
- border: 0;
- }
- .tch-table th {
- background-color: #c5c5c5;
- color: #222222;
-
- }
- .tch-table,
- .tch-table th,
- .tch-table td {
- font-size: 0.95em;
- text-align: center;
- padding: 4px;
- border-collapse: collapse;
- font-weight: bolder;
- }
- .tch-table th,
- .tch-table td {
- border-bottom: 1px solid #918b8c;
- border-width: 1px 0 1px 0;
- }
- .tch-table tr {
- border: 1px solid #ffffff;
- height: 3.2em;
- }
- .title {
- font-weight: bold;
- align-self: flex-start;
- margin: 30px 5px;
- }
- .title::before {
- content: """";
- width: 10px;
- height: 10px;
- background: #3a3a3a;
- display: inline-block;
- margin-right: 10px;
- }
- </style>
- </head>
- <body>
- <h1 style=""text-align:center;font-weight: bold;"">校本研修活动完成情况</h1>
- <p class=""title"">教师信息</p>
- <table class=""tch-table"" id=""tchTable"">
- <tr>
- <th style=""width: 33.3%;"">教师姓名</th>
- <th style=""width: 33.3%;"">机构</th>
- <th style=""width: 33.3%;"">教研组</th>
- </tr>
- <tr>
- <td>{c.cname}</td>
- <td>{c.sname}</td>
- <td>{c.gname}</td>
- </tr>
- </table>
- <p class=""title"">活动明细</p>
- <table class=""tch-table"" id=""acTable"">
- <tr>
- <th style=""width: 25%;"">活动主题</th>
- <th style=""width: 15%;"">活动类型</th>
- <th style=""width: 5%;"">任务学时</th>
- <th style=""width: 5%;"">完成学时</th>
- <th style=""width: 20%;"">活动时间</th>
- <th style=""width: 10%;"">活动内容</th>
- <th style=""width: 10%;"">活动任务</th>
- <th style=""width: 10%;"">状态</th>
- </tr>
- {c.details}
- </table>
- </body>
- </html>
- ";
- }
- }
|