mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-21 19:13:22 +08:00
finish getUserRegex
This commit is contained in:
@@ -1,63 +1,66 @@
|
||||
import { FormSchema } from '/@/components/Form'
|
||||
import { getUserRegex } from '/@/api/dashboard'
|
||||
const colProps = {
|
||||
span: 24,
|
||||
}
|
||||
|
||||
const userregex = await getUserRegex()
|
||||
|
||||
export const schemas: FormSchema[] = [
|
||||
{
|
||||
field: 'title',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '试卷标题',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Title,
|
||||
},
|
||||
{
|
||||
field: 'class',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '课程名称',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Class,
|
||||
},
|
||||
{
|
||||
field: 'opencl',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '开/闭卷',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.OpenCl,
|
||||
},
|
||||
{
|
||||
field: 'date',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '考试日期',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Date,
|
||||
},
|
||||
{
|
||||
field: 'time',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '考试时长',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Time,
|
||||
},
|
||||
{
|
||||
field: 'rate',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '成绩占比',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Rate,
|
||||
},
|
||||
{
|
||||
field: 'major',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '大题题号',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Major,
|
||||
},
|
||||
{
|
||||
field: 'sub',
|
||||
component: 'Input',
|
||||
colProps,
|
||||
label: '小题题号',
|
||||
defaultValue: 'more 吗',
|
||||
defaultValue: userregex.Sub,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
import { Card, List } from 'ant-design-vue'
|
||||
import { getMessageList, acceptMessage, deleteMessage } from '/@/api/dashboard/index'
|
||||
import { useMessage } from '/@/hooks/web/useMessage'
|
||||
import { MessageTypeEnum, MessageItem } from '/@/api/dashboard/model/workbenchModel'
|
||||
import { MessageTypeEnum, MessageItem } from '../../../../api/dashboard/model/model.js'
|
||||
import { Avatar } from 'ant-design-vue'
|
||||
import headerImg from '/@/assets/images/header.jpg'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user