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
d8307074
Commit
d8307074
authored
Jan 28, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b44a7f69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
14 deletions
+26
-14
makeupRate.vue
src/pages/sale/makeupRate.vue
+26
-14
No files found.
src/pages/sale/makeupRate.vue
View file @
d8307074
...
...
@@ -112,8 +112,8 @@
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-4 Sysuser_Date"
>
<q-field
filled
>
<template
v-slot:control
>
<q-field
filled
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateList"
type=
"daterange"
style=
"width:100%"
:picker-options=
"pickerOptions0"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"getData"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
...
...
@@ -122,8 +122,8 @@
</q-field>
</div>
<div
class=
"col-3 Sysuser_Date"
v-if=
"IsShowEmpQuery"
>
<q-field
filled
>
<
template
v-slot:control
>
<q-field
filled
>
<
template
v-slot:control
>
<el-select
class=
"topselect"
v-model=
"msg.empList"
@
change=
"getData"
style=
"width:100%;"
collapse-tags
multiple
filterable
placeholder=
"请选择"
>
<el-option
v-for=
"item in EmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
...
...
@@ -135,10 +135,22 @@
</div>
</div>
<div
class=
"makeOutDiv"
>
<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
:data=
"tableData"
style=
"width: 100%"
ref=
"table"
:fit=
'true'
:default-sort=
"{prop: 'date', order: 'descending'}"
>
<
template
v-for=
"(item, index) in tableHeader"
>
<template
v-if=
"index=='EmployeeName'"
>
<el-table-column
:prop=
"index"
:label=
"item"
fixed=
"left"
width=
"160"
:key=
"index"
>
</el-table-column>
</
template
>
<
template
v-else-if=
"item=='合计回单'||item=='合计到访'||item=='合计转化率'"
>
<el-table-column
:prop=
"index"
:label=
"item"
fixed=
"right"
sortable
width=
"160"
:key=
"index"
>
</el-table-column>
</
template
>
<
template
v-else
>
<el-table-column
:prop=
"index"
:label=
"item"
sortable
width=
"160"
:key=
"index"
>
</el-table-column>
</
template
>
</template>
</el-table>
</div>
</div>
...
...
@@ -174,7 +186,7 @@
},
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
IsShowEmpQuery
:
false
,
//是否显示员工下拉框
tableHeight
:
50
tableHeight
:
50
};
},
created
()
{
...
...
@@ -213,12 +225,12 @@
this
.
getEmployeeList
();
this
.
getData
();
setTimeout
(()
=>
{
this
.
tableHeight
=
window
.
innerHeight
-
this
.
$refs
.
table
.
$el
.
offsetTop
-
60
;
},
200
)
this
.
tableHeight
=
window
.
innerHeight
-
this
.
$refs
.
table
.
$el
.
offsetTop
-
60
;
},
200
)
},
methods
:
{
getFixed
(
index
){
if
(
index
==
0
)
{
getFixed
(
index
)
{
if
(
index
==
0
)
{
return
true
}
},
...
...
@@ -231,7 +243,7 @@
this
.
msg
.
startTime
=
""
;
this
.
msg
.
endTime
=
""
;
}
this
.
tableData
=
[];
this
.
tableData
=
[];
MarketChannelStudentStatic
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
...
...
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