Former-commit-id: f6780ebac6fe1a2d8fe603a4e1987e94b82f9c59
Former-commit-id: e0d226d927500463e5846d624ed170523471287f
1.0
wanggang 5 years ago
parent 941c90beb3
commit ce8b9a49de

@ -1,19 +1,2 @@
@model string
@if (Model != null)
{
if (this.ViewContext.RouteData.Values["action"].ToString().ToLower() == "details")
{
@Model
}
else
{
if (Model.Length > 20)
{
<div title="@Model @this.ViewContext.RouteData.Values["action"] ">@Model.Substring(0, 17)<span>...</span></div>
}
else
{
@Model
}
}
}
@Model

@ -598,21 +598,25 @@ namespace TeacherExt.Models
[DataType(DataType.MultilineText)]
[SkipSearch, SkipList]
[Display(Order = 570, Name = "审核失败原因")]
[MaxLength(100)]
public string Comment { get; set; }
[SkipSearch, SkipList]
[Display(Order = 571, Name = "何年何月何人介绍加入中国共产党")]
[DataType(DataType.MultilineText)]
[MaxLength(100)]
public string CommunistPartyMessage { get; set; }
[SkipSearch, SkipList]
[Display(Order = 572, Name = "何年何月何人介绍加入何民主党派")]
[DataType(DataType.MultilineText)]
[MaxLength(100)]
public string DemocraticPartyMessage { get; set; }
[SkipSearch, SkipList]
[Display(Order = 573, Name = "何年何月何人介绍加入中国共青团")]
[DataType(DataType.MultilineText)]
[MaxLength(100)]
public string YouthPartyMessage { get; set; }
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="MaxLengthAttribute" xml:space="preserve">
<value>最大长度为{0}</value>
</data>
<data name="MustBeTrueAttribute" xml:space="preserve">
<value>必须同意才能继续</value>
</data>

@ -23,6 +23,8 @@ vpn下载&服务器地址https://125.72.102.82:44331
用户名:靳发全 密码DSideal!@#1234
Web10.10.15.12 root DsIdeal@123
/usr/local/openresty/nginx/sbin/nginx
/usr/local/openresty/nginx/conf/nginx.conf
数据库:
10.10.15.13:22066 root DsideaL147258369

Loading…
Cancel
Save