main_appicon.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>x_processplatform_assemble_surface_data</title>
  6. <script src="./common.js"></script>
  7. <script src="./jquery.js"></script>
  8. <script src="./data.js"></script>
  9. <script src="./image.js"></script>
  10. <script src="./artTemplate-master/dist/template.js"></script>
  11. <script>
  12. var request_config = {
  13. title: '实体数据类型服务测试',
  14. datatype: [
  15. { "text" : "appinfo", "value" : "appinfo" },
  16. { "text" : "catagoryinfo", "value" : "catagoryinfo" },
  17. { "text" : "document", "value" : "document" },
  18. { "text" : "appcatagorypermission", "value" : "appcatagorypermission" },
  19. { "text" : "appcatagoryadmin", "value" : "appcatagoryadmin" },
  20. { "text" : "log", "value" : "log" }
  21. ]
  22. };
  23. $(document).ready(function() {
  24. data_query();
  25. });
  26. </script>
  27. <script id="data_query_template" type="text/html">
  28. <table border="1" width="100%">
  29. <tr>
  30. <td>id:</td>
  31. <td><input type="text" id="id" style="width:95%"/></td>
  32. </tr>
  33. <tr>
  34. <td>type:</td>
  35. <td>
  36. <select id="type">
  37. {{each datatype as type i}}
  38. <option value="{{type.value}}">{{type.text}}</option>
  39. {{/each}}
  40. </select>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td colspan="2">
  45. <button id="get">get</button>&nbsp;
  46. <button id="put">put</button>&nbsp;
  47. <button id="post">post</button>&nbsp;
  48. <button id="uuid">UUID</button>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td colspan="2">
  53. <textarea id="data" style="width:95%;height:500px"/>
  54. </td>
  55. </tr>
  56. </table>
  57. </script>
  58. </head>
  59. <body style="margin: 0; font-size: 1.0em; font-family: Microsoft Yahei">
  60. <div id="container" style="width: 1000px; margin: 0 auto;">
  61. <div id="header" style="background-color: #4682B4; clear: both; text-align: center;">
  62. x_cms_assemble_control_jest for x_cms_assemble_control
  63. </div>
  64. <div id="menu" style="background-color: #B0E0E6; height: 950px; width: 280px; float: left;">
  65. <ul>
  66. <li>Data
  67. <ul>
  68. <li><a onclick="data_query()" href="#">Query</a></li>
  69. </ul>
  70. </li>
  71. <li>Image
  72. <ul>
  73. <li><a onclick="image_file_init()" href="#">From File</a></li>
  74. <li><a onclick="image_url_init()" href="#">From Url</a></li>
  75. </ul>
  76. </li>
  77. </ul>
  78. </div>
  79. <div style="float: left; width: 720px;">
  80. <div id="content" style="width: 100%;">&nbsp;</div>
  81. <div id="result" style="width: 100%; white-space: pre; font-size: 10px; word-break: break-all; word-wrap: break-word;">&nbsp;</div>
  82. </div>
  83. <div id="footer"
  84. style="background-color: #4682B4; clear: both; text-align: center; display: none">
  85. Copyright © x</div>
  86. </div>
  87. </body>
  88. </html>