You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
4.4 KiB
65 lines
4.4 KiB
<?php
|
|
class IndexInputView extends SmartyView {
|
|
|
|
public function execute() {
|
|
$request = $this->getContext()->getRequest();
|
|
$this->setAttribute('version',$request->getAttribute('version'));
|
|
$this->setAttribute('uploadImg',$request->getAttribute('uploadImg'));
|
|
$this->setAttribute('admin_id',$request->getAttribute('admin_id'));
|
|
$this->setAttribute('dfk',$request->getAttribute('dfk'));//--待付款
|
|
$this->setAttribute('dp',$request->getAttribute('dp'));//--待发货
|
|
$this->setAttribute('yth',$request->getAttribute('yth'));//--待收货
|
|
$this->setAttribute('pj',$request->getAttribute('pj'));//评价订单
|
|
$this->setAttribute('th',$request->getAttribute('th'));//退货订单
|
|
$this->setAttribute('wc',$request->getAttribute('wc'));//完成订单
|
|
$this->setAttribute('tm01',$request->getAttribute('tm01'));//这个月的营业额
|
|
$this->setAttribute('tm',$request->getAttribute('tm'));//这个月的总订单
|
|
$this->setAttribute('tm02',$request->getAttribute('tm02'));//总收入
|
|
$this->setAttribute('re',$request->getAttribute('re'));//最近购买 24小时内
|
|
$this->setAttribute('yingye',$request->getAttribute('yingye'));//营业额百分比
|
|
$this->setAttribute('dingdan',$request->getAttribute('dingdan'));//订单百分比
|
|
$this->setAttribute('day_yy',$request->getAttribute('day_yy'));//当日的营业额
|
|
$this->setAttribute('yes_yy',$request->getAttribute('yes_yy'));//昨日的营业额
|
|
$this->setAttribute('yingye_day',$request->getAttribute('yingye_day'));//当日的营业额百分比
|
|
$this->setAttribute('daydd',$request->getAttribute('daydd'));//当日的总订单
|
|
$this->setAttribute('yesdd',$request->getAttribute('yesdd'));//昨日的总订单
|
|
$this->setAttribute('dingdan_day',$request->getAttribute('dingdan_day'));//当日的订单百分比
|
|
$this->setAttribute('authorization',$request->getAttribute('authorization'));//authorization
|
|
|
|
$this->setAttribute('leiji_dd',$request->getAttribute('leiji_dd'));//累计订单数
|
|
$this->setAttribute('couhuiyuan01',$request->getAttribute('couhuiyuan01'));//1
|
|
$this->setAttribute('couhuiyuan02',$request->getAttribute('couhuiyuan02'));//2
|
|
$this->setAttribute('couhuiyuan03',$request->getAttribute('couhuiyuan03'));//3
|
|
$this->setAttribute('couhuiyuan04',$request->getAttribute('couhuiyuan04'));//4
|
|
$this->setAttribute('couhuiyuan05',$request->getAttribute('couhuiyuan05'));//5
|
|
$this->setAttribute('couhuiyuan06',$request->getAttribute('couhuiyuan06'));//6
|
|
$this->setAttribute('couhuiyuan07',$request->getAttribute('couhuiyuan07'));//7
|
|
$this->setAttribute('res_notice',$request->getAttribute('res_notice'));//活动信息
|
|
$this->setAttribute('today',$request->getAttribute('today'));//1
|
|
$this->setAttribute('yesterday',$request->getAttribute('yesterday'));//2
|
|
$this->setAttribute('qiantian',$request->getAttribute('qiantian'));//3
|
|
$this->setAttribute('sitian',$request->getAttribute('sitian'));//4
|
|
$this->setAttribute('wutian',$request->getAttribute('wutian'));//5
|
|
$this->setAttribute('liutian',$request->getAttribute('liutian'));//6
|
|
$this->setAttribute('qitian',$request->getAttribute('qitian'));//7
|
|
$this->setAttribute('couhuiyuan',$request->getAttribute('couhuiyuan'));//7
|
|
//访客人数
|
|
$this->setAttribute('fangke',$request->getAttribute('fangke'));//5
|
|
$this->setAttribute('fangke01',$request->getAttribute('fangke01'));//
|
|
$this->setAttribute('fangke02',$request->getAttribute('fangke02'));//
|
|
$this->setAttribute('fangkebizhi',$request->getAttribute('fangkebizhi'));//fangke比值
|
|
//本月
|
|
$this->setAttribute('fangke03',$request->getAttribute('fangke03'));//
|
|
//订单统计
|
|
$this->setAttribute('order01',$request->getAttribute('order01'));//1
|
|
$this->setAttribute('order02',$request->getAttribute('order02'));//2
|
|
$this->setAttribute('order03',$request->getAttribute('order03'));//3
|
|
$this->setAttribute('order04',$request->getAttribute('order04'));//4
|
|
$this->setAttribute('order05',$request->getAttribute('order05'));//5
|
|
$this->setAttribute('order06',$request->getAttribute('order06'));//6
|
|
$this->setAttribute('order07',$request->getAttribute('order07'));//7
|
|
$this->setTemplate("index.tpl");
|
|
|
|
}
|
|
}
|
|
?>
|