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
708bda5c
Commit
708bda5c
authored
Sep 12, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随访删除修改
parent
ad3e751f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
6 deletions
+20
-6
atomic.less
src/assets/css/atomic.less
+1
-0
base.less
src/assets/css/base.less
+1
-0
Visit.vue
src/doctor/resident/Visit.vue
+1
-1
Detail.vue
src/resident/screening/first/detail/Detail.vue
+1
-1
BaseInfo.vue
src/resident/screening/first/form/BaseInfo.vue
+10
-2
Index.vue
src/resident/screening/first/form/Index.vue
+5
-1
commonReg.js
src/utils/commonReg.js
+1
-1
No files found.
src/assets/css/atomic.less
View file @
708bda5c
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
.text-16 { font-size: 16px; }
.text-16 { font-size: 16px; }
.text-12 { font-size: 12px; }
.text-12 { font-size: 12px; }
.text-center { text-align: center; }
.text-center { text-align: center; }
.text-end { text-align: end; }
.text-black { color: #000; }
.text-black { color: #000; }
.text-red { color: #FF4D4F; }
.text-red { color: #FF4D4F; }
.text-primary { color: var(--van-primary-color); }
.text-primary { color: var(--van-primary-color); }
...
...
src/assets/css/base.less
View file @
708bda5c
...
@@ -80,6 +80,7 @@ body {
...
@@ -80,6 +80,7 @@ body {
display: none;
display: none;
}
}
}
}
}
}
// 按键形式的单选框
// 按键形式的单选框
...
...
src/doctor/resident/Visit.vue
View file @
708bda5c
...
@@ -212,7 +212,7 @@ export default {
...
@@ -212,7 +212,7 @@ export default {
}).
then
(()
=>
{
}).
then
(()
=>
{
// on confirm
// on confirm
// console.log(item.id)
// console.log(item.id)
deleteVisit
(
item
.
id
).
then
(
res
=>
{
deleteVisit
(
{
id
:
item
.
id
}
).
then
(
res
=>
{
this
.
load
()
this
.
load
()
})
})
})
})
...
...
src/resident/screening/first/detail/Detail.vue
View file @
708bda5c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
v-for=
"item in columnsBase"
:key=
"item.key"
<div
v-for=
"item in columnsBase"
:key=
"item.key"
class=
"flex justify-between py-4 border-bottom item"
>
class=
"flex justify-between py-4 border-bottom item"
>
<span
class=
"shrink-0 mr-2 label"
>
{{
item
.
title
}}
</span>
<span
class=
"shrink-0 mr-2 label"
>
{{
item
.
title
}}
</span>
<span>
{{
residentInfo
[
item
.
key
]
||
'-'
}}
</span>
<span
class=
"text-end"
>
{{
residentInfo
[
item
.
key
]
||
'-'
}}
</span>
</div>
</div>
</div>
</div>
...
...
src/resident/screening/first/form/BaseInfo.vue
View file @
708bda5c
...
@@ -96,7 +96,11 @@
...
@@ -96,7 +96,11 @@
placeholder=
"请选择所在地区"
placeholder=
"请选择所在地区"
:rules=
"rules.presentCode"
:rules=
"rules.presentCode"
@
click=
"showPresent = true"
@
click=
"showPresent = true"
/>
>
<
template
#
input
>
<span
class=
"text-end"
>
{{
form
.
presentCodeName
}}
</span>
</
template
>
</van-field>
<van-popup
v-model:show=
"showPresent"
:close-on-click-overlay=
"false"
position=
"bottom"
<van-popup
v-model:show=
"showPresent"
:close-on-click-overlay=
"false"
position=
"bottom"
:lazy-render=
"false"
>
:lazy-render=
"false"
>
<DocAddress
v-model:value=
"form.presentCode"
@
close=
"showPresent = false"
<DocAddress
v-model:value=
"form.presentCode"
@
close=
"showPresent = false"
...
@@ -126,7 +130,11 @@
...
@@ -126,7 +130,11 @@
placeholder=
"请选择所在地区"
placeholder=
"请选择所在地区"
:rules=
"rules.registeredCode"
:rules=
"rules.registeredCode"
@
click=
"showRegistered = true"
@
click=
"showRegistered = true"
/>
>
<
template
#
input
>
<span
class=
"text-end"
>
{{
form
.
registeredCodeName
}}
</span>
</
template
>
</van-field>
<van-popup
v-model:show=
"showRegistered"
:close-on-click-overlay=
"false"
position=
"bottom"
<van-popup
v-model:show=
"showRegistered"
:close-on-click-overlay=
"false"
position=
"bottom"
:lazy-render=
"false"
>
:lazy-render=
"false"
>
<DocAddress
v-model:value=
"form.registeredCode"
@
close=
"showRegistered = false"
<DocAddress
v-model:value=
"form.registeredCode"
@
close=
"showRegistered = false"
...
...
src/resident/screening/first/form/Index.vue
View file @
708bda5c
<
template
>
<
template
>
<div
class=
"
h-full pb-5 flex flex-col
"
>
<div
class=
"
pb-5 flex flex-col"
style=
"height: 100vh;
"
>
<div
class=
"p-3 text-16 text-black text-center shrink-0 top-bar"
>
<div
class=
"p-3 text-16 text-black text-center shrink-0 top-bar"
>
<span
class=
"back-bt"
v-if=
"step >= 2"
>
<span
class=
"back-bt"
v-if=
"step >= 2"
>
<span
@
click=
"onClose"
v-if=
"[5].includes(step)"
>
<span
@
click=
"onClose"
v-if=
"[5].includes(step)"
>
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<span>
居民慢病筛查
</span>
<span>
居民慢病筛查
</span>
</div>
</div>
<div
class=
"grow overflow-y-auto"
>
<div
class=
"grow overflow-y-auto"
>
<div
ref=
"top"
></div>
<IdCheck
v-show=
"step === 1"
/>
<IdCheck
v-show=
"step === 1"
/>
<CheckTip
v-if=
"step === 2"
/>
<CheckTip
v-if=
"step === 2"
/>
<!-- 居民基础信息 -->
<!-- 居民基础信息 -->
...
@@ -80,6 +81,9 @@ export default {
...
@@ -80,6 +81,9 @@ export default {
}
}
this
.
step
=
step
?
step
:
this
.
step
+
1
this
.
step
=
step
?
step
:
this
.
step
+
1
this
.
setpHistory
.
push
(
this
.
step
)
this
.
setpHistory
.
push
(
this
.
step
)
const
dom
=
this
.
$refs
.
top
console
.
log
(
dom
)
dom
&&
dom
.
scrollIntoView
()
},
},
onBack
()
{
onBack
()
{
if
(
this
.
step
===
1
)
return
if
(
this
.
step
===
1
)
return
...
...
src/utils/commonReg.js
View file @
708bda5c
...
@@ -56,7 +56,7 @@ export const addressValidator = { validator: (value) => {
...
@@ -56,7 +56,7 @@ export const addressValidator = { validator: (value) => {
if
(
!
array
.
length
||
array
.
length
===
5
)
{
if
(
!
array
.
length
||
array
.
length
===
5
)
{
return
return
}
}
if
(
value
.
length
<
5
)
{
if
(
array
.
length
<
5
)
{
return
'请选择至第五级地址'
return
'请选择至第五级地址'
}
}
return
return
...
...
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