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
d7af38a4
Commit
d7af38a4
authored
Aug 28, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同上
parent
b0175a7a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
14 deletions
+38
-14
index.vue
src/components/brokerage/index.vue
+12
-2
index.vue
src/components/callBack/index.vue
+6
-2
teacherDesc.vue
src/components/framework/teacherDesc.vue
+4
-7
index.vue
src/components/user/index.vue
+11
-0
index.vue
src/components/userDetail/index.vue
+5
-3
No files found.
src/components/brokerage/index.vue
View file @
d7af38a4
...
@@ -23,12 +23,16 @@
...
@@ -23,12 +23,16 @@
<el-input
<el-input
style=
"width: 46%;"
style=
"width: 46%;"
type=
"number"
type=
"number"
v-model
.
number=
"scope.row.min_money"
></el-input>
v-model
.
number=
"scope.row.min_money"
>
<template
v-if=
"item2.isMoneyPercent"
slot=
"append"
>
%
</
template
>
</el-input>
<div
style=
"display: flex; align-items: center; justify-content: center; width: 8%;"
>
~
</div>
<div
style=
"display: flex; align-items: center; justify-content: center; width: 8%;"
>
~
</div>
<el-input
<el-input
style=
"width: 46%;"
style=
"width: 46%;"
type=
"number"
type=
"number"
v-model
.
number=
"scope.row.max_money"
></el-input>
v-model
.
number=
"scope.row.max_money"
>
<
template
v-if=
"item2.isMoneyPercent"
slot=
"append"
>
%
</
template
>
</el-input>
</div>
</div>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -86,18 +90,21 @@
...
@@ -86,18 +90,21 @@
value
:
'1'
,
value
:
'1'
,
children
:
[{
children
:
[{
label
:
'试听课来源-转年课业绩提点配置'
,
label
:
'试听课来源-转年课业绩提点配置'
,
isMoneyPercent
:
false
,
money
:
'业绩区间'
,
money
:
'业绩区间'
,
scale
:
'提点比例'
,
scale
:
'提点比例'
,
value
:
'1'
,
value
:
'1'
,
data
:
[]
data
:
[]
},
{
},
{
label
:
'月课、季课来源-转年课业绩提点配置'
,
label
:
'月课、季课来源-转年课业绩提点配置'
,
isMoneyPercent
:
false
,
money
:
'业绩区间'
,
money
:
'业绩区间'
,
scale
:
'提点比例'
,
scale
:
'提点比例'
,
value
:
'2'
,
value
:
'2'
,
data
:
[]
data
:
[]
},
{
},
{
label
:
'年课来源 - 转两年课业绩提点配置'
,
label
:
'年课来源 - 转两年课业绩提点配置'
,
isMoneyPercent
:
false
,
money
:
'业绩区间'
,
money
:
'业绩区间'
,
scale
:
'提点比例'
,
scale
:
'提点比例'
,
value
:
'3'
,
value
:
'3'
,
...
@@ -108,18 +115,21 @@
...
@@ -108,18 +115,21 @@
value
:
'2'
,
value
:
'2'
,
children
:
[{
children
:
[{
label
:
'主管业绩提点'
,
label
:
'主管业绩提点'
,
isMoneyPercent
:
true
,
// 是否显示%
money
:
'业绩完成率'
,
money
:
'业绩完成率'
,
scale
:
'提点比例'
,
scale
:
'提点比例'
,
value
:
'4'
,
value
:
'4'
,
data
:
[]
data
:
[]
},
{
},
{
label
:
'主管转化率系数(试听课)'
,
label
:
'主管转化率系数(试听课)'
,
isMoneyPercent
:
true
,
money
:
'团队转化率'
,
money
:
'团队转化率'
,
scale
:
'转化系数'
,
scale
:
'转化系数'
,
value
:
'5'
,
value
:
'5'
,
data
:
[]
data
:
[]
},
{
},
{
label
:
'主管转化率系数(月课、季课)'
,
label
:
'主管转化率系数(月课、季课)'
,
isMoneyPercent
:
true
,
money
:
'团队转化率'
,
money
:
'团队转化率'
,
scale
:
'转化系数'
,
scale
:
'转化系数'
,
value
:
'6'
,
value
:
'6'
,
...
...
src/components/callBack/index.vue
View file @
d7af38a4
...
@@ -186,8 +186,7 @@
...
@@ -186,8 +186,7 @@
props
:
{
props
:
{
callbackObj
:
{
callbackObj
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
default
:
()
=>
{}
}
},
},
callbackAdd
:
{
callbackAdd
:
{
type
:
Boolean
,
type
:
Boolean
,
...
@@ -268,6 +267,11 @@
...
@@ -268,6 +267,11 @@
this
.
callbackEdit
.
mobile
.
origin
=
this
.
user
.
relation_mobile
;
this
.
callbackEdit
.
mobile
.
origin
=
this
.
user
.
relation_mobile
;
this
.
callbackEdit
.
wechat
.
value
=
this
.
user
.
wx_number
;
this
.
callbackEdit
.
wechat
.
value
=
this
.
user
.
wx_number
;
this
.
callbackEdit
.
wechat
.
origin
=
this
.
user
.
wx_number
;
this
.
callbackEdit
.
wechat
.
origin
=
this
.
user
.
wx_number
;
},
'callbackObj.timestamp'
()
{
this
.
user
.
user_id
=
this
.
callbackObj
.
user_id
;
this
.
getUser
();
this
.
getTag
();
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/components/framework/teacherDesc.vue
View file @
d7af38a4
...
@@ -98,8 +98,9 @@
...
@@ -98,8 +98,9 @@
data
(){
data
(){
return
{
return
{
callbackObj
:
{
callbackObj
:
{
id
:
''
,
user_id
:
''
,
detail
:
{}
teacher_id
:
''
,
timestamp
:
''
},
},
descDialog
:{
descDialog
:{
show
:
false
,
show
:
false
,
...
@@ -144,11 +145,7 @@
...
@@ -144,11 +145,7 @@
// this.getUserDescList();
// this.getUserDescList();
this
.
callbackObj
.
user_id
=
data
.
user_id
;
this
.
callbackObj
.
user_id
=
data
.
user_id
;
this
.
callbackObj
.
teacher_id
=
this
.
teacherId
;
this
.
callbackObj
.
teacher_id
=
this
.
teacherId
;
this
.
callbackObj
.
detail
.
birthday
=
data
.
birthday
;
this
.
callbackObj
.
timestamp
=
(
new
Date
()).
getTime
();
this
.
callbackObj
.
detail
.
user_id
=
data
.
user_id
;
this
.
callbackObj
.
detail
.
nickname
=
data
.
nickname
;
this
.
callbackObj
.
detail
.
mobile
=
data
.
mobile
;
this
.
callbackObj
.
detail
.
baby_name
=
data
.
baby_name
;
},
},
getUserDescList
(){
getUserDescList
(){
getUserDescListApi
(
this
.
row
.
id
,{
limit
:
1000
}).
then
(
res
=>
{
getUserDescListApi
(
this
.
row
.
id
,{
limit
:
1000
}).
then
(
res
=>
{
...
...
src/components/user/index.vue
View file @
d7af38a4
...
@@ -167,6 +167,17 @@
...
@@ -167,6 +167,17 @@
userDetail
,
userDetail
,
teacherDialog
teacherDialog
},
},
watch
:
{
$route
(){
if
(
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
type
==
'detail'
)
{
// 详情页
this
.
inDetail
=
true
}
else
{
// 列表页
this
.
inDetail
=
false
;
this
.
getUser
();
}
this
.
$route
.
query
.
id
?
this
.
searchFrom
.
userId
=
this
.
$route
.
query
.
id
:
''
;
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
type
==
'detail'
)
{
// 详情页
if
(
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
type
==
'detail'
)
{
// 详情页
this
.
inDetail
=
true
this
.
inDetail
=
true
...
...
src/components/userDetail/index.vue
View file @
d7af38a4
...
@@ -548,8 +548,9 @@
...
@@ -548,8 +548,9 @@
data
()
{
data
()
{
return
{
return
{
callbackObj
:
{
callbackObj
:
{
id
:
''
,
user_id
:
''
,
detail
:
{
}
teacher_id
:
''
,
timestamp
:
''
}
,
}
,
userList
:
[],
userList
:
[],
yunjiList
:
[],
yunjiList
:
[],
...
@@ -651,6 +652,7 @@
...
@@ -651,6 +652,7 @@
this
.
callbackObj
.
user_id
=
this
.
id
;
this
.
callbackObj
.
user_id
=
this
.
id
;
// this.callbackObj.teacher_id = this.parentDetail.teacher_id ? this.parentDetail.teacher_id : '';
// this.callbackObj.teacher_id = this.parentDetail.teacher_id ? this.parentDetail.teacher_id : '';
this
.
callbackObj
.
teacher_id
=
this
.
parentDetail
&&
this
.
parentDetail
.
teacher_id
?
this
.
parentDetail
.
teacher_id
:
(
this
.
$route
.
query
.
teacherid
?
this
.
$route
.
query
.
teacherid
:
''
);
this
.
callbackObj
.
teacher_id
=
this
.
parentDetail
&&
this
.
parentDetail
.
teacher_id
?
this
.
parentDetail
.
teacher_id
:
(
this
.
$route
.
query
.
teacherid
?
this
.
$route
.
query
.
teacherid
:
''
);
this
.
callbackObj
.
timestamp
=
(
new
Date
()).
getTime
();
}
,
}
,
mounted
()
{
mounted
()
{
this
.
getDetail
();
this
.
getDetail
();
...
@@ -873,7 +875,7 @@
...
@@ -873,7 +875,7 @@
if
(
!
this
.
id
)
return
;
if
(
!
this
.
id
)
return
;
getUserDetailApi
(
this
.
id
).
then
(
res
=>
{
getUserDetailApi
(
this
.
id
).
then
(
res
=>
{
this
.
detail
=
res
;
this
.
detail
=
res
;
this
.
callbackObj
.
detail
=
res
;
// 用户的所有数据
//
this.callbackObj.detail = res; // 用户的所有数据
if
(
res
.
periods_list
)
{
if
(
res
.
periods_list
)
{
this
.
periodList
=
res
.
periods_list
this
.
periodList
=
res
.
periods_list
}
}
...
...
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