李志伟 2 years ago
parent
commit
b29add9fe3
2 changed files with 35 additions and 3 deletions
  1. 2
    2
      src/pages/cardNoList/index.jsx
  2. 33
    1
      src/pages/examine/index.jsx

+ 2
- 2
src/pages/cardNoList/index.jsx View File

58
       key: 'start',
58
       key: 'start',
59
       dataIndex: 'start',
59
       dataIndex: 'start',
60
       hideInTable:true,
60
       hideInTable:true,
61
-      renderFormItem: (_, record) => <InputNumber placeholder='请输入您想查询的起始号码(1~1000)' min={1} max={1000} />
61
+      renderFormItem: (_, record) => <InputNumber placeholder='请输入您想查询的起始号码' min={1} />
62
     },
62
     },
63
     {
63
     {
64
       title: '终止号码',
64
       title: '终止号码',
65
       key: 'end',
65
       key: 'end',
66
       dataIndex: 'end',
66
       dataIndex: 'end',
67
       hideInTable:true,
67
       hideInTable:true,
68
-      renderFormItem: (_, record) => <InputNumber placeholder='请输入您想查询的终止号码(1~1000)' min={1} max={1000} />
68
+      renderFormItem: (_, record) => <InputNumber placeholder='请输入您想查询的终止号码' min={1} />
69
     },
69
     },
70
 
70
 
71
     {
71
     {

+ 33
- 1
src/pages/examine/index.jsx View File

36
     setAuditStart()
36
     setAuditStart()
37
     setAuditEnd()
37
     setAuditEnd()
38
   }
38
   }
39
+  // const cardStatus = (item) => {
40
+  //   if (item.status === 0) {
41
+  //     return {
42
+  //       title: '待支付',
43
+  //     }
44
+  //   } else if (item.status == 1) {
45
+  //     return {
46
+  //       title: '审核中',
47
+  //       styleColor: ''
48
+  //     }
49
+  //   } else if (item.status == 2 && item.verifyStatus == 2) {
50
+  //     return {
51
+  //       title: '驳回',
52
+  //       styleColor: 'red'
53
+
54
+  //     }
55
+
56
+  //   } else if (item.status == 2 && item.verifyStatus == 1) {
57
+  //     return {
58
+  //       title: '待发卡',
59
+  //       styleColor: ''
60
+
61
+  //     }
62
+  //   } else if (item.status == 3) {
63
+  //     return {
64
+  //       title: '已完成',
65
+  //       styleColor: '#04bd02'
66
+
67
+  //     }
68
+  //   }
69
+
70
+  // }
39
   const columns = [
71
   const columns = [
40
     {
72
     {
41
       title: '犬主',
73
       title: '犬主',
143
         <Button key={1} style={{ padding: 0 }} type="link"
175
         <Button key={1} style={{ padding: 0 }} type="link"
144
           onClick={() => goDetail(record.applyId)}
176
           onClick={() => goDetail(record.applyId)}
145
         >
177
         >
146
-          详情
178
+          {record.verifyStatus!=0?'详情':'审核'}
147
         </Button>
179
         </Button>
148
       ],
180
       ],
149
     },
181
     },