fangmingyue vor 2 Jahren
Ursprung
Commit
d9316c3212

+ 5
- 3
src/components/Page/index.jsx Datei anzeigen

34
 
34
 
35
   return (
35
   return (
36
     <div style={titleStyle}>
36
     <div style={titleStyle}>
37
-      <Typography.Title level={3} style={{fontWeight: 400, flex: 'none'}}>
37
+      <Typography.Title level={3} style={{ fontWeight: 400, flex: 'none' }}>
38
         {
38
         {
39
           back && (
39
           back && (
40
             <span onClick={goBack}><ArrowLeftOutlined style={backStyle} /></span>
40
             <span onClick={goBack}><ArrowLeftOutlined style={backStyle} /></span>
42
         }
42
         }
43
         {props.children}
43
         {props.children}
44
       </Typography.Title>
44
       </Typography.Title>
45
-      <div style={{flex: 'none'}}>{extra}</div>
45
+      <div style={{ flex: 'none' }}>{extra}</div>
46
     </div>
46
     </div>
47
   )
47
   )
48
 }
48
 }
54
   const style = meta.noLayout ? { height: '100%' } : pageStyle;
54
   const style = meta.noLayout ? { height: '100%' } : pageStyle;
55
   const title = props.title || meta.title;
55
   const title = props.title || meta.title;
56
 
56
 
57
+  console.log('back', back);
58
+
57
   return (
59
   return (
58
     <div style={style}>
60
     <div style={style}>
59
-      { title && !meta.noLayout && <Title extra={extra} back={back}>{ title }</Title> }
61
+      {title && !meta.noLayout && <Title extra={extra} back={back}>{title}</Title>}
60
       {props.children}
62
       {props.children}
61
     </div>
63
     </div>
62
   )
64
   )

+ 1
- 1
src/pages/checkAnswer/loc/detail.jsx Datei anzeigen

87
   }
87
   }
88
 
88
 
89
   return (
89
   return (
90
-    <Page>
90
+    <Page back>
91
       {contextHolder}
91
       {contextHolder}
92
       <ProTable
92
       <ProTable
93
         rowKey="answerItemId"
93
         rowKey="answerItemId"

+ 2
- 2
src/pages/checkAnswer/survey/detail.jsx Datei anzeigen

79
     //   hideInSearch: true,
79
     //   hideInSearch: true,
80
     // }
80
     // }
81
   ]
81
   ]
82
-  
82
+
83
   const beforeSearchSubmit = (params) => {
83
   const beforeSearchSubmit = (params) => {
84
     paramsRef.current = params;
84
     paramsRef.current = params;
85
     return params;
85
     return params;
98
   }
98
   }
99
 
99
 
100
   return (
100
   return (
101
-    <Page>
101
+    <Page back>
102
       {contextHolder}
102
       {contextHolder}
103
       <ProTable
103
       <ProTable
104
         rowKey="answerItemId"
104
         rowKey="answerItemId"

+ 3
- 1
src/pages/issue/detail/components/BasicProfile.jsx Datei anzeigen

73
         </Descriptions.Item>
73
         </Descriptions.Item>
74
         <Descriptions.Item label="截止日期">{fmDate(detail?.expireDate)}</Descriptions.Item>
74
         <Descriptions.Item label="截止日期">{fmDate(detail?.expireDate)}</Descriptions.Item>
75
         <Descriptions.Item label="责任单位" span={2}>{detail?.orgName}</Descriptions.Item>
75
         <Descriptions.Item label="责任单位" span={2}>{detail?.orgName}</Descriptions.Item>
76
+        <Descriptions.Item label="办结时间">{fmDate(detail?.endDate)}</Descriptions.Item>
77
+        <Descriptions.Item label="交办次数" span={2}>{detail?.processNum}</Descriptions.Item>
76
         <Descriptions.Item label="问题描述" span={3}>
78
         <Descriptions.Item label="问题描述" span={3}>
77
-          <div dangerouslySetInnerHTML={{__html: detail?.content}}></div>  
79
+          <div dangerouslySetInnerHTML={{ __html: detail?.content }}></div>
78
         </Descriptions.Item>
80
         </Descriptions.Item>
79
         <Descriptions.Item label="图片列表" span={3}>
81
         <Descriptions.Item label="图片列表" span={3}>
80
           <AttachList attachList={detail?.attachList} />
82
           <AttachList attachList={detail?.attachList} />

+ 2
- 2
src/pages/issue/detail/index.jsx Datei anzeigen

13
   const id = params.get("id");
13
   const id = params.get("id");
14
 
14
 
15
   return (
15
   return (
16
-    <Page>
17
-      <Space direction="vertical"  size="middle" style={{ width: '100%' }}>
16
+    <Page back>
17
+      <Space direction="vertical" size="middle" style={{ width: '100%' }}>
18
         <Process issueId={id} />
18
         <Process issueId={id} />
19
         <BasicProfile issueId={id} />
19
         <BasicProfile issueId={id} />
20
         <ApplyInfo issueId={id} />
20
         <ApplyInfo issueId={id} />