2026.04.10
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
<Items>
|
||||
<f:CheckBox ID="ckbIsFace" runat="server" Label="移动端人脸识别" Text="是否启用" LabelWidth="200">
|
||||
</f:CheckBox>
|
||||
<f:Label runat="server"></f:Label>
|
||||
<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"></f:Button>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
@@ -53,7 +53,8 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
var getProject = ProjectService.GetProjectByProjectId(projectId);
|
||||
if (getProject != null )
|
||||
{
|
||||
getProject.IsFace = this.ckbIsFace.Checked;
|
||||
getProject.IsFace = this.ckbIsFace.Checked;
|
||||
getProject.IsAutoFetch = this.ckbIsAutoFetch.Checked;
|
||||
getProject.AQMAccount = this.txtAQMAccount.Text;
|
||||
getProject.AQMPwd = this.txtAQMPwd.Text;
|
||||
Funs.DB.SubmitChanges();
|
||||
@@ -302,6 +303,10 @@ namespace FineUIPro.Web.common.ProjectSet
|
||||
{
|
||||
this.ckbIsFace.Checked = true;
|
||||
}
|
||||
if (getProject != null && getProject.IsAutoFetch == true)
|
||||
{
|
||||
this.ckbIsAutoFetch.Checked = true;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getProject.AQMPwd))
|
||||
{
|
||||
this.txtAQMPwd.Text = getProject.AQMPwd;
|
||||
|
||||
@@ -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