1211
This commit is contained in:
parent
e31e6d8fc5
commit
40bf8f8433
@ -21,7 +21,7 @@ const API = {
|
||||
todoFinished:data => net.PUT("/user/todo",data),// 修改待办列表状态
|
||||
// 百科
|
||||
getArticleList:data => net.GET("/article/list",data),// 百科列表
|
||||
getArticleDetail:data => net.GET("/article/"+data.id),// 文章详情
|
||||
getArticleDetail:(data,userId) => net.GET("/article/"+data.id,null,true,{"userId":userId}),// 文章详情
|
||||
// 我的
|
||||
getStarList:data => net.GET("/favorite/list",data),// 收藏列表
|
||||
/*
|
||||
|
@ -1,6 +1,6 @@
|
||||
// isdev 为 true 表示开发环境 false 表示发布环境
|
||||
const isdev = true;
|
||||
const baseUrl = isdev ? 'http://47.116.50.126:8888' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境
|
||||
const baseUrl = isdev ? 'https://api.jimingyiliao.com' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境
|
||||
// const baseUrl = isdev ? 'http://192.168.1.133:8899' : 'https://api.gwkjxb.com';// 办公室接口 & 正式环境
|
||||
// const baseUrl = 'https://api.gwkjxb.com';// 正式环境(由于本地测试后台没有启动,暂时通用正式服)
|
||||
|
||||
|
@ -19,6 +19,10 @@
|
||||
inputDialog.value.open()
|
||||
},0)
|
||||
}
|
||||
let s = `$http({code:'1s'});if`
|
||||
// // let arr = /\$http\((\S*)\)\;if/.exec(s);
|
||||
let arr = s.match(/\$http\((.*)\)\;if/)
|
||||
console.log(arr[1])
|
||||
})
|
||||
|
||||
// 变量
|
||||
|
@ -42,7 +42,8 @@
|
||||
hospitals.value = res.data.list
|
||||
}
|
||||
}
|
||||
function onClickH() {
|
||||
function onInputH() {
|
||||
console.log(hValue.value)
|
||||
h_queryParams.value.key = hValue.value
|
||||
getHospitalList()
|
||||
|
||||
@ -215,8 +216,8 @@
|
||||
手术医院</view>
|
||||
<view class="rbc-content-row rbc-content-right">
|
||||
<!-- {{h_info?.name}} -->
|
||||
<uni-combox @input="onClickH" :candidates="hospitals" placeholder="请选择医院" @choosed="toChooseH" v-model="hValue"></uni-combox>
|
||||
<uni-icons type="forward" color="gray" size="20"></uni-icons>
|
||||
<uni-combox :border="false" @input="onInputH" :candidates="hospitals" placeholder="请选择医院" @choosed="toChooseH" v-model="userinfo.HospitalId"></uni-combox>
|
||||
<!-- <uni-icons type="forward" color="gray" size="20"></uni-icons> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
Reference in New Issue
Block a user