"use strict"; const common_vendor = require("../../common/vendor.js"); const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js"); const _sfc_main = { __name: "workjoinsuccess", setup(__props) { common_vendor.ref(0); const workArray = common_vendor.ref([]); common_vendor.ref(false); const statusarray = ["success", "loading", "success", "fail", "loading", "fail"]; common_vendor.onLoad((options) => { common_vendor.index.getStorage({ key: "openid", success: function(res) { pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => { workArray.value = res2.result; }); } }); }); common_vendor.onPullDownRefresh(() => { common_vendor.index.getStorage({ key: "openid", success: function(res) { pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => { workArray.value = res2.result; }); } }); common_vendor.index.stopPullDownRefresh(); }); const goBack = () => { common_vendor.index.navigateBack(); }; const jumpToAll = (element) => { common_vendor.index.navigateTo({ url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=1` }); }; return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.o(goBack), b: !workArray.value.length }, !workArray.value.length ? {} : {}, { c: common_vendor.f(workArray.value, (item, index, i0) => { return { a: common_vendor.t(item.comName), b: common_vendor.t(index == workArray.value.length - 1 ? `申请` : `变更`), c: common_vendor.t(item.commitTime), d: common_vendor.t(item.auditTime), e: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status)]}.png`, f: common_vendor.o(($event) => jumpToAll(item), index), g: index }; }) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c1509caf"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/workjoinsuccess.js.map