feat: 已完成&售后

This commit is contained in:
2025-10-18 17:31:15 +08:00
parent 7214c8dc6f
commit c1c03ba390
2 changed files with 35 additions and 32 deletions
+2 -2
View File
@@ -104,8 +104,8 @@
></up-image> ></up-image>
微信登录 微信登录
</view> </view>
<view class="login_other_item" @click="aa"> <!-- <view class="login_other_item" @click="aa"> -->
<!-- <view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin"> --> <view v-if="!isIOS" class="login_other_item" @click="alipayOneLogin">
<up-image <up-image
src="/static/login/ZFB.png" src="/static/login/ZFB.png"
width="44" width="44"
+6 -3
View File
@@ -475,25 +475,28 @@ export default {
// 删除 // 删除
deleteOrder(item) { deleteOrder(item) {
console.log("删除", item); console.log("删除", item, this.form.type);
this.deleteShow = true; this.deleteShow = true;
this.deleteInfo = item; this.deleteInfo = item;
}, },
async againDeleteOrder() { async againDeleteOrder() {
let params; let params;
if (this.deleteInfo.status === 4) { if (this.form.type === 4 && (this.deleteInfo.status === 4 || this.deleteInfo.status === 5 || this.deleteInfo.status === 6 || this.deleteInfo.status === 7)) {
params = { params = {
orderId: this.deleteInfo.id, orderId: this.deleteInfo.id,
type: 1 type: 1
} }
} }
if (this.deleteInfo.status === 7) { if (this.form.type === 5 && this.deleteInfo.status === 7) {
params = { params = {
orderId: this.deleteInfo.afterId, orderId: this.deleteInfo.afterId,
type: 2 type: 2
} }
} }
console.log("删除-1", params); console.log("删除-1", params);
if(!params.orderId){
return;
}
const res = await deleteOrderQuery(params); const res = await deleteOrderQuery(params);
if (res.bizcode == 100) { if (res.bizcode == 100) {
this.$refs.uToastRef.show({ this.$refs.uToastRef.show({