mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-28 14:21:10 +00:00
【程序目录】更新v5.2.1版本
This commit is contained in:
parent
1915f70cc9
commit
51ba561823
@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
namespace app\adminapi\controller\v1\statistic;
|
||||
|
||||
use app\adminapi\controller\AuthController;
|
||||
use app\services\user\UserMoneyServices;
|
||||
use think\facade\App;
|
||||
|
||||
class BalanceStatistic extends AuthController
|
||||
{
|
||||
/**
|
||||
* @param App $app
|
||||
* @param UserMoneyServices $services
|
||||
*/
|
||||
public function __construct(App $app, UserMoneyServices $services)
|
||||
{
|
||||
parent::__construct($app);
|
||||
$this->services = $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额统计基础信息
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBasic()
|
||||
{
|
||||
$data = $this->services->getBasic();
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额统计趋势图
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTrend()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getTrend($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额来源
|
||||
* @return mixed
|
||||
*/
|
||||
public function getChannel()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getChannel($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额类型
|
||||
* @return mixed
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getType($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
namespace app\adminapi\controller\v1\statistic;
|
||||
|
||||
use app\adminapi\controller\AuthController;
|
||||
use app\services\statistic\OrderStatisticServices;
|
||||
use think\facade\App;
|
||||
|
||||
class OrderStatistic extends AuthController
|
||||
{
|
||||
public function __construct(App $app, OrderStatisticServices $services)
|
||||
{
|
||||
parent::__construct($app);
|
||||
$this->services = $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单统计基础信息
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBasic()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getBasic($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单统计趋势图
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTrend()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getTrend($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单来源
|
||||
* @return mixed
|
||||
*/
|
||||
public function getChannel()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getChannel($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单类型
|
||||
* @return mixed
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['time', '']
|
||||
]);
|
||||
$data = $this->services->getType($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
}
|
||||
106
crmeb/app/adminapi/controller/v1/statistic/ProductStatistic.php
Normal file
106
crmeb/app/adminapi/controller/v1/statistic/ProductStatistic.php
Normal file
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\adminapi\controller\v1\statistic;
|
||||
|
||||
|
||||
use app\adminapi\controller\AuthController;
|
||||
use app\services\statistic\ProductStatisticServices;
|
||||
use think\facade\App;
|
||||
|
||||
/**
|
||||
* Class ProductStatistic
|
||||
* @package app\adminapi\controller\v1\statistic
|
||||
*/
|
||||
class ProductStatistic extends AuthController
|
||||
{
|
||||
/**
|
||||
* ProductStatistic constructor.
|
||||
* @param App $app
|
||||
* @param ProductStatisticServices $services
|
||||
*/
|
||||
public function __construct(App $app, ProductStatisticServices $services)
|
||||
{
|
||||
parent::__construct($app);
|
||||
$this->services = $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品基础
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBasic()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
return app('json')->success($this->services->getBasic($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品趋势
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTrend()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getTrend($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品排行
|
||||
* @return mixed
|
||||
*/
|
||||
public function getProductRanking()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['data', '', '', 'time'],
|
||||
['sort', '']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getProductRanking($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出
|
||||
* @return mixed
|
||||
*/
|
||||
public function getExcel()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getTrend($where, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* 格式化时间
|
||||
* @param $time
|
||||
* @return string
|
||||
*/
|
||||
public function getDay($time)
|
||||
{
|
||||
if (strstr($time, '-') !== false) {
|
||||
[$startTime, $endTime] = explode('-', $time);
|
||||
if (!$startTime || !$endTime) {
|
||||
return date("Y/m/d 00:00:00", strtotime("-30 days", time())) . '-' . date("Y/m/d 23:59:59", time());
|
||||
} else {
|
||||
return date('Y/m/d 00:00:00', strtotime($startTime)).'-'.date('Y/m/d 23:59:59', strtotime($endTime));
|
||||
}
|
||||
} else {
|
||||
return date("Y/m/d 00:00:00", strtotime("-30 days", time())) . '-' . date("Y/m/d 23:59:59", time());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\adminapi\controller\v1\statistic;
|
||||
|
||||
|
||||
use app\adminapi\controller\AuthController;
|
||||
use app\services\statistic\TradeStatisticServices;
|
||||
use think\facade\App;
|
||||
|
||||
/**
|
||||
* Class TradeStatistic
|
||||
* @package app\controller\admin\v1\statistic
|
||||
*/
|
||||
class TradeStatistic extends AuthController
|
||||
{
|
||||
/**
|
||||
* TradeStatistic constructor.
|
||||
* @param App $app
|
||||
* @param TradeStatisticServices $services
|
||||
*/
|
||||
public function __construct(App $app, TradeStatisticServices $services)
|
||||
{
|
||||
parent::__construct($app);
|
||||
$this->services = $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* 顶部数据
|
||||
* @return mixed
|
||||
*/
|
||||
public function topTrade()
|
||||
{
|
||||
$leftToday = $this->services->getTopLeftTrade(['time' => 'today']);
|
||||
$leftyestoday = $this->services->getTopLeftTrade(['time' => 'yestoday']);
|
||||
$rightOne = $this->services->getTopRightOneTrade();
|
||||
$rightTwo = $this->services->getTopRightTwoTrade();
|
||||
$right = ['today' => $rightOne, 'month' => $rightTwo];
|
||||
$totalleft = [$leftToday, $leftyestoday];
|
||||
$left = [];
|
||||
foreach ($totalleft as $k => $v) {
|
||||
$left['name'] = "当日订单金额";
|
||||
$left['x'] = $v['curve']['x'];
|
||||
$left['series'][$k]['money'] = round($v['total_money'], 2);
|
||||
$left['series'][$k]['value'] = array_values($v['curve']['y']);
|
||||
}
|
||||
|
||||
$data['left'] = $left;
|
||||
$data['right'] = $right;
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 底部数据
|
||||
* @return mixed
|
||||
*/
|
||||
public function bottomTrade()
|
||||
{
|
||||
$day = $this->request->getMore([
|
||||
['data', ""],
|
||||
]);
|
||||
$bottom = $this->services->getBottomTrade($day);
|
||||
return app('json')->success($bottom);
|
||||
}
|
||||
|
||||
}
|
||||
152
crmeb/app/adminapi/controller/v1/statistic/UserStatistic.php
Normal file
152
crmeb/app/adminapi/controller/v1/statistic/UserStatistic.php
Normal file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\adminapi\controller\v1\statistic;
|
||||
|
||||
|
||||
use app\adminapi\controller\AuthController;
|
||||
use app\services\statistic\UserStatisticServices;
|
||||
use think\facade\App;
|
||||
|
||||
/**
|
||||
* Class UserStatistic
|
||||
* @package app\adminapi\controller\v1\statistic
|
||||
*/
|
||||
class UserStatistic extends AuthController
|
||||
{
|
||||
/**
|
||||
* UserStatistic constructor.
|
||||
* @param App $app
|
||||
* @param UserStatisticServices $services
|
||||
*/
|
||||
public function __construct(App $app, UserStatisticServices $services)
|
||||
{
|
||||
parent::__construct($app);
|
||||
$this->services = $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户基础信息
|
||||
* @return mixed
|
||||
*/
|
||||
public function getBasic()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
return app('json')->success($this->services->getBasic($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户趋势
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTrend()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getTrend($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信用户信息
|
||||
* @return mixed
|
||||
*/
|
||||
public function getWechat()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getWechat($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信用户趋势
|
||||
* @return mixed
|
||||
*/
|
||||
public function getWechatTrend()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getWechatTrend($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户地域
|
||||
* @return mixed
|
||||
*/
|
||||
public function getRegion()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time'],
|
||||
['sort', 'allNum']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getRegion($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户性别
|
||||
* @return mixed
|
||||
*/
|
||||
public function getSex()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getSex($where));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户统计导出
|
||||
* @return mixed
|
||||
*/
|
||||
public function getExcel()
|
||||
{
|
||||
$where = $this->request->getMore([
|
||||
['channel_type', ''],
|
||||
['data', '', '', 'time']
|
||||
]);
|
||||
$where['time'] = $this->getDay($where['time']);
|
||||
return app('json')->success($this->services->getTrend($where, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* 格式化时间
|
||||
* @param $time
|
||||
* @return string
|
||||
*/
|
||||
public function getDay($time)
|
||||
{
|
||||
if (strstr($time, '-') !== false) {
|
||||
[$startTime, $endTime] = explode('-', $time);
|
||||
if (!$startTime || !$endTime) {
|
||||
return date("Y/m/d 00:00:00", strtotime("-30 days", time())) . '-' . date("Y/m/d 23:59:59", time());
|
||||
} else {
|
||||
return date('Y/m/d 00:00:00', strtotime($startTime)).'-'.date('Y/m/d 23:59:59', strtotime($endTime));
|
||||
}
|
||||
} else {
|
||||
return date("Y/m/d 00:00:00", strtotime("-30 days", time())) . '-' . date("Y/m/d 23:59:59", time());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -82,7 +82,7 @@ class StoreOrderDao extends BaseDao
|
||||
$query->where('paid', 1)->where('status', 0)->where('refund_status', 0)->where('shipping_type', 2)->where('is_del', 0);
|
||||
break;
|
||||
case 6://已支付 已核销 没有退款
|
||||
$query->where('paid', 1)->where('status', 2)->where('refund_status', 0)->where('shipping_type', 2)->where('is_del', 0);
|
||||
$query->where('paid', 1)->whereIn('status', [2,3])->where('refund_status', 0)->where('shipping_type', 2)->where('is_del', 0);
|
||||
break;
|
||||
case -1://退款中
|
||||
$query->where('paid', 1)->whereIn('refund_status', [1, 4])->where('is_del', 0);
|
||||
|
||||
@ -349,6 +349,8 @@ class UserBrokerageServices extends BaseServices
|
||||
$data['uid'] = $uid;
|
||||
$data['pm'] = 1;
|
||||
$data['commissionSum'] = $this->getUsersBokerageSum($data);
|
||||
$extract_fail = $this->dao->sum(['uid' => $uid, 'pm' => 1, 'type' => 'extract_fail'], 'number');
|
||||
$data['commissionSum'] = bcadd($data['commissionSum'], $extract_fail, 2);
|
||||
$data['pm'] = 0;
|
||||
$data['commissionRefund'] = $this->getUsersBokerageSum($data);
|
||||
$data['commissionCount'] = $data['commissionSum'] > $data['commissionRefund'] ? bcsub((string)$data['commissionSum'], (string)$data['commissionRefund'], 2) : 0.00;
|
||||
|
||||
@ -151,11 +151,11 @@ class FeiEYun extends BasePrinter
|
||||
unset($price);
|
||||
}
|
||||
$this->printerContent .= '--------------------------------<BR>';
|
||||
$this->printerContent .= '合计:' . number_format($orderInfo['total_price'], 1) . '元<BR>';
|
||||
$this->printerContent .= '邮费:' . number_format($orderInfo['pay_postage'], 1) . '元<BR>';
|
||||
$this->printerContent .= '优惠:' . number_format($orderInfo['coupon_price'], 1) . '元<BR>';
|
||||
$this->printerContent .= '抵扣:' . number_format($orderInfo['deduction_price'], 1) . '元<BR>';
|
||||
$this->printerContent .= '实际支付:' . number_format($orderInfo['pay_price'], 1) . '元<BR>';
|
||||
$this->printerContent .= '合计:' . number_format($orderInfo['total_price'], 2) . '元<BR>';
|
||||
$this->printerContent .= '邮费:' . number_format($orderInfo['pay_postage'], 2) . '元<BR>';
|
||||
$this->printerContent .= '优惠:' . number_format($orderInfo['coupon_price'], 2) . '元<BR>';
|
||||
$this->printerContent .= '抵扣:' . number_format($orderInfo['deduction_price'], 2) . '元<BR>';
|
||||
$this->printerContent .= '实际支付:' . number_format($orderInfo['pay_price'], 2) . '元<BR>';
|
||||
$this->printerContent .= '<QR>' . $config['url'] . '</QR>';//把解析后的二维码生成的字符串用标签套上即可自动生成二维码
|
||||
return $this;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.auth[data-v-d24db6b6]{padding:9px 16px 9px 10px}.auth .iconIos[data-v-d24db6b6]{font-size:40px;margin-right:10px;color:#001529}.auth .text[data-v-d24db6b6]{font-weight:400;color:#000;font-size:18px}.auth .text .code[data-v-d24db6b6]{font-size:14px;color:rgba(0,0,0,.5)}.auth .text .pro_price[data-v-d24db6b6]{height:18px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#f5222d;line-height:18px}.auth .blue[data-v-d24db6b6]{color:var(--prev-color-primary)!important}.auth .red[data-v-d24db6b6]{color:#ed4014!important}.authorized[data-v-d24db6b6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:18px;margin-bottom:14px}.authorized .upload[data-v-d24db6b6]{width:60px;height:60px;background:rgba(0,0,0,.02);border-radius:4px;border:1px solid #ddd}.upload .iconfont[data-v-d24db6b6]{text-align:center;line-height:60px}.uploadPictrue[data-v-d24db6b6]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-left:2px}.uploadPictrue img[data-v-d24db6b6]{width:100%;height:100%}.phone_code[data-v-d24db6b6]{border:1px solid #eee;padding:0 10px 0;cursor:pointer}.grey[data-v-d24db6b6]{background-color:#999;border-color:#999;color:#fff}.update[data-v-d24db6b6]{font-size:13px;color:rgba(0,0,0,.85);padding-right:12px}.prompt[data-v-d24db6b6]{margin-left:114px;font-size:12px;font-weight:400;color:#999}.submit[data-v-d24db6b6]{width:100%}.code .input[data-v-d24db6b6]{width:83%}.code .input .ivu-input[data-v-d24db6b6]{border-radius:4px 0 0 4px!important}.code .pictrue[data-v-d24db6b6]{height:32px;width:17%}.customer[data-v-d24db6b6]{border-right:0}.customer a[data-v-d24db6b6]{font-size:12px}.ivu-input-group-append[data-v-d24db6b6],.ivu-input-group-prepend[data-v-d24db6b6]{background-color:#fff}.ivu-input-group .ivu-input[data-v-d24db6b6]{border-right:0!important}.qrcode[data-v-d24db6b6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:180px;height:180px;border:1px solid #e5e5e6}.qrcode_desc[data-v-d24db6b6]{display:inline-block;text-align:center;margin:10px 0 10px;width:180px;font-size:12px;color:#666;line-height:16px}.login_tab[data-v-d24db6b6]{font-size:16px;margin:0 0 20px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login_tab_item[data-v-d24db6b6]{width:50%;text-align:center;padding-bottom:15px;border-bottom:1px solid #eee;cursor:pointer}.active_tab[data-v-d24db6b6]{border-bottom:2px solid #1495ed;color:#1495ed;font-weight:600}iframe[data-v-d24db6b6]{height:370px;overflow:hidden}
|
||||
@ -0,0 +1 @@
|
||||
.auth[data-v-1409d832]{padding:9px 16px 9px 10px}.auth .box[data-v-1409d832]{width:50px}.auth .iconIos[data-v-1409d832]{font-size:40px;margin-right:10px;color:#001529}.auth .text[data-v-1409d832]{font-weight:400;color:#000;font-size:18px}.auth .text .code[data-v-1409d832]{font-size:14px;color:rgba(0,0,0,.5)}.auth .text .pro_price[data-v-1409d832]{height:18px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#f5222d;line-height:18px}.auth .blue[data-v-1409d832]{color:var(--prev-color-primary)!important}.auth .red[data-v-1409d832]{color:#ed4014!important}.authorized[data-v-1409d832]{display:-webkit-box;display:-ms-flexbox;display:flex}.authorized .upload[data-v-1409d832]{width:60px;height:60px;background:rgba(0,0,0,.02);border-radius:4px;border:1px solid #ddd}.upload .iconfont[data-v-1409d832]{text-align:center;line-height:60px}.uploadPictrue[data-v-1409d832]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-left:2px}.uploadPictrue img[data-v-1409d832]{width:100%;height:100%}.phone_code[data-v-1409d832]{border:1px solid #eee;padding:0 10px 0;cursor:pointer}.grey[data-v-1409d832]{background-color:#999;border-color:#999;color:#fff}.update[data-v-1409d832]{font-size:13px;color:rgba(0,0,0,.85);padding-right:12px}.prompt[data-v-1409d832]{margin-left:150px;font-size:12px;font-weight:400;color:#999}.submit[data-v-1409d832]{width:100%}.code .input[data-v-1409d832]{width:83%}.code .input .ivu-input[data-v-1409d832]{border-radius:4px 0 0 4px!important}.code .pictrue[data-v-1409d832]{height:32px;width:17%}.customer[data-v-1409d832]{border-right:0}.customer a[data-v-1409d832]{font-size:12px}.ivu-input-group-append[data-v-1409d832],.ivu-input-group-prepend[data-v-1409d832]{background-color:#fff}.ivu-input-group .ivu-input[data-v-1409d832]{border-right:0!important}.qrcode[data-v-1409d832]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:180px;height:180px;border:1px solid #e5e5e6}.qrcode_desc[data-v-1409d832]{display:inline-block;text-align:center;margin:10px 0 10px;width:180px;font-size:12px;color:#666;line-height:16px}.login_tab[data-v-1409d832]{font-size:16px;margin:0 0 20px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login_tab_item[data-v-1409d832]{width:50%;text-align:center;padding-bottom:15px;border-bottom:1px solid #eee;cursor:pointer}.active_tab[data-v-1409d832]{border-bottom:2px solid #1495ed;color:#1495ed;font-weight:600}iframe[data-v-1409d832]{height:370px;overflow:hidden}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>加载中</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f0650e31.js></script><script src=/static/js/index.c067094e.js></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f0650e31.js></script><script src=/static/js/index.12480fc8.js></script></body></html>
|
||||
@ -33731,6 +33731,7 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config
|
||||
(388, 'customer_corpId', 'text', 'input', 69, '', 1, '', 0, 0, '\"\"', '企业ID', '如果客服链接填写企业微信客服,小程序需要跳转企业微信客服的话需要配置此项,并且在小程序客服中绑定企业ID', 0, 1),
|
||||
(389, 'create_wechat_user', 'radio', 'input', 130, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '0', '关注是否生成用户', '用户关注公众号之后是否生成商城用户', 0, 1),
|
||||
(390, 'friend_pay_status', 'radio', 'input', 109, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '1', '好友代付', '好友代付开关,关闭后付款类型不显示好友代付', 0, 1),
|
||||
(391, 'division_status', 'radio', 'input', 72, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '0', '事业部开关', '事业部开关,关闭后不不计算事业部佣金', 0, 1),
|
||||
(392, 'brokerage_level', 'radio', 'input', 72, '1=>一级分销\r\n2=>二级分销', 1, '', 0, 0, '2', '分销层级', '分销层级,一级是只返上级一层的佣金,二级是返上级和上上级的佣金', 98, 1),
|
||||
(393, 'sms_type', 'radio', 'input', 97, '0=>一号通\r\n1=>阿里云\r\n2=>腾讯云', 1, '', 0, 0, '0', '短信类型', '短信类型,选择发送的短信类型', 0, 1),
|
||||
(394, 'aliyun_AccessKeyId', 'text', 'input', 98, '', 1, '', 0, 0, '\"\"', 'AccessKeyId', '阿里云AccessKeyId', 100, 1),
|
||||
@ -47500,6 +47501,8 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(687, 686, '', '直播间管理', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/marketing/live/live_room', '', 1, '', 0, 'admin-marketing-live-live_room', 0, '直播间管理'),
|
||||
(688, 686, '', '直播商品管理', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/marketing/live/live_goods', '', 1, '', 0, 'admin-marketing-live-live_goods', 0, '直播商品管理'),
|
||||
(689, 686, '', '主播管理', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/marketing/live/anchor', '', 1, '', 0, 'admin-marketing-live-anchor', 0, '主播管理'),
|
||||
(717, 1, '', '商品统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/statistic/product', '1', 1, '', 0, 'admin-statistic', 0, '商品统计'),
|
||||
(718, 9, '', '用户统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/statistic/user', '9', 1, '', 0, 'admin-statistic', 0, '用户统计'),
|
||||
(720, 303, '', '配送员管理', 'admin', '', '', '', '', '[]', 10, 1, 1, 1, '/setting/delivery_service/index', '', 1, '', 0, 'setting-delivery-service', 0, '配送员管理'),
|
||||
(731, 27, '', '付费会员', 'admin', '', '', '', '', '[]', 70, 1, 1, 1, '/user/grade', '27', 1, '', 0, 'user-user-grade', 0, '付费会员'),
|
||||
(738, 165, '', '用户留言', 'admin', '', '', '', '', '[]', 8, 1, 1, 1, '/setting/store_service/feedback', '165', 1, '', 0, 'admin-setting-store_service-feedback', 0, '用户留言'),
|
||||
@ -47509,6 +47512,7 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(762, 731, '', '卡密会员', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/user/grade/card', '', 1, '', 0, 'admin-user-grade-card', 0, '卡密会员'),
|
||||
(763, 731, '', '会员记录', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/user/grade/record', '', 1, '', 0, 'admin-user-grade-record', 0, '会员记录'),
|
||||
(765, 731, '', '会员权益', 'admin', '', '', '', '', '[]', 4, 1, 1, 1, '/user/grade/right', '', 1, '', 0, 'admin-user-grade-right', 0, '会员权益'),
|
||||
(766, 35, '', '交易统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/statistic/transaction', '35', 1, '', 0, 'admin-statistic', 0, '交易统计'),
|
||||
(767, 36, '', '发票管理', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/order/invoice/list', '', 1, '', 0, 'admin-order-startOrderInvoice-index', 0, '发票管理'),
|
||||
(896, 26, '', '分销等级', 'admin', '', '', '', '', '[]', 95, 1, 1, 1, '/setting/membership_level/index', '26', 1, '', 0, 'admin-setting-membership_level-index', 0, '分销等级'),
|
||||
(897, 4, '', '售后订单', 'admin', '', '', '', '', '[]', 9, 1, 1, 1, '/order/refund', '4', 1, '', 0, 'admin-order-refund', 0, '售后订单'),
|
||||
@ -47520,12 +47524,14 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(912, 34, '', '积分订单', 'admin', '', '', '', '', '[]', 90, 1, 1, 1, '/marketing/store_integral/order_list', '27/34', 1, '', 0, 'marketing-store_integral-order', 0, '积分订单'),
|
||||
(993, 135, '', '小程序', 'admin', '', '', '', '', '[]', 3, 1, 1, 1, '/app/routine', '135', 1, '', 0, 'admin-routine', 0, '小程序'),
|
||||
(994, 993, '', '小程序下载', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/app/routine/download', '135/993', 1, '', 0, 'routine-download', 0, '小程序下载'),
|
||||
(997, 4, '', '订单统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/statistic/order', '4', 1, '', 0, 'admin-statistic', 0, '订单统计'),
|
||||
(998, 37, '', '资金流水', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/finance/capital_flow/index', '35/37', 1, '', 0, 'finance-capital_flow-index', 0, '资金流水'),
|
||||
(999, 37, '', '账单记录', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/finance/billing_records/index', '35/37', 1, '', 0, 'finance-billing_records-index', 0, '账单记录'),
|
||||
(1001, 34, '', '积分记录', 'admin', '', '', '', '', '[]', 85, 1, 1, 1, '/marketing/point_record', '27/34', 1, '', 0, 'marketing-point_record-index', 0, '积分记录'),
|
||||
(1002, 34, '', '积分统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/marketing/point_statistic', '27/34', 1, '', 0, 'marketing-point_statistic-index', 0, '积分统计'),
|
||||
(1003, 35, '', '余额记录', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/finance/balance', '35', 1, '', 0, 'finance-balance-index', 0, '余额记录'),
|
||||
(1004, 1003, '', '余额记录', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/finance/balance/balance', '35/1003', 1, '', 0, 'finance-user-balance', 0, '余额记录'),
|
||||
(1005, 1003, '', '余额统计', 'admin', '', '', '', '', '[]', 100, 1, 1, 1, '/statistic/balance', '35/1003', 1, '', 0, 'admin-statistic', 0, '余额统计'),
|
||||
(1006, 69, '', '公众号配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/setting/wechat_config/2/2', '135/69', 1, '', 0, 'setting-system-config', 0, '公众号配置'),
|
||||
(1007, 993, '', '小程序配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/setting/routine_config/2/7', '135/993', 1, '', 0, 'setting-system-config', 0, '小程序配置'),
|
||||
(1008, 135, '', 'PC端', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/app/pc', '135', 1, '', 0, 'admin-pc', 0, 'PC端'),
|
||||
@ -47533,6 +47539,10 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(1010, 1008, '', 'PC端配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/setting/pc_config/2/75', '135/1008', 1, '', 0, 'setting-system-config', 0, 'PC端配置'),
|
||||
(1011, 1009, '', 'APP配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/setting/app_config/2/77', '135/1009', 1, '', 0, 'setting-system-config', 0, 'APP配置'),
|
||||
(1012, 1056, '', '系统存储配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/setting/storage', '12', 1, '', 0, 'setting-storage', 0, '系统存储配置'),
|
||||
(1013, 26, '', '事业部', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/agent/division', '26', 1, '', 0, 'agent-division', 0, '事业部'),
|
||||
(1014, 1013, '', '事业部列表', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/division/index', '26/1013', 1, '', 0, 'agent-division-index', 0, '事业部列表'),
|
||||
(1015, 1013, '', '代理商列表', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/division/agent/index', '26/1013', 1, '', 0, 'agent-division-agent-index', 0, '代理商列表'),
|
||||
(1016, 1013, '', '代理商申请', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/division/agent/applyList', '26/1013', 1, '', 0, 'agent-division-agent-applyList', 0, '代理商申请'),
|
||||
(1018, 909, '', '抽奖配置', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/marketing/lottery/create', '27/909', 1, '', 0, 'admin-marketing-lottery-create', 0, '抽奖配置'),
|
||||
(1019, 909, '', '中奖记录', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/marketing/lottery/recording_list', '27/909', 1, '', 0, 'admin-marketing-lottery-recording_list-id', 0, '中奖记录'),
|
||||
(1023, 27, '', '渠道码', 'admin', '', '', '', '', '[]', 55, 1, 1, 1, '/marketing/channel_code/channelCodeIndex', '27', 1, '', 0, 'marketing-channel_code-index', 0, '渠道码'),
|
||||
@ -47993,6 +48003,31 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(2904, 2893, '', '修改分销员等级任务', '', '', '', 'agent/level_task/<id>', 'PUT', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-level_task', 0, '修改分销员等级任务'),
|
||||
(2905, 2893, '', '删除分销员等级任务', '', '', '', 'agent/level_task/<id>', 'DELETE', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-level_task', 0, '删除分销员等级任务'),
|
||||
(2906, 2893, '', '修改分销等级任务状态', '', '', '', 'agent/level_task/set_status/<id>/<status>', 'PUT', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-level_task-set_status', 0, '修改分销等级任务状态'),
|
||||
(2907, 1014, '', '添加事业部', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1014', 3, '', 0, 'division-add', 0, '添加事业部'),
|
||||
(2908, 1014, '', '修改事业部', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1014', 3, '', 0, 'division-edit', 0, '修改事业部'),
|
||||
(2909, 1014, '', '删除事业部', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1014', 3, '', 0, 'division-delete', 0, '删除事业部'),
|
||||
(2910, 1014, '', '查看代理商', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1014', 3, '', 0, 'division-scan-agent', 0, '查看代理商'),
|
||||
(2911, 2907, '', '添加事业部', '', '', '', 'agent/division/create/<uid>', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-create', 0, '添加事业部'),
|
||||
(2912, 2907, '', '事业部保存', '', '', '', 'agent/division/save', 'POST', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-save', 0, '事业部保存'),
|
||||
(2913, 2908, '', '添加事业部', '', '', '', 'agent/division/create/<uid>', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-create-646720ac60991', 0, '添加事业部'),
|
||||
(2914, 2908, '', '事业部保存', '', '', '', 'agent/division/save', 'POST', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-save-646720ac6099a', 0, '事业部保存'),
|
||||
(2915, 2909, '', '删除代理商', '', '', '', 'agent/division/del/<type>/<uid>', 'DELETE', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-del', 0, '删除代理商'),
|
||||
(2916, 2910, '', '下级列表', '', '', '', 'agent/division/down_list', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-down_list', 0, '下级列表'),
|
||||
(2917, 1015, '', '添加代理商', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1015', 3, '', 0, 'division-agent-add', 0, '添加代理商'),
|
||||
(2918, 1015, '', '修改代理商', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1015', 3, '', 0, 'division-agent-edit', 0, '修改代理商'),
|
||||
(2919, 1015, '', '删除代理商', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1015', 3, '', 0, 'division-agent-delete', 0, '删除代理商'),
|
||||
(2920, 1015, '', '查看员工', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1015', 3, '', 0, 'division-agent-staff', 0, '查看员工'),
|
||||
(2921, 2917, '', '添加事业部', '', '', '', 'agent/division/agent/create/<uid>', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-agent-create', 0, '添加事业部'),
|
||||
(2922, 2917, '', '事业部保存', '', '', '', 'agent/division/agent/save', 'POST', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-agent-save', 0, '事业部保存'),
|
||||
(2923, 2918, '', '添加事业部', '', '', '', 'agent/division/agent/create/<uid>', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-agent-create-64672134e5497', 0, '添加事业部'),
|
||||
(2924, 2918, '', '事业部保存', '', '', '', 'agent/division/agent/save', 'POST', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-agent-save-64672134e54a1', 0, '事业部保存'),
|
||||
(2925, 2919, '', '删除代理商', '', '', '', 'agent/division/del/<type>/<uid>', 'DELETE', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-del-64672140f09bd', 0, '删除代理商'),
|
||||
(2926, 2920, '', '下级列表', '', '', '', 'agent/division/down_list', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-down_list-6467214aa534c', 0, '下级列表'),
|
||||
(2927, 1016, '', '审核代理商', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '26/1013/1016', 3, '', 0, 'division-agent-apply', 0, '审核代理商'),
|
||||
(2928, 2927, '', '代理商申请列表', '', '', '', 'agent/division/agent_apply/list', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-agent_apply-list', 0, '代理商申请列表'),
|
||||
(2929, 2927, '', '审核表单', '', '', '', 'agent/division/examine_apply/<id>/<type>', 'GET', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-examine_apply', 0, '审核表单'),
|
||||
(2930, 2927, '', '提交审核', '', '', '', 'agent/division/apply_agent/save', 'POST', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-apply_agent-save', 0, '提交审核'),
|
||||
(2931, 2927, '', '删除审核', '', '', '', 'agent/division/del_apply/<id>', 'DELETE', '[]', 1, 1, 1, 1, '', '', 2, '', 0, 'agent-division-del_apply', 0, '删除审核'),
|
||||
(2932, 678, '', '添加客服', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '165/678', 3, '', 0, 'service-add', 0, '添加客服'),
|
||||
(2933, 678, '', '编辑客服', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '165/678', 3, '', 0, 'service-edit', 0, '编辑客服'),
|
||||
(2934, 678, '', '删除客服', 'admin', '', '', '', '', '[]', 0, 1, 1, 1, '/', '165/678', 3, '', 0, 'service-delete', 0, '删除客服'),
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
|
||||
}
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
|
||||
}
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_distribution_level/index"],{"481d":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("4789");i(n("66fd"));var o=i(n("d4d9"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},4930:function(t,e,n){"use strict";n.r(e);var i=n("5557"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},5557:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("d1ea"),a=n("2a39"),l=n("86eb"),r=n("26cb"),s=i(n("19b6")),u={components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/recommend/index")]).then(function(){return resolve(n("7992"))}.bind(null,n)).catch(n.oe)}},mixins:[s.default],data:function(){return{reach_count:0,distributionLevel:[],swiperIndex:0,growthValue:!0,task:[],illustrate:"",level_id:0,hostProduct:[],grade:0,hotScroll:!1,hotPage:1,hotLimit:10,level_title:"",level_discount:"",levelInfo:{},userInfo:{},taskInfo:{},taskNum:0}},computed:(0,r.mapGetters)(["isLogin"]),watch:{distributionLevel:function(){var t=this;t.distributionLevel.length>0&&t.distributionLevel.forEach((function(e,n){!1===e.is_clear&&(t.activeIndex=n,t.grade=e.grade)}))},isLogin:{handler:function(t,e){t&&this.get_host_product()},deep:!0}},onLoad:function(){this.isLogin?this.agentLevelList():(0,l.toLogin)(),this.get_host_product()},onPageScroll:function(e){t.$emit("scroll")},methods:{agentLevelList:function(){var t=this;(0,o.agentLevelList)().then((function(e){var n=e.data,i=n.level_info,o=n.level_list,a=n.task,l=n.user;t.levelInfo=i,t.distributionLevel=o,t.userInfo=l,t.taskInfo=a,t.levelInfo.exp=parseFloat(t.levelInfo.exp),t.levelInfo.rate=Math.floor(t.levelInfo.exp/t.levelInfo.exp_num*100),t.levelInfo.rate>100&&(t.levelInfo.rate=100);var r=o.findIndex((function(t,e){return t.id===l.agent_level}));-1!==r&&(t.swiperIndex=-1===r?0:r),t.level_id=t.distributionLevel[-1===r?0:r].id||0,t.getTask()}))},get_host_product:function(){var t=this;t.hotScroll||(0,a.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data)}))},swiperChange:function(t){var e=t.detail.current;this.swiperIndex=e,this.level_id=this.distributionLevel[e].id||0,this.level_title=this.distributionLevel[e].name||"",this.level_discount=this.distributionLevel[e].discount||"",this.getTask()},growthValueClose:function(){this.growthValue=!0},opHelp:function(t){this.growthValue=!1,this.illustrate=this.task[t].desc},getTask:function(){var t=this;t.taskNum=0,(0,o.agentLevelTaskList)(t.level_id).then((function(e){t.task=e.data;for(var n=0;n<t.task.length;n++)t.task[n].finish&&(t.taskNum+=1)}))}},onReachBottom:function(){this.hotScroll||this.get_host_product()}};e.default=u}).call(this,n("543d")["default"])},"8aaa":function(t,e,n){},d463:function(t,e,n){"use strict";var i=n("8aaa"),o=n.n(i);o.a},d4d9:function(t,e,n){"use strict";n.r(e);var i=n("ef13"),o=n("4930");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("d463");var l=n("f0c5"),r=Object(l["a"])(o["default"],i["b"],i["c"],!1,null,"63b18abd",null,!1,i["a"],void 0);e["default"]=r.exports},ef13:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.$t("一级分佣上浮")),i=t.$t("二级分佣上浮"),o=t.__map(t.distributionLevel,(function(e,n){var i=t.__get_orig(e),o=t.$t(e.name);return{$orig:i,m0:o}})),a=t.$t("快速升级技巧"),l=t.task.length,r=t.__map(t.task,(function(e,n){var i=t.__get_orig(e),o=t.$t(e.name),a=e.finish?t.$t("已完成"):null,l=e.finish?null:t.$t("未完成"),r=Math.floor(e.new_number/e.number>1?100:e.new_number/e.number*100),s=e.finish?null:t.$t(e.task_type_title);return{$orig:i,m4:o,m5:a,m6:l,g1:r,m7:s}})),s=t.hostProduct.length;t._isMounted||(t.e0=function(e){t.growthValue=!0}),t.$mp.data=Object.assign({},{$root:{m1:n,m2:i,l0:o,m3:a,g0:l,l1:r,g2:s}})},o=[]}},[["481d","common/runtime","common/vendor"]]]);
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_distribution_level/index"],{"1c3d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.$t("一级分佣比例")),i=t.$t("二级分佣比例"),o=t.__map(t.distributionLevel,(function(e,n){var i=t.__get_orig(e),o=t.$t(e.name);return{$orig:i,m0:o}})),l=t.$t("快速升级技巧"),a=t.task.length,r=t.__map(t.task,(function(e,n){var i=t.__get_orig(e),o=t.$t(e.name),l=e.finish?t.$t("已完成"):null,a=e.finish?null:t.$t("未完成"),r=Math.floor(e.new_number/e.number>1?100:e.new_number/e.number*100),s=e.finish?null:t.$t(e.task_type_title);return{$orig:i,m4:o,m5:l,m6:a,g1:r,m7:s}})),s=t.hostProduct.length;t._isMounted||(t.e0=function(e){t.growthValue=!0}),t.$mp.data=Object.assign({},{$root:{m1:n,m2:i,l0:o,m3:l,g0:a,l1:r,g2:s}})},o=[]},"481d":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("4789");i(n("66fd"));var o=i(n("d4d9"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},4930:function(t,e,n){"use strict";n.r(e);var i=n("5557"),o=n.n(i);for(var l in i)["default"].indexOf(l)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(l);e["default"]=o.a},5557:function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("d1ea"),l=n("2a39"),a=n("86eb"),r=n("26cb"),s=i(n("19b6")),u={components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/recommend/index")]).then(function(){return resolve(n("7992"))}.bind(null,n)).catch(n.oe)}},mixins:[s.default],data:function(){return{reach_count:0,distributionLevel:[],swiperIndex:0,growthValue:!0,task:[],illustrate:"",level_id:0,hostProduct:[],grade:0,hotScroll:!1,hotPage:1,hotLimit:10,level_title:"",level_discount:"",levelInfo:{},userInfo:{},taskInfo:{},taskNum:0}},computed:(0,r.mapGetters)(["isLogin"]),watch:{distributionLevel:function(){var t=this;t.distributionLevel.length>0&&t.distributionLevel.forEach((function(e,n){!1===e.is_clear&&(t.activeIndex=n,t.grade=e.grade)}))},isLogin:{handler:function(t,e){t&&this.get_host_product()},deep:!0}},onLoad:function(){this.isLogin?this.agentLevelList():(0,a.toLogin)(),this.get_host_product()},onPageScroll:function(e){t.$emit("scroll")},methods:{agentLevelList:function(){var t=this;(0,o.agentLevelList)().then((function(e){var n=e.data,i=n.level_info,o=n.level_list,l=n.task,a=n.user;t.levelInfo=i,t.distributionLevel=o,t.userInfo=a,t.taskInfo=l,t.levelInfo.exp=parseFloat(t.levelInfo.exp),t.levelInfo.rate=Math.floor(t.levelInfo.exp/t.levelInfo.exp_num*100),t.levelInfo.rate>100&&(t.levelInfo.rate=100);var r=o.findIndex((function(t,e){return t.id===a.agent_level}));-1!==r&&(t.swiperIndex=-1===r?0:r),t.level_id=t.distributionLevel[-1===r?0:r].id||0,t.getTask()}))},get_host_product:function(){var t=this;t.hotScroll||(0,l.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data)}))},swiperChange:function(t){var e=t.detail.current;this.swiperIndex=e,this.level_id=this.distributionLevel[e].id||0,this.level_title=this.distributionLevel[e].name||"",this.level_discount=this.distributionLevel[e].discount||"",this.getTask()},growthValueClose:function(){this.growthValue=!0},opHelp:function(t){this.growthValue=!1,this.illustrate=this.task[t].desc},getTask:function(){var t=this;t.taskNum=0,(0,o.agentLevelTaskList)(t.level_id).then((function(e){t.task=e.data;for(var n=0;n<t.task.length;n++)t.task[n].finish&&(t.taskNum+=1)}))}},onReachBottom:function(){this.hotScroll||this.get_host_product()}};e.default=u}).call(this,n("543d")["default"])},"634a":function(t,e,n){},"80cb":function(t,e,n){"use strict";var i=n("634a"),o=n.n(i);o.a},d4d9:function(t,e,n){"use strict";n.r(e);var i=n("1c3d"),o=n("4930");for(var l in o)["default"].indexOf(l)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(l);n("80cb");var a=n("f0c5"),r=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"6ff6671d",null,!1,i["a"],void 0);e["default"]=r.exports}},[["481d","common/runtime","common/vendor"]]]);
|
||||
@ -1 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-63b18abd"><view class="member-center data-v-63b18abd"><image class="bag data-v-63b18abd" src="../../../static/images/jf-head.png" mode></image><view class="header data-v-63b18abd"><swiper class="swiper data-v-63b18abd" current="{{swiperIndex}}" previous-margin="55rpx" next-margin="55rpx" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-63b18abd"><swiper-item class="data-v-63b18abd"><view class="{{['swiper-item','data-v-63b18abd',(swiperIndex==index)?'on':'']}}" style="{{'background-image:'+('url('+item.$orig.image+')')+';'}}"><view class="acea-row row-middle user-wrap data-v-63b18abd"><image class="image data-v-63b18abd" src="{{userInfo.avatar}}"></image><view class="user-msg data-v-63b18abd"><view class="text data-v-63b18abd"><view class="name data-v-63b18abd">{{userInfo.nickname}}</view><view class="{{['level','data-v-63b18abd',(item.$orig.grade>(levelInfo.grade||0))?'level-sty':'']}}">{{''+item.m0+''}}</view></view></view><block wx:if="{{item.$orig.grade>(levelInfo.grade||0)}}"><view class="state data-v-63b18abd"><image class="lock data-v-63b18abd" src="../static/lock.png" mode></image></view></block></view><view class="level-grow-wrap data-v-63b18abd"><view class="{{['level-info','data-v-63b18abd',(item.$orig.grade>(levelInfo.grade||0))?'lock-sty':'']}}"><view class="level-info-title data-v-63b18abd">{{$root.m1}}</view><view class="num data-v-63b18abd">{{item.$orig.one_brokerage+''}}<text class="percent data-v-63b18abd">%</text></view></view><view class="{{['level-info','data-v-63b18abd',(item.$orig.grade>(levelInfo.grade||0))?'lock-sty':'']}}"><view class="level-info-title data-v-63b18abd">{{$root.m2}}</view><view class="num data-v-63b18abd">{{item.$orig.two_brokerage}}<text class="percent data-v-63b18abd">%</text></view></view></view></view></swiper-item></block></block></swiper></view><view class="skill-section data-v-63b18abd"><view class="section-hd acea-row row-between-wrapper data-v-63b18abd"><view class="title data-v-63b18abd"><view class="line-left data-v-63b18abd"></view><text class="data-v-63b18abd">{{''+$root.m3+''}}</text></view><view class="task data-v-63b18abd"><text class="task-num data-v-63b18abd">{{''+taskNum+''}}</text><text class="data-v-63b18abd">{{'/'+$root.g0+''}}</text></view></view><view class="section-bd acea-row data-v-63b18abd"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="item acea-row row-middle data-v-63b18abd"><view class="text data-v-63b18abd"><view class="title data-v-63b18abd"><view class="name line2 data-v-63b18abd">{{''+item.m4+''}}<text data-event-opts="{{[['tap',[['opHelp',[index]]]]]}}" class="iconfont icon-wenti data-v-63b18abd" bindtap="__e"></text></view><text class="mark data-v-63b18abd">{{item.$orig.finish?item.m5:item.m6}}</text></view><view class="process data-v-63b18abd"><view class="fill data-v-63b18abd" style="{{'width:'+(item.g1+'%')+';'}}"></view></view><view class="info-box data-v-63b18abd"><view class="info data-v-63b18abd">{{item.$orig.finish?'':item.m7}}</view><view class="link data-v-63b18abd" hover-class="none"><text class="new-number data-v-63b18abd">{{item.$orig.new_number}}</text>{{'/'+item.$orig.number+''}}</view></view></view></view></block></view></view><block wx:if="{{$root.g2}}"><recommend vue-id="5953da14-1" hostProduct="{{hostProduct}}" class="data-v-63b18abd" bind:__l="__l"></recommend></block><view class="{{['growthValue','data-v-63b18abd',growthValue==false?'on':'']}}"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-63b18abd" bindtap="__e"></text><view class="conter data-v-63b18abd">{{illustrate}}</view></view><view class="mask data-v-63b18abd" hidden="{{growthValue}}" data-event-opts="{{[['tap',[['growthValueClose',['$event']]]]]}}" bindtap="__e"></view></view></view>
|
||||
<view style="{{(colorStyle)}}" class="data-v-6ff6671d"><view class="member-center data-v-6ff6671d"><image class="bag data-v-6ff6671d" src="../../../static/images/jf-head.png" mode></image><view class="header data-v-6ff6671d"><swiper class="swiper data-v-6ff6671d" current="{{swiperIndex}}" previous-margin="55rpx" next-margin="55rpx" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-6ff6671d"><swiper-item class="data-v-6ff6671d"><view class="{{['swiper-item','data-v-6ff6671d',(swiperIndex==index)?'on':'']}}" style="{{'background-image:'+('url('+item.$orig.image+')')+';'}}"><view class="acea-row row-middle user-wrap data-v-6ff6671d"><image class="image data-v-6ff6671d" src="{{userInfo.avatar}}"></image><view class="user-msg data-v-6ff6671d"><view class="text data-v-6ff6671d"><view class="name data-v-6ff6671d">{{userInfo.nickname}}</view><view class="{{['level','data-v-6ff6671d',(item.$orig.grade>(levelInfo.grade||0))?'level-sty':'']}}">{{''+item.m0+''}}</view></view></view><block wx:if="{{item.$orig.grade>(levelInfo.grade||0)}}"><view class="state data-v-6ff6671d"><image class="lock data-v-6ff6671d" src="../static/lock.png" mode></image></view></block></view><view class="level-grow-wrap data-v-6ff6671d"><view class="{{['level-info','data-v-6ff6671d',(item.$orig.grade>(levelInfo.grade||0))?'lock-sty':'']}}"><view class="level-info-title data-v-6ff6671d">{{$root.m1}}</view><view class="num data-v-6ff6671d">{{item.$orig.one_brokerage_percent+''}}<text class="percent data-v-6ff6671d">%</text></view></view><view class="{{['level-info','data-v-6ff6671d',(item.$orig.grade>(levelInfo.grade||0))?'lock-sty':'']}}"><view class="level-info-title data-v-6ff6671d">{{$root.m2}}</view><view class="num data-v-6ff6671d">{{item.$orig.two_brokerage_percent}}<text class="percent data-v-6ff6671d">%</text></view></view></view></view></swiper-item></block></block></swiper></view><view class="skill-section data-v-6ff6671d"><view class="section-hd acea-row row-between-wrapper data-v-6ff6671d"><view class="title data-v-6ff6671d"><view class="line-left data-v-6ff6671d"></view><text class="data-v-6ff6671d">{{''+$root.m3+''}}</text></view><view class="task data-v-6ff6671d"><text class="task-num data-v-6ff6671d">{{''+taskNum+''}}</text><text class="data-v-6ff6671d">{{'/'+$root.g0+''}}</text></view></view><view class="section-bd acea-row data-v-6ff6671d"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="item acea-row row-middle data-v-6ff6671d"><view class="text data-v-6ff6671d"><view class="title data-v-6ff6671d"><view class="name line2 data-v-6ff6671d">{{''+item.m4+''}}<text data-event-opts="{{[['tap',[['opHelp',[index]]]]]}}" class="iconfont icon-wenti data-v-6ff6671d" bindtap="__e"></text></view><text class="mark data-v-6ff6671d">{{item.$orig.finish?item.m5:item.m6}}</text></view><view class="process data-v-6ff6671d"><view class="fill data-v-6ff6671d" style="{{'width:'+(item.g1+'%')+';'}}"></view></view><view class="info-box data-v-6ff6671d"><view class="info data-v-6ff6671d">{{item.$orig.finish?'':item.m7}}</view><view class="link data-v-6ff6671d" hover-class="none"><text class="new-number data-v-6ff6671d">{{item.$orig.new_number}}</text>{{'/'+item.$orig.number+''}}</view></view></view></view></block></view></view><block wx:if="{{$root.g2}}"><recommend vue-id="5953da14-1" hostProduct="{{hostProduct}}" class="data-v-6ff6671d" bind:__l="__l"></recommend></block><view class="{{['growthValue','data-v-6ff6671d',growthValue==false?'on':'']}}"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-6ff6671d" bindtap="__e"></text><view class="conter data-v-6ff6671d">{{illustrate}}</view></view><view class="mask data-v-6ff6671d" hidden="{{growthValue}}" data-event-opts="{{[['tap',[['growthValueClose',['$event']]]]]}}" bindtap="__e"></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,8 @@
|
||||
{
|
||||
"description": "项目配置文件。",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
@ -9,28 +10,20 @@
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"bigPackageSizeSupport": true
|
||||
"bigPackageSizeSupport": true,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
}
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "",
|
||||
"libVersion": "3.1.5",
|
||||
"appid": "wx3b82801238ca1b57",
|
||||
"projectname": "CRMEB标准版-v5.2.1",
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "insertSpaces",
|
||||
"tabSize": 2
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user