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
d88c3781
Commit
d88c3781
authored
Apr 28, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ebd48e90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
185 additions
and
187 deletions
+185
-187
index.vue
src/components/FormComponents/index.vue
+183
-186
index.vue
src/views/followupquery/index.vue
+2
-1
No files found.
src/components/FormComponents/index.vue
View file @
d88c3781
...
@@ -10,16 +10,8 @@
...
@@ -10,16 +10,8 @@
:style=
"formStyle"
:style=
"formStyle"
@
submit.native.prevent=
"handleSearch()"
@
submit.native.prevent=
"handleSearch()"
>
>
<el-col
<div
v-for=
"(item, index) in forms"
:key=
"index"
>
v-for=
"(item, index) in forms"
<template
v-if=
"!item.hidden"
>
v-if=
"!item.hidden"
:key=
"index"
:xs=
"item.xs ? item.xs : 24"
:sm=
"item.sm ? item.sm : 12"
:md=
"item.md ? item.md : 8"
:lg=
"item.lg ? item.lg : 8"
:xl=
"item.xl ? item.xl : 6"
>
<el-form-item
<el-form-item
v-if=
"item.type != 'btn'"
v-if=
"item.type != 'btn'"
:label=
"item.label ? item.label + (item.hiddenColon ? '' : ':') : ''"
:label=
"item.label ? item.label + (item.hiddenColon ? '' : ':') : ''"
...
@@ -105,6 +97,7 @@
...
@@ -105,6 +97,7 @@
:picker-options=
"item.options"
:picker-options=
"item.options"
:format=
"item.format"
:format=
"item.format"
:value-format=
"item.valueFormat"
:value-format=
"item.valueFormat"
@
change=
"handleSearch"
></el-date-picker>
></el-date-picker>
<!-- 日期 -->
<!-- 日期 -->
...
@@ -116,6 +109,7 @@
...
@@ -116,6 +109,7 @@
:picker-options=
"item.options"
:picker-options=
"item.options"
:format=
"item.format"
:format=
"item.format"
:value-format=
"item.valueFormat"
:value-format=
"item.valueFormat"
@
change=
"handleSearch"
></el-date-picker>
></el-date-picker>
<!-- 下拉框 -->
<!-- 下拉框 -->
...
@@ -126,7 +120,7 @@
...
@@ -126,7 +120,7 @@
filterable
filterable
:disabled=
"item.disabled"
:disabled=
"item.disabled"
:placeholder=
"item.placeholder ? item.placeholder : '请选择'"
:placeholder=
"item.placeholder ? item.placeholder : '请选择'"
@
change=
"item.func ? item.func($event) : {}
"
@
change=
"item.func ? item.func($event) : handleSearch()
"
>
>
<el-option
<el-option
v-for=
"(opt, optIndex) in item.opts"
v-for=
"(opt, optIndex) in item.opts"
...
@@ -211,8 +205,9 @@
...
@@ -211,8 +205,9 @@
>
>
</div>
</div>
</
template
>
</
template
>
</div></template
>
</div>
</div>
</el-col>
<el-col
v-if=
"lists"
:xs=
"24"
:sm=
"24"
:lg=
"24"
style=
"padding-left: 120px"
>
<el-col
v-if=
"lists"
:xs=
"24"
:sm=
"24"
:lg=
"24"
style=
"padding-left: 120px"
>
<el-button
<el-button
...
@@ -342,6 +337,8 @@ export default {
...
@@ -342,6 +337,8 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.el-form-self
{
.el-form-self
{
display
:
flex
;
flex-wrap
:
wrap
;
width
:
100%
;
width
:
100%
;
margin
:
20px
0
;
margin
:
20px
0
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/views/followupquery/index.vue
View file @
d88c3781
...
@@ -328,9 +328,10 @@ export default {
...
@@ -328,9 +328,10 @@ export default {
},
},
onSearch
(
form
)
{
onSearch
(
form
)
{
console
.
log
(
form
)
console
.
log
(
form
)
this
.
pageIndex
=
1
sessionStorage
.
setItem
(
"
followQuery-form
"
,
JSON
.
stringify
(
form
))
sessionStorage
.
setItem
(
"
followQuery-form
"
,
JSON
.
stringify
(
form
))
this
.
formEdit
=
form
this
.
formEdit
=
form
//
this.handleSearch()
this
.
handleSearch
()
},
},
onClickSearch
()
{
onClickSearch
()
{
this
.
pageIndex
=
1
this
.
pageIndex
=
1
...
...
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