Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
7c72cea5
Commit
7c72cea5
authored
Mar 02, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
92c6fafb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
yearFirst.vue
src/pages/sale/yearFirst.vue
+25
-8
No files found.
src/pages/sale/yearFirst.vue
View file @
7c72cea5
...
...
@@ -3,15 +3,33 @@
background
:
transparent
!important
;
border
:
0
!important
;
}
.zk_Table
thead
tr
:last-child
th
{
/* top:40px!important; */
z-index
:
1
!important
;
}
</
style
>
<
template
>
<div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
ref=
"table"
:loading=
"loading"
:style=
"
{'height':tableHeight+'px'}"
no-data-label="暂无相关数据" flat class="
sticky-column-table sticky-header-column-table no-bottom-t
able"
no-data-label="暂无相关数据" flat class="
sticky-header-column-table no-bottom-table zk_T
able"
separator="none" :data="dataList" :columns="columns" row-key="">
<template
v-slot:header-cell-FirstYear=
"props"
>
<tr
slot=
"header"
>
<q-th
rowspan=
"2"
style=
"text-align:left;"
>
名称
</q-th>
<q-th
colspan=
"2"
>
年份
</q-th>
<q-th
rowspan=
"2"
>
转化率
</q-th>
</tr>
<tr
slot=
"header"
>
<q-th>
<span
v-if=
"dataList&&dataList.length>0"
>
{{
dataList
[
0
].
FirstYearStr
}}
</span>
</q-th>
<q-th>
<span
v-if=
"dataList&&dataList.length>0"
>
{{
dataList
[
0
].
SecondYearStr
}}
</span>
</q-th>
</tr>
<!--
<template
v-slot:header-cell-FirstYear=
"props"
>
<q-th
:props=
"props"
>
<span
v-if=
"dataList&&dataList.length>0"
>
{{
dataList
[
0
].
FirstYearStr
}}
</span>
</q-th>
...
...
@@ -20,7 +38,7 @@
<q-th
:props=
"props"
>
<span
v-if=
"dataList&&dataList.length>0"
>
{{
dataList
[
0
].
SecondYearStr
}}
</span>
</q-th>
</
template
>
</
template
>
-->
<
template
v-slot:bottom
>
</
template
>
</q-table>
...
...
@@ -51,19 +69,19 @@
name
:
'FirstYear'
,
label
:
'第一条'
,
field
:
'FirstYear'
,
align
:
'
left
'
align
:
'
center
'
},
{
name
:
'SecondYear'
,
label
:
'第二条'
,
field
:
'SecondYear'
,
align
:
'
left
'
,
align
:
'
center
'
,
},
{
name
:
'YearRate'
,
label
:
'成长率'
,
field
:
'YearRate'
,
align
:
'
left
'
,
align
:
'
center
'
,
}
],
loading
:
false
,
...
...
@@ -87,5 +105,4 @@
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
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