|
@@ -239,10 +239,12 @@ export default {
|
|
|
this.current = 2;
|
|
|
this.getData2();
|
|
|
}
|
|
|
+ console.log('load:=====',+this.current)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//人脸认证回调
|
|
|
uni.$on('face',res=>{
|
|
|
+ console.log('current:=====',+this.current)
|
|
|
this.confirmFn()
|
|
|
})
|
|
|
},
|
|
@@ -268,8 +270,9 @@ export default {
|
|
|
method: 'POST',
|
|
|
data: { cfgName: 'cooper_entrust_cfg' },
|
|
|
success: res => {
|
|
|
+
|
|
|
this.cooper_entrust = JSON.parse(res.data.data).cooper_entrust
|
|
|
-
|
|
|
+
|
|
|
if(this.cooper_entrust == 1) {
|
|
|
console.log("---1---this.imgList.length="+this.imgList.length)
|
|
|
if(this.imgList.length == 0) {
|
|
@@ -308,19 +311,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.http.request({
|
|
|
+ url: '/level-one-server/app/TbOrder/cooperOrder',
|
|
|
+ method: 'POST',
|
|
|
+ data: { orderId: this.orderId },
|
|
|
+ success: res => {
|
|
|
+ uni.showToast({ title: '互助委托确认成功' });
|
|
|
+ this.current = 2;
|
|
|
+ uni.setNavigationBarTitle({ title: '进口申报确认' });
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- this.http.request({
|
|
|
- url: '/level-one-server/app/TbOrder/cooperOrder',
|
|
|
- method: 'POST',
|
|
|
- data: { orderId: this.orderId },
|
|
|
- success: res => {
|
|
|
- uni.showToast({ title: '互助委托确认成功' });
|
|
|
- this.current = 2;
|
|
|
- uni.setNavigationBarTitle({ title: '进口申报确认' });
|
|
|
- }
|
|
|
- });
|
|
|
}
|
|
|
if (this.current == 2){
|
|
|
this.http.request({
|
|
@@ -364,7 +366,6 @@ export default {
|
|
|
content: '我已核对信息无误',
|
|
|
success: res => {
|
|
|
if (res.confirm) {
|
|
|
- this.confirmFn();
|
|
|
//return;
|
|
|
//跳转到人脸认证
|
|
|
uni.navigateTo({url:'/pages/face/faceRegister?type=2'})
|
|
@@ -378,7 +379,6 @@ export default {
|
|
|
content: '我已核对信息无误',
|
|
|
success: res => {
|
|
|
if (res.confirm) {
|
|
|
- this.confirmFn();
|
|
|
//return;
|
|
|
//跳转到人脸认证
|
|
|
uni.navigateTo({url:'/pages/face/faceRegister?type=2'})
|