李志伟 2 年之前
父節點
當前提交
02f4311919

+ 23
- 1
src/pages/applicationList/detail.jsx 查看文件

@@ -54,6 +54,17 @@ export default (props) => {
54 54
           <FormItem label="犬主">
55 55
             {application?.personName}
56 56
           </FormItem>
57
+          {
58
+            application?.isOrg &&
59
+            <>
60
+              <FormItem label="企业">
61
+                {application?.orgName}
62
+              </FormItem>
63
+              <FormItem label="营业执照">
64
+                <Image src={application?.orgLicense} width={100} />
65
+              </FormItem>
66
+            </>
67
+          }
57 68
           <FormItem label="电话">
58 69
             {application?.phone}
59 70
           </FormItem>
@@ -103,7 +114,18 @@ export default (props) => {
103 114
               }
104 115
             </FormItem>
105 116
           }
106
-
117
+          {
118
+            application?.criminalInfo &&
119
+            <FormItem label="伤人信息">
120
+              <Image src={application.criminalInfo} width={100} />
121
+            </FormItem>
122
+          }
123
+          {
124
+            application?.penaltyInfo &&
125
+            <FormItem label="处罚信息">
126
+              <Image src={application.penaltyInfo} width={100} />
127
+            </FormItem>
128
+          }
107 129
           <FormItem label="订单状态">
108 130
             {
109 131
               (orderStatus === 1 || orderStatus === 2)

+ 22
- 0
src/pages/applicationList/index.jsx 查看文件

@@ -37,6 +37,28 @@ export default (props) => {
37 37
       key: 'personName',
38 38
       search: true,
39 39
     },
40
+    {
41
+      title: '是否企业',
42
+      dataIndex: 'isOrg',
43
+      key: 'isOrg',
44
+      search: true,
45
+      hideInTable:true,
46
+      render: (_, record) => {
47
+        return record.isOrg
48
+          ? '企业':'个人'
49
+      },
50
+      valueType: 'select',
51
+      valueEnum: {
52
+        true: { text: '企业' },
53
+        false: { text: '个人' },
54
+      },
55
+    },
56
+    {
57
+      title: '企业名称',
58
+      dataIndex: 'orgName',
59
+      key: 'orgName',
60
+      search: true,
61
+    },
40 62
     {
41 63
       title: '手机号',
42 64
       dataIndex: 'phone',

+ 22
- 0
src/pages/certificateIssuance/index.jsx 查看文件

@@ -48,6 +48,28 @@ export default (props) => {
48 48
       key: 'personName',
49 49
       search: true,
50 50
     },
51
+    {
52
+      title: '是否企业',
53
+      dataIndex: 'isOrg',
54
+      key: 'isOrg',
55
+      search: true,
56
+      hideInTable:true,
57
+      render: (_, record) => {
58
+        return record.isOrg
59
+          ? '企业':'个人'
60
+      },
61
+      valueType: 'select',
62
+      valueEnum: {
63
+        true: { text: '企业' },
64
+        false: { text: '个人' },
65
+      },
66
+    },
67
+    {
68
+      title: '企业名称',
69
+      dataIndex: 'orgName',
70
+      key: 'orgName',
71
+      search: true,
72
+    },
51 73
     {
52 74
       title: '手机号',
53 75
       dataIndex: 'phone',

+ 23
- 1
src/pages/certificateIssuance/issuance.jsx 查看文件

@@ -15,7 +15,6 @@ export default (props) => {
15 15
   const [application, setApplication] = useState({});
16 16
   const [loading, setLoading] = useState(false)
17 17
   const [form] = Form.useForm();
18
-  //需要改一下
19 18
   const handleMake = (value) => {
20 19
     if (value.originCardNo) {
21 20
       if (
@@ -61,6 +60,17 @@ export default (props) => {
61 60
           <FormItem label="犬主">
62 61
             {application?.personName}
63 62
           </FormItem>
63
+          {
64
+            application?.isOrg &&
65
+            <>
66
+              <FormItem label="企业">
67
+                {application?.orgName}
68
+              </FormItem>
69
+              <FormItem label="营业执照">
70
+                <Image src={application?.orgLicense} width={100} />
71
+              </FormItem>
72
+            </>
73
+          }
64 74
           <FormItem label="电话">
65 75
             {application?.phone}
66 76
           </FormItem>
@@ -110,6 +120,18 @@ export default (props) => {
110 120
               }
111 121
             </FormItem>
112 122
           }
123
+          {
124
+            application?.criminalInfo &&
125
+            <FormItem label="伤人信息">
126
+              <Image src={application.criminalInfo} width={100} />
127
+            </FormItem>
128
+          }
129
+          {
130
+            application?.penaltyInfo &&
131
+            <FormItem label="处罚信息">
132
+              <Image src={application.penaltyInfo} width={100} />
133
+            </FormItem>
134
+          }
113 135
           <FormItem label="付款状态">
114 136
             {
115 137
               application.payStatus === 0

+ 23
- 0
src/pages/examine/detail.jsx 查看文件

@@ -78,6 +78,17 @@ export default (props) => {
78 78
           <FormItem label="犬主">
79 79
             {application?.personName}
80 80
           </FormItem>
81
+          {
82
+            application?.isOrg &&
83
+            <>
84
+              <FormItem label="企业">
85
+                {application?.orgName}
86
+              </FormItem>
87
+              <FormItem label="营业执照">
88
+                <Image src={application?.orgLicense} width={100} />
89
+              </FormItem>
90
+            </>
91
+          }
81 92
           <FormItem label="电话">
82 93
             {application?.phone}
83 94
           </FormItem>
@@ -127,6 +138,18 @@ export default (props) => {
127 138
               }
128 139
             </FormItem>
129 140
           }
141
+          {
142
+            application?.criminalInfo &&
143
+            <FormItem label="伤人信息">
144
+              <Image src={application.criminalInfo} width={100} />
145
+            </FormItem>
146
+          }
147
+          {
148
+            application?.penaltyInfo &&
149
+            <FormItem label="处罚信息">
150
+              <Image src={application.penaltyInfo} width={100} />
151
+            </FormItem>
152
+          }
130 153
           <FormItem label="付款状态">
131 154
             {
132 155
               application.payStatus === 0

+ 22
- 0
src/pages/examine/index.jsx 查看文件

@@ -42,6 +42,28 @@ export default (props) => {
42 42
       dataIndex: 'personName',
43 43
       key: 'personName',
44 44
       search: true,
45
+    },    
46
+    {
47
+      title: '是否企业',
48
+      dataIndex: 'isOrg',
49
+      key: 'isOrg',
50
+      search: true,
51
+      hideInTable:true,
52
+      render: (_, record) => {
53
+        return record.isOrg
54
+          ? '企业':'个人'
55
+      },
56
+      valueType: 'select',
57
+      valueEnum: {
58
+        true: { text: '企业' },
59
+        false: { text: '个人' },
60
+      },
61
+    },
62
+    {
63
+      title: '企业名称',
64
+      dataIndex: 'orgName',
65
+      key: 'orgName',
66
+      search: true,
45 67
     },
46 68
     {
47 69
       title: '手机号',