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
a0338912
Commit
a0338912
authored
Mar 10, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限修改
parent
fc005aad
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
402 additions
and
411 deletions
+402
-411
AuthCode.js
src/assets/utils/AuthCode.js
+1
-0
OPRules.vue
src/components/FinancialModule/OPRules.vue
+389
-410
oneDayTrip.vue
src/components/TravelManager/TravelList/oneDayTrip.vue
+12
-1
No files found.
src/assets/utils/AuthCode.js
View file @
a0338912
...
...
@@ -10,5 +10,6 @@ var AuthCode = {
EditQuotation
:
"EditQuotation"
,
//报价单修改权限
SupperOrderEdit
:
"SupperOrderEdit"
,
//获取总经理副总经理超级修改权限
LookOrder
:
"LookOrder"
,
//出纳查看订单权限
LookAllTeam
:
"LookAllTeam"
,
//查看所有团控
};
export
default
AuthCode
;
\ No newline at end of file
src/components/FinancialModule/OPRules.vue
View file @
a0338912
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelList/oneDayTrip.vue
View file @
a0338912
...
...
@@ -626,6 +626,7 @@
export
default
{
data
()
{
return
{
LookAllTeam
:
false
,
//查看所有团控
//查询数据列表
queryCommonData
:
{
//线路列表
...
...
@@ -1446,6 +1447,15 @@
}
})
},
//查看所有团控
GetLookAllTeamAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
LookAllTeam
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
LookAllTeam
=
true
;
}
});
},
},
filters
:
{
formatStartDate
(
value
)
{
...
...
@@ -1478,6 +1488,7 @@
this
.
getCountryCity
()
},
created
()
{
this
.
GetLookAllTeamAuth
();
this
.
checkAllTeam
();
//默认显示联运
this
.
queryMsg
.
IsShowUnion
=
-
1
;
...
...
@@ -1509,7 +1520,7 @@
if
(
!
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
StartGroupDate
=
nowDate
}
if
(
this
.
queryCommonData
.
IsParentCompany
!=
1
&&
this
.
CurrentUserInfo
.
RB_Branch_id
!=
49
)
{
if
(
this
.
queryCommonData
.
IsParentCompany
!=
1
&&
this
.
LookAllTeam
)
{
this
.
queryMsg
.
OutBranchIds
.
push
(
this
.
CurrentUserInfo
.
RB_Branch_id
)
}
this
.
getControlList
()
...
...
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