|
|
|
@ -77,15 +77,15 @@
|
|
|
|
const id = question_info.value.check_items_array[type].combo
|
|
|
|
const id = question_info.value.check_items_array[type].combo
|
|
|
|
const mergedArray = [...new Set([
|
|
|
|
const mergedArray = [...new Set([
|
|
|
|
...question_info.value.items,
|
|
|
|
...question_info.value.items,
|
|
|
|
...question_info.value.check_items_array[type].items
|
|
|
|
...question_info.value.check_items_array[type].items,
|
|
|
|
|
|
|
|
...question_info.value.check_items_array[type].combo_items,
|
|
|
|
])]
|
|
|
|
])]
|
|
|
|
let query = "?comboId=" + id + '&wj=1';
|
|
|
|
|
|
|
|
if (mergedArray.length !== 0) {
|
|
|
|
if (mergedArray.length !== 0) {
|
|
|
|
query += "&itemIds=" + mergedArray.join(',');
|
|
|
|
let query = "?wj=1&itemIds=" + mergedArray.join(',');
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: "/pages/main/tj/tjxq" + query,
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: "/pages/main/tj/tjxq" + query,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onShow(() => {
|
|
|
|
onShow(() => {
|
|
|
|
@ -108,10 +108,7 @@
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_text_wrapper">基础推荐方案</view>
|
|
|
|
<view class="items_title_text_wrapper">基础推荐方案</view>
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<text>{{ question_info.items.length
|
|
|
|
<text>{{ question_info.count.jichu }}项</text>
|
|
|
|
+ question_info.check_items_array.jichu.combo_items.length
|
|
|
|
|
|
|
|
+ question_info.check_items_array.jichu.items.length
|
|
|
|
|
|
|
|
}}项</text>
|
|
|
|
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<uni-icons type="right" size="20"></uni-icons>
|
|
|
|
<uni-icons type="right" size="20"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -131,10 +128,7 @@
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_text_wrapper">中等推荐方案</view>
|
|
|
|
<view class="items_title_text_wrapper">中等推荐方案</view>
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<text>{{ question_info.items.length
|
|
|
|
<text>{{ question_info.count.tuijian }}项</text>
|
|
|
|
+ question_info.check_items_array.tuijian.combo_items.length
|
|
|
|
|
|
|
|
+ question_info.check_items_array.tuijian.items.length
|
|
|
|
|
|
|
|
}}项</text>
|
|
|
|
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<uni-icons type="right" size="20"></uni-icons>
|
|
|
|
<uni-icons type="right" size="20"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -154,10 +148,7 @@
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_wrapper">
|
|
|
|
<view class="items_title_text_wrapper">高端推荐方案</view>
|
|
|
|
<view class="items_title_text_wrapper">高端推荐方案</view>
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<view class="items_title_count_wrapper">
|
|
|
|
<text>{{ question_info.items.length
|
|
|
|
<text>{{ question_info.count.gaoduan }}项</text>
|
|
|
|
+ question_info.check_items_array.gaoduan.combo_items.length
|
|
|
|
|
|
|
|
+ question_info.check_items_array.gaoduan.items.length
|
|
|
|
|
|
|
|
}}项</text>
|
|
|
|
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<view class="count_icon_wrapper">
|
|
|
|
<uni-icons type="right" size="16"></uni-icons>
|
|
|
|
<uni-icons type="right" size="16"></uni-icons>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|