Explorar o código

完善项目汇总

HW %!s(int64=4) %!d(string=hai) anos
pai
achega
2437bbc073

+ 2 - 2
js/component/manageCenter/project/summary/highTech.jsx

@@ -365,7 +365,7 @@ class HighTech extends Component{
                             <span style={{display:"inline-block"}}>
                                 <span style={{marginRight:'10px',marginBottom:'10px'}}>项目分类 :</span>
                                 <Select
-                                    value={this.state.projectType || undefined}
+                                    value={typeof this.state.projectType === 'number' ? this.state.projectType : undefined}
                                     placeholder="请选择项目分类"
                                     style={{ width: 100,marginRight:'10px',marginBottom:'10px' }}
                                     onChange={(e) => {
@@ -474,7 +474,7 @@ class HighTech extends Component{
                             <span style={{display:"inline-block"}}>
                                 <span style={{marginRight:'10px',marginBottom:'10px'}}>项目情况 :</span>
                                 <Select
-                                    value={this.state.projectSituation || undefined}
+                                    value={typeof this.state.projectSituation === 'number' ? this.state.projectSituation : undefined}
                                     placeholder="请选择项目情况"
                                     style={{ width: 100,marginRight:'10px',marginBottom:'10px' }}
                                     onChange={(e) => {

+ 15 - 5
js/component/manageCenter/project/summary/highTechConfig.jsx

@@ -123,7 +123,9 @@ const highTechColumns =[
         dataIndex: "specialComment",
         key: "specialComment",
         render: (v) => (
-            <Tooltip placement="topRight" title={v}>
+            <Tooltip placement="topRight" title={v} overlayStyle={{
+                wordBreak:'break-all'
+            }}>
                 <div style={{
                     maxWidth: '120px',
                     overflow: "hidden",
@@ -227,7 +229,9 @@ const doubleSoft = [
         dataIndex: "specialComment",
         key: "specialComment",
         render: (v) => (
-            <Tooltip placement="topRight" title={v}>
+            <Tooltip placement="topRight" title={v} overlayStyle={{
+                wordBreak:'break-all'
+            }}>
                 <div style={{
                     maxWidth: '120px',
                     overflow: "hidden",
@@ -370,7 +374,9 @@ const softWriting = [
         dataIndex: "specialComment",
         key: "specialComment",
         render: (v) => (
-            <Tooltip placement="topRight" title={v}>
+            <Tooltip placement="topRight" title={v} overlayStyle={{
+                wordBreak:'break-all'
+            }}>
                 <div style={{
                     maxWidth: '120px',
                     overflow: "hidden",
@@ -525,7 +531,9 @@ const patent =[
         dataIndex: "specialComment",
         key: "specialComment",
         render: (v) => (
-            <Tooltip placement="topRight" title={v}>
+            <Tooltip placement="topRight" title={v} overlayStyle={{
+                wordBreak:'break-all'
+            }}>
                 <div style={{
                     maxWidth: '120px',
                     overflow: "hidden",
@@ -624,7 +632,9 @@ const currency = [
         dataIndex: "specialComment",
         key: "specialComment",
         render: (v) => (
-            <Tooltip placement="topRight" title={v}>
+            <Tooltip placement="topRight" title={v} overlayStyle={{
+                wordBreak:'break-all'
+            }}>
                 <div style={{
                     maxWidth: '120px',
                     overflow: "hidden",

+ 1 - 1
js/component/manageCenter/project/summary/projecCount.jsx

@@ -413,7 +413,7 @@ class ProjecCount extends Component{
                             <span style={{display:"inline-block"}}>
                                 <span style={{marginRight:'10px',marginBottom:'10px'}}>项目分类 :</span>
                                 <Select
-                                    value={this.state.projectType || undefined}
+                                    value={typeof this.state.projectType === 'number' ? this.state.projectType : undefined}
                                     placeholder="请选择项目分类"
                                     style={{ width: 100,marginRight:'10px',marginBottom:'10px' }}
                                     onChange={(e) => {