41 lines
1.4 KiB
JavaScript
41 lines
1.4 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "saoyisaothen",
|
|
setup(__props) {
|
|
const goBack = () => {
|
|
common_vendor.index.navigateBack();
|
|
};
|
|
const item = common_vendor.ref({});
|
|
common_vendor.onLoad((options) => {
|
|
item.value = JSON.parse(options.element);
|
|
});
|
|
const goToPay = () => {
|
|
common_vendor.index.setStorageSync("payaccount", item.value);
|
|
common_vendor.index.navigateTo({
|
|
url: "/pages/oldmanindex/protocol"
|
|
});
|
|
};
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.o(goBack),
|
|
b: `${common_vendor.index.getStorageSync("moveHeight") + 35}px`,
|
|
c: `${common_vendor.index.getStorageSync("moveHeight") + 30}px`,
|
|
d: common_vendor.t(item.value.nuId),
|
|
e: common_vendor.t(item.value.departName),
|
|
f: common_vendor.t(item.value.nuName),
|
|
g: item.value.nuCanUse == 0
|
|
}, item.value.nuCanUse == 0 ? {
|
|
h: common_vendor.o(goToPay)
|
|
} : {
|
|
i: common_vendor.t(item.value.msg)
|
|
}, {
|
|
j: common_vendor.o(goBack)
|
|
});
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-62672b7a"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/oldmanindex/saoyisaothen.js.map
|