The bar-enhanced star-formation activities in spiral galaxies