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