master
王家东 2 weeks ago
parent 364c6cd02a
commit 7022f6970f
  1. 56
      jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java
  2. 4
      jeecgboot-vue3/src/views/dashboard/workbench/components/WorkbenchHeader.vue
  3. 2
      jeecgboot-vue3/src/views/dashboard/workbench/index.vue
  4. 8
      jeecgboot-vue3/src/views/expert/admin/Expert.api.ts
  5. 6
      jeecgboot-vue3/src/views/expert/admin/Expert.data.ts
  6. 8
      jeecgboot-vue3/src/views/expert/admin/ExpertList.vue
  7. 19
      jeecgboot-vue3/src/views/expert/admin/components/ExpertForm.vue
  8. 6
      jeecgboot-vue3/src/views/expert/adminback/Expert.data.ts
  9. 6
      jeecgboot-vue3/src/views/expert/adminback/ExpertList.vue
  10. 5
      jeecgboot-vue3/src/views/expert/adminback/components/ExpertForm.vue
  11. 8
      jeecgboot-vue3/src/views/expert/county/Expert.api.ts
  12. 4
      jeecgboot-vue3/src/views/expert/county/Expert.data.ts
  13. 8
      jeecgboot-vue3/src/views/expert/county/components/ExpertForm.vue
  14. 8
      jeecgboot-vue3/src/views/expert/firm/Expert.api.ts
  15. 4
      jeecgboot-vue3/src/views/expert/firm/Expert.data.ts
  16. 12
      jeecgboot-vue3/src/views/expert/firm/ExpertList.vue
  17. 10
      jeecgboot-vue3/src/views/expert/firm/components/ExpertForm.vue
  18. 4
      jeecgboot-vue3/src/views/expert/self/Expert.data.ts
  19. 4
      jeecgboot-vue3/src/views/expert/self/ExpertList.vue
  20. 10
      jeecgboot-vue3/src/views/expert/self/components/ExpertForm.vue
  21. 11
      jeecgboot-vue3/src/views/expert/selfback/Expert.data.ts
  22. 4
      jeecgboot-vue3/src/views/expert/selfback/ExpertList.vue
  23. 10
      jeecgboot-vue3/src/views/expert/selfback/components/ExpertForm.vue
  24. 4
      jeecgboot-vue3/src/views/expproject/admin/Expproject.data.ts
  25. 10
      jeecgboot-vue3/src/views/expproject/admin/ExpprojectList.vue
  26. 4
      jeecgboot-vue3/src/views/expproject/self/Expproject.data.ts

