Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
3e5b20a2
Commit
3e5b20a2
authored
Dec 07, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民端小程序 v1.2 筛查
parent
07139928
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
56 additions
and
7 deletions
+56
-7
index.html
public/index.html
+2
-2
screening.js
src/api/doctor/screening.js
+11
-0
Doctor.vue
src/doctor/Doctor.vue
+1
-1
List.vue
src/doctor/patientDetail/components/generalFU/List.vue
+1
-0
Record.vue
src/doctor/patientDetail/components/screening/Record.vue
+31
-4
FirstDetail.vue
src/doctor/screening/detail/FirstDetail.vue
+0
-0
SecondDetail.vue
src/doctor/screening/detail/SecondDetail.vue
+0
-0
index.js
src/router/index.js
+10
-0
No files found.
public/index.html
View file @
3e5b20a2
...
...
@@ -79,7 +79,7 @@
<!-- built files will be auto injected -->
</body>
<script>
var
vConsole
=
new
VConsole
();
console
.
log
(
'Hello world'
);
/*
var vConsole =new VConsole();
console.log('Hello world');
*/
</script>
</html>
src/api/doctor/screening.js
View file @
3e5b20a2
...
...
@@ -4,3 +4,13 @@ import {fetchBase} from '@/api/doctor/doctorFetch'
export
function
getScreenAllList
(
residentInfoId
,
loading
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-screening-record/screen-list`
,
body
:{
residentInfoId
},
loading
})
}
// 慢病高危筛查详情
export
function
firstScreenDetail
(
params
)
{
return
fetchBase
({
url
:
`/chronic-resident/v1/chronic-screening-record/screening-detail`
,
body
:
params
,
loading
:
true
})
}
// 慢病专病筛查详情
export
function
secondScreenDetail
(
params
)
{
return
fetchBase
({
url
:
`/chronic-resident/v1/chronic-screening-record/rescreen-detail`
,
body
:
params
,
loading
:
true
})
}
\ No newline at end of file
src/doctor/Doctor.vue
View file @
3e5b20a2
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
4bef8ea2-4145-4437-aaf5-8d69a50288e9
'
token
=
'
c652136f-6159-4383-860c-f6693d4857d7
'
}
}
if
(
token
)
{
...
...
src/doctor/patientDetail/components/generalFU/List.vue
View file @
3e5b20a2
...
...
@@ -57,6 +57,7 @@
<
script
>
import
{
fetchCurrencyList
,
delCurrencyById
}
from
'@/api/doctor/generalFU.js'
import
{
showToast
}
from
'vant'
export
default
{
inject
:
[
'residentInfo'
],
...
...
src/doctor/patientDetail/components/screening/Record.vue
View file @
3e5b20a2
...
...
@@ -36,7 +36,7 @@
</div>
<div
class=
"divider"
></div>
<div
class=
"bt-group"
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"to
First
Detail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
v-if=
"item.allowUpdate == 1"
>
修改
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-red"
@
click=
"delBtn(item)"
...
...
@@ -78,7 +78,7 @@
</div>
<div
class=
"divider"
></div>
<div
class=
"bt-group"
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"to
Second
Detail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
v-if=
"item.allowUpdate == 1"
>
修改
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-red"
@
click=
"delBtn(item)"
...
...
@@ -96,6 +96,7 @@
<
script
>
import
{
getScreenAllList
}
from
'@/api/doctor/screening.js'
import
{
showToast
}
from
'vant'
export
default
{
inject
:
[
'residentInfo'
],
...
...
@@ -138,8 +139,34 @@ export default {
onRefresh
()
{
this
.
load
(
false
)
},
toDetail
()
{
//主要慢病筛查
toFirstDetail
(
record
)
{
if
(
!
record
)
return
if
(
record
.
id
==
null
)
{
showToast
(
'暂时无法查看 详情信息'
)
return
}
this
.
$router
.
push
({
path
:
'/doctor/screening/FirstDetail'
,
query
:
{
id
:
record
.
id
}
})
},
//专病筛查
toSecondDetail
(
record
)
{
debugger
if
(
!
record
)
return
if
(
record
.
id
==
null
)
{
showToast
(
'暂时无法查看 详情信息'
)
return
}
this
.
$router
.
push
({
path
:
'/doctor/screening/secondDetail'
,
query
:
{
id
:
record
.
id
}
})
},
editBtn
()
{
...
...
src/doctor/screening/detail/FirstDetail.vue
0 → 100644
View file @
3e5b20a2
This diff is collapsed.
Click to expand it.
src/doctor/screening/detail/SecondDetail.vue
0 → 100644
View file @
3e5b20a2
This diff is collapsed.
Click to expand it.
src/router/index.js
View file @
3e5b20a2
...
...
@@ -60,6 +60,16 @@ const routes = [
name
:
'doctor-archives-form'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/archives/form/BaseInfo.vue'
)
},
{
path
:
'screening/firstDetail'
,
name
:
'screening-firstDetail'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/screening/detail/FirstDetail.vue'
)
},
{
path
:
'screening/secondDetail'
,
name
:
'screening-secondDetail'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/screening/detail/SecondDetail.vue'
)
},
{
path
:
'followUp/generalFU/detail'
,
name
:
'followUp-generalFU-detail'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment