show domain page for all user

1. show ドメイン管理
2. hide ドメイン適用
This commit is contained in:
xue jiahao
2024-11-06 21:56:14 +08:00
parent f5b5607297
commit 43ad0f5dd8
4 changed files with 24 additions and 70 deletions

View File

@@ -155,7 +155,8 @@ let editId = ref(0);
const getDomain = async () => {
loading.value = true;
const result = await api.get(`api/domains/1`);
const userId = authStore.userId;
const result = await api.get(`api/domain?userId=${userId}`);
rows.value = result.data.map((item) => {
return { id: item.id, tenantid: item.tenantid, name: item.name, url: item.url, user: item.kintoneuser, password: item.kintonepwd }
});