390 lines
17 KiB
Plaintext
390 lines
17 KiB
Plaintext
|
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %>
|
||
|
|
||
|
<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %>
|
||
|
<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %>
|
||
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head runat="server">
|
||
|
<title></title>
|
||
|
|
||
|
<style>
|
||
|
#warp{width:100%;height:100%;background:rgb(0, 112, 192);}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body id="warp">
|
||
|
<form id="form1" runat="server">
|
||
|
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
<!-- #include file="../public/JScript.js" -->
|
||
|
</script>
|
||
|
|
||
|
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True"
|
||
|
EnableScriptLocalization="True" AsyncPostBackTimeout="180">
|
||
|
</asp:ScriptManager>
|
||
|
|
||
|
|
||
|
<div>
|
||
|
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
|
||
|
<ContentTemplate>
|
||
|
|
||
|
|
||
|
|
||
|
<table width="95%" height="100%" align="center" >
|
||
|
|
||
|
<tr>
|
||
|
<td/><td/>
|
||
|
<td align="center"> <input name="thetime" style="border-style: none; border-color: inherit; border-width: 0; font-size: 29pt;
|
||
|
background:inherit; color: White; width:100%; text-align:center;" />
|
||
|
</td>
|
||
|
<td></td><td/>
|
||
|
</tr>
|
||
|
|
||
|
<tr><td colspan="5"></p> </p> </td></tr>
|
||
|
<tr><td colspan="5"></p> </p> </td></tr>
|
||
|
<tr>
|
||
|
<td/>
|
||
|
<td >
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
|
||
|
<td align="center">
|
||
|
|
||
|
<table Height="800px" Width="400px" ><tr><td>
|
||
|
|
||
|
<dx:WebChartControl ID="webChartEmpTasks" runat="server"
|
||
|
CrosshairEnabled="True" Height="800px" Width="400px"
|
||
|
AppearanceNameSerializable="Northern Lights" BackColor="White"
|
||
|
PaletteName="Module">
|
||
|
<BorderOptions Visibility="False" />
|
||
|
<DiagramSerializable>
|
||
|
<dx:XYDiagram PaneLayoutDirection="Horizontal" Rotated="True">
|
||
|
<axisx visibleinpanesserializable="-1" Title-Text="" Visibility="True">
|
||
|
<Tickmarks MinorVisible="False" Visible="False" />
|
||
|
<Label BackColor="255, 255, 255" Font="仿宋, 14pt, style=Bold">
|
||
|
</Label>
|
||
|
</axisx>
|
||
|
<axisy visibleinpanesserializable="-1" Visibility="False">
|
||
|
</axisy>
|
||
|
<DefaultPane BackColor="79, 129, 189" Weight="2">
|
||
|
<Shadow Color="Black" />
|
||
|
</DefaultPane>
|
||
|
</dx:XYDiagram>
|
||
|
</DiagramSerializable>
|
||
|
<Legend Name="Default Legend" Visibility="False"></Legend>
|
||
|
<SeriesSerializable>
|
||
|
<dx:Series Name="任务数" LabelsVisibility="True" ShowInLegend="False">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="60">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="100">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="200">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<viewserializable>
|
||
|
<dx:SideBySideStackedBarSeriesView BarWidth="0.4" ColorEach="True">
|
||
|
</dx:SideBySideStackedBarSeriesView>
|
||
|
</viewserializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 12pt, style=Bold" Indent="1"
|
||
|
Position="TopInside">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
<dx:Series LabelsVisibility="True" Name="完成数" Visible="False">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView BarWidth="0.5" Color="155, 187, 89" ColorEach="True">
|
||
|
<Border Color="0, 112, 192" Visibility="True" />
|
||
|
<FillStyle FillMode="Gradient">
|
||
|
<OptionsSerializable>
|
||
|
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
|
||
|
</OptionsSerializable>
|
||
|
</FillStyle>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
</SeriesSerializable>
|
||
|
<SeriesTemplate>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
</SeriesTemplate>
|
||
|
<Titles>
|
||
|
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="人员绩效"
|
||
|
TextColor="0, 112, 192" Visibility="True" />
|
||
|
</Titles>
|
||
|
</dx:WebChartControl>
|
||
|
</td><td>
|
||
|
|
||
|
<dx:WebChartControl ID="WebChartTasks" runat="server"
|
||
|
CrosshairEnabled="True" Height="800px" Width="800px"
|
||
|
AppearanceNameSerializable="Pastel Kit" BackColor="White"
|
||
|
PaletteName="Pastel Kit">
|
||
|
<BorderOptions Visibility="False" />
|
||
|
<DiagramSerializable>
|
||
|
<dx:XYDiagram>
|
||
|
<axisx visibleinpanesserializable="-1" Title-Text="" Visibility="True">
|
||
|
<Tickmarks MinorVisible="False" Visible="False" />
|
||
|
<Label BackColor="255, 255, 255" Font="仿宋, 14pt, style=Bold">
|
||
|
</Label>
|
||
|
</axisx>
|
||
|
<axisy visibleinpanesserializable="-1" Visibility="False">
|
||
|
</axisy>
|
||
|
<DefaultPane BackColor="79, 129, 189" Weight="2">
|
||
|
<Shadow Color="Black" />
|
||
|
</DefaultPane>
|
||
|
</dx:XYDiagram>
|
||
|
</DiagramSerializable>
|
||
|
<Legend Name="Default Legend" Visibility="False"></Legend>
|
||
|
<SeriesSerializable>
|
||
|
<dx:Series Name="任务数" LabelsVisibility="True" ShowInLegend="False">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="60">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="100">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="60">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="100">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<viewserializable>
|
||
|
<dx:SideBySideStackedBarSeriesView BarWidth="0.4" ColorEach="True">
|
||
|
</dx:SideBySideStackedBarSeriesView>
|
||
|
</viewserializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 12pt, style=Bold" Indent="1"
|
||
|
Position="TopInside">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
<dx:Series LabelsVisibility="True" Name="完成数">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView BarWidth="0.5" Color="155, 187, 89" ColorEach="True">
|
||
|
<Border Color="0, 112, 192" Visibility="True" />
|
||
|
<FillStyle FillMode="Gradient">
|
||
|
<OptionsSerializable>
|
||
|
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
|
||
|
</OptionsSerializable>
|
||
|
</FillStyle>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
</SeriesSerializable>
|
||
|
<SeriesTemplate>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
</SeriesTemplate>
|
||
|
<Titles>
|
||
|
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="辣得叫库房任务看板"
|
||
|
TextColor="0, 112, 192" Visibility="True" />
|
||
|
</Titles>
|
||
|
</dx:WebChartControl>
|
||
|
</td><td>
|
||
|
|
||
|
<dx:WebChartControl ID="webChartLocs" runat="server"
|
||
|
CrosshairEnabled="True" Height="800px" Width="400px"
|
||
|
AppearanceNameSerializable="Northern Lights" BackColor="White"
|
||
|
PaletteName="Module">
|
||
|
<BorderOptions Visibility="False" />
|
||
|
<DiagramSerializable>
|
||
|
<dx:XYDiagram PaneLayoutDirection="Horizontal">
|
||
|
<axisx visibleinpanesserializable="-1" Title-Text="" Visibility="True">
|
||
|
<Tickmarks MinorVisible="False" Visible="False" />
|
||
|
<Label BackColor="255, 255, 255" Font="仿宋, 14pt, style=Bold">
|
||
|
</Label>
|
||
|
</axisx>
|
||
|
<axisy visibleinpanesserializable="-1" Visibility="False">
|
||
|
</axisy>
|
||
|
<DefaultPane BackColor="79, 129, 189" Weight="2">
|
||
|
<Shadow Color="Black" />
|
||
|
</DefaultPane>
|
||
|
</dx:XYDiagram>
|
||
|
</DiagramSerializable>
|
||
|
<Legend Name="Default Legend" Visibility="False"></Legend>
|
||
|
<SeriesSerializable>
|
||
|
<dx:Series Name="任务数" LabelsVisibility="True" ShowInLegend="False">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="80">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="60">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="100">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="200">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<viewserializable>
|
||
|
<dx:SideBySideStackedBarSeriesView BarWidth="0.4" ColorEach="True">
|
||
|
</dx:SideBySideStackedBarSeriesView>
|
||
|
</viewserializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 12pt, style=Bold" Indent="1"
|
||
|
Position="TopInside">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
<dx:Series LabelsVisibility="True" Name="完成数">
|
||
|
<Points>
|
||
|
<dx:SeriesPoint ArgumentSerializable="验收" Values="50">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="2" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="3" Values="20">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="4" Values="30">
|
||
|
</dx:SeriesPoint>
|
||
|
<dx:SeriesPoint ArgumentSerializable="5" Values="40">
|
||
|
</dx:SeriesPoint>
|
||
|
</Points>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView BarWidth="0.5" Color="155, 187, 89" ColorEach="True">
|
||
|
<Border Color="0, 112, 192" Visibility="True" />
|
||
|
<FillStyle FillMode="Gradient">
|
||
|
<OptionsSerializable>
|
||
|
<dx:RectangleGradientFillOptions GradientMode="BottomToTop" />
|
||
|
</OptionsSerializable>
|
||
|
</FillStyle>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
<LabelSerializable>
|
||
|
<dx:StackedBarSeriesLabel Font="Tahoma, 10pt, style=Bold">
|
||
|
</dx:StackedBarSeriesLabel>
|
||
|
</LabelSerializable>
|
||
|
</dx:Series>
|
||
|
</SeriesSerializable>
|
||
|
<SeriesTemplate>
|
||
|
<ViewSerializable>
|
||
|
<dx:StackedBarSeriesView>
|
||
|
</dx:StackedBarSeriesView>
|
||
|
</ViewSerializable>
|
||
|
</SeriesTemplate>
|
||
|
<Titles>
|
||
|
<dx:ChartTitle Font="黑体, 22pt, style=Bold" Text="货位使用"
|
||
|
TextColor="0, 112, 192" Visibility="True" />
|
||
|
</Titles>
|
||
|
</dx:WebChartControl>
|
||
|
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
|
||
|
<td>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</td>
|
||
|
<td/>
|
||
|
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="center" colspan=5>
|
||
|
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</ContentTemplate>
|
||
|
</asp:UpdatePanel>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</form>
|
||
|
<script language="JavaScript">
|
||
|
|
||
|
|
||
|
function showDate() {
|
||
|
now = new Date();
|
||
|
document.form1.thetime.value = now.toLocaleString();
|
||
|
|
||
|
setTimeout("showDate()", 1000);
|
||
|
}
|
||
|
showDate();
|
||
|
|
||
|
function updateCharts() {
|
||
|
var theForm = document.forms['form1'];
|
||
|
if (!theForm) {
|
||
|
theForm = document.form1;
|
||
|
}
|
||
|
theForm.submit();
|
||
|
setTimeout("updateCharts()",60000);
|
||
|
}
|
||
|
// updateCharts();
|
||
|
|
||
|
setTimeout(" location.reload()", 60000);
|
||
|
// ------->
|
||
|
|
||
|
var prm = Sys.WebForms.PageRequestManager.getInstance();
|
||
|
|
||
|
prm.add_initializeRequest(InitializeRequest);
|
||
|
prm.add_endRequest(EndRequest);
|
||
|
|
||
|
function InitializeRequest(sender, args) {
|
||
|
$get('Container').style.cursor = 'wait';
|
||
|
}
|
||
|
|
||
|
function EndRequest(sender, args) {
|
||
|
$get('Container').style.cursor = 'auto';
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|