分销,会员
parent
c3344d930f
commit
b2c7c42743
|
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<view>
|
||||
<view v-if="detail != null">
|
||||
<view class="padding-horizontal-main padding-top-main">
|
||||
<view class="padding-horizontal-main padding-top-main">
|
||||
<!-- 基础信息 -->
|
||||
<view v-if="detail_list.length > 0" class="panel-item padding-main border-radius-main bg-white spacing-mb">
|
||||
<view class="br-b padding-bottom-main fw-b text-size">基础信息</view>
|
||||
<view class="br-b padding-bottom-main fw-b text-size">基础信息</view>
|
||||
<view class="panel-content oh">
|
||||
<view class="item br-b oh padding-vertical-main">
|
||||
<view class="title fl padding-right-main cr-gray">用户头像</view>
|
||||
|
|
@ -17,33 +17,33 @@
|
|||
<view class="content fl br-l padding-left-main">{{item.value}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 商品列表 -->
|
||||
<view v-if="detail.items.length > 0" class="goods bg-white padding-main border-radius-main spacing-mb">
|
||||
<view class="br-b padding-bottom-main fw-b text-size">商品信息</view>
|
||||
<view v-for="(item, index) in detail.items" :key="index" class="goods-item br-b-dashed oh padding-main">
|
||||
<navigator :url="item.goods_url" hover-class="none">
|
||||
<image class="goods-image fl radius" :src="item.images" mode="aspectFill"></image>
|
||||
<view class="goods-base pr">
|
||||
<view class="multi-text">{{item.title}}</view>
|
||||
<view v-if="item.spec != null" class="margin-top-sm">
|
||||
<block v-for="(sv, si) in item.spec" :key="si">
|
||||
<text v-if="si > 0" class="cr-grey padding-left-xs padding-right-xs">;</text>
|
||||
<text class="cr-gray">{{sv.value}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view class="margin-top-sm">
|
||||
<text class="fw-b">{{detail.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text class="margin-left-sm">x{{item.buy_number}}</text>
|
||||
</view>
|
||||
<view v-if="detail.is_can_launch_aftersale == 1 && (item.orderaftersale_btn_text || null) != null" class="orderaftersale-btn-text cr-blue pa bg-white" @tap.stop="orderaftersale_event" :data-oid="detail.id" :data-did="item.id">{{item.orderaftersale_btn_text}}</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="padding-top-main tr cr-base text-size">
|
||||
<text>共<text class="fw-b">{{detail.buy_number_count}}</text>件 合计 <text class="sales-price margin-right-xs">{{detail.currency_data.currency_symbol}}{{detail.total_price}}</text>元</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 商品列表 -->
|
||||
<view v-if="detail.items.length > 0" class="goods bg-white padding-main border-radius-main spacing-mb">
|
||||
<view class="br-b padding-bottom-main fw-b text-size">商品信息</view>
|
||||
<view v-for="(item, index) in detail.items" :key="index" class="goods-item br-b-dashed oh padding-main">
|
||||
<navigator :url="item.goods_url" hover-class="none">
|
||||
<image class="goods-image fl radius" :src="item.images" mode="aspectFill"></image>
|
||||
<view class="goods-base pr">
|
||||
<view class="multi-text">{{item.title}}</view>
|
||||
<view v-if="item.spec != null" class="margin-top-sm">
|
||||
<block v-for="(sv, si) in item.spec" :key="si">
|
||||
<text v-if="si > 0" class="cr-grey padding-left-xs padding-right-xs">;</text>
|
||||
<text class="cr-gray">{{sv.value}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view class="margin-top-sm">
|
||||
<text class="fw-b">{{detail.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text class="margin-left-sm">x{{item.buy_number}}</text>
|
||||
</view>
|
||||
<view v-if="detail.is_can_launch_aftersale == 1 && (item.orderaftersale_btn_text || null) != null" class="orderaftersale-btn-text cr-blue pa bg-white" @tap.stop="orderaftersale_event" :data-oid="detail.id" :data-did="item.id">{{item.orderaftersale_btn_text}}</view>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="padding-top-main tr cr-base text-size">
|
||||
<text>共<text class="fw-b">{{detail.buy_number_count}}</text>件 合计 <text class="sales-price margin-right-xs">{{detail.currency_data.currency_symbol}}{{detail.total_price}}</text>元</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -114,15 +114,15 @@
|
|||
this.setData({
|
||||
detail: data.data,
|
||||
detail_list: [
|
||||
{ name: "用户昵称", value: data.data.user_name_view || '' },
|
||||
{ name: "用户昵称", value: data.data.user_name_view || '' },
|
||||
{ name: "订单号", value: data.data.order_no || '' },
|
||||
{ name: "订单金额", value: data.data.total_price + ' 元' || '' },
|
||||
{ name: "退款金额", value: data.data.refund_price + ' 元' || '' },
|
||||
{ name: "订单状态", value: data.data.order_status_name || '' },
|
||||
{ name: "支付状态", value: data.data.order_pay_status_name || '' },
|
||||
{ name: "来源终端", value: data.data.order_client_type_name || '' },
|
||||
{ name: "来源终端", value: data.data.order_client_type_name || '' },
|
||||
{ name: "商品数量", value: data.data.buy_number_count || '' },
|
||||
{ name: "下单时间", value: data.data.add_time_time || '' },
|
||||
{ name: "下单时间", value: data.data.add_time || '' },
|
||||
],
|
||||
data_list_loding_status: 3,
|
||||
data_bottom_line_status: true,
|
||||
|
|
|
|||
|
|
@ -64,12 +64,12 @@
|
|||
{ name: "已失效", value: "5,6" },
|
||||
],
|
||||
nav_status_index: 0,
|
||||
content_list: [
|
||||
content_list: [
|
||||
{name: "订单号", field: "order_no"},
|
||||
{name: "订单金额", field: "total_price", unit: "元"},
|
||||
{name: "支付状态", field: "order_pay_status_name"},
|
||||
{name: "来源终端", field: "order_client_type_name"},
|
||||
{name: "订单时间", field: "add_time_time"}
|
||||
{name: "来源终端", field: "order_client_type_name"},
|
||||
{name: "订单时间", field: "add_time"}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
});
|
||||
|
||||
// 参数
|
||||
var order_status = (this.nav_status_list[this.nav_status_index] || null) == null ? -1 : this.nav_status_list[this.nav_status_index]['value'];
|
||||
var order_status = (this.nav_status_list[this.nav_status_index] || null) == null ? -1 : this.nav_status_list[this.nav_status_index]['value'];
|
||||
// 获取数据
|
||||
uni.request({
|
||||
url: app.globalData.get_request_url("index", "order", "distribution"),
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@
|
|||
{ name: "订单状态", value: data.data.order_status_name || '' },
|
||||
{ name: "订单支付状态", value: data.data.order_pay_status_name || '' },
|
||||
{ name: "来源终端", value: data.data.order_client_type_name || '' },
|
||||
{ name: "添加时间", value: data.data.add_time_time || '' },
|
||||
{ name: "更新时间", value: data.data.upd_time_text || '' },
|
||||
{ name: "添加时间", value: data.data.add_time || '' },
|
||||
{ name: "更新时间", value: data.data.upd_time || '' },
|
||||
],
|
||||
data_list_loding_status: 3,
|
||||
data_bottom_line_status: true,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<view v-if="data_list.length > 0" class="data-list padding-horizontal-main padding-top-main">
|
||||
<view v-for="(item, index) in data_list" :key="index" class="item padding-main border-radius-main oh bg-white spacing-mb">
|
||||
<view class="base oh br-b padding-bottom-main">
|
||||
<text class="cr-base">{{item.add_time_time}}</text>
|
||||
<text class="cr-base">{{item.add_time}}</text>
|
||||
<text class="fr cr-main">{{item.status_name}}</text>
|
||||
</view>
|
||||
<view class="content margin-top">
|
||||
|
|
|
|||
|
|
@ -1,58 +1,58 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 搜索条件 -->
|
||||
<view class="form-container nav-search bg-white br-b oh padding-horizontal-main padding-bottom-main text-size-xs cr-base pr">
|
||||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">注册时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block pr radius tl fl">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_user_time_start" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="开始时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block pr radius tl fr">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_user_time_end" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="结束时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_user_time_reverse" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_user_time_reverse.indexOf('1') != -1" style="transform:scale(0.7)" /> 反向
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">下单时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block pr radius tl fl">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_order_time_start" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="开始时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block pr radius tl fr">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_order_time_end" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="结束时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_order_time_reverse" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_order_time_reverse.indexOf('1') != -1" style="transform:scale(0.7)" /> 反向
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="margin-top oh">
|
||||
<view class="fl">是否下单:</view>
|
||||
<checkbox-group data-value="team_search_buy_type" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="0" :checked="nav_search_value.team_search_buy_type.indexOf('0') != -1" style="transform:scale(0.7)" /> 未下单
|
||||
</label>
|
||||
<label class="margin-left-xxl">
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_buy_type.indexOf('1') != -1" style="transform:scale(0.7)" /> 已下单
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="search-submit-list pa">
|
||||
<button type="default" size="mini" class="bg-gray br-gray cr-base text-size-xs round margin-right-main" @tap="search_reset_event">重置</button>
|
||||
<button type="default" size="mini" class="bg-main br-main cr-white text-size-xs round" @tap="search_submit_event">搜索</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<!-- 搜索条件 -->
|
||||
<view class="form-container nav-search bg-white br-b oh padding-horizontal-main padding-bottom-main text-size-xs cr-base pr">
|
||||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">注册时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block pr radius tl fl">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_user_time_start" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="开始时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block pr radius tl fr">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_user_time_end" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="结束时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_user_time_reverse" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_user_time_reverse.indexOf('1') != -1" style="transform:scale(0.7)" /> 反向
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">下单时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block pr radius tl fl">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_order_time_start" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="开始时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block pr radius tl fr">
|
||||
<uni-datetime-picker v-model="nav_search_value.team_search_order_time_end" :border="false" :showFirstIcon="false" :hide-second="true" type="datetime" placeholder="结束时间" placeholder-class="cr-grey" />
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_order_time_reverse" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_order_time_reverse.indexOf('1') != -1" style="transform:scale(0.7)" /> 反向
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="margin-top oh">
|
||||
<view class="fl">是否下单:</view>
|
||||
<checkbox-group data-value="team_search_buy_type" @change="search_cholce_event">
|
||||
<label>
|
||||
<checkbox value="0" :checked="nav_search_value.team_search_buy_type.indexOf('0') != -1" style="transform:scale(0.7)" /> 未下单
|
||||
</label>
|
||||
<label class="margin-left-xxl">
|
||||
<checkbox value="1" :checked="nav_search_value.team_search_buy_type.indexOf('1') != -1" style="transform:scale(0.7)" /> 已下单
|
||||
</label>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
<view class="search-submit-list pa">
|
||||
<button type="default" size="mini" class="bg-gray br-gray cr-base text-size-xs round margin-right-main" @tap="search_reset_event">重置</button>
|
||||
<button type="default" size="mini" class="bg-main br-main cr-white text-size-xs round" @tap="search_submit_event">搜索</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 数据列表 -->
|
||||
<scroll-view :scroll-y="true" class="scroll-box" @scrolltolower="scroll_lower" lower-threshold="60">
|
||||
<view v-if="data_list.length > 0" class="data-list padding-horizontal-main padding-top-main">
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
<view class="base oh br-b padding-bottom-main">
|
||||
<image class="avatar dis-block fl circle" :src="item.avatar" mode="widthFix" @tap="avatar_event" :data-value="item.avatar"></image>
|
||||
<text class="cr-base margin-left-sm">{{item.user_name_view || ''}}</text>
|
||||
<text class="cr-base fr">{{item.add_time_time}}</text>
|
||||
<text class="cr-base fr">{{item.add_time}}</text>
|
||||
</view>
|
||||
<view class="content margin-top">
|
||||
<block v-for="(fv,fi) in content_list" :key="fi">
|
||||
|
|
@ -102,29 +102,29 @@
|
|||
data_bottom_line_status: false,
|
||||
data_is_loading: 0,
|
||||
params: null,
|
||||
content_list: [
|
||||
content_list: [
|
||||
{name: "消费订单", field: "order_count", unit: "条", default: 0},
|
||||
{name: "消费金额", field: "order_total", unit: "元", default: 0},
|
||||
{name: "消费金额", field: "order_total", unit: "元", default: 0},
|
||||
{name: "最后下单时间", field: "order_last_time", default: ''},
|
||||
{name: "下级订单", field: "find_order_count", unit: "条", default: 0},
|
||||
{name: "下级消费", field: "find_order_total", unit: "元", default: 0},
|
||||
{name: "下级订单", field: "find_order_count", unit: "条", default: 0},
|
||||
{name: "下级消费", field: "find_order_total", unit: "元", default: 0},
|
||||
{name: "下级最后下单时间", field: "find_order_last_time", default: ''},
|
||||
{name: "下级用户", field: "referrer_count", unit: "个", default: 0}
|
||||
{name: "下级用户", field: "referrer_count", unit: "个", default: 0}
|
||||
|
||||
],
|
||||
nav_search_buy_type_list: [
|
||||
{value: -1, name: '全部'},
|
||||
{value: 0, name: '未下单'},
|
||||
{value: 1, name: '已下单'}
|
||||
],
|
||||
nav_search_value: {
|
||||
team_search_user_time_start: '',
|
||||
team_search_user_time_end: '',
|
||||
team_search_user_time_reverse: [],
|
||||
team_search_order_time_start: '',
|
||||
team_search_order_time_end: '',
|
||||
team_search_order_time_reverse: [],
|
||||
team_search_buy_type: [],
|
||||
],
|
||||
nav_search_buy_type_list: [
|
||||
{value: -1, name: '全部'},
|
||||
{value: 0, name: '未下单'},
|
||||
{value: 1, name: '已下单'}
|
||||
],
|
||||
nav_search_value: {
|
||||
team_search_user_time_start: '',
|
||||
team_search_user_time_end: '',
|
||||
team_search_user_time_reverse: [],
|
||||
team_search_order_time_start: '',
|
||||
team_search_order_time_end: '',
|
||||
team_search_order_time_reverse: [],
|
||||
team_search_buy_type: [],
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
@ -199,40 +199,40 @@
|
|||
// 加载loding
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
});
|
||||
|
||||
// 请求参数
|
||||
var data = {
|
||||
page: this.data_page,
|
||||
};
|
||||
|
||||
// 搜索注册时间
|
||||
if((this.nav_search_value.team_search_user_time_start || null) != null) {
|
||||
data['team_search_user_time_start'] = this.nav_search_value.team_search_user_time_start;
|
||||
}
|
||||
if((this.nav_search_value.team_search_user_time_end || null) != null) {
|
||||
data['team_search_user_time_end'] = this.nav_search_value.team_search_user_time_end;
|
||||
}
|
||||
// 用户反向
|
||||
if(this.nav_search_value.team_search_user_time_reverse.length > 0) {
|
||||
data['team_search_user_time_reverse'] = 1;
|
||||
}
|
||||
|
||||
// 搜索下单时间
|
||||
if((this.nav_search_value.team_search_order_time_start || null) != null) {
|
||||
data['team_search_order_time_start'] = this.nav_search_value.team_search_order_time_start;
|
||||
}
|
||||
if((this.nav_search_value.team_search_order_time_end || null) != null) {
|
||||
data['team_search_order_time_end'] = this.nav_search_value.team_search_order_time_end;
|
||||
}
|
||||
// 订单反向
|
||||
if(this.nav_search_value.team_search_order_time_reverse.length > 0) {
|
||||
data['team_search_order_time_reverse'] = 1;
|
||||
}
|
||||
|
||||
// 搜索是否下单
|
||||
if(this.nav_search_value.team_search_buy_type.length > 0) {
|
||||
data['team_search_buy_type'] = this.nav_search_value.team_search_buy_type.join(',');
|
||||
});
|
||||
|
||||
// 请求参数
|
||||
var data = {
|
||||
page: this.data_page,
|
||||
};
|
||||
|
||||
// 搜索注册时间
|
||||
if((this.nav_search_value.team_search_user_time_start || null) != null) {
|
||||
data['team_search_user_time_start'] = this.nav_search_value.team_search_user_time_start;
|
||||
}
|
||||
if((this.nav_search_value.team_search_user_time_end || null) != null) {
|
||||
data['team_search_user_time_end'] = this.nav_search_value.team_search_user_time_end;
|
||||
}
|
||||
// 用户反向
|
||||
if(this.nav_search_value.team_search_user_time_reverse.length > 0) {
|
||||
data['team_search_user_time_reverse'] = 1;
|
||||
}
|
||||
|
||||
// 搜索下单时间
|
||||
if((this.nav_search_value.team_search_order_time_start || null) != null) {
|
||||
data['team_search_order_time_start'] = this.nav_search_value.team_search_order_time_start;
|
||||
}
|
||||
if((this.nav_search_value.team_search_order_time_end || null) != null) {
|
||||
data['team_search_order_time_end'] = this.nav_search_value.team_search_order_time_end;
|
||||
}
|
||||
// 订单反向
|
||||
if(this.nav_search_value.team_search_order_time_reverse.length > 0) {
|
||||
data['team_search_order_time_reverse'] = 1;
|
||||
}
|
||||
|
||||
// 搜索是否下单
|
||||
if(this.nav_search_value.team_search_buy_type.length > 0) {
|
||||
data['team_search_buy_type'] = this.nav_search_value.team_search_buy_type.join(',');
|
||||
}
|
||||
|
||||
// 获取数据
|
||||
|
|
@ -323,38 +323,38 @@
|
|||
uni.navigateTo({
|
||||
url: '/pages/plugins/distribution/order/order?uid='+value
|
||||
});
|
||||
},
|
||||
|
||||
// 搜索条件事件
|
||||
search_cholce_event(e) {
|
||||
var value = e.currentTarget.dataset.value;
|
||||
var temp_data = this.nav_search_value;
|
||||
temp_data[value] = e.detail.value;
|
||||
this.setData({
|
||||
nav_search_value: temp_data
|
||||
});
|
||||
},
|
||||
|
||||
// 搜索重置事件
|
||||
search_reset_event(e) {
|
||||
var temp_data = this.nav_search_value;
|
||||
var arr_field = ['team_search_buy_type', 'team_search_order_time_reverse', 'team_search_user_time_reverse'];
|
||||
for(var i in temp_data) {
|
||||
temp_data[i] = (arr_field.indexOf(i) == -1) ? '' : [];
|
||||
}
|
||||
this.setData({
|
||||
nav_search_value: temp_data,
|
||||
data_page: 1
|
||||
});
|
||||
this.get_data_list(1);
|
||||
},
|
||||
|
||||
// 搜索确认事件
|
||||
search_submit_event(e) {
|
||||
this.setData({
|
||||
data_page: 1
|
||||
});
|
||||
this.get_data_list(1);
|
||||
},
|
||||
|
||||
// 搜索条件事件
|
||||
search_cholce_event(e) {
|
||||
var value = e.currentTarget.dataset.value;
|
||||
var temp_data = this.nav_search_value;
|
||||
temp_data[value] = e.detail.value;
|
||||
this.setData({
|
||||
nav_search_value: temp_data
|
||||
});
|
||||
},
|
||||
|
||||
// 搜索重置事件
|
||||
search_reset_event(e) {
|
||||
var temp_data = this.nav_search_value;
|
||||
var arr_field = ['team_search_buy_type', 'team_search_order_time_reverse', 'team_search_user_time_reverse'];
|
||||
for(var i in temp_data) {
|
||||
temp_data[i] = (arr_field.indexOf(i) == -1) ? '' : [];
|
||||
}
|
||||
this.setData({
|
||||
nav_search_value: temp_data,
|
||||
data_page: 1
|
||||
});
|
||||
this.get_data_list(1);
|
||||
},
|
||||
|
||||
// 搜索确认事件
|
||||
search_submit_event(e) {
|
||||
this.setData({
|
||||
data_page: 1
|
||||
});
|
||||
this.get_data_list(1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
{ name: "订单金额", value: data.data.price || '' },
|
||||
{ name: "支付金额", value: (data.data.pay_price <= 0) ? '' : (data.data.pay_price || '') },
|
||||
{ name: "支付方式", value: data.data.payment_name || '' },
|
||||
{ name: "创建时间", value: data.data.add_time_time || '' },
|
||||
{ name: "创建时间", value: data.data.add_time || '' },
|
||||
{ name: "更新时间", value: data.data.upd_time || '' },
|
||||
],
|
||||
data_list_loding_status: 3,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<view v-if="data_list.length > 0" class="data-list padding-horizontal-main padding-top-main">
|
||||
<view v-for="(item, index) in data_list" :key="index" class="item padding-main border-radius-main oh bg-white spacing-mb">
|
||||
<view class="base oh br-b padding-bottom-main">
|
||||
<text class="cr-base">{{item.add_time_time}}</text>
|
||||
<text class="cr-base">{{item.add_time}}</text>
|
||||
<text class="fr cr-main">{{item.status_name}}</text>
|
||||
</view>
|
||||
<view class="content margin-top">
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
{ name: "当前级别", value: data.data.level_name || '' },
|
||||
{ name: "结算状态", value: data.data.status_name || '' },
|
||||
{ name: "返佣规则", value: data.data.commission_rules || '' },
|
||||
{ name: "创建时间", value: data.data.add_time_time || '' },
|
||||
{ name: "创建时间", value: data.data.add_time || '' },
|
||||
{ name: "更新时间", value: data.data.upd_time || '' },
|
||||
],
|
||||
data_list_loding_status: 3,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<view v-if="data_list.length > 0" class="data-list padding-horizontal-main padding-top-main">
|
||||
<view v-for="(item, index) in data_list" :key="index" class="item padding-main border-radius-main oh bg-white spacing-mb">
|
||||
<view class="base oh br-b padding-bottom-main">
|
||||
<text class="cr-base">{{item.add_time_time}}</text>
|
||||
<text class="cr-base">{{item.add_time}}</text>
|
||||
<text class="fr cr-main">{{item.status_name}}</text>
|
||||
</view>
|
||||
<view class="content margin-top">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<view class="base oh br-b padding-bottom-main">
|
||||
<image class="avatar dis-block fl circle" :src="item.avatar" mode="widthFix" @tap="avatar_event" :data-value="item.avatar"></image>
|
||||
<text class="cr-base margin-left-sm">{{item.user_name_view || ''}}</text>
|
||||
<text class="cr-base fr">{{item.add_time_time}}</text>
|
||||
<text class="cr-base fr">{{item.add_time}}</text>
|
||||
</view>
|
||||
<view class="content margin-top">
|
||||
<block v-for="(fv,fi) in content_list" :key="fi">
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
{name: "消费金额", field: "order_total", unit: "元"},
|
||||
{name: "下级消费", field: "find_order_total", unit: "元"},
|
||||
{name: "下级用户", field: "referrer_count"},
|
||||
{name: "加入时间", field: "add_time_time"}
|
||||
{name: "加入时间", field: "add_time"}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue