|
@@ -35,6 +35,7 @@
|
|
|
<u-button type="primary" @click="nextStep" v-if="showLicense&&showStore">下一步</u-button>
|
|
|
<!-- <u-button type="primary" @click="nextStep">下一步</u-button> -->
|
|
|
</view>
|
|
|
+ <u-modal v-model="modalShow" :content="storecontent" :show-cancel-button="true" confirm-text="同意" cancel-text="不同意" @cancel="cancelModal"></u-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -55,8 +56,13 @@
|
|
|
},
|
|
|
showLicense:false,
|
|
|
showStore:false,
|
|
|
+ modalShow:false,
|
|
|
+ storecontent:"此操作需要上传正规的营业执照照片,并确保系统识别出来的信息与营业执照一致,是否同意?"
|
|
|
};
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.modalShow=true
|
|
|
+ },
|
|
|
methods: {
|
|
|
nextStep() {
|
|
|
this.$u.route({
|
|
@@ -85,9 +91,7 @@
|
|
|
this.showLicense=true
|
|
|
}
|
|
|
if (res.data.code == 500) {
|
|
|
- this.$refs.uToast.show({
|
|
|
- title: res.data.msg,
|
|
|
- })
|
|
|
+ this.$u.toast(res.data.msg);
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
this.$u.toast('识别失败');
|
|
@@ -100,6 +104,10 @@
|
|
|
this.storeUrl = JSON.parse(res.data).data
|
|
|
this.showStore=true
|
|
|
}
|
|
|
+ },
|
|
|
+ cancelModal(){
|
|
|
+ uni.navigateBack({
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
}
|