From 858d5b84cb2f9311d6e00d90c6f9527e2e6f57b4 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期四, 04 九月 2025 17:50:13 +0800
Subject: [PATCH] update
---
jrj/project/business/HR/GraduationSchool.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/HR/GraduationSchool.cpp b/jrj/project/business/HR/GraduationSchool.cpp
index 0eec084..dcddfcc 100644
--- a/jrj/project/business/HR/GraduationSchool.cpp
+++ b/jrj/project/business/HR/GraduationSchool.cpp
@@ -80,7 +80,7 @@
xml x ;
xaserverarg arg;//放置参数
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"gsid", gsid);
if (getUrl(L"/sale/data/GraduationSchool/data/delete", arg.GetString(), x) != 1)
{
@@ -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