JayChou 4 months ago
commit 2372a01c97
  1. 5
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expscore/controller/ExpScoreController.java
  2. 4
      jeecg-boot-master/jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml
  3. 2
      jeecgboot-vue3-master/src/api/demo/depart.ts
  4. 17
      jeecgboot-vue3-master/src/router/routes/index.ts
  5. 4
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPoint.data.ts
  6. 2
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue
  7. 2
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointForm.vue
  8. 2
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/individual.vue
  9. 8
      jeecgboot-vue3-master/src/views/topic/TopicList.vue

@ -9,8 +9,11 @@ import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.common.util.oConvertUtils;
import org.jeecg.modules.demo.anncomgrotop.entity.AnnComGroTop;
import org.jeecg.modules.demo.anncomgrotop.service.IAnnComGroTopService;
@ -155,11 +158,13 @@ public class ExpScoreController extends JeecgController<ExpScore, IExpScoreServi
}
}
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
QueryWrapper<ExpScore> queryWrapper = QueryGenerator.initQueryWrapper(expScore, req.getParameterMap());
queryWrapper.eq("annid",annComGroTop.getAnnid());
queryWrapper.eq("annal_comp",annualCompPointService.getById(annComGroTop.getAnnComP()).getAnnualCompId());
queryWrapper.eq("ann_com_p",annComGroTop.getAnnComP());
queryWrapper.eq("topid",annComGroTop.getTopid());
queryWrapper.eq("userid",sysUser.getId());
Page<ExpScore> page = new Page<ExpScore>(pageNo, pageSize);
IPage<ExpScore> pageList = expScoreService.page(page, queryWrapper);
for (int k = 0 ; k < pageList.getRecords().size();k++){

@ -133,9 +133,9 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:mysql://10.100.200.177:3306/hnjd_comp0728?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://182.92.169.222:3306/hnjd_comp0728?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: root
password: ycwl2022.
driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置 10.121.0.28
#multi-datasource1:

@ -5,9 +5,11 @@ enum Api {
PAGE_SCHOOL = '/user/login/homepage/school',
PAGE_DEPARTMENT = '/user/login/homepage/depart',
PAGE_ZJSYBSJS = '/AnnualCompPoint/annualCompPoint/zjsybsjs',
PAGE_XSFXBG = '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/xsfxbg',
}
// Get personal center-basic settings
export const pageSchoolApi = () => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_SCHOOL });
export const pageDepartmentApi = (orgCode: string) => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_DEPARTMENT, params: { orgCode } });
export const getZjsybsjs = () => defHttp.get({ url: Api.PAGE_ZJSYBSJS });
export const getXsfxbg = () => defHttp.get({ url: Api.PAGE_XSFXBG });

@ -123,15 +123,14 @@ export const compcom = {
},
{
path:'topic/topic/list5',
name:'topic/topic/list5',
component: ()=> import('/@/views/topic/TopicList5.vue'),
meta:{
title:'评分标准'
}
},
// {
// path:'topic/topic/list5',
// name:'topic/topic/list5',
// component: ()=> import('/@/views/topic/TopicList5.vue'),
// meta:{
// title:'评分标准'
// }
// },
{
path:'organizingCommittee',
name:'OrganizingCommittee',

@ -128,7 +128,7 @@ export const searchFormSchema: FormSchema[] = [];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '年度比赛id',
label: '年度比赛',
field: 'annualCompId',
component: 'JPopup',
componentProps: ({formActionType}) => {
@ -145,7 +145,7 @@ export const formSchema: FormSchema[] = [
dynamicRules: ({model, schema}) => {
return [
{required: true, message: '请输入年度比赛id!'},
{required: true, message: '请选择年度比赛'},
];
},
},

@ -237,7 +237,7 @@
*/
function pfbz(record: Recordable) {
router.push({
path: '/compp/topic/topic/list5',
path: '/topic/topic/list5',
query: {acpid: record.id}
});
}

@ -39,7 +39,7 @@
:disabled="disabled"/>
</a-form-item>
</a-col>
<a-col :span="12">
<a-col :span="24">
<a-form-item label="项目层次" v-bind="validateInfos.objLevel" :labelCol="labelCol" :wrapperCol="wrapperCol7">
<a-radio-group v-model:value="formData.objLevel">
<a-radio v-for="item in objLevelll" :key="item.id" :value="item.id">{{ item.name }}</a-radio>

@ -95,7 +95,7 @@
</div>
</a-col>
</a-row>
<cardList style="border: 1px solid #000;"></cardList>
<!-- <cardList style="border: 1px solid #000;"></cardList> -->
<img src="../../assets/images/card.png" alt="">
<p class="paragraph">
我是比赛参赛情况综述全面落实立德树人根本任务依据CDIO工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力具有终身学习和创新创业意识国际交流能力团队合作精神等良好素养能适应产业与社会变革的国际化应用型人

@ -6,14 +6,14 @@
:label-col="labelCol"
:wrapper-col="wrapperCol">
<a-row :gutter="24">
<a-col :lg="8">
<a-form-item label="年度比赛项目id" name="annualCompid">
<!-- <a-col :lg="8">
<a-form-item label="年度比赛项目" name="annualCompid">
<j-search-select
placeholder="请选择年度比赛项目id"
placeholder="请选择年度比赛项目"
v-model:value="queryParam.annualCompid" dict="annual_comp_point,obj_name,id"
/>
</a-form-item>
</a-col>
</a-col>-->
<a-col :lg="8">
<a-form-item label="题目名称">
<j-input placeholder="请输入题目名称" v-model:value="queryParam.name"/>

Loading…
Cancel
Save