diff --git a/api/Lifeservice/Lifeservice.js b/api/Lifeservice/Lifeservice.js new file mode 100644 index 0000000..48705ad --- /dev/null +++ b/api/Lifeservice/Lifeservice.js @@ -0,0 +1,10 @@ +import request from "../request.js" + + + +export function nurseType() { + return request({ + url: `/nurseApplet/nearbyNursingStation/getNurseTypeList`, + method: 'GET' + }) +} diff --git a/api/appointment/index.js b/api/appointment/index.js new file mode 100644 index 0000000..406450c --- /dev/null +++ b/api/appointment/index.js @@ -0,0 +1,26 @@ +import request from "../request.js" + + +export function getPatientInfoList(openid) { + return request({ + url: `/nurseApplet/login/getPatientInfoList?openId=${openid}`, + method: 'GET' + }) +} + + +export function getStationItemInfo(stationId, stationItemId, stationItemPriceId) { + return request({ + url: `/nurseApplet/login/getStationItemInfo?stationId=${stationId}&stationItemId=${stationItemId}&stationItemPriceId=${stationItemPriceId}`, + method: 'GET' + }) +} +export function appointment(data) { + return request({ + url: `/nurseApplet/login/appointment`, + method: 'post', + data + }) +} + + diff --git a/api/details/index.js b/api/details/index.js new file mode 100644 index 0000000..c7c3864 --- /dev/null +++ b/api/details/index.js @@ -0,0 +1,18 @@ +import request from "../request.js" + + +export function introductionList(id) { + return request({ + url: `/nurseApplet/nearbyNursingStation/introductionList?nurseStationId=${id}`, + method: 'GET' + }) +} + + + +export function getPatientInfo(id) { + return request({ + url: `/nurseApplet/login/getPatientInfo?openId=${id}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/api/index/index.js b/api/index/index.js new file mode 100644 index 0000000..467c7a5 --- /dev/null +++ b/api/index/index.js @@ -0,0 +1,81 @@ +import request from "../request.js" + +export function getWeChatUser(loginCode) { + return request({ + url: `/nurseApplet/login/getWeChatUserInfo?loginCode=${loginCode}`, + method: 'GET' + }) +} + +// 个人中心 +export function getPatient(openId) { + return request({ + url: `/nurseApplet/login/getPatientInfo?openId=${openId}`, + method: 'GET' + }) +} +// 护理站 +// export function getPatient(openId) { +// return request({ +// url: `/nurseApplet/system/nurseType/list=${openId}`, +// method: 'GET' +// }) +// } + + +export function getAppletPictureUrl(fileName) { + return request({ + url: `/nurseApplet/login/getAppletPictureUrl?fileName=${fileName}`, + method: 'GET' + }) +} + + + +export function uploadHeadPicture(data) { + return request({ + url: `/nurseApplet/login/uploadHeadPicture`, + method: 'POST', + data + }) +} + +// export function getPreOrderById(data,data2) { +// return request({ +// url: `/kindergarten/applet/appletLogin?loginCode=${data}&phoneCode=${data2}`, +// method: 'GET' +// }) +// } +// //查看 +// export function getStudentScore(data) { +// return request({ +// url: `/kindergarten/applet/getStudentScoreInfo?studentId=${data}`, +// method: 'GET' +// }) +// } +// //绑定家长手机号 +// export function bindParent(data) { +// return request({ +// url: `/kindergarten/applet/bindParentInfo`, +// method: 'POST', +// data +// }) +// } + + + +// export function getInfoByPhone(data) { +// return request({ +// url: `/kindergarten/applet/getInfoByPhone?phone=${data}`, +// method: 'GET' +// }) +// } + + +// export function addConfirmOrder(data) { +//     return request({ +//         url: ``, +//         method: "post", +//         data +//     }) +// } diff --git a/api/order/index.js b/api/order/index.js new file mode 100644 index 0000000..078270d --- /dev/null +++ b/api/order/index.js @@ -0,0 +1,12 @@ +import request from "../request.js" + + +export function patienInfo(id,orderNo) { + return request({ + url: `/nurseApplet/serviceOrder/patienInfo?patientId=${id}&orderNo=${orderNo}`, + method: 'GET' + }) +} + + + diff --git a/api/orderPrart/index.js b/api/orderPrart/index.js new file mode 100644 index 0000000..43df3a5 --- /dev/null +++ b/api/orderPrart/index.js @@ -0,0 +1,12 @@ +import request from "../request.js" + + +export function nursingOrder(parentId) { + return request({ + url: `/nurseApplet/nursingOrder/userPage?parentId=${parentId}`, + method: 'GET' + }) +} + + + diff --git a/api/site/index.js b/api/site/index.js new file mode 100644 index 0000000..b2376a0 --- /dev/null +++ b/api/site/index.js @@ -0,0 +1,16 @@ +import request from "../request.js" + + +// export function list() { +// return request({ +// url: `/nurseApplet/system/patientInfo/list`, +// method: 'GET' +// }) +// } + +export function nearbyList(pageSize,pageNum,longitude, latitude, nurseStationType, nurseStationName) { + return request({ + url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}&nurseStationType=${nurseStationType}&nurseStationName=${nurseStationName}`, + method: 'GET' + }) +} diff --git a/api/userdata/index.js b/api/userdata/index.js new file mode 100644 index 0000000..fe549fd --- /dev/null +++ b/api/userdata/index.js @@ -0,0 +1,11 @@ +import request from "../request.js" + + + + +export function getRegisterPatientInfo(patientId) { + return request({ + url: `/nurseApplet/login/getRegisterPatientInfo?patientId=${patientId}`, + method: 'GET' + }) +} diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue new file mode 100644 index 0000000..1ce2a61 --- /dev/null +++ b/pages/detail/detail.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/static/detailed.png b/static/detailed.png new file mode 100644 index 0000000..6a3cf0c Binary files /dev/null and b/static/detailed.png differ diff --git a/static/lifeserve.png b/static/lifeserve.png new file mode 100644 index 0000000..8e0fc21 Binary files /dev/null and b/static/lifeserve.png differ diff --git a/static/locatinsmall.png b/static/locatinsmall.png new file mode 100644 index 0000000..14620d1 Binary files /dev/null and b/static/locatinsmall.png differ diff --git a/static/location.png b/static/location.png new file mode 100644 index 0000000..a675118 Binary files /dev/null and b/static/location.png differ diff --git a/static/logo.png b/static/logo.png new file mode 100644 index 0000000..59280b7 Binary files /dev/null and b/static/logo.png differ diff --git a/static/yiliaohuli.png b/static/yiliaohuli.png new file mode 100644 index 0000000..b0f7990 Binary files /dev/null and b/static/yiliaohuli.png differ