A novel two-site chemodosimeter (SWJT-4) based on fluorescein skeleton to detect diethyl chlorophosphate (DCP) was designed and synthesized. It is a turn-on fluorescent probe for DCP with good selectivity and obvious color change in aqueous solution. Interestingly, the two oxime groups of SWJT-4 as dual response sites initiated different reactions with DCP to form a cyano group and an isoxazole ring, respectively. The corresponding mechanism was confirmed by 1H NMR, MS and DFT calculation. Moreover, SWJT-4 could be used as a fluorescent test paper to detect DCP vapor.