From 1c3ae7bcad167c9a593f4634968a6e142d9b08f9 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期四, 13 八月 2026 12:18:30 +0800
Subject: [PATCH] add 预约和回收订单
---
src/modules/user/views/list.vue | 122 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 122 insertions(+), 0 deletions(-)
diff --git a/src/modules/user/views/list.vue b/src/modules/user/views/list.vue
index f1b69bf..7912719 100644
--- a/src/modules/user/views/list.vue
+++ b/src/modules/user/views/list.vue
@@ -3,6 +3,8 @@
<cl-row>
<!-- 鍒锋柊鎸夐挳 -->
<cl-refresh-btn />
+ <!-- 鏂板鎸夐挳 -->
+ <cl-add-btn />
<!-- 鍒犻櫎鎸夐挳 -->
<cl-multi-delete-btn />
<cl-flex1 />
@@ -90,6 +92,20 @@
value: 2,
type: 'warning'
}
+ ],
+ role: [
+ {
+ label: t('瀛︾敓'),
+ value: '瀛︾敓'
+ },
+ {
+ label: t('鑰佸笀'),
+ value: '鑰佸笀'
+ },
+ {
+ label: t('鏈煡'),
+ value: '鏈煡'
+ }
]
});
@@ -101,8 +117,18 @@
width: 60
},
{
+ label: t('鎵�灞炲崟浣�'),
+ prop: 'departmentName',
+ minWidth: 150
+ },
+ {
label: t('鏄电О'),
prop: 'nickName',
+ minWidth: 150
+ },
+ {
+ label: t('鐢熸棩'),
+ prop: 'birthday',
minWidth: 150
},
{
@@ -119,9 +145,34 @@
minWidth: 120
},
{
+ label: t('瑙掕壊'),
+ prop: 'role',
+ minWidth: 120
+ },
+ {
label: t('鎬у埆'),
prop: 'gender',
dict: options.gender,
+ minWidth: 120
+ },
+ {
+ label: t('纰崇Н鍒嗘�婚'),
+ prop: 'carbonBalance',
+ minWidth: 120
+ },
+ {
+ label: t('瀛﹂櫌鍚嶇О'),
+ prop: 'collegeName',
+ minWidth: 120
+ },
+ {
+ label: t('涓撲笟鍚嶇О'),
+ prop: 'majorName',
+ minWidth: 120
+ },
+ {
+ label: t('鐝骇鍚嶇О'),
+ prop: 'className',
minWidth: 120
},
{
@@ -157,11 +208,37 @@
component: { name: 'cl-upload' }
},
{
+ label: t("閫夋嫨閮ㄩ棬"),
+ prop: "departmentId",
+ component: {
+ name: 'cl-dept-select',
+ props: {
+ multiple: false, // 鍗曢�� / true 澶氶��
+ placeholder: "璇烽�夋嫨閮ㄩ棬",
+ checkStrictly: true, // 鐖跺瓙鑺傜偣涓嶈仈鍔�
+ immediate: true // 绔嬪嵆鍔犺浇閮ㄩ棬鏍�
+ }
+ },
+ required: true,
+ },
+ {
+ prop: 'unionid',
+ label: t('鍞竴鏍囪瘑'),
+ component: { name: 'el-input' },
+ required: true
+ },
+ {
prop: 'nickName',
label: t('鏄电О'),
component: { name: 'el-input' },
required: true
},
+ {
+ prop: 'birthday',
+ label: t('鐢熸棩'),
+ component: { name: 'el-input' }
+ },
+
{
prop: 'phone',
label: t('鎵嬫満鍙�'),
@@ -182,6 +259,51 @@
}
},
{
+ prop: 'role',
+ label: t('瑙掕壊'),
+ value: '瀛︾敓',
+ component: {
+ name: 'el-radio-group',
+ options: options.role
+ }
+ },
+ {
+ prop: 'carbonBalance',
+ label: t('纰崇Н鍒嗘�婚'),
+ value: 0,
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'collegeId',
+ label: t('瀛﹂櫌ID'),
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'collegeName',
+ label: t('瀛﹂櫌鍚嶇О'),
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'majorId',
+ label: t('涓撲笟ID'),
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'majorName',
+ label: t('涓撲笟鍚嶇О'),
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'classId',
+ label: t('鐝骇ID'),
+ component: { name: 'el-input' }
+ },
+ {
+ prop: 'className',
+ label: t('鐝骇鍚嶇О'),
+ component: { name: 'el-input' }
+ },
+ {
prop: 'status',
label: t('鐘舵��'),
value: 1,
--
Gitblit v1.9.1