50 lines
1.6 KiB
JavaScript
50 lines
1.6 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
name: "ywjg-view",
|
|
data() {
|
|
return {};
|
|
},
|
|
props: {
|
|
businessStructureList: Array,
|
|
//业务结构分析
|
|
businessSegmentList: Array
|
|
//业务板块详情
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.f($props.businessStructureList, (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
b: common_vendor.t(_ctx.item.title),
|
|
c: common_vendor.f(_ctx.item.list, (child, row, i0) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.t(child.title),
|
|
b: child.is_hexin
|
|
}, child.is_hexin ? {} : {}, {
|
|
c: common_vendor.t(child.yszb),
|
|
d: common_vendor.t(child.mlv),
|
|
e: common_vendor.t(child.yysr > 1e4 ? child.yysr / 1e4 + "亿" : child.yysr + "万"),
|
|
f: common_vendor.t(child.zz > 0 ? "+" + child.zz : child.zz),
|
|
g: child.zz > 0 ? "#EC3440" : "#345423",
|
|
h: row
|
|
});
|
|
}),
|
|
d: common_vendor.f($props.businessSegmentList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item.segment_name),
|
|
b: common_vendor.t(item.segment_description),
|
|
c: common_vendor.t(item.competitive_position),
|
|
d: common_vendor.t(item.future_potential),
|
|
e: item
|
|
};
|
|
})
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ywjg-view/ywjg-view.js.map
|