"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: "bigCrisisCard",
  setup(__props) {
    const opts = common_vendor.ref({
      padding: [15, 15, 0, 5],
      enableScroll: false,
      legend: {
        show: false
      },
      xAxis: {
        disableGrid: true
      },
      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/bigCrisisCard.vue:45", e);
    };
    common_vendor.onReady(() => {
      let res = {
        categories: ["未开始", "进行中", "已完成", "培训人次", "作业人次"],
        series: [{
          data: [35, 36, 31, 33, 13]
        }]
      };
      chartData.value = JSON.parse(JSON.stringify(res));
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.o(handleTap, "dc"),
        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/bigCrisisCard.js.map
