"use strict"; const common_vendor = require("../../common/vendor.js"); const WORKORDER_show_method = require("./method.js"); const WORKORDER_show_model = require("./model.js"); const gen_Enums = require("../../gen/Enums.js"); require("../../common/libraries/apiLoading.js"); require("../../gen/Apis.js"); require("../../common/libraries/request.js"); require("../../common/store/useWeAppAuthStore.js"); require("../../common/store/useWorkStore.js"); if (!Array) { const _easycom_hs_enum_tag2 = common_vendor.resolveComponent("hs-enum-tag"); const _easycom_hs_footer2 = common_vendor.resolveComponent("hs-footer"); (_easycom_hs_enum_tag2 + _easycom_hs_footer2)(); } const _easycom_hs_enum_tag = () => "../../components/hs-enum-tag/hs-enum-tag.js"; const _easycom_hs_footer = () => "../../components/hs-footer/hs-footer.js"; if (!Math) { (_easycom_hs_enum_tag + _easycom_hs_footer)(); } const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "index", setup(__props) { common_vendor.onLoad((e) => { WORKORDER_show_method.method.getShow(e == null ? void 0 : e.id); }); return (_ctx, _cache) => { var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F; return { a: common_vendor.p({ value: (_c = (_b = (_a = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _a.dataShow) == null ? void 0 : _b.value) == null ? void 0 : _c.type, Enums: common_vendor.unref(gen_Enums.HouseWorkOrdersTypeEnum) }), b: common_vendor.p({ value: (_f = (_e = (_d = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _d.dataShow) == null ? void 0 : _e.value) == null ? void 0 : _f.status, Enums: common_vendor.unref(gen_Enums.HouseWorkOrdersStatusEnum) }), c: common_vendor.t((_j = (_i = (_h = (_g = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _g.dataShow) == null ? void 0 : _h.value) == null ? void 0 : _i.asset_house) == null ? void 0 : _j.full_name), d: common_vendor.t((_m = (_l = (_k = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _k.dataShow) == null ? void 0 : _l.value) == null ? void 0 : _m.title), e: common_vendor.f((_p = (_o = (_n = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _n.dataShow) == null ? void 0 : _o.value) == null ? void 0 : _p.attachments, (k, idx, i0) => { return { a: k == null ? void 0 : k.url, b: `img_${idx}` }; }), f: common_vendor.t((_s = (_r = (_q = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _q.dataShow) == null ? void 0 : _r.value) == null ? void 0 : _s.code), g: common_vendor.t((_w = (_v = (_u = (_t = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _t.dataShow) == null ? void 0 : _u.value) == null ? void 0 : _v.asset_house) == null ? void 0 : _w.full_name), h: common_vendor.t((_z = (_y = (_x = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _x.dataShow) == null ? void 0 : _y.value) == null ? void 0 : _z.reporter_name), i: common_vendor.t((_C = (_B = (_A = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _A.dataShow) == null ? void 0 : _B.value) == null ? void 0 : _C.reporter_phone), j: common_vendor.t((_F = (_E = (_D = common_vendor.unref(WORKORDER_show_model.useModel)) == null ? void 0 : _D.dataShow) == null ? void 0 : _E.value) == null ? void 0 : _F.created_at), k: common_vendor.p({ btnOtherShow: true, btnParimaryName: "联系维修管家", btnOtherName: "关闭工单" }) }; }; } }); const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/WORKORDER/show/index.vue"]]); wx.createPage(MiniProgramPage);