-
@@ -18,5 +18,17 @@ const selectedNode = ref()
const setSelectedNode = (data: Tree) => {
selectedNode.value = data
}
+watch(
+ () => selectedNode.value,
+ val => {
+ if (val) {
+ fetchTableList()
+ }
+ }
+)
+const accountListRef = ref
>()
+const fetchTableList = () => {
+ accountListRef.value?.fetchTableList()
+}
diff --git a/src/views/account_center/sub_account/modules/account-list.vue b/src/views/account_center/sub_account/modules/account-list.vue
index ef00a88..ca57765 100644
--- a/src/views/account_center/sub_account/modules/account-list.vue
+++ b/src/views/account_center/sub_account/modules/account-list.vue
@@ -1,15 +1,162 @@
-
{{ curOrganization.label }}
+
+ {{ curOrganization.label }}
+
+
+
+ 新建账号
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.accountName }}
+ {{ row.accountName }}
+
+ 组长
+
+
+
+
+
+
+
+ 详情
+ {{ btnText(row.groupLeader) }}
+ 删除
+
+
+
diff --git a/src/views/account_center/sub_account/modules/organization.vue b/src/views/account_center/sub_account/modules/organization.vue
index 79b3424..5df8a5a 100644
--- a/src/views/account_center/sub_account/modules/organization.vue
+++ b/src/views/account_center/sub_account/modules/organization.vue
@@ -1,13 +1,15 @@
-
+
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 0849a2f..4db71be 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -34,7 +34,8 @@ module.exports = {
fill: 'var(--el-fill-color)',
'fill-light': 'var(--el-fill-color-light)',
'fill-lighter': 'var(--el-fill-color-lighter)',
- mask: 'var(--el-mask-color)'
+ mask: 'var(--el-mask-color)',
+ green: 'var(--color-green)'
},
fontFamily: {
sans: ['PingFang SC', 'Arial', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif']