提交 a13e8941 authored 作者: 钟是志's avatar 钟是志

30357 北电]辅导员考核-考核批次设置,辅导员筛选那50个辅导员

上级 8914bc83
...@@ -61,7 +61,9 @@ export default function SelectPerson(props) { ...@@ -61,7 +61,9 @@ export default function SelectPerson(props) {
// 第二栏树形数据 // 第二栏树形数据
const getTreeList = () => { const getTreeList = () => {
requestData({}, apis.findTree) requestData({
...propsDiy.apiParams,
}, apis.findTree)
.then(res => { .then(res => {
if (res) { if (res) {
res = formatTreeData(res); res = formatTreeData(res);
...@@ -83,6 +85,7 @@ export default function SelectPerson(props) { ...@@ -83,6 +85,7 @@ export default function SelectPerson(props) {
{ {
keyword: searchKey, keyword: searchKey,
isExact: jqpp, isExact: jqpp,
...propsDiy.apiParams,
}, },
apis.search, apis.search,
) )
...@@ -111,6 +114,7 @@ export default function SelectPerson(props) { ...@@ -111,6 +114,7 @@ export default function SelectPerson(props) {
{ {
businessKey: bKey, businessKey: bKey,
selectType, selectType,
...propsDiy.apiParams,
}, },
apis.findList, apis.findList,
) )
...@@ -151,8 +155,8 @@ export default function SelectPerson(props) { ...@@ -151,8 +155,8 @@ export default function SelectPerson(props) {
const auth = () => { const auth = () => {
const data = { const data = {
businessKey: [...sgUserIds, ...checkedList.map(g => g.businessKey)], businessKey: [...sgUserIds, ...checkedList.map(g => g.businessKey)],
...propsDiy.apiParams,
}; };
if (!data.businessKey.length) { if (!data.businessKey.length) {
message.warning(propsDiy.getResultProps.emptySelectMessage); message.warning(propsDiy.getResultProps.emptySelectMessage);
return false; return false;
......
export default function lowCodeProps(info) { export default function lowCodeProps(info) {
return { return {
searchType: 'instructorSearch', // teacherSearch || studentSearch || instructorSearch searchType: 'instructorSearch', // teacherSearch || studentSearch || instructorSearch
apiParams: { // 30357 北电]辅导员考核-考核批次设置,辅导员筛选那50个辅导员
isCounselor: true,
},
ModalProps: { ModalProps: {
// 弹窗的属性 // 弹窗的属性
title: '选择辅导员', title: '选择辅导员',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论