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
fca7303f
Commit
fca7303f
authored
Sep 24, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e9d461f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
10 deletions
+58
-10
allEchart.vue
src/components/FinancialModule/DataAnalysis/allEchart.vue
+33
-3
index.vue
src/components/FinancialModule/DataAnalysis/index.vue
+25
-7
No files found.
src/components/FinancialModule/DataAnalysis/allEchart.vue
View file @
fca7303f
<
template
>
<div
style=
"height: 100%;"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"线路经营情况"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"公司经营情况"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"日本线常规团情况"
name=
"3"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"线路经营情况"
name=
"1"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"公司经营情况"
name=
"2"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"日本线常规团情况"
name=
"3"
></el-tab-pane>
<!--
<el-tab-pane
label=
"购物佣金情况"
name=
"4"
></el-tab-pane>
-->
</el-tabs>
<div
class=
"query-box"
>
...
...
@@ -17,6 +17,7 @@
v-model=
"msg.OutBranchId"
@
change=
"getChange"
clearable
:disabled=
"PermissionState==2"
>
<el-option
:value=
"-1"
...
...
@@ -38,6 +39,7 @@
clearable
v-model=
"msg.OutBranchIdList"
@
change=
"getChange"
:disabled=
"PermissionState==2"
>
<!-- <el-option
:value="-1"
...
...
@@ -313,6 +315,7 @@ export default {
coinGetShow
:
false
,
loading
:
false
,
activeName
:
'1'
,
PermissionState
:
'0'
,
//权限状态 1管理员级 2各公司负责人 3地接OP查询佣金
msg
:{
startDate
:
''
,
endDate
:
''
,
...
...
@@ -388,6 +391,25 @@ export default {
this
.
dateTime
=
[
this
.
$commonUtils
.
getFormatDateM
(
start
),
this
.
$commonUtils
.
getFormatDateM
(
end
)]
this
.
msg
.
startDate
=
this
.
dateTime
[
0
]
this
.
msg
.
endDate
=
this
.
dateTime
[
1
]
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
RB_Group_id
==
2
){
if
(
userInfo
.
RB_Branch_id
==
0
||
userInfo
.
RB_Branch_id
==
49
){
this
.
PermissionState
=
1
;
if
(
userInfo
.
RB_Post_Id
==
171
){
this
.
PermissionState
=
3
;
//地接OP
this
.
activeName
=
'4'
;
}
}
else
{
//分公司的 看各自公司的数据 佣金暂时不开
this
.
PermissionState
=
2
;
this
.
msg
.
OutBranchId
=
userInfo
.
RB_Branch_id
;
this
.
msg
.
OutBranchIdList
=
[];
this
.
msg
.
OutBranchIdList
.
push
(
userInfo
.
RB_Branch_id
);
}
}
this
.
financeinfo_post_GetList
()
this
.
getQueryData
()
this
.
getShops
()
...
...
@@ -503,6 +525,14 @@ export default {
this
.
coinGetShow
=
false
this
.
msg
.
StandardCurrencyId
=
1
}
let
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
PermissionState
==
2
){
this
.
msg
.
OutBranchId
=
userInfo
.
RB_Branch_id
;
this
.
msg
.
OutBranchIdList
=
[];
this
.
msg
.
OutBranchIdList
.
push
(
userInfo
.
RB_Branch_id
);
}
this
.
getStatement
()
this
.
$forceUpdate
()
},
...
...
src/components/FinancialModule/DataAnalysis/index.vue
View file @
fca7303f
<
template
>
<div
style=
"height: 100%;"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"线路经营情况"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"公司经营情况"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"日本小包OR常规"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"购物佣金情况"
name=
"4"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"线路经营情况"
name=
"1"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"公司经营情况"
name=
"2"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=3"
label=
"日本小包OR常规"
name=
"3"
></el-tab-pane>
<el-tab-pane
v-if=
"PermissionState!=2"
label=
"购物佣金情况"
name=
"4"
></el-tab-pane>
</el-tabs>
<div
class=
"query-box"
>
<el-form
class=
"_info_box clearfix"
label-width=
"90px"
>
...
...
@@ -16,6 +16,7 @@
v-model=
"msg.OutBranchId"
@
change=
"getChange"
clearable
:disabled=
"PermissionState==2"
>
<el-option
:value=
"-1"
...
...
@@ -91,7 +92,7 @@
<el-input
v-model=
"shopMsg.MaoLiRate"
type=
"number"
@
change=
"getMaoLiRate"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"activeName!=4"
>
<el-col
:span=
"4"
v-if=
"activeName!=4
&& activeName!=3
"
>
<el-form-item
label=
"线路"
>
<el-select
filterable
v-model=
"msg.LineId"
@
change=
"getStatement"
clearable
>
...
...
@@ -187,6 +188,7 @@ export default {
coinGetShow
:
false
,
loading
:
false
,
activeName
:
'1'
,
PermissionState
:
'0'
,
//权限状态 1管理员级 2各公司负责人 3地接OP查询佣金
msg
:{
startDate
:
''
,
endDate
:
''
,
...
...
@@ -258,6 +260,23 @@ export default {
this
.
dateTime
=
[
this
.
$commonUtils
.
getFormatDateM
(
start
),
this
.
$commonUtils
.
getFormatDateM
(
end
)]
this
.
msg
.
startDate
=
this
.
dateTime
[
0
]
this
.
msg
.
endDate
=
this
.
dateTime
[
1
]
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
RB_Group_id
==
2
){
if
(
userInfo
.
RB_Branch_id
==
0
||
userInfo
.
RB_Branch_id
==
49
){
this
.
PermissionState
=
1
;
if
(
userInfo
.
RB_Post_Id
==
171
){
this
.
PermissionState
=
3
;
//地接OP
this
.
activeName
=
'4'
;
}
}
else
{
//分公司的 看各自公司的数据 佣金暂时不开
this
.
PermissionState
=
2
;
this
.
msg
.
OutBranchId
=
userInfo
.
RB_Branch_id
;
}
}
this
.
financeinfo_post_GetList
()
this
.
getQueryData
()
this
.
getShops
()
...
...
@@ -304,8 +323,7 @@ export default {
})
},
getStatement
(){
if
(
this
.
msg
.
Type
==
2
)
this
.
msg
.
IsLastData
=
2
else
this
.
msg
.
IsLastData
=
0
this
.
msg
.
IsLastData
=
0
let
msg
=
this
.
msg
let
url
=
'financestatistics_post_GetDataAnalysisStat'
if
(
this
.
activeName
==
'4'
)
{
...
...
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