"use strict"; const common_vendor = require("../../common/vendor.js"); const tTable = () => "../../components/t-table/t-table.js"; const tTh = () => "../../components/t-table/t-th.js"; const tTr = () => "../../components/t-table/t-tr.js"; const tTd = () => "../../components/t-table/t-td.js"; const ProgressPlus = () => "../../components/ProgressPlus/ProgressPlus.js"; const _sfc_main = { props: ["scoresList", "testResult"], components: { tTable, tTh, tTr, tTd, ProgressPlus }, data() { return { colors: [ "#1C82F3", "#21C9CF", "#ECB84F", "#EC6F4F", "#CF63D6", "#4F5FEC" ] }; }, methods: { change(e) { console.log(e.detail); } } }; if (!Array) { const _component_t_th = common_vendor.resolveComponent("t-th"); const _component_t_tr = common_vendor.resolveComponent("t-tr"); const _component_t_td = common_vendor.resolveComponent("t-td"); const _component_progress_plus = common_vendor.resolveComponent("progress-plus"); const _easycom_t_table2 = common_vendor.resolveComponent("t-table"); (_component_t_th + _component_t_tr + _component_t_td + _component_progress_plus + _easycom_t_table2)(); } const _easycom_t_table = () => "../../components/t-table/t-table.js"; if (!Math) { _easycom_t_table(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { a: common_vendor.f($props.scoresList, (items, index, i0) => { return { a: common_vendor.f(items.colNames, (itemTitle, i, i1) => { return { a: common_vendor.t(itemTitle), b: i, c: "71dddd3a-2-" + i0 + "-" + i1 + "," + ("71dddd3a-1-" + i0) }; }), b: "71dddd3a-1-" + i0 + "," + ("71dddd3a-0-" + i0), c: common_vendor.f($props.testResult == 2 ? items.newTableContext.result : items.tableContext, (c, p, i1) => { return common_vendor.e({ a: common_vendor.t(c.name != void 0 ? c.name : "总分"), b: "71dddd3a-4-" + i0 + "-" + i1 + "," + ("71dddd3a-3-" + i0 + "-" + i1), c: c.name != void 0 && c.percent == void 0 }, c.name != void 0 && c.percent == void 0 ? { d: common_vendor.t($props.testResult == 2 ? c.score : c.value[0]), e: "71dddd3a-5-" + i0 + "-" + i1 + "," + ("71dddd3a-3-" + i0 + "-" + i1) } : {}, { f: c.name != void 0 && c.percent != void 0 }, c.name != void 0 && c.percent != void 0 ? { g: "71dddd3a-7-" + i0 + "-" + i1 + "," + ("71dddd3a-6-" + i0 + "-" + i1), h: common_vendor.p({ color: $data.colors[p % 6], percent: c.percent, score: c.score }), i: "71dddd3a-6-" + i0 + "-" + i1 + "," + ("71dddd3a-3-" + i0 + "-" + i1) } : {}, { j: p, k: "71dddd3a-3-" + i0 + "-" + i1 + "," + ("71dddd3a-0-" + i0) }); }), d: index, e: "71dddd3a-0-" + i0 }; }), b: common_vendor.o($options.change) }; } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-71dddd3a"], ["__file", "E:/psy_web_share/scaleTestResults/components/unTable.vue"]]); tt.createComponent(Component);