Pārlūkot izejas kodu

跳转方法引入

master
bjfight pirms 2 nedēļām
vecāks
revīzija
4644633434
1 mainītis faili ar 31 papildinājumiem un 3 dzēšanām
  1. 31
    3
      subpackage/personal-center/etc-activation.vue

+ 31
- 3
subpackage/personal-center/etc-activation.vue Parādīt failu

@@ -211,6 +211,28 @@ import {
} from "@/datas/queryKey.js";
import { msg, strReplace, imgPathMontage, hasLogin, uploadFile, compressImage, chooseImageCompress } from "@/utils/utils";
import uploadImg from '@/components/uploadOcr';
import useOrderSkip from "@/composables/order/useOrderSkip";
//办理订单按钮跳转业务逻辑
const {
gotoCancelOrder,
gotoEditUserOrUnitInfo,
gotoConfirmReceipt,
gotoCheckLogistics,
gotoEvaluateProduct,
gotoActiveOrder,
gotoPay,
gotoReturnOrder,
gotoExchangeOrder,
gotoOrderDetailsPay,
gotoOrderDetails,
gotoAgainUseOrder,
gotoOrderSign,
closeOrder,
gotoReplenishmentOrder,
gotoAddressOrder,
placeAnOrder,
gotoEditAddressNew
} = useOrderSkip();

// 响应式数据
const statusBarHeight = ref(0)
@@ -236,7 +258,8 @@ const formData = reactive({
vehBodyUrlName: '',
deviceImageUrl: '',
deviceImageName: '',
smsCode: ''
smsCode: '',
activeType: ''
})

// 页面加载
@@ -256,7 +279,6 @@ const ocrResult = (data) => {
// 委托书
formData.proxyUrl = data.imageUrl;
formData.proxyUrlName = data.imageName;

}

const isTakePhotoModeShow = ref(false);
@@ -287,6 +309,7 @@ const queryVehicleData = (vehicleId) => {
if(vehicleId) {
let vehicle = res.modelList[0];
formData.phoneNumber = vehicle.mobile;
formData.activeType = vehicle.activeType;
}
})
}
@@ -324,6 +347,7 @@ const bindPickerChange = (e) => {
let vehicle = vehicles.value[index];
formData.vehiclePlate = vehicle.vehiclePlate;
formData.colorCode = vehicle.vehiclePlateColor;
formData.activeType = vehicle.activeType;
const colorItem = getDicWithType('VEHICLE_COLOR_TYPE').find(item => item.code == formData.colorCode);
formData.colorName = colorItem.name;
formData.phoneNumber = vehicle.mobile
@@ -534,7 +558,11 @@ const nextStep = () => {
}

const next = () => {
if(formData.activeType == 1) {
gotoActiveOrder();
} else {
}
}
</script>


Notiek ielāde…
Atcelt
Saglabāt