|
|
@ -10,26 +10,88 @@ const Settingss = ({ status }) => { |
|
|
|
const { register, getValues } = useForm(); |
|
|
|
const { register, getValues } = useForm(); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="w-full flex flex-row items-start justify-between mx-auto rounded-sm shadow-sm divide-x-2 divide-[#E3E3E3] divide-x-reverse"> |
|
|
|
<div className="w-full flex flex-row items-start justify-between mx-auto divide-x-2 divide-[#E3E3E3] divide-x-reverse"> |
|
|
|
<div className="flex-grow flex-1 flex flex-col pl-5"> |
|
|
|
<div className="flex-grow flex-1 flex flex-col gap-y-7 pl-5"> |
|
|
|
<div className="flex flex-col gap-y-7"> |
|
|
|
<CustomSelectBox |
|
|
|
<CustomSelectBox |
|
|
|
options={[ |
|
|
|
options={[ |
|
|
|
{ title: "نام فرآیند" }, |
|
|
|
{ title: "نام فرآیند" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
]} |
|
|
|
]} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<Input |
|
|
|
<Input |
|
|
|
register={register("lastName")} |
|
|
|
register={register("lastName")} |
|
|
|
label="توضیحات" |
|
|
|
label="توضیحات" |
|
|
|
type="textarea" |
|
|
|
type="textarea" |
|
|
|
borderClassname={`border border-red-[#E3E3E3] `} |
|
|
|
borderClassname={`border border-red-[#E3E3E3] `} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "اولویت دهی" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "نوع فرآیند" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<div className="flex items-center justify-between rounded py-2 bg-[#FBFBFB] border focus:bg-[#f5f5f5] border-[#DBDBDB] focus:border-[#DBDBDB] focus:ring-transparent"> |
|
|
|
|
|
|
|
<p className="text-xs text-[#00253A] mr-5">وضیعت</p> |
|
|
|
|
|
|
|
<div className="ml-1"> |
|
|
|
|
|
|
|
<CircleInCircle |
|
|
|
|
|
|
|
parentClassName={`w-5 h-5 ${ |
|
|
|
|
|
|
|
status ? "bg-green-600" : "bg-red-600" |
|
|
|
|
|
|
|
}`}
|
|
|
|
|
|
|
|
childClassName={false} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<RadioButton /> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "انتخاب نقش های قابل ارجاع" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "انتخاب نقش انجام دهنده" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="flex-grow flex-1 flex flex-col pr-5 gap-y-7"> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "فرآیند مرجع" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
|
|
|
|
options={[ |
|
|
|
|
|
|
|
{ title: "فرآیندهای لینک" }, |
|
|
|
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
|
|
|
]} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<div className="w-full flex items-center gap-x-3"> |
|
|
|
<CustomSelectBox |
|
|
|
<CustomSelectBox |
|
|
|
options={[ |
|
|
|
options={[ |
|
|
|
{ title: "اولویت دهی" }, |
|
|
|
{ title: "زمان تاخیر" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
@ -37,31 +99,17 @@ const Settingss = ({ status }) => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
<CustomSelectBox |
|
|
|
<CustomSelectBox |
|
|
|
options={[ |
|
|
|
options={[ |
|
|
|
{ title: "نوع فرآیند" }, |
|
|
|
{ title: "مهلت انجام" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
]} |
|
|
|
]} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<div className="flex items-center justify-between rounded py-2 bg-[#FBFBFB] border focus:bg-[#f5f5f5] border-[#DBDBDB] focus:border-[#DBDBDB] focus:ring-transparent"> |
|
|
|
|
|
|
|
<p className="text-xs text-[#00253A] mr-5">وضیعت</p> |
|
|
|
|
|
|
|
<div className="ml-1"> |
|
|
|
|
|
|
|
<CircleInCircle |
|
|
|
|
|
|
|
parentClassName={`w-5 h-5 ${ |
|
|
|
|
|
|
|
status ? "bg-green-600" : "bg-red-600" |
|
|
|
|
|
|
|
}`}
|
|
|
|
|
|
|
|
childClassName={false} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<RadioButton /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="w-full flex items-center gap-x-3"> |
|
|
|
<div className="flex-grow flex-1 flex flex-col pr-5"> |
|
|
|
|
|
|
|
<div className="flex flex-col gap-y-7"> |
|
|
|
|
|
|
|
<CustomSelectBox |
|
|
|
<CustomSelectBox |
|
|
|
options={[ |
|
|
|
options={[ |
|
|
|
{ title: "انتخاب سرویس" }, |
|
|
|
{ title: "تایید خودکار" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
@ -69,7 +117,7 @@ const Settingss = ({ status }) => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
<CustomSelectBox |
|
|
|
<CustomSelectBox |
|
|
|
options={[ |
|
|
|
options={[ |
|
|
|
{ title: "انتخاب تابع" }, |
|
|
|
{ title: "انقضا" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 1" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 2" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|
{ title: "شماره 3" }, |
|
|
|