王家东 1 year ago
parent 8e2ef5a677
commit 786dc14775
  1. 3
      jeecg-boot-master/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/SysUserController.java
  2. 20
      jeecgboot-vue3-master/src/views/annualcompaward/AnnualCompAward.data.ts

@ -528,7 +528,6 @@ public class SysUserController {
sysUserRole.setRoleId("1724327596426760194"); sysUserRole.setRoleId("1724327596426760194");
sysUserRoleService.save(sysUserRole); sysUserRoleService.save(sysUserRole);
} else { } else {
errorMessage.add("第 " + i + 1 + " 行:目前仅允许导入学生身份的用户,其他身份请手动导入");
} }
} }
successLines++; successLines++;
@ -1772,7 +1771,7 @@ public class SysUserController {
mv.addObject(NormalExcelConstants.FILE_NAME, "学生导入模板"); mv.addObject(NormalExcelConstants.FILE_NAME, "学生导入模板");
mv.addObject(NormalExcelConstants.CLASS, SysUser.class); mv.addObject(NormalExcelConstants.CLASS, SysUser.class);
//update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置-------------------- //update-begin--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置--------------------
ExportParams exportParams=new ExportParams("学生导入模板", "用户名和学号均为学号" , "学生导入模板"); ExportParams exportParams=new ExportParams("学生导入模板", "用户名和学号均为学号(仅允许学生身份导入)" , "学生导入模板");
exportParams.setImageBasePath(jeecgBaseConfig.getPath().getUpload()); exportParams.setImageBasePath(jeecgBaseConfig.getPath().getUpload());
//update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置---------------------- //update-end--Author:liusq Date:20210126 for:图片导出报错,ImageBasePath未设置----------------------
mv.addObject(NormalExcelConstants.PARAMS,exportParams); mv.addObject(NormalExcelConstants.PARAMS,exportParams);

@ -28,7 +28,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'annucompid', dataIndex: 'annucompid',
}, },
{ {
title: '第一奖项名称', title: '第一奖项名称',
align: 'center', align: 'center',
dataIndex: 'firstPrize', dataIndex: 'firstPrize',
}, },
@ -43,7 +43,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'firstWeight', dataIndex: 'firstWeight',
}, },
{ {
title: '第二奖项名称', title: '第二奖项名称',
align: 'center', align: 'center',
dataIndex: 'secondPrize', dataIndex: 'secondPrize',
}, },
@ -58,7 +58,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'secondWeight', dataIndex: 'secondWeight',
}, },
{ {
title: '第三奖项名称', title: '第三奖项名称',
align: 'center', align: 'center',
dataIndex: 'thirdPrize', dataIndex: 'thirdPrize',
}, },
@ -73,7 +73,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'thirdWeight', dataIndex: 'thirdWeight',
}, },
{ {
title: '第四奖项名称', title: '第四奖项名称',
align: 'center', align: 'center',
dataIndex: 'fourthPrize', dataIndex: 'fourthPrize',
}, },
@ -88,7 +88,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'fourthWeight', dataIndex: 'fourthWeight',
}, },
{ {
title: '第五奖项名称', title: '第五奖项名称',
align: 'center', align: 'center',
dataIndex: 'fifthPrize', dataIndex: 'fifthPrize',
}, },
@ -138,7 +138,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '第一奖项名称', label: '第一奖项名称',
field: 'firstPrize', field: 'firstPrize',
component: 'Input', component: 'Input',
show:renderCallbackParams => { show:renderCallbackParams => {
@ -185,7 +185,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '第二奖项名称', label: '第二奖项名称',
field: 'secondPrize', field: 'secondPrize',
component: 'Input', component: 'Input',
show:renderCallbackParams => { show:renderCallbackParams => {
@ -223,7 +223,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '第三奖项名称', label: '第三奖项名称',
field: 'thirdPrize', field: 'thirdPrize',
component: 'Input', component: 'Input',
show:renderCallbackParams => { show:renderCallbackParams => {
@ -261,7 +261,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '第四奖项名称', label: '第四奖项名称',
field: 'fourthPrize', field: 'fourthPrize',
component: 'Input', component: 'Input',
show:renderCallbackParams => { show:renderCallbackParams => {
@ -299,7 +299,7 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
label: '第五奖项名称', label: '第五奖项名称',
field: 'fifthPrize', field: 'fifthPrize',
component: 'Input', component: 'Input',
show:renderCallbackParams => { show:renderCallbackParams => {

Loading…
Cancel
Save