6.16
This commit is contained in:
+8
-7
@@ -89,6 +89,7 @@
|
||||
import dNav from "@/components/backNav/backNav.vue";
|
||||
import headImg from "@/static/headImg.png";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import api from "@/api/api";
|
||||
import { ref,reactive} from "vue";
|
||||
const userInfo=reactive({})
|
||||
@@ -124,37 +125,37 @@ onLoad(()=>{
|
||||
getInfo()
|
||||
})
|
||||
const goCert = () => {
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url: "/pages/certList/certList?doctor_id="+userInfo.doctor_id,
|
||||
});
|
||||
};
|
||||
const goDoctor=(id,name)=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/searchList/searchList?type=doctor&id='+id+'&name='+name
|
||||
})
|
||||
}
|
||||
const goHospital=(id,name)=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/searchList/searchList?type=hospital&id='+id+'&name='+name
|
||||
})
|
||||
}
|
||||
const mySpecial=()=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/specialList/specialList?userId='+userInfo.user_id
|
||||
})
|
||||
}
|
||||
const goJoin=()=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/myJoin/myJoin'
|
||||
})
|
||||
}
|
||||
const goCollect=()=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/myCollect/myCollect'
|
||||
})
|
||||
}
|
||||
const goPublish=()=>{
|
||||
uni.navigateTo({
|
||||
navTo({
|
||||
url:'/pages/publish/publish'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user