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
62325f43
Commit
62325f43
authored
Feb 15, 2019
by
青山
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老师看板处理
parent
b64e1b3b
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
81 additions
and
27 deletions
+81
-27
index.html
dist/index.html
+1
-1
app.649e42b8f804356b3d1365999c021398.css
dist/static/css/app.649e42b8f804356b3d1365999c021398.css
+1
-0
4.4ce80f0f2c8a4090cc63.js
dist/static/js/4.4ce80f0f2c8a4090cc63.js
+1
-0
9.dae3b2e35c23ba4f05e7.js
dist/static/js/9.dae3b2e35c23ba4f05e7.js
+1
-0
manifest.6eb1decd68285a7eb44c.js
dist/static/js/manifest.6eb1decd68285a7eb44c.js
+1
-0
task.vue
src/components/teacherDetail/task.vue
+76
-26
No files found.
dist/index.html
View file @
62325f43
<!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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
e906c5391d6de58ddcf0b72c17e5000d.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.3862ea38191cdaa07e25
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.df24fa2fd23f8236e4fa.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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
649e42b8f804356b3d1365999c021398.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.6eb1decd68285a7eb44c
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.df24fa2fd23f8236e4fa.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.649e42b8f804356b3d1365999c021398.css
0 → 100644
View file @
62325f43
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.4ce80f0f2c8a4090cc63.js
0 → 100644
View file @
62325f43
This diff is collapsed.
Click to expand it.
dist/static/js/9.dae3b2e35c23ba4f05e7.js
0 → 100644
View file @
62325f43
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.6eb1decd68285a7eb44c.js
0 → 100644
View file @
62325f43
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
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
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
54
:
0
};
function
b
(
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
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
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
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
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
:
"506fa2b14a5522c8803a"
,
1
:
"42cbc03d6faf70a2e8ef"
,
2
:
"bcb9b993b0fc85cc2071"
,
3
:
"978935e0bda98b392cfa"
,
4
:
"4ce80f0f2c8a4090cc63"
,
5
:
"464ed5fd5adabf3d5dd9"
,
6
:
"27ac3a41ca868a2f60c0"
,
7
:
"69cc8a98c5f0ac765ad5"
,
8
:
"5bfec4f4f3adc882e93b"
,
9
:
"dae3b2e35c23ba4f05e7"
,
10
:
"b105505eddc149fac446"
,
11
:
"adca801d9734a499fb3a"
,
12
:
"1f3bf2ed2558be54bb6e"
,
13
:
"0c87fb3f2d3fc4209d1d"
,
14
:
"8c6f084e6255fbeded32"
,
15
:
"7360d785ee332f5a4bb8"
,
16
:
"377ce2b3eca0c3a88598"
,
17
:
"3224d210892d7472bd82"
,
18
:
"d455bc3581f90f4b4674"
,
19
:
"f8f6e23cc25ecd049406"
,
20
:
"d702776222bb60d119b5"
,
21
:
"689f703b3c15a2697013"
,
22
:
"418733e8b5a6e2078853"
,
23
:
"ea6a32f448a1728618e4"
,
24
:
"2a4f37b615db36ab01ca"
,
25
:
"fd6fb9d57686c26eb406"
,
26
:
"ce23bfb9282a66c186c4"
,
27
:
"bbf8405accf1afcd5be3"
,
28
:
"51876df51b65ae4e738d"
,
29
:
"9aaccfea2f3a9d87e37d"
,
30
:
"04c501919866be690b94"
,
31
:
"46eebc100880dfe310f6"
,
32
:
"779e4216e3e4edea5075"
,
33
:
"52a539c10795e4c0f6bf"
,
34
:
"3f43f058bf9441d0d79f"
,
35
:
"7114402fbfabd628cbc6"
,
36
:
"9da1921ac78c17085d92"
,
37
:
"8de1ea96be2623bf3bf2"
,
38
:
"7c59e80aba2b32766f43"
,
39
:
"7a6c32b0548aeac36839"
,
40
:
"c3735c84cc3653308aba"
,
41
:
"c68b38e419700f2360f2"
,
42
:
"85ce62806fc71b22c56d"
,
43
:
"d5a712a5421c45f69bfd"
,
44
:
"f343e8e6438ed965f1ba"
,
45
:
"be6732a3a6b943737dc6"
,
46
:
"ea2e9174c92773a63bda"
,
47
:
"9cf806e0d226649b8d50"
,
48
:
"e9655018a4558e243f17"
,
49
:
"4a832ae5d1ba782181e7"
,
50
:
"dfc498acec06f4904e0d"
,
51
:
"5bdb0d5bedd939cc3016"
}[
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
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/teacherDetail/task.vue
View file @
62325f43
...
...
@@ -9,16 +9,16 @@
<el-table
border
:data=
"task1List"
align=
"center"
:header-cell-style=
"
{background:'#e4eff7'}">
<el-table-column
prop=
"cur_date"
label=
"时间"
align=
"center"
/>
<el-table-column
prop=
"total_add_teacher_num"
label=
"当天进班人数"
align=
"center"
/>
<el-table-column
class-name=
"hightLight"
prop=
"need_add_teacher_num"
label=
"需加好友人数"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"mini"
style=
"font-size: 20px"
@
click=
"showTask1Detail(scope.row)"
>
{{
scope
.
row
.
need_add_teacher_num
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"done_num"
label=
"未通过人数"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTask1Detail(scope.row,1)"
>
{{
scope
.
row
.
done_num
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
class-name=
"hightLight"
prop=
"need_add_teacher_num"
label=
"需加好友人数"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"mini"
style=
"font-size: 20px"
@
click=
"showTask1Detail(scope.row)"
>
{{
scope
.
row
.
need_add_teacher_num
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"add_rate"
label=
"完成情况"
align=
"center"
width=
"250"
>
<
template
slot-scope=
"scope"
>
<div><label
style=
"width: 90px;display: inline-block;text-align: right"
>
好友通过率:
</label>
...
...
@@ -231,7 +231,7 @@
</div>
<div
class=
"over_work"
style=
"background-color: #fffbe4"
>
<div
class=
"header bg-h"
>
今日需沟通用户
</div>
<el-button
size=
"mini"
type=
"text"
style=
"font-size: 30px;text-decoration:underline"
@
click=
"
task5Detail.show=true
"
>
{{task5Detail.total}}
</el-button>
<el-button
size=
"mini"
type=
"text"
style=
"font-size: 30px;text-decoration:underline"
@
click=
"
showTask5Detail()
"
>
{{task5Detail.total}}
</el-button>
</div>
<div
class=
"recall_process"
>
<div
class=
"header bg-h"
>
完成情况
</div>
...
...
@@ -315,7 +315,7 @@
<br>
Tel:
{{
scope
.
row
.
mobile
}}
</
template
>
</el-table-column>
<el-table-column
<!--
<el-table-column
label="看课权限">
<template slot-scope="scope">
<el-select v-model="scope.row.is_view_course" size="mini" @change="changeView(scope.row)">
...
...
@@ -328,13 +328,17 @@
</el-table-column>
<el-table-column
label="进班时间" min-width="200" sortable prop="created_at" >
</el-table-column>
</el-table-column>
-->
<el-table-column
min-width=
"160"
label=
"沟通情况"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"editDesc(scope.row)"
>
{{
scope
.
row
.
desc
}}
<span
v-if=
"scope.row.desc !== ''"
>
{{
scope
.
row
.
desc
}}
</span>
<span
style=
'color:red'
v-if=
"scope.row.desc == ''"
>
今日未沟通
</span>
</el-button>
<br>
<el-button
size=
"mini"
@
click=
"editComment(scope.row.id,true)"
>
...
...
@@ -342,7 +346,7 @@
</el-button>
</
template
>
</el-table-column>
<el-table-column
<
!--<
el-table-column
label="是否添加老师" min-width="155" prop="is_add_teacher">
<template slot-scope="scope">
<el-select v-model="scope.row.is_add_teacher" size="mini" @change="changeAddTeacher(scope.row)">
...
...
@@ -360,7 +364,7 @@
</el-option>
</el-select>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"意向等级"
min-width=
"95"
prop=
"weight"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -400,7 +404,10 @@
label=
"沟通情况"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"editDesc(scope.row)"
>
{{
scope
.
row
.
desc
}}
<br>
{{
scope
.
row
.
reply
}}
<span
v-if=
"scope.row.desc !== ''"
>
{{
scope
.
row
.
desc
}}
</span>
<span
style=
'color:red'
v-if=
"scope.row.desc == ''"
>
今日未沟通
</span>
</el-button>
<br>
<el-button
size=
"mini"
@
click=
"editComment(scope.row.id,true)"
>
...
...
@@ -443,7 +450,10 @@
label=
"沟通情况"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"editDesc(scope.row)"
>
{{
scope
.
row
.
desc
}}
<span
v-if=
"scope.row.desc !== ''"
>
{{
scope
.
row
.
desc
}}
</span>
<span
style=
'color:red'
v-if=
"scope.row.desc == ''"
>
今日未沟通
</span>
</el-button>
<br>
<el-button
size=
"mini"
@
click=
"editComment(scope.row.id,true)"
>
...
...
@@ -667,7 +677,8 @@
cur_date
:
''
,
title
:
''
,
type
:
0
,
}
}
,
dialogType
:
0
}
}
,
methods
:{
...
...
@@ -709,6 +720,7 @@
this
.
task3Detail
.
is_watch
=
is_watch
;
this
.
task3Detail
.
cur_date
=
cur_date
;
this
.
task3Detail
.
type
=
1
;
this
.
dialogType
=
3
;
this
.
task3Detail
.
title
=
`【${data.periods_id
}
】${data.title
}
${is_true === 1 ? '已' : '未'
}
${is_watch === 1 ? '看课' : '打卡'
}
学员`
getWatchUserApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
...
...
@@ -721,8 +733,9 @@
this
.
task2Detail
.
loading
=
true
;
this
.
task2Detail
.
periods_id
=
data
.
periods_id
;
this
.
task2Detail
.
type
=
2
;
this
.
task2Detail
.
title
=
`${data.title
}
截止今日全勤学员`
this
.
task2Detail
.
type
=
2
;
this
.
task2Detail
.
title
=
`${data.title
}
截止今日全勤学员`
;
this
.
dialogType
=
2
;
getOverWatchListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
this
.
task2Detail
.
loading
=
false
;
this
.
task2Detail
.
list
=
res
...
...
@@ -736,6 +749,7 @@
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
type
=
3
;
this
.
task3Detail
.
title
=
`${data.title
}
今日需要招回学员`
this
.
dialogType
=
3
;
getRecallListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
``
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
list
=
res
...
...
@@ -753,14 +767,29 @@
message
:
'添加沟通话术成功'
}
);
// this.getUserDescList();
this
.
refDesc1
();
switch
(
this
.
dialogType
)
{
case
1
:
this
.
refDesc1
();
break
;
case
2
:
this
.
refDesc2
()
break
;
case
3
:
this
.
refDesc3
()
break
;
case
4
:
this
.
getTask5
()
break
;
}
/* this.refDesc1();
this.refDesc2();
if(this.task3Detail.list && this.task3Detail.list.length > 0){
this.refDesc3();
}
if((this.descDialog.type && this.descDialog.type === 5) || flag){
this.getTask5()
}
}
*/
}
);
}
)
}
,
...
...
@@ -783,6 +812,7 @@
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
list
=
res
}
)
}
else
if
(
this
.
task3Detail
.
type
===
3
)
{
getRecallListApi
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{
}
).
then
(
res
=>
{
...
...
@@ -791,8 +821,15 @@
this
.
task3Detail
.
list
=
res
}
)
}
task3Api
(
this
.
id
).
then
(
res
=>
{
this
.
task3List
=
res
}
);
}
,
showTask5Detail
(){
this
.
task5Detail
.
show
=
true
;
this
.
dialogType
=
4
;
}
,
showTask2Detail
(
data
){
this
.
task2Detail
=
{
show
:
true
,
...
...
@@ -800,6 +837,7 @@
title
:
'意向等级为'
+
data
.
weight
+
'的用户列表'
,
weight
:
data
.
weight
}
this
.
task2Detail
.
type
=
1
;
}
,
showTask1Detail
(
data
,
type
){
this
.
task1Detail
=
{
...
...
@@ -808,6 +846,7 @@
title
:
type
?
data
.
cur_date
+
' 未通过用户列表'
:
data
.
cur_date
+
' 待加好友用户列表'
,
cur_date
:
data
.
cur_date
}
this
.
dialogType
=
1
}
,
refDesc1
(){
task1Api
(
this
.
id
).
then
(
res
=>
{
...
...
@@ -820,14 +859,25 @@
}
);
}
,
refDesc2
(){
task2Api
(
this
.
id
).
then
(
res
=>
{
this
.
task2List
=
res
;
res
.
forEach
(
i
=>
{
if
(
i
.
weight
===
this
.
task2Detail
.
weight
){
this
.
task2Detail
.
list
=
i
.
detail
}
}
)
}
);
if
(
this
.
task2Detail
.
type
==
1
){
task2Api
(
this
.
id
).
then
(
res
=>
{
this
.
task2List
=
res
;
res
.
forEach
(
i
=>
{
if
(
i
.
weight
===
this
.
task2Detail
.
weight
){
this
.
task2Detail
.
list
=
i
.
detail
}
}
)
}
);
}
else
if
(
this
.
task2Detail
.
type
==
2
)
{
getOverWatchListApi
(
this
.
task2Detail
.
periods_id
,
this
.
id
,{
}
).
then
(
res
=>
{
this
.
task2Detail
.
loading
=
false
;
this
.
task2Detail
.
list
=
res
}
)
task3Api
(
this
.
id
).
then
(
res
=>
{
this
.
task3List
=
res
}
);
}
}
,
changeAddTeacher
(
data
){
changeAddTeacherApi
(
data
.
id
,
data
.
is_add_teacher
).
then
(()
=>
{
...
...
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