Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
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
48c9269f
Commit
48c9269f
authored
2 years ago
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表单
parent
44d9c511
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
8 deletions
+40
-8
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+30
-1
FormTab.vue
src/views/screening/components/FormTab.vue
+10
-7
No files found.
src/views/screening/components/ConfigForms.vue
View file @
48c9269f
<
template
>
<div>
<div
id=
"publicContent"
>
<el-tabs
v-model=
"activeName"
type=
"card"
style=
"margin-top: 10px"
class=
"publicTab"
v-loading=
"fromLoading"
v-if=
"formTabs && formTabs.length > 0"
@
tab-click=
"handleTabClick"
...
...
@@ -60,3 +61,31 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
#publicContent
{
padding
:
32px
24px
;
}
.publicTab
{
width
:
calc
(
100%
-
200px
);
}
::v-deep
{
.el-tabs--card
>
.el-tabs__header
{
border-bottom
:
none
;
}
.el-tabs--card
>
.el-tabs__header
.el-tabs__nav
{
border
:
none
;
}
.el-tabs--card
>
.el-tabs__header
.el-tabs__item
{
min-width
:
116px
;
text-align
:
center
;
background
:
#f0f1fa
;
font-size
:
14px
;
border
:
none
;
}
.el-tabs--card
>
.el-tabs__header
.el-tabs__item.is-active
{
background
:
#4e68ff
;
color
:
#fff
;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/screening/components/FormTab.vue
View file @
48c9269f
...
...
@@ -34,11 +34,13 @@
></
template
>
<span
class=
"label"
>
仅显示重要字段 :
</span>
<span
class=
"value"
>
<el-switch
v-model=
"isShowImprotant"
@
change=
"imFieldChange"
>
</el-switch>
</span>
<div
class=
"label"
>
<!-- 仅显示重要字段 : -->
</div>
<div
class=
"value"
>
<!-- <el-switch v-model="isShowImprotant" @change="imFieldChange">
</el-switch> -->
</div>
</el-row>
<div
class=
"my-form"
...
...
@@ -94,7 +96,7 @@ export default {
return
{
btnType
:
""
,
isShowImprotant
:
false
,
asideShow
:
tru
e
,
asideShow
:
fals
e
,
widgetFormPreview
:
{},
formData
:
{
formEdit
:
{},
...
...
@@ -313,7 +315,8 @@ export default {
z-index
:
9
;
}
.header
{
box-shadow
:
0
1px
4px
rgb
(
0
21
41
/
8%
);
height
:
20px
;
// box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
padding-right
:
20px
;
position
:
relative
;
font-size
:
15px
;
...
...
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