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
396a7a69
Commit
396a7a69
authored
Jan 20, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3d84540a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
todayData.vue
src/components/work/todayData.vue
+13
-7
No files found.
src/components/work/todayData.vue
View file @
396a7a69
...
@@ -149,8 +149,8 @@
...
@@ -149,8 +149,8 @@
<el-date-picker
v-model=
"dateList"
type=
"daterange"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"searchData"
<el-date-picker
v-model=
"dateList"
type=
"daterange"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"searchData"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-date-picker>
<el-select
v-
model=
"msg.empList"
@
change=
"searchData"
style=
"width:180px;margin-left:10px;"
collapse-tags
multiple
<el-select
v-
if=
"IsShowEmpQuery"
v-model=
"msg.empList"
@
change=
"searchData"
filterable
placeholder=
"请选择"
>
style=
"width:180px;margin-left:10px;"
collapse-tags
multiple
filterable
placeholder=
"请选择"
>
<el-option
v-for=
"item in myEmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
<el-option
v-for=
"item in myEmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -158,8 +158,8 @@
...
@@ -158,8 +158,8 @@
</div>
</div>
<div
class=
"Check_Content"
>
<div
class=
"Check_Content"
>
<div
class=
"Check_ListContent"
>
<div
class=
"Check_ListContent"
>
<div
class=
"Check_Item"
@
click=
"comType=1,searchData() "
:class=
"
{'ckedClass':comType==1}">市场部数据统计
</div>
<div
class=
"Check_Item"
v-if=
"IsQueryAuth||CurrentUserInfo.IsMarket==1"
@
click=
"comType=1,searchData() "
:class=
"
{'ckedClass':comType==1}">市场部数据统计
</div>
<div
class=
"Check_Item"
@
click=
"comType=2,searchData()"
:class=
"
{'ckedClass':comType==2}">课程顾问部统计
</div>
<div
class=
"Check_Item"
v-if=
"IsQueryAuth||CurrentUserInfo.IsCourseConsultant==1"
@
click=
"comType=2,searchData()"
:class=
"
{'ckedClass':comType==2}">课程顾问部统计
</div>
</div>
</div>
</div>
</div>
<template
v-if=
"comType==1"
>
<template
v-if=
"comType==1"
>
...
@@ -758,7 +758,7 @@
...
@@ -758,7 +758,7 @@
msg
:
{
msg
:
{
startTime
:
""
,
startTime
:
""
,
endTime
:
""
,
endTime
:
""
,
empList
:
[
3015
]
empList
:
[]
},
},
series
:
[{
series
:
[{
name
:
"新增条数"
,
name
:
"新增条数"
,
...
@@ -847,6 +847,7 @@
...
@@ -847,6 +847,7 @@
ConsultObj
:
{},
//课程顾问数据
ConsultObj
:
{},
//课程顾问数据
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
CurrentUserInfo
:
{},
//当前登录用户信息
CurrentUserInfo
:
{},
//当前登录用户信息
IsShowEmpQuery
:
false
,
//是否显示员工下拉框
};
};
},
},
created
()
{
created
()
{
...
@@ -859,13 +860,18 @@
...
@@ -859,13 +860,18 @@
}
}
});
});
}
}
console
.
log
(
"IsQueryAuth"
,
this
.
IsQueryAuth
);
if
(
this
.
IsQueryAuth
||
(
this
.
CurrentUserInfo
.
IsManager
==
1
&&
this
.
CurrentUserInfo
.
IsCourseConsultant
==
1
)
||
(
console
.
log
(
"CurrentUserInfo"
,
this
.
CurrentUserInfo
);
this
.
CurrentUserInfo
.
IsManager
==
1
&&
this
.
CurrentUserInfo
.
IsMarket
==
1
))
{
this
.
IsShowEmpQuery
=
true
;
}
else
{
this
.
msg
.
empList
.
push
(
this
.
CurrentUserInfo
.
Id
);
}
},
},
mounted
()
{
mounted
()
{
this
.
searchData
();
this
.
searchData
();
},
},
methods
:
{
methods
:
{
//获取员工列表
//获取员工列表
getEmployeeList
()
{
getEmployeeList
()
{
var
qMsg
=
{
var
qMsg
=
{
...
...
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