        // ====== 概览统计 ======
        renderOverview: function(ov) {
            if (!ov) return;
            var self = this;

            // 卡片1：家庭医生签约
            var c1 = ov.contracts || {};
            $('#ov-contracts').text(this.fmt(c1.total || 0));
            // 右上角：待审核 + 本月新增
            var pending = self.fmt(c1.pending || 0);
            var newThisMonth = self.fmt(c1.new_this_month || 0);
            $('#ov-pending-contracts').html(
                (c1.pending > 0 ? '<span class="zdd-sc-urgent"><i class="fas fa-exclamation-circle"></i> 待审 ' + pending + '</span>' : '<span style="font-size:10px;color:#94a3b8;font-weight:700">✓ 已清零</span>') +
                (c1.new_this_month > 0 ? '<span class="zdd-trend up"><i class="fas fa-arrow-up"></i>本月+' + newThisMonth + '</span>' : '')
            );
            // 底部元数据：本月+环比
            var compare = c1.compare_rate || 0;
            var compareHtml = compare !== 0
                ? '<span class="zdd-sc-meta"><strong>' + (compare > 0 ? '+' : '') + compare + '%</strong> 较上月</span>'
                : '<span class="zdd-sc-meta"><strong>—</strong></span>';
            if ($('#ov-contracts').next('.zdd-sc-meta').length) $('#ov-contracts').next('.zdd-sc-meta').remove();
            $('#ov-contracts').after(compareHtml);

            // 卡片2：体检报告
            var c2 = ov.reports || {};
            $('#ov-reports').text(this.fmt(c2.total || 0));
            var pendingDel = self.fmt(c2.pending_deletions || 0);
            var newThisYear = self.fmt(c2.new_this_year || 0);
            $('#ov-pending-deletions').html(
                (c2.pending_deletions > 0 ? '<span class="zdd-sc-urgent"><i class="fas fa-trash-alt"></i> 待删 ' + pendingDel + '</span>' : '<span style="font-size:10px;color:#94a3b8;font-weight:700">✓ 无待处理</span>') +
                (c2.new_this_year > 0 ? '<span class="zdd-trend up"><i class="fas fa-arrow-up"></i>今年+' + newThisYear + '</span>' : '')
            );

            // 卡片3：服务预约
            var c3 = ov.bookings || {};
            $('#ov-bookings').text(this.fmt(c3.today || 0));
            var pendingConf = self.fmt(c3.pending_confirm || 0);
            $('#ov-today-bookings').html(
                (c3.pending_confirm > 0 ? '<span class="zdd-sc-urgent"><i class="fas fa-clock"></i> 待确认 ' + pendingConf + '</span>' : '<span style="font-size:10px;color:#94a3b8;font-weight:700">✓ 已清零</span>')
            );

            // 卡片4：满意度调查
            var c4 = ov.surveys || {};
            $('#ov-surveys').text(this.fmt(c4.total || 0));
            var activeQ = self.fmt(c4.active_surveys || 0);
            var newThisMonth4 = self.fmt(c4.new_this_month || 0);
            $('#ov-sms-total').html(
                (c4.active_surveys > 0 ? '<span class="zdd-bdg-info" style="font-size:10px;font-weight:800"><i class="fas fa-poll-h"></i> ' + activeQ + ' 活跃</span>' : '') +
                (c4.new_this_month > 0 ? '<span class="zdd-trend up"><i class="fas fa-arrow-up"></i>本月+' + newThisMonth4 + '</span>' : '')
            );
        },﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.zhcxws.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.zhcxws.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.zhcxws.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.zhcxws.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.zhcxws.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://www.zhcxws.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
