docs: 添加项目介绍文档和架构说明
This commit is contained in:
parent
9de6cb41f7
commit
5bfd958a1e
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -82,7 +82,7 @@ PaddleSpeech-develop/
|
|||
|
||||
######################################################################
|
||||
# 项目介绍目录(本地文档)
|
||||
项目介绍/
|
||||
# 项目介绍/ # 已取消忽略,需要上传到Git
|
||||
|
||||
######################################################################
|
||||
# 临时文档和调试文件(根目录下的中文 md/sql/bat 文件)
|
||||
|
|
|
|||
84
项目介绍/环境配置/1. 清空数据库.md
Normal file
84
项目介绍/环境配置/1. 清空数据库.md
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
-- ============================================
|
||||
-- 清空用户数据和问卷,保留量表配置和管理员账号
|
||||
-- 执行前请备份数据库!
|
||||
-- ============================================
|
||||
|
||||
-- 1. 关闭外键检查(避免删除顺序问题)
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ============================================
|
||||
-- 2. 清空测评相关数据
|
||||
-- ============================================
|
||||
|
||||
-- 清空测评答案
|
||||
DELETE FROM psy_assessment_answer;
|
||||
|
||||
-- 清空因子得分
|
||||
DELETE FROM psy_factor_score;
|
||||
|
||||
-- 清空测评报告
|
||||
DELETE FROM psy_assessment_report;
|
||||
|
||||
-- 清空测评记录
|
||||
DELETE FROM psy_assessment;
|
||||
|
||||
-- ============================================
|
||||
-- 3. 清空问卷相关数据
|
||||
-- ============================================
|
||||
|
||||
-- 清空问卷答案详情
|
||||
DELETE FROM psy_questionnaire_answer_detail;
|
||||
|
||||
-- 清空问卷答案
|
||||
DELETE FROM psy_questionnaire_answer;
|
||||
|
||||
-- 清空问卷报告
|
||||
DELETE FROM psy_questionnaire_report;
|
||||
|
||||
-- 清空问卷题目选项
|
||||
DELETE FROM psy_questionnaire_option;
|
||||
|
||||
-- 清空问卷题目
|
||||
DELETE FROM psy_questionnaire_item;
|
||||
|
||||
-- 清空问卷
|
||||
DELETE FROM psy_questionnaire;
|
||||
|
||||
-- ============================================
|
||||
-- 4. 清空用户档案和预警数据
|
||||
-- ============================================
|
||||
|
||||
-- 清空用户心理档案
|
||||
DELETE FROM psy_user_profile;
|
||||
|
||||
-- 清空预警记录
|
||||
DELETE FROM psy_warning;
|
||||
|
||||
-- ============================================
|
||||
-- 5. 清空测试用户(保留admin和ry)
|
||||
-- ============================================
|
||||
|
||||
-- 删除user_id > 2的所有用户(保留admin=1, ry=2)
|
||||
DELETE FROM sys_user WHERE user_id > 2;
|
||||
|
||||
-- ============================================
|
||||
-- 6. 重新开启外键检查
|
||||
-- ============================================
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
-- ============================================
|
||||
-- 验证清空结果
|
||||
-- ============================================
|
||||
SELECT '测评记录' as 表名, COUNT(*) as 记录数 FROM psy_assessment
|
||||
UNION ALL SELECT '测评答案', COUNT(*) FROM psy_assessment_answer
|
||||
UNION ALL SELECT '测评报告', COUNT(*) FROM psy_assessment_report
|
||||
UNION ALL SELECT '因子得分', COUNT(*) FROM psy_factor_score
|
||||
UNION ALL SELECT '问卷', COUNT(*) FROM psy_questionnaire
|
||||
UNION ALL SELECT '问卷答案', COUNT(*) FROM psy_questionnaire_answer
|
||||
UNION ALL SELECT '用户档案', COUNT(*) FROM psy_user_profile
|
||||
UNION ALL SELECT '预警记录', COUNT(*) FROM psy_warning
|
||||
UNION ALL SELECT '系统用户', COUNT(*) FROM sys_user;
|
||||
|
||||
-- 查看保留的数据
|
||||
SELECT '保留的量表' as 说明, COUNT(*) as 数量 FROM psy_scale
|
||||
UNION ALL SELECT '保留的用户', COUNT(*) FROM sys_user;
|
||||
84
项目介绍/环境配置/2. 修改大模型地址.md
Normal file
84
项目介绍/环境配置/2. 修改大模型地址.md
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
# 大模型环境配置说明
|
||||
|
||||
## 需要修改的文件列表
|
||||
|
||||
切换大模型环境时,需要修改以下文件:
|
||||
|
||||
| 文件路径 | 说明 |
|
||||
|----------|------|
|
||||
| `ry-xinli-admin/src/main/resources/application.yml` | Java后端配置,ollama.enabled和openai.enabled |
|
||||
| `xinli-ui/src/views/psychology/report/comprehensive.vue` | 综合评估页面,API_URL和MODEL |
|
||||
| `xinli-ui/src/views/psychology/report/detail.vue` | 报告详情页面,API_URL和MODEL |
|
||||
| `xinli-ui/src/views/psychology/report/index.vue` | 报告列表页面,API_URL和MODEL |
|
||||
|
||||
## 服务器环境
|
||||
|
||||
- **Python**: 3.8.6 (Windows)
|
||||
- **Ollama 模型**:
|
||||
- `nomic-embed-text:latest` (274 MB) - 向量嵌入
|
||||
- `deepseek-r1:32b` (19 GB) - 文本生成
|
||||
|
||||
## 配置方案
|
||||
|
||||
### 本地开发环境
|
||||
| 用途 | 模型 | 来源 |
|
||||
|------|------|------|
|
||||
| 向量嵌入 | `nomic-embed-text` | 本地 Ollama |
|
||||
| 文本生成 | `moonshot-v1-32k` | Kimi API (远程) |
|
||||
|
||||
### 服务器部署环境
|
||||
| 用途 | 模型 | 来源 |
|
||||
|------|------|------|
|
||||
| 向量嵌入 | `nomic-embed-text` | 本地 Ollama |
|
||||
| 文本生成 | `deepseek-r1:32b` | 本地 Ollama |
|
||||
|
||||
## 配置文件
|
||||
|
||||
### Python RAG 服务 (rag-python/config.py)
|
||||
本地和服务器配置相同:
|
||||
```python
|
||||
OLLAMA_URL = "http://localhost:11434"
|
||||
OLLAMA_EMBED_MODEL = "nomic-embed-text"
|
||||
```
|
||||
|
||||
### Java 后端 (application.yml)
|
||||
|
||||
**本地开发** - 使用 Kimi API:
|
||||
```yaml
|
||||
rag:
|
||||
mode: disabled
|
||||
python:
|
||||
url: http://localhost:5000
|
||||
enabled: true
|
||||
openai:
|
||||
base-url: https://api.moonshot.cn/v1
|
||||
api-key: sk-xxx
|
||||
generate-model: moonshot-v1-32k
|
||||
```
|
||||
|
||||
**服务器部署** - 使用本地 Ollama:
|
||||
```yaml
|
||||
rag:
|
||||
mode: disabled
|
||||
python:
|
||||
url: http://localhost:5000
|
||||
enabled: true
|
||||
ollama:
|
||||
url: http://localhost:11434
|
||||
generate-model: deepseek-r1:32b
|
||||
enabled: true
|
||||
```
|
||||
|
||||
## 启动顺序
|
||||
|
||||
1. `ollama serve` - 启动 Ollama 服务
|
||||
2. `rag-python/start.bat` - 启动 Python RAG 服务
|
||||
3. `java -jar xinli-admin.jar` - 启动 Java 后端
|
||||
|
||||
## 服务端口
|
||||
|
||||
| 服务 | 端口 |
|
||||
|------|------|
|
||||
| Ollama | 11434 |
|
||||
| Python RAG | 5000 |
|
||||
| Java 后端 | 30081 |
|
||||
160
项目介绍/环境配置/3. 前后端以及App访问地址.md
Normal file
160
项目介绍/环境配置/3. 前后端以及App访问地址.md
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
# 前后端及App访问地址配置
|
||||
|
||||
## 环境地址汇总
|
||||
|
||||
| 环境 | IP地址 | 说明 |
|
||||
|------|--------|------|
|
||||
| **本机开发** | 192.168.1.164 | 本地开发调试 |
|
||||
| **内网部署** | 192.168.0.106 | 服务器部署环境 |
|
||||
|
||||
## 需要修改的文件
|
||||
|
||||
### 1. App端(Android)
|
||||
| 文件路径 | 配置项 | 说明 |
|
||||
|----------|--------|------|
|
||||
| `xinli-App/app/src/main/java/com/xinli/app/MainActivity.java` | `FIXED_URL` | App访问的前端地址 |
|
||||
|
||||
**内网部署环境(当前):**
|
||||
```java
|
||||
private static final String FIXED_URL = "http://192.168.0.106:80?app=1";
|
||||
```
|
||||
|
||||
**切换回本机开发:**
|
||||
```java
|
||||
private static final String FIXED_URL = "http://192.168.1.164:80?app=1";
|
||||
```
|
||||
|
||||
### 2. 前端(Vue)
|
||||
| 文件路径 | 配置项 | 说明 |
|
||||
|----------|--------|------|
|
||||
| `xinli-ui/vue.config.js` | `baseUrl` | 开发环境后端地址 |
|
||||
| `xinli-ui/.env.production` | `VUE_APP_BASE_API` | 生产环境API前缀 |
|
||||
|
||||
**vue.config.js 当前配置:**
|
||||
```javascript
|
||||
const baseUrl = process.env.NODE_ENV === 'development'
|
||||
? 'http://localhost:30081' // 本地开发环境
|
||||
: '/api' // 生产环境(通过nginx代理)
|
||||
```
|
||||
|
||||
**生产环境说明:**
|
||||
- 生产环境使用 `/api` 前缀,由nginx代理到后端
|
||||
- 不需要修改前端代码,只需配置nginx
|
||||
|
||||
### 3. 后端(Java)
|
||||
| 文件路径 | 配置项 | 说明 |
|
||||
|----------|--------|------|
|
||||
| `ry-xinli-admin/src/main/resources/application.yml` | `server.port` | 后端服务端口 |
|
||||
|
||||
**当前配置:**
|
||||
```yaml
|
||||
server:
|
||||
port: 30081
|
||||
```
|
||||
|
||||
## 部署架构
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ 内网环境 (192.168.0.106) │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
|
||||
│ │ Nginx │ │ Java后端 │ │ Python RAG │ │
|
||||
│ │ :80 │───▶│ :30081 │───▶│ :5000 │ │
|
||||
│ └─────────────┘ └─────────────┘ └─────────────┘ │
|
||||
│ │ │ │ │
|
||||
│ │ │ ▼ │
|
||||
│ │ │ ┌─────────────┐ │
|
||||
│ │ │ │ Ollama │ │
|
||||
│ │ │ │ :11434 │ │
|
||||
│ │ │ └─────────────┘ │
|
||||
│ ▼ │ │
|
||||
│ ┌─────────────┐ │ │
|
||||
│ │ 前端静态 │ │ │
|
||||
│ │ 文件 │ │ │
|
||||
│ └─────────────┘ │ │
|
||||
│ │ │
|
||||
└───────────────────────────┼───────────────────────────────┘
|
||||
│
|
||||
▼
|
||||
┌─────────────┐
|
||||
│ Android │
|
||||
│ App │
|
||||
│ 访问:80 │
|
||||
└─────────────┘
|
||||
```
|
||||
|
||||
## Nginx配置示例
|
||||
|
||||
```nginx
|
||||
server {
|
||||
listen 80;
|
||||
server_name 192.168.0.106;
|
||||
|
||||
# 前端静态文件
|
||||
location / {
|
||||
root /www/wwwroot/xinli/dist;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# 后端API代理
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:30081/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
# RAG服务代理(如需外部访问)
|
||||
location /rag/ {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## 服务端口汇总
|
||||
|
||||
| 服务 | 端口 | 说明 |
|
||||
|------|------|------|
|
||||
| Nginx | 80 | 前端入口,App访问此端口 |
|
||||
| Java后端 | 30081 | 后端API服务 |
|
||||
| Python RAG | 5000 | 知识库检索服务 |
|
||||
| Ollama | 11434 | 大模型服务 |
|
||||
| MySQL | 3306 | 数据库(远程:1.15.149.240) |
|
||||
| Redis | 6379 | 缓存服务 |
|
||||
|
||||
## 切换到内网部署的步骤
|
||||
|
||||
1. **修改App地址**(如需要):
|
||||
```java
|
||||
// xinli-App/app/src/main/java/com/xinli/app/MainActivity.java
|
||||
private static final String FIXED_URL = "http://192.168.0.106:80?app=1";
|
||||
```
|
||||
|
||||
2. **重新打包App**:
|
||||
```bash
|
||||
cd xinli-App
|
||||
./gradlew assembleRelease
|
||||
```
|
||||
|
||||
3. **前端打包**(不需要修改代码):
|
||||
```bash
|
||||
cd xinli-ui
|
||||
npm run build:prod
|
||||
```
|
||||
|
||||
4. **配置Nginx**:将上述nginx配置应用到服务器
|
||||
|
||||
5. **启动服务**:
|
||||
```bash
|
||||
# 1. 启动Ollama
|
||||
ollama serve
|
||||
|
||||
# 2. 启动Python RAG
|
||||
cd rag-python && python app.py
|
||||
|
||||
# 3. 启动Java后端
|
||||
java -jar xinli-admin.jar
|
||||
```
|
||||
36
项目介绍/环境配置/4. 修改数据库地址.md
Normal file
36
项目介绍/环境配置/4. 修改数据库地址.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# 数据库配置切换
|
||||
|
||||
## 配置文件位置
|
||||
```
|
||||
ry-xinli-admin/src/main/resources/application-druid.yml
|
||||
```
|
||||
|
||||
## 开发环境配置(云服务器数据库)
|
||||
```yaml
|
||||
master:
|
||||
url: jdbc:mysql://1.15.149.240:3306/ry_xinli?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: ry_xinli
|
||||
password: ZLZBcfGtsWJe5r4z
|
||||
```
|
||||
|
||||
## 部署环境配置(本地数据库)
|
||||
```yaml
|
||||
master:
|
||||
url: jdbc:mysql://127.0.0.1:3306/ry_xinli?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: ry_xinli
|
||||
password: ZLZBcfGtsWJe5r4z
|
||||
```
|
||||
|
||||
## 切换方法
|
||||
|
||||
修改 `application-druid.yml` 中的 `master.url` 地址:
|
||||
|
||||
| 环境 | 数据库地址 | 说明 |
|
||||
|------|-----------|------|
|
||||
| 开发 | 1.15.149.240:3306 | 云服务器MySQL |
|
||||
| 部署 | 127.0.0.1:3306 | 本地MySQL |
|
||||
|
||||
## 注意事项
|
||||
1. 切换后需要重新打包后端:`mvn clean package -DskipTests`
|
||||
2. 确保目标数据库已创建 `ry_xinli` 数据库并导入表结构
|
||||
3. 用户名密码两个环境相同,无需修改
|
||||
11
项目介绍/环境配置/5. 打包命令.md
Normal file
11
项目介绍/环境配置/5. 打包命令.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
前端打包:
|
||||
xinli-ui文件夹
|
||||
npm run build:prod
|
||||
|
||||
后端打包:
|
||||
mvn clean package
|
||||
|
||||
App打包:
|
||||
xinli-App文件夹
|
||||
D:\0_Project\09_归档\01_Project_psychological\xinli\xinli-App\app\build\outputs\apk\release
|
||||
gradlew assembleRelease
|
||||
90
项目介绍/环境配置/6. RAG知识库部署.md
Normal file
90
项目介绍/环境配置/6. RAG知识库部署.md
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
# RAG知识库服务部署
|
||||
|
||||
## 部署文件结构
|
||||
|
||||
将以下文件夹整体复制到服务器:
|
||||
```
|
||||
rag-python/
|
||||
├── app.py # 主程序
|
||||
├── config.py # 配置文件
|
||||
├── knowledge_service.py # 知识库服务
|
||||
├── vector_store.py # 向量存储
|
||||
├── document_parser.py # 文档解析
|
||||
├── text_splitter.py # 文本分块
|
||||
├── file_watcher.py # 文件监控
|
||||
├── requirements.txt # 依赖
|
||||
├── knowledge_docs/ # 知识库文档(放txt/pdf/docx)
|
||||
├── index_data/ # 索引数据(自动生成)
|
||||
└── uploads/ # 上传临时目录
|
||||
```
|
||||
|
||||
## 部署步骤
|
||||
|
||||
### 1. 安装Python环境
|
||||
```bash
|
||||
# 确保Python 3.8+
|
||||
python --version
|
||||
|
||||
# 安装依赖
|
||||
cd rag-python
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
### 2. 确保Ollama已启动
|
||||
RAG服务依赖Ollama的嵌入模型:
|
||||
```bash
|
||||
# 检查Ollama状态
|
||||
ollama list
|
||||
|
||||
# 确保有 nomic-embed-text 模型
|
||||
ollama pull nomic-embed-text
|
||||
```
|
||||
|
||||
### 3. 启动RAG服务
|
||||
```bash
|
||||
cd rag-python
|
||||
python app.py
|
||||
```
|
||||
|
||||
或使用批处理:
|
||||
```bash
|
||||
start.bat
|
||||
```
|
||||
|
||||
服务启动后监听 `http://0.0.0.0:5000`
|
||||
|
||||
## 知识库文档
|
||||
|
||||
直接将文档放入 `rag-python/knowledge_docs/` 目录即可:
|
||||
- 支持格式:`.txt`, `.md`, `.pdf`, `.docx`
|
||||
- 服务启动时自动扫描并建立索引
|
||||
- 运行中添加新文件会自动检测并索引
|
||||
|
||||
## 验证服务
|
||||
|
||||
```bash
|
||||
# 健康检查
|
||||
curl http://localhost:5000/api/health
|
||||
|
||||
# 查看文档列表
|
||||
curl http://localhost:5000/api/documents
|
||||
|
||||
# 查看统计
|
||||
curl http://localhost:5000/api/stats
|
||||
```
|
||||
|
||||
## 与后端配合
|
||||
|
||||
后端 `application.yml` 中的RAG配置:
|
||||
```yaml
|
||||
rag:
|
||||
enabled: true
|
||||
service-url: http://127.0.0.1:5000
|
||||
```
|
||||
|
||||
## 注意事项
|
||||
|
||||
1. RAG服务需要在后端启动前启动
|
||||
2. 确保Ollama服务已运行且有 `nomic-embed-text` 模型
|
||||
3. 知识库文档放入 `knowledge_docs/` 后会自动索引
|
||||
4. 首次启动会建立索引,文档多时需要等待
|
||||
73
项目介绍/环境配置/大模型环境
Normal file
73
项目介绍/环境配置/大模型环境
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
# 大模型环境配置说明
|
||||
|
||||
## 服务器环境
|
||||
|
||||
- **Python**: 3.8.6 (Windows)
|
||||
- **Ollama 模型**:
|
||||
- `nomic-embed-text:latest` (274 MB) - 向量嵌入
|
||||
- `deepseek-r1:32b` (19 GB) - 文本生成
|
||||
|
||||
## 配置方案
|
||||
|
||||
### 本地开发环境
|
||||
| 用途 | 模型 | 来源 |
|
||||
|------|------|------|
|
||||
| 向量嵌入 | `nomic-embed-text` | 本地 Ollama |
|
||||
| 文本生成 | `moonshot-v1-32k` | Kimi API (远程) |
|
||||
|
||||
### 服务器部署环境
|
||||
| 用途 | 模型 | 来源 |
|
||||
|------|------|------|
|
||||
| 向量嵌入 | `nomic-embed-text` | 本地 Ollama |
|
||||
| 文本生成 | `deepseek-r1:32b` | 本地 Ollama |
|
||||
|
||||
## 配置文件
|
||||
|
||||
### Python RAG 服务 (rag-python/config.py)
|
||||
本地和服务器配置相同:
|
||||
```python
|
||||
OLLAMA_URL = "http://localhost:11434"
|
||||
OLLAMA_EMBED_MODEL = "nomic-embed-text"
|
||||
```
|
||||
|
||||
### Java 后端 (application.yml)
|
||||
|
||||
**本地开发** - 使用 Kimi API:
|
||||
```yaml
|
||||
rag:
|
||||
mode: disabled
|
||||
python:
|
||||
url: http://localhost:5000
|
||||
enabled: true
|
||||
openai:
|
||||
base-url: https://api.moonshot.cn/v1
|
||||
api-key: sk-xxx
|
||||
generate-model: moonshot-v1-32k
|
||||
```
|
||||
|
||||
**服务器部署** - 使用本地 Ollama:
|
||||
```yaml
|
||||
rag:
|
||||
mode: disabled
|
||||
python:
|
||||
url: http://localhost:5000
|
||||
enabled: true
|
||||
ollama:
|
||||
url: http://localhost:11434
|
||||
generate-model: deepseek-r1:32b
|
||||
enabled: true
|
||||
```
|
||||
|
||||
## 启动顺序
|
||||
|
||||
1. `ollama serve` - 启动 Ollama 服务
|
||||
2. `rag-python/start.bat` - 启动 Python RAG 服务
|
||||
3. `java -jar xinli-admin.jar` - 启动 Java 后端
|
||||
|
||||
## 服务端口
|
||||
|
||||
| 服务 | 端口 |
|
||||
|------|------|
|
||||
| Ollama | 11434 |
|
||||
| Python RAG | 5000 |
|
||||
| Java 后端 | 30081 |
|
||||
2231
项目介绍/环境配置/焦虑自评量表(SAS) .json
Normal file
2231
项目介绍/环境配置/焦虑自评量表(SAS) .json
Normal file
File diff suppressed because it is too large
Load Diff
113
项目介绍/环境配置/量表JSON配置-智能体提示词.md
Normal file
113
项目介绍/环境配置/量表JSON配置-智能体提示词.md
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
|
||||
你是一个专业的心理测量学专家,请帮我优化心理量表的JSON配置文件。
|
||||
|
||||
## 任务目标
|
||||
为量表添加完整的因子结构和解释配置,确保导入系统后能正确生成测评报告。
|
||||
|
||||
## 配置规则
|
||||
|
||||
### 1. 因子设计规则
|
||||
- 根据量表的心理学维度设计3-8个因子
|
||||
- 每个因子应包含相关联的题目(通过itemNumber关联)
|
||||
- 因子按心理学维度划分(如认知、情绪、躯体、行为、睡眠等)
|
||||
- 所有题目必须被分配到某个因子中,不能遗漏
|
||||
- 每道题目只能属于一个因子,不能重复分配
|
||||
- 每个因子的factorDescription不少于50字
|
||||
- 系统会自动将所有因子得分相加作为总分,无需创建"总分"因子
|
||||
|
||||
### 2. 分数范围计算规则(重要!)
|
||||
- 选项得分:根据量表实际情况设置(通常为0-3或1-4)
|
||||
- 因子分数范围 = 该因子包含的题目数 × 选项最低分 ~ 该因子包含的题目数 × 选项最高分
|
||||
- 总分范围 = 总题目数 × 选项最低分 ~ 总题目数 × 选项最高分
|
||||
- 例如:20题量表,每题0-3分,总分范围 = 0-60分
|
||||
|
||||
### 3. 解释配置规则
|
||||
|
||||
#### 因子解释(interpretations数组中factorCode不为null的项)
|
||||
- 每个因子配置4个等级:正常、轻度、中度、重度
|
||||
- 分数范围要覆盖该因子的完整分数区间,不能有遗漏
|
||||
- interpretationContent不少于50字
|
||||
- suggestions不少于30字
|
||||
- 必须包含factorCode字段(如"F1"、"F2"等)
|
||||
|
||||
#### 总体解释(interpretations数组中factorCode和factorId都为null的项)
|
||||
- 配置4个等级:正常、轻度、中度、重度
|
||||
- 分数范围要覆盖总分的完整区间(所有因子分数之和)
|
||||
- interpretationContent不少于100字(综合所有因子的整体评估)
|
||||
- suggestions不少于50字
|
||||
- factorCode和factorId必须都设为null
|
||||
- sortOrder从20开始(避免与因子解释冲突)
|
||||
|
||||
### 4. JSON结构要求
|
||||
|
||||
```json
|
||||
{
|
||||
"scale": { /* 量表基本信息 */ },
|
||||
"factors": [
|
||||
{
|
||||
"factor": {
|
||||
"factorCode": "F1",
|
||||
"factorName": "维度名称(如:认知情绪)",
|
||||
"factorDescription": "不少于50字的因子描述...",
|
||||
"factorOrder": 1
|
||||
},
|
||||
"rules": [
|
||||
{ "itemNumber": 1, "rule": { "weight": 1.0, "calculationType": "sum" } },
|
||||
{ "itemNumber": 2, "rule": { "weight": 1.0, "calculationType": "sum" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"factor": {
|
||||
"factorCode": "F2",
|
||||
"factorName": "另一个维度名称",
|
||||
"factorDescription": "不少于50字的因子描述...",
|
||||
"factorOrder": 2
|
||||
},
|
||||
"rules": [
|
||||
]
|
||||
}
|
||||
],
|
||||
"items": [ /* 题目和选项 */ ],
|
||||
"interpretations": [
|
||||
{
|
||||
"factorId": null,
|
||||
"factorCode": "F1",
|
||||
"scoreRangeMin": 0.0,
|
||||
"scoreRangeMax": 10.0,
|
||||
"level": "正常",
|
||||
"levelName": "正常水平",
|
||||
"interpretationTitle": "标题",
|
||||
"interpretationContent": "不少于50字的解释内容...",
|
||||
"suggestions": "建议内容...",
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"factorId": null,
|
||||
"factorCode": null,
|
||||
"scoreRangeMin": 0.0,
|
||||
"scoreRangeMax": 20.0,
|
||||
"level": "正常",
|
||||
"levelName": "总体正常",
|
||||
"interpretationTitle": "总体评估:正常",
|
||||
"interpretationContent": "不少于100字的综合评估...",
|
||||
"suggestions": "综合建议...",
|
||||
"sortOrder": 20
|
||||
}
|
||||
],
|
||||
"warningRules": [ /* 预警规则 */ ]
|
||||
}
|
||||
```
|
||||
|
||||
### 5. 重要检查清单
|
||||
- [ ] 所有题目都被分配到因子中,没有遗漏
|
||||
- [ ] 每道题目只属于一个因子,没有重复
|
||||
- [ ] 因子分数范围正确覆盖(题目数 × 分数范围)
|
||||
- [ ] 总分范围 = 所有因子分数范围之和
|
||||
- [ ] 总体解释的factorCode和factorId都是null
|
||||
- [ ] 解释内容专业、准确、符合心理学规范
|
||||
|
||||
## 输出要求
|
||||
- 输出完整的JSON文件
|
||||
- 确保所有分数范围正确覆盖,不能有遗漏区间
|
||||
- 确保总体解释的factorCode和factorId都是null
|
||||
- 确保解释内容专业、准确、符合心理学规范
|
||||
1978
项目介绍/量表/匹配的心理量表/Beck抑郁问卷.json
Normal file
1978
项目介绍/量表/匹配的心理量表/Beck抑郁问卷.json
Normal file
File diff suppressed because it is too large
Load Diff
1
项目介绍/量表/匹配的心理量表/EES_full.json
Normal file
1
项目介绍/量表/匹配的心理量表/EES_full.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
}
|
||||
12551
项目介绍/量表/匹配的心理量表/OLSON婚姻质量问卷 .json
Normal file
12551
项目介绍/量表/匹配的心理量表/OLSON婚姻质量问卷 .json
Normal file
File diff suppressed because it is too large
Load Diff
1651
项目介绍/量表/匹配的心理量表/交往焦虑量表(IAS) .json
Normal file
1651
项目介绍/量表/匹配的心理量表/交往焦虑量表(IAS) .json
Normal file
File diff suppressed because it is too large
Load Diff
13281
项目介绍/量表/匹配的心理量表/卡特尔十六种人格因素测验(16PF) .json
Normal file
13281
项目介绍/量表/匹配的心理量表/卡特尔十六种人格因素测验(16PF) .json
Normal file
File diff suppressed because it is too large
Load Diff
5579
项目介绍/量表/匹配的心理量表/家庭功能评定量表.json
Normal file
5579
项目介绍/量表/匹配的心理量表/家庭功能评定量表.json
Normal file
File diff suppressed because it is too large
Load Diff
5839
项目介绍/量表/匹配的心理量表/家庭教育方式综合测评.json
Normal file
5839
项目介绍/量表/匹配的心理量表/家庭教育方式综合测评.json
Normal file
File diff suppressed because it is too large
Load Diff
5641
项目介绍/量表/匹配的心理量表/家庭环境量表(FES) .json
Normal file
5641
项目介绍/量表/匹配的心理量表/家庭环境量表(FES) .json
Normal file
File diff suppressed because it is too large
Load Diff
9151
项目介绍/量表/匹配的心理量表/心理健康临床症状自评量表(SCL-90) .json
Normal file
9151
项目介绍/量表/匹配的心理量表/心理健康临床症状自评量表(SCL-90) .json
Normal file
File diff suppressed because it is too large
Load Diff
3451
项目介绍/量表/匹配的心理量表/总体幸福感量表(GWB).json
Normal file
3451
项目介绍/量表/匹配的心理量表/总体幸福感量表(GWB).json
Normal file
File diff suppressed because it is too large
Load Diff
3217
项目介绍/量表/匹配的心理量表/惧怕否定评价量表(FNE).json
Normal file
3217
项目介绍/量表/匹配的心理量表/惧怕否定评价量表(FNE).json
Normal file
File diff suppressed because it is too large
Load Diff
1891
项目介绍/量表/匹配的心理量表/抑郁自评量表(SDS) .json
Normal file
1891
项目介绍/量表/匹配的心理量表/抑郁自评量表(SDS) .json
Normal file
File diff suppressed because it is too large
Load Diff
34642
项目介绍/量表/匹配的心理量表/明尼苏达多相个性测查表.json
Normal file
34642
项目介绍/量表/匹配的心理量表/明尼苏达多相个性测查表.json
Normal file
File diff suppressed because it is too large
Load Diff
2405
项目介绍/量表/匹配的心理量表/汉密顿抑郁量表(HAMD) .json
Normal file
2405
项目介绍/量表/匹配的心理量表/汉密顿抑郁量表(HAMD) .json
Normal file
File diff suppressed because it is too large
Load Diff
5893
项目介绍/量表/匹配的心理量表/父母教养方式(EMBU) .json
Normal file
5893
项目介绍/量表/匹配的心理量表/父母教养方式(EMBU) .json
Normal file
File diff suppressed because it is too large
Load Diff
3631
项目介绍/量表/匹配的心理量表/状态-特质焦虑问卷(STAI).json
Normal file
3631
项目介绍/量表/匹配的心理量表/状态-特质焦虑问卷(STAI).json
Normal file
File diff suppressed because it is too large
Load Diff
1859
项目介绍/量表/匹配的心理量表/社交回避及苦恼量表(SAD) .json
Normal file
1859
项目介绍/量表/匹配的心理量表/社交回避及苦恼量表(SAD) .json
Normal file
File diff suppressed because it is too large
Load Diff
821
项目介绍/量表/匹配的心理量表/社会功能缺陷量表(SDSS) .json
Normal file
821
项目介绍/量表/匹配的心理量表/社会功能缺陷量表(SDSS) .json
Normal file
|
|
@ -0,0 +1,821 @@
|
|||
{
|
||||
"scale": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"scaleId": null,
|
||||
"scaleCode": "社会功能缺陷量表SDSS",
|
||||
"scaleName": "社会功能缺陷量表(SDSS)",
|
||||
"scaleEnName": "",
|
||||
"scaleType": "psychological assessment",
|
||||
"scaleVersion": "1.0",
|
||||
"scaleIntro": "社会功能缺陷筛选量表(Social Disability Screening Schedule,SDSS),来源于WHO制定试用的功能缺陷评定量表(Disability Assessment Schedule,DAS,1978年,该量表于1988年正式出版)。由我国十二地区精神疾病流行学协作调查组根据DAS的主要部分翻译并修订,主要用于评定精神病人的社会功能缺陷程度。在许多社区精神医学的调查中,均应用SDSS作为评定工具。",
|
||||
"scaleDescription": "以下是一些简单的问题,目的是了解受测者在家中和工作单位的一些情况,他(她)能不能做到他应该做的,在这些方面是否存在问题或困难。",
|
||||
"itemCount": 10,
|
||||
"estimatedTime": 5,
|
||||
"targetPopulation": "一般人群",
|
||||
"author": "",
|
||||
"source": "",
|
||||
"reference": "",
|
||||
"status": "0",
|
||||
"sortOrder": 0,
|
||||
"sourceType": "scale",
|
||||
"originalId": null
|
||||
},
|
||||
"factors": [
|
||||
{
|
||||
"factor": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"factorId": null,
|
||||
"scaleId": null,
|
||||
"factorCode": "F1",
|
||||
"factorName": "工作与家庭责任",
|
||||
"factorEnName": "Work & Family Responsibility",
|
||||
"factorDescription": "关注工作表现、家庭角色执行与计划性(如分担家务、完成任务、推动自我/家庭进步)。该维度反映受测者在日常职责中的投入度、可靠性与执行效率,是评估社会功能基础责任感的重要切面。",
|
||||
"factorOrder": 1
|
||||
},
|
||||
"rules": [
|
||||
{"itemNumber": 1, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 7, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 10, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}}
|
||||
]
|
||||
},
|
||||
{
|
||||
"factor": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"factorId": null,
|
||||
"scaleId": null,
|
||||
"factorCode": "F2",
|
||||
"factorName": "婚姻与亲子支持",
|
||||
"factorEnName": "Marriage & Parenting Support",
|
||||
"factorDescription": "评估婚姻沟通、情感支持、责任承担以及对孩子的照顾与陪伴。高分提示亲密关系中的疏离、冲突或责任缺位,可能影响家庭稳定与子女成长,需要关注支持系统与亲密互动质量。",
|
||||
"factorOrder": 2
|
||||
},
|
||||
"rules": [
|
||||
{"itemNumber": 2, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 3, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}}
|
||||
]
|
||||
},
|
||||
{
|
||||
"factor": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"factorId": null,
|
||||
"scaleId": null,
|
||||
"factorCode": "F3",
|
||||
"factorName": "社交参与与兴趣",
|
||||
"factorEnName": "Social Participation & Interest",
|
||||
"factorDescription": "聚焦社会交往、集体活动及对外界消息的关注程度。高分意味着社交回避或兴趣缺失,可能导致社会支持减少和功能受限;低分则提示较好的社会互动与信息获取能力。",
|
||||
"factorOrder": 3
|
||||
},
|
||||
"rules": [
|
||||
{"itemNumber": 4, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 5, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 9, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}}
|
||||
]
|
||||
},
|
||||
{
|
||||
"factor": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"factorId": null,
|
||||
"scaleId": null,
|
||||
"factorCode": "F4",
|
||||
"factorName": "自理与家庭内活动",
|
||||
"factorEnName": "Self-care & In-home Activity",
|
||||
"factorDescription": "涵盖家庭内部活动量与个人自理(卫生、饮食、居所整洁)。高分提示在家中长期无所事事或自理困难,需关注生活规律、家庭支持与日常技能训练。",
|
||||
"factorOrder": 4
|
||||
},
|
||||
"rules": [
|
||||
{"itemNumber": 6, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}},
|
||||
{"itemNumber": 8, "rule": {"createBy": "admin","createTime": "2025-12-14 14:47:04","updateBy": null,"updateTime": null,"remark": null,"ruleId": null,"factorId": null,"itemId": null,"optionIds": null,"weight": 1.0,"calculationType": "sum"}}
|
||||
]
|
||||
}
|
||||
],
|
||||
"items": [
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 1,
|
||||
"itemContent": "职业和工作:指工作和职业活动的能力、质量和效率,遵守纪律和规章制度,完成生产任务,在工作中与他人合作等。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 1
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "水平明显下降,出现问题,或需减轻工作",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "无法工作,或在工作中发生严重问题,可能或已经被处分",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 2,
|
||||
"itemContent": "婚姻职能:指夫妻间相互交流,共同处理家务,对对方负责,相互间的爱、支持和鼓励对方。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 2
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "有争吵,不交流,不支持,逃避责任",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "经常争吵,完全不理对方,或夫妻关系濒于破裂",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "D",
|
||||
"optionContent": "未婚",
|
||||
"optionScore": 3.0,
|
||||
"sortOrder": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 3,
|
||||
"itemContent": "父母职能:指对子女的生活照顾,情感交流,共同活动,以及关心子女的健康和成长。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 3
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "对子女不关心或缺乏兴趣",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "根本不负责任,或不得不由别人替他照顾孩子",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "D",
|
||||
"optionContent": "无子女",
|
||||
"optionScore": 3.0,
|
||||
"sortOrder": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 4,
|
||||
"itemContent": "社会性退缩:指主动回避和他人交往。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 4
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "确有回避他人的情况,经说服仍可克服",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "严重退缩,说服无效",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 5,
|
||||
"itemContent": "家庭外的社会活动:指和其它家庭及社会的接触和活动,以及参加集体活动的情况。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 5
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "不参加某些应该且可能参加的社会活动",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "不参加任何社会活动",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 6,
|
||||
"itemContent": "家庭内活动过少:指在家庭中不干事也不与人说话的情况。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 6
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "多数日子至少每天有2小时什么也不干",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "几乎整天什么都不干",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 7,
|
||||
"itemContent": "家庭职能:指日常家庭中应起的作用,如分担家务,参加家庭娱乐,讨论家庭事务等。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 7
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "不履行家庭义务,较少参加家庭活动",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "几乎不参加家庭活动,不理家人",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 8,
|
||||
"itemContent": "个人生活自理:指保持个人身体、衣饰、住处的整洁,大小便习惯,进食等。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 8
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "生活自理差",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "生活不能自理,影响自己和他人",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 9,
|
||||
"itemContent": "对外界的兴趣和关心:了解和关心单位、周围、当地和全国的重要消息和新闻。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 9
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "不大关心",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "完全不问不闻",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"item": {
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"itemId": null,
|
||||
"scaleId": null,
|
||||
"itemNumber": 10,
|
||||
"itemContent": "责任心和计划性:关心本人及家庭成员的进步,努力完成任务,发展新的兴趣或计划。",
|
||||
"itemType": "single",
|
||||
"required": "1",
|
||||
"reverseScore": "0",
|
||||
"sortOrder": 10
|
||||
},
|
||||
"options": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "A",
|
||||
"optionContent": "无缺陷",
|
||||
"optionScore": 0.0,
|
||||
"sortOrder": 1
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "B",
|
||||
"optionContent": "对进步和未来不关心",
|
||||
"optionScore": 1.0,
|
||||
"sortOrder": 2
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"optionId": null,
|
||||
"itemId": null,
|
||||
"optionCode": "C",
|
||||
"optionContent": "完全不关心进步和未来,没有主动性,对未来不考虑",
|
||||
"optionScore": 2.0,
|
||||
"sortOrder": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"interpretations": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"interpretationId": null,
|
||||
"scaleId": null,
|
||||
"factorId": null,
|
||||
"scoreRangeMin": 0.0,
|
||||
"scoreRangeMax": 5.5,
|
||||
"level": "正常",
|
||||
"levelName": "得分正常",
|
||||
"interpretationTitle": "得分正常",
|
||||
"interpretationContent": "总体得分处于正常范围,提示工作/家庭责任、婚姻与亲子支持、社交参与与兴趣、自理与家庭内活动等方面未见明显功能缺陷。当前生活结构和支持较为稳定,可继续保持规律作息、适度社交与家庭互动,遇到压力时及时沟通与求助以维持良好功能。",
|
||||
"suggestions": "保持现有节奏,继续规律作息与适度社交,定期自检压力与情绪状态。",
|
||||
"sortOrder": 0,
|
||||
"factorCode": null
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"interpretationId": null,
|
||||
"scaleId": null,
|
||||
"factorId": null,
|
||||
"scoreRangeMin": 5.5,
|
||||
"scoreRangeMax": 11.0,
|
||||
"level": "轻度",
|
||||
"levelName": "轻度异常",
|
||||
"interpretationTitle": "轻度异常",
|
||||
"interpretationContent": "整体提示轻度社会功能受限,可能在个别维度出现轻微困难,如社交回避、家庭职责执行不到位或自理与家庭内活动减少。建议通过时间管理、家庭沟通、逐步增加社交/兴趣活动来改善;若持续感到疲惫或回避,可尝试短期咨询以获取策略。",
|
||||
"suggestions": "尝试分解任务、增加小步社交与家庭互动;关注睡眠与作息,如持续困扰可求助咨询师。",
|
||||
"sortOrder": 1,
|
||||
"factorCode": null
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"interpretationId": null,
|
||||
"scaleId": null,
|
||||
"factorId": null,
|
||||
"scoreRangeMin": 11.0,
|
||||
"scoreRangeMax": 16.5,
|
||||
"level": "中度",
|
||||
"levelName": "中度异常",
|
||||
"interpretationTitle": "中度异常",
|
||||
"interpretationContent": "得分显示中度社会功能缺陷,工作/家庭责任、亲密支持、社交参与或自理中的多项可能同时受影响,已明显影响日常效率或人际质量。建议尽快进行专业评估,制定可执行的家庭/社交支持与行为激活计划,必要时结合心理咨询或康复训练以防进一步下降。",
|
||||
"suggestions": "尽快咨询专业人士,制定分步改进计划(作息、家务分担、社交/兴趣激活);必要时寻求家庭或社区支持。",
|
||||
"sortOrder": 2,
|
||||
"factorCode": null
|
||||
},
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"interpretationId": null,
|
||||
"scaleId": null,
|
||||
"factorId": null,
|
||||
"scoreRangeMin": 16.5,
|
||||
"scoreRangeMax": 22.0,
|
||||
"level": "重度",
|
||||
"levelName": "重度异常",
|
||||
"interpretationTitle": "重度异常",
|
||||
"interpretationContent": "得分处于重度范围,提示在多个维度存在显著缺陷(如工作/家庭职责无法履行、亲密关系严重受损、明显社交退缩、长期自理困难)。此状态可能对安全、健康和社会角色造成明显影响。强烈建议立即寻求专业评估与干预,制定综合支持计划(心理咨询、家庭/社区协助、必要时医疗与康复措施)。",
|
||||
"suggestions": "立即寻求专业帮助,结合家庭/社区支持与心理干预;必要时评估医疗与康复资源,优先保障安全与基本生活自理。",
|
||||
"sortOrder": 3,
|
||||
"factorCode": null
|
||||
}
|
||||
],
|
||||
"warningRules": [
|
||||
{
|
||||
"createBy": "admin",
|
||||
"createTime": "2025-12-14 14:47:04",
|
||||
"updateBy": "",
|
||||
"updateTime": null,
|
||||
"remark": null,
|
||||
"ruleId": null,
|
||||
"scaleId": null,
|
||||
"factorId": null,
|
||||
"ruleName": "社会功能缺陷量表(SDSS)高分预警",
|
||||
"warningLevel": "紧急",
|
||||
"scoreMin": 11.0,
|
||||
"scoreMax": 22.0,
|
||||
"percentileMin": 0.0,
|
||||
"percentileMax": 0.0,
|
||||
"autoRelief": "0",
|
||||
"reliefCondition": null,
|
||||
"status": "1",
|
||||
"factorName": null,
|
||||
"scaleName": null,
|
||||
"factorCode": null
|
||||
}
|
||||
]
|
||||
}
|
||||
1549
项目介绍/量表/匹配的心理量表/社会支持量表(SSQ) .json
Normal file
1549
项目介绍/量表/匹配的心理量表/社会支持量表(SSQ) .json
Normal file
File diff suppressed because it is too large
Load Diff
1951
项目介绍/量表/匹配的心理量表/社会能力评定量表(RSSA).json
Normal file
1951
项目介绍/量表/匹配的心理量表/社会能力评定量表(RSSA).json
Normal file
File diff suppressed because it is too large
Load Diff
1631
项目介绍/量表/匹配的心理量表/社会适应性自评问卷 .json
Normal file
1631
项目介绍/量表/匹配的心理量表/社会适应性自评问卷 .json
Normal file
File diff suppressed because it is too large
Load Diff
7593
项目介绍/量表/匹配的心理量表/罪犯个性分测验(COPA-PI).json
Normal file
7593
项目介绍/量表/匹配的心理量表/罪犯个性分测验(COPA-PI).json
Normal file
File diff suppressed because it is too large
Load Diff
10704
项目介绍/量表/匹配的心理量表/罪犯心理结构状况分测验(COPA-SCMI).json
Normal file
10704
项目介绍/量表/匹配的心理量表/罪犯心理结构状况分测验(COPA-SCMI).json
Normal file
File diff suppressed because it is too large
Load Diff
4970
项目介绍/量表/匹配的心理量表/罪犯犯罪心理结构变化状况分测验(COPA-TCMI) .json
Normal file
4970
项目介绍/量表/匹配的心理量表/罪犯犯罪心理结构变化状况分测验(COPA-TCMI) .json
Normal file
File diff suppressed because it is too large
Load Diff
4360
项目介绍/量表/匹配的心理量表/罪犯社会适应状况分测验(COPA-SAI) .json
Normal file
4360
项目介绍/量表/匹配的心理量表/罪犯社会适应状况分测验(COPA-SAI) .json
Normal file
File diff suppressed because it is too large
Load Diff
1676
项目介绍/量表/匹配的心理量表/自信心测验.json
Normal file
1676
项目介绍/量表/匹配的心理量表/自信心测验.json
Normal file
File diff suppressed because it is too large
Load Diff
4687
项目介绍/量表/匹配的心理量表/自卑感量表(FIS).json
Normal file
4687
项目介绍/量表/匹配的心理量表/自卑感量表(FIS).json
Normal file
File diff suppressed because it is too large
Load Diff
1021
项目介绍/量表/匹配的心理量表/自尊量表(SES).json
Normal file
1021
项目介绍/量表/匹配的心理量表/自尊量表(SES).json
Normal file
File diff suppressed because it is too large
Load Diff
15928
项目介绍/量表/匹配的心理量表/艾森克情绪稳定性测验(EES) .json
Normal file
15928
项目介绍/量表/匹配的心理量表/艾森克情绪稳定性测验(EES) .json
Normal file
File diff suppressed because it is too large
Load Diff
1729
项目介绍/量表/匹配的心理量表/领悟社会支持量表(PSSS) .json
Normal file
1729
项目介绍/量表/匹配的心理量表/领悟社会支持量表(PSSS) .json
Normal file
File diff suppressed because it is too large
Load Diff
2569
项目介绍/量表/完美的量表/焦虑自评量表(SAS) .json
Normal file
2569
项目介绍/量表/完美的量表/焦虑自评量表(SAS) .json
Normal file
File diff suppressed because it is too large
Load Diff
6351
项目介绍/量表/完美的量表/父母教养方式(EMBU).json
Normal file
6351
项目介绍/量表/完美的量表/父母教养方式(EMBU).json
Normal file
File diff suppressed because it is too large
Load Diff
7363
项目介绍/量表/完美的量表/艾森克人格测验(EPQ)成人版.json
Normal file
7363
项目介绍/量表/完美的量表/艾森克人格测验(EPQ)成人版.json
Normal file
File diff suppressed because it is too large
Load Diff
2733
项目介绍/项目/心理备份.sql
Normal file
2733
项目介绍/项目/心理备份.sql
Normal file
File diff suppressed because one or more lines are too long
1229
项目介绍/项目架构说明.md
Normal file
1229
项目介绍/项目架构说明.md
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user