diff --git a/src/views/cees/localTeacher/CeesLocalTeacher.data.ts b/src/views/cees/localTeacher/CeesLocalTeacher.data.ts index 2956212..ca99188 100644 --- a/src/views/cees/localTeacher/CeesLocalTeacher.data.ts +++ b/src/views/cees/localTeacher/CeesLocalTeacher.data.ts @@ -5,27 +5,17 @@ import { render } from '/@/utils/common/renderUtils'; //列表数据 export const columns: BasicColumn[] = [ { - title: '用户id', - align: 'center', - dataIndex: 'userId', - }, - { - title: '用户名', + title: '姓名', align: 'center', dataIndex: 'userName', }, { - title: '专业id,0表示未选择', + title: '用户ID', align: 'center', - dataIndex: 'majorId', + dataIndex: 'userId', }, { - title: '用户专业id', - align: 'center', - dataIndex: 'userMajorId', - }, - { - title: '用户专业id', + title: '工号', align: 'center', dataIndex: 'teacherId', }, @@ -35,20 +25,33 @@ export const columns: BasicColumn[] = [ dataIndex: 'phone', }, { - title: '组id', + title: '学科', + align: 'center', + dataIndex: 'majorId', + }, + { + title: '所属分组', align: 'center', dataIndex: 'groupId', }, { - title: '使用次数', - align: 'center', - dataIndex: 'numberuse', - }, - { - title: '状态', + title: '是否第一次阅卷', align: 'center', dataIndex: 'status', }, + //{ + // title: '用户专业id', + // align: 'center', + // dataIndex: 'userMajorId', + //}, + + + //{ + // title: '使用次数', + // align: 'center', + // dataIndex: 'numberuse', + //}, + ]; //查询数据 export const searchFormSchema: FormSchema[] = [ @@ -78,11 +81,11 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '专业id,0表示未选择', + label: '学科', field: 'majorId', component: 'InputNumber', dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入专业id,0表示未选择!' }]; + return [{ required: true, message: '请输入学科!' }]; }, }, { @@ -94,11 +97,11 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '用户专业id', + label: '工号', field: 'teacherId', component: 'Input', dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入用户专业id!' }]; + return [{ required: true, message: '请输入工号!' }]; }, }, { @@ -110,11 +113,11 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '组id', + label: '所属分组', field: 'groupId', component: 'InputNumber', dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入组id!' }]; + return [{ required: true, message: '请输入所属分组!' }]; }, }, { @@ -126,17 +129,17 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '状态', + label: '是否第一次阅卷', field: 'status', component: 'RadioGroup', componentProps: { options: [ - { label: '正常', value: 0 }, - { label: '禁用', value: 1 }, + { label: '是', value: 0 }, + { label: '否', value: 1 }, ], }, dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请选择状态!' }]; + return [{ required: true, message: '请选择是否第一次阅卷!' }]; }, }, // TODO 主键隐藏字段,目前写死为ID @@ -152,11 +155,11 @@ export const formSchema: FormSchema[] = [ export const superQuerySchema = { userId: { title: '用户id', order: 0, view: 'text', type: 'string' }, userName: { title: '用户名', order: 1, view: 'text', type: 'string' }, - majorId: { title: '专业id,0表示未选择', order: 2, view: 'number', type: 'number' }, + majorId: { title: '学科', order: 2, view: 'number', type: 'number' }, userMajorId: { title: '用户专业id', order: 3, view: 'text', type: 'string' }, teacherId: { title: '用户专业id', order: 4, view: 'text', type: 'string' }, phone: { title: '手机号', order: 5, view: 'text', type: 'string' }, - groupId: { title: '组id', order: 6, view: 'number', type: 'number' }, + groupId: { title: '所属分组', order: 6, view: 'number', type: 'number' }, numberuse: { title: '使用次数', order: 7, view: 'number', type: 'number' }, status: { title: '状态:0正常 1禁用', order: 8, view: 'number', type: 'number' }, }; diff --git a/src/views/cees/localTeacher/CeesLocalTeacherList.vue b/src/views/cees/localTeacher/CeesLocalTeacherList.vue index 0572d2d..55e9867 100644 --- a/src/views/cees/localTeacher/CeesLocalTeacherList.vue +++ b/src/views/cees/localTeacher/CeesLocalTeacherList.vue @@ -16,8 +16,7 @@ - 批量操作 + 批量操作 @@ -31,8 +30,8 @@ @@ -42,145 +41,145 @@ diff --git a/src/views/cees/student/Student.data.ts b/src/views/cees/student/Student.data.ts index 5f4dd25..1f2959c 100644 --- a/src/views/cees/student/Student.data.ts +++ b/src/views/cees/student/Student.data.ts @@ -61,7 +61,7 @@ export const columns: BasicColumn[] = [ onFilter: (value, record) => filterMajor(value, record.majorId), // 过滤方法 }, { - title: '所属分组', + title: '所属分组', align: 'center', dataIndex: 'groupId', }, diff --git a/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts b/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts index 08d9e91..f91ca43 100644 --- a/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts +++ b/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts @@ -5,25 +5,30 @@ import { render } from '/@/utils/common/renderUtils'; //列表数据 export const columns: BasicColumn[] = [ { - title: '用户id', + title: '姓名', + align: 'center', + dataIndex: 'userName', + }, + { + title: '用户ID', align: 'center', dataIndex: 'userId', }, { - title: '专业id', + title: '年龄', + align: 'center', + dataIndex: 'age', + }, + { + title: '性别', + align: 'center', + dataIndex: 'sex', + }, + { + title: '学科', align: 'center', dataIndex: 'majorId', }, - { - title: '用户专业id', - align: 'center', - dataIndex: 'userMajorId', - }, - { - title: '用户名', - align: 'center', - dataIndex: 'userName', - }, { title: '手机号', align: 'center', @@ -34,6 +39,27 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'jobTitle', }, + { + title: '职务', + align: 'center', + dataIndex: 'office', + }, + { + title: '所属分组', + align: 'center', + dataIndex: 'groupId', + }, + { + title: '住宿信息', + align: 'center', + dataIndex: 'dormitory', + }, + + { + title: '用户专业id', + align: 'center', + dataIndex: 'userMajorId', + }, { title: '银行卡号', align: 'center', @@ -44,11 +70,7 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'mealCard', }, - { - title: '办公位', - align: 'center', - dataIndex: 'office', - }, + { title: '工作名称', align: 'center', @@ -69,26 +91,11 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'carNumber', }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, { title: '车辆是否入校', align: 'center', dataIndex: 'carStatus', }, - { - title: '宿舍信息', - align: 'center', - dataIndex: 'dormitory', - }, { title: '是否住宿', align: 'center', @@ -104,11 +111,6 @@ export const columns: BasicColumn[] = [ align: 'center', dataIndex: 'bankName', }, - { - title: '组id', - align: 'center', - dataIndex: 'groupId', - }, { title: '使用次数', align: 'center', @@ -123,13 +125,13 @@ export const columns: BasicColumn[] = [ //查询数据 export const searchFormSchema: FormSchema[] = [ { - label: '专业id', + label: '学科', field: 'majorId', component: 'JRangeNumber', //colProps: {span: 6}, }, { - label: '用户名', + label: '姓名', field: 'userName', component: 'Input', //colProps: {span: 6}, @@ -138,15 +140,15 @@ export const searchFormSchema: FormSchema[] = [ //表单数据 export const formSchema: FormSchema[] = [ { - label: '用户id', + label: '用户ID', field: 'userId', component: 'Input', dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入用户id!' }]; + return [{ required: true, message: '请输入用户ID!' }]; }, }, { - label: '专业id', + label: '学科', field: 'majorId', component: 'InputNumber', dynamicRules: ({ model, schema }) => { @@ -162,11 +164,11 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '用户名', + label: '姓名', field: 'userName', component: 'Input', dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入用户名!' }]; + return [{ required: true, message: '请输入姓名!' }]; }, }, { @@ -202,7 +204,7 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '办公位', + label: '职务', field: 'office', component: 'Input', dynamicRules: ({ model, schema }) => { @@ -272,7 +274,7 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '宿舍信息', + label: '住宿信息', field: 'dormitory', component: 'Input', dynamicRules: ({ model, schema }) => { @@ -310,7 +312,7 @@ export const formSchema: FormSchema[] = [ }, }, { - label: '组id', + label: '所属分组', field: 'groupId', component: 'InputNumber', dynamicRules: ({ model, schema }) => { @@ -350,15 +352,15 @@ export const formSchema: FormSchema[] = [ // 高级查询数据 export const superQuerySchema = { - userId: { title: '用户id', order: 0, view: 'text', type: 'string' }, - majorId: { title: '专业id', order: 1, view: 'number', type: 'number' }, + userId: { title: '用户ID', order: 0, view: 'text', type: 'string' }, + majorId: { title: '学科', order: 1, view: 'number', type: 'number' }, userMajorId: { title: '用户专业id', order: 2, view: 'text', type: 'string' }, - userName: { title: '用户名', order: 3, view: 'text', type: 'string' }, + userName: { title: '姓名', order: 3, view: 'text', type: 'string' }, phone: { title: '手机号', order: 4, view: 'text', type: 'string' }, jobTitle: { title: '职称', order: 5, view: 'text', type: 'string' }, pyCard: { title: '银行卡号', order: 6, view: 'text', type: 'string' }, mealCard: { title: '饭卡', order: 7, view: 'text', type: 'string' }, - office: { title: '办公位', order: 8, view: 'text', type: 'string' }, + office: { title: '职务', order: 8, view: 'text', type: 'string' }, workName: { title: '工作名称', order: 9, view: 'text', type: 'string' }, workPhone: { title: '固定电话', order: 10, view: 'text', type: 'string' }, identityId: { title: '身份证', order: 11, view: 'text', type: 'string' }, @@ -366,11 +368,11 @@ export const superQuerySchema = { sex: { title: '性别', order: 13, view: 'text', type: 'string' }, age: { title: '年龄', order: 14, view: 'number', type: 'number' }, carStatus: { title: '车辆是否入校', order: 15, view: 'number', type: 'number' }, - dormitory: { title: '宿舍信息', order: 16, view: 'text', type: 'string' }, + dormitory: { title: '住宿信息', order: 16, view: 'text', type: 'string' }, dormitoryStatus: { title: '是否住宿', order: 17, view: 'text', type: 'string' }, bankAddress: { title: '开户所在地', order: 18, view: 'text', type: 'string' }, bankName: { title: '开户行', order: 19, view: 'text', type: 'string' }, - groupId: { title: '组id', order: 20, view: 'number', type: 'number' }, + groupId: { title: '所属分组', order: 20, view: 'number', type: 'number' }, numberuse: { title: '使用次数', order: 21, view: 'number', type: 'number' }, status: { title: '状态:0已报道 1未报到', order: 22, view: 'number', type: 'number' }, }; diff --git a/src/views/cees/waiTeacher/CeesWaiTeacherList.vue b/src/views/cees/waiTeacher/CeesWaiTeacherList.vue index 8e82606..bcf482f 100644 --- a/src/views/cees/waiTeacher/CeesWaiTeacherList.vue +++ b/src/views/cees/waiTeacher/CeesWaiTeacherList.vue @@ -1,7 +1,8 @@ + -