dev01 2 月之前
父節點
當前提交
acabbeae10
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      js/component/manageCenter/project/summary/projecDataStatistics.jsx

+ 10 - 0
js/component/manageCenter/project/summary/projecDataStatistics.jsx

@@ -428,6 +428,16 @@ const ProjecDataStatistics = Form.create()(React.createClass({
           title: "项目名称",
           dataIndex: "commodityName",
           key: "commodityName",
+          render: (text, record) => {
+            return (
+              <div style={{ maxWidth: 200 }}>
+                {text}
+                {!!record.serviceLife && <span>{"-" + record.serviceLife}</span>}
+                {!!record.yearSum && <span>{",共" + record.yearSum + "年"}</span>}
+                {!!record.serviceYear && <span>{",本次" + record.serviceYear}</span>}
+              </div>
+            )
+          }
         },
         {
           title: "项目转入时间",