Pārlūkot izejas kodu

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

yxb
DESKTOP-2IO5MST\huting pirms 1 gada
vecāks
revīzija
e0195a09a6

+ 19
- 40
pages/index/index.vue Parādīt failu

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


<view class="notice"> <view class="notice">
</view> </view>
<view class="text">挂失解挂</view> <view class="text">挂失解挂</view>
</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-box" @click="cardRecharge(2)">
<view class="item item-6"> <view class="item item-6">
<image :src="fileURL + 'image/index/item-6.png'" mode="aspectFill" /> <image :src="fileURL + 'image/index/item-6.png'" mode="aspectFill" />
</view> </view>
<view class="text">在线客服</view> <view class="text">在线客服</view>
</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-box" @click="$util.navTo(`/pages/service/service`,true)">
<view class="item item-8"> <view class="item item-8">
<image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" /> <image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" />
highMsgData: '',//高速快讯内容 highMsgData: '',//高速快讯内容
processeConditionText: "", //办理条件文本 processeConditionText: "", //办理条件文本
commonQuestionText: "", //常见问题文本 commonQuestionText: "", //常见问题文本
isEnableSetGray:false
isEnableSetGray: false
}); });
const isShowMask = ref(false); const isShowMask = ref(false);
const isShowBar = ref(false) const isShowBar = ref(false)
}) })
getSwiper() 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 = () => { const getSwiper = () => {




}; };


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

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

+ 0
- 16
subpackage/after-sale/activation/activate.vue Parādīt failu

} }
}) })
}; };
//卡信息变更确认
// 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 Parādīt failu

}, },
orderId: "", orderId: "",
vehiclePlateColor: '', vehiclePlateColor: '',
isSign: ''
isSign: '',
type: 1
}); });


const savaHandle = () => { const savaHandle = () => {
showLoading: true, showLoading: true,
}; };
request(etcCompanyCardInfoSubmit, options).then((res) => { request(etcCompanyCardInfoSubmit, options).then((res) => {
// let result = stringToJson(res.bizContent);
console.log(res); console.log(res);
uni.redirectTo({ 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}`,
}); });
}); });
} }
request(etcCompanyCardInfoSubmit, options).then((res) => { request(etcCompanyCardInfoSubmit, options).then((res) => {
const data = stringToJson(res.bizContent); const data = stringToJson(res.bizContent);
uni.redirectTo({ 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}`,
}); });
}); });
} }
state.vehiclePlateColor = option.vehiclePlateColor; state.vehiclePlateColor = option.vehiclePlateColor;
state.form.opId = getItem('openId') ? getItem('openId') : ''; state.form.opId = getItem('openId') ? getItem('openId') : '';
state.isSign = option.isSign; state.isSign = option.isSign;
state.type = option.type;
console.log("state.type", option)
}); });


//监听页面滚动 //监听页面滚动

+ 1
- 1
subpackage/personal-center/car-message-change.vue Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt