示例#1
0
 protected override void Init()
 {
     base.Init();
     PageTitle.Init("计划详情", App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
     PageTitle.AddButton("", App.Instance.ImageManger.ImageList[5], OnSavePlan);
     BaseOperation_Service.Get <EPlan>(this.GetPar <int>(0), t =>
     {
         ThePlan = t.GetData() as EPlan;
         BindData();
     });
 }
示例#2
0
    protected override void Init()
    {
        base.Init();
        PageTitle.Init("任务追踪", App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
        int taskId = GetPar <int>(0);

        BaseOperation_Service.Get <ETask>(taskId, t =>
        {
            TheTask = t.GetData() as ETask;
            BindData();
        });
    }
示例#3
0
 protected override void Init()
 {
     base.Init();
     BaseOperation_Service.Get <EPlan>(GetPar <int>(0), t =>
     {
         EPlan = t.GetData() as EPlan;
         PageTitle.Init("完成情况-" + EPlan.Name, App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
         selectPeopleID = -1;
         BindPeopleSelect();
         BindTaskListView();
     });
 }
示例#4
0
 protected override void Init()
 {
     base.Init();
     EventListener.Get(QQYQ.gameObject).onClick = onQQYQ;
     BaseOperation_Service.Get <EProject>(GetPar <int>(0), t =>
     {
         EProject = t.GetData() as EProject;
         PageTitle.Init("项目团队", App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
         PageTitle.AddButton("", App.Instance.ImageManger.ImageList[1], OnAddClicked);
         ProjectList.OnItemClicked = OnItemClicked;
         BindData();
     });
 }
示例#5
0
 protected override void Init()
 {
     base.Init();
     BaseOperation_Service.Get <EPlan>(GetPar <int>(0), t =>
     {
         EPlan = t.GetData() as EPlan;
         PageTitle.Init(EPlan.Name, App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
         PageTitle.AddButton("", App.Instance.ImageManger.ImageList[1], AddTask);
         PageTitle.AddButton("", App.Instance.ImageManger.ImageList[2], DeletePlan);
         PageTitle.AddButton("", App.Instance.ImageManger.ImageList[10], GoToChart);
         PageTitle.AddButton("", App.Instance.ImageManger.ImageList[8], GoToSet);
         Tab.Init(OnTabClicked, App.Instance.Theme.SelectedItemBgColor);
         selectPeopleID = -1;
         BindPeopleSelect();
         BindTaskListView();
     });
 }
示例#6
0
    protected override void Init()
    {
        base.Init();
        int panid = GetPar <int>(0);

        Debug.Log("panid:" + panid);
        BaseOperation_Service.Get <EProject>(panid, t =>
        {
            EProject = t.GetData() as EProject;
            PageTitle.Init(EProject.Name, App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
            PageTitle.AddButton("", App.Instance.ImageManger.ImageList[1], AddPlan);
            PageTitle.AddButton("", App.Instance.ImageManger.ImageList[9], GoToTeam);
            PageTitle.AddButton("", App.Instance.ImageManger.ImageList[2], DeleteProject);
            PageTitle.AddButton("", App.Instance.ImageManger.ImageList[8], GoToSet);
            PlanListView.OnItemClicked = OnItemClicked;
            BindData();
        });
    }
示例#7
0
    protected override void Init()
    {
        base.Init();
        PageTitle.Init("项目详情", App.Instance.Theme.TitleBgColor, App.Instance.Theme.TitleFontColor, BtnBack);
        PageTitle.AddButton("", App.Instance.ImageManger.ImageList[5], SaveProject);

        EventListener.Get(BtnUploadFace.gameObject).onClick = UploadProjectFace;
        EventListener.Get(BtnAddStep.gameObject).onClick    = AddTaskStep;
        BaseOperation_Service.Get <EProject>(GetPar <int>(0), t =>
        {
            EProject             = t.GetData() as EProject;
            IptName.text         = EProject.Name;
            Project_Process.text = EProject.Progress.ToString();
            App.Instance.ShowImage(ImgFace, EProject.Face, 12);
            BindTaskStep();
        });

        PlatformCallBackListener.Instance.OnUploadComplated = OnUploadComplated;
    }