Commit 6d4b57d3 authored by 黄奎's avatar 黄奎

页面修改

parent 52c83f04
...@@ -91,6 +91,18 @@ export function deleteTeacher(data) { ...@@ -91,6 +91,18 @@ export function deleteTeacher(data) {
}) })
} }
/**
* 重新审核审核
* @param {TId} data
*/
export function reApplyTeacher(data) {
return request({
url: '/user/ReApplyTeacher',
method: 'post',
data
})
}
/** /**
* 获取助教分页数据 * 获取助教分页数据
*/ */
......
This diff is collapsed.
...@@ -104,6 +104,10 @@ ...@@ -104,6 +104,10 @@
style="font-weight:400" class="q-mr-xs" label="重置密码" @click="resetPw(props.row.TId)" /> 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" <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)" /> 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="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="addObj(props.row)" /> @click="addObj(props.row)" />
</div> </div>
...@@ -121,7 +125,8 @@ ...@@ -121,7 +125,8 @@
import { import {
getTeacherPage, getTeacherPage,
getSchoolDropdown, getSchoolDropdown,
deleteTeacher deleteTeacher,
reApplyTeacher
} from '../../api/school/index' } from '../../api/school/index'
import { import {
resetPassword resetPassword
...@@ -353,6 +358,21 @@ ...@@ -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) { changePage(val) {
this.msg.Status = this.StatusTemp ? this.StatusTemp.value : '-1' this.msg.Status = this.StatusTemp ? this.StatusTemp.value : '-1'
this.msg.pageIndex = val; this.msg.pageIndex = val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment