国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>绩效统计</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. <script src="../static/web/js/webajax.js"></script>
  11. <script>
  12. function LoadUser(uid)
  13. {
  14. var loadhtml = $DE('loaddiv').innerHTML;
  15. var ajaxdiv = $DE('userct'+uid);
  16. fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
  17. if (resp.ok) {
  18. return resp.text()
  19. }
  20. throw new Error('载入失败');
  21. }).then((d)=>{
  22. ajaxdiv.innerHTML = d;
  23. }).catch((error) => {
  24. ajaxdiv.innerHTML = errMsg;
  25. });
  26. }
  27. </script>
  28. <style>
  29. .userct {
  30. margin:10px 0;
  31. width:100%;
  32. height:auto;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <div id="loaddiv" style="display:none">
  38. <p style="text-align:center"><img src="../static/web/img/loadinglit.gif">请稍后,正在载入</p>
  39. </div>
  40. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  41. <tr>
  42. <td height="26" background="../static/web/img/tbg.gif"> <a href="sys_admin_user.php" style="padding-left:10px">管理员帐号</a> &gt; 编辑绩效统计</td>
  43. </tr>
  44. <tr>
  45. <td>
  46. <?php
  47. $dsql->Execute('me', 'Select * From `#@__admin` order by id asc');
  48. while( $arr = $dsql->GetArray('me') )
  49. {
  50. echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='../static/web/img/loadinglit.gif'>请稍后,正在载入</p></div><script>LoadUser({$arr['id']});</script>";
  51. }
  52. ?>
  53. </td>
  54. </tr>
  55. </table>
  56. </body>
  57. </html>