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
4c42ca5d
Commit
4c42ca5d
authored
Feb 11, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8596630c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
19 deletions
+45
-19
channelDetail.vue
src/pages/sale/channelDetail.vue
+14
-3
makeupRate.vue
src/pages/sale/makeupRate.vue
+11
-7
visitTransform.vue
src/pages/sale/visitTransform.vue
+20
-9
No files found.
src/pages/sale/channelDetail.vue
View file @
4c42ca5d
...
...
@@ -42,8 +42,9 @@
</
template
>
</q-field>
</div>
<div
class=
"col-3"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
style=
"margin-top:15px;"
label=
"下载"
@
click=
"downloadMarketChannelStatic"
/>
<div
class=
"col-3"
v-if=
"isShowDownLoad"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
style=
"margin-top:15px;"
label=
"下载"
@
click=
"downloadMarketChannelStatic"
/>
</div>
</div>
</div>
...
...
@@ -128,10 +129,20 @@
isShowRebate
:
false
//是否显示返佣
},
loading
:
false
,
CurrentUserInfo
:
{},
isShowDownLoad
:
false
,
//是否显示下载按钮
};
},
created
()
{
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
ActionMenuList
&&
this
.
CurrentUserInfo
.
ActionMenuList
.
length
>
0
)
{
this
.
CurrentUserInfo
.
ActionMenuList
.
forEach
((
x
)
=>
{
if
(
x
.
FunctionCode
==
"DownMarketChannelStatic"
)
{
this
.
isShowDownLoad
=
true
;
}
});
}
},
mounted
()
{
var
now
=
new
Date
();
...
...
src/pages/sale/makeupRate.vue
View file @
4c42ca5d
...
...
@@ -136,7 +136,7 @@
</
template
>
</q-field>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
v-if=
"isShowDownLoad"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
style=
"margin-top:15px;"
icon=
"download"
label=
"下载"
@
click=
"downloadMarketChannelStudentStatic"
/>
</div>
...
...
@@ -208,7 +208,8 @@
IsQueryAuth
:
false
,
//是否有查询市场部和课程顾问部人员权限
IsShowEmpQuery
:
false
,
//是否显示员工下拉框
tableHeight
:
50
,
loading
:
false
,
loading
:
false
,
isShowDownLoad
:
false
,
//否显示下载按钮
};
},
created
()
{
...
...
@@ -219,6 +220,9 @@
if
(
x
.
FunctionCode
==
"Query_MarketConsultant"
)
{
this
.
IsQueryAuth
=
true
;
}
if
(
x
.
FunctionCode
==
"MarketChannelStudent"
)
{
this
.
isShowDownLoad
=
true
;
}
});
}
if
(
this
.
IsQueryAuth
||
(
this
.
CurrentUserInfo
.
IsManager
==
1
&&
this
.
CurrentUserInfo
.
IsCourseConsultant
==
1
)
||
(
...
...
@@ -253,12 +257,12 @@
methods
:
{
downloadMarketChannelStudentStatic
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
this
.
loading
=
true
;
this
.
loading
=
true
;
EduDownLoad
(
"/UserCenter/DownLoadMarketChannelStudentStatic"
,
msg
,
"渠道总表.xls"
,
res
=>
{
this
.
loading
=
false
;
"渠道总表.xls"
,
res
=>
{
this
.
loading
=
false
;
}
);
},
...
...
@@ -281,9 +285,9 @@
prop
:
"EmployeeName"
,
label
:
"员工"
}];
this
.
loading
=
true
;
this
.
loading
=
true
;
MarketChannelStudentStatic
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
...
...
src/pages/sale/visitTransform.vue
View file @
4c42ca5d
...
...
@@ -37,8 +37,9 @@
</
template
>
</q-field>
</div>
<div
class=
"col-3"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
style=
"margin-top:15px;"
label=
"下载"
@
click=
"downloadMarketCreateType"
/>
<div
class=
"col-3"
v-if=
"isShowDownLoad"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
style=
"margin-top:15px;"
label=
"下载"
@
click=
"downloadMarketCreateType"
/>
</div>
</div>
</div>
...
...
@@ -105,11 +106,21 @@
},
allData
:
[],
tableHeight
:
50
,
loading
:
false
,
loading
:
false
,
CurrentUserInfo
:
{},
isShowDownLoad
:
false
,
//是否显示下载按钮
};
},
created
()
{
this
.
CurrentUserInfo
=
this
.
getLocalStorage
();
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
ActionMenuList
&&
this
.
CurrentUserInfo
.
ActionMenuList
.
length
>
0
)
{
this
.
CurrentUserInfo
.
ActionMenuList
.
forEach
((
x
)
=>
{
if
(
x
.
FunctionCode
==
"DownMarketCreateType"
)
{
this
.
isShowDownLoad
=
true
;
}
});
}
},
mounted
()
{
var
now
=
new
Date
();
...
...
@@ -146,12 +157,12 @@
if
(
this
.
msg
.
top_Check
==
4
)
{
fileName
=
"转交渠道.xls"
;
}
this
.
loading
=
true
;
this
.
loading
=
true
;
EduDownLoad
(
"/UserCenter/DownLoadMarketCreateType"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
fileName
,
res
=>
{
this
.
loading
=
false
;
}
);
},
...
...
@@ -180,9 +191,9 @@
this
.
msg
.
startTime
=
""
;
this
.
msg
.
endTime
=
""
;
}
this
.
loading
=
true
;
this
.
loading
=
true
;
MarketCreateType
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
allData
=
res
.
Data
;
this
.
dataList
=
this
.
allData
.
customerDataList
;
...
...
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