"use strict";
const common_vendor = require("../../../../common/vendor.js");
if (!Array) {
  const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
  _easycom_qiun_data_charts2();
}
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
if (!Math) {
  (_easycom_qiun_data_charts + ChartCard)();
}
const ChartCard = () => "../../../../components/chartCard.js";
const _sfc_main = {
  __name: "emergencyCard",
  setup(__props) {
    const opts = common_vendor.ref({
      padding: [15, 15, 0, 5],
      enableScroll: false,
      legend: { show: false },
      xAxis: {
        disableGrid: true,
        rotateLabel: true,
        fontSize: 10,
        rotateAngle: -30
      },
      yAxis: {
        data: [{
          min: 0
        }]
      },
      extra: {
        column: {
          type: "group",
          width: 20,
          activeBgColor: "#000000",
          activeBgOpacity: 0.08
        }
      }
    });
    const chartData = common_vendor.ref({});
    const handleTap = (e) => {
      common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:46", e);
    };
    common_vendor.onReady(() => {
      let res = {
        categories: ["应急预案", "专项预案", "现场处置\n预案", "演练次数", "参演人数"],
        series: [{
          data: [35, 36, 31, 33, 13],
          color: "#eef82f"
        }],
        formatter: function(value, index, series, opts2) {
          common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:58", value);
          common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:59", index);
          common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:60", series);
          common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:61", opts2);
        }
      };
      chartData.value = JSON.parse(JSON.stringify(res));
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.o(handleTap, "8d"),
        b: common_vendor.p({
          type: "column",
          opts: opts.value,
          chartData: chartData.value
        }),
        c: common_vendor.p({
          margin: "0 0 30rpx 0",
          title: "应急管理数据"
        })
      };
    };
  }
};
wx.createComponent(_sfc_main);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/emergencyCard.js.map
