@@ -328,7 +328,8 @@
this.loading = false;
this.$message.error(res.message);
});
- }else if(this.currenType == 'seckill'){
+ }
+ else if(this.currenType == 'seckill'){
let formValidate = this.formValidate
formValidate.product_type = 1;
getProduct(formValidate)
@@ -345,7 +346,8 @@
this.loading = false;
this.$message.error(res.message);
});
- }else if(this.currenType == 'bargain'){
+ }
+ else if(this.currenType == 'bargain'){
let formValidate = this.formValidate
formValidate.product_type = 3;
getProduct(formValidate)
@@ -362,7 +364,8 @@
this.loading = false;
this.$message.error(res.message);
});
- }else if(this.currenType == 'combination'){
+ }
+ else if(this.currenType == 'combination'){
let formValidate = this.formValidate
formValidate.product_type = 4;
getProduct(formValidate)
@@ -379,7 +382,8 @@
this.loading = false;
this.$message.error(res.message);
});
- }else if(this.currenType == 'presell'){
+ }
+ else if(this.currenType == 'presell'){
let formValidate = this.formValidate
formValidate.product_type = 2;
getProduct(formValidate)
@@ -396,7 +400,8 @@
this.loading = false;
this.$message.error(res.message);
});
- }else if(this.currenType == 'news'){
+ }
+ else if(this.currenType == 'news'){
articleLstApi(this.formValidate).then(async res => {
let data = res.data
data.list.forEach((e)=>{
@@ -409,7 +414,8 @@
this.loading = false;
this.$message.error(res.message);
})
- } else if (this.currenType == 'active' || this.currenType == 'merchant') {
+ }
+ else if (this.currenType == 'active' || this.currenType == 'merchant') {
pageLink(this.categoryId, {
page: this.formValidate.page,
limit: this.formValidate.limit,
@@ -418,14 +424,23 @@
this.loading = false
let data = res.data;
this.currentList = data;
- if(this.currenType == 'special'){
- let list = []
- data.forEach((e)=>{
- e.url = `/pages/news_details/index?id=${e.article_id}`
- list.push(e)
- });
- this.tableList = list
- }else if(this.currenType == 'product_category'){
+ if(this.currenType == 'special'){
+ let list = []
+ data.forEach((e)=>{
+ e.url = `/pages/news_details/index?id=${e.article_id}`
+ list.push(e)
+ });
+ this.tableList = list
+ }
+ else if(this.currenType == 'article_cate'){
+ let list = []
+ data.forEach((e)=>{
+ e.url = `/pages/news_list/index?cate_id=${e.article_category_id}`
+ list.push(e)
+ });
+ this.tableList = list
+ }
+ else if(this.currenType == 'product_category'){
data.forEach((e)=>{
if(e.hasOwnProperty('children')){
e.children.forEach((j)=>{
@@ -440,14 +455,16 @@
e.url = `/pages/columnGoods/goods_list/index?id=${e.store_category_id}&title=默认`
});
this.tableList = data
- }else if(this.currenType == 'active'){
+ }
+ else if(this.currenType == 'active'){
data.list.forEach(item => {
item.id = item.group_data_id
item.url = `/pages/activity/topic_detail/index?id=${item.group_data_id}`
})
this.tableList = data.list
this.total = res.data.count
- }else if(this.currenType == 'merchant'){
+ }
+ else if(this.currenType == 'merchant'){
data.list.forEach(item => {
item.id = item.mer_id
item.url = `/pages/store/home/index?id=${item.mer_id}`
@@ -498,7 +515,16 @@
list.push(e)
});
this.tableList = list
- }else if(this.currenType == 'product_category' || this.currenType == 'points_cate'){
+ }
+ else if(this.currenType == 'article_cate'){
+ let list = []
+ data.list.forEach((e)=>{
+ e.url = `/pages/news_list/index?cate_id=${e.article_category_id}`
+ list.push(e)
+ });
+ this.tableList = list
+ }
+ else if(this.currenType == 'product_category' || this.currenType == 'points_cate'){
data.forEach((e)=>{
e.id = e.store_category_id
if(e.hasOwnProperty('children')){
@@ -522,14 +548,16 @@
});
this.tableList = data
- }else if(this.currenType == 'active'){
+ }
+ else if(this.currenType == 'active'){
data.list.forEach(item => {
item.id = item.group_data_id
item.url = `/pages/activity/topic_detail/index?id=${item.group_data_id}`
})
this.tableList = data.list
this.total = res.data.count
- }else if(this.currenType == 'merchant'){
+ }
+ else if(this.currenType == 'merchant'){
data.list.forEach(item => {
item.id = item.mer_id
item.url = `/pages/store/home/index?id=${item.mer_id}`
diff --git a/src/views/product/productExamine/index.vue b/src/views/product/productExamine/index.vue
index b0f6e6d..12ec025 100644
--- a/src/views/product/productExamine/index.vue
+++ b/src/views/product/productExamine/index.vue
@@ -211,6 +211,11 @@
+
+
+
+
+
@@ -379,6 +384,7 @@ export default {
us_status: '',
star: 0,
agent_two_ids: [],
+ agent_two_mer_id: '',
agent_two_money: 0,
supplier_money: 0,
},
@@ -569,6 +575,7 @@ export default {
rank: info.rank,
star: info.star,
agent_two_ids: info.agent_two_ids || [],
+ agent_two_mer_id: info.agent_two_mer_id || '',
agent_two_money: info.agent_two_money || 0,
supplier_money: info.supplier_money || 0,
}