Browse Source

feat: 添加设置界面

develop
song 4 years ago
parent
commit
7ca0c597b3
  1. 269
      CHANGELOG.md
  2. 9
      src/App.vue
  3. 57
      src/common/styles/tailwind.scss
  4. 65
      src/components/ConfigInfo/ConfigInfo.vue
  5. 73
      src/components/ConfigInfo/components/Caregiver.vue
  6. 26
      src/components/ConfigInfo/components/Family.vue
  7. 558
      src/components/ConfigInfo/components/Info.vue
  8. 73
      src/components/ConfigInfo/components/Medicine.vue
  9. 437
      src/components/ConfigInfo/components/config.js

269
CHANGELOG.md

@ -1,58 +1,8 @@
# 0.1.0 (2021-11-01)
# 0.1.0 (2021-11-03)
### 🌟 新功能
范围|描述|commitId
--|--|--
- | 绑定手机号 | [52e0352](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/52e0352)
- | 标题栏变化 | [3898cfe](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3898cfe)
- | 标题栏变化 | [c0fcd9d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c0fcd9d)
- | 标题栏角色栏全局任务组件新建 | [0500cb4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0500cb4)
- | 插件参数处理调整 | [a3e68d3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3e68d3)
- | 插件数据获取 | [5b91bdc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5b91bdc)
- | 存token | [b8a178d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b8a178d)
- | 导入项目,更新项目 | [5e06adf](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5e06adf)
- | 导入项目后提示并打开项目详情页 | [410f527](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/410f527)
- | 导入wbs | [1224fcb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1224fcb)
- | 登录时提示是否合并账号样式修改 | [d82bf1a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d82bf1a)
- | 登录提示是否合并账号 | [6a9b054](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6a9b054)
- | 点击日历日期查询项目列表 | [c458385](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c458385)
- | 定期任务面板骨架屏添加 | [b2698c0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b2698c0)
富文本插件 | 富文本插件demo测试 | [ed3d644](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ed3d644)
- | 缓存修改 | [63e1f0d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/63e1f0d)
- | 获取用户收取那,提交用户信息 | [a3c54f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3c54f1)
- | 角色栏实现 | [94cd671](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/94cd671)
- | 距调整pc端 | [5069aa1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5069aa1)
- | 面变化首页变化 | [5e860f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5e860f1)
- | 模拟接口测试 | [69e7931](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/69e7931)
- | 配置默认插件接口 | [f0c177d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f0c177d)
- | 全局插件及默认插件位置修改 | [6c80d08](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6c80d08)
- | 任务进行中状态数字 | [27b7326](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/27b7326)
- | 任务状态时间显示 | [56f5183](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/56f5183)
- | 日常任务插件调整 | [c1881f9](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c1881f9)
- | 日历定位;合并 | [ea3f937](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ea3f937)
- | 删除项目 | [00b886c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/00b886c)
- | 上传逻辑变化 | [3ff1dc2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3ff1dc2)
- | 设置小红点 | [9316bcb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9316bcb)
- | 升级版本v3.1.0;tailwindcss添加class | [9ef05e1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9ef05e1)
- | 时间基准线,默认插件 | [a33ba1e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a33ba1e)
- | 时间轴界面 | [33927e9](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/33927e9)
- | 时间轴修改状态时提示框增加 | [e841392](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e841392)
- | 适配小程序;小程序登录 | [cefc0eb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cefc0eb)
- | 首页项目样式改变 | [8514c85](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8514c85)
- | 提交到本地 | [9cbe411](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9cbe411)
- | 添加 环境变量,动态控制webview project的path | [8a40481](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8a40481)
- | 添加时间轴上下滚动 | [2b81bbc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2b81bbc)
- | 添加项目排序 | [a0b491b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a0b491b)
- | 添加子任务插件 子项目插件 | [7bda7e2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7bda7e2)
- | 细节调整,添加project-webview | [4d9050b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4d9050b)
- | 向右箭头图标变化 | [8e9ca55](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8e9ca55)
- | 项目合并整理,设置页面添加 | [725491a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/725491a)
- | 项目列表, 项目url | [32e005b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/32e005b)
- | 项目列表排序 | [224c58b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/224c58b)
- | 项目api url设置 | [6cd5245](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6cd5245)
- | 修改小程序id | [4206bf2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4206bf2)
- | 引入dayjs | [29b8b93](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/29b8b93)
- | 字体大小更改 | [82cfdd4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/82cfdd4)
- | api封装 | [7d4edfc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7d4edfc)
bind phone | 图形验证码;短信验证码;绑定手机号 | [93ffea2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/93ffea2)
- | cache indexedDB处理 | [3388967](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3388967)
@ -67,100 +17,151 @@
plugin | 插件添加了token及param参数 | [aeb0292](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/aeb0292)
- | post 封装 | [da52e94](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/da52e94)
- | tailwindcss添加部分属性 | [5b46b6d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5b46b6d)
- | tall插件封装 | [1bcb920](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1bcb920)
- | tall和时间轴结合 | [57c387a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/57c387a)
- | tall和时间轴结合 | [cfacd6e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cfacd6e)
- | tall插件封装 | [1bcb920](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1bcb920)
task status | 任务状态切换未完 | [7ffd135](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7ffd135)
- | ws storage | [21b3a06](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/21b3a06)
- | 上传逻辑变化 | [3ff1dc2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3ff1dc2)
- | 任务状态时间显示 | [56f5183](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/56f5183)
- | 任务进行中状态数字 | [27b7326](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/27b7326)
- | 修改小程序id | [4206bf2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4206bf2)
- | 全局插件及默认插件位置修改 | [6c80d08](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6c80d08)
- | 删除项目 | [00b886c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/00b886c)
- | 升级版本v3.1.0;tailwindcss添加class | [9ef05e1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9ef05e1)
- | 向右箭头图标变化 | [8e9ca55](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8e9ca55)
- | 字体大小更改 | [82cfdd4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/82cfdd4)
- | 存token | [b8a178d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b8a178d)
- | 定期任务面板骨架屏添加 | [b2698c0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b2698c0)
富文本插件 | 富文本插件demo测试 | [ed3d644](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ed3d644)
- | 导入wbs | [1224fcb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1224fcb)
- | 导入项目,更新项目 | [5e06adf](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5e06adf)
- | 导入项目后提示并打开项目详情页 | [410f527](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/410f527)
- | 引入dayjs | [29b8b93](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/29b8b93)
- | 提交到本地 | [9cbe411](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9cbe411)
- | 插件参数处理调整 | [a3e68d3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3e68d3)
- | 插件数据获取 | [5b91bdc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5b91bdc)
- | 日历定位;合并 | [ea3f937](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ea3f937)
- | 日常任务插件调整 | [c1881f9](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c1881f9)
- | 时间基准线,默认插件 | [a33ba1e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a33ba1e)
- | 时间轴修改状态时提示框增加 | [e841392](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e841392)
- | 时间轴界面 | [33927e9](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/33927e9)
- | 标题栏变化 | [3898cfe](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3898cfe)
- | 标题栏变化 | [c0fcd9d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c0fcd9d)
- | 标题栏角色栏全局任务组件新建 | [0500cb4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0500cb4)
- | 模拟接口测试 | [69e7931](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/69e7931)
- | 添加 环境变量,动态控制webview project的path | [8a40481](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8a40481)
- | 添加子任务插件 子项目插件 | [7bda7e2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7bda7e2)
- | 添加时间轴上下滚动 | [2b81bbc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2b81bbc)
- | 添加项目排序 | [a0b491b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a0b491b)
- | 点击日历日期查询项目列表 | [c458385](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c458385)
- | 登录提示是否合并账号 | [6a9b054](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6a9b054)
- | 登录时提示是否合并账号样式修改 | [d82bf1a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d82bf1a)
- | 细节调整,添加project-webview | [4d9050b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4d9050b)
- | 绑定手机号 | [52e0352](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/52e0352)
- | 缓存修改 | [63e1f0d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/63e1f0d)
- | 获取用户收取那,提交用户信息 | [a3c54f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3c54f1)
- | 角色栏实现 | [94cd671](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/94cd671)
- | 设置小红点 | [9316bcb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9316bcb)
- | 设置界面基本信息板块开发 | [bbaded0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/bbaded0)
- | 距调整pc端 | [5069aa1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5069aa1)
- | 适配小程序;小程序登录 | [cefc0eb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cefc0eb)
- | 配置默认插件接口 | [f0c177d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f0c177d)
- | 面变化首页变化 | [5e860f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5e860f1)
- | 项目api url设置 | [6cd5245](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/6cd5245)
- | 项目列表, 项目url | [32e005b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/32e005b)
- | 项目列表排序 | [224c58b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/224c58b)
- | 项目合并整理,设置页面添加 | [725491a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/725491a)
- | 首页项目样式改变 | [8514c85](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8514c85)
### 🎨 代码样式
范围|描述|commitId
--|--|--
- | 代码格式细节调整 | [cb2532b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cb2532b)
- | calendar注释 | [a2ec112](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a2ec112)
- | indexedDB.js格式整理 | [b0d3a36](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b0d3a36)
- | 代码审查 | [d75134c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d75134c)
- | 格式细节调整 | [b907a03](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b907a03)
- | 更新代码 | [8c27e68](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8c27e68)
- | 更新代码 | [1f40a76](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1f40a76)
- | 代码格式细节调整 | [cb2532b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cb2532b)
- | 任务快捷方式图标增加 | [4aba872](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4aba872)
- | 日常任务修改 | [dfa7ee2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/dfa7ee2)
- | 删除插件携带的多余文件 | [0f392bb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f392bb)
- | 删除多余字段 | [5ae3973](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5ae3973)
- | 删除没用代码 | [34b20e1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/34b20e1)
- | 修改角色样式 | [73e268e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/73e268e)
- | 删除calendar中多余的console | [e339eec](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e339eec)
- | 删除console.log | [5064a38](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5064a38)
- | 删除index中没用的alert代码 | [9c9eec7](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9c9eec7)
- | 删除mock,console;upload添加loading | [99d42e2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/99d42e2)
- | 添加插件数据 | [2f11b42](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2f11b42)
- | 删除多余字段 | [5ae3973](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5ae3973)
- | 删除插件携带的多余文件 | [0f392bb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f392bb)
- | 删除没用代码 | [34b20e1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/34b20e1)
- | 图标修改 | [54bca09](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/54bca09)
- | 无基本变化 | [21ac4bb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/21ac4bb)
- | 细节调整 | [2cfc09a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2cfc09a)
- | 修改角色样式 | [73e268e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/73e268e)
- | 日常任务修改 | [dfa7ee2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/dfa7ee2)
- | 更新代码 | [8c27e68](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8c27e68)
- | 更新代码 | [1f40a76](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1f40a76)
- | 格式细节调整 | [b907a03](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b907a03)
- | 添加插件数据 | [2f11b42](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2f11b42)
- | 组件新建 | [89c0035](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/89c0035)
- | calendar注释 | [a2ec112](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a2ec112)
- | indexedDB.js格式整理 | [b0d3a36](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b0d3a36)
- | 细节调整 | [2cfc09a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2cfc09a)
### 🐛 Bug 修复
范围|描述|commitId
--|--|--
- | 1.时间轴数据渲染 2.时间基准线 | [d643af2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d643af2)
- | 插件bug解决 | [41257eb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/41257eb)
- | api 存storage | [81032ba](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/81032ba)
ID1000343 | 解决向下预加载查询参数时间没+1颗粒度;以及滚动加载颗粒度写死的问题 | [940603a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/940603a), closes [#ID1000343](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/issues/ID1000343)
plugin | 插件解析机制完善 | [0f5a27d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f5a27d)
project title | 项目标题修改; 切换角色移除script | [5c20017](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5c20017)
roles | 修复默认显示不是我的角色的问题 | [b69f94f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b69f94f)
role | 切换角色的逻辑修正完善 | [4ae534f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4ae534f)
task任务逻辑完善 | 减少初始global及regular的不必要请求 | [bd4bd38](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/bd4bd38)
- | title.vue根据页面栈显示返回按钮;标题文本超出显示... | [0cbacf4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0cbacf4)
- | 上下滑动加载定期任务 | [4090d89](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4090d89)
- | 上下滚动时间轴 | [d533a01](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d533a01)
- | 下拉加载定期任务传参,时间格式化修改 | [0b95a0e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0b95a0e)
- | 任务开始时间延迟插件 | [992a313](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/992a313)
- | 修改main | [749ae9a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/749ae9a)
- | 修改定期任务状态0和4时不加载圆圈 | [30e352f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/30e352f)
- | 修改小红点传参 | [87b20fd](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/87b20fd)
- | 修改报错 | [531c14d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/531c14d)
- | 修改接口路径 | [df6acf2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/df6acf2)
- | 修改样式 | [f0ddc90](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f0ddc90)
- | 修改角色栏组件 | [a54c601](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a54c601)
- | 切换到默认项目角色没有激活状态的bug | [438d448](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/438d448)
- | 切换日历时查询小红点 | [7091789](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7091789)
- | 初始展示角色修改 | [2ac4053](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2ac4053)
- | 定期任务key值修改 | [c6688db](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c6688db)
- | 定期任务接口 | [aa4981c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/aa4981c)
- | 定期任务插件 | [92b3254](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/92b3254)
- | 定期任务未加载时,显示空的时间轴并能上下滑动 | [ce38093](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ce38093)
- | 定期任务本地缓存和api赋值,未完成 | [5a10856](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5a10856)
定期任务本地缓存和api赋值,未完成 | 定期任务本地缓存和api赋值,未完成 | [b22a366](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b22a366)
- | 定期任务插件 | [92b3254](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/92b3254)
- | 定期任务骨架屏修改 | [8ff72dd](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8ff72dd)
- | 定期任务接口 | [aa4981c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/aa4981c)
- | 定期任务未加载时,显示空的时间轴并能上下滑动 | [ce38093](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ce38093)
- | 定期任务key值修改 | [c6688db](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c6688db)
- | 骨架屏替换 | [e9fdd71](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e9fdd71)
- | 监听时间基本点 | [033fca0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/033fca0)
- | 角色栏修改 | [19228d6](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/19228d6)
- | 角色显示状态修改 | [7d3b906](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7d3b906)
- | 解决时间轴报错 | [da1eece](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/da1eece)
- | 平车演示临时去掉项目快捷方式的toast提示 | [e0b2c23](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e0b2c23)
- | 切换到默认项目角色没有激活状态的bug | [438d448](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/438d448)
- | 切换日历时查询小红点 | [7091789](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7091789)
- | 任务开始时间延迟插件 | [992a313](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/992a313)
- | 手动展开日常任务 | [0a4a622](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0a4a622)
- | 提示信息显示bug及日常任务收缩问题 | [f2f06c5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f2f06c5)
- | 插件bug解决 | [41257eb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/41257eb)
- | 收到消息修改任务状态 | [c378063](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c378063)
- | 日历无任务时添加小绿点,时间轴刻度无任务不显示时分 | [0f90868](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f90868)
- | 日常任务html数据查验 | [880ce5c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/880ce5c)
- | 日常任务插件遍历时的key值修改 | [cd26285](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/cd26285)
- | 日常任务插件面板高度修改 | [249f9e4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/249f9e4)
- | 日常任务html数据查验 | [880ce5c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/880ce5c)
- | 日历无任务时添加小绿点,时间轴刻度无任务不显示时分 | [0f90868](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f90868)
- | 上下滚动时间轴 | [d533a01](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d533a01)
- | 上下滑动加载定期任务 | [4090d89](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4090d89)
- | 设置时间轴自动滚动到当前位置 | [a3474f8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3474f8)
- | 时间轴插件 | [225d3cc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/225d3cc)
- | 时间轴骨架屏修改 | [ca78d02](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ca78d02)
- | 时间轴滚动位置修改 | [551da63](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/551da63)
- | 时间轴上下滚动数据加载bug修改 | [e82ede4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e82ede4)
- | 时间轴上下滑动 | [4d0ae46](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4d0ae46)
- | 时间轴上下滚动数据加载bug修改 | [e82ede4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e82ede4)
- | 时间轴插件 | [225d3cc](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/225d3cc)
- | 时间轴无任务时时间刻度加载修改 | [4921672](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4921672)
- | 收到消息修改任务状态 | [c378063](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c378063)
- | 手动展开日常任务 | [0a4a622](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0a4a622)
- | 提示信息显示bug及日常任务收缩问题 | [f2f06c5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f2f06c5)
- | 时间轴滚动位置修改 | [551da63](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/551da63)
- | 时间轴骨架屏修改 | [ca78d02](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ca78d02)
- | 监听时间基本点 | [033fca0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/033fca0)
- | 角色显示状态修改 | [7d3b906](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7d3b906)
- | 角色栏修改 | [19228d6](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/19228d6)
- | 解决时间轴报错 | [da1eece](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/da1eece)
- | 设置时间轴自动滚动到当前位置 | [a3474f8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3474f8)
- | 跳转详情页返回路径修改 | [c5e17c0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c5e17c0)
- | 下拉加载定期任务传参,时间格式化修改 | [0b95a0e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0b95a0e)
- | 项目操作按钮弹框显示问题 | [1d8d73e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1d8d73e)
- | 项目操作弹框显示不对 | [b55a915](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b55a915)
项目列表排序 | 项目列表排序 | [402c563](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/402c563)
- | 项目列表排序修改 | [fd3c3ac](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/fd3c3ac)
- | 项目列表排序修改 | [59f4c21](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/59f4c21)
- | 修改报错 | [531c14d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/531c14d)
- | 修改定期任务状态0和4时不加载圆圈 | [30e352f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/30e352f)
- | 修改角色栏组件 | [a54c601](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a54c601)
- | 修改接口路径 | [df6acf2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/df6acf2)
- | 修改小红点传参 | [87b20fd](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/87b20fd)
- | 修改样式 | [f0ddc90](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/f0ddc90)
- | 修改main | [749ae9a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/749ae9a)
- | api 存storage | [81032ba](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/81032ba)
ID1000343 | 解决向下预加载查询参数时间没+1颗粒度;以及滚动加载颗粒度写死的问题 | [940603a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/940603a), closes [#ID1000343](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/issues/ID1000343)
plugin | 插件解析机制完善 | [0f5a27d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0f5a27d)
project title | 项目标题修改; 切换角色移除script | [5c20017](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5c20017)
role | 切换角色的逻辑修正完善 | [4ae534f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4ae534f)
roles | 修复默认显示不是我的角色的问题 | [b69f94f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b69f94f)
task任务逻辑完善 | 减少初始global及regular的不必要请求 | [bd4bd38](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/bd4bd38)
- | title.vue根据页面栈显示返回按钮;标题文本超出显示... | [0cbacf4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0cbacf4)
项目列表排序 | 项目列表排序 | [402c563](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/402c563)
- | 项目操作弹框显示不对 | [b55a915](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b55a915)
- | 项目操作按钮弹框显示问题 | [1d8d73e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1d8d73e)
- | 骨架屏替换 | [e9fdd71](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e9fdd71)
### 📝 文档
@ -172,62 +173,58 @@
### 🔧 测试
范围|描述|commitId
--|--|--
- | 禁用任务开始操作 | [b5425db](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b5425db)
- | 添加测试,测试utils/time.js的computeDurationText | [e758010](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e758010)
- | 暂时移除了jest浏览器配置 | [5088d01](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5088d01)
- | 添加测试,测试utils/time.js的computeDurationText | [e758010](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e758010)
- | 禁用任务开始操作 | [b5425db](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b5425db)
### 🔨 代码重构
范围|描述|commitId
--|--|--
- | 更改版本号 | [5f1d9f4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5f1d9f4)
- | 界面样式调整 | [4367249](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4367249)
- | 去掉tailwindcss | [4bed47e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4bed47e)
- | 任务状态重构 | [4693655](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4693655)
- | 删除多余的技术验证界面 | [542ae5b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/542ae5b)
- | 删除多余的weekmode store里的东西 | [0841fe0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0841fe0)
- | 下滑时间轴添加备注 | [4fd20e3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4fd20e3)
- | 修改utils/upload 兼容小程序选择客户端文件上传WBS | [8f49129](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8f49129)
- | 重构store分层 | [5f6fff8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5f6fff8)
calendar | 日历细节调整 | [1a8d6bf](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1a8d6bf)
- | H5自定义导航 | [04ae8f2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/04ae8f2)
- | project 代码健壮性完善 | [a3202c5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3202c5)
store/home | 删除store/home | [db8a3b4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/db8a3b4)
task beginTime | 格式化任务开始时间 | [fbc0301](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/fbc0301)
template | eslint prettier sass uview tailwindcss | [9c966a1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9c966a1)
tip | 任务状态显示及tip组件数据的重构 | [78a5750](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/78a5750)
tips | 修改任务状态方法重构 | [b57d3ac](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/b57d3ac)
tip | 任务状态显示及tip组件数据的重构 | [78a5750](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/78a5750)
title.vue | 移除测试的repeat; 样式细节调整 | [c32d2bd](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c32d2bd)
- | 下滑时间轴添加备注 | [4fd20e3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4fd20e3)
- | 任务状态重构 | [4693655](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4693655)
- | 修改utils/upload 兼容小程序选择客户端文件上传WBS | [8f49129](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8f49129)
- | 删除多余的weekmode store里的东西 | [0841fe0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0841fe0)
- | 删除多余的技术验证界面 | [542ae5b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/542ae5b)
- | 去掉tailwindcss | [4bed47e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4bed47e)
- | 更改版本号 | [5f1d9f4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5f1d9f4)
- | 界面样式调整 | [4367249](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4367249)
- | 重构store分层 | [5f6fff8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/5f6fff8)
### 🚀 性能优化
范围|描述|commitId
--|--|--
- | 1.时间轴筛选相同的时间替换数据 2.整理代码 | [e082ccb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e082ccb)
- | 测试接口 | [215e074](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/215e074)
- | 插件查询及展示 | [4dba770](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4dba770)
- | 登[C录时提示登录时提示是否合并账号样式修改是否合并账号样式修改 | [4f75696](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4f75696)
- | 角色栏文字颜色修改 | [215c6b3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/215c6b3)
- | 解决警告 | [c932b09](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c932b09)
- | 日历的更改 | [7353ac8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7353ac8)
- | 数据存储,避免重复调用接口 | [d22308a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d22308a)
- | 提交本地代码 | [e0cf2ed](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e0cf2ed)
- | 小红点api缓存修改 | [e992343](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e992343)
- | 修改代码格式 | [14123d7](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/14123d7)
- | 修改定期任务骨架屏高度 | [909a734](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/909a734)
- | 小红点api缓存修改 | [e992343](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e992343)
- | 提交本地代码 | [e0cf2ed](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/e0cf2ed)
- | 插件查询及展示 | [4dba770](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4dba770)
- | 数据存储,避免重复调用接口 | [d22308a](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/d22308a)
- | 整理代码 | [7a55315](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7a55315)
- | 日历的更改 | [7353ac8](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7353ac8)
- | 测试接口 | [215e074](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/215e074)
- | 登[C录时提示登录时提示是否合并账号样式修改是否合并账号样式修改 | [4f75696](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4f75696)
- | 组件文件夹新建 | [22bfe7b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/22bfe7b)
- | 组件文件夹新建 | [17bb8c9](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/17bb8c9)
- | 组件文件夹新建 | [1421504](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/1421504)
- | 角色栏文字颜色修改 | [215c6b3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/215c6b3)
- | 解决警告 | [c932b09](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c932b09)
### chore
范围|描述|commitId
--|--|--
- | 删除多余的构建的命令 | [3f4eb2f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3f4eb2f)
- | 添加mp-weixin的构建命令 | [3776a67](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3776a67)
信息配置 | 配置eslint等配置 | [7421443](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7421443)
- | 修复不能build的问题 | [0b7b91e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0b7b91e)
- | api 封装 | [8dcb8a2](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/8dcb8a2)
- | dart-sass替换node-sass;删除多余的uni平台包 | [519f28b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/519f28b)
- | env host修改 | [a79a4a5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a79a4a5)
@ -238,6 +235,10 @@
pwa 小程序 | 移除了pwa,alloyFinger添加平台判断 | [875fab4](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/875fab4)
- | uview-ui | [a9ea34b](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a9ea34b)
v3.0.1 | tall api 地址从1.0改成了3.0 | [db5afd5](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/db5afd5)
信息配置 | 配置eslint等配置 | [7421443](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7421443)
- | 修复不能build的问题 | [0b7b91e](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/0b7b91e)
- | 删除多余的构建的命令 | [3f4eb2f](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3f4eb2f)
- | 添加mp-weixin的构建命令 | [3776a67](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/3776a67)
范围|描述|commitId

9
src/App.vue

@ -3,7 +3,10 @@ import { mapActions, mapGetters, mapMutations, mapState } from 'vuex';
export default {
async onLaunch(options) {
// TODO: this
options.u = '1298194698783170560';
console.log('options: ', options);
this.checkNetwork(); //
this.getSystemInfo(); //
@ -100,3 +103,9 @@ export default {
@import 'uview-ui/index.scss';
@import './common/styles/app.scss';
</style>
<style>
.collapse-box >>> .u-collapse-body {
height: auto !important;
}
</style>

57
src/common/styles/tailwind.scss

@ -3867,6 +3867,11 @@
color: rgba(209, 213, 219, var(--tw-text-opacity));
}
.text-gray-350 {
--tw-text-opacity: 1;
color: rgba(192, 196, 204, var(--tw-text-opacity));
}
.text-gray-400 {
--tw-text-opacity: 1;
color: rgba(156, 163, 175, var(--tw-text-opacity));
@ -4306,15 +4311,32 @@
.opacity-100 {
opacity: 1;
}
.h-1 {
height: 0.25rem;
}
.h-2 {
height: 0.5rem;
}
.h-3 {
height: 0.75rem;
}
.h-4 {
height: 1rem;
}
.h-5 {
height: 1.25rem;
}
.h-6 {
height: 1.5rem;
}
.h-full {
height: 100%;
}
.bg-gray-50 {
--tw-bg-opacity: 1;
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
.w-4 {
width: 1rem;
}
.w-5 {
width: 1.25rem;
}
.w-6 {
width: 1.5rem;
@ -4353,6 +4375,22 @@
--tw-bg-opacity: 1;
background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
}
.bg-gray-50 {
--tw-bg-opacity: 1;
background-color: rgba(249, 250, 251, var(--tw-bg-opacity));
}
.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
}
.bg-gray-200 {
--tw-bg-opacity: 1;
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
}
.bg-gray-300 {
--tw-bg-opacity: 1;
background-color: rgba(209, 213, 219, var(--tw-bg-opacity));
}
.text-green-400 {
--tw-text-opacity: 1;
color: rgba(52, 211, 153, var(--tw-text-opacity));
@ -4424,9 +4462,22 @@
--tw-bg-opacity: 1;
background-color: rgba(239, 246, 255, var(--tw-bg-opacity));
}
.border-0 {
border-width: 0px;
}
.border-1 {
border-width: 1px;
}
.border-2 {
border-width: 2px;
}
.border-4 {
border-width: 4px;
}
.rounded-full {
border-radius: 9999px;
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

65
src/components/ConfigInfo/ConfigInfo.vue

@ -1,21 +1,30 @@
<template>
<scroll-view style="height: 100%" :scroll-y="true">
<scroll-view class="h-full" :scroll-y="true">
<view class="pt-2">
<view class="bg-white">
<u-collapse :head-style="headStyle" :accordion="true">
<u-collapse-item v-for="(item, index) in itemList" :key="index" :open="item.open">
<view slot="title" class="flex items-center w-full">
<view class="pl-5 flex flex-1 items-center">
<img class="w-6 h-6 mr-2" :src="item.img" alt="" />
{{ item.head }}
</view>
<view v-if="index === 0" class="text-gray-400">{{ patientName }}</view>
<view class="px-3 bg-white">
<view v-for="(item, index) in itemList" :key="index" :style="headStyle" class="py-3">
<!-- 头部 -->
<view class="w-full flex flex-row items-center justify-between">
<view class="flex flex-row items-center">
<img class="w-5 h-5 mr-2" :src="item.img" alt="" />
{{ item.head }}
</view>
<view class="flex flex-row">
<view v-if="index === 0" class="text-gray-400 mr-2">{{ patientName }}</view>
<u-icon name="arrow-up" v-if="item.open" @click="changeOpen(index)"></u-icon>
<u-icon name="arrow-down" v-else @click="changeOpen(index)"></u-icon>
</view>
</view>
<!-- 内容区 -->
<view v-if="item.open" class="w-full mt-3">
<Info v-if="index === 0" />
</u-collapse-item>
</u-collapse>
<Medicine v-if="index === 1" />
<Caregiver v-if="index === 2" />
<Family v-if="index === 3" />
</view>
</view>
</view>
<view class="mt-16 flex flex-col text-center">
<view class="py-6 flex flex-col text-center">
<img class="mx-auto weixin-png" src="./img/weixin.png" />
<view class="mt-2" style="color: #999">扫码添加客服微信</view>
</view>
@ -25,29 +34,45 @@
<script>
import Info from './components/Info.vue';
import Medicine from './components/Medicine.vue';
import Caregiver from './components/Caregiver.vue';
import Family from './components/Family.vue';
export default {
name: 'ConfigInfo',
components: { Info },
components: { Info, Medicine, Caregiver, Family },
data() {
return {
itemList: [
{ head: '基本信息', open: true, body: '123', img: require('./img/1.png') },
// { head: '使', open: false, body: '123', img: require('./img/2.png') },
// { head: 'Zarit', open: false, body: '123', img: require('./img/3.png') },
// { head: '', open: false, body: '123', img: require('./img/4.png') },
{ head: '药物使用记录', open: false, body: '123', img: require('./img/2.png') },
{ head: 'Zarit照顾者分担量表', open: false, body: '123', img: require('./img/3.png') },
{ head: '家属成员', open: false, body: '123', img: require('./img/4.png') },
],
headStyle: {
borderBottom: '1px solid #dcdfe6',
height: '50px',
borderBottom: '1px solid #f8f8f8',
fontSize: '16px',
width: '100%',
},
patientName: '传小控',
};
},
methods: {},
methods: {
//
changeOpen(index) {
this.itemList.forEach((item, i) => {
if (i === index) {
item.open = !item.open;
} else {
item.open = false;
}
});
},
},
};
</script>
<style lang="scss" scoped>
.weixin-png {
width: 120px;

73
src/components/ConfigInfo/components/Caregiver.vue

@ -0,0 +1,73 @@
<template>
<view style="border: 1px solid #e5e5e5">
<view v-for="(item, index) in careInfo" :key="index">
<template v-for="(colItem, itemIndex) in item">
<u-collapse
v-if="colItem.showType === 1"
:key="itemIndex"
:head-style="headStyle"
:body-style="bodyStyle"
:accordion="false"
style="border-bottom: 1px solid #f8f8f8"
>
<u-collapse-item :title="colItem.name" :open="false">
<!-- 单选 -->
<view v-if="colItem.type === 1">
<u-radio-group v-model="colItem.value">
<u-radio
class="mb-2"
@change="change($event, index, itemIndex, colItem.type)"
v-for="(radioItem, radioIndex) in colItem.radioList"
:key="radioIndex"
:name="radioItem"
>
{{ radioItem }}
</u-radio>
</u-radio-group>
</view>
</u-collapse-item>
</u-collapse>
<view v-else :key="itemIndex" class="flex justify-between items-center text-sm" style="border-bottom: 1px solid #f8f8f8">
<view class="ml-4 my-3">{{ colItem.name }}</view>
<!-- 数字输入框 -->
<view v-if="colItem.type === 3" class="pr-7">
<u-input v-model="colItem.value" type="number" input-align="right" />
</view>
<!-- input 文本输入框 -->
<view v-if="colItem.type === 8" class="pr-7">
<u-input v-model="colItem.value" input-align="right" />
</view>
</view>
</template>
</view>
<u-button type="primary" class="m-4">开始填表</u-button>
</view>
</template>
<script>
import { careInfo } from './config';
export default {
name: 'Info',
data() {
return {
headStyle: {
backgroundColor: '#fff',
height: '46px',
paddingLeft: '1rem',
fontSize: '0.875rem',
},
bodyStyle: { paddingLeft: '1rem' },
careInfo,
};
},
methods: {
change(e, index, itemIndex, type) {
console.log('type: ', type);
this.careInfo[index][itemIndex].value = e;
},
},
};
</script>
<style lang="scss" scoped></style>

26
src/components/ConfigInfo/components/Family.vue

@ -0,0 +1,26 @@
<template>
<view style="border: 1px solid #e5e5e5">
<view class="flex flex-col text-sm" v-for="(family, index) in familyInfo" :key="index">
<view class="flex justify-between items-center p-3" style="border-bottom: 1px solid #f8f8f8">
<text>{{ family.name }}</text>
<u-avatar :src="family.avatar" v-if="family.name === '微信头像'" mode="square"></u-avatar>
<text v-else class="text-gray-400">{{ family.value }}</text>
</view>
</view>
<u-button type="primary" class="m-4">通过</u-button>
<u-button type="error" class="m-4">不通过</u-button>
</view>
</template>
<script>
import { familyInfo } from './config';
export default {
name: 'Info',
data() {
return { familyInfo };
},
};
</script>
<style lang="scss" scoped></style>

558
src/components/ConfigInfo/components/Info.vue

@ -1,20 +1,243 @@
<template>
<view style="background-color: #f3f3f3">
<view v-for="(item, index) in list" :key="index" class="card-box">
<view style="border: 1px solid #e5e5e5">
<view v-for="(item, index) in infoList" :key="index">
<template v-for="(colItem, itemIndex) in item">
<u-collapse v-if="colItem.showType === 1" :key="itemIndex" :head-style="headStyle" :body-style="bodyStyle" :accordion="false">
<u-collapse
v-if="colItem.showType === 1"
:key="itemIndex"
:head-style="headStyle"
:body-style="bodyStyle"
:accordion="false"
style="border-bottom: 1px solid #f8f8f8"
>
<u-collapse-item :title="colItem.name" :open="false">
<view style="border-bottom: 1px solid #eee"> 123 </view>
<!-- 单选 -->
<view v-if="colItem.type === 1">
<u-radio-group v-model="colItem.value">
<u-radio
class="mb-2"
@change="change($event, index, itemIndex, colItem.type)"
v-for="(radioItem, radioIndex) in colItem.radioList"
:key="radioIndex"
:name="radioItem"
>
{{ radioItem }}
</u-radio>
</u-radio-group>
</view>
<!-- 多选 -->
<view v-if="colItem.type === 5">
<u-checkbox-group>
<u-checkbox
class="mb-2"
@change="change($event, index, itemIndex, colItem.type)"
v-model="checkboxItem.checked"
v-for="(checkboxItem, checkboxIndex) in colItem.checkList"
:key="checkboxIndex"
:name="checkboxItem.name"
>{{ checkboxItem.name }}
</u-checkbox>
</u-checkbox-group>
</view>
<!-- 吸烟 -->
<view v-if="colItem.type === 10">
<u-radio-group v-model="colItem.value" class="flex flex-col" @change="change($event, index, itemIndex, colItem.type)">
<u-radio class="mb-1" :name="0"></u-radio>
<u-radio class="mb-1" :name="1">
<view class="flex flex-nowrap items-center">
曾经是但已经戒烟已戒
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value1"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
</view>
</u-radio>
<u-radio class="mb-1" :name="2">
<view class="flex flex-nowrap items-center">
烟龄
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value2"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
每天
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value3"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
</view>
</u-radio>
</u-radio-group>
</view>
<!-- 饮酒 -->
<view v-if="colItem.type === 11">
<u-radio-group v-model="colItem.value" class="flex flex-col" @change="change($event, index, itemIndex, colItem.type)">
<u-radio class="mb-1" :name="0"></u-radio>
<u-radio class="mb-1" :name="1">
<view class="flex flex-nowrap items-center">
曾经是但已经戒酒已戒
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value1"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
</view>
</u-radio>
</u-radio-group>
</view>
<!-- 饮茶 -->
<view v-if="colItem.type === 12">
<u-radio-group v-model="colItem.value" class="flex flex-col" @change="change($event, index, itemIndex, colItem.type)">
<u-radio class="mb-1" :name="0"></u-radio>
<u-radio class="mb-1" :name="1">
<view class="flex flex-nowrap items-center">
曾经是但已经不喝已不喝
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value1"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
</view>
</u-radio>
<u-radio class="mb-1" :name="2">
<view class="flex flex-nowrap items-center">
已持续
<u-input
class="mx-1 w-12 h-6 items-center"
placeholder=""
:border="true"
v-model="colItem.value2"
:clearable="false"
input-align="center"
type="number"
@change="change($event, index, itemIndex, colItem.type)"
/>
</view>
</u-radio>
</u-radio-group>
</view>
</u-collapse-item>
</u-collapse>
<view v-else :key="itemIndex">
{{ colItem.name }}
<view v-else :key="itemIndex" class="flex justify-between items-center text-sm" style="border-bottom: 1px solid #f8f8f8">
<view class="ml-4 my-3">{{ colItem.name }}</view>
<!-- 日期: 年月日 -->
<view v-if="colItem.type === 2">
<view @click="colItem.show = !colItem.show">
<text :class="colItem.value ? '' : 'text-gray-350'">{{ colItem.value || '请选择' }} </text>
<u-icon name="arrow-right" class="mx-2" color="#909399"></u-icon>
</view>
<u-picker
@confirm="change($event, index, itemIndex, colItem.type)"
v-model="colItem.show"
mode="time"
:params="paramsDay"
></u-picker>
</view>
<!-- 数字输入框 -->
<view v-if="colItem.type === 3" class="pr-7">
<u-input placeholder="请输入" v-model="colItem.value" type="number" input-align="right" />
</view>
<!-- 单列下拉选框 -->
<view v-if="colItem.type === 4">
<view @click="colItem.show = !colItem.show">
<text :class="colItem.value ? '' : 'text-gray-350'">{{ colItem.value || '请选择' }} </text>
<u-icon name="arrow-right" class="mx-2" color="#909399"></u-icon>
</view>
<u-select
v-model="colItem.show"
mode="single-column"
:list="colItem.radioList"
@confirm="change($event, index, itemIndex, colItem.type)"
:default-value="[14]"
></u-select>
</view>
<!-- 日期: 年月日时 -->
<view v-if="colItem.type === 6">
<view @click="colItem.show = !colItem.show">
<text :class="colItem.value ? '' : 'text-gray-350'">{{ colItem.value || '请选择' }} </text>
<u-icon name="arrow-right" class="mx-2" color="#909399"></u-icon>
</view>
<u-picker
@confirm="change($event, index, itemIndex, colItem.type)"
v-model="colItem.show"
mode="time"
:params="paramsHour"
></u-picker>
</view>
<!-- 多列下拉选框 -->
<view v-if="colItem.type === 7">
<view @click="colItem.show = !colItem.show">
<text :class="colItem.value ? '' : 'text-gray-350'">{{ colItem.value || '请选择' }} </text>
<u-icon name="arrow-right" class="mx-2" color="#909399"></u-icon>
</view>
<u-select
v-model="colItem.show"
mode="mutil-column"
:list="colItem.radioList"
@confirm="change($event, index, itemIndex, colItem.type)"
:default-value="[70, 100]"
title="低血压/高血压"
></u-select>
</view>
<!-- input 文本输入框 -->
<view v-if="colItem.type === 8" class="pr-7">
<u-input placeholder="请输入" v-model="colItem.value" input-align="right" />
</view>
<!-- 地区选择器 -->
<view v-if="colItem.type === 9">
<view @click="colItem.show = !colItem.show">
<text :class="colItem.value ? '' : 'text-gray-350'">{{ colItem.value || '请选择' }} </text>
<u-icon name="arrow-right" class="mx-2" color="#909399"></u-icon>
</view>
<u-picker
@confirm="change($event, index, itemIndex, colItem.type)"
mode="region"
v-model="colItem.show"
:params="paramsArea"
></u-picker>
</view>
</view>
</template>
<view class="w-full h-2 bg-gray-100" v-if="index !== infoList.length - 1"></view>
</view>
<u-button type="primary" class="m-4">完成</u-button>
</view>
</template>
<script>
import { infoList } from './config';
export default {
name: 'Info',
data() {
@ -22,267 +245,72 @@ export default {
headStyle: {
backgroundColor: '#fff',
height: '46px',
paddingLeft: '1.5rem',
fontSize: '14px',
paddingLeft: '1rem',
fontSize: '0.875rem',
},
bodyStyle: { paddingLeft: '1rem' },
infoList,
paramsDay: {
year: true,
month: true,
day: true,
hour: false,
minute: false,
second: false,
},
paramsHour: {
year: true,
month: true,
day: true,
hour: true,
minute: false,
second: false,
},
paramsArea: {
province: true,
city: true,
area: false,
},
bodyStyle: { backgroundColor: '#fff', paddingLeft: '1.5rem' },
// : showType: 1 +, 2
// , type:1 ,11 ,2 ,3 ,4 ,5
list: [
[
{
name: '性别',
showType: 1,
type: 1,
radioList: ['男', '女'],
value: null,
},
{
name: '出生日期',
showType: 2,
type: 2,
value: null,
},
{
name: '身高',
showType: 2,
type: 3,
value: null,
},
{
name: '体重',
showType: 2,
type: 3,
value: null,
},
{
name: '职业',
showType: 1,
type: 1,
radioList: ['干部', '军人', '技术人员', '农民', '工人', '运动员', '个体商业人员', '其他'],
value: null,
},
{
name: '受教育程度',
showType: 1,
type: 1,
radioList: ['文盲', '小学', '初中', '高中或中专', '大学或大专', '大学以上', '其他'],
value: null,
},
{
name: '受教育年限',
showType: 1,
type: 1,
radioList: [
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'10',
'11',
'12',
'13',
'14',
'15',
'16',
'17',
'18',
'19',
'20',
'21',
'22',
'23',
'24',
'25',
'26',
'27',
'28',
'29',
'30',
],
value: null,
},
],
[
{
name: '出现认知障碍时间',
showType: 2,
type: 2,
value: null,
},
{
name: '首次诊断痴呆时间',
showType: 2,
type: 2,
value: null,
},
{
name: '诊断',
showType: 1,
type: 1,
radioList: ['阿尔茨海默病', '路易体痴呆', '额颞痴呆', '血管性痴呆', '混合性痴呆', '其他'],
value: null,
},
],
[
{
name: '血压',
showType: 2,
type: 4,
value: null,
},
{
name: '血脂(低密度脂蛋白)',
showType: 2,
type: 3,
value: null,
},
],
[
{
name: '体力活动',
showType: 1,
type: 1,
radioList: ['强', '中', '低'],
value: null,
},
{
name: 'APOE基因',
showType: 1,
type: 1,
radioList: ['是', '否', '不知道'],
value: null,
},
],
[
{
name: '疾病史',
showType: 1,
type: 5,
checkList: [
'高血压',
'高血脂',
'糖尿病',
'冠心病',
'痛风',
'慢性胃炎',
'风湿',
'帕金森病',
'脑梗死',
'脑出血',
'抑郁症',
'其他',
],
value: [],
},
{
name: '亲属疾病史(祖父母;外祖父母;父母)',
showType: 1,
type: 5,
checkList: [
'高血压',
'高血脂',
'糖尿病',
'冠心病',
'痛风',
'慢性胃炎',
'风湿',
'帕金森病',
'脑梗死',
'脑出血',
'抑郁症',
'其他',
],
value: [],
},
],
[
{
name: '失眠',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
{
name: '吸烟',
showType: 1,
type: 11,
value: null,
},
{
name: '饮酒',
showType: 1,
type: 11,
value: null,
},
{
name: '饮茶',
showType: 1,
type: 11,
value: null,
},
{
name: '饮食是否口重',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
{
name: '饮食喜好',
showType: 1,
type: 1,
radioList: ['荤菜', '素菜'],
value: null,
},
{
name: '炒菜放油多少',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
],
[
{
name: '就诊医院',
showType: 2,
type: 3,
value: null,
},
{
name: '就诊医生',
showType: 2,
type: 3,
value: null,
},
{
name: '医院地址',
showType: 2,
type: 3,
value: null,
},
{
name: '就诊科室',
showType: 2,
type: 3,
value: null,
},
],
],
};
},
methods: {
change(e, index, itemIndex, type) {
if (type === 2) {
// ()
const value = e.year + '-' + e.month + '-' + e.day;
this.infoList[index][itemIndex].value = value;
} else if (type === 4) {
//
this.infoList[index][itemIndex].value = e[0].value;
} else if (type === 5) {
//
let checkerList = this.infoList[index][itemIndex].value;
if (checkerList.length) {
const i = checkerList.findIndex(item => item === e.name);
if (i < 0) {
checkerList.push(e.name);
} else {
checkerList.splice(i, 1);
}
} else {
checkerList.push(e.name);
}
this.infoList[index][itemIndex].value = checkerList;
} else if (type === 6) {
// ()
const value = e.year + '-' + e.month + '-' + e.day + '-' + e.hour;
this.infoList[index][itemIndex].value = value;
} else if (type === 7) {
//
this.infoList[index][itemIndex].value = e[0].value + '/' + e[1].value;
} else if (type === 9) {
//
this.infoList[index][itemIndex].value = e.province.label + e.city.label;
} else {
this.infoList[index][itemIndex].value = e;
}
},
},
};
</script>
<style lang="scss" scoped>
.card-box {
margin: 0 0 8px 0;
}
</style>
<style lang="scss" scoped></style>

73
src/components/ConfigInfo/components/Medicine.vue

@ -0,0 +1,73 @@
<template>
<view style="border: 1px solid #e5e5e5">
<view v-for="(item, index) in medicineInfo" :key="index">
<template v-for="(colItem, itemIndex) in item">
<u-collapse
v-if="colItem.showType === 1"
:key="itemIndex"
:head-style="headStyle"
:body-style="bodyStyle"
:accordion="false"
style="border-bottom: 1px solid #f8f8f8"
>
<u-collapse-item :title="colItem.name" :open="false">
<!-- 单选 -->
<view v-if="colItem.type === 1">
<u-radio-group v-model="colItem.value">
<u-radio
class="mb-2"
@change="change($event, index, itemIndex, colItem.type)"
v-for="(radioItem, radioIndex) in colItem.radioList"
:key="radioIndex"
:name="radioItem"
>
{{ radioItem }}
</u-radio>
</u-radio-group>
</view>
</u-collapse-item>
</u-collapse>
<view v-else :key="itemIndex" class="flex justify-between items-center text-sm" style="border-bottom: 1px solid #f8f8f8">
<view class="ml-4 my-3">{{ colItem.name }}</view>
<!-- 数字输入框 -->
<view v-if="colItem.type === 3" class="pr-7">
<u-input v-model="colItem.value" type="number" input-align="right" />
</view>
<!-- input 文本输入框 -->
<view v-if="colItem.type === 8" class="pr-7">
<u-input v-model="colItem.value" input-align="right" />
</view>
</view>
</template>
</view>
<u-button type="primary" class="m-4">开始填表</u-button>
</view>
</template>
<script>
import { medicineInfo } from './config';
export default {
name: 'Info',
data() {
return {
headStyle: {
backgroundColor: '#fff',
height: '46px',
paddingLeft: '1rem',
fontSize: '0.875rem',
},
bodyStyle: { paddingLeft: '1rem' },
medicineInfo,
};
},
methods: {
change(e, index, itemIndex, type) {
console.log('type: ', type);
this.medicineInfo[index][itemIndex].value = e;
},
},
};
</script>
<style lang="scss" scoped></style>

437
src/components/ConfigInfo/components/config.js

@ -0,0 +1,437 @@
// 血压
const bloodPressure = () => {
const hypertension = [];
const hypotension = [];
let results = [];
for (let i = 0; i < 300; i++) {
hypertension.push({ value: i, label: i });
hypotension.push({ value: i, label: i });
}
results = [hypertension, hypotension];
return results;
};
/**
* 基本信息
* 展示类型: showType: 1 标题+折叠, 2 直接展示
* 试题类型, type:1 单选,2 日期(年月日),3 数字输入框,4 单列下拉框,5 多选,6 日期(年月日时),7 多列下拉选框, 8 文本输入框 9 多列地区选择 11 吸烟 12 饮酒 13 饮茶
*/
export const infoList = [
[
{
name: '性别',
showType: 1,
type: 1,
radioList: ['男', '女'],
value: null,
},
{
name: '出生日期',
showType: 2,
type: 2,
value: null,
show: false,
},
{
name: '身高(cm)',
showType: 2,
type: 3,
value: null,
},
{
name: '体重(kg)',
showType: 2,
type: 3,
value: null,
},
{
name: '职业',
showType: 1,
type: 1,
radioList: ['干部', '军人', '技术人员', '农民', '工人', '运动员', '个体商业人员', '其他'],
value: null,
},
{
name: '受教育程度',
showType: 1,
type: 1,
radioList: ['文盲', '小学', '初中', '高中或中专', '大学或大专', '大学以上', '其他'],
value: null,
},
{
name: '受教育年限(年)',
showType: 2,
type: 4,
radioList: [
{ value: 1, label: 1 },
{ value: 2, label: 2 },
{ value: 3, label: 3 },
{ value: 4, label: 4 },
{ value: 5, label: 5 },
{ value: 6, label: 6 },
{ value: 7, label: 7 },
{ value: 8, label: 8 },
{ value: 9, label: 9 },
{ value: 10, label: 10 },
{ value: 11, label: 11 },
{ value: 12, label: 12 },
{ value: 13, label: 13 },
{ value: 14, label: 14 },
{ value: 15, label: 15 },
{ value: 16, label: 16 },
{ value: 17, label: 17 },
{ value: 18, label: 18 },
{ value: 19, label: 19 },
{ value: 20, label: 20 },
{ value: 21, label: 21 },
{ value: 22, label: 22 },
{ value: 23, label: 23 },
{ value: 24, label: 24 },
{ value: 25, label: 25 },
{ value: 26, label: 26 },
{ value: 27, label: 27 },
{ value: 28, label: 28 },
{ value: 29, label: 29 },
{ value: 30, label: 30 },
],
value: null,
show: false,
},
],
[
{
name: '出现认知障碍时间',
showType: 2,
type: 6,
value: null,
show: false,
},
{
name: '首次诊断痴呆时间',
showType: 2,
type: 6,
value: null,
show: false,
},
{
name: '诊断',
showType: 1,
type: 1,
radioList: ['阿尔茨海默病', '路易体痴呆', '额颞痴呆', '血管性痴呆', '混合性痴呆', '其他'],
value: null,
},
],
[
{
name: '血压(mmHg)',
showType: 2,
type: 7,
value: null,
show: false,
radioList: bloodPressure(),
},
{
name: '血脂(低密度脂蛋白)',
showType: 2,
type: 3,
value: null,
},
],
[
{
name: '体力活动',
showType: 1,
type: 1,
radioList: ['强', '中', '低'],
value: null,
},
{
name: 'APOE基因',
showType: 1,
type: 1,
radioList: ['是', '否', '不知道'],
value: null,
},
],
[
{
name: '疾病史',
showType: 1,
type: 5,
checkList: [
{ name: '高血压', checked: false, disabled: false },
{ name: '高血脂', checked: false, disabled: false },
{ name: '糖尿病', checked: false, disabled: false },
{ name: '冠心病', checked: false, disabled: false },
{ name: '痛风', checked: false, disabled: false },
{ name: '慢性胃炎', checked: false, disabled: false },
{ name: '风湿', checked: false, disabled: false },
{ name: '帕金森病', checked: false, disabled: false },
{ name: '脑梗死', checked: false, disabled: false },
{ name: '脑出血', checked: false, disabled: false },
{ name: '抑郁症', checked: false, disabled: false },
{ name: '其他', checked: false, disabled: false },
],
value: [],
},
{
name: '亲属疾病史(祖父母;外祖父母;父母)',
showType: 1,
type: 5,
checkList: [
{ name: '高血压', checked: false, disabled: false },
{ name: '高血脂', checked: false, disabled: false },
{ name: '糖尿病', checked: false, disabled: false },
{ name: '冠心病', checked: false, disabled: false },
{ name: '痛风', checked: false, disabled: false },
{ name: '慢性胃炎', checked: false, disabled: false },
{ name: '风湿', checked: false, disabled: false },
{ name: '帕金森病', checked: false, disabled: false },
{ name: '脑梗死', checked: false, disabled: false },
{ name: '脑出血', checked: false, disabled: false },
{ name: '抑郁症', checked: false, disabled: false },
{ name: '其他', checked: false, disabled: false },
],
value: [],
},
],
[
{
name: '失眠',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
{
name: '吸烟',
showType: 1,
type: 10,
value: null,
value1: null,
value2: null,
value3: null,
},
{
name: '饮酒',
showType: 1,
type: 11,
value: null,
},
{
name: '饮茶',
showType: 1,
type: 12,
value: null,
},
{
name: '饮食是否重口',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
{
name: '饮食喜好',
showType: 1,
type: 1,
radioList: ['荤菜', '素菜'],
value: null,
},
{
name: '炒菜放油多少',
showType: 1,
type: 1,
radioList: ['是', '否'],
value: null,
},
],
[
{
name: '就诊医院',
showType: 2,
type: 8,
value: null,
},
{
name: '就诊医生',
showType: 2,
type: 8,
value: null,
},
{
name: '医院地址',
showType: 2,
type: 9,
value: null,
show: false,
},
{
name: '就诊科室',
showType: 2,
type: 4,
radioList: [
{ value: '神经内科', label: '神经内科' },
{ value: '精神卫生科', label: '精神卫生科' },
{ value: '老年病科', label: '神经内科' },
{ value: '康复科', label: '康复科' },
{ value: '其他', label: '其他' },
],
value: null,
show: false,
},
],
];
/**
* 药物使用记录
* 展示类型: showType: 1 标题+折叠, 2 直接展示
* 试题类型, type:1 单选,2 日期(年月日),3 数字输入框,4 单列下拉框,5 多选,6 日期(年月日时),7 多列下拉选框, 8 文本输入框 9 多列地区选择 11 吸烟 12 饮酒 13 饮茶
*/
export const medicineInfo = [
{
title: '随访',
date: [
{
name: '是否测评',
showType: 2,
type: 3,
value: null,
radioList: ['已测评', '未测评'],
},
{
name: 'Mmse得分',
showType: 2,
type: 3,
value: null,
},
{
name: 'Moca得分',
showType: 2,
type: 3,
value: null,
},
{
name: 'Adi得分',
showType: 2,
type: 3,
value: null,
},
{
name: 'Npi得分',
showType: 2,
type: 3,
value: null,
},
{
name: '总分',
showType: 2,
type: 3,
value: null,
},
],
},
{
title: '药物使用情况',
date: [
{
name: '年龄',
showType: 2,
type: 3,
value: null,
},
],
},
];
/**
* 照顾者信息
* 展示类型: showType: 1 标题+折叠, 2 直接展示
* 试题类型, type:1 单选,2 日期(年月日),3 数字输入框,4 单列下拉框,5 多选,6 日期(年月日时),7 多列下拉选框, 8 文本输入框 9 多列地区选择 11 吸烟 12 饮酒 13 饮茶
*/
export const careInfo = [
[
{
name: '姓名',
showType: 2,
type: 8,
value: null,
},
{
name: '性别',
showType: 1,
type: 1,
radioList: ['男', '女'],
value: null,
},
{
name: '年龄',
showType: 2,
type: 3,
value: null,
},
{
name: '职业',
showType: 1,
type: 1,
radioList: ['干部', '军人', '技术人员', '农民', '工人', '运动员', '个体商业人员', '其他'],
value: null,
},
{
name: '文化程度',
showType: 1,
type: 1,
radioList: ['文盲', '小学', '初中', '高中或中专', '大学或大专', '大学以上', '其他'],
value: null,
},
{
name: '持续照顾时间',
showType: 2,
type: 3,
value: null,
},
{
name: '与患者关系',
showType: 1,
type: 1,
radioList: ['子女', '兄弟姐妹', '父母', '伴侣', '孙辈', '朋友', '其他'],
value: null,
},
],
];
// 家属成员
export const familyInfo = [
{
name: '微信头像',
value: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
},
{
name: '成员姓名',
value: '张三',
},
{
name: '成员电话',
value: '15233335566',
},
{
name: '成员关系',
value: '父亲',
},
{
name: '性别',
value: '男',
},
{
name: '年龄',
value: '56岁',
},
{
name: '职业',
value: '技术人员',
},
{
name: '文化程度',
value: '大专或大学',
},
];
Loading…
Cancel
Save