点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 企业应用>> 新翔网络OA系统V1.0>> 源文件浏览
[商业版 200RMB] WebForm,下载次数:1 次 | 关键字: PHP MYSQL OA 办公 网络办公

源码截图

源码目录树

;
当前路径:manage/renwu_wenti.php
<?php
include("../db.php");
include("../checklogin.php");
if(!islogin()){
	header('location:../index.php');
}
switch ($_GET['action']) {
	case 'list':
	$pindex = max(1, intval($_GET['page']));
    $psize = $_GET['limit'];
	$slaiyuanid=$_GET['slaiyuanid'];
	$sfasongid=$_GET['sfasongid'];
	$sjieshouid=$_GET['sjieshouid'];
	$sfenleiid=$_GET['sfenleiid'];
	$schengduid=$_GET['schengduid'];
	$szerenid=$_GET['szerenid'];
	$szhuangtai=$_GET['szhuangtai'];
	$sqixian1=$_GET['sqixian1'];
	$sqixian2=$_GET['sqixian2'];
	$sql="SELECT *  FROM ".$db->tablename('vrenwu') ." WHERE id>0";
	if($slaiyuanid!=''){
	$sql=$sql." and laiyuanid = '$slaiyuanid'";
	}
	if($sfasongid!=''){
	$sql=$sql." and fasongid = '$sfasongid'";
	}
	if($sjieshouid!=''){
	$sql=$sql." and jieshou like '%$sjieshouid%'";
	}
	if($sfenleiid!=''){
	$sql=$sql." and fenleiid = '$sfenleiid'";
	}
	if($schengduid!=''){
	$sql=$sql." and chengduid = '$schengduid'";
	}
	if($szerenid!=''){
	$sql=$sql." and zerenid = '$szerenid'";
	}
	if($szhuangtai!=''){
	$sql=$sql." and zhuangtai = '$szhuangtai'";
	}
	if($sqixian1!=''&&$sqixian2!=''){
		$sql=$sql." and qixian between '$sqixian1' and '$sqixian2'";
	}
	$sql=$sql."  ORDER BY id asc LIMIT ".($pindex - 1) * $psize.','.$psize;
    $list =$db->fetchall($sql);
    $total =count($list);
    $arr = [
        'msg' => "查询成功",
        'code' => 0,
        'data' => $list,
        'count' => $total
    ];
    exit(json_encode($arr));
		break;
		case 'lylist':
	    $sql="SELECT *  FROM ".$db->tablename('vxiangmu') ." WHERE zidian='任务类型'";
	    $sql=$sql."  ORDER BY bianhao  asc";
        $list =$db->fetchall($sql);
        $total =count($list);
        $arr = [
            'msg' => '请求成功',
            'code' => 0,
             'data' => $list,
            'count' => $total
         ];
    exit(json_encode($arr));
		break;
	case 'addsave':
	    $shijian=$_POST['shijian'];
	    $laiyuanid=$_POST['laiyuanid'];
	    $fasongid=$_POST['fasongid'];
	    $jieshouid=$_POST['ji...
完整源码文件,请先购买后再查看
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号