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
10cd9e27
Commit
10cd9e27
authored
Aug 27, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码 佣金 修复 没有数据时一直loading的问题
parent
e06e2226
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
index.html
dist/index.html
+1
-1
70.ccd121b445bf9ad712d5.js
dist/static/js/70.ccd121b445bf9ad712d5.js
+1
-0
manifest.07bc93f5ee0feea425ee.js
dist/static/js/manifest.07bc93f5ee0feea425ee.js
+1
-0
No files found.
dist/index.html
View file @
10cd9e27
<!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.
cd9662ba875270b39c15
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.2e10b61637c9c6617c6f.js
></script><script
type=
text/javascript
src=
/static/js/app.2c9016f98284dcd8e393.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.
07bc93f5ee0feea425ee
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.2e10b61637c9c6617c6f.js
></script><script
type=
text/javascript
src=
/static/js/app.2c9016f98284dcd8e393.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/js/70.ccd121b445bf9ad712d5.js
0 → 100644
View file @
10cd9e27
webpackJsonp
([
70
],{
"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
.
_172
)(
e
.
id
,
n
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"保存成功"
}),
t
.
getData
()}):
Object
(
a
.
_157
)(
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
.
_0
)(
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
.
_44
)().
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/lin/workspace/sing/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.07bc93f5ee0feea425ee.js
0 → 100644
View file @
10cd9e27
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
75
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"b6a6aa99ffeff0780c06"
,
1
:
"b8b88887f37169a22b8a"
,
2
:
"5c2b4d8924837fae5ecf"
,
3
:
"673e32e6efe0aa0c72da"
,
4
:
"448efc3cbb139e2cb842"
,
5
:
"1c456226f9cc1d682f7a"
,
6
:
"63b8de250bb731508418"
,
7
:
"22ee39ce4b8c209eca12"
,
8
:
"300e0aa8ea8a9e597f91"
,
9
:
"4db833b638c0f9861c2a"
,
10
:
"b64a430ca32496195582"
,
11
:
"8e291502536265c153df"
,
12
:
"e177da676529d6386ebb"
,
13
:
"b757069c4465ab936203"
,
14
:
"24de0d5e57299b0ffbe5"
,
15
:
"2c66c0b0e30686d9eb35"
,
16
:
"32060c5e430c9bd57ece"
,
17
:
"fae3e602b07f22978544"
,
18
:
"0c49ca142999c2fc06b6"
,
19
:
"363937e61aa2160822e9"
,
20
:
"0e99bf4c99c763c8f0bc"
,
21
:
"e4d3623a60e9ae42fa0a"
,
22
:
"67045dae0983f53614d5"
,
23
:
"d2838a44b035577a6aaa"
,
24
:
"71f9cb40fde32a2c0703"
,
25
:
"2f6fa791dae86a9d73a4"
,
26
:
"e3214e5ec286ac9ac29d"
,
27
:
"bfa49ad1790566eb567f"
,
28
:
"b68c0189472d2716cb40"
,
29
:
"127dd57c9d0e0562fa91"
,
30
:
"005adcb3641399a24e06"
,
31
:
"62360625d5d42eee6d98"
,
32
:
"c58c560098e7a393147a"
,
33
:
"8e5356146e9409337574"
,
34
:
"6f68019bdabfbaa6c8eb"
,
35
:
"2393af33514b270ed48b"
,
36
:
"a30a488b8b06a7ee768c"
,
37
:
"ae86cd99c616dc3d0aca"
,
38
:
"fc264a5e508b08526306"
,
39
:
"63fe3f7ca31c52f1c978"
,
40
:
"c561e689bce0085ecdcd"
,
41
:
"a72c0d71f8ce08fee708"
,
42
:
"6ee8e267801392dd9a93"
,
43
:
"f438cf54ac55c24d121c"
,
44
:
"535cd63d6325be30488f"
,
45
:
"102eb833a1383abe9832"
,
46
:
"5728e51090517a3eb0c0"
,
47
:
"8ede648776db563c4853"
,
48
:
"2c5d2f6262363c938445"
,
49
:
"98fe8c8480c406e4c522"
,
50
:
"1c0b9750f19b308f3e33"
,
51
:
"1ffcb12bef7aaf7ed328"
,
52
:
"00b76c85ccd5d26ff2be"
,
53
:
"c8a7deec4fa774a5c0e3"
,
54
:
"3bf45e19c833af266c4a"
,
55
:
"a33764fc6c6f263bb25c"
,
56
:
"cfe18870ff7d7d5066b1"
,
57
:
"108724e1276ab8472c51"
,
58
:
"6b37a4de842bde6ed9a7"
,
59
:
"33ad9060ea3be662544f"
,
60
:
"602609a9f3f92819572d"
,
61
:
"adbe13210e6d15fd2e31"
,
62
:
"08e7c1047907b3d75f43"
,
63
:
"40a375f7d3f8da86bbf5"
,
64
:
"451882c7854af00fe8f7"
,
65
:
"0e5fee51595705feb988"
,
66
:
"30004b6b276f2556378f"
,
67
:
"5c11c02286cb0b57deb6"
,
68
:
"f1e849b834047eff32e4"
,
69
:
"baa35ca7f3c2b76eda85"
,
70
:
"ccd121b445bf9ad712d5"
,
71
:
"da9de1be8f47755304dc"
,
72
:
"929fa873933d3d588690"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
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