diff --git a/.tgitconfig b/.tgitconfig new file mode 100644 index 0000000..e69de29 diff --git a/src/views/bl/blTeacherMain/BlTeacherMain.api.ts b/src/views/bl/blTeacherMain/BlTeacherMain.api.ts new file mode 100644 index 0000000..200c7b6 --- /dev/null +++ b/src/views/bl/blTeacherMain/BlTeacherMain.api.ts @@ -0,0 +1,81 @@ +import {defHttp} from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/blTeacherMain/blTeacherMain/list', + save='/blTeacherMain/blTeacherMain/add', + edit='/blTeacherMain/blTeacherMain/edit', + deleteOne = '/blTeacherMain/blTeacherMain/delete', + deleteBatch = '/blTeacherMain/blTeacherMain/deleteBatch', + importExcel = '/blTeacherMain/blTeacherMain/importExcel', + exportXls = '/blTeacherMain/blTeacherMain/exportXls', + queryDataById = '/blTeacherMain/blTeacherMain/queryById', + blTeacherTjfxList = '/blTeacherMain/blTeacherMain/queryBlTeacherTjfxByMainId', +} +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 查询子表数据 + * @param params + */ +export const queryBlTeacherTjfxListByMainId = (id) => defHttp.get({url: Api.blTeacherTjfxList, params:{ id }}); + +/** + * 列表接口 + * @param params + */ +export const list = (params) => + defHttp.get({url: Api.list, params}); + +/** + * 删除单个 + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} +/** + * 批量删除 + * @param params + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} +/** + * 保存或者更新 + * @param params + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({url: url, params}); +} + +/** +* 根据id查询数据 +* @param params +*/ +export const queryDataById = (id) => defHttp.get({url: Api.queryDataById, params:{ id }}); + diff --git a/src/views/bl/blTeacherMain/BlTeacherMain.data.ts b/src/views/bl/blTeacherMain/BlTeacherMain.data.ts new file mode 100644 index 0000000..2fce664 --- /dev/null +++ b/src/views/bl/blTeacherMain/BlTeacherMain.data.ts @@ -0,0 +1,1089 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types' +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '名称', + align:"center", + dataIndex: 'title' + }, +]; +//查询数据 +export const searchFormSchema: FormSchema[] = [ + { + label: "名称", + field: "title", + component: 'Input', + colProps: {span: 6}, + }, +]; +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '名称', + field: 'title', + component: 'Input', + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false + }, +]; +//子表单数据 +//子表表格配置 +export const blTeacherTjfxColumns: JVxeColumn[] = [ + { + title: '年份', + key: 'year', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '性别', + key: 'sex', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '学历', + key: 'educationLevel', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '职称', + key: 'position', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '学院', + key: 'department', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '岗位类型', + key: 'positiontype', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(依法依规,履行教师职责)1', + key: 'sdsfYfyg', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(依法依规,履行教师职责)2', + key: 'sdsfYfyg2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(关心爱护学生)1', + key: 'sdsfGxah', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(关心爱护学生)2', + key: 'sdsfGxah2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(精神面貌及品德修养良好)1', + key: 'sdsfJsmm', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事在以下方面的表现(精神面貌及品德修养良好)2', + key: 'sdsfJsmm2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(热爱工作,能以最大的热情投身教育行业,积极主动学习)1', + key: 'behaviorPassion', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(热爱工作,能以最大的热情投身教育行业,积极主动学习)2', + key: 'behaviorPassion2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(关爱学生,积极帮助学生解决生活或学习上的困难)1', + key: 'behaviorSolve', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(关爱学生,积极帮助学生解决生活或学习上的困难)2', + key: 'behaviorSolve2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(关注学生的心理健康状况)1', + key: 'behaviorMental', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(关注学生的心理健康状况)2', + key: 'behaviorMental2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(教学有序,有清晰合理的教学目标并能清楚地向学生解释)1', + key: 'behaviorAim', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(教学有序,有清晰合理的教学目标并能清楚地向学生解释)2', + key: 'behaviorAim2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(育人有方,激发学生的学习兴趣,注重培养学生的创新精神和创新思维)1', + key: 'behaviorCreate', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(育人有方,激发学生的学习兴趣,注重培养学生的创新精神和创新思维)2', + key: 'behaviorCreate2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(以身作则,信守承诺)1', + key: 'behaviorCommit', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请评价您周围同事的以下行为(以身作则,信守承诺)2', + key: 'behaviorCommit2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(以讲授为主融入课程内容)1', + key: 'rrfsCourse', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(在学生参与讨论、展示等课堂互动环节中融入)2', + key: 'rrfsDiscuss', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(融入课堂作业、论文中)1', + key: 'rrfsWork', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(融入实验、实训中)2', + key: 'rrfsIntern', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(其他)1', + key: 'rrfsQt', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您将中国特色社会主义核心价值观、做人做事的基本道理、爱国主义与理想信念、国情与社会时政热点等融入课堂教学的方式是(并未涉及题目所述内容)2', + key: 'rrfsNo', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(目标明确,熟悉教材,了解学生,教学认知能力强)1', + key: 'skillKnow', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(目标明确,熟悉教材,了解学生,教学认知能力强)2', + key: 'skillKnow2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(教学组织合理,教学方法得当,教学设计能力强)1', + key: 'skillDesign', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(教学组织合理,教学方法得当,教学设计能力强)2', + key: 'skillDesign2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(灵活变通教学思路,机智应对突发状况,教学调控能力强)1', + key: 'skillCtrl', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(灵活变通教学思路,机智应对突发状况,教学调控能力强)2', + key: 'skillCtrl2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(坚持产出导向,定量定性相结合,综合知识、能力与素质,注重过程性评价,教学评价能力强)1', + key: 'skillAssess', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(坚持产出导向,定量定性相结合,综合知识、能力与素质,注重过程性评价,教学评价能力强)2', + key: 'skillAssess2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(积极将现代信息技术与教育教学深度融合,运用教学媒介能力强)1', + key: 'skillTech', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '请根据您自身的实际情况评价在以下方面的相符程度(积极将现代信息技术与教育教学深度融合,运用教学媒介能力强)2', + key: 'skillTech2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我清楚自己的岗位职责和要求)1', + key: 'dedicationStandard', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我清楚自己的岗位职责和要求)2', + key: 'dedicationStandard2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我周围的教授同事们都为本科生上课)1', + key: 'dedicationHigh', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我周围的教授同事们都为本科生上课)2', + key: 'dedicationHigh2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我和同事们都很乐意开展教学研究和改革)1', + key: 'dedicationDevelop', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '您是否同意以下描述(我和同事们都很乐意开展教学研究和改革)2', + key: 'dedicationDevelop2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationResearch', + key: 'dedicationResearch', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationResearch2', + key: 'dedicationResearch2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationApply', + key: 'dedicationApply', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationApply2', + key: 'dedicationApply2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationDistribution', + key: 'dedicationDistribution', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'dedicationDistribution2', + key: 'dedicationDistribution2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendTeach', + key: 'spendTeach', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendPrepare', + key: 'spendPrepare', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendResearch', + key: 'spendResearch', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendCoach', + key: 'spendCoach', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendMeeting', + key: 'spendMeeting', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'spendParttime', + key: 'spendParttime', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcGgts', + key: 'jskcGgts', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcDnj', + key: 'jskcDnj', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcGnj', + key: 'jskcGnj', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcZyxxk', + key: 'jskcZyxxk', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcYjs', + key: 'jskcYjs', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'jskcNo', + key: 'jskcNo', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykSkill', + key: 'zykSkill', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykSkill2', + key: 'zykSkill2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykProblem', + key: 'zykProblem', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykProblem2', + key: 'zykProblem2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykCross', + key: 'zykCross', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykCross2', + key: 'zykCross2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykIntern', + key: 'zykIntern', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykIntern2', + key: 'zykIntern2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykEffort', + key: 'zykEffort', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykEffort2', + key: 'zykEffort2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykNew', + key: 'zykNew', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'zykNew2', + key: 'zykNew2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'checkKc', + key: 'checkKc', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianPyfa', + key: 'linianPyfa', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianPymb', + key: 'linianPymb', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianByyq', + key: 'linianByyq', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianXszx', + key: 'linianXszx', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianNo', + key: 'linianNo', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'linianZjgj', + key: 'linianZjgj', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeTlsg', + key: 'exchangeTlsg', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeZdkc', + key: 'exchangeZdkc', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeZdlw', + key: 'exchangeZdlw', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeZdxm', + key: 'exchangeZdxm', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeZygh', + key: 'exchangeZygh', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeXljk', + key: 'exchangeXljk', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'exchangeNo', + key: 'exchangeNo', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'preClassPreview', + key: 'preClassPreview', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'preClassPreview2', + key: 'preClassPreview2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'inClassQuestions', + key: 'inClassQuestions', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'inClassQuestions2', + key: 'inClassQuestions2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'afterClassSummary', + key: 'afterClassSummary', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'afterClassSummary2', + key: 'afterClassSummary2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'afterClassRead', + key: 'afterClassRead', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'afterClassRead2', + key: 'afterClassRead2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainSystem', + key: 'trainSystem', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainSystem2', + key: 'trainSystem2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainTeach', + key: 'trainTeach', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainTeach2', + key: 'trainTeach2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainDevelop', + key: 'trainDevelop', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainDevelop2', + key: 'trainDevelop2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainGlobal', + key: 'trainGlobal', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'trainGlobal2', + key: 'trainGlobal2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingIndex', + key: 'teachingIndex', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingIndex2', + key: 'teachingIndex2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingEffect', + key: 'teachingEffect', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingEffect2', + key: 'teachingEffect2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingSupervise', + key: 'teachingSupervise', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingSupervise2', + key: 'teachingSupervise2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingAwards', + key: 'teachingAwards', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingAwards2', + key: 'teachingAwards2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingStudent', + key: 'teachingStudent', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingStudent2', + key: 'teachingStudent2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingResult', + key: 'teachingResult', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'teachingResult2', + key: 'teachingResult2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'checkJp', + key: 'checkJp', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiRoom', + key: 'satiRoom', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiRoom2', + key: 'satiRoom2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiResourse', + key: 'satiResourse', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiResourse2', + key: 'satiResourse2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiLibrary', + key: 'satiLibrary', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiLibrary2', + key: 'satiLibrary2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiNet', + key: 'satiNet', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiNet2', + key: 'satiNet2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiSport', + key: 'satiSport', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'satiSport2', + key: 'satiSport2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'collsati', + key: 'collsati', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: 'collsati2', + key: 'collsati2', + type: JVxeTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + ] diff --git a/src/views/bl/blTeacherMain/BlTeacherMainList.vue b/src/views/bl/blTeacherMain/BlTeacherMainList.vue new file mode 100644 index 0000000..f950d33 --- /dev/null +++ b/src/views/bl/blTeacherMain/BlTeacherMainList.vue @@ -0,0 +1,274 @@ + + + + \ No newline at end of file diff --git a/src/views/bl/blTeacherMain/components/BlTeacherMainForm.vue b/src/views/bl/blTeacherMain/components/BlTeacherMainForm.vue new file mode 100644 index 0000000..947314a --- /dev/null +++ b/src/views/bl/blTeacherMain/components/BlTeacherMainForm.vue @@ -0,0 +1,172 @@ + + + \ No newline at end of file diff --git a/src/views/bl/blTeacherMain/components/BlTeacherMainModal.vue b/src/views/bl/blTeacherMain/components/BlTeacherMainModal.vue new file mode 100644 index 0000000..4e9d5cb --- /dev/null +++ b/src/views/bl/blTeacherMain/components/BlTeacherMainModal.vue @@ -0,0 +1,68 @@ + + + + \ No newline at end of file diff --git a/src/views/kc/wjxCswj/WjxWjxxTjfxForm.vue b/src/views/kc/wjxCswj/WjxWjxxTjfxForm.vue new file mode 100644 index 0000000..7f83d7b --- /dev/null +++ b/src/views/kc/wjxCswj/WjxWjxxTjfxForm.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/src/views/kc/wjxCswj/WjxWjxxTjfxModal.vue b/src/views/kc/wjxCswj/WjxWjxxTjfxModal.vue new file mode 100644 index 0000000..23a1c25 --- /dev/null +++ b/src/views/kc/wjxCswj/WjxWjxxTjfxModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgForm.vue b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgForm.vue index abad4b9..44679f9 100644 --- a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgForm.vue +++ b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgForm.vue @@ -108,7 +108,7 @@ function edit(id){ tiganData.value = []; mainId.value = id; defHttp.get({url:'/wjxDjxx/queryByMainId',params:{id:id}}).then(res =>{ - // console.log(`🚀 ~ defHttp.get ~ res:`, res) + console.log(`🚀 ~ defHttp.get ~ res:`, res) let djxx = res; let list = djxx.wjxDjxxTmxxList; for(let i=0;i defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/jxnr/ZyJxdg.data.ts b/src/views/zy/sysZy/jxnr/ZyJxdg.data.ts new file mode 100644 index 0000000..a2a480f --- /dev/null +++ b/src/views/zy/sysZy/jxnr/ZyJxdg.data.ts @@ -0,0 +1,93 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '开课单位', + align: 'center', + dataIndex: 'kkdw', + }, + { + title: '课程编号', + align: 'center', + dataIndex: 'kcbh', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '开课任务编号', + align: 'center', + dataIndex: 'rwbh', + }, + { + title: '上课时间', + align: 'center', + dataIndex: 'sksj', + }, + { + title: '上课地点', + align: 'center', + dataIndex: 'skdd', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '选课学生', + align: 'center', + dataIndex: 'xkrs', + }, + { + title: '教学大纲', + align: "center", + dataIndex: 'filePath', + slots: { customRender: 'fileSlot' }, + width: '300' + }, + { + title: '课程简介', + align: 'center', + dataIndex: 'kcjs', + }, + { + title: '教学日历', + align: "center", + dataIndex: 'jxrlFilePath', + slots: { customRender: 'fileSlot2' }, + width: '300' + }, +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/jxnr/ZyJxdgList.vue b/src/views/zy/sysZy/jxnr/ZyJxdgList.vue new file mode 100644 index 0000000..123a1e7 --- /dev/null +++ b/src/views/zy/sysZy/jxnr/ZyJxdgList.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/views/zy/sysZy/jxnr/components/ZyJxdgForm.vue b/src/views/zy/sysZy/jxnr/components/ZyJxdgForm.vue new file mode 100644 index 0000000..fe0b196 --- /dev/null +++ b/src/views/zy/sysZy/jxnr/components/ZyJxdgForm.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/src/views/zy/sysZy/jxnr/components/ZyJxdgModal.vue b/src/views/zy/sysZy/jxnr/components/ZyJxdgModal.vue new file mode 100644 index 0000000..e2638a5 --- /dev/null +++ b/src/views/zy/sysZy/jxnr/components/ZyJxdgModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/views/zy/sysZy/kccygl/Kccygl.api.ts b/src/views/zy/sysZy/kccygl/Kccygl.api.ts new file mode 100644 index 0000000..aeeeff0 --- /dev/null +++ b/src/views/zy/sysZy/kccygl/Kccygl.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/wjxWjxx/wjxWjxx/sysList', + save='/wjxWjxx/wjxWjxx/sysUpdateJxnr', + edit='/wjxWjxx/wjxWjxx/sysUpdateJxnr', + deleteOne = '/wjxWjxx/wjxWjxx/delete', + deleteBatch = '/wjxWjxx/wjxWjxx/deleteBatch', + importExcel = '/wjxWjxx/wjxWjxx/importExcel', + exportXls = '/wjxWjxx/wjxWjxx/exportSysXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/kccygl/Kccygl.data.ts b/src/views/zy/sysZy/kccygl/Kccygl.data.ts new file mode 100644 index 0000000..15a6eff --- /dev/null +++ b/src/views/zy/sysZy/kccygl/Kccygl.data.ts @@ -0,0 +1,91 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '开课单位', + align: 'center', + dataIndex: 'kkdw', + }, + { + title: '课程编号', + align: 'center', + dataIndex: 'kcbh', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '开课任务编号', + align: 'center', + dataIndex: 'rwbh', + }, + { + title: '上课时间', + align: 'center', + dataIndex: 'sksj', + }, + { + title: '上课地点', + align: 'center', + dataIndex: 'skdd', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '选课学生', + align: 'center', + dataIndex: 'xkrs', + }, + { + title: '作业数量', + align: "center", + dataIndex: 'num', + }, + // { + // title: '课程简介', + // align: 'center', + // dataIndex: 'kcjs', + // }, + // { + // title: '教学日历', + // align: "center", + // dataIndex: 'jxrlFilePath', + // slots: { customRender: 'fileSlot2' }, + // width: '300' + // }, +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/kccygl/KccyglList.vue b/src/views/zy/sysZy/kccygl/KccyglList.vue new file mode 100644 index 0000000..cf07e5d --- /dev/null +++ b/src/views/zy/sysZy/kccygl/KccyglList.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/views/zy/sysZy/kccygl/components/KccyglForm.vue b/src/views/zy/sysZy/kccygl/components/KccyglForm.vue new file mode 100644 index 0000000..04c49d1 --- /dev/null +++ b/src/views/zy/sysZy/kccygl/components/KccyglForm.vue @@ -0,0 +1,306 @@ + + + + + diff --git a/src/views/zy/sysZy/kccygl/components/KccyglModal.vue b/src/views/zy/sysZy/kccygl/components/KccyglModal.vue new file mode 100644 index 0000000..4f30e04 --- /dev/null +++ b/src/views/zy/sysZy/kccygl/components/KccyglModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/views/zy/sysZy/kczygl/Kczygl.api.ts b/src/views/zy/sysZy/kczygl/Kczygl.api.ts new file mode 100644 index 0000000..725a7e5 --- /dev/null +++ b/src/views/zy/sysZy/kczygl/Kczygl.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/zyInfo/zyInfo/sysList', + save='/zyInfo/zyInfo/sysUpdateJxnr', + edit='/zyInfo/zyInfo/sysUpdateJxnr', + deleteOne = '/zyInfo/zyInfo/delete', + deleteBatch = '/zyInfo/zyInfo/deleteBatch', + importExcel = '/zyInfo/zyInfo/importExcel', + exportXls = '/zyInfo/zyInfo/exportSysXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/kczygl/Kczygl.data.ts b/src/views/zy/sysZy/kczygl/Kczygl.data.ts new file mode 100644 index 0000000..15a6eff --- /dev/null +++ b/src/views/zy/sysZy/kczygl/Kczygl.data.ts @@ -0,0 +1,91 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '开课单位', + align: 'center', + dataIndex: 'kkdw', + }, + { + title: '课程编号', + align: 'center', + dataIndex: 'kcbh', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '开课任务编号', + align: 'center', + dataIndex: 'rwbh', + }, + { + title: '上课时间', + align: 'center', + dataIndex: 'sksj', + }, + { + title: '上课地点', + align: 'center', + dataIndex: 'skdd', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '选课学生', + align: 'center', + dataIndex: 'xkrs', + }, + { + title: '作业数量', + align: "center", + dataIndex: 'num', + }, + // { + // title: '课程简介', + // align: 'center', + // dataIndex: 'kcjs', + // }, + // { + // title: '教学日历', + // align: "center", + // dataIndex: 'jxrlFilePath', + // slots: { customRender: 'fileSlot2' }, + // width: '300' + // }, +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/kczygl/KczyglList.vue b/src/views/zy/sysZy/kczygl/KczyglList.vue new file mode 100644 index 0000000..49e6613 --- /dev/null +++ b/src/views/zy/sysZy/kczygl/KczyglList.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/views/zy/sysZy/kczygl/components/KczyglForm.vue b/src/views/zy/sysZy/kczygl/components/KczyglForm.vue new file mode 100644 index 0000000..b4a2a0a --- /dev/null +++ b/src/views/zy/sysZy/kczygl/components/KczyglForm.vue @@ -0,0 +1,248 @@ + + + + + diff --git a/src/views/zy/sysZy/kczygl/components/KczyglModal.vue b/src/views/zy/sysZy/kczygl/components/KczyglModal.vue new file mode 100644 index 0000000..963b08c --- /dev/null +++ b/src/views/zy/sysZy/kczygl/components/KczyglModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/views/zy/sysZy/studentcygl/Studentcygl.api.ts b/src/views/zy/sysZy/studentcygl/Studentcygl.api.ts new file mode 100644 index 0000000..bada8be --- /dev/null +++ b/src/views/zy/sysZy/studentcygl/Studentcygl.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/wjxDjxx/sysList', + save='/wjxDjxx/sysUpdateJxnr', + edit='/wjxDjxx/sysUpdateJxnr', + deleteOne = '/wjxDjxx/delete', + deleteBatch = '/wjxDjxx/deleteBatch', + importExcel = '/wjxDjxx/importExcel', + exportXls = '/wjxDjxx/exportSysXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/studentcygl/Studentcygl.data.ts b/src/views/zy/sysZy/studentcygl/Studentcygl.data.ts new file mode 100644 index 0000000..b9674b2 --- /dev/null +++ b/src/views/zy/sysZy/studentcygl/Studentcygl.data.ts @@ -0,0 +1,75 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '作业名称', + align: 'center', + dataIndex: 'title', + }, + { + title: '学生姓名', + align: 'center', + dataIndex: 'stuName', + }, + { + title: '学号', + align: 'center', + dataIndex: 'stuNo', + }, + { + title: '测验状态', + align: 'center', + dataIndex: 'status', + }, + { + title: '测验时间', + align: 'center', + dataIndex: 'createTime', + }, + { + title: '测验结果', + align: "center", + dataIndex: 'score', + }, + +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/studentcygl/StudentcyglList.vue b/src/views/zy/sysZy/studentcygl/StudentcyglList.vue new file mode 100644 index 0000000..c7ba631 --- /dev/null +++ b/src/views/zy/sysZy/studentcygl/StudentcyglList.vue @@ -0,0 +1,277 @@ + + + + + diff --git a/src/views/zy/sysZy/studentzygl/Studentzygl.api.ts b/src/views/zy/sysZy/studentzygl/Studentzygl.api.ts new file mode 100644 index 0000000..056459a --- /dev/null +++ b/src/views/zy/sysZy/studentzygl/Studentzygl.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/zyInfoStudent/zyInfoStudent/sysList', + save='/zyInfoStudent/zyInfoStudent/sysUpdateJxnr', + edit='/zyInfoStudent/zyInfoStudent/sysUpdateJxnr', + deleteOne = '/zyInfoStudent/zyInfoStudent/delete', + deleteBatch = '/zyInfoStudent/zyInfoStudent/deleteBatch', + importExcel = '/zyInfoStudent/zyInfoStudent/importExcel', + exportXls = '/zyInfoStudent/zyInfoStudent/exportSysXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/studentzygl/Studentzygl.data.ts b/src/views/zy/sysZy/studentzygl/Studentzygl.data.ts new file mode 100644 index 0000000..22cc45c --- /dev/null +++ b/src/views/zy/sysZy/studentzygl/Studentzygl.data.ts @@ -0,0 +1,103 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xnxq', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '作业名称', + align: 'center', + dataIndex: 'title', + }, + { + title: '学生姓名', + align: 'center', + dataIndex: 'stuName', + }, + { + title: '学号', + align: 'center', + dataIndex: 'stuNo', + }, + { + title: '作业状态', + align: 'center', + dataIndex: 'status', + }, + { + title: '网络是否通过', + align: 'center', + dataIndex: 'wwsftg', + slots: { customRender: 'wwsftgaction' }, + }, + { + title: '作业是否通过', + align: 'center', + dataIndex: 'nwsftg', + slots: { customRender: 'nwsftgaction' }, + }, + { + title: 'aigc是否通过', + align: "center", + dataIndex: 'aigcsftg', + slots: { customRender: 'aigcsftgaction' }, + }, + { + title: '校内是否通过', + align: "center", + dataIndex: 'xnsftg', + slots: { customRender: 'xnsftgaction' }, + }, + { + title: '成绩', + align: "center", + dataIndex: 'score', + }, + { + title: '作业', + align: "center", + dataIndex: 'filePath', + slots: { customRender: 'fileSlot' }, + width: '300' + }, + + + +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/studentzygl/StudentzyglList.vue b/src/views/zy/sysZy/studentzygl/StudentzyglList.vue new file mode 100644 index 0000000..8a910b4 --- /dev/null +++ b/src/views/zy/sysZy/studentzygl/StudentzyglList.vue @@ -0,0 +1,319 @@ + + + + + diff --git a/src/views/zy/sysZy/tlqSys/TlqSys.api.ts b/src/views/zy/sysZy/tlqSys/TlqSys.api.ts new file mode 100644 index 0000000..68dcba1 --- /dev/null +++ b/src/views/zy/sysZy/tlqSys/TlqSys.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/zyTlq/zyTlq/sysList', + save='/zyTlq/zyTlq/sysUpdateJxnr', + edit='/zyTlq/zyTlq/sysUpdateJxnr', + deleteOne = '/zyTlq/zyTlq/delete', + deleteBatch = '/zyTlq/zyTlq/deleteBatch', + importExcel = '/zyTlq/zyTlq/importExcel', + exportXls = '/zyTlq/zyTlq/exportSysXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/zy/sysZy/tlqSys/TlqSys.data.ts b/src/views/zy/sysZy/tlqSys/TlqSys.data.ts new file mode 100644 index 0000000..a3bab50 --- /dev/null +++ b/src/views/zy/sysZy/tlqSys/TlqSys.data.ts @@ -0,0 +1,69 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '学期学年', + align: 'center', + dataIndex: 'xqxn', + }, + { + title: '课程名称', + align: 'center', + dataIndex: 'kcmc', + }, + { + title: '授课教师', + align: 'center', + dataIndex: 'skjs', + }, + { + title: '学生姓名', + align: 'center', + dataIndex: 'stuName', + }, + { + title: '学号', + align: 'center', + dataIndex: 'stuNo', + }, + { + title: '发言主题', + align: 'center', + dataIndex: 'title', + }, + { + title: '发言内容', + align: "center", + dataIndex: 'content', + slots: { customRender: 'fileSlot' }, + width: '300' + }, + + + +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '附件', + field: 'filePath', + component: 'JUpload', + componentProps:{ + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/zy/sysZy/tlqSys/TlqSysList.vue b/src/views/zy/sysZy/tlqSys/TlqSysList.vue new file mode 100644 index 0000000..920e553 --- /dev/null +++ b/src/views/zy/sysZy/tlqSys/TlqSysList.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/src/views/zy/sysZy/tlqSys/compnents/TlqSysForm.vue b/src/views/zy/sysZy/tlqSys/compnents/TlqSysForm.vue new file mode 100644 index 0000000..b86975d --- /dev/null +++ b/src/views/zy/sysZy/tlqSys/compnents/TlqSysForm.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/views/zy/sysZy/tlqSys/compnents/TlqSysModal.vue b/src/views/zy/sysZy/tlqSys/compnents/TlqSysModal.vue new file mode 100644 index 0000000..ab5c887 --- /dev/null +++ b/src/views/zy/sysZy/tlqSys/compnents/TlqSysModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/views/zy/zyInfo/ZyInfoList.vue b/src/views/zy/zyInfo/ZyInfoList.vue index fd3c0b6..86f1de0 100644 --- a/src/views/zy/zyInfo/ZyInfoList.vue +++ b/src/views/zy/zyInfo/ZyInfoList.vue @@ -160,7 +160,6 @@ import dayjs from 'dayjs'; function handleZyxx(record){ ZyInfoStudentListModalPage.value.disableSubmit = true; ZyInfoStudentListModalPage.value.init(record); - } //上传作业附件