|
@@ -1025,6 +1025,29 @@
|
|
|
</td>
|
|
|
</tr>
|
|
|
@endif
|
|
|
+ @if(in_array('chengnuoshu',$module))
|
|
|
+ <tr style="height:52px;page-break-inside:avoid">
|
|
|
+ <td valign="center" >
|
|
|
+ 诚信承诺书
|
|
|
+ </td>
|
|
|
+ <td valign="center" colspan="11">
|
|
|
+ <div style="padding: 10px 0">
|
|
|
+ <el-upload
|
|
|
+ action="{{ route('recruit.api.upload') }}"
|
|
|
+ list-type="picture-card"
|
|
|
+ :data="{_token:'{{csrf_token()}}'}"
|
|
|
+ :file-list="user.chengnuoshu"
|
|
|
+ :before-upload="beforeImageUpload"
|
|
|
+ :on-success="uploadSuccessCNS"
|
|
|
+ :multiple="true"
|
|
|
+ :on-preview="handlePictureCardPreview"
|
|
|
+ :on-remove="removeCNS">
|
|
|
+ <i class="el-icon-plus"></i>
|
|
|
+ </el-upload>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endif
|
|
|
@if(in_array('remark',$module))
|
|
|
<tr style="height:52px;page-break-inside:avoid">
|
|
|
<td valign="center" >
|
|
@@ -1347,6 +1370,13 @@
|
|
|
this.$message.error(response.msg);
|
|
|
}
|
|
|
},
|
|
|
+ uploadSuccessCNS:function(response, file, fileList){
|
|
|
+ if(response.status){
|
|
|
+ this.user.chengnuoshu = fileList
|
|
|
+ }else{
|
|
|
+ this.$message.error(response.msg);
|
|
|
+ }
|
|
|
+ },
|
|
|
removeID:function(file,fileList) {
|
|
|
this.user.identification = fileList
|
|
|
},
|
|
@@ -1359,6 +1389,9 @@
|
|
|
removeOther:function(file,fileList) {
|
|
|
this.user.other_certification = fileList
|
|
|
},
|
|
|
+ removeCNS:function(file,fileList) {
|
|
|
+ this.user.chengnuoshu = fileList
|
|
|
+ },
|
|
|
handlePictureCardPreview:function(file){
|
|
|
this.dialogImageUrl = file.url;
|
|
|
this.dialogVisible = true;
|