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
3f48e31a
Commit
3f48e31a
authored
Nov 28, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build test
parent
72f11819
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
index.html
dev/index.html
+1
-1
0.0b35d4ef57a0df6c5020.js
dev/static/js/0.0b35d4ef57a0df6c5020.js
+20
-0
8.43ae25ddaee375b4b98b.js
dev/static/js/8.43ae25ddaee375b4b98b.js
+1
-0
manifest.8c0c0d7fb626d964ab04.js
dev/static/js/manifest.8c0c0d7fb626d964ab04.js
+1
-0
No files found.
dev/index.html
View file @
3f48e31a
<!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></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.
b5cb26ee9698748abcc9
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.44e1e5644ae24f910e52.js
></script><script
type=
text/javascript
src=
/static/js/app.ae8496f20c2d099d77e1.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></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.
8c0c0d7fb626d964ab04
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.44e1e5644ae24f910e52.js
></script><script
type=
text/javascript
src=
/static/js/app.ae8496f20c2d099d77e1.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/0.0b35d4ef57a0df6c5020.js
0 → 100644
View file @
3f48e31a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dev/static/js/8.43ae25ddaee375b4b98b.js
0 → 100644
View file @
3f48e31a
webpackJsonp
([
8
],{
JsJO
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/wang/Documents/changchang/projects/admin/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
W1M0
:
function
(
e
,
n
,
t
){
var
a
=
t
(
"giCl"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"1e0e0039"
,
a
,
!
1
,{})},
YDf3
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-col[data-v-549b36b5] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-549b36b5] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-549b36b5] {
\n
color: #5982e6;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/wang/Documents/changchang/projects/admin/src/components/user/detail.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB"
,
file
:
"detail.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-549b36b5] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-549b36b5] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-549b36b5] {
\n
color: #5982e6;
\n
}
\n
"
],
sourceRoot
:
""
}])},
elrS
:
function
(
e
,
n
,
t
){
var
a
=
t
(
"h4yV"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"0dfa79cf"
,
a
,
!
1
,{})},
giCl
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-50656c9e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-50656c9e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-50656c9e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-50656c9e] {
\
n float: right;
\
n}
\
n.text-c[data-v-50656c9e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-50656c9e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-50656c9e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-50656c9e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-50656c9e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-50656c9e] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-50656c9e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-50656c9e] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-50656c9e] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-50656c9e] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-50656c9e] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"/Users/wang/Documents/changchang/projects/admin/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-50656c9e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-50656c9e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-50656c9e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-50656c9e] {
\
n float: right;
\
n}
\
n.text-c[data-v-50656c9e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-50656c9e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-50656c9e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-50656c9e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-50656c9e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-50656c9e] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-50656c9e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-50656c9e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-50656c9e] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-50656c9e] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-50656c9e] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-50656c9e] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
],
sourceRoot
:
""
}])},
h4yV
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
jFLA
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"CCn6"
),
i
=
t
(
"kmJW"
),
l
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
userDetail
:{},
show
:
!
1
}},
methods
:{
getDetail
:
function
(){
var
e
=
this
;
this
.
dialogObj
.
id
&&
Object
(
a
.
_50
)(
this
.
dialogObj
.
id
).
then
(
function
(
n
){
e
.
userDetail
=
n
})},
initDialog
:
function
(){
this
.
getDetail
(),
this
.
show
=
this
.
dialogObj
.
show
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
loading
=!
0
,
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
o
=
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
n
;
return
t
(
"el-dialog"
,{
attrs
:{
title
:
"用户详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
n
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
n
)}}},[
t
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"头像"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
(
"img"
,{
attrs
:{
src
:
e
.
userDetail
.
avatar
}})]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"昵称"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
nickname
))])],
1
),
e
.
_v
(
" "
),
t
(
"el-row"
,[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"手机号"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
mobile
))]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"用户ID"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
user_id
))])],
1
),
e
.
_v
(
" "
),
t
(
"el-row"
,[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"生日"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
birthday
))]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"邀请类型"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_type
))])],
1
),
e
.
_v
(
" "
),
t
(
"el-row"
,[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"等级"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
level
))]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"邀请人ID"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_user_id
))])],
1
),
e
.
_v
(
" "
),
t
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"邀请码"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
invite_code
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"老师ID"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
teacher_id
)
+
"
\n
"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-row"
,[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"注册时间"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
created_at
))]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"label"
,[
e
.
_v
(
"最后登录"
)])]),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
last_login_at
))])],
1
)],
1
)};
o
.
_withStripped
=!
0
;
var
r
=
{
render
:
o
,
staticRenderFns
:[]},
s
=
r
;
var
c
=!
1
;
var
d
=
t
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
e
){
c
||
t
(
"zTsa"
)},
"data-v-549b36b5"
,
null
);
d
.
options
.
__file
=
"src/components/user/detail.vue"
;
var
A
=
d
.
exports
,
h
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
a
.
_48
)().
then
(
function
(
n
){
e
.
teacherList
=
n
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
e
=
this
,
n
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
a
.
l
)(
this
.
form
.
id
,
n
).
then
(
function
(
n
){
e
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}},
watch
:{
dialogObj
:
function
(
e
){
this
.
initPage
()}}},
p
=
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
n
;
return
t
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
n
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
n
)}}},[
t
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
n
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
n
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
n
){
return
t
(
"el-option"
,{
key
:
n
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
t
(
"el-button"
,{
on
:{
click
:
function
(
n
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)};
p
.
_withStripped
=!
0
;
var
b
=
{
render
:
p
,
staticRenderFns
:[]},
u
=
b
;
var
m
=!
1
;
var
v
=
t
(
"VU/8"
)(
h
,
u
,
!
1
,
function
(
e
){
m
||
t
(
"elrS"
)},
"data-v-3fd1c82c"
,
null
);
v
.
options
.
__file
=
"src/components/user/dialog.vue"
;
var
g
=
v
.
exports
,
f
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
nickName
:
""
,
mobile
:
""
,
level
:
""
,
userId
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
i
.
a
,
detailDialog
:
A
,
teacherDialog
:
g
},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
n
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
userId
&&
(
n
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
n
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
n
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
level
&&
(
n
.
level
=
this
.
searchFrom
.
level
),
Object
(
a
.
_51
)(
n
).
then
(
function
(
n
){
e
.
userList
=
n
.
list
,
e
.
total
=
n
.
total
})},
detail
:
function
(
e
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
id
:
e
.
user_id
}},
changeShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
bindTeacher
:
function
(
e
){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
e
.
user_id
,
teacher_id
:
e
.
teacher_id
}},
goToDetail
:
function
(
e
){
this
.
$router
.
push
(
"/userDetail/"
+
e
)},
syncUser
:
function
(){
var
e
=
this
;
this
.
loading
=!
0
,
Object
(
a
.
_46
)().
then
(
function
(
n
){
e
.
loading
=!
1
,
e
.
$message
({
showClose
:
!
0
,
message
:
"已更新"
+
n
+
"条用户数据"
,
type
:
"success"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}}},
C
=
function
(){
var
e
=
this
,
n
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
n
;
return
t
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
t
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
t
(
"el-row"
,[
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
t
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
userId
,
callback
:
function
(
n
){
e
.
$set
(
e
.
searchFrom
,
"userId"
,
n
)},
expression
:
"searchFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
t
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
nickName
,
callback
:
function
(
n
){
e
.
$set
(
e
.
searchFrom
,
"nickName"
,
n
)},
expression
:
"searchFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
t
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
n
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
n
)},
expression
:
"searchFrom.mobile"
}})],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"等级"
}},[
t
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
level
,
callback
:
function
(
n
){
e
.
$set
(
e
.
searchFrom
,
"level"
,
n
)},
expression
:
"searchFrom.level"
}})],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"el-col"
,{
attrs
:{
span
:
4
}},[
t
(
"el-form-item"
,[
t
(
"div"
,{
staticClass
:
"flexRow"
},[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
syncUser
}},[
e
.
_v
(
"同步最新数据"
)])],
1
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
t
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
t
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
n
){
return
[
t
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
n
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
n
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
n
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
}}),
e
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登录时间"
}}),
e
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
n
){
return
[
t
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
goToDetail
(
n
.
row
.
user_id
)}}},[
e
.
_v
(
"
\n
查看详情
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
t
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
t
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
t
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
getUser
}})],
1
)};
C
.
_withStripped
=!
0
;
var
_
=
{
render
:
C
,
staticRenderFns
:[]},
x
=
_
;
var
w
=!
1
;
var
B
=
t
(
"VU/8"
)(
f
,
x
,
!
1
,
function
(
e
){
w
||
(
t
(
"W1M0"
),
t
(
"nHXW"
))},
"data-v-50656c9e"
,
null
);
B
.
options
.
__file
=
"src/components/user/index.vue"
;
n
.
default
=
B
.
exports
},
nHXW
:
function
(
e
,
n
,
t
){
var
a
=
t
(
"JsJO"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"b4b9508c"
,
a
,
!
1
,{})},
zTsa
:
function
(
e
,
n
,
t
){
var
a
=
t
(
"YDf3"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"c90a816c"
,
a
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.8c0c0d7fb626d964ab04.js
0 → 100644
View file @
3f48e31a
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
n
,
r
){
for
(
var
t
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
o
=
a
[
i
],
d
[
o
]
&&
u
.
push
(
d
[
o
][
0
]),
d
[
o
]
=
0
;
for
(
t
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)
&&
(
e
[
t
]
=
n
[
t
]);
for
(
c
&&
c
(
a
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
b
=
f
(
f
.
s
=
r
[
i
]);
return
b
};
var
a
=
{},
d
=
{
42
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
f
.
nc
&&
r
.
setAttribute
(
"nonce"
,
f
.
nc
),
r
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"0b35d4ef57a0df6c5020"
,
1
:
"79d653611672b84171dc"
,
2
:
"405e3eedd47ec8c1dbdb"
,
3
:
"5e6dfcdb626af1d44711"
,
4
:
"40caf9c2df8c2c0701f2"
,
5
:
"018cd864032a99297e0c"
,
6
:
"8ae5ff1d94419318e421"
,
7
:
"84d93d8a9c0db7bbacf2"
,
8
:
"43ae25ddaee375b4b98b"
,
9
:
"c5458899c01865604a29"
,
10
:
"2f90afa4e64b30390723"
,
11
:
"3a11f83a8e31cfb379d1"
,
12
:
"8c527ea2400bac5b37f1"
,
13
:
"244d6e7ccc078aa9019e"
,
14
:
"a7692624f3cbf2cd8c0a"
,
15
:
"25ef35cf34dab63af7fa"
,
16
:
"5d4e60ff8bc9d6b36150"
,
17
:
"376848b1fab17e438c60"
,
18
:
"2406ba084dc3b83008f9"
,
19
:
"bec58c3c3bd1114d6802"
,
20
:
"4f67bd10e9a918de2dcd"
,
21
:
"c4201a73bb5d2c7e167f"
,
22
:
"8bfc215d42d7d4571997"
,
23
:
"0bf409300aedc52ca01d"
,
24
:
"0d2fe1cf653f6e6a941f"
,
25
:
"3c1031417e6606f50138"
,
26
:
"64df233b2053bdbf13ad"
,
27
:
"6a5687ba2806e76500c3"
,
28
:
"6a363d08b1a66bf7601a"
,
29
:
"0a0b966336d5803bcdc9"
,
30
:
"26e03ebcb89bc31d933a"
,
31
:
"8507d45f5acbf05799e9"
,
32
:
"8d040664278828ebc950"
,
33
:
"5c88139e7178e7f8c25a"
,
34
:
"6fc7fc2d174c3e5b5a38"
,
35
:
"51ad00c7f07231382d52"
,
36
:
"27c6c0c470970b8a6dc6"
,
37
:
"d67b0ff5c894c2d26063"
,
38
:
"7dad40866dd65775010b"
,
39
:
"660911ddc718c0426919"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
o
,
12
e4
);
function
o
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
o
,
n
.
appendChild
(
r
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"/"
,
f
.
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