🐛 fix(模块): 修复了一些 bug
This commit is contained in:
parent
6398dbbcec
commit
c3d24d6c03
@ -335,7 +335,7 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
|
||||
}
|
||||
|
||||
const fetchTreeData = async () => {
|
||||
const data = await handleGetExamineTypeTreeList();
|
||||
const data = await handleGetExamineTypeTreeList({ status: 1 });
|
||||
const formattedData = data?.length ? data.map(item => ({
|
||||
title: item.name,
|
||||
value: item.id,
|
||||
@ -884,7 +884,6 @@ const examineModal: React.FC<{ currentUser: any }> = (props) => {
|
||||
width={1400}
|
||||
title={`点位`}
|
||||
open={selectQuestionModal}
|
||||
|
||||
destroyOnClose
|
||||
onOk={() => {
|
||||
console.log('selectedQuestionDetail', selectedQuestionDetail);
|
||||
|
||||
@ -32,7 +32,7 @@ export async function handleDeleteTemplates(params?: any) {
|
||||
|
||||
|
||||
export async function handleGetQuestionList(params?: any) {
|
||||
const data = await request.get('/questions/getList', params)
|
||||
const data = await request.get('/questions/getList', { params })
|
||||
if (data.Result_Code === 100) {
|
||||
return data.Result_Data.List
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user