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
5dca3eb0
Commit
5dca3eb0
authored
Sep 05, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
慢综 医生端 fetch修改
parent
d6a0a70a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
32 deletions
+25
-32
List.vue
src/doctor/followUp/List.vue
+2
-1
BaseInfo.vue
src/doctor/followUp/generalFU/form/BaseInfo.vue
+5
-3
CommonBottom.vue
src/doctor/followUp/generalFU/form/CommonBottom.vue
+6
-12
Index.vue
src/doctor/followUp/generalFU/form/Index.vue
+6
-10
vue.config.js
vue.config.js
+6
-6
No files found.
src/doctor/followUp/List.vue
View file @
5dca3eb0
...
@@ -156,9 +156,10 @@ export default {
...
@@ -156,9 +156,10 @@ export default {
})
})
},
},
toAddGeneral
(
val
)
{
toAddGeneral
(
val
)
{
const
{
id
,
...
others
}
=
val
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/doctor/followUp/generalFU/add`
,
path
:
`/doctor/followUp/generalFU/add`
,
query
:
val
query
:
{...
others
}
})
})
},
},
toSearch
()
{
toSearch
()
{
...
...
src/doctor/followUp/generalFU/form/BaseInfo.vue
View file @
5dca3eb0
...
@@ -213,8 +213,8 @@
...
@@ -213,8 +213,8 @@
</template>
</template>
</van-field>
</van-field>
<div
class=
'label-title mt-5'
>
随访方式
</div>
<div
class=
'label-title mt-5'
v-if=
'form.visitSituation == 1'
>
随访方式
</div>
<van-field
name=
'radio'
:rules=
'rules.visitWay'
class=
'p-12-0'
>
<van-field
name=
'radio'
:rules=
'rules.visitWay'
class=
'p-12-0'
v-if=
'form.visitSituation == 1'
>
<
template
#
input
>
<
template
#
input
>
<van-radio-group
v-model=
'form.visitWay'
class=
'w-full'
shape=
'dot'
>
<van-radio-group
v-model=
'form.visitWay'
class=
'w-full'
shape=
'dot'
>
<van-cell-group>
<van-cell-group>
...
@@ -473,8 +473,10 @@ const defaultForm = (info = {}) => {
...
@@ -473,8 +473,10 @@ const defaultForm = (info = {}) => {
permanentAddress
:
undefined
,
permanentAddress
:
undefined
,
// 现住址编码
// 现住址编码
presentCode
:
undefined
,
presentCode
:
undefined
,
presentCodeName
:
undefined
,
// 户籍地编码
// 户籍地编码
registeredCode
:
undefined
,
registeredCode
:
undefined
,
registeredCodeName
:
undefined
,
// 居民档案id
// 居民档案id
residentId
:
undefined
,
residentId
:
undefined
,
// 姓名
// 姓名
...
@@ -497,7 +499,7 @@ const defaultForm = (info = {}) => {
...
@@ -497,7 +499,7 @@ const defaultForm = (info = {}) => {
// createUnitId: undefined,
// createUnitId: undefined,
// createUnitName: undefined
// createUnitName: undefined
//本次随访情况
//本次随访情况
visitSituation
:
undefined
,
visitSituation
:
'1'
,
lossReason
:
undefined
,
lossReason
:
undefined
,
deathReason
:
undefined
,
deathReason
:
undefined
,
lossReasonOther
:
undefined
,
lossReasonOther
:
undefined
,
...
...
src/doctor/followUp/generalFU/form/CommonBottom.vue
View file @
5dca3eb0
...
@@ -9,19 +9,10 @@
...
@@ -9,19 +9,10 @@
readonly
readonly
placeholder=
'随访单位'
placeholder=
'随访单位'
class=
'input-back mt-2 form-input'
class=
'input-back mt-2 form-input'
@
click=
"show
Popup
= true"
@
click=
"show
1
= true"
/>
/>
<van-popup
v-model:show=
"showPopup"
position=
"bottom"
:style=
"
{ height: '40%' }">
<DocUnit
v-model:show=
"show1"
v-model:value=
"value1"
@
change=
"(option) => value1 = option"
/>
<van-search
v-model=
"searchText"
:show-action=
"false"
placeholder=
"搜索"
@
search=
"onSearch"
/>
<van-cell-group>
<van-cell
v-for=
"item in searchResults"
:key=
"item"
:title=
"item"
/>
</van-cell-group>
</van-popup>
<div
class=
'no-req-label mt-5'
>
随访科室
</div>
<div
class=
'no-req-label mt-5'
>
随访科室
</div>
<van-field
<van-field
v-model=
'form.visitOfficeName'
v-model=
'form.visitOfficeName'
...
@@ -30,6 +21,7 @@
...
@@ -30,6 +21,7 @@
placeholder=
'随访科室'
placeholder=
'随访科室'
class=
'input-back mt-2 form-input'
class=
'input-back mt-2 form-input'
/>
/>
<DocOffice
v-model:show=
"show2"
v-model:value=
"value2"
@
change=
"(option) => value2 = option"
unitId=
"21649"
/>
<div
class=
'no-req-label mt-5'
>
随访医生
</div>
<div
class=
'no-req-label mt-5'
>
随访医生
</div>
<van-field
<van-field
v-model=
'form.visitDoctorName'
v-model=
'form.visitDoctorName'
...
@@ -38,6 +30,8 @@
...
@@ -38,6 +30,8 @@
placeholder=
'随访医生'
placeholder=
'随访医生'
class=
'input-back mt-2 form-input'
class=
'input-back mt-2 form-input'
/>
/>
<DocOfficeDoctor
v-model:show=
"show3"
v-model:value=
"value3"
@
change=
"(option) => value3 = option"
unitId=
"21649"
officeId=
"36234"
/>
</van-cell-group>
</van-cell-group>
</van-form>
</van-form>
</div>
</div>
...
...
src/doctor/followUp/generalFU/form/Index.vue
View file @
5dca3eb0
...
@@ -44,7 +44,7 @@ export default {
...
@@ -44,7 +44,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
//
this.init()
this
.
init
()
},
},
computed
:
{
computed
:
{
routerDetail
()
{
routerDetail
()
{
...
@@ -53,16 +53,12 @@ export default {
...
@@ -53,16 +53,12 @@ export default {
},
},
methods
:
{
methods
:
{
async
init
()
{
async
init
()
{
const
res
=
await
getChronicResidentsId
(
this
.
routerDetail
.
residentId
)
this
.
resident
=
{
...
res
.
data
,
residentInfoId
:
this
.
routerDetail
.
residentId
}
this
.
info
=
{}
this
.
info
=
{}
this
.
info
.
residentInfoId
=
this
.
routerDetail
.
residentId
const
res
=
await
getChronicResidentsId
(
this
.
routerDetail
.
residentInfoId
)
this
.
info
.
gender
=
this
.
resident
.
gender
;
const
{
id
,
...
others
}
=
res
.
data
this
.
info
.
currentAge
=
this
.
resident
.
currentAge
;
this
.
info
=
{
this
.
info
.
genderName
=
this
.
resident
.
genderName
;
...
others
}
this
.
info
.
diseaseType
=
this
.
routerDetail
.
diseaseType
this
.
info
.
diseaseType
=
this
.
routerDetail
.
diseaseType
if
(
this
.
routerDetail
.
id
)
{
if
(
this
.
routerDetail
.
id
)
{
const
res
=
await
fetchCurrencyById
({
id
:
this
.
routerDetail
.
id
})
const
res
=
await
fetchCurrencyById
({
id
:
this
.
routerDetail
.
id
})
...
...
vue.config.js
View file @
5dca3eb0
...
@@ -30,19 +30,19 @@ module.exports = defineConfig({
...
@@ -30,19 +30,19 @@ module.exports = defineConfig({
}
}
},
},
'/chronic-admin'
:
{
'/chronic-admin'
:
{
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'https://beta-tumour.zmnyjk.com'
,
target
:
'http://192.168.1.26:8900'
,
//
target: 'http://192.168.1.26:8900',
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/chronic-admin'
:
'/'
'^/chronic-admin'
:
'/
chronic-admin
'
}
}
},
},
'/chronic-resident'
:
{
'/chronic-resident'
:
{
target
:
'http://192.168.1.43:8903'
,
//
target: 'http://192.168.1.43:8903',
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'https://beta-tumour.zmnyjk.com'
,
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/chronic-resident'
:
'/'
'^/chronic-resident'
:
'/
chronic-resident
'
}
}
}
}
},
},
...
...
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