diff --git a/src/components/advanced/table-column-check-alert.vue b/src/components/advanced/table-row-check-alert.vue
similarity index 81%
rename from src/components/advanced/table-column-check-alert.vue
rename to src/components/advanced/table-row-check-alert.vue
index 61467aa8..729aa19a 100644
--- a/src/components/advanced/table-column-check-alert.vue
+++ b/src/components/advanced/table-row-check-alert.vue
@@ -1,9 +1,9 @@
diff --git a/src/components/advanced/table-sider-layout.vue b/src/components/advanced/table-sider-layout.vue
index 0717ac29..bd6b675e 100644
--- a/src/components/advanced/table-sider-layout.vue
+++ b/src/components/advanced/table-sider-layout.vue
@@ -7,16 +7,17 @@ defineOptions({
interface Props {
defaultExpanded?: boolean;
+ siderTitle?: string;
}
withDefaults(defineProps(), {
- defaultExpanded: false
+ defaultExpanded: false,
+ siderTitle: undefined
});
const time = new Date().getTime();
const breakpoints = useBreakpoints(breakpointsTailwind);
const isCollapse = breakpoints.smaller('lg');
-const title = defineModel('title');
@@ -36,11 +37,11 @@ const title = defineModel('title');
content-class="sider-layout-card-content"
>
-
+
- {{ title }}
+ {{ siderTitle }}
@@ -65,7 +66,7 @@ const title = defineModel('title');
- {{ title }}
+ {{ siderTitle }}
diff --git a/src/components/custom/status-switch.vue b/src/components/custom/status-switch.vue
new file mode 100644
index 00000000..0d9e7d45
--- /dev/null
+++ b/src/components/custom/status-switch.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
diff --git a/src/components/custom/status-tag.vue b/src/components/custom/status-tag.vue
deleted file mode 100644
index 286fb2f5..00000000
--- a/src/components/custom/status-tag.vue
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- {{ enableStatusRecord[status] }}
-
-
-
diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts
index 914ff762..afd30abb 100644
--- a/src/typings/components.d.ts
+++ b/src/typings/components.d.ts
@@ -114,12 +114,15 @@ declare module 'vue' {
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SoybeanAvatar: typeof import('./../components/custom/soybean-avatar.vue')['default']
+ StatusSwitch: typeof import('./../components/custom/status-switch.vue')['default']
StatusTag: typeof import('./../components/custom/status-tag.vue')['default']
SvgIcon: typeof import('./../components/custom/svg-icon.vue')['default']
SystemLogo: typeof import('./../components/common/system-logo.vue')['default']
+ TableCheckAlert: typeof import('./../components/common/table-check-alert.vue')['default']
TableColumnCheckAlert: typeof import('./../components/advanced/table-column-check-alert.vue')['default']
TableColumnSetting: typeof import('./../components/advanced/table-column-setting.vue')['default']
TableHeaderOperation: typeof import('./../components/advanced/table-header-operation.vue')['default']
+ TableRowCheckAlert: typeof import('./../components/advanced/table-row-check-alert.vue')['default']
TableSiderLayout: typeof import('./../components/advanced/table-sider-layout.vue')['default']
ThemeSchemaSwitch: typeof import('./../components/common/theme-schema-switch.vue')['default']
WaveBg: typeof import('./../components/custom/wave-bg.vue')['default']
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 82a6be23..4eda2b10 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -146,40 +146,43 @@ async function edit(userId: CommonType.IdType) {
-
+