qianxj2004
17 小时以前 bfdb592a41fe1dfda178231539bc2dab45c8fbee
update flow state
已修改1个文件
27 ■■■■■ 文件已修改
jrj/project/business/Affair/Business5.cpp 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Affair/Business5.cpp
@@ -102,6 +102,21 @@
                dw_Recovery.Redraw();
                dw_Recovery.SetReadOnly(true);
            }
            else if (selectname == L"流程状况")
            {
                xml doc;
                if (getUrl(L"/sale/data/vpage/vstart/workflow/state", L"", doc) != 1)
                {
                    trace((xstring)L"error->:" + doc.xml());
                    return 0;
                }
                if (doc.xml() == L"")
                    return -1;
                //trace(doc.xml());
                xshtml ht = GetControl(L"taskinfo");
                ht.SetContent(doc.xml());
                ht.Redraw();
            }
            AdjustTip();
            return 1;
        }
@@ -381,6 +396,18 @@
                RetrieveData();
                ResetAgent(L"business5");
            }
            else if (selectname == L"当前节点")
            {
                SwitchLayer(L"sheet2", L"frame");
                sheet = GetChildWin(L"sheet2");
                ResetAgent(L"business1");
            }
            else if (selectname == L"流程状况")
            {
                SwitchLayer(L"sheet7", L"frame");
                RetrieveData();
                ResetAgent(L"business6");
            }
            return 1;
        }
        int OnRowChanged(TEvent* evt, int p)