| | |
| | | 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; |
| | | } |
| | |
| | | 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) |