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: "项目转入时间",