@ -174,30 +174,34 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
//开始对比两个List获取相同部分,获取的交叉id就是需要的id //开始对比两个List获取相同部分,获取的交叉id就是需要的id
List<String> commonElements = idlistss.stream().filter(userbyrole::contains).collect(Collectors.toList()); List<String> commonElements = idlistss.stream().filter(userbyrole::contains).collect(Collectors.toList());
//根据查询的userid去获取username //根据查询的userid去获取username
List<SysUser> sysUserList = sysUserService.query().in("id",commonElements).list(); if (commonElements.isEmpty()){
//根据查询的结果获取username的list return Result.error("请添加专家");
List<String> usernames = sysUserList.stream().map(SysUser::getUsername).collect(Collectors.toList()); }else {
//用于查看本公司下面的专家信息无论是否审核,无论哪个部门 List<SysUser> sysUserList = sysUserService.query().in("id", commonElements).list();
QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap()); //根据查询的结果获取username的list
queryWrapper.eq("isdone","Y"); List<String> usernames = sysUserList.stream().map(SysUser::getUsername).collect(Collectors.toList());
queryWrapper.in("seusername",usernames); //用于查看本公司下面的专家信息无论是否审核,无论哪个部门
Page<Expert> page = new Page<Expert>(pageNo, pageSize); QueryWrapper<Expert> queryWrapper = QueryGenerator.initQueryWrapper(expert, req.getParameterMap());
IPage<Expert> pageList = expertService.page(page, queryWrapper); queryWrapper.eq("isdone", "Y");
pageList.getRecords().forEach(experttemp -> { queryWrapper.in("seusername", usernames);
//开始用于修改数据 Page<Expert> page = new Page<Expert>(pageNo, pageSize);
SysUser sysUser = sysUserService.query().eq("username",experttemp.getSeusername()).one(); IPage<Expert> pageList = expertService.page(page, queryWrapper);
String depid = expertService.getdeps(sysUser.getId()); pageList.getRecords().forEach(experttemp -> {
SysDepart sysDepart = sysDepartService.getById(depid); //开始用于修改数据
experttemp.setRealname(sysUser.getRealname()); SysUser sysUser = sysUserService.query().eq("username", experttemp.getSeusername()).one();
experttemp.setWorkon(sysUser.getWorkNo()); String depid = expertService.getdeps(sysUser.getId());
experttemp.setSex(sysUser.getSex()); SysDepart sysDepart = sysDepartService.getById(depid);
experttemp.setTopPic(sysUser.getAvatar()); experttemp.setRealname(sysUser.getRealname());
experttemp.setPhone(sysUser.getPhone()); experttemp.setWorkon(sysUser.getWorkNo());
experttemp.setEmails(sysUser.getEmail()); experttemp.setSex(sysUser.getSex());
experttemp.setSsdep(sysDepart.getDepartName()); experttemp.setTopPic(sysUser.getAvatar());
experttemp.setPsd(sysUser.getPassword()); experttemp.setPhone(sysUser.getPhone());
}); experttemp.setEmails(sysUser.getEmail());
return Result.OK(pageList); experttemp.setSsdep(sysDepart.getDepartName());
experttemp.setPsd(sysUser.getPassword());
});
return Result.OK(pageList);
}
} }
@ApiOperation(value="专家管理-分页列表查询/公司管理员角色", notes="专家管理-分页列表查询/公司管理员角色") @ApiOperation(value="专家管理-分页列表查询/公司管理员角色", notes="专家管理-分页列表查询/公司管理员角色")
@ -623,8 +627,8 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
@GetMapping(value = "handleadminback") @GetMapping(value = "handleadminback")
public Result<String> handleadminback(@RequestParam(name="id",required=true) String id) { public Result<String> handleadminback(@RequestParam(name="id",required=true) String id) {
Expert expert =expertService.getById(id); Expert expert =expertService.getById(id);
expert.setAdminopen("1"); expert.setAdminopen("3");
expert.setCompopen("1"); expert.setCompopen("3");
expert.setIsdone("N"); expert.setIsdone("N");
expertService.updateById(expert); expertService.updateById(expert);
return Result.OK("驳回成功!请到编辑页面确定问题数据并填写驳回原因"); return Result.OK("驳回成功!请到编辑页面确定问题数据并填写驳回原因");

@ -1,8 +1,8 @@
<template> <template>
<div class="lg:flex"> <div class="lg:flex">
<Avatar :src="userinfo.avatar || headerImg" :size="72" class="!mx-auto !block" /> <!-- <Avatar :src="userinfo.avatar || headerImg" :size="72" class="!mx-auto !block" />-->
<div class="md:ml-6 flex flex-col justify-center md:mt-0 mt-2"> <div class="md:ml-6 flex flex-col justify-center md:mt-0 mt-2">
<h1 class="md:text-lg text-md">早安, {{ userinfo.realname }}, 开始您一天的工作吧</h1> <!-- <h1 class="md:text-lg text-md">早安, {{ userinfo.realname }}, 开始您一天的工作吧</h1>-->
</div> </div>
<div class="flex flex-1 justify-end md:mt-0 mt-4"> <div class="flex flex-1 justify-end md:mt-0 mt-4">
</div> </div>

@ -10,7 +10,7 @@
<QuickNav :loading="loading" class="enter-y" /> <QuickNav :loading="loading" class="enter-y" />
<Card class="!my-4 enter-y" :loading="loading"> <Card class="!my-4 enter-y" :loading="loading">
<img class="xl:h-50 h-30 mx-auto" src="../../../assets/svg/illustration.svg" /> <!-- <img class="xl:h-50 h-30 mx-auto" src="../../../assets/svg/illustration.svg" />-->
</Card> </Card>
<SaleRadar :loading="loading" class="enter-y" /> <SaleRadar :loading="loading" class="enter-y" />

@ -30,13 +30,17 @@ export const getImportUrl = Api.importExcel;
* 列表接口 * 列表接口
* @param params * @param params
*/ */
export const handleadminup = (params) => defHttp.get({ url: Api.handleadminup, params }); export const handleadminup = (params,handleSuccess) => defHttp.get({ url: Api.handleadminup, params }).then(() => {
handleSuccess();
})
/** /**
* 管理员驳回 * 管理员驳回
* @param params * @param params
*/ */
export const handleadminback = (params) => defHttp.get({ url: Api.handleadminback, params }); export const handleadminback = (params,handleSuccess) => defHttp.get({ url: Api.handleadminback, params }).then(() => {
handleSuccess();
})
/** /**

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -73,7 +73,7 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'expsture', dataIndex: 'expsture',
customRender:({text}) => { customRender:({text}) => {
return render.renderSwitch(text, [{text:'',value:'Y'},{text:'',value:'N'}]); return render.renderSwitch(text, [{text:'正常',value:'N'},{text:'异常',value:'Y'}]);
}, },
}, },
]; ];
@ -84,7 +84,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -27,8 +27,8 @@
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="research"> <a-form-item name="research">
<template #label><span title="研究类型">研究类型</span></template> <template #label><span title="细分方向">细分方向</span></template>
<a-input placeholder="请输入研究类型" v-model:value="queryParam.research" allow-clear ></a-input> <a-input placeholder="请输入细分方向" v-model:value="queryParam.research" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
</template> </template>
@ -240,7 +240,7 @@
}, { }, {
label: '驳回审核', label: '驳回审核',
popConfirm: { popConfirm: {
title: '是否v', title: '是否驳回',
confirm: handlebackadmin.bind(null, record), confirm: handlebackadmin.bind(null, record),
placement: 'topLeft', placement: 'topLeft',
}, },
@ -273,7 +273,7 @@
}, { }, {
label: '驳回审核', label: '驳回审核',
popConfirm: { popConfirm: {
title: '是否v', title: '是否驳回',
confirm: handlebackadmin.bind(null, record), confirm: handlebackadmin.bind(null, record),
placement: 'topLeft', placement: 'topLeft',
}, },

@ -75,8 +75,8 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="研究类型" v-bind="validateInfos.research" id="ExpertForm-research" name="research"> <a-form-item label="细分方向" v-bind="validateInfos.research" id="ExpertForm-research" name="research">
<a-input v-model:value="formData.research" placeholder="请输入研究类型" allow-clear ></a-input> <a-input v-model:value="formData.research" placeholder="请输入细分方向" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -94,26 +94,26 @@
<a-textarea v-model:value="formData.expinfo" :rows="4" placeholder="请输入专家简介" /> <a-textarea v-model:value="formData.expinfo" :rows="4" placeholder="请输入专家简介" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <!-- <a-col :span="24">
<a-form-item label="专家状态" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture"> <a-form-item label="专家状态异常标记" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture">
<j-switch v-model:value="formData.expsture" ></j-switch> <j-switch v-model:value="formData.expsture" ></j-switch>
</a-form-item> </a-form-item>
</a-col> </a-col>-->
<!-- <a-col :span="24" v-if="formData.expsture === 'Y'"> <!-- <a-col :span="24" v-if="formData.expsture === 'Y'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo">
<a-input v-model:value="formData.errinfo" placeholder="请输入异常备注" allow-clear ></a-input> <a-input v-model:value="formData.errinfo" placeholder="请输入异常备注" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col>--> </a-col>-->
<a-col :span="24" v-if="formData.expsture === 'Y'"> <!-- <a-col :span="24" v-if="formData.expsture === 'Y'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo">
<j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear /> <j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear />
</a-form-item> </a-form-item>
</a-col> </a-col>-->
<a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'"> <a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> <a-form-item label="驳回原因" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo">
<a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input> <a-input v-model:value="formData.backinfo" placeholder="请输入驳回原因" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -168,6 +168,7 @@ import JImageUpload from '/src/components/Form/src/jeecg/components/JImageUpload
backinfo: '', backinfo: '',
zc: '', zc: '',
expsture: '', expsture: '',
errinfo: '',
}); });
const { createMessage } = useMessage(); const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -73,7 +73,7 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'expsture', dataIndex: 'expsture',
customRender:({text}) => { customRender:({text}) => {
return render.renderSwitch(text, [{text:'',value:'Y'},{text:'',value:'N'}]); return render.renderSwitch(text, [{text:'正常',value:'N'},{text:'异常',value:'Y'}]);
}, },
}, },
]; ];
@ -84,7 +84,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -27,8 +27,8 @@
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="research"> <a-form-item name="research">
<template #label><span title="研究类型">研究类型</span></template> <template #label><span title="细分方向">细分方向</span></template>
<a-input placeholder="请输入研究类型" v-model:value="queryParam.research" allow-clear ></a-input> <a-input placeholder="请输入细分方向" v-model:value="queryParam.research" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
</template> </template>
@ -248,7 +248,7 @@
}, { }, {
label: '驳回审核', label: '驳回审核',
popConfirm: { popConfirm: {
title: '是否v', title: '是否驳回',
confirm: handlebackadmin.bind(null, record), confirm: handlebackadmin.bind(null, record),
placement: 'topLeft', placement: 'topLeft',
}, },

@ -7,7 +7,7 @@
<a-col :span="24"> <a-col :span="24">
<a-form-item label="专家状态" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture"> <a-form-item label="专家状态异常标记" v-bind="validateInfos.expsture" id="ExpertForm-expsture" name="expsture">
<j-switch v-model:value="formData.expsture" ></j-switch> <j-switch v-model:value="formData.expsture" ></j-switch>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -23,11 +23,13 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<!--
<a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'"> <a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo">
<a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input> <a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
-->
</a-row> </a-row>
@ -80,6 +82,7 @@ import JImageUpload from '/src/components/Form/src/jeecg/components/JImageUpload
backinfo: '', backinfo: '',
zc: '', zc: '',
expsture: '', expsture: '',
errinfo: '',
}); });
const { createMessage } = useMessage(); const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });

@ -36,13 +36,17 @@ export const list = (params) => defHttp.get({ url: Api.list, params });
* 通过审核接口 * 通过审核接口
* @param params * @param params
*/ */
export const handleupcount = (params) => defHttp.get({ url: Api.handleupcount, params }); export const handleupcount = (params,handleSuccess) => defHttp.get({ url: Api.handleupcount, params }).then(() => {
handleSuccess();
})
/** /**
* 通过审核驳回 * 通过审核驳回
* @param params * @param params
*/ */
export const handlebackco = (params) => defHttp.get({ url: Api.handlebackcoount, params }); export const handlebackco = (params,handleSuccess) => defHttp.get({ url: Api.handlebackcoount, params }).then(() => {
handleSuccess();
})
/** /**
* 删除单个 * 删除单个

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -67,7 +67,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -75,8 +75,8 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="研究类型" v-bind="validateInfos.research" id="ExpertForm-research" name="research"> <a-form-item label="细分方向" v-bind="validateInfos.research" id="ExpertForm-research" name="research">
<a-input v-model:value="formData.research" placeholder="请输入研究类型" allow-clear ></a-input> <a-input v-model:value="formData.research" placeholder="请输入细分方向" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -112,8 +112,8 @@
</a-col> </a-col>
<a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'"> <a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> <a-form-item label="驳回原因" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo">
<a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input> <a-input v-model:value="formData.backinfo" placeholder="请输入驳回原因" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>

@ -36,13 +36,17 @@ export const list = (params) => defHttp.get({ url: Api.list, params });
* 通过审核 * 通过审核
* @param params * @param params
*/ */
export const handleupup = (params) => defHttp.get({ url: Api.handleupup, params }); export const handleupup = (params,handleSuccess) => defHttp.get({ url: Api.handleupup, params }).then(() => {
handleSuccess();
})
/** /**
* 驳回审核 * 驳回审核
* @param params * @param params
*/ */
export const handlebackback = (params) => defHttp.get({ url: Api.handlebackback, params }); export const handlebackback = (params,handleSuccess) => defHttp.get({ url: Api.handlebackback, params }).then(() => {
handleSuccess();
})
/** /**
* 删除单个 * 删除单个

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -68,7 +68,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -11,22 +11,22 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="directioncal"> <!-- <a-form-item name="directioncal">
<template #label><span title="研究领域">研究领域</span></template> <template #label><span title="研究领域">研究领域</span></template>
<a-input placeholder="请输入研究领域" v-model:value="queryParam.directioncal" allow-clear ></a-input> <a-input placeholder="请输入研究领域" v-model:value="queryParam.directioncal" allow-clear ></a-input>
</a-form-item> </a-form-item>-->
<a-col :lg="6">
<a-form-item name="compopen"> <a-form-item name="compopen">
<template #label><span title="部门审核">部门审核</span></template> <template #label><span title="部门审核">部门审核</span></template>
<j-select-multiple placeholder="请选择部门审核" v-model:value="queryParam.compopen" dictCode="examstures" allow-clear /> <j-select-multiple placeholder="请选择部门审核" v-model:value="queryParam.compopen" dictCode="examstures" allow-clear />
</a-form-item> </a-form-item>
</a-col>
</a-col> </a-col>
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="research"> <a-form-item name="research">
<template #label><span title="研究类型">研究类型</span></template> <template #label><span title="细分方向">细分方向</span></template>
<a-input placeholder="请输入研究类型" v-model:value="queryParam.research" allow-clear ></a-input> <a-input placeholder="请输入细分方向" v-model:value="queryParam.research" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">

@ -75,8 +75,8 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="研究类型" v-bind="validateInfos.research" id="ExpertForm-research" name="research"> <a-form-item label="细分方向" v-bind="validateInfos.research" id="ExpertForm-research" name="research">
<a-input v-model:value="formData.research" placeholder="请输入研究类型" allow-clear ></a-input> <a-input v-model:value="formData.research" placeholder="请输入细分方向" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -96,9 +96,9 @@
</a-col> </a-col>
<a-col :span="24" v-if="formData.expsture === 'Y'"> <a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo">
<j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear /> <a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -65,7 +65,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -19,8 +19,8 @@
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="research"> <a-form-item name="research">
<template #label><span title="研究类型">研究类型</span></template> <template #label><span title="细分方向">细分方向</span></template>
<a-input placeholder="请输入研究类型" v-model:value="queryParam.research" allow-clear ></a-input> <a-input placeholder="请输入细分方向" v-model:value="queryParam.research" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
</template> </template>

@ -73,8 +73,8 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="研究类型" v-bind="validateInfos.research" id="ExpertForm-research" name="research"> <a-form-item label="细分方向" v-bind="validateInfos.research" id="ExpertForm-research" name="research">
<a-input v-model:value="formData.research" placeholder="请输入研究类型" allow-clear ></a-input> <a-input v-model:value="formData.research" placeholder="请输入细分方向" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -93,9 +93,9 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" v-if="formData.expsture === 'Y'"> <a-col :span="24" v-if="formData.adminopen === '3' || formData.compopen === '3'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo">
<j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear /> <a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>

@ -34,7 +34,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'directioncal_dictText' dataIndex: 'directioncal_dictText'
}, },
{ {
title: '研究类型', title: '细分方向',
align: "center", align: "center",
dataIndex: 'research' dataIndex: 'research'
}, },
@ -58,17 +58,12 @@ export const columns: BasicColumn[] = [
align: "center", align: "center",
dataIndex: 'adminopen_dictText', dataIndex: 'adminopen_dictText',
}, },
{
title: '管理员审核',
align: "center",
dataIndex: 'adminopen_dictText',
},
{ {
title: '专家状态', title: '专家状态',
align: "center", align: "center",
dataIndex: 'expsture', dataIndex: 'expsture',
customRender:({text}) => { customRender:({text}) => {
return render.renderSwitch(text, [{text:'正常',value:'Y'},{text:'异常',value:'N'}]); return render.renderSwitch(text, [{text:'正常',value:'N'},{text:'异常',value:'Y'}]);
}, },
}, },
]; ];
@ -79,7 +74,7 @@ export const superQuerySchema = {
colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',}, colleges: {title: '毕业院校',order: 1,view: 'text', type: 'string',},
major: {title: '专业',order: 2,view: 'text', type: 'string',}, major: {title: '专业',order: 2,view: 'text', type: 'string',},
directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',}, directioncal: {title: '研究领域',order: 3,view: 'text', type: 'string',},
research: {title: '研究类型',order: 4,view: 'text', type: 'string',}, research: {title: '细分方向',order: 4,view: 'text', type: 'string',},
educationcal: {title: '学历',order: 5,view: 'text', type: 'string',}, educationcal: {title: '学历',order: 5,view: 'text', type: 'string',},
compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',}, compopen: {title: '部门审核',order: 7,view: 'switch', type: 'string',},
adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',}, adminopen: {title: '管理员审核',order: 8,view: 'switch', type: 'string',},

@ -19,8 +19,8 @@
<template v-if="toggleSearchStatus"> <template v-if="toggleSearchStatus">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="research"> <a-form-item name="research">
<template #label><span title="研究类型">研究类型</span></template> <template #label><span title="细分方向">细分方向</span></template>
<a-input placeholder="请输入研究类型" v-model:value="queryParam.research" allow-clear ></a-input> <a-input placeholder="请输入细分方向" v-model:value="queryParam.research" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
</template> </template>

@ -4,9 +4,9 @@
<template #detail> <template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ExpertForm"> <a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ExpertForm">
<a-row> <a-row>
<a-col :span="24" > <a-col :span="24" v-if="formData.expsture === 'Y'">
<a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-backinfo" name="backinfo"> <a-form-item label="异常备注" v-bind="validateInfos.errinfo" id="ExpertForm-errinfo" name="errinfo">
<a-input v-model:value="formData.backinfo" placeholder="请输入异常备注" allow-clear disabled="true"></a-input> <j-dict-select-tag v-model:value="formData.errinfo" dictCode="yczt" placeholder="请选择异常备注" allow-clear disabled="true" />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -58,7 +58,9 @@ import JImageUpload from '/src/components/Form/src/jeecg/components/JImageUpload
expinfo: '', expinfo: '',
compopen: '', compopen: '',
adminopen: '', adminopen: '',
backinfo: '', backinfo: '',
errinfo: '',
expsture: '',
}); });
const { createMessage } = useMessage(); const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } }); const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });

@ -21,11 +21,11 @@ export const columns: BasicColumn[] = [
align:"center", align:"center",
dataIndex: 'needexp' dataIndex: 'needexp'
}, },
{ /* {
title: '简介', title: '简介',
align:"center", align:"center",
dataIndex: 'proinfo' dataIndex: 'proinfo'
}, },*/
{ {
title: '附件', title: '附件',
align:"center", align:"center",

@ -292,4 +292,14 @@
width: 100%; width: 100%;
} }
} }
:deep(.ant-table-wrapper .ant-table-tbody >tr >td){
height: 140px;
}
:deep(.jeecg-basic-table-action){
height: 140px;
flex-wrap: wrap;
justify-content: center;
}
</style> </style>

@ -21,11 +21,11 @@ export const columns: BasicColumn[] = [
align:"center", align:"center",
dataIndex: 'needexp' dataIndex: 'needexp'
}, },
{ /* {
title: '简介', title: '简介',
align:"center", align:"center",
dataIndex: 'proinfo' dataIndex: 'proinfo'
}, },*/
{ {
title: '附件', title: '附件',
align:"center", align:"center",

Loading…
Cancel
Save