fangmingyue 2 years ago
parent
commit
58cb66097f
2 changed files with 0 additions and 18 deletions
  1. 0
    9
      src/pages/checkAnswer/loc/index.jsx
  2. 0
    9
      src/pages/checkAnswer/survey/index.jsx

+ 0
- 9
src/pages/checkAnswer/loc/index.jsx View File

7
 import { getTaCheck } from '@/service/tacheck';
7
 import { getTaCheck } from '@/service/tacheck';
8
 import { getTdLocType } from '@/service/tdloctype';
8
 import { getTdLocType } from '@/service/tdloctype';
9
 import { getTaCheckAnswer, exportTaCheckAnswer } from '@/service/tacheckanswer';
9
 import { getTaCheckAnswer, exportTaCheckAnswer } from '@/service/tacheckanswer';
10
-import { getTaIssue } from '@/service/taissue';
11
 import useBool from '@/utils/hooks/useBool';
10
 import useBool from '@/utils/hooks/useBool';
12
 
11
 
13
 const getCheck = queryDict(getTaCheck, { labelKey: 'title', valueKey: 'checkId' });
12
 const getCheck = queryDict(getTaCheck, { labelKey: 'title', valueKey: 'checkId' });
14
 const getLocType = queryDict(getTdLocType, { labelKey: 'name', valueKey: 'typeId' });
13
 const getLocType = queryDict(getTdLocType, { labelKey: 'name', valueKey: 'typeId' });
15
 const getAnswer = queryTable(getTaCheckAnswer);
14
 const getAnswer = queryTable(getTaCheckAnswer);
16
-const getIssue = queryDict(getTaIssue, { labelKey: 'userName', valueKey: 'issueId' });
17
 
15
 
18
 export default (props) => {
16
 export default (props) => {
19
 
17
 
59
     {
57
     {
60
       title: "答题人",
58
       title: "答题人",
61
       dataIndex: "userName",
59
       dataIndex: "userName",
62
-      valueType: 'select',
63
-      request: getIssue,
64
-      formItemProps: {
65
-        rules: [
66
-          { required: true, message: '请选择答题人' }
67
-        ]
68
-      }
69
     },
60
     },
70
   ]
61
   ]
71
 
62
 

+ 0
- 9
src/pages/checkAnswer/survey/index.jsx View File

6
 import { Button, notification } from "antd";
6
 import { Button, notification } from "antd";
7
 import { getTaCheck } from '@/service/tacheck';
7
 import { getTaCheck } from '@/service/tacheck';
8
 import { getTaCheckAnswer, exportTaCheckAnswer } from '@/service/tacheckanswer';
8
 import { getTaCheckAnswer, exportTaCheckAnswer } from '@/service/tacheckanswer';
9
-import { getTaIssue } from '@/service/taissue';
10
 import useBool from '@/utils/hooks/useBool';
9
 import useBool from '@/utils/hooks/useBool';
11
 
10
 
12
 const getCheck = queryDict(getTaCheck, { labelKey: 'title', valueKey: 'checkId' });
11
 const getCheck = queryDict(getTaCheck, { labelKey: 'title', valueKey: 'checkId' });
13
 const getAnswer = queryTable(getTaCheckAnswer);
12
 const getAnswer = queryTable(getTaCheckAnswer);
14
-const getIssue = queryDict(getTaIssue, { labelKey: 'userName', valueKey: 'issueId' });
15
 
13
 
16
 const addOnParams = { itemType: 'survey' };
14
 const addOnParams = { itemType: 'survey' };
17
 
15
 
60
     {
58
     {
61
       title: "答题人",
59
       title: "答题人",
62
       dataIndex: "userName",
60
       dataIndex: "userName",
63
-      valueType: 'select',
64
-      request: getIssue,
65
-      formItemProps: {
66
-        rules: [
67
-          { required: true, message: '请选择答题人' }
68
-        ]
69
-      }
70
     },
61
     },
71
     {
62
     {
72
       title: "受访者性别",
63
       title: "受访者性别",