From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1

---
 src/crud/user-relation/agent.js |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/src/crud/user-relation/agent.js b/src/crud/user-relation/agent.js
new file mode 100644
index 0000000..3f55d7a
--- /dev/null
+++ b/src/crud/user-relation/agent.js
@@ -0,0 +1,59 @@
+export const tableOption = {
+  searchMenuSpan: 6,
+  columnBtn: false,
+  border: true,
+  selection: false,
+  index: false,
+  indexLabel: '序号',
+  stripe: true,
+  menuAlign: 'center',
+  menuWidth: 350,
+  align: 'center',
+  refreshBtn: true,
+  searchSize: 'mini',
+  addBtn: false,
+  editBtn: false,
+  delBtn: false,
+  viewBtn: false,
+  menu:true,
+  props: {
+    label: 'label',
+    value: 'value'
+  },
+  column: [{
+    label: '用户名',
+    prop: 'userName',
+    search: true,
+    hide:true,
+  }, {
+    label: '用户名',
+    prop: 'userNamen',
+    slot:true,
+  }, {
+    label: '切换视图',
+    prop: 'viewType',
+    type: 'select',
+    search: true,
+    hide:true,
+    dicData: [
+    {
+      label: '层级视图',
+      value: 'level',
+    }, {
+      label: '列表视图',
+      value: 'list'
+    }]
+  },{
+    label: 'UID',
+    prop: 'userCode',
+  }, {
+    label: '上级推荐人',
+    prop: 'userNameParent'
+  }, {
+    label: '分享地址',
+    prop: 'shareUrl',
+  }, {
+    label: '备注',
+    prop: 'remarks',
+  }]
+}

--
Gitblit v1.9.3