Commit cd03277f authored by gengchunlei's avatar gengchunlei

居民端小程序 随访列表调整

parent c5154be1
......@@ -3,3 +3,8 @@ import { fetchBase } from '../fetch.js'
export function queryVisitList(params) {
return fetchBase({ url: `/chronic-resident/v1/chronic-visit-record/page`, body: params, loading: true })
}
// 查询通用随访详情
export function queryGeneralFUDetail(params) {
return fetchBase({ url: `/chronic-resident/v1/chronic-visit-record/currency-detail`, body: params, loading: true })
}
\ No newline at end of file
......@@ -13,7 +13,6 @@
<script>
import { getDict, getResidentByInfo } from '@/api/base.js'
import { useStore } from './store/index.js'
import { ref } from 'vue'
export default {
data() {
......
......@@ -157,11 +157,17 @@ export default {
this.load(false)
},
toDetail(item) {
let par = {
relationId: item.relationId
debugger
let par = {}
let path = ``
if (item.serveType == 5) {
path = `/visit/GeneralFUDetail/${item.relationId}`
}
if (item.serveType == 3 || item.serveType == 4){
}
this.$router.push({
path: `/doctor/followUp/generalFU/detail`,
path,
query: par
})
},
......
......@@ -114,7 +114,7 @@ const routes = [
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/List.vue')
},
{
path: 'visit/GeneralFUDetail/:id',
path: 'visit/GeneralFUDetail/:relationId',
name: 'resident-visit-GeneralFUDetail',
component: () => import(/* webpackChunkName: "residentWX-screening" */ '@/residentWX/visit/detail/GeneralFUDetail.vue')
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment