53 lines
2.0 KiB
JavaScript
53 lines
2.0 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js");
|
|
const _sfc_main = {
|
|
__name: "workjoin",
|
|
setup(__props) {
|
|
const type = common_vendor.ref(0);
|
|
const workArray = common_vendor.ref([]);
|
|
common_vendor.onLoad((options) => {
|
|
type.value = options.type || "";
|
|
if (!type.value) {
|
|
pages_addjigou_api_addjigou.getMessageList(common_vendor.index.getStorageSync("tel")).then((res) => {
|
|
workArray.value = res.result;
|
|
});
|
|
}
|
|
});
|
|
const goback = () => {
|
|
common_vendor.index.navigateBack();
|
|
};
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_assets._imports_0$1,
|
|
b: common_assets._imports_1$1,
|
|
c: type.value === `1` ? `/static/index/workjoin/man.png` : `/static/index/workjoin/bgcren.png`,
|
|
d: common_vendor.t(type.value === `1` ? `机构加盟` : `员工入驻`),
|
|
e: common_assets._imports_2$1,
|
|
f: common_vendor.o(goback),
|
|
g: common_vendor.t(type.value === "1" ? `机构加盟审核列表` : `员工入驻审核列表`),
|
|
h: common_vendor.f(workArray.value, (item, index, i0) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.t(item.comName),
|
|
b: common_vendor.t(item.updateTime),
|
|
c: common_vendor.t(item.status == 1 ? "审核中" : item.status == 2 ? `审核完成` : `驳回`),
|
|
d: item.status == 2
|
|
}, item.status == 2 ? {} : {}, {
|
|
e: index
|
|
});
|
|
}),
|
|
i: common_vendor.o(() => {
|
|
}),
|
|
j: common_vendor.o(() => {
|
|
}),
|
|
k: common_vendor.o(() => {
|
|
})
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-808c8183"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/workjoin.js.map
|