From 6c8c9ddaeb2bc6245a374c9354296bcfc2d96c06 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 29 四月 2025 14:10:22 +0800 Subject: [PATCH] update --- jrj/project/start.vframe.vbusiness.cpp | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/jrj/project/start.vframe.vbusiness.cpp b/jrj/project/start.vframe.vbusiness.cpp index f42bbb6..5a7ef99 100644 --- a/jrj/project/start.vframe.vbusiness.cpp +++ b/jrj/project/start.vframe.vbusiness.cpp @@ -899,7 +899,6 @@ trace((xstring)L"\r\n====113======L" + ele.xml()); dw_list.SetRow(row); if (GetEntityID(1) == L"") return -1; - xframe::SetAgent((xstring)L"letter", GetEntityID(1)); //trace(ele.xml); xaserverarg arg; @@ -921,6 +920,9 @@ xshtml ht = GetControl(L"taskinfo"); ht.SetContent(doc.xml()); ht.Redraw(); + + //xframe::SetAgent((xstring)L"letter", GetEntityID(1)); + return 1; } @@ -934,8 +936,14 @@ trace(L"\r\n-------" + (xstring)row); - ShowDetail(row); - SetAgent(); + if (ShowDetail(row) != 1) + { + xstring xfNodeAgentArea = L"agentarea"; + xnode anode = GetAgentNode(xfNodeAgentArea); + this->SetAgentNode(anode, L"<vbox/>"); + } + else + SetAgent(); return 1; } @@ -946,8 +954,14 @@ int row = hdr.row; if (row<0 || row>dw_list.GetRowCount()) return 0; trace(L"\r\n-----222------"); - ShowDetail(row); - SetAgent(); + if (ShowDetail(row) != 1) + { + xstring xfNodeAgentArea = L"agentarea"; + xnode anode = GetAgentNode(xfNodeAgentArea); + this->SetAgentNode(anode, L"<vbox/>"); + } + else + SetAgent(); return 1; } -- Gitblit v1.9.3