|
|
|
@ -10,26 +10,88 @@ const Settingss = ({ status }) => { |
|
|
|
|
const { register, getValues } = useForm(); |
|
|
|
|
|
|
|
|
|
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="flex-grow flex-1 flex flex-col pl-5"> |
|
|
|
|
<div className="flex flex-col gap-y-7"> |
|
|
|
|
<CustomSelectBox |
|
|
|
|
options={[ |
|
|
|
|
{ title: "نام فرآیند" }, |
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
]} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
register={register("lastName")} |
|
|
|
|
label="توضیحات" |
|
|
|
|
type="textarea" |
|
|
|
|
borderClassname={`border border-red-[#E3E3E3] `} |
|
|
|
|
/> |
|
|
|
|
<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 gap-y-7 pl-5"> |
|
|
|
|
<CustomSelectBox |
|
|
|
|
options={[ |
|
|
|
|
{ title: "نام فرآیند" }, |
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|
]} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
register={register("lastName")} |
|
|
|
|
label="توضیحات" |
|
|
|
|
type="textarea" |
|
|
|
|
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 |
|
|
|
|
options={[ |
|
|
|
|
{ title: "اولویت دهی" }, |
|
|
|
|
{ title: "زمان تاخیر" }, |
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
@ -37,31 +99,17 @@ const Settingss = ({ status }) => { |
|
|
|
|
/> |
|
|
|
|
<CustomSelectBox |
|
|
|
|
options={[ |
|
|
|
|
{ title: "نوع فرآیند" }, |
|
|
|
|
{ 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 /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div className="flex-grow flex-1 flex flex-col pr-5"> |
|
|
|
|
<div className="flex flex-col gap-y-7"> |
|
|
|
|
<div className="w-full flex items-center gap-x-3"> |
|
|
|
|
<CustomSelectBox |
|
|
|
|
options={[ |
|
|
|
|
{ title: "انتخاب سرویس" }, |
|
|
|
|
{ title: "تایید خودکار" }, |
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
@ -69,7 +117,7 @@ const Settingss = ({ status }) => { |
|
|
|
|
/> |
|
|
|
|
<CustomSelectBox |
|
|
|
|
options={[ |
|
|
|
|
{ title: "انتخاب تابع" }, |
|
|
|
|
{ title: "انقضا" }, |
|
|
|
|
{ title: "شماره 1" }, |
|
|
|
|
{ title: "شماره 2" }, |
|
|
|
|
{ title: "شماره 3" }, |
|
|
|
|