person.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. {extend name="public/layout" /} {block name="title"}日常任务-完成情况{/block}
  2. {block name="body"}
  3. <style>
  4. .cardheader {
  5. padding-left: 10px;
  6. }
  7. .layui-table thead tr,
  8. .layui-table-header {
  9. background-color: #D8E6F1 !important;
  10. }
  11. .layui-btn-primary {
  12. color: #249EFB;
  13. border: 1px solid #249EFB;
  14. }
  15. .layui-btn-primary:hover {
  16. background-color: #E3F7FF;
  17. color: #249EFB;
  18. }
  19. .layui-card .layui-tab-brief .layui-tab-title li.layui-this {
  20. background-color: #249EFB;
  21. color: #fff;
  22. padding: 0px 15px;
  23. }
  24. .layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after {
  25. border-bottom: none;
  26. border: none;
  27. }
  28. .layui-card .layui-tab-brief .layui-tab-title li{
  29. background-color: #F2F2F2;
  30. margin: 0px 5px;
  31. padding: 0px 15px;
  32. }
  33. .layui-btn-xs,.layui-btn-xs:hover {
  34. border: 1px solid #249EFB;
  35. background-color: #fff;
  36. color: #249EFB;
  37. padding: 0px 10px;
  38. }
  39. .layui-btn-danger,.layui-btn-danger:hover{
  40. color: #FF5722;
  41. background-color: #fff;
  42. border: 1px solid #FF5722;
  43. padding: 0px 10px;
  44. }
  45. .layui-card .layui-tab-brief .layui-tab-title li{margin-left:0 !important;margin-right: 15px;}
  46. .layui-card .layui-tab-brief .layui-tab-title{margin-left:15px;}
  47. .flex-row {
  48. display: flex;
  49. justify-content: space-around;
  50. align-items: center;
  51. background-color: #fff;
  52. margin: 15px;
  53. height: 130px;
  54. box-shadow: 0 0 4px 0 #b6cade;
  55. border-radius: 5px;
  56. }
  57. .flex-item {
  58. display: flex;
  59. flex-direction: column;
  60. justify-content: center;
  61. align-items: center;
  62. }
  63. .font-weight {
  64. font-weight: 600;
  65. }
  66. .font24 {
  67. font-size: 24px;
  68. }
  69. .mt10 {
  70. margin-top: 10px;
  71. }
  72. .flex-box {
  73. display: flex;
  74. justify-content: space-around;
  75. align-items: center;
  76. background-color: #fff;
  77. margin: 17px;
  78. box-shadow: 0 0 4px 0 #b6cade;
  79. border-radius: 5px;
  80. width: 44%;
  81. padding: 20px;
  82. float: left;
  83. }
  84. .flex-box-title{
  85. font-size: 17px;
  86. font-weight: 600;
  87. }
  88. .flex-column {
  89. display: flex;
  90. flex-direction: column;
  91. }
  92. .box-title {
  93. border-left: 4px solid #249EFB;
  94. display: inline-block;
  95. height: 20px;
  96. line-height: 20px;
  97. padding-left: 5px;
  98. font-size: 20px;
  99. font-weight: 700;
  100. }
  101. .box-little {
  102. margin: 10px 0px;
  103. color: #999999;
  104. }
  105. .box-content {
  106. color: #999999;
  107. }
  108. .box-img {
  109. display: flex;
  110. height: 50px;
  111. margin-top: 10px;
  112. }
  113. .box-img img {
  114. width:40px;
  115. height: 40px;
  116. margin-right: 10px;
  117. }
  118. .box-tips {
  119. font-size: 12px;
  120. }
  121. .box-operate {
  122. width: 200px;
  123. height: 100%;
  124. display: flex;
  125. justify-content: center;
  126. align-items: center;
  127. }
  128. .box-del {
  129. width: 100px;
  130. height: 100px;
  131. border-left: 1px solid #cccccc;
  132. display: flex;
  133. justify-content: center;
  134. align-items: center;
  135. color: red;
  136. }
  137. .color249EFB {
  138. color: #249EFB;
  139. }
  140. .ml10 {
  141. margin-left: 10px;
  142. }
  143. </style>
  144. <body>
  145. <div class="layui-fluid">
  146. <div class="layui-card">
  147. <div class="layui-card-body">
  148. <div class="layui-row">
  149. <div class="layui-col-md12 layui-col-xs12 layui-col-sm12">
  150. <div class="layui-tab layui-tab-brief" lay-filter="component-tabs-hash">
  151. <div class="layui-tab-content">
  152. <div class="layui-tab-item layui-show" id="con">
  153. <table id="operater" lay-filter="operater" style="margin-top:15px;" class=""></table>
  154. </div>
  155. </div>
  156. <div id="page_container"></div>
  157. <input type="hidden" name="count" value="0">
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. {/block}
  165. {block name="js"}
  166. <script>
  167. layui.config({
  168. base: '__LAYUI__/',
  169. urlbase: '/sys'
  170. }).extend({
  171. index: 'lib/index' //主入口模块
  172. }).use(['index', 'table'], function () {
  173. var $ = layui.$,
  174. table = layui.table,
  175. form = layui.form;
  176. table.render({
  177. elem: '#operater',
  178. url: '{:url("dailyTasks/person_list")}?id='+"{$id}",
  179. page: true,
  180. height: 'full-180',
  181. cols: [
  182. [{
  183. type: 'numbers',
  184. field: 'id',
  185. fixed: 'left',
  186. title: '序号',
  187. }, {
  188. field: 'name',
  189. title: '姓名',
  190. }, {
  191. field: 'org_name',
  192. title: '部门',
  193. }, {
  194. field: 'state',
  195. title: '完成情况',
  196. }]
  197. ],
  198. text: '对不起,加载出现异常!'
  199. });
  200. });
  201. </script>
  202. {/block}