Пример #1
0
        async void OnItemClick(object sender, ItemClickArgs e)
        {
            Rpt rpt = _fv.Data.To <Rpt>();

            if (rpt != null && rpt.IsChanged)
            {
                if (!await Kit.Confirm("数据已修改,确认要放弃修改吗?"))
                {
                    return;
                }

                rpt.RejectChanges();
            }

            _fv.Data = await AtCm.First <Rpt>("报表-ID", new { id = e.Data.To <Rpt>().ID });

            SelectTab("编辑");
        }
Пример #2
0
 void EditTemplate(Rpt p_rpt)
 {
     _ = AtRpt.ShowDesign(new AppRptDesignInfo(p_rpt));
 }
Пример #3
0
 public AppRptDesignInfo(Rpt p_rpt)
 {
     _rpt = p_rpt;
     Name = p_rpt.Name;
 }