fangmingyue vor 2 Jahren
Ursprung
Commit
d9316c3212

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

@@ -34,7 +34,7 @@ const Title = (props) => {
34 34
 
35 35
   return (
36 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 39
           back && (
40 40
             <span onClick={goBack}><ArrowLeftOutlined style={backStyle} /></span>
@@ -42,7 +42,7 @@ const Title = (props) => {
42 42
         }
43 43
         {props.children}
44 44
       </Typography.Title>
45
-      <div style={{flex: 'none'}}>{extra}</div>
45
+      <div style={{ flex: 'none' }}>{extra}</div>
46 46
     </div>
47 47
   )
48 48
 }
@@ -54,9 +54,11 @@ export default (props) => {
54 54
   const style = meta.noLayout ? { height: '100%' } : pageStyle;
55 55
   const title = props.title || meta.title;
56 56
 
57
+  console.log('back', back);
58
+
57 59
   return (
58 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 62
       {props.children}
61 63
     </div>
62 64
   )

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

@@ -87,7 +87,7 @@ export default (props) => {
87 87
   }
88 88
 
89 89
   return (
90
-    <Page>
90
+    <Page back>
91 91
       {contextHolder}
92 92
       <ProTable
93 93
         rowKey="answerItemId"

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

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

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

@@ -73,8 +73,10 @@ export default (props) => {
73 73
         </Descriptions.Item>
74 74
         <Descriptions.Item label="截止日期">{fmDate(detail?.expireDate)}</Descriptions.Item>
75 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 78
         <Descriptions.Item label="问题描述" span={3}>
77
-          <div dangerouslySetInnerHTML={{__html: detail?.content}}></div>  
79
+          <div dangerouslySetInnerHTML={{ __html: detail?.content }}></div>
78 80
         </Descriptions.Item>
79 81
         <Descriptions.Item label="图片列表" span={3}>
80 82
           <AttachList attachList={detail?.attachList} />

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

@@ -13,8 +13,8 @@ export default (props) => {
13 13
   const id = params.get("id");
14 14
 
15 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 18
         <Process issueId={id} />
19 19
         <BasicProfile issueId={id} />
20 20
         <ApplyInfo issueId={id} />