大屏看板
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using BLL;
|
||||
using System;
|
||||
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public partial class main_old : PageBase
|
||||
{
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
var thisUnit = CommonService.GetIsThisUnit();
|
||||
if (thisUnit != null && thisUnit.CollCropCode== "913700001630777743")
|
||||
{
|
||||
Tab3.Hidden=true;
|
||||
//Tab4.Hidden=true;
|
||||
}
|
||||
if(this.SysType == "SHIYE")
|
||||
{
|
||||
this.mainTabStrip.ActiveTabIndex = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void mainTabStrip_TabIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.mainTabStrip.ActiveTabIndex == 2)
|
||||
{
|
||||
this.SysType = "SHIYE";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SysType = "GONGCHENG";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user