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
ec74233b
Commit
ec74233b
authored
Jan 20, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增权限
parent
0c641e7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
todayData.vue
src/components/work/todayData.vue
+18
-2
No files found.
src/components/work/todayData.vue
View file @
ec74233b
...
...
@@ -149,7 +149,7 @@
<el-date-picker
v-model=
"dateList"
type=
"daterange"
align=
"right"
value-format=
"yyyy-MM-dd"
@
change=
"getData"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
<el-select
v-model=
"msg.empList"
@
change=
"
throttle
"
style=
"width:180px;margin-left:10px;"
collapse-tags
multiple
<el-select
v-model=
"msg.empList"
@
change=
"
getData
"
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>
...
...
@@ -844,9 +844,25 @@
yesData
:
{},
//昨日数据
employeeList
:
[],
myEmployeeList
:
[],
ConsultObj
:
{}
//课程顾问数据
ConsultObj
:
{},
//课程顾问数据
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
CurrentUserInfo
:
{},
//当前登录用户信息
};
},
created
()
{
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
ActionMenuList
&&
this
.
CurrentUserInfo
.
ActionMenuList
.
length
>
0
)
{
this
.
CurrentUserInfo
.
ActionMenuList
.
forEach
((
x
)
=>
{
if
(
x
.
FunctionCode
==
"Query_MarketConsultant"
)
{
this
.
IsQueryAuth
=
true
;
}
});
}
console
.
log
(
"IsQueryAuth"
,
this
.
IsQueryAuth
);
console
.
log
(
"CurrentUserInfo"
,
this
.
CurrentUserInfo
);
},
mounted
()
{
this
.
getData
();
this
.
getEmployeeList
();
...
...
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