Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
3ad35d17
Commit
3ad35d17
authored
Jul 17, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
183fc7bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
3 deletions
+45
-3
templateStatic.vue
src/components/administrative/templateStatic.vue
+45
-3
No files found.
src/components/administrative/templateStatic.vue
View file @
3ad35d17
...
...
@@ -33,14 +33,45 @@
</ul>
</div>
<div
style=
"width: 100%; overflow: auto;"
>
<el-table
:data=
"tableData"
style=
"width: 100%;"
height=
"650"
border
v-loading=
"loading"
>
<el-table
:data=
"tableData"
style=
"width: 100%;"
max-height=
"650"
border
v-loading=
"loading"
header-cell-class-name=
"tempStatic-header-center"
cell-class-name=
"tempStatic-cell-center"
>
<el-table-column
prop=
"CreateByName"
label=
"上传人"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"CreateTime"
label=
"上传时间"
>
</el-table-column>
<el-table-column
prop=
"TripCount"
label=
"行程模版数量"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.TripCount>0"
>
<el-popover
placement=
"top-start"
title=
"详情"
width=
"200"
trigger=
"hover"
>
<template
v-if=
"scope.row.TripList&&scope.row.TripList.length>0"
>
<template
v-for=
"(subItem,subIndex) in scope.row.TripList"
>
{{
subItem
.
LineName
}}
(
{{
subItem
.
LineTemplateCount
}}
)
</
template
>
</template>
<div
slot=
"reference"
style=
"color:blue;cursor:pointer;"
>
{{scope.row.TripCount}}
</div>
</el-popover>
</template>
<
template
v-else
>
{{
scope
.
row
.
TripCount
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"AdCount"
label=
"广告模版数量"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.AdCount>0"
>
<el-popover
placement=
"top-start"
title=
"详情"
width=
"200"
trigger=
"hover"
>
<template
v-if=
"scope.row.AdList&&scope.row.AdList.length>0"
>
<template
v-for=
"(subItem,subIndex) in scope.row.AdList"
>
{{
subItem
.
LineName
}}
(
{{
subItem
.
LineTemplateCount
}}
)
</
template
>
</template>
<div
slot=
"reference"
style=
"color:green;cursor:pointer;"
>
{{scope.row.AdCount}}
</div>
</el-popover>
</template>
<
template
v-else
>
{{
scope
.
row
.
AdCount
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"TotalCount"
label=
"上传总数量"
>
</el-table-column>
...
...
@@ -72,6 +103,7 @@
QCreateBy
:
''
,
QStartDate
:
''
,
QEndDate
:
''
,
QLineId
:
""
,
},
getCompanyMsg
:
{
RB_Group_Id
:
'0'
,
...
...
@@ -90,7 +122,7 @@
//Excel下载
downLoadTemplateStatic
()
{
this
.
loading
=
true
;
let
fileName
=
"模板统计下载"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
let
fileName
=
"模板统计下载"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"template_post_GetDownloadTemplateStatic"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
...
...
@@ -129,7 +161,7 @@
let
_date
=
myDate
.
getDate
()
>
9
?
myDate
.
getDate
()
:
'0'
+
myDate
.
getDate
();
this
.
msg
.
QStartDate
=
_year
+
'-'
+
_month
+
'-'
+
'01'
;
this
.
msg
.
QEndDate
=
_year
+
'-'
+
_month
+
'-'
+
_date
;
//this.msg.QStartDate = "2025-06
-01";
this
.
msg
.
QStartDate
=
"2025-05
-01"
;
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
...
...
@@ -141,3 +173,13 @@
}
</
script
>
<
style
lang=
"less"
scoped
>
.tempStatic-header-center {
text-align: center;
}
.tempStatic-cell-center {
text-align: center;
}
</
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