|
@@ -175,19 +175,9 @@
|
|
|
url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
});
|
|
|
} else {
|
|
|
- wx.getSetting({
|
|
|
- success(res) {
|
|
|
- if (!res.authSetting['scope.camera']) {
|
|
|
- that.show_qx = false;
|
|
|
- } else if (!res.authSetting['scope.record']) {
|
|
|
- that.show_qx = false;
|
|
|
- } else {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
+ });
|
|
|
}
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
@@ -215,27 +205,9 @@
|
|
|
url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
});
|
|
|
} else {
|
|
|
- // #ifdef MP-WEIXIN
|
|
|
- wx.getSetting({
|
|
|
- success(res) {
|
|
|
- if (!res.authSetting['scope.camera']) {
|
|
|
- that.show_qx = false;
|
|
|
- } else if (!res.authSetting['scope.record']) {
|
|
|
- that.show_qx = false;
|
|
|
- } else {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- // #endif
|
|
|
-
|
|
|
- // #ifdef APP-PLUS
|
|
|
uni.navigateTo({
|
|
|
- url: '/pagesMedia/pickVideo?tenantCode=' + this.orderData.tenantCode + '&orderId=' + this.orderData.orderId
|
|
|
+ url: '/pagesMedia/pickVideo?tenantCode=' + that.orderData.tenantCode + '&orderId=' + that.orderData.orderId
|
|
|
});
|
|
|
- // #endif
|
|
|
}
|
|
|
}
|
|
|
},
|