这个用户流程应该如何实现才能尽可能直观

发布于 2024-09-28 02:45:22 字数 977 浏览 6 评论 0原文

我必须创建这个流程:

  • 你有一个任意的人员列表,
  • 你必须按照 5-2 或 6-4(工作日和空闲日)设置他们的工作时间表,
  • 你必须提前几个月安排工作(通常是 3 或12)
  • 日程安排顺序重复
  • 日程安排顺序从任何人的任何一天开始 - 所以第一个工作日不一定是在您开始设置日程安排时的第一个星期一

所以这是我必须实施的过程。为了使其更快,我想在单个页面上为多人设置日程安排(因此是用户列表)。否则,人们可能会在某人的详细信息页面上执行此操作。

我想知道我应该如何在网络应用程序中实现它。我可以使用 Ajax 和高级动态场景。我想让它尽可能直观、简单,这样对于用户来说就不应该太复杂。

一种可能的解决方案

每个用户都会看到这种类型的列表行:

John Doe     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Jane Doe     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Joe Bloggs   | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Harry Wotsit | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
  1. 用户单击第一个序列的所有日期,使它们变为橙色/灰色(工作/空闲)
  2. 在序列上拖动(就像在 Excel 中拖动单元格来选择它们),然后末尾会出现一个图标(可能是一种箭头),
  3. 然后用户单击该图标即可将相同的序列复制到计划末尾(类似于 Excel 中所选单元格右下侧的小方块,使其只要拖动方块就可以复制这些单元格,

我不确定这是否是最佳且直观的过程。

I have to create this process:

  • you have an arbitrary list of people
  • you have to set their working schedule in terms of 5-2 or 6-4 (workdays and free days)
  • you have to schedule it for several months ahead (usually 3 or 12)
  • schedule sequence repeats
  • schedule sequence starts on any day for any person - so first work day is not necessarily on first Monday when you start setting schedule

So this is the process I have to implement. To make it more fast I want to set scheduling for multiple people on a single page (hence a list of users). Otherwise one would probably do this on some person's details page.

I wonder how should I implement this in a web application. I can use Ajax and advanced dynamic scenarios. I would like to make it as intuitive as possible and as simple as well so it shouldn't be to complicated for users doing it.

One possible solution

Each user is presented with this kind of a list row:

John Doe     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Jane Doe     | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Joe Bloggs   | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
Harry Wotsit | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ...
  1. User clicks all days of the first sequence to make them orange/grey (working/free)
  2. Drags over the sequence (like drag cells in Excel to select them) and then an icon would appear at the end (probably a sort of an arrow) that
  3. user would then click to copy the same sequence to the end of schedule (similar to the small square on the right-bottom side of selected cells in Excel that makes it possible to copy those cells as long as you drag the square around.

I'm not sure whether this is the optimal and intuitive process.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

相权↑美人 2024-10-05 02:45:22

一些提示:

  • 使用日历控件(或 mvc 中的等效控件),因为它比行更直观,
  • 尽量避免拖拽。下降,因为如果您必须多次执行它会很慢,
  • 请尝试最小化执行任务所需的点击次数。例如,当用户选择 5-2 术语类型并在日历中单击以标记工作日开始的日期时,应将此术语指定为默认值,以便用户在想要将另一个日期标记为 5-2 期间的开始时不必再次选择它。
  • 使用带有复选框的列表以允许选择多个用户

Few hints:

  • use calendar control ( or equivalent in mvc) since it is more intuitive than row
  • try to avoid drag & drop because it's slow if you have to do it many times
  • try to minimalize click number needed to do a task. For examample when user select 5-2 term type and click in calendar to mark date when workdays starts this term should be assigned as default so user dont have to choose it again when want to mark another date as starting of 5-2 period.
  • use list with checkboxs to allow selecting many users
哥,最终变帅啦 2024-10-05 02:45:22

有必要这么潇洒吗??

您可以简单地有几个文本框,“daysOn”,“daysOff”,“startDate”,“repeatX”

这将允许您简单地创建模式,然后您可以以某种时髦的方式显示它们。

另外,我可能会在每个用户的基础上执行此操作,因此一次用户,如果一家公司有数千名轮班工人,您将不希望一次性编辑或显示所有这些信息。你愿意吗?

希望这有帮助。

Does it have to be that snazzy??

You could simply have several text boxes, "daysOn", "daysOff", "startDate", "repeatX"

This would allow you to simply create patterns, which you could then display in some snazzy way.

Also, I would probably do this on a per user basis, so user at a time, if a company has several thousand workers on shift patterns you would not want to edit or display all that info in one shot. Would you??

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文