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
5eccfda9
Commit
5eccfda9
authored
Dec 02, 2022
by
刘予佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随访存活样式
parent
c53f3f55
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
29 deletions
+23
-29
index.vue
src/components/FormComponents/CustomForm/index.vue
+14
-9
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+4
-10
FormTab.vue
src/views/screening/components/FormTab.vue
+5
-10
No files found.
src/components/FormComponents/CustomForm/index.vue
View file @
5eccfda9
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
:key=
"gIndex"
:key=
"gIndex"
v-show=
"g.display"
v-show=
"g.display"
:disabled=
"!g.arrow"
:disabled=
"!g.arrow"
:class=
"g.prop=='1669858313508_15760'?'otherItemClass':''"
>
>
<form-content
<form-content
v-if=
"collapseNames.includes(g.prop)"
v-if=
"collapseNames.includes(g.prop)"
...
@@ -67,9 +68,7 @@
...
@@ -67,9 +68,7 @@
@
click=
"handleConfirm"
@
click=
"handleConfirm"
:loading=
"loading"
:loading=
"loading"
size=
"large"
size=
"large"
>
>
{{
options
.
submitText
||
"
提交
"
}}
</el-button>
{{
options
.
submitText
||
"
提交
"
}}
</el-button>
</
template
>
</
template
>
<
template
v-if=
"options.emptyBtn"
>
<
template
v-if=
"options.emptyBtn"
>
<el-button
<el-button
...
@@ -77,9 +76,7 @@
...
@@ -77,9 +76,7 @@
icon=
"el-icon-delete "
icon=
"el-icon-delete "
size=
"large"
size=
"large"
@
click=
"resetForm(true)"
@
click=
"resetForm(true)"
>
>
{{
options
.
emptyText
||
"
清空
"
}}
</el-button>
{{
options
.
emptyText
||
"
清空
"
}}
</el-button>
</
template
>
</
template
>
</template>
</template>
<
template
v-if=
"nextTabBtnShow"
>
<
template
v-if=
"nextTabBtnShow"
>
...
@@ -89,9 +86,7 @@
...
@@ -89,9 +86,7 @@
icon=
"el-icon-caret-right"
icon=
"el-icon-caret-right"
size=
"large"
size=
"large"
@
click=
"nextTab"
@
click=
"nextTab"
>
>
{{
options
.
nextTabText
||
"
下一页
"
}}
</el-button>
{{
options
.
nextTabText
||
"
下一页
"
}}
</el-button>
</el-form>
</el-form>
</
template
>
</
template
>
</div>
</div>
...
@@ -370,4 +365,14 @@ export default {
...
@@ -370,4 +365,14 @@ export default {
// background-color: $base-color-default;
// background-color: $base-color-default;
// border-color: $base-color-default;
// border-color: $base-color-default;
}
}
.otherItemClass
{
::v-deep
{
.row24
:not
(
:last-child
)
{
border-left
:
0px
;
}
.row24
:last-child
{
border-left
:
1px
solid
#cccccc
;
}
}
}
</
style
>
</
style
>
src/views/screening/components/ConfigForms.vue
View file @
5eccfda9
<
template
>
<
template
>
<div
id=
"publicContent"
:class=
"formClass"
>
<div
id=
"publicContent"
:class=
"
activeName=='index0' &&
formClass"
>
<el-tabs
<el-tabs
v-model=
"activeName"
v-model=
"activeName"
type=
"card"
type=
"card"
...
@@ -60,6 +60,9 @@ export default {
...
@@ -60,6 +60,9 @@ export default {
// 字典formType 1 筛查表单
// 字典formType 1 筛查表单
this
.
getCurrentFormByType
(
this
.
formType
)
this
.
getCurrentFormByType
(
this
.
formType
)
},
},
watch
:{
}
}
}
</
script
>
</
script
>
...
@@ -114,12 +117,6 @@ export default {
...
@@ -114,12 +117,6 @@ export default {
.el-collapse-item__wrap
{
.el-collapse-item__wrap
{
border
:
none
;
border
:
none
;
}
}
.el-collapse-item
:nth-child
(
1
)
{
border
:
1px
solid
#cccccc
;
}
// .custom-form-item:last-child {
// border: none;
// }
// .row24.el-col-lg-12:nth-child(2n) {
// .row24.el-col-lg-12:nth-child(2n) {
// border-width: 0px 0px 0px 1px;
// border-width: 0px 0px 0px 1px;
// }
// }
...
@@ -139,9 +136,6 @@ export default {
...
@@ -139,9 +136,6 @@ export default {
.el-form-item
{
.el-form-item
{
padding
:
0px
;
padding
:
0px
;
}
}
.el-col
{
// border-top: 1px solid #cccccc;
}
}
}
}
}
}
}
...
...
src/views/screening/components/FormTab.vue
View file @
5eccfda9
...
@@ -29,24 +29,18 @@
...
@@ -29,24 +29,18 @@
</
template
>
</
template
>
<
template
v-if=
"formData.percent.personalPercent"
>
<
template
v-if=
"formData.percent.personalPercent"
>
<span
class=
"label"
>
人工补录完整度:
</span>
<span
class=
"label"
>
人工补录完整度:
</span>
<span
class=
"value"
<span
class=
"value"
>
{{
formData
.
percent
.
personalPercent
}}
%
</span>
>
{{
formData
.
percent
.
personalPercent
}}
%
</span
</
template
>
></
template
>
<div
class=
"label"
>
<div
class=
"label"
>
<!-- 仅显示重要字段 : -->
<!-- 仅显示重要字段 : -->
</div>
</div>
<div
class=
"value"
>
<div
class=
"value"
>
<!-- <el-switch v-model="isShowImprotant" @change="imFieldChange">
<!-- <el-switch v-model="isShowImprotant" @change="imFieldChange">
</el-switch>
-->
</el-switch>-->
</div>
</div>
</el-row>
</el-row>
<div
<div
class=
"my-form"
ref=
"my-form"
:class=
"externalScroll ? 'no-scroll' : ''"
>
class=
"my-form"
ref=
"my-form"
:class=
"externalScroll ? 'no-scroll' : ''"
>
<custom-form
<custom-form
ref=
"form"
ref=
"form"
@
scrollTop=
"scrollTop"
@
scrollTop=
"scrollTop"
...
@@ -82,6 +76,7 @@ export default {
...
@@ -82,6 +76,7 @@ export default {
patientId
:
String
,
patientId
:
String
,
patientStandbyId
:
String
,
patientStandbyId
:
String
,
getAll
:
Boolean
,
// 获取页面所有数据
getAll
:
Boolean
,
// 获取页面所有数据
},
},
components
:
{
CustomForm
,
TagsScrollBar
},
components
:
{
CustomForm
,
TagsScrollBar
},
provide
()
{
provide
()
{
...
...
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