diff --git a/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 40fb3e64..2cd56b12 100644 --- a/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/jeecg-boot-master/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -98,6 +98,7 @@ public class ShiroConfig { filterChainDefinitionMap.put("/sys/getLoginQrcode/**", "anon"); //登录二维码 filterChainDefinitionMap.put("/sys/getQrcodeToken/**", "anon"); //监听扫码 filterChainDefinitionMap.put("/sys/checkAuth", "anon"); //授权接口排除 + filterChainDefinitionMap.put("/cms/front/**", "anon"); //cms不拦截 //CMS门户 filterChainDefinitionMap.put("/cms/front/**","anon"); diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java index 8a9abd1a..4d303d99 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java @@ -16,8 +16,10 @@ import org.jeecg.common.system.query.QueryGenerator; import org.jeecg.common.system.vo.LoginUser; import org.jeecg.modules.demo.cms.entity.CmsArticle; import org.jeecg.modules.demo.cms.entity.CmsColumn; +import org.jeecg.modules.demo.cms.entity.Subweside; import org.jeecg.modules.demo.cms.service.ICmsArticleService; import org.jeecg.modules.demo.cms.service.ICmsColumnService; +import org.jeecg.modules.demo.cms.service.ISubwesideService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.ObjectUtils; import org.springframework.web.bind.annotation.*; @@ -27,6 +29,8 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.Arrays; import java.util.Date; +import java.util.List; +import java.util.stream.Collectors; /** * @Description: 文章 @@ -44,6 +48,9 @@ public class CmsArticleController extends JeecgController subwesideQueryWrapper = new QueryWrapper<>(); + subwesideQueryWrapper.in("compadminid", principal.getId()); + List subwesideList = subwesideService.list(subwesideQueryWrapper); + if (!subwesideList.isEmpty()) { + List subnames = subwesideList.stream() + .map(Subweside::getSubname) // 将每个Subweside对象映射到其subname字段 + .collect(Collectors.toList()); // 收集结果到List + String joinedString = String.join(", ", subnames); + cmsArticle.setSource("来自子站:"+joinedString); + }else { + cmsArticle.setSource(""); + } cmsArticleService.save(cmsArticle); return Result.OK("添加成功!"); } @@ -111,10 +130,23 @@ public class CmsArticleController extends JeecgController edit(@RequestBody CmsArticle cmsArticle) { + LoginUser principal = (LoginUser) SecurityUtils.getSubject().getPrincipal(); CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId()); if (!ObjectUtils.isEmpty(cmsColumn)) { cmsArticle.setColumnName(cmsColumn.getName()); } + QueryWrapper subwesideQueryWrapper = new QueryWrapper<>(); + subwesideQueryWrapper.in("compadminid", principal.getId()); + List subwesideList = subwesideService.list(subwesideQueryWrapper); + if (!subwesideList.isEmpty()) { + List subnames = subwesideList.stream() + .map(Subweside::getSubname) // 将每个Subweside对象映射到其subname字段 + .collect(Collectors.toList()); // 收集结果到List + String joinedString = String.join(", ", subnames); + cmsArticle.setSource("来自子站:"+joinedString); + }else { + cmsArticle.setSource(""); + } cmsArticleService.updateById(cmsArticle); return Result.OK("编辑成功!"); } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsHomePageController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsHomePageController.java index 31160907..1f11b627 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsHomePageController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsHomePageController.java @@ -63,8 +63,57 @@ public class CmsHomePageController /*extends JeecgController getByArticleTitle(CmsArticle cmsArticle, HttpServletRequest req) { List list = cmsArticleService.list(new LambdaQueryWrapper() .eq(CmsArticle::getStatus, "1") - .eq(CmsArticle::getTitle, cmsArticle.getTitle()) + .eq(CmsArticle::getId, cmsArticle.getId()) .orderByDesc(CmsArticle::getPublishTime)); return Result.OK(list); } + + + @ApiOperation(value = "用于首页的新闻资讯", notes = "新闻资讯") + @GetMapping(value = "/getindexnew") + public Result getindexnew(CmsArticle cmsArticle, + @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(cmsArticle, req.getParameterMap()); + queryWrapper.eq("status", "1"); + queryWrapper.eq("column_id", "1717099205205401602"); + queryWrapper.last("order by publish_time desc"); + Page page = new Page(pageNo, pageSize); + IPage pageList = cmsArticleService.page(page, queryWrapper); + return Result.OK(pageList); + } + + @ApiOperation(value = "用于首页的竞赛导航", notes = "竞赛导航") + @GetMapping(value = "/getindexcomp") + public Result getindexcomp(CmsArticle cmsArticle, + @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(cmsArticle, req.getParameterMap()); + queryWrapper.eq("status", "1"); + queryWrapper.eq("column_id", "1712301393339650049"); + queryWrapper.last("order by publish_time desc"); + Page page = new Page(pageNo, pageSize); + IPage pageList = cmsArticleService.page(page, queryWrapper); + return Result.OK(pageList); + } + + + @ApiOperation(value = "用于首页的研究成果", notes = "研究成果") + @GetMapping(value = "/getindexaward") + public Result getindexaward(CmsArticle cmsArticle, + @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(cmsArticle, req.getParameterMap()); + queryWrapper.eq("status", "1"); + queryWrapper.eq("column_id", "1717099355382456322"); + queryWrapper.last("order by publish_time desc"); + Page page = new Page(pageNo, pageSize); + IPage pageList = cmsArticleService.page(page, queryWrapper); + return Result.OK(pageList); + } + + } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/entity/CmsArticle.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/entity/CmsArticle.java index 80877bee..916f0a09 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/entity/CmsArticle.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/entity/CmsArticle.java @@ -110,4 +110,23 @@ public class CmsArticle implements Serializable { @Excel(name = "源url", width = 15) @ApiModelProperty(value = "源url") private String originUrl; + + /**文章图片*/ + @Excel(name = "文章图片", width = 15) + @ApiModelProperty(value = "文章图片") + private java.lang.String comimg; + /**文章文件*/ + @Excel(name = "文章文件", width = 15) + @ApiModelProperty(value = "文章文件") + private java.lang.String comfile; + /**文章来源*/ + @Excel(name = "文章来源", width = 15, dictTable = "subweside", dicText = "subname", dicCode = "id") + @Dict(dictTable = "subweside", dicText = "subname", dicCode = "id") + @ApiModelProperty(value = "文章来源") + private java.lang.String artfrom; + + /**简介*/ + @Excel(name = "简介", width = 15) + @ApiModelProperty(value = "简介") + private java.lang.String info; } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/scoresta/controller/ScoreStaController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/scoresta/controller/ScoreStaController.java index 0534484d..b276a960 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/scoresta/controller/ScoreStaController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/scoresta/controller/ScoreStaController.java @@ -126,6 +126,36 @@ public class ScoreStaController extends JeecgController addScoreSta(@RequestParam(name="topicid",required=true) String topicid,@RequestParam(name="acpid",required=true) String acpid,HttpServletRequest req) { + ScoreSta scoreSta = new ScoreSta(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(scoreSta, req.getParameterMap()); + queryWrapper.eq("annual_compid",acpid); + queryWrapper.eq("topicid",topicid); + List list = scoreStaService.list(queryWrapper); + if(list.size()==0){ + AnnualCompPoint annualCompPoint = annualCompPointService.getById(acpid); + AnnualComp annualComp = annualCompService.getById(annualCompPoint.getAnnualCompId()); + scoreSta.setAnnualId(annualComp.getAnnualid()); + scoreSta.setAnnalComp(annualComp.getId()); + scoreSta.setAnnualCompid(acpid); + scoreSta.setTopicid(topicid); + scoreStaService.save(scoreSta); + return Result.OK(scoreSta.getId()); + }else{ + return Result.OK(list.get(0).getId()); + } + + } + /** * 编辑 * diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java index 749523b7..e2e7136c 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java @@ -233,6 +233,35 @@ public class TopicController extends JeecgController { return Result.OK(list); } + @ApiOperation(value = "题目评分标准", notes = "题目评分标准-分页列表查询") + @GetMapping(value = "/list5") + public Result> list5(@RequestParam(name="acpid",required=true) String acpid,Topic topic, + @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, + @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, + HttpServletRequest req) { +/* LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + String orgCode = user.getOrgCode(); + topic.setSysOrgCode(orgCode);*/ + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(topic, req.getParameterMap()); + queryWrapper.eq("annual_compid",acpid); + Page page = new Page(pageNo, pageSize); + IPage pageList = topicService.page(page, queryWrapper); + if(pageList.getRecords().size()==0){ + Topic topic1 = new Topic(); + topic1.setAnnualCompid(acpid); + AnnualCompPoint annualCompPoint = annualCompPointService.getById(acpid); + topic1.setNumber("ZC"); + topic1.setName(annualCompPoint.getObjName()); + topic1.setStatus(2); + topic1.setIsopen("Y"); + topicService.save(topic1); + IPage pageList1 = topicService.page(page, queryWrapper); + return Result.OK(pageList1); + }else { + return Result.OK(pageList); + } + } + @PostMapping(value = "/select") public Result select(@RequestBody Topic topic) { QueryWrapper queryWrapper= new QueryWrapper<>(); diff --git a/jeecgboot-vue3-master/src/assets/images/mainHome/2641675928551_3.png b/jeecgboot-vue3-master/src/assets/images/mainHome/2641675928551_3.png index 17bc9d1c..36916ec2 100644 Binary files a/jeecgboot-vue3-master/src/assets/images/mainHome/2641675928551_3.png and b/jeecgboot-vue3-master/src/assets/images/mainHome/2641675928551_3.png differ diff --git a/jeecgboot-vue3-master/src/assets/images/mainHome/div.png b/jeecgboot-vue3-master/src/assets/images/mainHome/div.png index 26b82341..209cfcde 100644 Binary files a/jeecgboot-vue3-master/src/assets/images/mainHome/div.png and b/jeecgboot-vue3-master/src/assets/images/mainHome/div.png differ diff --git a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue index a1ab7c67..94b75e36 100644 --- a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue +++ b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue @@ -199,6 +199,15 @@ query: {annualCompPointId: record.id} }); } + /** + * 评分标准 + */ + function pfbz(record: Recordable) { + router.push({ + path: '/topic/topic/list5', + query: {acpid: record.id} + }); + } /** * 个人积分汇总 @@ -365,6 +374,10 @@ label: '作品管理', onClick: workManage.bind(null, record), }); + actions.unshift({ + label: '评分标准', + onClick: pfbz.bind(null, record), + }); // if (record.requireUploadWorks === 'Y' && record.annualCompState === "2") { // actions.unshift({ // label: '上传作品', diff --git a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.data.ts b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.data.ts index 6d891f67..a46c030b 100644 --- a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.data.ts +++ b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.data.ts @@ -123,6 +123,36 @@ export const formSchema: FormSchema[] = [ field: 'originUrl', component: 'Input', }, + + { + label: '文章图片', + field: 'comimg', + component: 'JImageUpload', + componentProps:{ + }, + }, + { + label: '文章文件', + field: 'comfile', + component: 'JUpload', + componentProps:{ + }, + }, + + { + label: '简介', + field: 'info', + component: 'InputTextArea', + }, +/* { + label: '文章来源', + field: 'artfrom', + component: 'JSearchSelect', + componentProps:{ + dict: "subweside,subname,id" + }, + },*/ + // TODO 主键隐藏字段,目前写死为ID { label: '', diff --git a/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.api.ts b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.api.ts new file mode 100644 index 00000000..0d6074ee --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/subweside/subweside/list', + save='/subweside/subweside/add', + edit='/subweside/subweside/edit', + deleteOne = '/subweside/subweside/delete', + deleteBatch = '/subweside/subweside/deleteBatch', + importExcel = '/subweside/subweside/importExcel', + exportXls = '/subweside/subweside/exportXls', +} + +/** + * 导出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/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.data.ts b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.data.ts new file mode 100644 index 00000000..212c2f8b --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside.data.ts @@ -0,0 +1,118 @@ +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: 'subname' + }, + { + title: '所属比赛', + align: "center", + dataIndex: 'comp' + }, +/* { + title: '比赛管理员', + align: "center", + dataIndex: 'compadmin' + },*/ + { + title: '比赛管理员', + align: "center", + dataIndex: 'compadminid_dictText' + }, +/* { + title: '比赛负责部门', + align: "center", + dataIndex: 'compdep' + },*/ + { + title: '比赛负责部门', + align: "center", + dataIndex: 'compdepid_dictText' + }, +/* { + title: '所属比赛', + align: "center", + dataIndex: 'compid_dictText' + },*/ +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '名称', + field: 'subname', + component: 'Input', + }, + { + label: '所属比赛', + field: 'comp', + component: 'JPopup', + componentProps: ({ formActionType }) => { + const {setFieldsValue} = formActionType; + return{ + setFieldsValue:setFieldsValue, + code:"findsubwebside", + fieldConfig: [ + { source: 'uid', target: 'compadminid' }, + { source: 'realname', target: 'compadmin' }, + { source: 'did', target: 'compdepid' }, + { source: 'depart_name', target: 'compdep' }, + { source: 'comp_name', target: 'comp' }, + { source: 'id', target: 'compid' }, + ], + multi:true + } + }, + + }, +/* { + label: '比赛管理员', + field: 'compadmin', + component: 'Input', + },*/ + { + label: '比赛管理员', + field: 'compadminid', + component: 'JSearchSelect', + componentProps:{ + dict: "sys_user,realname,id" + }, + }, +/* { + label: '比赛负责部门', + field: 'compdep', + component: 'Input', + },*/ + { + label: '比赛负责部门', + field: 'compdepid', + component: 'JSearchSelect', + componentProps:{ + dict: "sys_depart,depart_name,id" + }, + }, + { + label: '所属比赛', + field: 'compid', + component: 'JSearchSelect', + componentProps:{ + dict: "comp,comp_name,id" + }, + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/jeecgboot-vue3-master/src/views/cms/admin/subweside/SubwesideList.vue b/jeecgboot-vue3-master/src/views/cms/admin/subweside/SubwesideList.vue new file mode 100644 index 00000000..5b7ec42c --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/SubwesideList.vue @@ -0,0 +1,226 @@ + + + + + diff --git a/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside_menu_insert.sql b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside_menu_insert.sql new file mode 100644 index 00000000..043ae106 --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/Subweside_menu_insert.sql @@ -0,0 +1,26 @@ +-- 注意:该页面对应的前台目录为views/subweside文件夹下 +-- 如果你想更改到其他目录,请修改sql中component字段对应的值 + + +INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external) +VALUES ('2024070804382940240', NULL, '子站管理', '/subweside/subwesideList', 'subweside/SubwesideList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 0, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0); + +-- 权限控制sql +-- 新增 +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940241', '2024070804382940240', '添加子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); +-- 编辑 +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940242', '2024070804382940240', '编辑子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); +-- 删除 +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940243', '2024070804382940240', '删除子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); +-- 批量删除 +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940244', '2024070804382940240', '批量删除子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); +-- 导出excel +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940245', '2024070804382940240', '导出excel_子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); +-- 导入excel +INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external) +VALUES ('2024070804382940246', '2024070804382940240', '导入excel_子站管理', NULL, NULL, 0, NULL, NULL, 2, 'subweside:subweside:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2024-07-08 16:38:24', NULL, NULL, 0, 0, '1', 0); \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideForm.vue b/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideForm.vue new file mode 100644 index 00000000..143226c5 --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideForm.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideModal.vue b/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideModal.vue new file mode 100644 index 00000000..058b62dc --- /dev/null +++ b/jeecgboot-vue3-master/src/views/cms/admin/subweside/components/SubwesideModal.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/jeecgboot-vue3-master/src/views/demo/main-home/components/homePage/index.vue b/jeecgboot-vue3-master/src/views/demo/main-home/components/homePage/index.vue index 5378f1a0..8ace4756 100644 --- a/jeecgboot-vue3-master/src/views/demo/main-home/components/homePage/index.vue +++ b/jeecgboot-vue3-master/src/views/demo/main-home/components/homePage/index.vue @@ -49,10 +49,10 @@ -
待定...
+
查看更多>> @@ -174,10 +174,10 @@ import { ref } from 'vue'; const navNews = [ { img: n.Frame, text: '全部' }, - { img: n.Frame1, text: '通知公告' }, +/* { img: n.Frame1, text: '通知公告' }, { img: n.Frame2, text: '赛事咨讯' }, { img: n.Frame3, text: '活动速递' }, - { img: n.Frame4, text: '政策文件' }, + { img: n.Frame4, text: '政策文件' },*/ ] const activeNavNew = ref(navNews[0]) @@ -460,4 +460,4 @@ const activeNavNew = ref(navNews[0]) box-shadow: 1px 3px 5px 0px #ccc; } } - \ No newline at end of file + diff --git a/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue b/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue index d8bd7dac..a2dbed21 100644 --- a/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue +++ b/jeecgboot-vue3-master/src/views/demo/main-home/components/matchEvaluation/components/MCh.vue @@ -6,7 +6,7 @@ 首页
成果展示
-
优秀毕业生
+ @@ -388,4 +388,4 @@ a { } } } - \ No newline at end of file + diff --git a/jeecgboot-vue3-master/src/views/demo/main-home/index.vue b/jeecgboot-vue3-master/src/views/demo/main-home/index.vue index 9137825c..6f247d10 100644 --- a/jeecgboot-vue3-master/src/views/demo/main-home/index.vue +++ b/jeecgboot-vue3-master/src/views/demo/main-home/index.vue @@ -4,7 +4,7 @@