Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
sgaqgl-vue
Commits
7d99adc1
Commit
7d99adc1
authored
Jan 12, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索条件改年和月
parent
3b68935f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
index.vue
src/views/safetyactivity/aqhdzxgz/index.vue
+20
-6
No files found.
src/views/safetyactivity/aqhdzxgz/index.vue
View file @
7d99adc1
...
@@ -8,13 +8,27 @@
...
@@ -8,13 +8,27 @@
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
年度:
</span>
<span
class=
"search-span"
>
年度:
</span>
<el-date-picker
v-model=
"queryParams.year"
></el-date-picker>
<!--
<el-date-picker
v-model=
"queryParams.year"
></el-date-picker>
-->
<el-date-picker
value-format=
'yyyy'
v-model=
"queryParams.year"
type=
"year"
placeholder=
"选择年"
>
</el-date-picker>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
月份:
</span>
<span
class=
"search-span"
>
月份:
</span>
<el-date-picker
v-model=
"queryParams.month"
></el-date-picker>
<!--
<el-date-picker
v-model=
"queryParams.month"
></el-date-picker>
-->
<el-select
clearable
v-model=
"queryParams.month"
placeholder=
"请选择"
>
<el-option
v-for=
"item in 12"
:key=
"item"
:label=
"item+'月'"
:value=
"item"
>
</el-option>
</el-select>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
...
@@ -85,9 +99,9 @@
...
@@ -85,9 +99,9 @@
tableTitle
:
[
tableTitle
:
[
{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
{
label
:
"年度"
,
prop
:
"year"
,
fieldType
:
"int"
},
{
label
:
"月份"
,
prop
:
"month"
,
fieldType
:
"int"
,
width
:
160
},
{
label
:
"月份"
,
prop
:
"month"
,
fieldType
:
"int"
,
width
:
160
},
{
label
:
"分公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
1
80
},
{
label
:
"分公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
2
80
},
{
label
:
"班组"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
1
80
},
{
label
:
"班组"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
2
80
},
{
label
:
"安全活动次数/计划次数"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
160
,
{
label
:
"安全活动次数/计划次数"
,
prop
:
"bz"
,
formatter
:
function
(
row
,
b
,
c
){
formatter
:
function
(
row
,
b
,
c
){
return
row
.
count
+
'/'
+
row
.
planCount
;
return
row
.
count
+
'/'
+
row
.
planCount
;
}
}
...
@@ -104,7 +118,7 @@
...
@@ -104,7 +118,7 @@
}
}
},
},
components
:
{
components
:
{
}
}
...
...
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