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
b44a7f69
Commit
b44a7f69
authored
Jan 27, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
28e29bf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
29 deletions
+11
-29
makeupRate.vue
src/pages/sale/makeupRate.vue
+11
-29
No files found.
src/pages/sale/makeupRate.vue
View file @
b44a7f69
...
...
@@ -135,36 +135,9 @@
</div>
</div>
<div
class=
"makeOutDiv"
>
<!-- <table class="makeTable" style="border-collapse:collapse;">
<tr>
<th>员工</th>
<template v-for="(item,index) in dataList[0].subList">
<th>
{{item.ChannelName}}
</th>
<th>
{{item.ChannelName}}到访
</th>
<th>
{{item.ChannelName}}转化率
</th>
</template>
</tr>
<tr v-for="(cItem,cIndex) in dataList" :key="cIndex">
<td>{{cItem.EmployeeName}}</td>
<template v-for="(sItem,sIndex) in cItem.subList">
<td>
{{sItem.VisitCount}}
</td>
<td>{{sItem.ClueCount}}</td>
<td>{{getStatical(sItem)}}%</td>
</template>
</tr>
</table> -->
<el-table
:data=
"tableData"
style=
"width: 100%"
:fit=
'true'
:default-sort=
"{prop: 'date', order: 'descending'}"
>
<el-table-column
:prop=
"index"
:label=
"item"
sortable
show-overflow-tooltip
v-for=
"(item, index) in tableHeader"
<el-table
:data=
"tableData"
style=
"width: 100%"
ref=
"table"
:fit=
'true'
:default-sort=
"{prop: 'date', order: 'descending'}"
>
<el-table-column
:prop=
"index"
:label=
"item"
sortable
width=
"160"
v-for=
"(item, index) in tableHeader"
:key=
"index"
>
</el-table-column>
</el-table>
</div>
...
...
@@ -201,6 +174,7 @@
},
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
IsShowEmpQuery
:
false
,
//是否显示员工下拉框
tableHeight
:
50
};
},
created
()
{
...
...
@@ -238,8 +212,16 @@
this
.
dateList
.
push
(
year
+
strLink
+
month
+
strLink
+
day
);
this
.
getEmployeeList
();
this
.
getData
();
setTimeout
(()
=>
{
this
.
tableHeight
=
window
.
innerHeight
-
this
.
$refs
.
table
.
$el
.
offsetTop
-
60
;
},
200
)
},
methods
:
{
getFixed
(
index
){
if
(
index
==
0
){
return
true
}
},
//获取数据
getData
()
{
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
)
{
...
...
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