LiFan
2025-04-15 9b43e4edb9c5ebc065d6af4810ae66690fdc50df
jrj/project/business/SystemSettings/SysUser.cpp
@@ -52,11 +52,11 @@
      return 1;
   }
   int SetEntityData(param p)
   int SetEntityData(xaserverarg arg)
   {
      xml x;
      xaserverarg arg;
      //xaserverarg arg;
      xstring str = m_QueryTxt;
      //trace(ele.xml);
@@ -117,7 +117,7 @@
         alert(L"请选择职位!");
         return 0;
      }
      OpenWindow(L"dev:xpage[UserImport.vx]");
      OpenWindow(L"dev:xpage[UserImport.vx]",(LPARAM)this);
      //openUrl(L"系统用户.vface/xpage/SysUser/UserImport", this);
      return 1;
   }
@@ -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,8 +320,9 @@
      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");