فهرست منبع

feat: 编辑用户表单顺序调整

chenhao 2 سال پیش
والد
کامیت
7f893c46d8
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      src/modules/admin-user/bulk-add-user/index.vue

+ 9 - 9
src/modules/admin-user/bulk-add-user/index.vue

@@ -120,6 +120,15 @@ const items = computed<EpFormItem[]>(() => {
         options: mainQuestionList.value,
         options: mainQuestionList.value,
       },
       },
     }),
     }),
+    span7({
+      label: '用户角色',
+      slotType: 'select',
+      prop: 'role',
+      slot: {
+        options: ROLE_OPTION,
+        placeholder: '设置用户角色',
+      },
+    }),
     model.role !== 'CHIEF'
     model.role !== 'CHIEF'
       ? span7({
       ? span7({
           label: '小组',
           label: '小组',
@@ -132,15 +141,6 @@ const items = computed<EpFormItem[]>(() => {
           },
           },
         })
         })
       : null,
       : null,
-    span7({
-      label: '用户角色',
-      slotType: 'select',
-      prop: 'role',
-      slot: {
-        options: ROLE_OPTION,
-        placeholder: '设置用户角色',
-      },
-    }),
     span7({
     span7({
       rowKey: 'row-6',
       rowKey: 'row-6',
       label: '自定义前缀',
       label: '自定义前缀',