first commit

main
史建月 2023-10-27 19:07:07 +08:00
parent efaeecb0b8
commit c67f0d09c5
572 changed files with 8588 additions and 214 deletions

29
package-lock.json generated
View File

@ -10,11 +10,14 @@
"dependencies": {
"axios": "^1.5.1",
"core-js": "^3.8.3",
"jsencrypt": "^3.3.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"normalize.css": "^8.0.1",
"postcss-pxtorem": "^6.0.0",
"vant": "^2.13.1",
"vue": "^2.6.14",
"vue-router": "^3.5.1",
"vue-router": "^3.6.5",
"vuex": "^3.6.2"
},
"devDependencies": {
@ -6637,6 +6640,11 @@
"dev": true,
"license": "MIT"
},
"node_modules/jsencrypt": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/jsencrypt/-/jsencrypt-3.3.2.tgz",
"integrity": "sha512-arQR1R1ESGdAxY7ZheWr12wCaF2yF47v5qpB76TtV64H1pyGudk9Hvw8Y9tb/FiTIaaTRUyaSnm5T/Y53Ghm/A=="
},
"node_modules/jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz",
@ -6808,10 +6816,8 @@
},
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true,
"license": "MIT"
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"node_modules/lodash.debounce": {
"version": "4.0.8",
@ -7312,6 +7318,14 @@
"dev": true,
"license": "MIT"
},
"node_modules/moment": {
"version": "2.29.4",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==",
"engines": {
"node": "*"
}
},
"node_modules/mrmime": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/mrmime/-/mrmime-1.0.1.tgz",
@ -10282,9 +10296,8 @@
},
"node_modules/vue-router": {
"version": "3.6.5",
"resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.6.5.tgz",
"integrity": "sha512-VYXZQLtjuvKxxcshuRAwjHnciqZVoXAjTjcqBTz4rKc8qih9g9pI3hbDjmqXaHdgL3v8pV6P8Z335XvHzESxLQ==",
"license": "MIT"
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz",
"integrity": "sha512-VYXZQLtjuvKxxcshuRAwjHnciqZVoXAjTjcqBTz4rKc8qih9g9pI3hbDjmqXaHdgL3v8pV6P8Z335XvHzESxLQ=="
},
"node_modules/vue-style-loader": {
"version": "4.1.3",

View File

@ -9,11 +9,14 @@
"dependencies": {
"axios": "^1.5.1",
"core-js": "^3.8.3",
"jsencrypt": "^3.3.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"normalize.css": "^8.0.1",
"postcss-pxtorem": "^6.0.0",
"vant": "^2.13.1",
"vue": "^2.6.14",
"vue-router": "^3.5.1",
"vue-router": "^3.6.5",
"vuex": "^3.6.2"
},
"devDependencies": {

View File

@ -4,8 +4,6 @@
</div>
</template>
<script src="./libs/flexible"></script>
<script src="./libs/touch.js"></script>
<style lang="scss" >
@ -22,6 +20,8 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
width: 100%;
height: 100%;
color: #2c3e50;
}

243
src/api/index.js 100644
View File

@ -0,0 +1,243 @@
import http from "../http/index"
// 登录
// export const fetchLogin = async (ss) => {
// return await this.$http.post('http://172.17.8.100/health/user/v1/login', ss)
// }
// 注册
// export const fetchRegister = async (values) => {
// return await http.post('/api/health/user/v1/register', values)
// }
// ----------------------------首页------------------------------
// 首页
export const fetchBanner = async () => {
return await http.get("/api/health/share/v1/bannersShow")
}
// 首页的问诊咨询
export const fetchAsk = async () => {
return await http.get('/api/health/share/knowledgeBase/v1/findDepartment')
}
// 首页tab切换头部数据--查询健康咨询板块
export const fetchNav = async () => {
return await http.get('/api/health/share/information/v1/findInformationPlateList')
}
// 首页tab切换内容数据---根据咨询板块
export const fetchCon = async (params) => {
return await http.get('/api/health/share/information/v1/findInformationList', params)
}
// 首页跳转常见药品标题--根据药品类目查询查询常见药品
export const fetchYao = async (params) => {
return await http.get('/api/health/share/knowledgeBase/v1/findDrugsKnowledgeList', params)
}
// 查询常见病症
export const fetchYY = async (params) => {
return await http.get('/api/health/share/knowledgeBase/v1/findDiseaseKnowledge', params)
}
// 药品左侧---药品科目分类列表查询
export const fetchYaoLeft = async () => {
return await http.get('/api/health/share/knowledgeBase/v1/findDrugsCategoryList')
}
// 首页跳转常见药品里面的详情的详情 红色---查询常见药品详情
export const fetchSs = async (id) => {
return await http.get('/api/health/share/knowledgeBase/v1/findDrugsKnowledge', id)
}
// 首页科室症状
export const fetchZheng = async (departmentId) => {
return await http.get('/api/health/share/knowledgeBase/v1/findDiseaseCategory', departmentId)
}
// 咨询完整--咨询详情
export const fetchConsult = async (infoId) => {
return await http.get('/api/health/share/information/v1/findInformation', infoId)
}
// 视频
export const fetchVidio = async (params) => {
return await http.get('/api//health/user/video/v1/findVideoVoList', params)
}
// 热门搜索const---热门搜索
export const fetchHotSearch = async () => {
return await http.get('/api/health/share/v1/popularSearch')
}
// 首页搜索
export const fetchSearch = async (keyWord) => {
return await http.get('/api/health/share/v1/homePageSearch', keyWord)
}
// 摸索搜索医生的详情页
export const fetchDoctor = async (doctorId) => {
return await http.get('/api/health/user/inquiry/v1/findDoctorInfo', doctorId)
}
// 展示所有的评论
export const fetchComment = async (params) => {
return await http.get('/api/health/user/inquiry/v1/findDoctorEvaluateList', params)
}
// 首页病友圈
export const fetchpPathienCircle = async (params) => {
return await http.get('/api/health/user/sickCircle/v1/findSickCircleList', params)
}
// 查询问诊医生的列表和 我支付成功页面医生推荐
export const fetchDoctorlIST = async (params) => {
return await http.get('/api/health/user/inquiry/v1/findDoctorList', params)
}
// 病友圈详情页
export const fetchPathDetail = async (params) => {
return await http.get('/api/health/user/sickCircle/v1/findSickCircleInfo', params)
}
// 医生明细
export const fetchDoctorUser = async (params) => {
return await http.get('/api/health/user/inquiry/v1/findDoctorInfo', params)
}
// 病友圈关键词搜索
export const fetchPatKey = async (params) => {
return await http.get('/api/health/user/sickCircle/v1/searchSickCircle', params)
}
// 查询病友圈的列表
export const fetchPatList = async (params) => {
return await http.get('/api/health/user/sickCircle/v1/findSickCircleCommentList', params)
}
// 病友圈发布评论
export const fetchPublicComment = async (params) => {
return await http.post('/api/health/user/sickCircle/verify/v1/publishComment', params)
}
// 查看病友的病友圈列表
export const fetchPatenList = async (params) => {
return await http.get('/api//health/user/sickCircle/v1/findPatientSickCircleList', params)
}
// 发布病友圈
export const fetchPubBing = async (params) => {
return await http.post('/api//health/user/sickCircle/verify/v1/publishSickCircle', params, {
headers: {
"Content-Type": "application/json",
},
}
)
}
// 上传病友圈图片
// http.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
export const fetchPubImage = async (params) => {
return await http.post('/api/health/user/sickCircle/verify/v1/uploadSickCirclePicture', params,
{
headers: {
"Content-Type": 'multipart/form-data',
},
})
}
// 关注医生
export const fetchDoctorLike = async (params) => {
return await http.post('/api/health/user/inquiry/verify/v1/followDoctor', params)
}
// 取消关注医生
export const fetchDoctorisLike = async (params) => {
return await http.delete('/api/health/user/inquiry/verify/v1/cancelFollow', params)
}
// ----------------------------------------我的----------------------------------------
// 支付
export const fetchPayMoney = async (params) => {
return await http.post('/api/health/user/verify/v1/recharge', params)
}
// 我的钱包
export const fetchPackage = async (params) => {
return await http.get('/api/health/user/verify/v1/findUserWallet', params)
}
// 用户当前问诊
export const fetchRecord = async () => {
return await http.get('/api/health/user/inquiry/verify/v1/findCurrentInquiryRecord')
}
// 我的钱包xx
export const fetchWallet = async (params) => {
return await http.get('/api/health/user/verify/v1/findHealthyCurrencyNoticeList', params)
}
// 我的钱包列表
export const fetchMoneyList = async (params) => {
return await http.get('/api/health/user/verify/v1/findUserConsumptionRecordList', params)
}
// 咨询医生--聊天
export const fetchDoctorOnly = async (params) => {
return await http.put('/api/health/user/inquiry/verify/v1/consultDoctor', params)
}
// 查询用户当前问诊
export const fetchDoctorCurrent = async () => {
return await http.get('/api/health/user/inquiry/verify/v1/findCurrentInquiryRecord')
}
// 结束问诊
export const fetchOverAsk = async (params) => {
return await http.put('/api/health/user/inquiry/verify/v1/endInquiry', params)
}
// 历史问诊列表
export const fetchHistoryList = async (params) => {
return await http.get('/api/health/user/inquiry/verify/v1/findHistoryInquiryRecord', params)
}
// 用户评论问诊
export const fetchCommentDoctor = async (params) => {
return await http.put('/api/health/user/inquiry/verify/v1/evaluationInquiry', params)
}
// 查询礼物列表
export const fetchGiftList = async () => {
return await http.get('/api/health/user/inquiry/v1/findGiftList')
}
// 确定送礼物
export const fetchGiftYour = async (params) => {
return await http.put('/api/health/user/inquiry/verify/v1/handselGift', params)
}
// 提现
export const fetchGetMoney = async (params) => {
return await http.post('/api/health/user/verify/v1/drawCash', params)
}
// 添加我的档案
export const fetchAddProFile = async (params) => {
return await http.post('/api/health/user/verify/v1/addUserArchives', params, {
headers: {
"Content-Type": "application/json",
},
})
}
// 添加档案的图片
export const fetchImage = async (params) => {
return await http.post('/api/health/user/verify/v1/uploadArchivesPicture', params, {
headers: {
"Content-Type": 'multipart/form-data',
},
})
}
// 删除文档
export const fetchDelete=async(params)=>{
return await http.delete('/api/health/user/verify/v1/deleteUserArchives',params)
}
// 编辑文档
export const fetchEditProfile = async (params) => {
return await http.put('/api/health/user/verify/v1/updateUserArchives', params, {
headers: {
"Content-Type": "application/json",
},
})
}
// 我的档案列表
export const fetchGetProfile = async (params) => {
return await http.get('/api/health/user/verify/v1/findUserArchives')
}
// 收藏病友圈
export const fetchPatientSave=async(params)=>{
return await http.post('/api/health/user/verify/v1/addUserSickCollection',params)
}
//取消 收藏病友圈
export const fetchPatientNoSave=async(params)=>{
return await http.delete('/api/health/user/verify/v1/cancelSickCollection',params)
}
// 查看收藏病友圈
export const fetchSeeCirle=async(params)=>{
return await http.get('/api/health/user/verify/v1/findUserSickCollectionList',params)
}
// 查看收藏咨询
export const fetchSeeAsk=async(params)=>{
return await http.get('/api/health/user/verify/v1/findVideoCollectionList',params)
}
// 查看收藏视屏
export const fetchSeeVideo=async(params)=>{
return await http.get('/api/health/user/verify/v1/findVideoCollectionList',params)
}
// 提现记录 网路异常?
export const fetchGetList=async(params)=>{
return await http.get('/api/health/user/verify/v1/findUserDrawRecordList',params)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show More