fangmingyue 2 år sedan
förälder
incheckning
58cb66097f
2 ändrade filer med 0 tillägg och 18 borttagningar
  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 Visa fil

@@ -7,13 +7,11 @@ import Page from '@/components/Page';
7 7
 import { getTaCheck } from '@/service/tacheck';
8 8
 import { getTdLocType } from '@/service/tdloctype';
9 9
 import { getTaCheckAnswer, exportTaCheckAnswer } from '@/service/tacheckanswer';
10
-import { getTaIssue } from '@/service/taissue';
11 10
 import useBool from '@/utils/hooks/useBool';
12 11
 
13 12
 const getCheck = queryDict(getTaCheck, { labelKey: 'title', valueKey: 'checkId' });
14 13
 const getLocType = queryDict(getTdLocType, { labelKey: 'name', valueKey: 'typeId' });
15 14
 const getAnswer = queryTable(getTaCheckAnswer);
16
-const getIssue = queryDict(getTaIssue, { labelKey: 'userName', valueKey: 'issueId' });
17 15
 
18 16
 export default (props) => {
19 17
 
@@ -59,13 +57,6 @@ export default (props) => {
59 57
     {
60 58
       title: "答题人",
61 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 Visa fil

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