import React, { useEffect, useState } from 'react'; import { Descriptions } from 'antd'; import moment from "moment" import {CloseOutlined} from '@ant-design/icons'; import genDamImage from '../../../../components/DamGraph/DamImage'; import './TangYanBa.less' function YinShuiGongCheng({ id, data2, dispatch }) { const data = { "wadiCode": "1", "wadiName": "十咸引水渠道", "startLong": null, "startLat": null, "endLong": null, "endLat": null, "startLoc": null, "endLoc": null, "engGrad": null, "engScal": null, "toWrzName": null, "fromWrzName": null, "toBasName": null, "fromBasName": null, "engTask": null, "proWatTraLine": null, "proRangWatRec": null, "trlnTotLen": 11025, "cvlnTotLen": null, "desAnnDiv": null, "ditrMode": null, "engStat": null, "startDate": null, "compDate": null, "admDep": null, "note": null, "effDate": null, "exprDate": null, "desIrrArea": null, "actualIrrArea2": 5000, "desFlow": 0.5, "actualFlow": null, "buildDate": 757785600000, "investAmount": 271.7, "wadiUse": "野猫河上游高滩取水,并延伸至营坪寨解决县城居民饮水,以饮水为主,兼顾沿线灌溉", "imgs": [] } const closePop = () => { dispatch.runtime.closeFeaturePop(id); }; const width = 780; console.log(data,'------'); return ( <>