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
9fb236ce
Commit
9fb236ce
authored
Jan 22, 2025
by
芮自成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高血压专病随访联调
parent
fcc40b68
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
8 deletions
+18
-8
Doctor.vue
src/doctor/Doctor.vue
+2
-1
FormCont.vue
src/doctor/followUp/separateFU/form/FormCont.vue
+7
-1
Index.vue
src/doctor/followUp/separateFU/form/Index.vue
+5
-2
HypertensionForm.vue
.../followUp/separateFU/form/components/HypertensionForm.vue
+0
-0
vue.config.js
vue.config.js
+4
-4
No files found.
src/doctor/Doctor.vue
View file @
9fb236ce
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
f1f98c99-ac8d-47db-8066-fe24a548c784
'
token
=
'
ca3a2820-1553-4131-b04f-61d9312205b3
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
@@ -254,6 +254,7 @@ export default {
...
@@ -254,6 +254,7 @@ export default {
// 单选
// 单选
.doc-radio-group {
.doc-radio-group {
column-gap: 10px;
column-gap: 10px;
row-gap: 8px;
.van-radio {
.van-radio {
background-color: #FAFAFA;
background-color: #FAFAFA;
padding: 8px 12px;
padding: 8px 12px;
...
...
src/doctor/followUp/separateFU/form/FormCont.vue
View file @
9fb236ce
<
template
>
<
template
>
<div>
<div>
<HypertensionForm
v-if=
"diseaseType === 1"
></HypertensionForm>
<HypertensionForm
v-if=
"diseaseType === 1"
ref=
"hypertensionForm"
></HypertensionForm>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -11,6 +11,11 @@ export default {
...
@@ -11,6 +11,11 @@ export default {
return
{
return
{
diseaseType
:
1
diseaseType
:
1
}
}
},
methods
:
{
submit
()
{
this
.
$refs
.
hypertensionForm
.
submit
()
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/doctor/followUp/separateFU/form/Index.vue
View file @
9fb236ce
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
<div
class=
"p-4 h-overflow"
>
<div
class=
"p-4 h-overflow"
>
<BaseInfo
v-if=
"step === 1"
ref=
"baseInfo"
></BaseInfo>
<BaseInfo
v-if=
"step === 1"
ref=
"baseInfo"
></BaseInfo>
<FormCont
v-if=
"step === 2"
></FormCont>
<FormCont
v-if=
"step === 2"
ref=
"formCont"
></FormCont>
</div>
</div>
<div
class=
"bottom-small-line"
></div>
<div
class=
"bottom-small-line"
></div>
<div
class=
"p-4"
>
<div
class=
"p-4"
>
<van-button
v-if=
"step === 1"
type=
"primary"
block
round
@
click=
"toNext"
>
下一步
</van-button>
<van-button
v-if=
"step === 1"
type=
"primary"
block
round
@
click=
"toNext"
>
下一步
</van-button>
<van-button
v-if=
"step === 2"
type=
"primary"
block
round
>
提交
</van-button>
<van-button
v-if=
"step === 2"
type=
"primary"
block
round
@
click=
"onSubmit"
>
提交
</van-button>
</div>
</div>
</div>
</div>
...
@@ -44,6 +44,9 @@ export default {
...
@@ -44,6 +44,9 @@ export default {
// this.$refs.baseInfo.onSubmit()
// this.$refs.baseInfo.onSubmit()
// console.log(666, obj)
// console.log(666, obj)
this
.
step
=
2
this
.
step
=
2
},
onSubmit
()
{
this
.
$refs
.
formCont
.
submit
()
}
}
}
}
}
}
...
...
src/doctor/followUp/separateFU/form/components/HypertensionForm.vue
View file @
9fb236ce
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
9fb236ce
...
@@ -30,12 +30,12 @@ module.exports = defineConfig({
...
@@ -30,12 +30,12 @@ module.exports = defineConfig({
}
}
},
},
'/chronic-admin'
:
{
'/chronic-admin'
:
{
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'https://beta-tumour.zmnyjk.com'
,
target
:
'http://192.168.1.126:8900'
,
//
target: 'http://192.168.1.126:8900',
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/chronic-admin'
:
'/'
//
'^/chronic-admin': '/'
//
'^/chronic-admin': '/chronic-admin'
'^/chronic-admin'
:
'/chronic-admin'
}
}
},
},
'/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