14 changed files with 145 additions and 22 deletions
@ -1,3 +1,3 @@ |
|||
VUE_APP_MODE=production |
|||
VUE_APP_PREVIEW=false |
|||
VUE_APP_URL=http://www.tall.wiki/ |
|||
VUE_APP_URL=https://www.tall.wiki/ |
|||
|
@ -1,10 +1,10 @@ |
|||
VUE_APP_MODE=development |
|||
VUE_APP_NODE_ENV=development |
|||
VUE_APP_SCENE=medicine |
|||
VUE_APP_BASE_URL=http://test.tall.wiki/ |
|||
VUE_APP_API_URL=http://test.tall.wiki/gateway |
|||
VUE_APP_SCENE=tcm |
|||
VUE_APP_BASE_URL=https://test.tall.wiki/ |
|||
VUE_APP_API_URL=https://test.tall.wiki/gateway |
|||
VUE_APP_PROXY_URL=/gateway |
|||
VUE_APP_PUBLIC_PATH=/medicine |
|||
VUE_APP_PUBLIC_PATH=/tcm |
|||
VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws |
|||
VUE_APP_TITLE=盐湖区人民医院数字看板 |
|||
VUE_APP_DESCRIPTION=盐湖区人民医院数字看板 |
|||
|
@ -1,10 +1,10 @@ |
|||
VUE_APP_MODE=production |
|||
VUE_APP_NODE_ENV=production |
|||
VUE_APP_SCENE=medicine |
|||
VUE_APP_BASE_URL=http://www.tall.wiki/ |
|||
VUE_APP_API_URL=http://www.tall.wiki/gateway |
|||
VUE_APP_SCENE=tcm |
|||
VUE_APP_BASE_URL=https://www.tall.wiki/ |
|||
VUE_APP_API_URL=https://www.tall.wiki/gateway |
|||
VUE_APP_PROXY_URL=/gateway |
|||
VUE_APP_PUBLIC_PATH=/medicine |
|||
VUE_APP_PUBLIC_PATH=/tcm |
|||
VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws |
|||
VUE_APP_TITLE=盐湖区人民医院数字看板 |
|||
VUE_APP_DESCRIPTION=盐湖区人民医院数字看板 |
|||
|
@ -1,8 +1,17 @@ |
|||
import axios from 'axios'; |
|||
let { proxyUrl, msgUrl } = require('@/config/setting'); |
|||
|
|||
const wisdomcar = `${proxyUrl}/wisdomcar`; // 盐湖医院分路径
|
|||
const statistics = `${wisdomcar}/statistics`; // 盐湖医院相关接口
|
|||
const tcm = `${proxyUrl}/tcm`; |
|||
const patient = `${tcm}/patient`; // 患者相关接口
|
|||
|
|||
// 急救时长分析统计图数据
|
|||
// export const getPointTime = params => axios.post(`${statistics}/getPointTime`, params);
|
|||
// 保存患者病例信息
|
|||
export const saveCaseMes = params => axios.post(`${patient}/saveCaseMes`, params); |
|||
|
|||
// 添加患者基本信息
|
|||
export const savePatientMes = params => axios.post(`${patient}/savePatientMes`, params); |
|||
|
|||
// 通过搜索条件查询患者病例的信息
|
|||
export const selPatientMesList = params => axios.post(`${patient}/selPatientMesList`, params); |
|||
|
|||
// 通过查询搜索条件
|
|||
export const selSearchCriteriaList = params => axios.post(`${patient}/selSearchCriteriaList`, params); |
|||
|
@ -0,0 +1,16 @@ |
|||
<template> |
|||
<div>病例分析</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'CaseAnalysis', |
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
methods: {}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="stylus" scoped></style> |
@ -0,0 +1,38 @@ |
|||
<template> |
|||
<div>病例搜索</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { selSearchCriteriaList } from 'config/api'; |
|||
|
|||
export default { |
|||
name: 'CaseSearch', |
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
created() { |
|||
this.handleSearchCriteriaList(); |
|||
}, |
|||
|
|||
methods: { |
|||
async handleSearchCriteriaList() { |
|||
try { |
|||
const params = {}; |
|||
const res = await selSearchCriteriaList(params); |
|||
const { code, msg, data } = res.data; |
|||
if (code === 200) { |
|||
console.log('data: ', data); |
|||
} else { |
|||
this.$message.error(msg || '查询失败'); |
|||
throw msg; |
|||
} |
|||
} catch (error) { |
|||
throw new Error(`CaseSearch.vue method selSearchCriteriaList: ${error}`); |
|||
} |
|||
}, |
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="stylus" scoped></style> |
@ -0,0 +1,16 @@ |
|||
<template> |
|||
<div>患者信息录入</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'PatientInfo', |
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
methods: {}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="stylus" scoped></style> |
@ -0,0 +1,16 @@ |
|||
<template> |
|||
<div>选择患者信息</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'SelectPatient', |
|||
data() { |
|||
return {}; |
|||
}, |
|||
|
|||
methods: {}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="stylus" scoped></style> |
Loading…
Reference in new issue