Bläddra i källkod

修改货车车辆信息上传问题

yxb
DESKTOP-2IO5MST\huting 1 år sedan
förälder
incheckning
e0195a09a6

+ 19
- 40
pages/index/index.vue Visa fil

@@ -11,16 +11,9 @@
indicator-active-color="rgba(0, 179, 139, 1)" :easing-function="swiper.easing">
<block v-if="state.swiperList.length >0" v-for="item in state.swiperList" :key="item.id">
<swiper-item class="swiper-item" @click="link(item)">
<!-- <image :src="item.imgUrl?strReplace(item.imgUrl):fileURL + 'image/index/banner-1.png'"
mode="widthFix"></image> -->
<image :src="fileURLList + item.imgUrl" mode="widthFix"></image>
</swiper-item>
</block>
<!-- <block>
<swiper-item class="swiper-item">
<image :src="fileURLList + 'image/index/banner-1.png'" mode="widthFix"></image>
</swiper-item>
</block> -->
</swiper>

<view class="notice">
@@ -75,7 +68,6 @@
</view>
<view class="text">挂失解挂</view>
</view>
<!-- <view class="item-box" @click="$util.navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select',true)"> -->
<view class="item-box" @click="cardRecharge(2)">
<view class="item item-6">
<image :src="fileURL + 'image/index/item-6.png'" mode="aspectFill" />
@@ -95,12 +87,6 @@
</view>
<view class="text">在线客服</view>
</view>
<!-- <view class="item-box" @click="test">
<view class="item item-7">
<image :src="fileURL + 'image/index/item-7.png'" mode="aspectFill" />
</view>
<view class="text">测试</view>
</view> -->
<view class="item-box" @click="$util.navTo(`/pages/service/service`,true)">
<view class="item item-8">
<image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" />
@@ -321,7 +307,7 @@
highMsgData: '',//高速快讯内容
processeConditionText: "", //办理条件文本
commonQuestionText: "", //常见问题文本
isEnableSetGray:false
isEnableSetGray: false
});
const isShowMask = ref(false);
const isShowBar = ref(false)
@@ -365,23 +351,23 @@
})
getSwiper()
});
const getGlobalParam=()=>{
const data = getItem('globalParam')
console.log("全局配置数据1111", getCodeName('IS_ENABLE', data.setGray))
// 申办时是否允许修改OCR识别出来的车辆信息数据
if (getCodeName('IS_ENABLE', data.setGray) == '启用') {
uni.setNavigationBarColor({
backgroundColor:"#9C9C9C",
frontColor:"#ffffff"
})
} else {
uni.setNavigationBarColor({
backgroundColor:"#22dbc8",
frontColor:"#000000"
})
}
}
const getGlobalParam = () => {
const data = getItem('globalParam')
console.log("全局配置数据1111", getCodeName('IS_ENABLE', data.setGray))
// 申办时是否允许修改OCR识别出来的车辆信息数据
if (getCodeName('IS_ENABLE', data.setGray) == '启用') {
uni.setNavigationBarColor({
backgroundColor: "#9C9C9C",
frontColor: "#ffffff"
})
} else {
uni.setNavigationBarColor({
backgroundColor: "#22dbc8",
frontColor: "#000000"
})
}
}
//获取轮播
const getSwiper = () => {

@@ -409,13 +395,6 @@ const getGlobalParam=()=>{

};

//轮播跳转
const test = () => {
uni.navigateTo({
url: "/subpackage/orders/payment/payment?token=445dff5be89c4dcaa89386d1c390930a&openId=0e716af635634d749a981524cc6146a5&orderId=20231016175113823159477&qdOrderNo=20231016175113823159477"
})
};

//轮播跳转
const gotoLink = (item : any) => {
console.log("555555555555555555", item);
@@ -525,7 +504,7 @@ const getGlobalParam=()=>{
}
}
state.highMsgData.sort(function (a, b) {
return a.sequence - b.sequence//正序
return a.sequence - b.sequence//正序
})
}).catch((err) => { console.log(err) });
}

+ 0
- 16
subpackage/after-sale/activation/activate.vue Visa fil

@@ -977,22 +977,6 @@
}
})
};
//卡信息变更确认
// const getCardModifyConfirm = (cosRecordId) => {
// const options = {
// type: 2,
// data: {
// cardId: fileDataStrings.cardId,
// operation: 4,
// cosRecordId: cosRecordId
// },
// method: "POST",
// showLoading: true,
// };
// request(IFCODE.cardModifyConfirm, options).then((res) => {
// obuWriteAgainRequest();
// })
// };
/**
* 修改系统信息 请求
*/

+ 6
- 4
subpackage/orders/opening-account-unit.vue Visa fil

@@ -183,7 +183,8 @@
},
orderId: "",
vehiclePlateColor: '',
isSign: ''
isSign: '',
type: 1
});

const savaHandle = () => {
@@ -272,10 +273,9 @@
showLoading: true,
};
request(etcCompanyCardInfoSubmit, options).then((res) => {
// let result = stringToJson(res.bizContent);
console.log(res);
uni.redirectTo({
url: `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=1&isSign=${state.isSign}`,
url: `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=${state.type}`,
});
});
}
@@ -292,7 +292,7 @@
request(etcCompanyCardInfoSubmit, options).then((res) => {
const data = stringToJson(res.bizContent);
uni.redirectTo({
url: `/subpackage/orders/car-release?orderId=${state.orderId}&&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`,
url: `/subpackage/orders/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&type=${state.type}`,
});
});
}
@@ -305,6 +305,8 @@
state.vehiclePlateColor = option.vehiclePlateColor;
state.form.opId = getItem('openId') ? getItem('openId') : '';
state.isSign = option.isSign;
state.type = option.type;
console.log("state.type", option)
});

//监听页面滚动

+ 1
- 1
subpackage/personal-center/car-message-change.vue Visa fil

@@ -189,7 +189,7 @@
</view>
<view class="action">
<button type="default" class="button" @click="savaHandleCar()">
下一步
提交
</button>
</view>
<!-- 车辆类型弹窗 -->

Laddar…
Avbryt
Spara