#### {$Think.config.WEB_SITE_TITLE}基于X-Mis智能管理系统，快速开发而来，想管理什么，建表即可！

X-Mis智能开发平台：http://www.xinyou88.net/ QQ群交流：147654231

##### 我的便签、记事本

{$Rs.bian}

### 员工去向 详细

开始时间 | 结束时间 | 类型 | 去向说明 | 外出人 | 所在部门
--- | --- | --- | --- | --- | ---
$list=M('quxiang')->order("id desc")->limit(5)->select();
{$v.ktime|substr=###,0,10} | {$v.jtime|substr=###,0,10} | {$v.type|msubstr=###,0,20} | {$v.title|msubstr=###,0,20} | {$v.uname|msubstr=###,0,20} | {$v.uid|depname=###}

### 我的任务 详细

截至时间 | 任务标题 | 状态 | 发布人 | 发布时间
--- | --- | --- | --- | ---
$list=M('renwu')->where(array('juid'=>array('like','%'.session(uid).'%')))->order("id desc")->limit(5)->select();
{$v.jztime|msubstr=###,0,10} | {$v.biaoti|msubstr=###,0,20} | {$v.jieguo} | {$v.uname} | {$v.addtime|substr=###,0,10}

### 通知公告 详细

通知标题 | 截止日期 | 发布人 | 发布时间
--- | --- | --- | ---
$list=M('tongzhi')->where(array('juid'=>array('like','%'.session(uid).'%')))->order("id desc")->limit(5)->select();
{$v.title|msubstr=###,0,20} | {$v.jztime|msubstr=###,0,10} | {$v.uname} | {$v.addtime|substr=###,0,10}

### 待跟踪客户 详细

客户名称 | 进展 | 联系人 | 手机号码 | 下次联系 | 最后更新
--- | --- | --- | --- | --- | ---
$map['xiaci'] = array(array('egt',date("Y-m-d",strtotime("-1 week"))),array('elt',date("Y-m-d",strtotime("+1 month")))); $map[] = array("uid"=>array('EQ', session("uid")),"juid"=>array('like','%'.session("uid").'%'),"_logic"=>"or"); $list=M('cust')->where($map)->limit(5)->select();
{$v.title|msubstr=###,0,20} | {$v.jinzhan} | {$v.name} | {$v.dianhua} | {$v.xiaci|substr=###,0,10} | {$v.updatetime|substr=###,0,10}

### 发货记录 详细

客户名称 | 发货时间 | 物流快递 | 备注
--- | --- | --- | ---
$list=M('fahuo')->order("id desc")->limit(5)->select();
{$v.title|msubstr=###,0,20} | {$v.shijian|msubstr=###,0,10} | {$v.value} | {$v.beizhu|substr=###,0,50}

### 到期的合同 详细

客户名称 | 合同名称 | 合同编号 | 截止日期 | 经办人
--- | --- | --- | --- | ---
$map['jztime'] = array(array('egt',date("Y-m-d",strtotime("-1 week"))),array('elt',date("Y-m-d",strtotime("+1 month")))); $list=M('hetong')->where($map)->limit(5)->select();
{$v.title|msubstr=###,0,20} | {$v.mingcheng} | {$v.bianhao} | {$v.jztime|substr=###,0,10} | {$v.jingban}