手机号邮箱验证

This commit is contained in:
wangxuemei
2024-10-16 15:23:38 +08:00
parent ac6bd15964
commit 5b4cc0a975
9 changed files with 80 additions and 58 deletions

View File

@@ -367,6 +367,7 @@ import { teacherUpload } from "../../api/Teaching";
import { getCookieForName } from "@/api/method";
// import {getProjSt} from "../../api/indexProjStu";
import AddContent from "../../components/project/AddContent.vue"
import boe from '@/assets/boe.jpg'
export default {
name: "InsideLecturer",
components: {
@@ -416,7 +417,7 @@ export default {
certStatus: 0,//认证状态
defaultteachingTime: null,
teacherType:1,
photo: 'https://p0.itc.cn/q_70/images01/20211013/f45d91616a364d6ea9c42a8db69734aa.png'
photo: boe
},
searchParam: {
teacherType:1,
@@ -838,7 +839,7 @@ export default {
cancel()
state.teacherdialog = true;
state.teacherdialogtitle = '新增讲师'
state.formParam.photo ='https://p0.itc.cn/q_70/images01/20211013/f45d91616a364d6ea9c42a8db69734aa.png'
state.formParam.photo =boe
state.formParam.status = '1'
state.vf = true
}
@@ -941,7 +942,7 @@ export default {
//确认删除
const closeDeleteTeacher = () => {
//调用删除接口
deleteInTeacher({id:state.delTeacherId}).then((res) => {
deleteInTeacher(state.delTeacherId).then((res) => {
if (res.data.code == 200) {
message.success("删除成功");
state.deleteInTeacherdialog = false
@@ -1066,7 +1067,7 @@ export default {
state.formParam.description = state.formParam.description === null ? '' : state.formParam.description
state.formParam.workExp0erience = state.formParam.workExperience === null ? '' : state.formParam.workExperience
state.formParam.courses = state.formParam.courses === null ? '' : state.formParam.courses
state.formParam.photo = state.formParam.photo === null ? 'https://p0.itc.cn/q_70/images01/20211013/f45d91616a364d6ea9c42a8db69734aa.png' : state.formParam.photo
state.formParam.photo = state.formParam.photo === null ? boe : state.formParam.photo
}
@@ -1496,7 +1497,7 @@ export default {
}
.tableBox {
padding-bottom: 20px;
 margin: 20px 38px 30px;
margin: 20px 38px 30px;
::v-deep .ant-select-dropdown{
display: inline-block;
}