|
|
@@ -162,7 +162,7 @@
|
|
|
</ul>
|
|
|
<ul>
|
|
|
<li class="title">身份证正面照 <i @click="rotate(form.idnoimg_face,'idnoimg_face')" class="el-icon-refresh-right"></i></li>
|
|
|
- <img width="100%" :src="form.idnoimg_face" alt="">
|
|
|
+ <img width="100%" :src="idnoimg_face" alt="">
|
|
|
</ul>
|
|
|
<ul>
|
|
|
<li class="title">身份证反面照 <i @click="rotate(form.idnoimg_back,'idnoimg_back')" class="el-icon-refresh-right"></i></li>
|
|
|
@@ -189,6 +189,7 @@ export default {
|
|
|
|
|
|
data(){
|
|
|
return{
|
|
|
+ idnoimg_face:"",
|
|
|
form:{},
|
|
|
radios:1,
|
|
|
id:'',
|
|
|
@@ -199,6 +200,7 @@ export default {
|
|
|
getData(){
|
|
|
this.$api.getSign({id:this.id}).then(res=>{
|
|
|
this.form=res.data.data
|
|
|
+ this.idnoimg_face = res.data.data.idnoimg_face
|
|
|
this.form.subject_items=this.form.subject_item.split('|')
|
|
|
})
|
|
|
},
|
|
|
@@ -208,6 +210,7 @@ export default {
|
|
|
// let form=this.form;
|
|
|
this.$set(this.form,key,res.data.data.url);
|
|
|
// this.form=form;
|
|
|
+ ths.idnoimg_face = res.data.data.url;
|
|
|
this.$message({message: '旋转成功!',type: 'success'});
|
|
|
}else{
|
|
|
this.$message.error(res.data.message);
|