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
16b46283
Commit
16b46283
authored
Sep 06, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随访删除
parent
5ed52650
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
23 deletions
+42
-23
generalFU.js
src/api/doctor/generalFU.js
+5
-0
Doctor.vue
src/doctor/Doctor.vue
+3
-1
Search.vue
src/doctor/followUp/search/Search.vue
+9
-14
Base.vue
src/doctor/resident/Base.vue
+4
-2
Visit.vue
src/doctor/resident/Visit.vue
+20
-5
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/doctor/generalFU.js
View file @
16b46283
...
...
@@ -54,6 +54,11 @@ export function updateCurrency(params) {
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-currency/update`
,
body
:
params
,
loading
:
true
})
}
// 删除随访
export
function
deleteVisit
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/delete`
,
body
:
params
,
loading
:
true
})
}
//图片上传
export
function
upLoadMultifile
(
params
)
{
return
fetchBase
({
...
...
src/doctor/Doctor.vue
View file @
16b46283
...
...
@@ -50,9 +50,11 @@ export default {
async
init
()
{
let
token
=
getQueryVariable
(
'token'
)
if
(
!
token
)
{
// token = sessionStorage.getItem('token')
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'83cc8934-c543-45cd-a3fd-364cf6f9739d'
}
}
if
(
token
)
{
sessionStorage
.
setItem
(
'token'
,
token
)
const
res
=
await
getDict
()
...
...
src/doctor/followUp/search/Search.vue
View file @
16b46283
...
...
@@ -42,7 +42,8 @@
<div
class=
"py-3"
>
<span
class=
"text-16 font-semibold mr-3"
>
{{
result
.
residentName
}}
</span>
<span
class=
"text-12 mr-3"
>
{{
result
.
currentAge
||
'-'
}}
岁
</span>
<span
class=
"text-12"
>
{{
result
.
genderName
}}
</span>
<span
class=
"text-12 mr-3"
>
{{
result
.
genderName
}}
</span>
<span
class=
"text-12"
v-if=
"result.chronicStatus == 9"
>
死亡
</span>
</div>
<div
class=
"mb-2"
>
<span
class=
"label"
>
身份证号
</span>
...
...
@@ -93,11 +94,6 @@
</div>
</div>
</div>
<van-button
round
type=
"primary"
@
click=
"() => show = true"
>
open
</van-button>
<!--
<DocUnit
v-model:show=
"show"
v-model:value=
"value1"
@
change=
"(option) => value2 = option"
/>
-->
<!--
<DocOffice
v-model:show=
"show"
v-model:value=
"value1"
@
change=
"(option) => value2 = option"
unitId=
"21649"
/>
-->
<DocOfficeDoctor
v-model:show=
"show"
v-model:value=
"value1"
@
change=
"(option) => value2 = option"
unitId=
"21649"
officeId=
"36234"
/>
{{
value1
}}
</div>
</
template
>
...
...
@@ -107,16 +103,10 @@ import { validateIdCard } from '@/utils/commonReg.js'
import
{
setLocalStorage
,
getLocalStorage
}
from
'@/utils/common.js'
import
{
showFailToast
}
from
'vant'
import
ChronicTag
from
'@/doctor/components/chronicTag/ChronicTag.vue'
import
DocUnit
from
'@/doctor/components/docUnit/DocUnit.vue'
import
DocOffice
from
'@/doctor/components/docOffice/DocOffice.vue'
import
DocOfficeDoctor
from
'@/doctor/components/docOfficeDoctor/DocOfficeDoctor.vue'
export
default
{
components
:
{
ChronicTag
,
DocUnit
,
DocOffice
,
DocOfficeDoctor
ChronicTag
},
data
()
{
return
{
...
...
@@ -164,7 +154,12 @@ export default {
this
.
search
()
},
toDetail
()
{
this
.
$router
.
push
({
path
:
`/doctor/resident/base`
,
query
:
{
residentId
:
this
.
result
.
residentInfoId
}
})
},
toBack
()
{
this
.
$router
.
back
()
...
...
src/doctor/resident/Base.vue
View file @
16b46283
...
...
@@ -20,7 +20,8 @@
建档状态
</div>
<div
class=
'detail-right'
>
<span
v-if=
"!!info.residentsBaseDTO"
>
已建档
</span>
<span
v-else
>
未建档
</span>
</div>
</div>
<div
class=
'mt-3 flex items-center'
>
...
...
@@ -28,7 +29,8 @@
签约状态
</div>
<div
class=
'detail-right'
>
<span
v-if=
"!!info.signedInfoDTO"
>
已签约
</span>
<span
v-else
>
未签约
</span>
</div>
</div>
<div
class=
'mt-3 flex items-center'
>
...
...
src/doctor/resident/Visit.vue
View file @
16b46283
...
...
@@ -15,6 +15,14 @@
>
<div
v-for=
'item in list'
:key=
"item.id"
class=
"p-4 mt-3 card"
>
<div
class=
'flex items-center'
>
<div
class=
'detail-left'
>
随访情况
</div>
<div
class=
'detail-right'
>
{{
item
.
visitSituationName
}}
</div>
</div>
<div
class=
'mt-3 flex items-center'
>
<div
class=
'detail-left'
>
随访日期
</div>
...
...
@@ -51,7 +59,7 @@
下次随访日期
</div>
<div
class=
'detail-right'
>
{{
item
.
nextVisitDate
}}
{{
item
.
nextVisitDate
||
'-'
}}
</div>
</div>
...
...
@@ -81,8 +89,8 @@
</
template
>
<
script
>
import
{
queryVisitByPage
}
from
'@/api/doctor/resident.js'
import
{
showConfirmDialog
}
from
'vant'
import
{
queryVisitByPage
,
deleteVisit
}
from
'@/api/doctor/resident.js'
import
{
showConfirmDialog
,
showToast
}
from
'vant'
export
default
{
data
()
{
...
...
@@ -157,14 +165,17 @@ export default {
if
(
this
.
chronicTagsArray
.
length
)
{
const
item
=
this
.
tabList
.
find
(
e
=>
e
.
code
===
this
.
chronicTagsArray
[
0
])
||
{}
this
.
activeTab
=
item
.
name
this
.
load
()
//
this.load()
}
},
tabChange
()
{
this
.
load
()
},
addBtn
()
{
if
(
this
.
baseInfo
.
chronicStatus
===
9
)
{
showToast
(
'该居民已标记为死亡,无法新增随访'
)
return
}
},
editBtn
(
item
)
{
...
...
@@ -175,6 +186,10 @@ export default {
message
:
'确认删除该随访记录吗?确认后将无法查看该随访信息'
}).
then
(()
=>
{
// on confirm
// console.log(item.id)
deleteVisit
(
item
.
id
).
then
(
res
=>
{
this
.
load
()
})
})
.
catch
(()
=>
{
// on cancel
...
...
vue.config.js
View file @
16b46283
...
...
@@ -31,7 +31,7 @@ module.exports = defineConfig({
},
'/chronic-admin'
:
{
// target: 'https://beta-tumour.zmnyjk.com',
target
:
'http://192.168.1.
26
:8900'
,
target
:
'http://192.168.1.
43
:8900'
,
changOrigin
:
true
,
pathRewrite
:
{
'^/chronic-admin'
:
'/'
...
...
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