| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>main_entiity</title>
- <script src="./main_entity.js"></script>
- <script>
- var request_config = {
- title: '实体数据类型服务测试',
- datatype: [
- { "text" : "appinfo", "value" : "appinfo" },
- { "text" : "catagoryinfo", "value" : "catagoryinfo" },
- { "text" : "document", "value" : "document" },
- { "text" : "appcatagorypermission", "value" : "appcatagorypermission" },
- { "text" : "appcatagoryadmin", "value" : "appcatagoryadmin" },
- { "text" : "log", "value" : "log" }
- ]
- };
-
- $(document).ready(function() {
- data_query();
- });
- </script>
- <script id="data_query_template" type="text/html">
- <table border="1" width="100%">
- <tr>
- <td>id:</td>
- <td><input type="text" id="id" style="width:95%"/></td>
- </tr>
- <tr>
- <td>type:</td>
- <td>
- <select id="type">
- {{each datatype as type i}}
- <option value="{{type.value}}">{{type.text}}</option>
- {{/each}}
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <button id="get">get</button>
- <button id="put">put</button>
- <button id="post">post</button>
- <button id="uuid">UUID</button>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <textarea id="result" style="width:97%;height:600px"/>
- </td>
- </tr>
- </table>
- </script>
- </head>
- <body>
- <div style="float: left; width: 720px;">
- <div id="content" style="width: 100%;"></div>
- </div>
-
-
- </body>
- </html>
|