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
72f11819
Commit
72f11819
authored
Nov 28, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
班级列表用户备注页面调整
parent
27860f1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
userList.vue
src/components/class/userList.vue
+15
-5
index.vue
src/components/user/index.vue
+0
-4
No files found.
src/components/class/userList.vue
View file @
72f11819
...
...
@@ -186,11 +186,16 @@
{{
scope
.
row
.
is_add_teacher
===
0
?
'否'
:
'是'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"480"
>
<el-table-column
label=
"意向等级"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"320"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editComment(scope.row.id)"
v-if=
"!$store.state.readonly"
>
备注
</el-button>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editPrivilege(scope.row)"
v-if=
"!$store.state.readonly"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"onGetUserDescList(scope.row)"
v-if=
"!$store.state.readonly"
>
查看备注
</el-button>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editPrivilege(scope.row)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"onGetUserDescList(scope.row)"
>
备注
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"userLook(scope.row)"
v-if=
"!$store.state.readonly"
>
看课情况
</el-button>
<el-button
type=
"danger"
size=
"mini"
@
click=
"onDel(scope.row)"
v-if=
"$store.state.deletePermission && !$store.state.readonly"
>
删除
</el-button>
</
template
>
...
...
@@ -369,6 +374,11 @@
<
/span
>
<
/el-dialog
>
<
el
-
dialog
:
modal
=
"false"
:
visible
.
sync
=
"descDialog.show"
title
=
"备注列表"
>
<
el
-
form
label
-
width
=
"90px"
>
<
el
-
form
-
item
>
<
el
-
button
style
=
"float: right"
type
=
"primary"
plain
@
click
=
"editComment(descDialog.id)"
>
添加备注
<
/el-button
>
<
/el-form-item
>
<
/el-form
>
<
el
-
table
:
data
=
"descDialog.descList"
style
=
"width: 100%"
>
...
...
@@ -773,7 +783,7 @@
type
:
'success'
,
message
:
'编辑备注成功'
}
)
this
.
initPage
();
this
.
getUserDescList
();
}
);
}
)
}
,
...
...
src/components/user/index.vue
View file @
72f11819
...
...
@@ -46,10 +46,6 @@
prop=
"mobile"
label=
"手机号"
>
</el-table-column>
<el-table-column
prop=
"level"
label=
"等级"
>
</el-table-column>
<el-table-column
prop=
"created_at"
label=
"注册时间"
>
...
...
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