feat: 新增多标签Tab页内嵌模式

This commit is contained in:
Yer
2023-07-06 11:44:15 +08:00
parent 3c83179579
commit 6b697f9ecd
38 changed files with 255 additions and 136 deletions

View File

@@ -237,10 +237,10 @@
//投诉详情
detail(v) {
let id = v.id;
this.$router.push({
this.$options.filters.customRouterPush({
name: "order-complaint-detail",
query: { id: id },
});
})
},
},
mounted() {

View File

@@ -270,10 +270,10 @@
// 退货订单详情
detail(v) {
let sn = v.sn;
this.$router.push({
this.$options.filters.customRouterPush({
name: "return-goods-order-detail",
query: { sn: sn },
});
})
},
},

View File

@@ -264,10 +264,10 @@
// 退款订单详情
detail(v) {
let sn = v.sn;
this.$router.push({
this.$options.filters.customRouterPush({
name: "return-goods-order-detail",
query: { sn: sn },
});
})
},
},

View File

@@ -81,7 +81,6 @@ export default {
// 点击选择步骤
handleCheckStep(val) {
if (val.title.search("3") == -1) {
console.warn(val);
this.stepList.map((item) => {
item.checked = false;
});

View File

@@ -228,7 +228,7 @@
<span class="label">修改金额</span>
<span class="txt theme_color">¥{{ orderInfo.order.priceDetailDTO.updatePrice | unitPrice }}</span>
</li>
<!-- <li v-if="showPrices" v-for="(item,index) in typeList" :key="index" >
<!-- <li v-if="showPrices" v-for="(item,index) in typeList" :key="index" >
<hr style="border:1px dashed black;">
<span class="label" v-if="index == 1 && typeList.length > 1" style="font-size:10px !important;"><a @click="gotoHomes" style="display: inline-block;border-bottom: 1px dashed;color:black;width:80px;">{{item.promotionName}}</a></span>
<span class="txt" style="border-bottom: 1px dashed;font-size:10px !important;" v-if="index == 1 && typeList.length > 1">¥{{ item.discountPrice | unitPrice }}</span>
@@ -744,9 +744,9 @@ export default {
}
}
}
console.log(this.typeList)
if (this.typeList.length >= 3) {
console.log(123123)
this.getContentPrice()
}
},
@@ -849,7 +849,7 @@ export default {
const blob = new Blob([res], {
type: "application/pdf;charset=utf-8",
});
console.log("出发blob");
//对于<a>标签,只有 Firefox 和 Chrome内核 支持 download 属性
//IE10以上支持blob但是依然不支持download
if ("download" in document.createElement("a")) {

View File

@@ -401,10 +401,11 @@ export default {
// 查看订单详情
detail(v) {
let sn = v.sn;
this.$router.push({
this.$options.filters.customRouterPush({
name: "order-detail",
query: { sn: sn },
});
})
},
},
mounted() {

View File

@@ -252,10 +252,10 @@ export default {
// 跳转详情
detail(v) {
let sn = v.sn;
this.$router.push({
this.$options.filters.customRouterPush({
name: "order-detail",
query: { sn: sn },
});
})
},
},
mounted() {