예제 #1
0
    void DelTaskStep(GameObject g)
    {
        int stepid = int.Parse(g.transform.parent.gameObject.name.Split('_')[1]);

        BaseOperation_Service.Delete <EProjectTaskStep>(stepid, t =>
        {
            App.Instance.HintBox.Show("删除成功!");
            BindTaskStep();
        });
    }
예제 #2
0
 void OnDeleteTask(GameObject g)
 {
     App.Instance.DialogBox.Show("提示信息", "", "你确定要删除该任务吗?", 300, 150, c =>
     {
         BaseOperation_Service.Delete <ETask>(TheTask, t =>
         {
             App.Instance.PageGroup.ClosePage();
             App.Instance.DialogBox.Hide();
             App.Instance.HintBox.Show("操作成功!");
         });
     }, null);
 }
예제 #3
0
 void DeletePlan(GameObject g)
 {
     App.Instance.DialogBox.Show("提示信息", "", "你确定要删除计划吗?", 300, 150, c =>
     {
         BaseOperation_Service.Delete <EPlan>(EPlan, t =>
         {
             App.Instance.PageGroup.ClosePage();
             App.Instance.DialogBox.Hide();
             App.Instance.HintBox.Show("操作成功!");
         });
     }, null);
 }
예제 #4
0
    void OnDelClicked(GameObject g)
    {
        string idstr = g.transform.parent.name.Split('_')[1];

        App.Instance.DialogBox.Show("提示信息", "", "你确定要删除该成员吗?", 300, 150, c =>
        {
            BaseOperation_Service.Delete <EUserSearch>(int.Parse(idstr), gg =>
            {
                BindData();
            });
        }, null);
    }
예제 #5
0
 void DeletePeople(GameObject g)
 {
     App.Instance.DialogBox.Show("提示信息", "", "你确定要删除该成员吗?", 300, 150, c =>
     {
         if (IsPeopleOrTeam)
         {
             People_Service.DisConnect(EPeople.PeopleID, t =>
             {
                 App.Instance.PageGroup.ClosePage();
                 App.Instance.DialogBox.Hide();
                 App.Instance.HintBox.Show("联系移除成功!");
             });
         }
         else
         {
             BaseOperation_Service.Delete <EProjectTeam>(ETeamOne, t =>
             {
                 App.Instance.PageGroup.ClosePage();
                 App.Instance.DialogBox.Hide();
                 App.Instance.HintBox.Show("操作成功!");
             });
         }
     }, null);
 }