Coder Social home page Coder Social logo

Comments (10)

18148764734 avatar 18148764734 commented on June 12, 2024 1

此ISSUE已记录,后续考虑添加该功能,感谢反馈

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

这个需求不太符合逻辑,既然要限制跨度,为什么不 通过设置start和end方式?

from uni-ui.

jinzong8 avatar jinzong8 commented on June 12, 2024

这个需求不太符合逻辑,既然要限制跨度,为什么不 通过设置start和end方式?

需要查询的是任意90天的跨度,限制的是查询的天数,而不限制具体查哪年的。 设置start和end只能限制固定的90天。

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

还是不太明白你的意思,能提供几个具体场景示例说明一下吗

from uni-ui.

jinzong8 avatar jinzong8 commented on June 12, 2024

还是不太明白你的意思,能提供几个具体场景示例说明一下吗

像我顶楼说的查询银行的历史清单,你可以选几年前的时间去查,但是每次查询跨度只能限制90天,也就是说一次只能查90天的数据。
主要用在对账的场景里,目的是限制每次查询的天数(减轻服务器压力),但是不限制你要对账的日期范围。
如图是美团外卖商家版的方案: 选中一个日期后,向前和向后都是只能选30天内的日期。
微信图片_20240220203938
微信图片_20240220203949

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

我大概了解你的意思了,再每次选择完日期之后,在change事件根据返回来的日期来动态设置start和end,使其一直保持在前后30天,这种符合你的需求吗

from uni-ui.

jinzong8 avatar jinzong8 commented on June 12, 2024

我大概了解你的意思了,再每次选择完日期之后,在change事件根据返回来的日期来动态设置start和end,使其一直保持在前后30天,这种符合你的需求吗

对的,选完日期以后有change事件就可以。
之前因为没有这个功能,我们最终在项目里只能采用单独选开始日期,再单独选结束日期的笨办法来折中实现了。

from uni-ui.

julytian avatar julytian commented on June 12, 2024

此ISSUE已记录,后续考虑添加该功能,感谢反馈

这个功能有排期么,挺实用的

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

此ISSUE已记录,后续考虑添加该功能,感谢反馈

这个功能有排期么,挺实用的

功能添加不难,但是需要考虑到新增属性歧义所带来的影响范围

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

已添加calendarClick事件。请到插件市场进行更新

from uni-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.