member_authority_test.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <html lang='zh-TW'>
  2. <head>
  3. <meta charset="UTF-8">
  4. <title>Item Details</title>
  5. </head>
  6. <body>
  7. <form method="post" action="/member_authority">
  8. <table>
  9. <tr>
  10. <td>使用者身分</td>
  11. <td>功能機組</td>
  12. <td>檢視</td>
  13. <td>新增</td>
  14. <td>編輯</td>
  15. <td>刪除</td>
  16. <td>備註</td>
  17. </tr>
  18. <tr>
  19. <td>{{ 智能預測.role_id }}</td>
  20. <td>智能預測</td>
  21. <td><input type="text" id="ai_prediction_isView" name='ai_prediction_isView' value = {{ 智能預測.isView }}> </input></td>
  22. <td><input type="text" id="ai_prediction_isAdd" name='ai_prediction_isAdd' value = {{ 智能預測.isAdd }}> </input></td>
  23. <td><input type="text" id="ai_prediction_isEdit" name='ai_prediction_isEdit' value = {{ 智能預測.isEdit }}> </input></td>
  24. <td><input type="text" id="ai_prediction_isDel" name='ai_prediction_isDel' value = {{ 智能預測.isDel }}> </input></td>
  25. <td></td>
  26. </tr>
  27. <tr>
  28. <td>{{ 通道.role_id }}</td>
  29. <td>通道</td>
  30. <td><input type="text" id="channel_isView" name='channel_isView' value = {{ 通道.isView }}></input></td>
  31. <td><input type="text" id="channel_isAdd" name='channel_isAdd' value = {{ 通道.isAdd }}></input></td>
  32. <td><input type="text" id="channel_isEdit" name='channel_isEdit' value = {{ 通道.isEdit }}></input></td>
  33. <td><input type="text" id="channel_isDel" name='channel_isDel' value = {{ 通道.isDel }}></input></td>
  34. <td></td>
  35. </tr>
  36. <tr>
  37. <td>{{ 設備.role_id }}</td>
  38. <td>設備</td>
  39. <td><input type="number" id="device_isView" name='device_isView' value = {{ 設備.isView }}></input></td>
  40. <td><input type="text" id="device_isAdd" name='device_isAdd' value = {{ 設備.isAdd }}></input></td>
  41. <td><input type="text" id="device_isEdit" name='device_isEdit' value = {{ 設備.isEdit }}></input></td>
  42. <td><input type="text" id="device_isDel" name='device_isDel' value = {{ 設備.isDel }}></input></td>
  43. <td></td>
  44. </tr>
  45. <tr>
  46. <td>{{ 事件.role_id }}</td>
  47. <td>事件</td>
  48. <td><input type="text" id="event_isView" name='event_isView' value = {{ 事件.isView }}></input></td>
  49. <td><input type="text" id="event_isAdd" name='event_isAdd' value = {{ 事件.isAdd }}></input></td>
  50. <td><input type="text" id="event_isEdit" name='event_isEdit' value = {{ 事件.isEdit }}></input></td>
  51. <td><input type="text" id="event_isDel" name='event_isDel' value = {{ 事件.isDel }}></input></td>
  52. <td></td>
  53. </tr>
  54. <tr>
  55. <td>{{ 首頁.role_id }}</td>
  56. <td>首頁</td>
  57. <td><input type="text" id="index_isView" name='index_isView' value = {{ 首頁.isView }}></input></td>
  58. <td><input type="text" id="index_isAdd" name='index_isAdd' value = {{ 首頁.isAdd }}></input></td>
  59. <td><input type="text" id="index_isEdit" name='index_isEdit' value = {{ 首頁.isEdit }}></input></td>
  60. <td><input type="text" id="index_isDel" name='index_isDel' value = {{ 首頁.isDel }}></input></td>
  61. <td></td>
  62. </tr>
  63. <tr>
  64. <td>{{ 效能.role_id }}</td>
  65. <td>效能</td>
  66. <td><input type="text" id="performance_isView" name='performance_isView' value = {{ 效能.isView }}></input></td>
  67. <td><input type="text" id="performance_isAdd" name='performance_isAdd' value = {{ 效能.isAdd }}></input></td>
  68. <td><input type="text" id="performance_isEdit" name='performance_isEdit' value = {{ 效能.isEdit }}></input></td>
  69. <td><input type="text" id="performance_isDel" name='performance_isDel' value = {{ 效能.isDel }}></input></td>
  70. <td></td>
  71. </tr>
  72. <tr>
  73. <td>{{ 設備設定.role_id }}</td>
  74. <td>設備設定</td>
  75. <td><input type="text" id="setting_device_isView" name='setting_device_isView' value = {{ 設備設定.isView }}></input></td>
  76. <td><input type="text" id="setting_device_isAdd" name='setting_device_isAdd' value = {{ 設備設定.isAdd }}></input></td>
  77. <td><input type="text" id="setting_device_isEdit" name='setting_device_isEdit' value = {{ 設備設定.isEdit }}></input></td>
  78. <td><input type="text" id="setting_device_isDel" name='setting_device_isDel' value = {{ 設備設定.isDel }}></input></td>
  79. <td></td>
  80. </tr>
  81. <tr>
  82. <td>{{ 紀錄.role_id }}</td>
  83. <td>紀錄</td>
  84. <td><input type="text" id="record_isView" name='record_isView' value = {{ 紀錄.isView }}></input></td>
  85. <td><input type="text" id="record_isAdd" name='record_isAdd' value = {{ 紀錄.isAdd }}></input></td>
  86. <td><input type="text" id="record_isEdit" name='record_isEdit' value = {{ 紀錄.isEdit }}></input></td>
  87. <td><input type="text" id="record_isDel" name='record_isDel' value = {{ 紀錄.isDel }}></input></td>
  88. <td></td>
  89. </tr>
  90. <tr>
  91. <td>{{ 系統設定.role_id }}</td>
  92. <td>系統設定</td>
  93. <td><input type="text" id="setting_system_isView" name='setting_system_isView' value = {{ 系統設定.isView }}></input></td>
  94. <td><input type="text" id="setting_system_isAdd" name='setting_system_isAdd' value = {{ 系統設定.isAdd }}></input></td>
  95. <td><input type="text" id="setting_system_isEdit" name='setting_system_isEdit' value = {{ 系統設定.isEdit }}></input></td>
  96. <td><input type="text" id="setting_system_isDel" name='setting_system_isDel' value = {{ 系統設定.isDel }}></input></td>
  97. <td></td>
  98. </tr>
  99. <tr>
  100. <td>{{ 水塔.role_id }}</td>
  101. <td>水塔</td>
  102. <td><input type="text" id="tower_isView" name='tower_isView' value = {{ 水塔.isView }}></input></td>
  103. <td><input type="text" id="tower_isAdd" name='tower_isAdd' value = {{ 水塔.isAdd }}></input></td>
  104. <td><input type="text" id="tower_isEdit " name='tower_isEdit' value = {{ 水塔.isEdit }}></input></td>
  105. <td><input type="text" id="tower_isDel" name='tower_isDel' value = {{ 水塔.isDel }}></input></td>
  106. <td></td>
  107. </tr>
  108. </table>
  109. <input type="text" id="id" name="id" value = {{ 水塔.user_id }} hidden></input>
  110. <input type="text" id="role_id" name="role_id" value = {{ 水塔.role_id }} hidden></input>
  111. <input type="text" id="access_token" name="access_token" hidden></input>
  112. <script>
  113. var cookie_token = getCookieByName('jwt_token');
  114. $('#access_token').val(cookie_token);
  115. alert(document.getElementById=('access_token').value);
  116. </script>
  117. <button type="submit" id="btn">確認</button>
  118. </form>
  119. </body>
  120. </html>