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
3a087e12
Commit
3a087e12
authored
May 16, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改不符合筛查条件
parent
33a90636
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
FormContent.vue
src/components/FormComponents/CustomForm/FormContent.vue
+18
-14
No files found.
src/components/FormComponents/CustomForm/FormContent.vue
View file @
3a087e12
<
template
>
<
template
>
<el-row
:gutter=
"options.gutter"
class=
"form-content"
>
<el-row
<template
:gutter=
"options.gutter"
v-for=
"(item, columnIndex) in columns.column || columns.children.column"
class=
"form-content"
>
>
<template
v-for=
"(item, columnIndex) in columns.column || columns.children.column"
>
<div
<div
v-if=
"item.type === 'dynamic'"
v-if=
"item.type === 'dynamic'"
v-show=
"item.display"
v-show=
"item.display"
...
@@ -95,7 +96,10 @@
...
@@ -95,7 +96,10 @@
:md=
"item.md || 24"
:md=
"item.md || 24"
:lg=
"item.span || 12"
:lg=
"item.span || 12"
>
>
<div
class=
"form_title"
:style=
"item.styles"
>
<div
class=
"form_title"
:style=
"item.styles"
>
<span>
{{
item
.
value
}}
</span>
<span>
{{
item
.
value
}}
</span>
</div>
</div>
</el-col>
</el-col>
...
@@ -167,47 +171,47 @@ export default {
...
@@ -167,47 +171,47 @@ export default {
default
:
false
,
default
:
false
,
},
},
},
},
data
()
{
data
()
{
return
{}
return
{}
},
},
computed
:
{
computed
:
{
isShowIm
()
{
isShowIm
()
{
return
function
(
val
)
{
return
function
(
val
)
{
return
!
this
.
isShowImportant
?
true
:
val
return
!
this
.
isShowImportant
?
true
:
val
}
}
},
},
paddingLeft
()
{
paddingLeft
()
{
const
columns
=
this
.
columns
const
columns
=
this
.
columns
return
columns
.
labelWidth
?
`
${
columns
.
labelWidth
}
px`
:
""
return
columns
.
labelWidth
?
`
${
columns
.
labelWidth
}
px`
:
""
},
},
},
},
methods
:
{
methods
:
{
clearAge
()
{
clearAge
()
{
for
(
let
i
=
0
;
i
<
this
.
$refs
.
formSelf
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
$refs
.
formSelf
.
length
;
i
++
)
{
this
.
$refs
.
formSelf
[
i
].
age
=
""
this
.
$refs
.
formSelf
[
i
].
age
=
""
}
}
},
},
validateForm
()
{
validateForm
()
{
this
.
$emit
(
"
validateForm
"
)
this
.
$emit
(
"
validateForm
"
)
},
},
validUpload
(
prop
)
{
validUpload
(
prop
)
{
this
.
$emit
(
"
validUpload
"
,
prop
)
this
.
$emit
(
"
validUpload
"
,
prop
)
},
},
handleChange
(
key
,
val
)
{
handleChange
(
key
,
val
)
{
if
(
this
.
form
.
hasOwnProperty
(
key
))
this
.
form
[
key
]
=
val
if
(
this
.
form
.
hasOwnProperty
(
key
))
this
.
form
[
key
]
=
val
},
},
// 切换不符合筛查条件的显示
// 切换不符合筛查条件的显示
formChange
()
{
formChange
()
{
// 入选,排除标准,一个填写是就不符合筛查条件
// 入选,排除标准,一个填写是就不符合筛查条件
let
arr
=
[
let
arr
=
[
"
is_one_year
"
,
"
is_one_year
"
,
"
is_subtotal_history
"
,
"
is_subtotal_history
"
,
"
is_ppi
"
,
"
is_ppi
"
,
"
is_symptom
"
,
"
is_symptom
"
,
"
is_subtotal_history
"
,
"
is_disease
"
,
"
is_disease
"
,
"
is_tumour
"
,
"
is_tumour
"
,
"
is_Incomplete
"
]
]
let
flag
=
0
let
flag
=
0
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
...
...
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