-
客户管理
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.status === 1 ? '开启' : '关闭' }}
+
+
+
+
+
+ 搜索
+ 重置
+ 新增用户
+
+
+
+
+
+
diff --git a/src/views/account/client/options.ts b/src/views/account/client/options.ts
new file mode 100644
index 0000000..c41d99a
--- /dev/null
+++ b/src/views/account/client/options.ts
@@ -0,0 +1,31 @@
+export const clientSearchOptions = [
+ {
+ prop: 'username',
+ label: '用户名',
+ type: 'input' as const,
+ placeholder: '请输入用户名',
+ minWidth: '120px'
+ },
+ {
+ prop: 'registerTime',
+ label: '注册开始时间', // 标签与图片一致
+ type: 'date' as const,
+ dateType: 'daterange' as const, // 时间范围选择器
+ startPlaceholder: '开始日期',
+ endPlaceholder: '结束日期',
+ valueFormat: 'YYYY-MM-DD',
+ minWidth: '200px'
+ },
+ {
+ prop: 'status',
+ label: '状态',
+ type: 'select' as const,
+ placeholder: '选择状态',
+ width: '120px',
+ options: [
+ { label: '全部', value: '' },
+ { label: '开启', value: 1 },
+ { label: '关闭', value: 0 }
+ ],
+ }
+]
\ No newline at end of file