Merge remote-tracking branch 'origin/main'

main
王家东 4 months ago
commit 5f445cf2d4
  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. 4
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPoint.data.ts
  5. 2
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointForm.vue
  6. 2
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/individual.vue
  7. 8
      jeecgboot-vue3-master/src/views/topic/TopicList.vue

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

@ -133,9 +133,9 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource: datasource:
master: 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 username: root
password: root password: ycwl2022.
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置 10.121.0.28 # 多数据源配置 10.121.0.28
#multi-datasource1: #multi-datasource1:

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

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

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

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

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

Loading…
Cancel
Save