|
@@ -1632,12 +1632,23 @@
|
|
|
|
|
|
axios.post("{{route('recruit.save_sign_up')}}",Qs.stringify(this.user)).then(response => {
|
|
|
if(response.data.status){
|
|
|
- this.$alert(response.data.msg, '提交成功', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- callback: action => {
|
|
|
- window.location.reload();
|
|
|
- }
|
|
|
- });
|
|
|
+ console.log(response.data.is_html == 1)
|
|
|
+ if(response.data.is_html == 1){
|
|
|
+ this.$alert(response.data.msg, '提交成功', {
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: action => {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$alert(response.data.msg, '提交成功', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: action => {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}else{
|
|
|
this.$message.error(response.data.msg);
|
|
|
this.loading.close();
|
|
@@ -2112,6 +2123,7 @@
|
|
|
window.location.reload();
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
}else{
|
|
|
this.$message.error(response.data.msg);
|
|
|
this.loading.close();
|
|
@@ -2221,12 +2233,23 @@
|
|
|
|
|
|
axios.post("{{route('recruit.save_sign_up')}}",Qs.stringify(this.user)).then(response => {
|
|
|
if(response.data.status){
|
|
|
- this.$alert(response.data.msg, '提交成功', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- callback: action => {
|
|
|
- window.location.reload();
|
|
|
- }
|
|
|
- });
|
|
|
+ if(response.data.is_html == 1){
|
|
|
+ this.$alert(response.data.msg, '提交成功', {
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: action => {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ }else{
|
|
|
+ this.$alert(response.data.msg, '提交成功', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: action => {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}else{
|
|
|
this.$message.error(response.data.msg);
|
|
|
this.loading.close();
|