You Only Train Once: A Flexible Training Framework for Code Vulnerability Detection Driven by Vul-Vector