Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
0eee84f6
Commit
0eee84f6
authored
Aug 27, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售级别
parent
9ab1b540
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
1 deletion
+26
-1
index.html
dist/index.html
+1
-1
0.74907619e54abdc64b97.js
dist/static/js/0.74907619e54abdc64b97.js
+20
-0
17.b9fa866ff23975b0ce40.js
dist/static/js/17.b9fa866ff23975b0ce40.js
+1
-0
60.5a4e00eaabd338912bd0.js
dist/static/js/60.5a4e00eaabd338912bd0.js
+1
-0
68.e34387def045e0088583.js
dist/static/js/68.e34387def045e0088583.js
+1
-0
71.2f2259dee90bad11a590.js
dist/static/js/71.2f2259dee90bad11a590.js
+1
-0
manifest.d5a4f097b252bdc7cc0e.js
dist/static/js/manifest.d5a4f097b252bdc7cc0e.js
+1
-0
No files found.
dist/index.html
View file @
0eee84f6
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
f2d2ccc82ed134046f72
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.195a67a672e524ccd93c.js
></script><script
type=
text/javascript
src=
/static/js/app.d81550edd99da8615abf.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
d5a4f097b252bdc7cc0e
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.195a67a672e524ccd93c.js
></script><script
type=
text/javascript
src=
/static/js/app.d81550edd99da8615abf.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/js/0.74907619e54abdc64b97.js
0 → 100644
View file @
0eee84f6
This diff is collapsed.
Click to expand it.
dist/static/js/17.b9fa866ff23975b0ce40.js
0 → 100644
View file @
0eee84f6
This diff is collapsed.
Click to expand it.
dist/static/js/60.5a4e00eaabd338912bd0.js
0 → 100644
View file @
0eee84f6
This diff is collapsed.
Click to expand it.
dist/static/js/68.e34387def045e0088583.js
0 → 100644
View file @
0eee84f6
webpackJsonp
([
68
],{
"9bUi"
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.sales-level {
\n
padding: 10px;
\n
-webkit-box-sizing: border-box;
\n
box-sizing: border-box;
\n
}
\n
.sales-level .custom-table {
\n
margin-top: 20px;
\n
width: 100%;
\n
border: solid 1px #EBEEF5;
\n
border-spacing: 0;
\n
border-collapse: collapse;
\n
}
\n
.sales-level .custom-table thead {
\n
color: #909399;
\n
font-weight: 500;
\n
}
\n
.sales-level .custom-table thead th {
\n
padding: 12px 10px;
\n
border: 1px solid #EBEEF5;
\n
}
\n
.sales-level .custom-table tbody td {
\n
padding: 12px 10px;
\n
border: 1px solid #EBEEF5;
\n
}
\n
.sales-level .subcompany-list {
\n
width: 100%;
\n
}
\n
.sales-level .subcompany-list .from-item {
\n
width: 15%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/xiaxue/Desktop/admin/src/components/salesLevel/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,cAAc;EACd,+BAA+B;UACvB,uBAAuB;CAChC;AACD;EACE,iBAAiB;EACjB,YAAY;EACZ,0BAA0B;EAC1B,kBAAkB;EAClB,0BAA0B;CAC3B;AACD;EACE,eAAe;EACf,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,YAAY;CACb;AACD;EACE,WAAW;CACZ"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.sales-level {
\n
padding: 10px;
\n
-webkit-box-sizing: border-box;
\n
box-sizing: border-box;
\n
}
\n
.sales-level .custom-table {
\n
margin-top: 20px;
\n
width: 100%;
\n
border: solid 1px #EBEEF5;
\n
border-spacing: 0;
\n
border-collapse: collapse;
\n
}
\n
.sales-level .custom-table thead {
\n
color: #909399;
\n
font-weight: 500;
\n
}
\n
.sales-level .custom-table thead th {
\n
padding: 12px 10px;
\n
border: 1px solid #EBEEF5;
\n
}
\n
.sales-level .custom-table tbody td {
\n
padding: 12px 10px;
\n
border: 1px solid #EBEEF5;
\n
}
\n
.sales-level .subcompany-list {
\n
width: 100%;
\n
}
\n
.sales-level .subcompany-list .from-item {
\n
width: 15%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
AN7M
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
l
=
n
(
"kmJW"
),
i
=
n
(
"+TkF"
),
s
=
n
(
"mWMt"
),
o
=
{
name
:
"index"
,
data
:
function
(){
return
{
pageIndex
:
1
,
total
:
0
,
limit
:
10
,
staffId
:
""
,
saleLevel
:[{
label
:
"销售顾问"
,
value
:
1
},{
label
:
"销售主管"
,
value
:
2
},{
label
:
"销售经理"
,
value
:
3
},{
label
:
"销售总监"
,
value
:
4
}],
subcompanyList
:[],
saleLevelNum
:
0
,
salesLevelDialog
:
!
1
,
staffTitle
:[],
staffContent
:[],
oldVal
:
""
,
infoLoading
:
!
0
,
infoLoadingDialog
:
!
1
}},
components
:{
page
:
l
.
a
},
methods
:{
newAdd
:
function
(){
this
.
saleLevelNum
++
,
this
.
subcompanyList
.
push
({
sale_level
:
""
,
level_name
:
""
,
money_base_salary
:
""
,
money_month_target
:
""
,
money_quarter_lift_line
:
""
})},
getLevelListFn
:
function
(){
var
e
=
this
;
Object
(
a
.
_75
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
infoLoading
=!
1
,
t
.
list
.
map
(
function
(
e
){
e
.
sale_level
=
1
===
e
.
sale_level
?
"销售顾问"
:
2
===
e
.
sale_level
?
"销售主管"
:
3
===
e
.
sale_level
?
"销售经理"
:
"销售总监"
}),
e
.
subcompanyList
=
t
.
list
})},
preservation
:
function
(){
var
e
=
this
;
if
(
0
!==
this
.
saleLevelNum
){
var
t
=
this
.
subcompanyList
.
slice
(
-
this
.
saleLevelNum
);
-
1
!==
JSON
.
stringify
(
t
).
indexOf
(
'""'
)?
this
.
$message
({
message
:
"保存数据不能为空"
,
type
:
"warning"
}):
Object
(
a
.
i
)({
params
:
JSON
.
stringify
(
t
)}).
then
(
function
(
t
){
e
.
getLevelListFn
()})}
else
this
.
$message
({
message
:
"没有新增信息"
,
type
:
"warning"
})},
focusOldVal
:
function
(
e
){
this
.
oldVal
=
e
},
modifyLevel
:
function
(
e
,
t
){
var
n
=
this
,
l
=
this
.
subcompanyList
.
findIndex
(
function
(
t
){
return
t
.
id
===
e
}),
i
=
this
.
subcompanyList
[
l
];
s
.
a
.
isEmpty
(
i
.
id
)
||
(
s
.
a
.
isEmpty
(
t
)?
this
.
$message
({
message
:
"修改数据不能为空"
,
type
:
"warning"
}):(
i
.
position
=
i
.
sale_level
+
"-"
+
i
.
level_name
+
"-"
+
i
.
money_base_salary
,
i
.
old_val
=
this
.
oldVal
,
i
.
new_val
=
t
,
Object
(
a
.
_21
)(
e
,
i
).
then
(
function
(
e
){
n
.
$message
({
message
:
"修改数据更新成功"
,
type
:
"warning"
})})))},
staffCountClick
:
function
(
e
,
t
,
n
){
var
l
=
this
;
this
.
staffId
=
e
,
this
.
infoLoadingDialog
=!
0
,
this
.
pageIndex
=
t
,
Object
(
a
.
_112
)(
e
,{
page
:
t
,
limit
:
n
}).
then
(
function
(
e
){
e
.
list
.
length
>
0
?(
l
.
staffTitle
=
i
.
z
,
l
.
total
=
e
.
total
,
l
.
staffContent
=
e
.
list
,
l
.
salesLevelDialog
=!
0
):
l
.
$message
({
message
:
"暂无数据"
,
type
:
"warning"
}),
l
.
infoLoadingDialog
=!
1
})},
changeRecord
:
function
(
e
,
t
){
var
n
=
this
;
this
.
pageIndex
=
e
,
this
.
infoLoadingDialog
=!
0
,
this
.
staffId
=
""
,
Object
(
a
.
_101
)({
page
:
e
,
limit
:
t
}).
then
(
function
(
e
){
n
.
infoLoadingDialog
=!
1
,
n
.
staffTitle
=
i
.
G
,
n
.
total
=
e
.
total
,
n
.
staffContent
=
e
.
page_data
,
n
.
salesLevelDialog
=!
0
})},
handleCurrentChange
:
function
(
e
){
this
.
pageIndex
=
e
,
this
.
staffId
?
this
.
staffCountClick
(
this
.
staffId
,
e
,
this
.
limit
):
this
.
changeRecord
(
e
,
this
.
limit
)},
handleSizeChange
:
function
(
e
){
this
.
pageIndex
=
1
,
this
.
limit
=
e
,
this
.
staffId
?
this
.
staffCountClick
(
this
.
staffId
,
1
,
e
):
this
.
changeRecord
(
e
,
this
.
limit
)}},
mounted
:
function
(){
this
.
getLevelListFn
()}},
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"sales-level"
},[
n
(
"el-card"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
infoLoading
,
expression
:
"infoLoading"
}]},[
n
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
n
(
"span"
,{
staticStyle
:{
"font-size"
:
"18px"
,
"font-weight"
:
"bold"
,
"padding-right"
:
"20px"
}},[
e
.
_v
(
"销售级别配置:"
)])]),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"subcompany-list"
},[
e
.
subcompanyList
.
length
>
0
?
n
(
"div"
,{
staticClass
:
"subcompany-list-content"
},
e
.
_l
(
e
.
subcompanyList
,
function
(
t
){
return
n
(
"el-form"
,{
staticClass
:
"demo-form-inline"
,
attrs
:{
inline
:
!
0
,
size
:
"mini"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"销售层级"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"销售层级"
},
on
:{
change
:
function
(
n
){
e
.
modifyLevel
(
t
.
id
,
t
.
sale_level
)},
focus
:
function
(
n
){
e
.
focusOldVal
(
t
.
sale_level
)}},
model
:{
value
:
t
.
sale_level
,
callback
:
function
(
n
){
e
.
$set
(
t
,
"sale_level"
,
n
)},
expression
:
"item.sale_level"
}},
e
.
_l
(
e
.
saleLevel
,
function
(
e
){
return
n
(
"el-option"
,{
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"级别名称"
}},[
n
(
"el-input"
,{
attrs
:{
placeholder
:
"级别名称"
},
on
:{
change
:
function
(
n
){
e
.
modifyLevel
(
t
.
id
,
t
.
level_name
)},
focus
:
function
(
n
){
e
.
focusOldVal
(
t
.
level_name
)}},
model
:{
value
:
t
.
level_name
,
callback
:
function
(
n
){
e
.
$set
(
t
,
"level_name"
,
n
)},
expression
:
"item.level_name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"底薪"
}},[
n
(
"el-input"
,{
attrs
:{
placeholder
:
"底薪"
},
on
:{
change
:
function
(
n
){
e
.
modifyLevel
(
t
.
id
,
t
.
money_base_salary
)},
focus
:
function
(
n
){
e
.
focusOldVal
(
t
.
money_base_salary
)}},
model
:{
value
:
t
.
money_base_salary
,
callback
:
function
(
n
){
e
.
$set
(
t
,
"money_base_salary"
,
n
)},
expression
:
"item.money_base_salary"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"月度业绩目标"
}},[
n
(
"el-input"
,{
attrs
:{
placeholder
:
"月度业绩目标"
},
on
:{
change
:
function
(
n
){
e
.
modifyLevel
(
t
.
id
,
t
.
money_month_target
)},
focus
:
function
(
n
){
e
.
focusOldVal
(
t
.
money_month_target
)}},
model
:{
value
:
t
.
money_month_target
,
callback
:
function
(
n
){
e
.
$set
(
t
,
"money_month_target"
,
n
)},
expression
:
"item.money_month_target"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"季度升降级线"
}},[
n
(
"el-input"
,{
attrs
:{
placeholder
:
"季度升降级线"
},
on
:{
change
:
function
(
n
){
e
.
modifyLevel
(
t
.
id
,
t
.
money_quarter_lift_line
)},
focus
:
function
(
n
){
e
.
focusOldVal
(
t
.
money_quarter_lift_line
)}},
model
:{
value
:
t
.
money_quarter_lift_line
,
callback
:
function
(
n
){
e
.
$set
(
t
,
"money_quarter_lift_line"
,
n
)},
expression
:
"item.money_quarter_lift_line"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-tag"
,{
staticStyle
:{
cursor
:
"pointer"
},
on
:{
click
:
function
(
n
){
e
.
staffCountClick
(
t
.
id
,
1
,
10
)}}},[
e
.
_v
(
e
.
_s
(
t
.
staff_count
||
0
))])],
1
)],
1
)})):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
e
.
subcompanyList
.
length
?
n
(
"div"
,{
staticStyle
:{
color
:
"#000"
,
"font-size"
:
"13px"
,
"text-align"
:
"center"
,
"padding-top"
:
"20px"
}},[
e
.
_v
(
"暂无数据"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"div"
,{
staticStyle
:{
"text-align"
:
"right"
,
"padding-top"
:
"30px"
,
"padding-right"
:
"30px"
}},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
changeRecord
(
1
,
10
)}}},[
e
.
_v
(
"变更记录"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
},
on
:{
click
:
e
.
newAdd
}},[
e
.
_v
(
"新增"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
},
on
:{
click
:
e
.
preservation
}},[
e
.
_v
(
"保存"
)])],
1
)]),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
salesLevelDialog
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
salesLevelDialog
=
t
}}},[
0
!=
e
.
staffTitle
.
length
?
n
(
"table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
infoLoadingDialog
,
expression
:
"infoLoadingDialog"
}],
staticClass
:
"custom-table"
},[
n
(
"thead"
,[
n
(
"tr"
,
e
.
_l
(
e
.
staffTitle
,
function
(
t
){
return
n
(
"th"
,[
e
.
_v
(
e
.
_s
(
t
.
label
))])}))]),
e
.
_v
(
" "
),
n
(
"tbody"
,
e
.
_l
(
e
.
staffContent
,
function
(
t
,
a
){
return
n
(
"tr"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
e
.
staffId
?[
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
level_name
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
squad
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
in_at
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
base_salary
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
n
(
"router-link"
,{
attrs
:{
to
:{
path
:
"/staff"
,
query
:{}},
target
:
"_blank"
}},[
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
}},[
e
.
_v
(
"修改"
)])],
1
)],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
staffId
?
e
.
_e
():[
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
a
+
1
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
operator
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
behavior
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
position
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
front
))]),
e
.
_v
(
" "
),
n
(
"td"
,[
e
.
_v
(
e
.
_s
(
t
.
after
))])]],
2
)}))]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-pagination"
,{
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
"page-sizes"
:[
5
,
10
,
20
,
30
,
40
,
50
,
60
,
80
,
100
],
"page-size"
:
e
.
limit
,
"current-page"
:
e
.
pageIndex
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
,
"update:currentPage"
:
function
(
t
){
e
.
pageIndex
=
t
}}})],
1
)],
1
)],
1
)};
r
.
_withStripped
=!
0
;
var
c
=
{
render
:
r
,
staticRenderFns
:[]},
d
=
c
;
var
f
=!
1
;
var
u
=
n
(
"VU/8"
)(
o
,
d
,
!
1
,
function
(
e
){
f
||
n
(
"xuW1"
)},
null
,
null
);
u
.
options
.
__file
=
"src/components/salesLevel/index.vue"
;
t
.
default
=
u
.
exports
},
xuW1
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"9bUi"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"f80da26c"
,
a
,
!
1
,{})}});
\ No newline at end of file
dist/static/js/71.2f2259dee90bad11a590.js
0 → 100644
View file @
0eee84f6
webpackJsonp
([
71
],{
"Gzp+"
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
l
=
n
(
"+TkF"
),
o
=
{
name
:
"index"
,
data
:
function
(){
return
{
loading
:
!
0
,
type
:
"1"
,
BROKERAGE_COURSE_TYPE
:
l
.
b
,
list
:[{
label
:
"顾问"
,
value
:
"1"
,
children
:[{
label
:
"试听课来源-转年课业绩提点配置"
,
money
:
"业绩区间"
,
scale
:
"提点比例"
,
value
:
"1"
,
data
:[]},{
label
:
"月课、季课来源-转年课业绩提点配置"
,
money
:
"业绩区间"
,
scale
:
"提点比例"
,
value
:
"2"
,
data
:[]},{
label
:
"年课来源 - 转两年课业绩提点配置"
,
money
:
"业绩区间"
,
scale
:
"提点比例"
,
value
:
"3"
,
data
:[]}]},{
label
:
"主管"
,
value
:
"2"
,
children
:[{
label
:
"主管业绩提点"
,
money
:
"业绩完成率"
,
scale
:
"提点比例"
,
value
:
"4"
,
data
:[]},{
label
:
"主管转化率系数(试听课)"
,
money
:
"团队转化率"
,
scale
:
"转化系数"
,
value
:
"5"
,
data
:[]},{
label
:
"主管转化率系数(月课、季课)"
,
money
:
"团队转化率"
,
scale
:
"转化系数"
,
value
:
"6"
,
data
:[]}]}]}},
mounted
:
function
(){
this
.
getData
()},
methods
:{
filterName
:
function
(
e
,
t
){
return
this
[
t
].
find
(
function
(
t
){
return
t
.
value
==
e
}).
label
},
itemAdd
:
function
(
e
,
t
){
this
.
list
.
forEach
(
function
(
n
){
n
.
value
==
e
&&
n
.
children
.
forEach
(
function
(
n
){
n
.
value
==
t
&&
n
.
data
.
push
({
sale_type
:
e
,
course_type
:
t
,
max_money
:
""
,
min_money
:
""
,
scale
:
""
,
id_add
:(
new
Date
).
getTime
()})})})},
itemSave
:
function
(
e
){
var
t
=
this
;
if
(
"number"
==
typeof
e
.
min_money
&&
"number"
==
typeof
e
.
max_money
&&
"number"
==
typeof
e
.
scale
){
var
n
=
{
min_money
:
e
.
min_money
,
max_money
:
e
.
max_money
,
scale
:
e
.
scale
,
sale_type
:
e
.
sale_type
,
course_type
:
e
.
course_type
};
e
.
id
?
Object
(
a
.
_177
)(
e
.
id
,
n
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"保存成功"
}),
t
.
getData
()}):
Object
(
a
.
_162
)(
n
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"保存成功"
}),
t
.
getData
()})}},
itemDelete
:
function
(
e
){
var
t
=
this
;
e
.
id_add
?
this
.
list
.
forEach
(
function
(
t
){
t
.
value
==
e
.
sale_type
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
value
==
e
.
course_type
){
var
n
=
t
.
data
.
findIndex
(
function
(
t
){
return
t
.
id_add
==
e
.
id_add
});
t
.
data
.
splice
(
n
,
1
)}})}):
this
.
$confirm
(
"确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_1
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功"
}),
t
.
getData
()})}).
catch
(
function
(){
t
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
a
.
_46
)().
then
(
function
(
t
){
t
.
list
&&
t
.
list
.
length
&&
t
.
list
.
forEach
(
function
(
t
){
if
(
t
&&
t
.
length
){
var
n
=
e
.
list
.
findIndex
(
function
(
e
){
return
e
.
value
==
t
[
0
].
sale_type
}),
a
=
e
.
list
[
n
].
children
.
findIndex
(
function
(
e
){
return
e
.
value
==
t
[
0
].
course_type
});
e
.
list
[
n
].
children
[
a
].
data
=
t
}}),
e
.
loading
=!
1
})}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"brokerage"
},[
n
(
"el-tabs"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"tabs-refresh"
,
attrs
:{
type
:
"card"
},
model
:{
value
:
e
.
type
,
callback
:
function
(
t
){
e
.
type
=
t
},
expression
:
"type"
}},
e
.
_l
(
e
.
list
,
function
(
t
){
return
n
(
"el-tab-pane"
,{
key
:
t
.
label
,
attrs
:{
label
:
t
.
label
,
name
:
t
.
value
}},[
n
(
"ul"
,
e
.
_l
(
t
.
children
,
function
(
a
){
return
n
(
"li"
,{
staticClass
:
"brokerage-item"
},[
n
(
"div"
,{
staticClass
:
"brokerage-item-header clearfix"
},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
filterName
(
a
.
value
,
"BROKERAGE_COURSE_TYPE"
))
+
"
\n
"
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"success"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
n
){
e
.
itemAdd
(
t
.
value
,
a
.
value
)}}},[
e
.
_v
(
"新增"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
a
.
data
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
a
.
money
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
n
(
"el-input"
,{
staticStyle
:{
width
:
"46%"
},
attrs
:{
type
:
"number"
},
model
:{
value
:
t
.
row
.
min_money
,
callback
:
function
(
n
){
e
.
$set
(
t
.
row
,
"min_money"
,
e
.
_n
(
n
))},
expression
:
"scope.row.min_money"
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
,
"align-items"
:
"center"
,
"justify-content"
:
"center"
,
width
:
"8%"
}},[
e
.
_v
(
"~"
)]),
e
.
_v
(
" "
),
n
(
"el-input"
,{
staticStyle
:{
width
:
"46%"
},
attrs
:{
type
:
"number"
},
model
:{
value
:
t
.
row
.
max_money
,
callback
:
function
(
n
){
e
.
$set
(
t
.
row
,
"max_money"
,
e
.
_n
(
n
))},
expression
:
"scope.row.max_money"
}})],
1
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
a
.
scale
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-input"
,{
attrs
:{
type
:
"number"
},
model
:{
value
:
t
.
row
.
scale
,
callback
:
function
(
n
){
e
.
$set
(
t
.
row
,
"scale"
,
e
.
_n
(
n
))},
expression
:
"scope.row.scale"
}})]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
disabled
:
!
(
"number"
==
typeof
t
.
row
.
min_money
&&
"number"
==
typeof
t
.
row
.
max_money
&&
"number"
==
typeof
t
.
row
.
scale
),
size
:
"small"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
itemSave
(
t
.
row
)}}},[
e
.
_v
(
"保存"
)]),
e
.
_v
(
" "
),
!
e
.
$store
.
state
.
readonly
&&
e
.
$store
.
state
.
deletePermission
?
n
(
"el-button"
,{
attrs
:{
size
:
"small"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
n
){
e
.
itemDelete
(
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
e
.
_e
()],
1
)]}}])})],
1
)],
1
)}))])}))],
1
)};
i
.
_withStripped
=!
0
;
var
s
=
{
render
:
i
,
staticRenderFns
:[]},
r
=
s
;
var
c
=!
1
;
var
u
=
n
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
c
||
n
(
"gM9k"
)},
null
,
null
);
u
.
options
.
__file
=
"src/components/brokerage/index.vue"
;
t
.
default
=
u
.
exports
},
T1ls
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.brokerage .brokerage-item {
\n
margin: 0 10px 10px;
\n
padding: 10px;
\n
background-color: #fff;
\n
}
\n
.brokerage .brokerage-item .brokerage-item-header {
\n
padding-bottom: 10px;
\n
line-height: 32px;
\n
color: #333333;
\n
font-size: 16px;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/xiaxue/Desktop/admin/src/components/brokerage/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,oBAAoB;EACpB,cAAc;EACd,uBAAuB;CACxB;AACD;EACE,qBAAqB;EACrB,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CACjB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.brokerage .brokerage-item {
\n
margin: 0 10px 10px;
\n
padding: 10px;
\n
background-color: #fff;
\n
}
\n
.brokerage .brokerage-item .brokerage-item-header {
\n
padding-bottom: 10px;
\n
line-height: 32px;
\n
color: #333333;
\n
font-size: 16px;
\n
}
\n
"
],
sourceRoot
:
""
}])},
gM9k
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"T1ls"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"55d58484"
,
a
,
!
1
,{})}});
\ No newline at end of file
dist/static/js/manifest.d5a4f097b252bdc7cc0e.js
0 → 100644
View file @
0eee84f6
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
76
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"74907619e54abdc64b97"
,
1
:
"6f5852a7c7a1234bf9fe"
,
2
:
"2f25f764a24b0d66d07f"
,
3
:
"f686f99abc5cbc1c3563"
,
4
:
"335031cf6e00f24b2b6d"
,
5
:
"bbaf8aa009ddaae5ab05"
,
6
:
"34cf4703f756133943b9"
,
7
:
"277632f9d469e66d13e5"
,
8
:
"4829277cb909c0d8d22d"
,
9
:
"47cfac31d306f0b4c001"
,
10
:
"a93eb65d3916f1ff4cdb"
,
11
:
"a65e24beefb035d8ced7"
,
12
:
"a649f6dfb1469e22533f"
,
13
:
"ec2412fabd0bc31862e7"
,
14
:
"c354f939bf02964921f9"
,
15
:
"84a4187d276b0c823291"
,
16
:
"a5d19af7dab2bf0fea84"
,
17
:
"b9fa866ff23975b0ce40"
,
18
:
"9a3b62055ea7cba2cbfc"
,
19
:
"d4b25f69007a1d7d3013"
,
20
:
"434d6cc4b2245fed28fb"
,
21
:
"d45ccb96ff29fc7a4e7b"
,
22
:
"ba70d8aa191024a5e04f"
,
23
:
"0faaca60dd95f15ccf9f"
,
24
:
"9c0994b627bfb94256bf"
,
25
:
"dac1d46c0459bc0c10b2"
,
26
:
"2c67df9580621b3083e1"
,
27
:
"fc07ba25586fbd76439d"
,
28
:
"c4dba01ac8c844d81f41"
,
29
:
"4f72b6f08d3d7e3f3145"
,
30
:
"3526bb458a952a300b49"
,
31
:
"e6a8e0c9c43036f4e2e2"
,
32
:
"32c7d6a137b8bdc8fac9"
,
33
:
"2ba7edc4281e89804738"
,
34
:
"49de759dd163a1140670"
,
35
:
"0cd1fdc00406dc213875"
,
36
:
"3579a150fc29bfc488eb"
,
37
:
"e37caf9eadacc34a867b"
,
38
:
"eee8afaa484e063f5e79"
,
39
:
"3f713e415418fbdd81f4"
,
40
:
"3ce4868371add5a170a8"
,
41
:
"b2089937b145f5d61101"
,
42
:
"3ac3fa27264b12e53b45"
,
43
:
"85a35eaee352383b9ab4"
,
44
:
"2df399a9bb05667a442e"
,
45
:
"dce475ea7077449d86a0"
,
46
:
"cbdcc528baf6016a8760"
,
47
:
"da73ad81ca29a3a31fc7"
,
48
:
"f11ed37cbc7bd67b67ab"
,
49
:
"879516e6b1e82c9195f3"
,
50
:
"7697a77c69f5ef612e17"
,
51
:
"cc5357bf9fb28bc96766"
,
52
:
"3154b51701a24c09c6a4"
,
53
:
"487cdde0d28217b7f5fa"
,
54
:
"0b44009d42d94d6f483b"
,
55
:
"831313ddb60d4b7d03d0"
,
56
:
"292b6137792d3eec85b9"
,
57
:
"28319881f1417ca90d2c"
,
58
:
"3057a051ab184a78c567"
,
59
:
"8bba19627410dde511d0"
,
60
:
"5a4e00eaabd338912bd0"
,
61
:
"501e14d14d68a3b6717f"
,
62
:
"23e2507eeb4a67e0535f"
,
63
:
"eefc3b412fe859403ff2"
,
64
:
"451882c7854af00fe8f7"
,
65
:
"8f777273e29178f5ebcb"
,
66
:
"83da536f390a5f002ac1"
,
67
:
"43b0001333af80e3b005"
,
68
:
"e34387def045e0088583"
,
69
:
"e8ea7e239280f3335794"
,
70
:
"28067ea72292d2fb8ce6"
,
71
:
"2f2259dee90bad11a590"
,
72
:
"731bb386b3dd5a8b275e"
,
73
:
"f0bb161f48dbfbc00b05"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
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