上传作品

main
王家东 12 months ago
parent 1348c4d921
commit 3b9f5ea579
  1. 4
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java
  2. 2
      jeecgboot-vue3-master/src/views/UpfilePersion/UpfilePersionList.vue
  3. 8
      jeecgboot-vue3-master/src/views/annualCompPoint/student/AnnualCompPointList.vue

@ -210,7 +210,7 @@ public class TopicController extends JeecgController<Topic, ITopicService> {
@PostMapping(value = "/select")
public Result<String> select(@RequestBody Topic topic) {
QueryWrapper<Topic> queryWrapper= new QueryWrapper<>();
queryWrapper.eq("number",topic.getNumber());
queryWrapper.eq("annual_compid",topic.getAnnualCompid()).eq("number",topic.getNumber());
List<Topic> list = topicService.list(queryWrapper);
if (!list.isEmpty()){
return Result.error("编码重复");
@ -236,7 +236,7 @@ public class TopicController extends JeecgController<Topic, ITopicService> {
}
}
QueryWrapper<Topic> queryWrapper= new QueryWrapper<>();
queryWrapper.eq("number",topic.getNumber());
queryWrapper.eq("annual_compid",topic.getAnnualCompid()).eq("number",topic.getNumber());
List<Topic> list = topicService.list(queryWrapper);
if (!list.isEmpty()){
return Result.error("编码重复");

@ -174,7 +174,7 @@
(async (router) => {
isCommittee.value = await judgeRoles({ roles: 'committee' });
isSuperAdmin.value = await judgeRoles({ roles: 'superAdmin' });
isStu.value = await judgeRoles({ roles: 'user' });
isStu.value = await judgeRoles({ roles: 'xs' });
isReg.value = await judgeReg({ annualCompPointId: route.query.annualCompPointId });
//
if (isStu.value && !isReg.value) {

@ -228,18 +228,18 @@
// onClick: handleSubmitandApply.bind(null, record),
// });
// }
if (record.requireUploadWorks === 'Y') {
/* if (record.requireUploadWorks === 'Y') {
actions.unshift({
label: '作品管理',
onClick: workManage.bind(null, record),
});
}
if (record.requireTopic === 'Y' && record.annualCompState === '2') {
}*/
/*if (record.requireTopic === 'Y' && record.annualCompState === '2') {
actions.unshift({
label: '选题',
onClick: handleSubmitandApply.bind(null, record),
});
}
}*/
return actions;
}

Loading…
Cancel
Save