\documentclass[a4paper,12pt]{report}
\usepackage{hyperref} % PDF links
\usepackage{titlesec}
\usepackage[extrafootnotefeatures,Kashida]{xepersian}
\SepMark{-}
\defpersianfont\nastaliq[Scale=1.1]{XB Zar}
\settextfont[Scale=1.1]{XB Zar}%Zar}
\setdigitfont{Yas}%Times New Roman}
\setlatintextfont{Times New Roman}
\flushbottom
 
\makeatletter
\def\thickhrule{\leavevmode \leaders \hrule height .5ex \hfill \kern \z@}
\def\position{\centering}
%% Note the difference between the commands the one is 
%% make and the other one is makes
\renewcommand{\@makechapterhead}[1]{%
	\vspace*{10\p@}%
	{\parindent \z@ \position \reset@font
		{\Huge\bfseries \@chapapp\space \thechapter}%\Huge \scshape  \thechapter }
		\par\nobreak
		\vspace*{140\p@}%
		\interlinepenalty\@M
		\thickhrule
		\par\nobreak
		\vspace*{2\p@}%
		{\Huge \bfseries #1\par\nobreak}
		\par\nobreak
		\vspace*{2\p@}%
		\thickhrule
		\vskip 40\p@
		\vskip 100\p@
}}

%% The following commands must be used if we want to change the Form of the title of tableofcontent ,...
\renewcommand\tableofcontents{%
	\if@twocolumn
	\@restonecoltrue\onecolumn
	\else
	\@restonecolfalse
	\fi
	\centerline{\Huge\bfseries\contentsname
		\@mkboth{%
			\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
	\vskip 40\p@
	\@starttoc{toc}%
	\if@restonecol\twocolumn\fi
}

\renewcommand{\@starttoc}[1]{%
	\hboxR to \textwidth{\textbf{عنوان} \hfill \textbf{صفحه}} 
	\begingroup
	\makeatletter
	\@input{\jobname.#1}%
	\if@filesw
	\expandafter\newwrite\csname tf@#1\endcsname
	\immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
	\fi
	\@nobreakfalse
	\endgroup}
\makeatletter 
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
	\refstepcounter{chapter}%
	\typeout{\@chapapp\space\thechapter.}%
	\addcontentsline{toc}{chapter}%
	{\@chapapp~\protect\numberline{\thechapter}#1}%
	\else
	\addcontentsline{toc}{chapter}{#1}%
	\fi
	\chaptermark{#1}%
	\addtocontents{lof}{\protect\addvspace{10\p@}}%
	\addtocontents{lot}{\protect\addvspace{10\p@}}%
	\if@twocolumn
	\@topnewpage[\@makechapterhead{#2}]%
	\else
	\@makechapterhead{#2} %
	\@afterheading
	\fi}
\renewcommand*\l@section{\@dottedtocline{1}{3.5em}{2.3em}}
\renewcommand*\l@subsection{\@dottedtocline{2}{5.8em}{3.2em}} 
\makeatother



\makeatletter
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
	\if@mainmatter
	\refstepcounter{chapter}%
	\typeout{\@chapapp\space\thechapter.}%
	\addcontentsline{toc}{chapter}
	{\chaptername~\protect\numberline{\@tartibi\c@chapter}~~#1}%
	\else
	\addcontentsline{toc}{chapter}{#1}%
	\fi
	\else
	\addcontentsline{toc}{chapter}{#1}%
	\fi
	\chaptermark{#1}%
	\addtocontents{lof}{\protect\addvspace{10\p@}}%
	\addtocontents{lot}{\protect\addvspace{10\p@}}%
	\if@twocolumn
	\@topnewpage[\@makechapterhead{#2}]%
	\else
	\@makechapterhead{#2}%
	\@afterheading
	\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*\l@section{\@dottedtocline{1}{4.3em}{2.3em}}        
\renewcommand*\l@subsection{\@dottedtocline{2}{6.5em}{3.2em}}  
\makeatother
 


\begin{document}

\tableofcontents

\chapter{چارچوب کلی}
\section{بخش2}
\section{بخش3}
\chapter{پراکندگی}
\section{دامنه}
\section{بخش1}
\chapter{پتانسیل}
\section{بخش3}
\section{بخش2}
\chapter{دامنه‌های پراکندگی برهم‌کنش‌های گرانشی مختلف}
\section{بخش 4}
\section{بخش 5}
	
	
\end{document}	
	