Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
6d4b57d3
Commit
6d4b57d3
authored
Oct 20, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
52c83f04
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
376 additions
and
330 deletions
+376
-330
index.js
src/api/school/index.js
+12
-0
assistant.vue
src/pages/school/assistant.vue
+343
-329
teacher.vue
src/pages/school/teacher.vue
+21
-1
No files found.
src/api/school/index.js
View file @
6d4b57d3
...
...
@@ -91,6 +91,18 @@ export function deleteTeacher(data) {
})
}
/**
* 重新审核审核
* @param {TId} data
*/
export
function
reApplyTeacher
(
data
)
{
return
request
({
url
:
'/user/ReApplyTeacher'
,
method
:
'post'
,
data
})
}
/**
* 获取助教分页数据
*/
...
...
src/pages/school/assistant.vue
View file @
6d4b57d3
This diff is collapsed.
Click to expand it.
src/pages/school/teacher.vue
View file @
6d4b57d3
...
...
@@ -104,6 +104,10 @@
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"重置密码"
@
click=
"resetPw(props.row.TId)"
/>
<q-btn
v-if=
"props.row.AuditStatus==3"
flat
size=
"xs"
icon=
"iconfont icon-shanchu"
color=
"negative"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"删除"
@
click=
"deleteUser(props.row.TId)"
/>
<q-btn
v-if=
"props.row.AuditStatus==3"
flat
size=
"xs"
icon=
"iconfont icon-ziyuan"
color=
"negative"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"重新申请"
@
click=
"reApplyTeacher(props.row.TId)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"addObj(props.row)"
/>
</div>
...
...
@@ -121,7 +125,8 @@
import
{
getTeacherPage
,
getSchoolDropdown
,
deleteTeacher
deleteTeacher
,
reApplyTeacher
}
from
'../../api/school/index'
import
{
resetPassword
...
...
@@ -353,6 +358,21 @@
})
});
},
//重新申请审核
reApplyTeacher
(
id
)
{
reApplyTeacher
({
TId
:
id
}).
then
(
res
=>
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据删除成功!'
,
position
:
'top'
})
this
.
getTeacher
()
})
},
changePage
(
val
)
{
this
.
msg
.
Status
=
this
.
StatusTemp
?
this
.
StatusTemp
.
value
:
'-1'
this
.
msg
.
pageIndex
=
val
;
...
...
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