修改
This commit is contained in:
parent
4990f39dc1
commit
5022932732
@ -1,2 +1,4 @@
|
|||||||
var baseurl = "https://hekou-nurse-api.xinyilu.cn";
|
var baseurl = "https://hekou-nurse-api.xinyilu.cn";
|
||||||
|
// var baseurl = "https://1608.xinelu.cn";
|
||||||
|
// var baseurl = "http://192.168.16.76:8080";
|
||||||
export default baseurl
|
export default baseurl
|
||||||
@ -1,4 +1,5 @@
|
|||||||
var socketurl = "wss://hekou-nurse-api.xinyilu.cn/webSocket/";
|
var socketurl = "wss://hekou-nurse-api.xinyilu.cn/webSocket/";
|
||||||
|
// var socketurl = "wss://1608.xinelu.cn/webSocket/";
|
||||||
var dzsocketurl = "wss://hekou-nurse-api.xinyilu.cn/fado/dz/webSocket/"; // SN码设备德州
|
var dzsocketurl = "wss://hekou-nurse-api.xinyilu.cn/fado/dz/webSocket/"; // SN码设备德州
|
||||||
var dysocketurl = "wss://hekou-nurse-api.xinyilu.cn/fado/dy/webSocket/"; // SN码设备东营
|
var dysocketurl = "wss://hekou-nurse-api.xinyilu.cn/fado/dy/webSocket/"; // SN码设备东营
|
||||||
export {
|
export {
|
||||||
|
|||||||
@ -174,7 +174,6 @@
|
|||||||
actions: [{
|
actions: [{
|
||||||
value: '1',
|
value: '1',
|
||||||
label: '户主本人'
|
label: '户主本人'
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '2',
|
value: '2',
|
||||||
@ -272,12 +271,12 @@
|
|||||||
phone: "",
|
phone: "",
|
||||||
address: "",
|
address: "",
|
||||||
areaCode: "",
|
areaCode: "",
|
||||||
homeLongitude: null,
|
homeLongitude: '118.5816',
|
||||||
homeLatitude: null,
|
homeLatitude: '37.44875',
|
||||||
nurseTypeIdList: [],
|
nurseTypeIdList: [],
|
||||||
diseaseInfoList: [],
|
diseaseInfoList: [],
|
||||||
patientId: '',
|
patientId: '',
|
||||||
locationName: '',
|
locationName: '东营',
|
||||||
sex: '',
|
sex: '',
|
||||||
sexname: '',
|
sexname: '',
|
||||||
birthDate: '',
|
birthDate: '',
|
||||||
@ -411,6 +410,7 @@
|
|||||||
uni.setStorageSync('patientName', res.data
|
uni.setStorageSync('patientName', res.data
|
||||||
.patientName);
|
.patientName);
|
||||||
uni.setStorageSync("userinfo", res.data)
|
uni.setStorageSync("userinfo", res.data)
|
||||||
|
uni.setStorageSync("region", 2)
|
||||||
that.scoket();
|
that.scoket();
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
title: '注册成功',
|
title: '注册成功',
|
||||||
|
|||||||
@ -80,7 +80,7 @@
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNum: 1
|
pageNum: 1
|
||||||
}
|
}
|
||||||
getCounty(obj, '1').then(respp => {
|
getCounty(obj).then(respp => {
|
||||||
respp.data = respp.data.forEach(e => {
|
respp.data = respp.data.forEach(e => {
|
||||||
e.label = e.orgName
|
e.label = e.orgName
|
||||||
e.value = e.orgNo
|
e.value = e.orgNo
|
||||||
@ -89,7 +89,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getNearbyOrginfo() {
|
getNearbyOrginfo() {
|
||||||
getNearbyOrg(this.query, '1').then(respp => {
|
getNearbyOrg(this.query).then(respp => {
|
||||||
this.institutionlist = respp.rows
|
this.institutionlist = respp.rows
|
||||||
this.institutiontotal = respp.total
|
this.institutiontotal = respp.total
|
||||||
})
|
})
|
||||||
@ -135,7 +135,7 @@
|
|||||||
onReachBottom() { //上滑加载
|
onReachBottom() { //上滑加载
|
||||||
if (this.institutionlist.length >= this.institutiontotal) {} else {
|
if (this.institutionlist.length >= this.institutiontotal) {} else {
|
||||||
this.query.pageNum++;
|
this.query.pageNum++;
|
||||||
getNearbyOrg(this.query, '1').then(respp => {
|
getNearbyOrg(this.query).then(respp => {
|
||||||
respp.rows.forEach(e => {
|
respp.rows.forEach(e => {
|
||||||
this.institutionlist.push(e)
|
this.institutionlist.push(e)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user