SeATrans: Learning Segmentation-Assisted diagnosis model via Transformer