Add dashboard.js.
Edit batch check by parameter.

Signed-off-by: robertzml <robertzml@126.com>