Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
926815d9
Commit
926815d9
authored
Feb 08, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.筛查查询回显异步医联体问题
2.数据结构问题导致页面页码错误
parent
2921a9bf
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
FormItemSelf.vue
src/components/FormComponents/CustomForm/FormItemSelf.vue
+5
-1
FormItemText.vue
src/components/FormComponents/CustomForm/FormItemText.vue
+14
-0
index.vue
src/components/FormComponents/CustomForm/index.vue
+1
-1
胃镜检查表单.js
src/components/FormComponents/CustomForm/胃镜检查表单.js
+0
-0
No files found.
src/components/FormComponents/CustomForm/FormItemSelf.vue
View file @
926815d9
...
@@ -50,7 +50,11 @@
...
@@ -50,7 +50,11 @@
>
</el-upload-self>
>
</el-upload-self>
<!-- 表单改文本 -->
<!-- 表单改文本 -->
<template
v-else-if=
"getVwForm.detail"
>
<template
v-else-if=
"getVwForm.detail"
>
<form-item-text
:item=
"item"
:form=
"form"
></form-item-text>
<form-item-text
:item=
"item"
:form=
"form"
:unionList=
"unionList"
></form-item-text>
</
template
>
</
template
>
<!-- 可输入 -->
<!-- 可输入 -->
<
template
v-else
>
<
template
v-else
>
...
...
src/components/FormComponents/CustomForm/FormItemText.vue
View file @
926815d9
...
@@ -24,6 +24,9 @@
...
@@ -24,6 +24,9 @@
>
>
{{
screeningAdvise
[
form
[
item
.
prop
]]
}}
{{
screeningAdvise
[
form
[
item
.
prop
]]
}}
</span>
</span>
<span
v-else-if=
"item.prop == 'union_id'"
>
{{
unionName
}}
</span>
<span
v-else
style=
"margin: 0 5px"
>
{{
<span
v-else
style=
"margin: 0 5px"
>
{{
String
(
form
[
item
.
prop
])
|
getItemText
(
item
.
dicData
,
item
.
type
)
String
(
form
[
item
.
prop
])
|
getItemText
(
item
.
dicData
,
item
.
type
)
}}
</span>
}}
</span>
...
@@ -43,6 +46,7 @@ export default {
...
@@ -43,6 +46,7 @@ export default {
props
:
{
props
:
{
item
:
Object
,
item
:
Object
,
form
:
Object
|
Array
,
form
:
Object
|
Array
,
unionList
:
Array
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -51,6 +55,7 @@ export default {
...
@@ -51,6 +55,7 @@ export default {
medium
:
"
中危
"
,
medium
:
"
中危
"
,
high
:
"
高危
"
,
high
:
"
高危
"
,
},
},
unionName
:
""
,
screeningAdvise
:
{
screeningAdvise
:
{
1
:
"
可定期随访
"
,
1
:
"
可定期随访
"
,
2
:
"
推荐胶囊内镜或胃镜检查
"
,
2
:
"
推荐胶囊内镜或胃镜检查
"
,
...
@@ -70,6 +75,15 @@ export default {
...
@@ -70,6 +75,15 @@ export default {
return
val
return
val
},
},
},
},
watch
:
{
unionList
(
v
)
{
if
(
v
.
length
>
0
)
{
this
.
unionName
=
v
.
filter
(
(
e
)
=>
e
.
unionNo
==
this
.
form
[
this
.
item
.
prop
]
)[
0
].
unionName
}
},
},
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/components/FormComponents/CustomForm/index.vue
View file @
926815d9
...
@@ -193,7 +193,7 @@ export default {
...
@@ -193,7 +193,7 @@ export default {
for
(
let
i
=
0
;
i
<
domArr
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
domArr
.
length
;
i
++
)
{
domArr
[
i
].
style
.
height
=
"
54px
"
domArr
[
i
].
style
.
height
=
"
54px
"
domArr
[
i
].
innerHTML
=
""
domArr
[
i
].
innerHTML
=
""
if
(
domArr
.
length
/
i
==
2
)
{
if
(
(
domArr
.
length
-
1
)
/
i
==
2
)
{
domArr
[
i
].
innerHTML
=
"
6
"
domArr
[
i
].
innerHTML
=
"
6
"
}
}
if
(
i
==
domArr
.
length
-
1
)
{
if
(
i
==
domArr
.
length
-
1
)
{
...
...
src/components/FormComponents/CustomForm/胃镜检查表单.js
0 → 100644
View file @
926815d9
This diff is collapsed.
Click to expand it.
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