\documentclass{book}


  
\usepackage{xepersian}
\settextfont{XB Zar}


  \def\thechapter{\arabic{chapter})}%
  \def\thesection{\arabic{chapter}.\arabic{section})}%
  \def\thesubsection{\arabic{chapter}.\arabic{section}.\arabic{subsection})}%

\begin{document}
\tableofcontents
\chapter{هدف}
\section{پیشینه تحقیق}
\subsection{روش کار}

\end{document}