<<供电所技术台帐>>第二周完成进度

星期一:

本周开始做报表,具体思路是对于复杂的显示结果,就在数据库中建一个表,用存储过程将要求的数据填到表中,然后在查询到本地,简单的就直接用SQL查询出来!报表用quickrep来做,但是做一个保存为excel的功能

星期二:

在实际的操作过程中两个clientdataset实现主从关系的报表没有实现,没有办法,就用query直接代替!希望在本周能够解决!如果是一个表的就用clientdataset实现了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
const ElectricityWarningChart:React.FC = () => { const style: React.CSSProperties = {marginBottom: '10px', display: 'flex', justifyContent: 'center'} let dateStr: string= dayjs().format('YYYY-MM') const disabledDate = (current: any) => { return current > dayjs(); } const onChange: DatePickerProps['onChange'] = (date, dateString) => { dateStr = dateString }; return ( <> <ProCard className=" " title="电费管理-预警情况" headerBordered bordered extra={<Space direction="vertical"> <DatePicker onChange={onChange} picker="month" disabledDate={disabledDate} defaultValue={dayjs()} /> </Space>} style={{height: "380px", width: "28%"}}> <ProCard> <Row gutter={8}> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="无需缴费" value={2833} /> </div> </Col> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="运营商缴费" value={2519} /> </div> </Col> </Row> <Row gutter={8}> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="暂缓缴费" value={1222} /> </div> </Col> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="直供电" value={6699} /> </div> </Col> </Row> <Row gutter={8}> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="转供电当期" value={4080} /> </div> </Col> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="缴费逾期" value={436} /> </div> </Col> </Row> <Row gutter={8}> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="总站址数" value={4080} /> </div> </Col> <Col className="gutter-row" span={12}> <div style={style}> <Statistic title="缴费及时率" value={436} /> </div> </Col> </Row> </ProCard> </ProCard> </> ); }; export default ElectricityWarningChart; 这个代码可以如何优化
07-11

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值