升级
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
<Items>
|
||||
<f:CheckBox ID="ckbIsFace" runat="server" Label="移动端人脸识别" Text="是否启用" LabelWidth="200">
|
||||
</f:CheckBox>
|
||||
<f:CheckBox ID="ckbIsAutoFetch" runat="server" Label="自动拉取检查数据" Text="是否启用" LabelWidth="200">
|
||||
</f:CheckBox>
|
||||
<f:Label runat="server"></f:Label>
|
||||
<f:Button runat="server" Text="坐标范围" OnClick="btnSetMap_Click" ID="btnSetMap" Hidden="true" ></f:Button>
|
||||
</Items>
|
||||
|
||||
@@ -93,6 +93,7 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
if (getProject != null)
|
||||
{
|
||||
getProject.IsFace = this.ckbIsFace.Checked;
|
||||
getProject.IsAutoFetch = this.ckbIsAutoFetch.Checked;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
@@ -454,7 +455,10 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
{
|
||||
this.ckbIsFace.Checked = true;
|
||||
}
|
||||
|
||||
if (getProject != null && getProject.IsAutoFetch == true)
|
||||
{
|
||||
this.ckbIsAutoFetch.Checked = true;
|
||||
}
|
||||
var q = from x in Funs.DB.Project_Sys_Set where x.ProjectId == projectId select x;
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
|
||||
@@ -77,6 +77,15 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsFace;
|
||||
|
||||
/// <summary>
|
||||
/// ckbIsAutoFetch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.CheckBox ckbIsAutoFetch;
|
||||
|
||||
/// <summary>
|
||||
/// btnSetMap 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user