|
@@ -0,0 +1,76 @@
|
|
|
+<#assign title="业委会"/>
|
|
|
+<#include "/home/frag.head.ftl" />
|
|
|
+
|
|
|
+<div class="page__bd">
|
|
|
+ <header class="demos-header">
|
|
|
+ <h1 class="demos-title">抗疫小区</h1>
|
|
|
+ </header>
|
|
|
+ <div id="rbs" class="weui-tab__bd-item ">
|
|
|
+ <div id="ribaohuiz"></div>
|
|
|
+ <div class="weui-panel weui-panel_access">
|
|
|
+ <table cellspacing="0" cellpadding="0" style="width: 100%">
|
|
|
+ <tbody><#--border="1" cellspacing="0" cellpadding="0"-->
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: lightgrey" align="center">注册户数</td>
|
|
|
+ <td style="background-color: lightgrey" align="center">上报户数</td>
|
|
|
+ <td style="background-color: lightgrey" align="center">异常户数</td>
|
|
|
+ </tr>
|
|
|
+ <tr id="huiz">
|
|
|
+ <td align="center">8</td>
|
|
|
+ <td align="center">0</td>
|
|
|
+ <td align="center">0</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div class="weui-btn-area" style="display: grid;">
|
|
|
+ <#--<p id="btnRB" class="weui-btn weui-btn_primary" href="javascript:" type="hidden">一键通知</p>-->
|
|
|
+ <a id="returnc" class="weui-btn weui-btn_primary" href="javascript:">生成报表</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+</div>
|
|
|
+<#include "/home/frag.foot.ftl" />
|
|
|
+<script>
|
|
|
+ (function ($) {
|
|
|
+ $(function(){
|
|
|
+
|
|
|
+ $("#ribaohuiz").calendar({
|
|
|
+ dateFormat: 'yyyy-mm-dd',
|
|
|
+ inputReadOnly: false,
|
|
|
+ onChange: function (p, values, displayValues) {
|
|
|
+ var reportDate = values.toString();
|
|
|
+ console.log(reportDate);
|
|
|
+ var userId = $("#userId").val();
|
|
|
+ $.ajax({
|
|
|
+ url: '/home/home/queryRibaoReportDate',
|
|
|
+ data: {
|
|
|
+ "userCreate": userId,
|
|
|
+ "reportDate": reportDate,
|
|
|
+ },
|
|
|
+ type: 'GET',
|
|
|
+ success: function (data) {
|
|
|
+ if (data.data == undefined) {
|
|
|
+ $('#ribao_famliy').empty();
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ if (data.data.length > 0) {
|
|
|
+ $('#ribao_famliy').empty();
|
|
|
+ data.data.forEach(function (v) {
|
|
|
+ helpValue1(v);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function () {
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ })(jQuery);
|
|
|
+
|
|
|
+
|
|
|
+</script>
|