|
@@ -47,7 +47,7 @@
|
|
<view class="cu-form-group">
|
|
<view class="cu-form-group">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="bg-img" v-for="(item,index) in form.certificate" :key="index" :data-url="form.certificate[index]">
|
|
<view class="bg-img" v-for="(item,index) in form.certificate" :key="index" :data-url="form.certificate[index]">
|
|
- <image :src="'https://xiaoyunimg.top/'+form.certificate[index]" mode='aspectFill'></image>
|
|
|
|
|
|
+ <image :src="imghost+form.certificate[index]" mode='aspectFill'></image>
|
|
<view class="cu-tag bg-red" v-if="iscertificate" @click="certificateDelImg" :data-index="index">
|
|
<view class="cu-tag bg-red" v-if="iscertificate" @click="certificateDelImg" :data-index="index">
|
|
<text class="cuIcon-close"></text>
|
|
<text class="cuIcon-close"></text>
|
|
</view>
|
|
</view>
|
|
@@ -70,7 +70,7 @@
|
|
<view class="cu-form-group">
|
|
<view class="cu-form-group">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="bg-img" v-for="(item,index) in form.idPhoto" :key="index" :data-url="form.idPhoto[index]">
|
|
<view class="bg-img" v-for="(item,index) in form.idPhoto" :key="index" :data-url="form.idPhoto[index]">
|
|
- <image :src="'https://xiaoyunimg.top/'+form.idPhoto[index]" mode='aspectFill'></image>
|
|
|
|
|
|
+ <image :src="imghost+form.idPhoto[index]" mode='aspectFill'></image>
|
|
<view class="cu-tag bg-red" v-if="iscertificate&&form.idPhoto.length<2" @click="idPhotoDelImg" :data-index="index">
|
|
<view class="cu-tag bg-red" v-if="iscertificate&&form.idPhoto.length<2" @click="idPhotoDelImg" :data-index="index">
|
|
<text class="cuIcon-close"></text>
|
|
<text class="cuIcon-close"></text>
|
|
</view>
|
|
</view>
|
|
@@ -95,7 +95,7 @@
|
|
<view class="cu-form-group">
|
|
<view class="cu-form-group">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
<view class="bg-img" v-for="(item,index) in form.doctorQualification" :key="index" :data-url="form.doctorQualification[index]">
|
|
<view class="bg-img" v-for="(item,index) in form.doctorQualification" :key="index" :data-url="form.doctorQualification[index]">
|
|
- <image :src="'https://xiaoyunimg.top/'+form.doctorQualification[index]" mode='aspectFill'></image>
|
|
|
|
|
|
+ <image :src="imghost+form.doctorQualification[index]" mode='aspectFill'></image>
|
|
<view class="cu-tag bg-red" v-if="iscertificate" @click="doctorQualificationDelImg" :data-index="index">
|
|
<view class="cu-tag bg-red" v-if="iscertificate" @click="doctorQualificationDelImg" :data-index="index">
|
|
<text class="cuIcon-close"></text>
|
|
<text class="cuIcon-close"></text>
|
|
</view>
|
|
</view>
|
|
@@ -167,6 +167,7 @@
|
|
export default {
|
|
export default {
|
|
components: {},
|
|
components: {},
|
|
onLoad() {
|
|
onLoad() {
|
|
|
|
+ this.imghost = this.$imgHost
|
|
this.provinceconfirm()
|
|
this.provinceconfirm()
|
|
this.addmechanism()
|
|
this.addmechanism()
|
|
this.docterInfos();
|
|
this.docterInfos();
|
|
@@ -211,6 +212,7 @@
|
|
//提交之后不能修改姓名 身份证 性别 证书
|
|
//提交之后不能修改姓名 身份证 性别 证书
|
|
allupload: false, //是否已经提交过并且审核通过
|
|
allupload: false, //是否已经提交过并且审核通过
|
|
iscertificate: false,
|
|
iscertificate: false,
|
|
|
|
+ imghost:""
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -301,7 +303,6 @@
|
|
//机构选择器打开
|
|
//机构选择器打开
|
|
hospitalClick(index) {
|
|
hospitalClick(index) {
|
|
console.log(index);
|
|
console.log(index);
|
|
-
|
|
|
|
if (this.mechanismList[index].Submit == 0 || this.mechanismList[index].Submit == 1) {
|
|
if (this.mechanismList[index].Submit == 0 || this.mechanismList[index].Submit == 1) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: '无法修改',
|
|
title: '无法修改',
|
|
@@ -351,7 +352,7 @@
|
|
// return false;
|
|
// return false;
|
|
// }
|
|
// }
|
|
// })
|
|
// })
|
|
-
|
|
|
|
|
|
+ console.log(e)
|
|
if (typeof this.form.works[this.hosindex] == undefined || typeof this.form.works[this.hosindex] == 'undefined') {
|
|
if (typeof this.form.works[this.hosindex] == undefined || typeof this.form.works[this.hosindex] == 'undefined') {
|
|
this.form.works.push({
|
|
this.form.works.push({
|
|
hospital: e[0].value, //医院id
|
|
hospital: e[0].value, //医院id
|