| | |
| | | return 1; |
| | | } |
| | | |
| | | int SetEntityData(param p) |
| | | int SetEntityData(xaserverarg arg) |
| | | { |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | //xaserverarg arg; |
| | | |
| | | xstring str = m_QueryTxt; |
| | | //trace(ele.xml); |
| | |
| | | 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; |
| | | } |
| | |
| | | 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(); |
| | | } |
| | | } |
| | |
| | | |
| | | 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]"); |
| | |
| | | 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"); |