已支付订单列表:where.payStatus = 1;

This commit is contained in:
2024-07-10 22:44:18 +08:00
parent 9dd834adb5
commit 1311eb03b8
611 changed files with 92828 additions and 400 deletions
+38
View File
@@ -0,0 +1,38 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api_layout_index = require("../../api/layout/index.js");
const useTenantStore = common_vendor.defineStore({
id: "tenant",
state: () => ({
// 租户信息
tenant: null,
// 企业信息
company: null,
// 参数配置
params: {}
}),
getters: {},
actions: {
/**
* 请求用户信息、权限、角色、菜单
*/
async fetchTenantInfo() {
const company = await api_layout_index.getSiteInfo().catch(() => void 0);
if (!company) {
return {};
}
this.company = company;
if (company) {
this.company = company;
}
return company;
},
/**
* 更新租户信息
*/
setInfo(value) {
this.tenant = value;
}
}
});
exports.useTenantStore = useTenantStore;