2023-03-09 实业工厂增加坐标
This commit is contained in:
@@ -33,6 +33,14 @@
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMapCoordinates" runat="server" Label="坐标" MaxLength="50"></f:TextBox>
|
||||
<f:ContentPanel ID="bottomPanel" RegionPosition="Bottom" ShowBorder="false" ShowHeader="false" EnableCollapse="false" runat="server">
|
||||
<a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">拾取坐标</a>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
this.txtFactoryCode.Text = model.FactoryCode;
|
||||
this.txtFactoryName.Text = model.FactoryName;
|
||||
this.txtAddress.Text = model.Address;
|
||||
this.txtMapCoordinates.Text = model.MapCoordinates;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -67,6 +68,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
table.FactoryCode = this.txtFactoryCode.Text;
|
||||
table.FactoryName = this.txtFactoryName.Text;
|
||||
table.Address = this.txtAddress.Text;
|
||||
table.MapCoordinates=this.txtMapCoordinates.Text;
|
||||
if (string.IsNullOrEmpty(this.FactoryId))
|
||||
{
|
||||
table.FactoryId = SQLHelper.GetNewID(typeof(Model.Base_Factory));
|
||||
|
||||
@@ -68,6 +68,24 @@ namespace FineUIPro.Web.BaseInfo
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtMapCoordinates 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMapCoordinates;
|
||||
|
||||
/// <summary>
|
||||
/// bottomPanel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel bottomPanel;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" runat="server" Hidden="true" ShowHeader="true"
|
||||
IsModal="true" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||
Title="编辑SYHSEData_Data" EnableIFrame="true" Height="650px"
|
||||
Title="编辑" EnableIFrame="true" Height="650px"
|
||||
Width="1200px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
|
||||
@@ -205,7 +205,7 @@
|
||||
</Items>
|
||||
</f:GroupPanel>
|
||||
|
||||
<f:GroupPanel Title="风险管控" BodyPadding="10" ID="GroupPanel4" EnableCollapse="true" runat="server">
|
||||
<f:GroupPanel Title="环保数据" BodyPadding="10" ID="GroupPanel4" EnableCollapse="true" runat="server">
|
||||
<Items>
|
||||
<f:Form ID="Form4" ShowBorder="false" ShowHeader="false" runat="server">
|
||||
<Rows>
|
||||
@@ -227,7 +227,7 @@
|
||||
<Columns>
|
||||
<f:RowNumberField HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" Width="60px"></f:RowNumberField>
|
||||
<f:RenderField Width="150px" ColumnID="RiskControlName" DataField="RiskControlName" SortField="RiskControlName"
|
||||
FieldType="String" HeaderText="风险管控名称" TextAlign="Left" HeaderTextAlign="Center" >
|
||||
FieldType="String" HeaderText="环保数据" TextAlign="Left" HeaderTextAlign="Center" >
|
||||
<Editor>
|
||||
<f:TextBox ID="txtRiskControlName" runat="server" LabelWidth="160">
|
||||
</f:TextBox>
|
||||
|
||||
Reference in New Issue
Block a user