From a6b54d999992d72b2d9ea33efec0b7d642ea9f2d Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 18 七月 2024 12:21:12 +0800
Subject: [PATCH] update

---
 jrj/project/business/HR/GraduationSchool.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/HR/GraduationSchool.cpp b/jrj/project/business/HR/GraduationSchool.cpp
index 0eec084..ec34e40 100644
--- a/jrj/project/business/HR/GraduationSchool.cpp
+++ b/jrj/project/business/HR/GraduationSchool.cpp
@@ -125,6 +125,7 @@
 			AttachEvent(L"WM_XCOMMAND", (FEvent)&ViewGraduationSchoolList::OnXCommand);
 			//获取焦点事件,用于重置工具条
 			AttachEvent(L"WM_SETFOCUS", (FEvent)&ViewGraduationSchoolList::OnSetFocus);
+			return 1;
 		}
 
 		int  OnRetrieve()
@@ -132,8 +133,7 @@
 			xml x ;
 			
 			xaserverarg arg;
-			arg.setNativePointer(arg.CreateInstance());
-			//arg.AddArg(L"xxx",L"xxx");
+			
 			if (getUrl(L"/sale/data/GraduationSchool/data/list", arg.GetString(), x) != 1)
 			{
 				trace(x.text());
@@ -150,6 +150,7 @@
 
 		int onload()
 		{
+			SetAgent();
 			dw_list = GetControl(L"dw_list");
 			dw_list.openUrl(L"/sale/view/GraduationSchool/template/list");
 			OnRetrieve();

--
Gitblit v1.9.3