|
@@ -396,7 +396,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
- <el-col :span="24">
|
|
|
|
|
|
|
+ <el-col :span="12">
|
|
|
<el-form-item label="身份证反面" prop="idCardBackUrl">
|
|
<el-form-item label="身份证反面" prop="idCardBackUrl">
|
|
|
<el-upload
|
|
<el-upload
|
|
|
v-model="form.idCardBackUrl"
|
|
v-model="form.idCardBackUrl"
|
|
@@ -410,6 +410,20 @@
|
|
|
</el-upload>
|
|
</el-upload>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="医生签名" prop="signUrl">
|
|
|
|
|
+ <el-upload id="sign"
|
|
|
|
|
+ v-model="form.signUrl"
|
|
|
|
|
+ class="avatar-uploader"
|
|
|
|
|
+ :action="bauploadUrl"
|
|
|
|
|
+ :show-file-list="false"
|
|
|
|
|
+ :on-success="signhandleAvatarSuccess"
|
|
|
|
|
+ :before-upload="beforeAvatarUpload">
|
|
|
|
|
+ <img v-if="form.signUrl" :src="form.signUrl" class="avatar" width="150px">
|
|
|
|
|
+ <i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
|
|
|
|
+ </el-upload>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-row>
|
|
<el-row>
|
|
@@ -536,6 +550,7 @@ export default {
|
|
|
certificateBack:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
certificateBack:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
practise:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
practise:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
practiseBack:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
practiseBack:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
|
|
+ bauploadUrl:process.env.VUE_APP_BASE_API+"/common/uploadOSS",
|
|
|
orOptions: [],
|
|
orOptions: [],
|
|
|
isauditOptions: [],
|
|
isauditOptions: [],
|
|
|
positionOptions: [],
|
|
positionOptions: [],
|
|
@@ -778,7 +793,15 @@ export default {
|
|
|
this.msgError(res.msg);
|
|
this.msgError(res.msg);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ signhandleAvatarSuccess(res, file) {
|
|
|
|
|
+ if(res.code==200){
|
|
|
|
|
+ this.form.signUrl=res.url;
|
|
|
|
|
+ this.$forceUpdate();
|
|
|
|
|
+ }
|
|
|
|
|
+ else{
|
|
|
|
|
+ this.msgError(res.msg);
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
handleAvatarSuccess(res, file) {
|
|
handleAvatarSuccess(res, file) {
|
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
|
this.form.certificateImages=res.url;
|
|
this.form.certificateImages=res.url;
|
|
@@ -1124,4 +1147,9 @@ export default {
|
|
|
line-height: 150px;
|
|
line-height: 150px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
+ #sign .avatar{
|
|
|
|
|
+ min-width: 120px;
|
|
|
|
|
+ min-height: 80px;
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|