Your Name před 4 roky
rodič
revize
05e8524b91

+ 2
- 2
src/pages/Medical/Visit/Edit/index.jsx Zobrazit soubor

@@ -17,7 +17,7 @@ const VisitEdit = (props) => {
17 17
 
18 18
   const getData = (id) => {
19 19
     if (id) {
20
-      request(`/student/${id}`)
20
+      request(`/student-no/${id}`)
21 21
         .then((res) => {
22 22
           form.setFieldsValue(res);
23 23
           setSearchLoading(false);
@@ -115,7 +115,7 @@ const VisitEdit = (props) => {
115 115
             <ProFormText
116 116
               label="学号"
117 117
               placeholder="输入学号"
118
-              name="studentId"
118
+              name="studentNo"
119 119
               fieldProps={{ bordered: !id, readOnly: !!id }}
120 120
               rules={[{ required: true, message: '请填写学号' }]}
121 121
             />

+ 1
- 1
src/pages/Medical/Visit/List/index.jsx Zobrazit soubor

@@ -77,7 +77,7 @@ const VisitList = () => {
77 77
 
78 78
     {
79 79
       title: '学号',
80
-      dataIndex: 'studentId',
80
+      dataIndex: 'studentNo',
81 81
       align: 'center',
82 82
     },
83 83
     {