Update README.md
Browse filesابزاری برای ساخت پروپوزال درس روش تحقیق رشته روانشناسی
README.md
CHANGED
@@ -1,3 +1,282 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- fa
|
5 |
+
base_model:
|
6 |
+
- deepseek-ai/DeepSeek-V3-0324
|
7 |
+
---
|
8 |
+
import React, { useState } from 'react';
|
9 |
+
|
10 |
+
const ProposalApp = () => {
|
11 |
+
// مراحل اصلی تدوین پروپوزال
|
12 |
+
const stages = [
|
13 |
+
{
|
14 |
+
id: 1,
|
15 |
+
title: "انتخاب عنوان و موضوع تحقیق",
|
16 |
+
description: "در این مرحله عنوان مناسب و موضوع تحقیق خود را انتخاب میکنید",
|
17 |
+
form: "titleForm"
|
18 |
+
},
|
19 |
+
{
|
20 |
+
id: 2,
|
21 |
+
title: "بیان مسأله",
|
22 |
+
description: "توضیح مشکل یا سؤالی که تحقیق به دنبال پاسخگویی به آن است",
|
23 |
+
form: "problemForm"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
id: 3,
|
27 |
+
title: "پیشینه تحقیق",
|
28 |
+
description: "مرور پژوهشهای قبلی در این حوزه",
|
29 |
+
form: "literatureForm"
|
30 |
+
},
|
31 |
+
{
|
32 |
+
id: 4,
|
33 |
+
title: "اهداف و سؤالات پژوهش",
|
34 |
+
description: "تعیین اهداف کلی، اهداف جزئی و سؤالات یا فرضیههای تحقیق",
|
35 |
+
form: "objectivesForm"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
id: 5,
|
39 |
+
title: "روششناسی تحقیق",
|
40 |
+
description: "توضیح روشهای جمعآوری و تحلیل دادهها",
|
41 |
+
form: "methodologyForm"
|
42 |
+
},
|
43 |
+
{
|
44 |
+
id: 6,
|
45 |
+
title: "تدوین ابزار تحقیق",
|
46 |
+
description: "طراحی یا انتخاب ابزارهای مناسب برای جمعآوری دادهها",
|
47 |
+
form: "toolsForm"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
id: 7,
|
51 |
+
title: "روش تحلیل دادهها",
|
52 |
+
description: "توضیح روشهای آماری یا کیفی تحلیل دادهها",
|
53 |
+
form: "analysisForm"
|
54 |
+
},
|
55 |
+
{
|
56 |
+
id: 8,
|
57 |
+
title: "زمانبندی و منابع",
|
58 |
+
description: "تعیین جدول زمانی انجام پژوهش و فهرست منابع",
|
59 |
+
form: "resourcesForm"
|
60 |
+
}
|
61 |
+
];
|
62 |
+
|
63 |
+
// متغیرهای وضعیت
|
64 |
+
const [currentStage, setCurrentStage] = useState(1);
|
65 |
+
const [proposalData, setProposalData] = useState({
|
66 |
+
title: "",
|
67 |
+
problem: "",
|
68 |
+
literature: "",
|
69 |
+
objectives: "",
|
70 |
+
questions: [],
|
71 |
+
methodology: "",
|
72 |
+
tools: "",
|
73 |
+
analysis: "",
|
74 |
+
timeline: "",
|
75 |
+
references: ""
|
76 |
+
});
|
77 |
+
const [showPreview, setShowPreview] = useState(false);
|
78 |
+
|
79 |
+
// مدیریت تغییر فیلدها
|
80 |
+
const handleChange = (field, value) => {
|
81 |
+
setProposalData({
|
82 |
+
...proposalData,
|
83 |
+
[field]: value
|
84 |
+
});
|
85 |
+
};
|
86 |
+
|
87 |
+
// رفتن به مرحله بعد
|
88 |
+
const goToNextStage = () => {
|
89 |
+
if (currentStage < stages.length) {
|
90 |
+
setCurrentStage(currentStage + 1);
|
91 |
+
} else {
|
92 |
+
setShowPreview(true);
|
93 |
+
}
|
94 |
+
};
|
95 |
+
|
96 |
+
// رفتن به مرحله قبل
|
97 |
+
const goToPreviousStage = () => {
|
98 |
+
if (currentStage > 1) {
|
99 |
+
setCurrentStage(currentStage - 1);
|
100 |
+
}
|
101 |
+
};
|
102 |
+
|
103 |
+
// فرم مرحله اول: انتخاب عنوان
|
104 |
+
const TitleForm = () => (
|
105 |
+
<div className="bg-white p-6 rounded-lg shadow-md">
|
106 |
+
<h3 className="text-lg font-bold mb-4">انتخاب عنوان تحقیق</h3>
|
107 |
+
<div className="mb-6">
|
108 |
+
<label className="block text-gray-700 mb-2">عنوان پروپوزال:</label>
|
109 |
+
<input
|
110 |
+
type="text"
|
111 |
+
value={proposalData.title}
|
112 |
+
onChange={(e) => handleChange("title", e.target.value)}
|
113 |
+
className="w-full border rounded p-2 text-right"
|
114 |
+
placeholder="عنوان پروپوزال خود را وارد کنید"
|
115 |
+
dir="rtl"
|
116 |
+
/>
|
117 |
+
</div>
|
118 |
+
|
119 |
+
<div className="bg-blue-50 p-4 rounded-md mb-4">
|
120 |
+
<h4 className="font-bold text-blue-800 mb-2">نکات برای انتخاب عنوان مناسب:</h4>
|
121 |
+
<ul className="list-disc pr-5 text-blue-700">
|
122 |
+
<li>عنوان باید مختصر، دقیق و گویا باشد (معمولاً زیر 20 کلمه)</li>
|
123 |
+
<li>متغیرهای اصلی تحقیق باید در عنوان مشخص باشند</li>
|
124 |
+
<li>جامعه آماری یا گروه هدف در عنوان مشخص شود</li>
|
125 |
+
<li>از کلمات مبهم و کلی اجتناب کنید</li>
|
126 |
+
</ul>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<div className="bg-green-50 p-4 rounded-md mb-4">
|
130 |
+
<h4 className="font-bold text-green-800 mb-2">نمونههای عنوان مناسب:</h4>
|
131 |
+
<ul className="list-disc pr-5 text-green-700">
|
132 |
+
<li>بررسی رابطه هوش هیجانی و موفقیت تحصیلی در دانشجویان روانشناسی دانشگاه تهران</li>
|
133 |
+
<li>تأثیر آموزش مهارتهای مدیریت استرس بر کاهش اضطراب امتحان در دانشآموزان دبیرستانی</li>
|
134 |
+
<li>مقایسه اثربخشی درمان شناختی-رفتاری و دارودرمانی در کاهش علائم افسردگی بیماران مبتلا به افسردگی اساسی</li>
|
135 |
+
</ul>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
);
|
139 |
+
|
140 |
+
// فرم مرحله دوم: بیان مسأله
|
141 |
+
const ProblemForm = () => (
|
142 |
+
<div className="bg-white p-6 rounded-lg shadow-md">
|
143 |
+
<h3 className="text-lg font-bold mb-4">بیان مسأله</h3>
|
144 |
+
<div className="mb-6">
|
145 |
+
<label className="block text-gray-700 mb-2">مسأله تحقیق:</label>
|
146 |
+
<textarea
|
147 |
+
value={proposalData.problem}
|
148 |
+
onChange={(e) => handleChange("problem", e.target.value)}
|
149 |
+
className="w-full border rounded p-2 h-32 text-right"
|
150 |
+
placeholder="مسأله تحقیق خود را توضیح دهید"
|
151 |
+
dir="rtl"
|
152 |
+
/>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div className="bg-blue-50 p-4 rounded-md mb-4">
|
156 |
+
<h4 className="font-bold text-blue-800 mb-2">راهنمای نوشتن بیان مسأله:</h4>
|
157 |
+
<ul className="list-disc pr-5 text-blue-700">
|
158 |
+
<li>مسأله را به روشنی تعریف کنید و اهمیت آن را توضیح دهید</li>
|
159 |
+
<li>خلأهای موجود در دانش فعلی را بیان کنید</li>
|
160 |
+
<li>به آمار و ارقام مرتبط با مسأله اشاره کنید</li>
|
161 |
+
<li>ضرورت و فواید انجام این تحقیق را توضیح دهید</li>
|
162 |
+
</ul>
|
163 |
+
</div>
|
164 |
+
|
165 |
+
<div className="bg-green-50 p-4 rounded-md mb-4">
|
166 |
+
<h4 className="font-bold text-green-800 mb-2">نمونه بیان مسأله:</h4>
|
167 |
+
<p className="text-green-700 text-right pr-5">
|
168 |
+
اضطراب امتحان یکی از مشکلات شایع در بین دانشآموزان است که طبق مطالعات، حدود 30 درصد دانشآموزان به آن مبتلا هستند.
|
169 |
+
این اختلال میتواند به افت عملکرد تحصیلی، کاهش اعتماد به نفس و ایجاد مشکلات روانی دیگر منجر شود.
|
170 |
+
با وجود مطالعات متعدد در این زمینه، هنوز روش مؤثر و کاربردی برای مدیریت اضطراب امتحان در بافت مدارس ایران بهطور
|
171 |
+
کامل بررسی نشده است. این تحقیق قصد دارد تا اثربخشی روشهای مختلف مدیریت استرس را بر کاهش اضطراب امتحان
|
172 |
+
دانشآموزان بررسی کند.
|
173 |
+
</p>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
);
|
177 |
+
|
178 |
+
// فرمهای سایر مراحل به طور مشابه ایجاد میشوند...
|
179 |
+
|
180 |
+
// نمایش پیشنمایش پروپوزال
|
181 |
+
const ProposalPreview = () => (
|
182 |
+
<div className="bg-white p-6 rounded-lg shadow-md text-right" dir="rtl">
|
183 |
+
<h2 className="text-xl font-bold mb-6 text-center">پیشنمایش پروپوزال</h2>
|
184 |
+
|
185 |
+
<h3 className="text-lg font-bold mb-2">عنوان تحقیق:</h3>
|
186 |
+
<p className="mb-4 p-2 bg-gray-50 rounded">{proposalData.title || "عنوان وارد نشده است"}</p>
|
187 |
+
|
188 |
+
<h3 className="text-lg font-bold mb-2">بیان مسأله:</h3>
|
189 |
+
<p className="mb-4 p-2 bg-gray-50 rounded">{proposalData.problem || "بیان مسأله وارد نشده است"}</p>
|
190 |
+
|
191 |
+
<h3 className="text-lg font-bold mb-2">پیشینه تحقیق:</h3>
|
192 |
+
<p className="mb-4 p-2 bg-gray-50 rounded">{proposalData.literature || "پیشینه تحقیق وارد نشده است"}</p>
|
193 |
+
|
194 |
+
<h3 className="text-lg font-bold mb-2">اهداف تحقیق:</h3>
|
195 |
+
<p className="mb-4 p-2 bg-gray-50 rounded">{proposalData.objectives || "اهداف تحقیق وارد نشده است"}</p>
|
196 |
+
|
197 |
+
<button
|
198 |
+
onClick={() => setShowPreview(false)}
|
199 |
+
className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 mt-4"
|
200 |
+
>
|
201 |
+
بازگشت به ویرایش
|
202 |
+
</button>
|
203 |
+
</div>
|
204 |
+
);
|
205 |
+
|
206 |
+
// انتخاب فرم مناسب برای مرحله فعلی
|
207 |
+
const renderCurrentForm = () => {
|
208 |
+
switch(currentStage) {
|
209 |
+
case 1:
|
210 |
+
return <TitleForm />;
|
211 |
+
case 2:
|
212 |
+
return <ProblemForm />;
|
213 |
+
// سایر حالتها بر اساس مراحل اضافه میشوند
|
214 |
+
default:
|
215 |
+
return <div>در حال آمادهسازی...</div>;
|
216 |
+
}
|
217 |
+
};
|
218 |
+
|
219 |
+
return (
|
220 |
+
<div className="mx-auto max-w-4xl p-4 bg-gray-50 min-h-screen">
|
221 |
+
<h1 className="text-2xl font-bold text-center mb-6">راهنمای نوشتن پروپوزال تحقیق روانشناسی</h1>
|
222 |
+
|
223 |
+
{!showPreview ? (
|
224 |
+
<>
|
225 |
+
{/* نمایش مراحل */}
|
226 |
+
<div className="flex justify-center mb-8 overflow-x-auto py-2">
|
227 |
+
{stages.map((stage) => (
|
228 |
+
<div
|
229 |
+
key={stage.id}
|
230 |
+
className={`px-3 py-1 mx-1 rounded-full text-sm cursor-pointer ${
|
231 |
+
currentStage === stage.id
|
232 |
+
? "bg-blue-600 text-white"
|
233 |
+
: currentStage > stage.id
|
234 |
+
? "bg-green-100 text-green-800"
|
235 |
+
: "bg-gray-200 text-gray-600"
|
236 |
+
}`}
|
237 |
+
onClick={() => setCurrentStage(stage.id)}
|
238 |
+
>
|
239 |
+
{stage.id}. {stage.title}
|
240 |
+
</div>
|
241 |
+
))}
|
242 |
+
</div>
|
243 |
+
|
244 |
+
{/* توضیحات مرحله فعلی */}
|
245 |
+
<div className="bg-blue-100 p-4 rounded-md mb-6 text-right" dir="rtl">
|
246 |
+
<h2 className="font-bold text-lg mb-2">{stages[currentStage-1].title}</h2>
|
247 |
+
<p>{stages[currentStage-1].description}</p>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
{/* فرم مرحله فعلی */}
|
251 |
+
{renderCurrentForm()}
|
252 |
+
|
253 |
+
{/* دکمههای ناوبری */}
|
254 |
+
<div className="flex justify-between mt-6">
|
255 |
+
<button
|
256 |
+
onClick={goToPreviousStage}
|
257 |
+
disabled={currentStage === 1}
|
258 |
+
className={`px-4 py-2 rounded ${
|
259 |
+
currentStage === 1
|
260 |
+
? "bg-gray-300 text-gray-500 cursor-not-allowed"
|
261 |
+
: "bg-gray-500 text-white hover:bg-gray-600"
|
262 |
+
}`}
|
263 |
+
>
|
264 |
+
مرحله قبل
|
265 |
+
</button>
|
266 |
+
|
267 |
+
<button
|
268 |
+
onClick={goToNextStage}
|
269 |
+
className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600"
|
270 |
+
>
|
271 |
+
{currentStage < stages.length ? "مرحله بعد" : "پیشنمایش پروپوزال"}
|
272 |
+
</button>
|
273 |
+
</div>
|
274 |
+
</>
|
275 |
+
) : (
|
276 |
+
<ProposalPreview />
|
277 |
+
)}
|
278 |
+
</div>
|
279 |
+
);
|
280 |
+
};
|
281 |
+
|
282 |
+
export default ProposalApp;
|