change staffs manage select date function and modify a bug