mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
新员工转正重新报名切换请求方式
This commit is contained in:
@@ -57,8 +57,8 @@ const signUpBpmProjectNow = function(pid){
|
||||
* pid
|
||||
* add by zhengsongbo on 2025-07-13
|
||||
*/
|
||||
const signUpBpmProjectAgain = function(data){
|
||||
return ajax.postJson(baseURL,'/stu/project/signUpBpmProjectAgain',data);
|
||||
const signUpBpmProjectAgain = function(pid){
|
||||
return ajax.get(baseURL,`/stu/project/signUpBpmProjectAgain?pid=${pid}`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -245,7 +245,13 @@ export default {
|
||||
signUpNow(){
|
||||
const pid = this.studentInfo.projectId;
|
||||
apiManage.signUpBpmProjectNow(pid).then(res=>{
|
||||
this.projectDialogVisible = false;
|
||||
if (res.status == 200){
|
||||
this.projectDialogVisible = false;
|
||||
this.$message.success('报名成功')
|
||||
}else {
|
||||
this.projectDialogVisible = false;
|
||||
this.$message.error('报名失败')
|
||||
}
|
||||
})
|
||||
},
|
||||
//BPM项目:重新报名
|
||||
|
||||
Reference in New Issue
Block a user