按年月统计

This commit is contained in:
2024-02-01 16:28:37 +08:00
parent 8782bbff79
commit 8276d5e70a
3 changed files with 206 additions and 31 deletions
@@ -14,6 +14,7 @@
<f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server" Margin="5px">
<Regions>
<f:Region ID="Region1" ShowBorder="false" ShowHeader="false" RegionPosition="Top"
BodyPadding="0 5 0 0" Width="200px" Layout="Fit" runat="server" EnableCollapse="true">
<Items>
@@ -21,14 +22,24 @@
<Rows>
<f:FormRow>
<Items>
<f:DatePicker runat="server" Label="完成时间" ID="txtStarTime" EnableEdit="true" LabelWidth="80px"></f:DatePicker>
<f:DropDownList ID="drpdateType" runat="server" Label="日期类型" AutoPostBack="true"
OnSelectedIndexChanged="drpdateType_SelectedIndexChanged" Width="100px" LabelWidth="80px">
<f:ListItem Value="0" Text="按年月" Selected="true"></f:ListItem>
<f:ListItem Value="1" Text="按日期"></f:ListItem>
</f:DropDownList>
<f:DatePicker runat="server" ID="txtEndTime" EnableEdit="true" LabelWidth="80px"></f:DatePicker>
<f:DatePicker runat="server" Label="完成时间" ID="txtStarTime" EnableEdit="true" LabelWidth="80px" DateFormatString="yyyy-MM" DisplayType="Month"></f:DatePicker>
<f:DatePicker runat="server" ID="txtEndTime" EnableEdit="true" LabelWidth="80px" DateFormatString="yyyy-MM" DisplayType="Month"></f:DatePicker>
<f:DatePicker runat="server" Label="完成时间" ID="txtStarTime1" EnableEdit="true" LabelWidth="80px" Hidden="true"></f:DatePicker>
<f:DatePicker runat="server" ID="txtEndTime1" EnableEdit="true" LabelWidth="80px" Hidden="true"></f:DatePicker>
<f:DropDownList ID="drpChartType" runat="server" Label="图形类型" AutoPostBack="true"
OnSelectedIndexChanged="drpChartType_SelectedIndexChanged" Width="300px" LabelWidth="80px">
<f:ListItem Value="Column" Text="柱形图"></f:ListItem>
<f:ListItem Value="Line" Text="折线图" Selected="true"></f:ListItem>
<f:ListItem Value="Column" Text="柱形图" Selected="true"></f:ListItem>
<f:ListItem Value="Line" Text="折线图"></f:ListItem>
</f:DropDownList>
<%--<f:DropDownList ID="drpChartType" runat="server" LabelWidth="80px" Label="图形类型"
@@ -48,13 +59,13 @@
</f:Form>
</Items>
</f:Region>
<f:Region ID="Region2" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox"
<f:Region ID="Region2" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox" AutoScroll="true"
BoxConfigAlign="Stretch" BoxConfigPosition="Left" runat="server">
<Items>
<f:TabStrip ID="TabStrip1" CssClass="f-tabstrip-theme-simple" Height="800px" ShowBorder="true"
TabPosition="Top" MarginBottom="5px" EnableTabCloseMenu="false" runat="server">
<Tabs>
<f:Tab ID="Tab2" Title="图表" BodyPadding="5px" Layout="Fit" IconFont="Bookmark"
<f:Tab ID="Tab2" Title="图表" BodyPadding="5px" Layout="Fit" IconFont="Bookmark" AutoScroll="true"
runat="server" TitleToolTip="按图形显示">
<Items>
<f:ContentPanel ShowHeader="false" runat="server" ID="cpCostTime" Margin="0 0 0 0" CssStyle="margin-left:200px">
@@ -74,8 +85,8 @@
OnNodeCommand="tvControlItem_NodeCommand" CssStyle="width:200px; height:600px"
runat="server">
</f:Tree>--%>
<f:Tree ID="trRectify" Width="200px" EnableCollapse="true" ShowHeader="true"
CssStyle="width:200px; height:600px"
<f:Tree ID="trRectify" Width="200px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
CssStyle="width:200px;"
OnNodeCommand="trRectify_NodeCommand" AutoLeafIdentification="true" runat="server">
</f:Tree>