Task creation method and apparatus, electronic device and storage medium
Abstract
The present disclosure relates to a task creation method and apparatus, and an electronic device and a storage medium. The method comprises: acquiring a trigger operation of a user on a target task in a task catalog, wherein the target task has a target attachment; and in response to the trigger operation, displaying, on the basis of a permission of the user, a task viewing panel corresponding to the target task, wherein the task viewing panel has a first presentation style and a second presentation style regarding the target attachment, and the displaying, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises: displaying the task viewing panel on the basis of the permission of the user and by means of the first presentation style or the second presentation style.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A task creation method, comprising:
acquiring a trigger operation of a user on a target task in a task catalog, wherein the target task has a target attachment; and in response to the trigger operation, displaying, on the basis of a permission of the user, a task viewing panel corresponding to the target task, wherein the task viewing panel has a first presentation style and a second presentation style regarding the target attachment, and the displaying, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises: displaying the task viewing panel on the basis of the permission of the user and by means of the first presentation style or the second presentation style.
2 . The method according to claim 1 , wherein
the task viewing panel displays the target attachment in the first presentation style; and the task viewing panel does not display the target attachment in the second presentation style.
3 . The method according to claim 2 , wherein the displaying, in response to the trigger operation, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises:
in response to the trigger operation of the user on the target task, determining, on the basis of the permission of the user, that the user has an operation permission for the target attachment, and displaying the target attachment in the task viewing panel corresponding to the target task.
4 . The method according to claim 3 , wherein if the operation permission for the target attachment that the user has is a read permission, the method further comprises:
in response to a trigger operation of the user on the target attachment, allowing the user to view and/or download the target attachment.
5 . The method according to claim 3 , wherein if the operation permission for the target attachment that the user has is a write permission, the method further comprises:
in response to a trigger operation of the user on the target attachment, allowing the user to view, download and delete the target attachment.
6 . The method according to claim 3 , wherein if the operation permission for the target attachment that the user has is a write permission, the method further comprises:
in response to a trigger operation of adding another attachment to the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task.
7 . The method according to claim 6 , wherein the task viewing panel corresponding to the target task displays an ADD ATTACHMENT control; and
the in response to the trigger operation of adding another attachment to the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task, comprises: in response to a trigger operation on the ADD ATTACHMENT control in the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task.
8 . The method according to claim 3 , wherein the task viewing panel corresponding to the target task displays an ADD ATTACHMENT control; and
the method further comprises: in response to a trigger operation on the ADD ATTACHMENT control in the task viewing panel corresponding to the target task, if the user does not have a write permission, displaying prompt information of prohibiting adding another attachment.
9 . The method according to claim 2 , wherein the displaying, in response to the trigger operation, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises:
in response to the trigger operation of the user on the target task, determining, on the basis of the permission of the user, that the user does not have an operation permission for the target attachment, and not displaying the target attachment in the task viewing panel corresponding to the target task.
10 . The method according to claim 1 , wherein before the acquiring the trigger operation of the user on the target task in the task catalog, the method further comprises:
in response to a trigger operation of adding a target attachment in a task creation panel, adding the target attachment in the task creation panel; setting an operation permission for the target attachment; and creating the target task.
11 . The method according to claim 1 , wherein before the acquiring the trigger operation of the user on the target task in the task catalog, the method further comprises:
receiving an application programming interface (API) call request sent by a third-party system, the API call request being configured for requesting calling a target API; and providing the target API to the third-party system, and receiving task creation information sent by the third-party system through the target API, the task creation information comprising: data of a target attachment and operation permission information of the target attachment.
12 . The method according to claim 11 , wherein the task creation information further comprises: participant identification information; and
the method further comprises: analyzing the task creation information to acquire the participant identification information; and respectively pushing the target task to a client corresponding to the participant identification information, the target task having the target attachment.
13 . An electronic device, comprising: a processor configured to execute a computer program stored in a memory, the computer program, when executed by the processor, implementing steps of a task creation method comprising:
acquiring a trigger operation of a user on a target task in a task catalog, wherein the target task has a target attachment; and in response to the trigger operation, displaying, on the basis of a permission of the user, a task viewing panel corresponding to the target task, wherein the task viewing panel has a first presentation style and a second presentation style regarding the target attachment, and the displaying, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises: displaying the task viewing panel on the basis of the permission of the user and by means of the first presentation style or the second presentation style.
14 . The electronic device according to claim 13 , wherein:
the task viewing panel displays the target attachment in the first presentation style; and the task viewing panel does not display the target attachment in the second presentation style.
15 . The electronic device according to claim 14 , wherein the displaying, in response to the trigger operation, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises:
in response to the trigger operation of the user on the target task, determining, on the basis of the permission of the user, that the user has an operation permission for the target attachment, and displaying the target attachment in the task viewing panel corresponding to the target task.
16 . The electronic device according to claim 15 , wherein if the operation permission for the target attachment that the user has is a read permission, the method further comprises:
in response to a trigger operation of the user on the target attachment, allowing the user to view and/or download the target attachment.
17 . The electronic device according to claim 15 , wherein if the operation permission for the target attachment that the user has is a write permission, the method further comprises:
in response to a trigger operation of the user on the target attachment, allowing the user to view, download and delete the target attachment.
18 . The electronic device according to claim 15 , wherein if the operation permission for the target attachment that the user has is a write permission, the method further comprises:
in response to a trigger operation of adding another attachment to the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task.
19 . The electronic device according to claim 18 , wherein the task viewing panel corresponding to the target task displays an ADD ATTACHMENT control; and
the in response to the trigger operation of adding another attachment to the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task, comprises: in response to a trigger operation on the ADD ATTACHMENT control in the task viewing panel corresponding to the target task, allowing the user to add the another attachment to the task viewing panel corresponding to the target task.
20 . A non-transitory computer-readable storage medium having thereon stored a computer program which, when executed by a processor, implements steps of a task creation method comprising:
acquiring a trigger operation of a user on a target task in a task catalog, wherein the target task has a target attachment; and in response to the trigger operation, displaying, on the basis of a permission of the user, a task viewing panel corresponding to the target task, wherein the task viewing panel has a first presentation style and a second presentation style regarding the target attachment, and the displaying, on the basis of the permission of the user, the task viewing panel corresponding to the target task comprises: displaying the task viewing panel on the basis of the permission of the user and by means of the first presentation style or the second presentation style.Join the waitlist — get patent alerts
Track US2024345854A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.