xj qian
2024-07-18 1740c5de8324b8214829429c138e619df1fb9d02
jrj/project/business/SystemSettings/SysUser.hpp
@@ -10,7 +10,7 @@
#include "viewobject/view.base.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) SysUser : public xwin
class __declspec(dllexport) SysUser : public listwin
{
public:
   xtreeview tv_usergroup;
@@ -18,7 +18,7 @@
   xnode   m_agentNode;
   xstring strJobID;
public:
   SysUser(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
   SysUser(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
public:
   static SysUser* CreateInstance(void* implPtr, void* hWnd)
   {
@@ -54,7 +54,7 @@
      return 1;
   }
   int SetEntityData(param p)
   int SetEntityData(LPARAM p)
   {
      xml x;
@@ -312,8 +312,7 @@
   {
      m_agentNode = new xnode;
      tv_usergroup = new treeview;
      tv_usergroup.setNativePointer(GetControl(L"tv_usergroup"));
      tv_usergroup = GetControl(L"tv_usergroup");
      dw_user = new xdwgrid;
      dw_user.setNativePointer(GetControl(L"dw_user"));
      dw_user.SetDataObject(GetServerUrl(), L"dev:sheet[SysUser.tpl/UserList]");