LiFan
2024-09-06 c0e31005740e4a081718d572f25980636dc139fb
jrj/project/business/SystemSettings/SysUser.cpp
@@ -52,7 +52,7 @@
      return 1;
   }
   int SetEntityData(param p)
   int SetEntityData(LPARAM p)
   {
      xml x;
@@ -236,8 +236,8 @@
         if (comdid == L"ok")
         {
            xstring strxml = arg.GetArgString(L"xml");
            dw_user.SetItemDisplayString(row, colname, strxml);
            dw_user.SetItemString(row, colname, strxml);
            dw_user.SetItemDisplayString(row, colname.c_str(), strxml);
            dw_user.SetItemString(row, colname.c_str(), strxml);
            dw_user.Redraw();
         }
      }
@@ -308,10 +308,7 @@
   int onload()
   {
      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]");
@@ -323,11 +320,13 @@
      HTREEITEM root = tv_usergroup.GetRootItem();
      tv_usergroup.ExpandItem( root);
      xml x;
      //return 1;
      xml x;
      x.loadXML(L"<Config/>");
      m_configDoc = x;
      rowSearch(L"系统用户.vface/template/SysUser/list");
      return 1;
      GridSearchEx();
      return 1;