├── web
├── static
│ ├── .gitkeep
│ ├── img
│ │ ├── login.jpg
│ │ └── login.png
│ └── tinymce4.7.5
│ │ ├── skins
│ │ └── lightgray
│ │ │ ├── img
│ │ │ ├── trans.gif
│ │ │ ├── anchor.gif
│ │ │ ├── loader.gif
│ │ │ └── object.gif
│ │ │ └── fonts
│ │ │ ├── tinymce.eot
│ │ │ ├── tinymce.ttf
│ │ │ ├── tinymce.woff
│ │ │ ├── tinymce-small.eot
│ │ │ ├── tinymce-small.ttf
│ │ │ ├── tinymce-mobile.woff
│ │ │ └── tinymce-small.woff
│ │ └── plugins
│ │ └── emoticons
│ │ └── img
│ │ ├── smiley-cool.gif
│ │ ├── smiley-cry.gif
│ │ ├── smiley-kiss.gif
│ │ ├── smiley-wink.gif
│ │ ├── smiley-yell.gif
│ │ ├── smiley-frown.gif
│ │ ├── smiley-sealed.gif
│ │ ├── smiley-smile.gif
│ │ ├── smiley-innocent.gif
│ │ ├── smiley-laughing.gif
│ │ ├── smiley-surprised.gif
│ │ ├── smiley-undecided.gif
│ │ ├── smiley-embarassed.gif
│ │ ├── smiley-money-mouth.gif
│ │ ├── smiley-tongue-out.gif
│ │ └── smiley-foot-in-mouth.gif
├── .eslintignore
├── favicon.ico
├── build
│ ├── logo.png
│ ├── vue-loader.conf.js
│ ├── build.js
│ └── check-versions.js
├── .travis.yml
├── src
│ ├── assets
│ │ └── 404_images
│ │ │ ├── 404.png
│ │ │ └── 404_cloud.png
│ ├── App.vue
│ ├── views
│ │ ├── layout
│ │ │ ├── components
│ │ │ │ ├── index.js
│ │ │ │ ├── Sidebar
│ │ │ │ │ ├── Item.vue
│ │ │ │ │ ├── Link.vue
│ │ │ │ │ └── index.vue
│ │ │ │ └── AppMain.vue
│ │ │ ├── mixin
│ │ │ │ └── ResizeHandler.js
│ │ │ └── Layout.vue
│ │ ├── portrayal
│ │ │ └── index.vue
│ │ └── system
│ │ │ └── updatePassword
│ │ │ └── index.vue
│ ├── utils
│ │ ├── get-page-title.js
│ │ ├── auth.js
│ │ ├── validate.js
│ │ ├── index.js
│ │ └── request.js
│ ├── icons
│ │ ├── svg
│ │ │ ├── link.svg
│ │ │ ├── user.svg
│ │ │ ├── example.svg
│ │ │ ├── table.svg
│ │ │ ├── password.svg
│ │ │ ├── index.svg
│ │ │ ├── ck.svg
│ │ │ ├── nested.svg
│ │ │ ├── tj.svg
│ │ │ ├── eye.svg
│ │ │ ├── bm.svg
│ │ │ ├── dr.svg
│ │ │ ├── gd.svg
│ │ │ ├── pj.svg
│ │ │ ├── tree.svg
│ │ │ └── xt.svg
│ │ ├── index.js
│ │ └── svgo.yml
│ ├── test.html
│ ├── settings.js
│ ├── store
│ │ ├── getters.js
│ │ ├── index.js
│ │ └── modules
│ │ │ ├── settings.js
│ │ │ ├── app.js
│ │ │ └── permission.js
│ ├── api
│ │ ├── favorite.js
│ │ ├── result.js
│ │ ├── notice.js
│ │ ├── reply.js
│ │ ├── knowledge.js
│ │ └── user.js
│ └── main.js
├── config
│ ├── prod.env.js
│ └── dev.env.js
├── .gitignore
├── .babelrc
├── .postcssrc.js
├── .editorconfig
├── index.html
├── vue.config.js
└── LICENSE
├── server
├── image
│ ├── 1700118786356.docx
│ ├── 1700125260067.docx
│ ├── 1700115556897.png
│ ├── 1700118628847.png
│ ├── 1700118647958.png
│ ├── 1700181461979.webp
│ ├── 1700185460923.jpg
│ ├── 1700534572344.png
│ ├── 1700534613027.png
│ ├── 1700534639707.png
│ ├── 1700534960731.webp
│ ├── 1700534966336.webp
│ ├── 1700661114459.webp
│ └── 1733728519210.jpg
└── src
│ └── main
│ └── java
│ └── com
│ └── cn
│ └── psychological
│ ├── mapper
│ ├── PUserMapper.java
│ ├── PNoticeMapper.java
│ ├── PReplyMapper.java
│ ├── PKnowledgeMapper.java
│ ├── PFavoriteMapper.java
│ └── PResultMapper.java
│ ├── utils
│ ├── page
│ │ └── PageResult.java
│ ├── mybatisplus
│ │ └── MyMetaObjectHandler.java
│ ├── response
│ │ └── R.java
│ └── CrosACofig.java
│ ├── service
│ ├── PUserService.java
│ ├── PNoticeService.java
│ ├── FileService.java
│ ├── PReplyService.java
│ ├── PFavoriteService.java
│ ├── PKnowledgeService.java
│ ├── PResultService.java
│ └── impl
│ │ ├── PNoticeServiceImpl.java
│ │ ├── FileServiceImpl.java
│ │ ├── PUserServiceImpl.java
│ │ ├── PReplyServiceImpl.java
│ │ ├── PFavoriteServiceImpl.java
│ │ ├── PKnowledgeServiceImpl.java
│ │ └── PResultServiceImpl.java
│ ├── WorkOrderApplication.java
│ ├── entity
│ ├── PNotice.java
│ ├── PFavorite.java
│ ├── PKnowledge.java
│ ├── PReply.java
│ └── PUser.java
│ └── controller
│ ├── PFavoriteController.java
│ ├── PNoticeController.java
│ └── PKnowledgeController.java
├── wx
├── pages
│ ├── answer_info
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ ├── consult
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ └── index.wxss
│ ├── answer
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── favorite
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── info
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── notice
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ ├── answer_list
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ ├── knowledge
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── line
│ │ ├── index.wxss
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── notice_info
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── counselor_info
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxml
│ │ └── index.wxss
│ ├── knowledge_info
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ ├── online_counsel
│ │ ├── index.json
│ │ └── index.wxml
│ ├── updatePassword
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── index
│ │ ├── index.json
│ │ ├── index.js
│ │ └── index.wxss
│ ├── wode
│ │ ├── wode.json
│ │ └── wode.js
│ ├── counselor
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── curve
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ ├── login
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ └── register
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
├── images
│ ├── 111.webp
│ ├── button1.png
│ ├── button2.png
│ ├── homegood.jpg
│ ├── team_top.png
│ ├── user_top.png
│ ├── cash_balance.png
│ ├── logo.svg
│ ├── icon_arrow.svg
│ ├── icon_rule.svg
│ ├── tabbar_01_active.svg
│ ├── icon_close.svg
│ ├── tabbar_03_active.svg
│ ├── icon-notice.svg
│ ├── icon_good.svg
│ ├── weixin_2.svg
│ ├── icon_zhuce.svg
│ ├── vajra_02.svg
│ ├── user_panel_07.svg
│ ├── user_panel_04.svg
│ ├── user_type_02.svg
│ ├── mobile.svg
│ ├── user_panel_02.svg
│ ├── vajra_04.svg
│ ├── vajra_03.svg
│ ├── icon_setup.svg
│ ├── user_type_01.svg
│ ├── vajra_01.svg
│ ├── user_panel_06.svg
│ ├── user_panel_03.svg
│ ├── user_panel_01.svg
│ └── user_panel_05.svg
├── sitemap.json
├── app.js
├── utils
│ ├── util.js
│ ├── help.js
│ └── request.js
├── project.private.config.json
├── .eslintrc.js
├── app.json
└── project.config.json
├── image
├── A1.png
├── A10.png
├── A11.png
├── A12.png
├── A13.png
├── A14.png
├── A15.png
├── A16.png
├── A17.png
├── A18.png
├── A19.png
├── A2.png
├── A3.png
├── A4.png
├── A5.png
├── A6.png
├── A7.png
├── A8.png
├── A9.png
├── B1.png
├── B10.png
├── B11.png
├── B12.png
├── B2.png
├── B3.png
├── B4.png
├── B5.png
├── B6.png
├── B7.png
├── B8.png
└── B9.png
└── README.md
/web/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/image/1700118786356.docx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/server/image/1700125260067.docx:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/wx/pages/answer_info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "测试结果"
3 | }
--------------------------------------------------------------------------------
/wx/pages/consult/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "选择咨询方式"
3 | }
--------------------------------------------------------------------------------
/image/A1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A1.png
--------------------------------------------------------------------------------
/image/A10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A10.png
--------------------------------------------------------------------------------
/image/A11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A11.png
--------------------------------------------------------------------------------
/image/A12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A12.png
--------------------------------------------------------------------------------
/image/A13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A13.png
--------------------------------------------------------------------------------
/image/A14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A14.png
--------------------------------------------------------------------------------
/image/A15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A15.png
--------------------------------------------------------------------------------
/image/A16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A16.png
--------------------------------------------------------------------------------
/image/A17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A17.png
--------------------------------------------------------------------------------
/image/A18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A18.png
--------------------------------------------------------------------------------
/image/A19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A19.png
--------------------------------------------------------------------------------
/image/A2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A2.png
--------------------------------------------------------------------------------
/image/A3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A3.png
--------------------------------------------------------------------------------
/image/A4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A4.png
--------------------------------------------------------------------------------
/image/A5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A5.png
--------------------------------------------------------------------------------
/image/A6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A6.png
--------------------------------------------------------------------------------
/image/A7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A7.png
--------------------------------------------------------------------------------
/image/A8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A8.png
--------------------------------------------------------------------------------
/image/A9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/A9.png
--------------------------------------------------------------------------------
/image/B1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B1.png
--------------------------------------------------------------------------------
/image/B10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B10.png
--------------------------------------------------------------------------------
/image/B11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B11.png
--------------------------------------------------------------------------------
/image/B12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B12.png
--------------------------------------------------------------------------------
/image/B2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B2.png
--------------------------------------------------------------------------------
/image/B3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B3.png
--------------------------------------------------------------------------------
/image/B4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B4.png
--------------------------------------------------------------------------------
/image/B5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B5.png
--------------------------------------------------------------------------------
/image/B6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B6.png
--------------------------------------------------------------------------------
/image/B7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B7.png
--------------------------------------------------------------------------------
/image/B8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B8.png
--------------------------------------------------------------------------------
/image/B9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/image/B9.png
--------------------------------------------------------------------------------
/web/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | config/*.js
3 | src/assets
4 | *.vue
5 | *.js
6 |
--------------------------------------------------------------------------------
/web/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/favicon.ico
--------------------------------------------------------------------------------
/web/build/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/build/logo.png
--------------------------------------------------------------------------------
/wx/images/111.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/111.webp
--------------------------------------------------------------------------------
/wx/images/button1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/button1.png
--------------------------------------------------------------------------------
/wx/images/button2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/button2.png
--------------------------------------------------------------------------------
/wx/images/homegood.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/homegood.jpg
--------------------------------------------------------------------------------
/wx/images/team_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/team_top.png
--------------------------------------------------------------------------------
/wx/images/user_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/user_top.png
--------------------------------------------------------------------------------
/wx/pages/answer/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评测",
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/wx/pages/favorite/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "我的收藏"
4 | }
--------------------------------------------------------------------------------
/wx/pages/info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "个人信息修改"
4 | }
--------------------------------------------------------------------------------
/wx/pages/notice/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "最新通知"
4 | }
--------------------------------------------------------------------------------
/web/static/img/login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/img/login.jpg
--------------------------------------------------------------------------------
/web/static/img/login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/img/login.png
--------------------------------------------------------------------------------
/wx/images/cash_balance.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/wx/images/cash_balance.png
--------------------------------------------------------------------------------
/wx/pages/answer_list/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "答题记录",
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/wx/pages/knowledge/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "心理知识"
4 | }
--------------------------------------------------------------------------------
/wx/pages/line/index.wxss:
--------------------------------------------------------------------------------
1 | /**index.wxss**/
2 | ec-canvas {
3 | width: 100%;
4 | height: 100%;
5 | }
6 |
--------------------------------------------------------------------------------
/wx/pages/notice_info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "通知详情"
4 | }
--------------------------------------------------------------------------------
/wx/pages/counselor_info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "心理咨询详情"
4 | }
--------------------------------------------------------------------------------
/wx/pages/knowledge_info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "心理知识详情"
4 | }
--------------------------------------------------------------------------------
/wx/pages/online_counsel/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "在线咨询"
4 | }
--------------------------------------------------------------------------------
/wx/pages/updatePassword/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "修改密码"
4 | }
--------------------------------------------------------------------------------
/server/image/1700115556897.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700115556897.png
--------------------------------------------------------------------------------
/server/image/1700118628847.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700118628847.png
--------------------------------------------------------------------------------
/server/image/1700118647958.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700118647958.png
--------------------------------------------------------------------------------
/server/image/1700181461979.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700181461979.webp
--------------------------------------------------------------------------------
/server/image/1700185460923.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700185460923.jpg
--------------------------------------------------------------------------------
/server/image/1700534572344.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700534572344.png
--------------------------------------------------------------------------------
/server/image/1700534613027.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700534613027.png
--------------------------------------------------------------------------------
/server/image/1700534639707.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700534639707.png
--------------------------------------------------------------------------------
/server/image/1700534960731.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700534960731.webp
--------------------------------------------------------------------------------
/server/image/1700534966336.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700534966336.webp
--------------------------------------------------------------------------------
/server/image/1700661114459.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1700661114459.webp
--------------------------------------------------------------------------------
/server/image/1733728519210.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/server/image/1733728519210.jpg
--------------------------------------------------------------------------------
/web/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js: stable
3 | script: npm run test
4 | notifications:
5 | email: false
6 |
--------------------------------------------------------------------------------
/web/src/assets/404_images/404.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/src/assets/404_images/404.png
--------------------------------------------------------------------------------
/wx/pages/line/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "ec-canvas": "../../ec-canvas/ec-canvas"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/web/src/assets/404_images/404_cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/src/assets/404_images/404_cloud.png
--------------------------------------------------------------------------------
/web/build/vue-loader.conf.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | module.exports = {
4 | //You can set the vue-loader configuration by yourself.
5 | }
6 |
--------------------------------------------------------------------------------
/wx/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "tabbar":"/component/tabbar/tabbar"
4 | },
5 | "navigationBarTitleText": "首页"
6 | }
--------------------------------------------------------------------------------
/wx/pages/wode/wode.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "tabbar":"/component/tabbar/tabbar"
4 | },
5 | "navigationBarTitleText": "我的"
6 | }
--------------------------------------------------------------------------------
/wx/pages/counselor/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "tabbar":"/component/tabbar/tabbar"
4 | },
5 | "navigationBarTitleText": "心理咨询"
6 | }
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/img/trans.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/img/trans.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/img/anchor.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/img/anchor.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/img/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/img/loader.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/img/object.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/img/object.gif
--------------------------------------------------------------------------------
/wx/pages/curve/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "ec-canvas": "../../ec-canvas/ec-canvas"
4 | },
5 | "navigationBarTitleText": "心理健康指数变化分析"
6 |
7 | }
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff
--------------------------------------------------------------------------------
/wx/pages/info/index.wxss:
--------------------------------------------------------------------------------
1 | page{background: #F4F6FA;}
2 |
3 |
4 | .page_form__item{position: relative;}
5 | .getcode{position:absolute; right: 32rpx; top: 0; z-index: 999;}
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-cool.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-cry.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-kiss.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-wink.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-yell.gif
--------------------------------------------------------------------------------
/wx/pages/line/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-frown.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-sealed.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-smile.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf
--------------------------------------------------------------------------------
/wx/pages/updatePassword/index.wxss:
--------------------------------------------------------------------------------
1 | page{background: #F4F6FA;}
2 |
3 |
4 | .page_form__item{position: relative;}
5 | .getcode{position:absolute; right: 32rpx; top: 0; z-index: 999;}
--------------------------------------------------------------------------------
/web/config/prod.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | module.exports = {
3 | NODE_ENV: '"production"',
4 | BASE_API: '"https://easy-mock.com/mock/5950a2419adc231f356a6636/vue-admin"',
5 | }
6 |
--------------------------------------------------------------------------------
/web/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
11 |
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-innocent.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-laughing.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-surprised.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-undecided.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff
--------------------------------------------------------------------------------
/wx/pages/login/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "navigationBarTextStyle": "white",
4 | "navigationBarBackgroundColor": "#5360FE",
5 | "usingComponents": {}
6 | }
--------------------------------------------------------------------------------
/web/src/views/layout/components/index.js:
--------------------------------------------------------------------------------
1 | export { default as Navbar } from './Navbar'
2 | export { default as Sidebar } from './Sidebar'
3 | export { default as AppMain } from './AppMain'
4 |
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-embarassed.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-money-mouth.gif
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-tongue-out.gif
--------------------------------------------------------------------------------
/wx/pages/register/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "navigationBarTextStyle": "white",
4 | "navigationBarBackgroundColor": "#5360FE",
5 | "usingComponents": {}
6 | }
--------------------------------------------------------------------------------
/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/3275035005/weixin519/HEAD/web/static/tinymce4.7.5/plugins/emoticons/img/smiley-foot-in-mouth.gif
--------------------------------------------------------------------------------
/wx/sitemap.json:
--------------------------------------------------------------------------------
1 | {
2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
3 | "rules": [{
4 | "action": "allow",
5 | "page": "*"
6 | }]
7 | }
--------------------------------------------------------------------------------
/web/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | package-lock.json
8 |
9 | # Editor directories and files
10 | .idea
11 | .vscode
12 | *.suo
13 | *.ntvs*
14 | *.njsproj
15 | *.sln
16 |
--------------------------------------------------------------------------------
/wx/pages/curve/index.wxss:
--------------------------------------------------------------------------------
1 | /* 定义容器大小 */
2 | .container{
3 | width: 100%;
4 | height: 500rpx;
5 | background-color: rgb(255, 255, 255);
6 | }
7 |
8 | /* ec-canvas 组件宽高与父元素一致即可 */
9 | ec-canvas{
10 | width: 100%;
11 | height: 500rpx;
12 | }
13 |
--------------------------------------------------------------------------------
/wx/images/logo.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/web/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", {
4 | "modules": false,
5 | "targets": {
6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7 | }
8 | }],
9 | "stage-2"
10 | ],
11 | "plugins":["transform-vue-jsx", "transform-runtime"]
12 | }
13 |
--------------------------------------------------------------------------------
/wx/pages/consult/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/src/utils/get-page-title.js:
--------------------------------------------------------------------------------
1 | import defaultSettings from '@/settings'
2 |
3 | const title = defaultSettings.title || '大学生心理咨询管理系统'
4 |
5 | export default function getPageTitle(pageTitle) {
6 | if (pageTitle) {
7 | return `${pageTitle} - ${title}`
8 | }
9 | return `${title}`
10 | }
11 |
--------------------------------------------------------------------------------
/web/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | "postcss-import": {},
6 | "postcss-url": {},
7 | // to edit target browsers: use "browserslist" field in package.json
8 | "autoprefixer": {}
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/web/src/icons/svg/link.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/src/test.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Title
6 |
7 |
8 |
9 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/web/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
12 | [*.md]
13 | insert_final_newline = false
14 | trim_trailing_whitespace = false
15 |
--------------------------------------------------------------------------------
/web/config/dev.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const prodEnv = require('./prod.env')
4 |
5 | module.exports = merge(prodEnv, {
6 | NODE_ENV: '"development"',
7 | BASE_API: '"http://localhost:9999"',
8 | OSS_PATH: '"https://edu-guli-20001006.oss-cn-beijing.aliyuncs.com"'
9 | })
10 |
--------------------------------------------------------------------------------
/web/src/icons/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import SvgIcon from '@/components/SvgIcon' // svg组件
3 |
4 | // register globally
5 | Vue.component('svg-icon', SvgIcon)
6 |
7 | const requireAll = requireContext => requireContext.keys().map(requireContext)
8 | const req = require.context('./svg', false, /\.svg$/)
9 | requireAll(req)
10 |
--------------------------------------------------------------------------------
/wx/pages/notice_info/index.wxss:
--------------------------------------------------------------------------------
1 | page{padding: 32rpx; box-sizing: border-box;}
2 |
3 | .notice_title{font-size: 40rpx; margin-bottom: 20rpx; font-weight: bolder;}
4 | .notice_time{font-size: 30rpx; display: flex; justify-content: flex-end; margin-bottom: 40rpx;}
5 |
6 | rich-text .wscnph{
7 | max-width:100%;height:auto;display:block;margin:10px 0;
8 | }
--------------------------------------------------------------------------------
/web/src/utils/auth.js:
--------------------------------------------------------------------------------
1 | import Cookies from 'js-cookie'
2 |
3 | const TokenKey = 'Admin-Token'
4 |
5 | export function getToken() {
6 | return Cookies.get(TokenKey)
7 | }
8 |
9 | export function setToken(token) {
10 | return Cookies.set(TokenKey, token)
11 | }
12 |
13 | export function removeToken() {
14 | return Cookies.remove(TokenKey)
15 | }
16 |
--------------------------------------------------------------------------------
/web/src/settings.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 |
3 | title: '大学生心理咨询管理系统',
4 |
5 | /**
6 | * @type {boolean} true | false
7 | * @description Whether fix the header
8 | */
9 | fixedHeader: false,
10 |
11 | /**
12 | * @type {boolean} true | false
13 | * @description Whether show the logo in sidebar
14 | */
15 | sidebarLogo: false
16 | }
17 |
--------------------------------------------------------------------------------
/web/src/icons/svgo.yml:
--------------------------------------------------------------------------------
1 | # replace default config
2 |
3 | # multipass: true
4 | # full: true
5 |
6 | plugins:
7 |
8 | # - name
9 | #
10 | # or:
11 | # - name: false
12 | # - name: true
13 | #
14 | # or:
15 | # - name:
16 | # param1: 1
17 | # param2: 2
18 |
19 | - removeAttrs:
20 | attrs:
21 | - 'fill'
22 | - 'fill-rule'
23 |
--------------------------------------------------------------------------------
/wx/pages/notice_info/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{title}}
4 |
5 |
6 |
7 |
8 |
9 | 发布时间:{{createTime}}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/web/src/store/getters.js:
--------------------------------------------------------------------------------
1 | const getters = {
2 | sidebar: state => state.app.sidebar,
3 | device: state => state.app.device,
4 | token: state => state.user.token,
5 | avatar: state => state.user.avatar,
6 | name: state => state.user.name,
7 | roles: state => state.user.roles,
8 | permission_routes: state => state.permission.routes// 新增
9 | }
10 | export default getters
11 |
--------------------------------------------------------------------------------
/web/src/api/favorite.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 |
3 | export function pageQuery(page, limit, data) {
4 | return request({
5 | url: `/p-favorite/pageQuery/${page}/${limit}`,
6 | method: 'post',
7 | data: data
8 | })
9 | }
10 | export function deleteById(id) {
11 | return request({
12 | url: `/p-favorite/deleteById/${id}`,
13 | method: 'delete'
14 | })
15 | }
16 |
--------------------------------------------------------------------------------
/wx/pages/notice/index.wxss:
--------------------------------------------------------------------------------
1 | page{background: #F4F6FA;}
2 |
3 |
4 |
5 | /* --- list --- */
6 | .allowance_list{padding: 32rpx;}
7 | .allowance_item{background: #fff; border-radius: 32rpx; padding: 32rpx; margin-bottom: 32rpx;}
8 | .allowance_item__content{width: 100%;}
9 | .allowance_item__title{font-size: 24rpx; margin-bottom: 8rpx;color: rgb(255, 0, 0);}
10 | .allowance_item__date{font-size: 24rpx; color: #999;}
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/mapper/PUserMapper.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.mapper;
2 |
3 | import com.cn.psychological.entity.PUser;
4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5 |
6 | import java.util.List;
7 |
8 | /**
9 | *
10 | * 用户信息表 Mapper 接口
11 | *
12 | */
13 | public interface PUserMapper extends BaseMapper {
14 |
15 | List pageQuery(PUser data);
16 | }
17 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/utils/page/PageResult.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.utils.page;
2 |
3 | import lombok.Data;
4 |
5 | import java.util.List;
6 |
7 | @Data
8 | public class PageResult {
9 |
10 | private long total;
11 |
12 | private List records;
13 |
14 | public PageResult(long total, List records) {
15 | this.total = total;
16 | this.records = records;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/mapper/PNoticeMapper.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.mapper;
2 |
3 | import com.cn.psychological.entity.PNotice;
4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5 |
6 | import java.util.List;
7 |
8 | /**
9 | *
10 | * 通知公告信息表 Mapper 接口
11 | *
12 | */
13 | public interface PNoticeMapper extends BaseMapper {
14 |
15 | List pageQuery(PNotice data);
16 | }
17 |
--------------------------------------------------------------------------------
/web/src/icons/svg/user.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/wx/pages/curve/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | 详细分析:
10 |
11 | {{content}}
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/wx/pages/consult/index.js:
--------------------------------------------------------------------------------
1 | let counselorId = ''
2 | Page({
3 |
4 | /**
5 | * 页面的初始数据
6 | */
7 | data: {},
8 | onLoad: function (options) {
9 | const { id } = options;
10 | counselorId = id
11 | },
12 | leaveButton(e){
13 | let id = e.currentTarget.dataset['index']
14 | wx.navigateTo({
15 | url: '/pages/online_counsel/index?flag='+id+'&counselorId='+counselorId,
16 | })
17 | },
18 |
19 | })
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PUserService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.cn.psychological.entity.PUser;
4 | import com.baomidou.mybatisplus.extension.service.IService;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | /**
8 | *
9 | * 用户信息表 服务类
10 | *
11 | */
12 | public interface PUserService extends IService {
13 |
14 | PageResult pageQuery(int page, int limit, PUser data);
15 | }
16 |
--------------------------------------------------------------------------------
/wx/app.js:
--------------------------------------------------------------------------------
1 | // app.js
2 | App({
3 | onLaunch() {
4 | // 展示本地存储能力
5 | const logs = wx.getStorageSync('logs') || []
6 | logs.unshift(Date.now())
7 | wx.setStorageSync('logs', logs)
8 |
9 | // 登录
10 | wx.login({
11 | success: res => {
12 | // 发送 res.code 到后台换取 openId, sessionKey, unionId
13 | }
14 | })
15 | },
16 | globalData: {
17 | version: '大学生心理咨询平台v1.0',
18 | baseURL: "http://127.0.0.1:9999/",
19 | }
20 | })
21 |
--------------------------------------------------------------------------------
/wx/pages/answer_list/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 大学生心理咨询管理系统
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/wx/images/icon_arrow.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PNoticeService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.cn.psychological.entity.PNotice;
4 | import com.baomidou.mybatisplus.extension.service.IService;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | /**
8 | *
9 | * 通知公告信息表 服务类
10 | *
11 | */
12 | public interface PNoticeService extends IService {
13 |
14 | PageResult pageQuery(int page, int limit, PNotice data);
15 | }
16 |
--------------------------------------------------------------------------------
/web/src/store/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Vuex from 'vuex'
3 | import settings from './modules/settings'
4 | import app from './modules/app'
5 | import user from './modules/user'
6 | import getters from './getters'
7 | import permission from '@/store/modules/permission'
8 | Vue.use(Vuex)
9 |
10 | const store = new Vuex.Store({
11 | modules: {
12 | app,
13 | settings,
14 | user,
15 | permission
16 | },
17 | getters
18 | })
19 |
20 | export default store
21 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/mapper/PReplyMapper.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.mapper;
2 |
3 | import com.cn.psychological.entity.PReply;
4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5 |
6 | import java.util.List;
7 |
8 | /**
9 | *
10 | * 咨询信息表 Mapper 接口
11 | *
12 | */
13 | public interface PReplyMapper extends BaseMapper {
14 |
15 | List pageQuery(PReply pReply);
16 |
17 | List getList(PReply pReply);
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/web/src/icons/svg/example.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/wx/pages/answer/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/test/test.wxss */
2 | page {
3 | background-color: #fff;
4 | }
5 | .page {
6 | padding: 20rpx;
7 | }
8 | .page__bd {
9 | padding: 20rpx;
10 | }
11 | .my-choosebox {
12 | display: block;
13 | margin-bottom: 20rpx;
14 | }
15 | .toindex-btn {
16 | margin-top: 20rpx;
17 | display:inline-block;
18 | line-height:2.3;
19 | font-size:13px;
20 | padding:0 1.34em;
21 | color: red;
22 | }
23 | .page .radio-group, .page .checkbox-group {
24 | display: block;
25 | }
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/FileService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import org.springframework.web.multipart.MultipartFile;
4 |
5 | import java.io.IOException;
6 |
7 | public interface FileService {
8 |
9 |
10 | /**
11 | * 上传文件
12 | * @param multipartFile
13 | * @param fileName
14 | * @return
15 | * @throws IOException
16 | */
17 | boolean uploadFile(MultipartFile multipartFile, String fileName)throws IOException;
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/mapper/PKnowledgeMapper.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.mapper;
2 |
3 | import com.cn.psychological.entity.PKnowledge;
4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5 |
6 | import java.util.List;
7 |
8 | /**
9 | *
10 | * 心理知识信息表 Mapper 接口
11 | *
12 | */
13 | public interface PKnowledgeMapper extends BaseMapper {
14 |
15 | List pageQuery(PKnowledge data);
16 |
17 | List getList();
18 |
19 | PKnowledge getOneById(String id);
20 | }
21 |
--------------------------------------------------------------------------------
/wx/utils/util.js:
--------------------------------------------------------------------------------
1 | const formatTime = date => {
2 | const year = date.getFullYear()
3 | const month = date.getMonth() + 1
4 | const day = date.getDate()
5 | const hour = date.getHours()
6 | const minute = date.getMinutes()
7 | const second = date.getSeconds()
8 |
9 | return `${[year, month, day].map(formatNumber).join('/')} ${[hour, minute, second].map(formatNumber).join(':')}`
10 | }
11 |
12 | const formatNumber = n => {
13 | n = n.toString()
14 | return n[1] ? n : `0${n}`
15 | }
16 |
17 | module.exports = {
18 | formatTime
19 | }
20 |
--------------------------------------------------------------------------------
/wx/pages/answer_info/index.wxss:
--------------------------------------------------------------------------------
1 | @import "/style/icon.wxss";
2 | @import "/style/colorui.wxss";
3 | page {
4 | background-color: #fff;
5 | }
6 | .page {
7 | padding: 30rpx;
8 | }
9 | .mw-avatar {
10 | width: 128rpx;
11 | height: 128rpx;
12 | border-radius: 50%;
13 | overflow: hidden;
14 | }
15 | .page-score {
16 | display: flex;
17 | justify-content: center;
18 | align-items: flex-end;
19 | padding-top:20rpx;
20 | }
21 | .score-num {
22 | font-size:100rpx;
23 | }
24 | .page-footer {
25 | margin-top:30rpx;
26 | text-align: center;
27 | }
--------------------------------------------------------------------------------
/wx/utils/help.js:
--------------------------------------------------------------------------------
1 | function show(msg){
2 | wx.showToast({
3 | title: msg,
4 | icon: 'none',
5 | duration: 2000
6 | })
7 | }
8 | function okShow(msg){
9 | wx.showToast({
10 | title: msg,
11 | icon: 'success',
12 | duration: 2000
13 | })
14 | }
15 |
16 |
17 |
18 | /**
19 | * module.exports用来导出代码
20 | * js文件中通过var help = require("../util/help.js") 加载
21 | * 在引入引入文件的时候" "里面的内容通过../../../这种类型,小程序的编译器会自动提示,因为你可能
22 | * 项目目录不止一级,不同的js文件对应的工具类的位置不一样
23 | */
24 | module.exports.show = show;
25 | module.exports.okShow = okShow;
26 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PReplyService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.cn.psychological.entity.PReply;
4 | import com.baomidou.mybatisplus.extension.service.IService;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | * 咨询信息表 服务类
12 | *
13 | */
14 | public interface PReplyService extends IService {
15 |
16 | PageResult pageQuery(int page, int limit, PReply data);
17 |
18 | List getList(PReply pReply);
19 | }
20 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/WorkOrderApplication.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological;
2 |
3 | import org.mybatis.spring.annotation.MapperScan;
4 | import org.springframework.boot.SpringApplication;
5 | import org.springframework.boot.autoconfigure.SpringBootApplication;
6 |
7 | /**
8 | * 项目启动类
9 | **/
10 | @MapperScan("com.cn.psychological.mapper") // 配置包扫描
11 | @SpringBootApplication
12 | public class WorkOrderApplication {
13 |
14 | public static void main(String[] args) {
15 | SpringApplication.run(WorkOrderApplication.class);
16 | }
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/mapper/PFavoriteMapper.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.mapper;
2 |
3 | import com.cn.psychological.entity.PFavorite;
4 | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
5 | import org.apache.ibatis.annotations.Param;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | * 收藏信息表 Mapper 接口
12 | *
13 | */
14 | public interface PFavoriteMapper extends BaseMapper {
15 |
16 | List pageQuery(PFavorite data);
17 |
18 | List favoriteListByUserId(@Param("userId") String userId);
19 | }
20 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PFavoriteService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.cn.psychological.entity.PFavorite;
4 | import com.baomidou.mybatisplus.extension.service.IService;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | * 收藏信息表 服务类
12 | *
13 | */
14 | public interface PFavoriteService extends IService {
15 |
16 | PageResult pageQuery(int page, int limit, PFavorite data);
17 |
18 | List favoriteListByUserId(String userId);
19 | }
20 |
--------------------------------------------------------------------------------
/wx/pages/login/index.wxss:
--------------------------------------------------------------------------------
1 | /* --- header --- */
2 | .login-header{background: #5460FE; text-align: center; padding: 40rpx 0; height: 28vh;}
3 | .login-header .logo image{width: 450rpx; height: 200rpx;}
4 | .login-header .title{font-size: 50rpx; color: #fff; font-weight: bolder; margin-bottom: 8rpx;}
5 | .login-header .eng{font-size: 28rpx; font-family: din; color: #fff;}
6 | .login-header .back{position: absolute; right: 0; top: 0;}
7 | .login-header .back image{width: 682rpx; height: 950rpx;}
8 |
9 | /* --- copyright --- */
10 | .login-copyright{height: 5vh; text-align: center; font-size: 24rpx; color: #ccc;}
--------------------------------------------------------------------------------
/web/src/icons/svg/table.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/wx/pages/notice/index.js:
--------------------------------------------------------------------------------
1 | var call = require("../../utils/request.js")
2 | var help = require("../../utils/help.js")
3 |
4 | Page({
5 |
6 | /**
7 | * 页面的初始数据
8 | */
9 | data: {
10 | list:[]
11 | },
12 | onLoad: function () {
13 | this.getInit();
14 | },
15 | getInit(){
16 | call.getData('wx/getNotice' , this.onSuccessclassAll, this.onFaiclassAll);
17 | },
18 | onSuccessclassAll(res) {
19 | if(res.code == 20000){
20 | this.setData({
21 | list:res.data.row
22 | })
23 | }
24 | },
25 | onFaiclassAll() {
26 | help.show("网络请求失败");
27 | }
28 | })
29 |
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PKnowledgeService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.cn.psychological.entity.PKnowledge;
4 | import com.baomidou.mybatisplus.extension.service.IService;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | * 心理知识信息表 服务类
12 | *
13 | */
14 | public interface PKnowledgeService extends IService {
15 |
16 | PageResult pageQuery(int page, int limit, PKnowledge data);
17 |
18 | List getList();
19 |
20 |
21 | PKnowledge getOneById(String id);
22 | }
23 |
--------------------------------------------------------------------------------
/web/src/icons/svg/password.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/src/views/layout/components/Sidebar/Item.vue:
--------------------------------------------------------------------------------
1 |
30 |
--------------------------------------------------------------------------------
/web/src/icons/svg/index.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/wx/pages/answer_list/index.wxss:
--------------------------------------------------------------------------------
1 | @import "/style/icon.wxss";
2 | @import "/style/colorui.wxss";
3 | page{
4 | background-color: #fff;
5 | }
6 |
7 |
8 | .container {
9 | height: 100%;
10 | display: flex;
11 | flex-direction: column;
12 | align-items: center;
13 | justify-content: space-between;
14 | padding: 200rpx 0;
15 | box-sizing: border-box;
16 | }
17 | .mw-weixin.text-center {
18 | color: rgb(238, 238, 238);
19 | padding: 30rpx 0 0;
20 | }
21 | .bg-red {
22 | background-color: #FEAE82;
23 | color: #851000;
24 | }
25 | .text-red, .line-red, .lines-red {
26 | color: #FEAE82;
27 | }
28 | .line-red::after, .lines-red::after {
29 | border-color: #FEAE82;
30 | }
--------------------------------------------------------------------------------
/wx/images/icon_rule.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/wx/pages/counselor/index.js:
--------------------------------------------------------------------------------
1 | var call = require("../../utils/request.js")
2 | var help = require("../../utils/help.js")
3 |
4 | Page({
5 |
6 | data: {
7 | counselorList:[]
8 | },
9 | onLoad: function () {
10 | this.getCounselorList();
11 | },
12 | // 查询所有咨询师
13 | getCounselorList(){
14 | call.getData('wx/getCounselor' , this.onSuccessCounselorAll, this.onFaiCounselorAll);
15 | },
16 | onSuccessCounselorAll(res) {
17 | if(res.code == 20000){
18 | this.setData({
19 | counselorList:res.data.row
20 | })
21 | }
22 | },
23 | onFaiCounselorAll() {
24 | help.show("网络请求失败");
25 | },
26 |
27 | })
--------------------------------------------------------------------------------
/web/src/api/result.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 |
3 | export function pageQuery(page, limit, data) {
4 | return request({
5 | url: `/p-result/pageQuery/${page}/${limit}`,
6 | method: 'post',
7 | data: data
8 | })
9 | }
10 | export function deleteById(id) {
11 | return request({
12 | url: `/p-result/deleteById/${id}`,
13 | method: 'delete'
14 | })
15 | }
16 | export function update(data){
17 | return request({
18 | url: `/p-result/update`,
19 | method: 'put',
20 | data: data
21 | })
22 | }
23 | export function getTypeHistogram(){
24 | return request({
25 | url: `/p-result/getTypeHistogram`,
26 | method: 'get'
27 | })
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/wx/project.private.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
3 | "projectname": "wx",
4 | "setting": {
5 | "compileHotReLoad": true
6 | },
7 | "condition": {
8 | "miniprogram": {
9 | "list": [
10 | {
11 | "name": "",
12 | "pathName": "pages/answer_info/index",
13 | "query": "id=12121",
14 | "launchMode": "default",
15 | "scene": null
16 | }
17 | ]
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/web/src/api/notice.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 |
3 | export function pageQuery(page, limit, data) {
4 | return request({
5 | url: `/p-notice/pageQuery/${page}/${limit}`,
6 | method: 'post',
7 | data: data
8 | })
9 | }
10 | export function deleteById(id) {
11 | return request({
12 | url: `/p-notice/deleteById/${id}`,
13 | method: 'delete'
14 | })
15 | }
16 | export function insert(data){
17 | return request({
18 | url: `/p-notice/insert`,
19 | method: 'post',
20 | data: data
21 | })
22 | }
23 |
24 | export function update(data){
25 | return request({
26 | url: `/p-notice/update`,
27 | method: 'put',
28 | data: data
29 | })
30 | }
31 |
--------------------------------------------------------------------------------
/wx/pages/knowledge/index.js:
--------------------------------------------------------------------------------
1 | var call = require("../../utils/request.js")
2 | var help = require("../../utils/help.js")
3 |
4 | Page({
5 |
6 | data: {
7 | knowledgeList:[],
8 | },
9 | onLoad: function () {
10 | this.getKnowledgeList();
11 | },
12 |
13 |
14 | // 查询所有课程类别
15 | getKnowledgeList(){
16 | call.getData('wx/getKnowledge' , this.onSuccessKnowledgeAll, this.onFaiKnowledgeAll);
17 | },
18 | onSuccessKnowledgeAll(res) {
19 | if(res.code == 20000){
20 | this.setData({
21 | knowledgeList:res.data.row
22 | })
23 | }
24 | },
25 |
26 | onFaiKnowledgeAll() {
27 | help.show("网络请求失败");
28 | }
29 | })
--------------------------------------------------------------------------------
/server/src/main/java/com/cn/psychological/service/PResultService.java:
--------------------------------------------------------------------------------
1 | package com.cn.psychological.service;
2 |
3 | import com.baomidou.mybatisplus.extension.service.IService;
4 | import com.cn.psychological.entity.PResult;
5 | import com.cn.psychological.utils.page.PageResult;
6 |
7 | import java.util.List;
8 | import java.util.Map;
9 |
10 | /**
11 | *
12 | * 评测结果表 服务类
13 | *
14 | */
15 | public interface PResultService extends IService {
16 |
17 | PageResult pageQuery(int page, int limit, PResult data);
18 |
19 | List< Map> getThisMonthDay(String userId);
20 |
21 | List