current position:Home>Drag and drop Vue task list to assign to personnel

Drag and drop Vue task list to assign to personnel

2022-01-27 01:09:24 CSDN Q & A

Drag and drop the task in the task list to personnel ( The personnel are arranged in the nine palaces ), Personnel accept the task , Task list task status changes


Refer to the answer 1:

Just find a drag and drop plug-in , Let the task list drag and drop . Listen for drag and drop events , Get the mission , Define a variable ,isDrag, When dragging, it is assigned as true, Instead of false.
And then to v-for Bind the event of mouse pop-up by the personnel of mouseup, Judge in bound Events isDrag, If true, Then continue , Request the interface to assign tasks to him

Hope to adopt ^O^

Refer to the answer 2:

Refer to the answer 3:

Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.

Random recommended