64 changed files with 13490 additions and 0 deletions
@ -0,0 +1,147 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
return [ |
|||
'status1'=>[ |
|||
'10'=>'材料初审', |
|||
'20'=>'材料复审', |
|||
'30'=>'协议信息确认', |
|||
'40'=>'专家审核确认', |
|||
'50'=>'缴费', |
|||
'60'=>'缴费确认', |
|||
'70'=>'联席会审核', |
|||
'80'=>'材料核实', |
|||
'90'=>'公告材料核实', |
|||
'100'=>'待签协议', |
|||
'110'=>'办理入库', |
|||
], |
|||
'status2'=>[ |
|||
'10'=>'材料初审', |
|||
'20'=>'材料复审', |
|||
'30'=>'专家分配', |
|||
'40'=>'专家审核确认', |
|||
'50'=>'缴费', |
|||
'60'=>'缴费确认', |
|||
'70'=>'联席会审核', |
|||
'80'=>'材料核实', |
|||
'90'=>'公告材料核实', |
|||
'100'=>'待签协议', |
|||
'110'=>'办理入库', |
|||
], |
|||
'status3'=>[ |
|||
'10'=>'材料初审', |
|||
'20'=>'协议信息确认', |
|||
'30'=>'专家分配', |
|||
'40'=>'专家审核确认', |
|||
'50'=>'缴费', |
|||
'60'=>'缴费确认', |
|||
'70'=>'保证金设定', |
|||
'80'=>'材料核实', |
|||
'90'=>'公告材料核实', |
|||
'100'=>'待签协议', |
|||
'110'=>'办理入库', |
|||
], |
|||
'status4'=>[ |
|||
'10'=>'材料初审', |
|||
'20'=>'协议信息确认', |
|||
'30'=>'专家分配', |
|||
'40'=>'专家审核确认', |
|||
'50'=>'缴费', |
|||
'60'=>'缴费确认', |
|||
'70'=>'保证金设定', |
|||
'80'=>'材料核实', |
|||
'90'=>'公告材料核实', |
|||
'100'=>'待签协议', |
|||
'110'=>'办理入库', |
|||
], |
|||
'apply_status'=>[ |
|||
'0'=>'待审核', |
|||
'1'=>'审核通过', |
|||
'2'=>'审核不通过', |
|||
'3'=>'等待入库', |
|||
'4'=>'可办入库', |
|||
'5'=>'完成入库', |
|||
], |
|||
'apply_type'=>[ |
|||
'1'=>'文化资产', |
|||
'2'=>'艺术资产', |
|||
'3'=>'古建资产', |
|||
'4'=>'乡村振兴' |
|||
], |
|||
'hoster_type'=>[ |
|||
'1'=>'机构/公司', |
|||
'2'=>'个人', |
|||
], |
|||
'capital_type'=>[ |
|||
'0'=>'其它', |
|||
'10'=>'媒体', |
|||
'20'=>'音乐', |
|||
'30'=>'影视', |
|||
'40'=>'文旅', |
|||
'50'=>'动漫', |
|||
'60'=>'IP', |
|||
'70'=>'古旧艺术品', |
|||
'80'=>'民间工艺品', |
|||
'90'=>'当代艺术品', |
|||
'99'=>'当代工艺美术品', |
|||
'5' =>'整体性古建构件', |
|||
'15' =>'现存古村、古镇、古街区古建', |
|||
'35' =>'散落古建构件', |
|||
'45' =>'已建和在建仿古文化园区和村镇', |
|||
'55' =>'现存独立古建' |
|||
], |
|||
'hoster_reason'=>[ |
|||
'1'=>'资产背书', |
|||
'2'=>'协议转让', |
|||
'3'=>'资产拍卖', |
|||
'4'=>'资产托管', |
|||
'5'=>'资产管理', |
|||
'6'=>'资产利用', |
|||
'7'=>'资产转让' |
|||
], |
|||
'leader_cardtype'=>[ |
|||
'000'=>'身份证', |
|||
'001'=>'护照', |
|||
'002'=>'户口簿', |
|||
], |
|||
'capital_own'=>[ |
|||
'1'=>'自有', |
|||
'2'=>'授权', |
|||
], |
|||
'capital_class'=>[ |
|||
'1'=>'有形', |
|||
'2'=>'无形', |
|||
'3'=>'版权', |
|||
'0'=>'其它', |
|||
], |
|||
'upfiles'=>[ |
|||
'1'=>'"文化产业版"托管服务协议', |
|||
'2'=>'托管方营业执照扫描', |
|||
'3'=>'托管发身份证明', |
|||
'4'=>'资产权属证明', |
|||
'5'=>'推荐机构推荐函', |
|||
'6'=>'第三方评估报告', |
|||
], |
|||
'capitalProScore' => 100, |
|||
'capitalProLimit' => 3, |
|||
'tplId'=>'202106222400000001', |
|||
'tplId2'=>'202011113400000002', |
|||
'capitaladvice' => |
|||
array ( |
|||
'check' => 1, |
|||
'checkdd' => 0, |
|||
'checkreview' => 1, |
|||
'checkrisk' => 1, |
|||
'checkfee' => 1, |
|||
'checkpro' => 1, |
|||
'checkjc' => 1, |
|||
'checkmc' => 1, |
|||
'checknm' => 1, |
|||
'checkboard' => 1, |
|||
), |
|||
]; |
|||
File diff suppressed because it is too large
@ -0,0 +1,113 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
|
|||
|
|||
/** |
|||
* 文化四板上传文件列表 |
|||
* @package app\admin\model |
|||
*/ |
|||
class CapitalUpfiles extends Model |
|||
{ |
|||
/** |
|||
* 根据文件id获取文件信息,返回值为数组 |
|||
* @param int $fid 文件id |
|||
* @return array 文件信息数组 |
|||
*/ |
|||
public static function getFileInfo($fid) |
|||
{ |
|||
$fileInfo = Db()->name('capital_upfiles')->where("file_id='$fid'")->find(); |
|||
$fileInfo[$fid]=$fileInfo?:array(); |
|||
return $fileInfo[$fid]; |
|||
} |
|||
/** |
|||
* 根据模板文件id获取文件信息,返回值为数组 |
|||
* @param int $ftype_id 模板文件id |
|||
* @param int $apply_id 申请id |
|||
* @return array 文件信息数组 |
|||
*/ |
|||
public static function getFileInfoFromTempFile($ftype_id,$apply_id) |
|||
{ |
|||
$where['ftype_id']=array('eq', $ftype_id); |
|||
$where['new_flag']=array('eq', 1); |
|||
$where['apply_id']=array('eq', $apply_id); |
|||
$fileInfo = Db()->name('capital_upfiles')->where($where)->order('addorder desc')->find(); |
|||
$fileInfo[$ftype_id]=$fileInfo?:array(); |
|||
return $fileInfo[$ftype_id]; |
|||
} |
|||
/** |
|||
* 根据文件id获取文件信息,返回值为数组 |
|||
* @param int $fid 文件id |
|||
* @return array 文件信息数组 |
|||
*/ |
|||
public static function getFileInfoFromFileID($fid) |
|||
{ |
|||
$where['file_id']=array('eq', $fid); |
|||
$where['new_flag']=array('eq', 1); |
|||
$fileInfo = Db()->name('capital_upfiles')->where($where)->order('addorder desc')->find(); |
|||
$fileInfo[$fid]=$fileInfo?:array(); |
|||
return $fileInfo[$fid]; |
|||
} |
|||
/** |
|||
* 根据apply_id获取该申请在$status下的全部未审核文件数量,返回值为数量 |
|||
* @param int $apply_id 申请id |
|||
* @param int $status 状态数组 |
|||
* @return int 文件数量 |
|||
*/ |
|||
public static function getNotPassFilesCntFromApplyIDCurrStatus($apply_id,$status) |
|||
{ |
|||
$where['apply_id']=array('eq', $apply_id); |
|||
$where['new_flag']=array('eq', 1); |
|||
$where['status'] = is_array($status)?array('in',$status):array('eq',$status); |
|||
$where['flag']=array('eq', 0); |
|||
$fileCnt = Db()->name('capital_upfiles')->where($where)->count(); |
|||
return $fileCnt; |
|||
} |
|||
/** |
|||
* 根据apply_id获取该申请在<=$status下的全部未审核文件数量,返回值为数量 |
|||
* @param int $apply_id 申请id |
|||
* @param int $status 状态 |
|||
* @return int 文件数量 |
|||
*/ |
|||
public static function getNotPassFilesCntFromApplyID($apply_id,$status) |
|||
{ |
|||
$where['apply_id']=array('eq', $apply_id); |
|||
$where['new_flag']=array('eq', 1); |
|||
$where['status']=array('elt', $status); |
|||
$where['flag']=array('eq', 0); |
|||
$fileCnt = Db()->name('capital_upfiles')->where($where)->count(); |
|||
return $fileCnt; |
|||
} |
|||
/** |
|||
* 上传文件列表 |
|||
* @param array |
|||
* @param int $apply_id 查询条件(申请ID) |
|||
* @param int $ftype 查询条件(-1:包括临时和固定 0:固定 1:临时 2:模板) |
|||
* @param int $status 查询条件(文件类型显示在哪个状态) |
|||
* @param int $ftype_id 查询条件(文件类型ID) |
|||
* @param int $new_flag 查询条件(-1:包括历史记录,0取所有历史记录,1取最新记录) |
|||
* @param string $order 结果排序 |
|||
* @return mixed |
|||
*/ |
|||
public static function getList($apply_id,$ftype=-1,$status=-1,$ftype_id=-1,$new_flag=-1,$order='file_id,status,ftype,apply_id') |
|||
{ |
|||
$where=array(); |
|||
|
|||
//根据状态值取出对应状态的数据 |
|||
$where['apply_id'] = array('eq', $apply_id); |
|||
if($ftype != -1)$where['ftype'] = array('eq', $ftype); |
|||
if($status != -1)$where['status'] = array('eq',$status); |
|||
if($ftype_id != -1)$where['ftype_id'] = array('eq',$ftype_id); |
|||
if($new_flag != -1)$where['new_flag'] = array('eq',$new_flag); |
|||
|
|||
return self::where($where)->order($order)->select(); |
|||
} |
|||
} |
|||
@ -0,0 +1,179 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
use think\Db; |
|||
|
|||
/** |
|||
* 文化四板申请流程 |
|||
* @package app\admin\model |
|||
*/ |
|||
class Capitalapply extends Model |
|||
{ |
|||
|
|||
/** |
|||
* 根据用户id获取用户信息,返回值为数组 |
|||
* @param int $uid 用户id |
|||
* @return array 用户所属的用户组 array(根据前后台不同,对应不同用户组) |
|||
*/ |
|||
public static function getUserInfos($uid,$utype) |
|||
{ |
|||
if($utype==1)//前台用户 |
|||
{ |
|||
$db=db()->name('member_list'); |
|||
$uids=[]; |
|||
if(strpos($uid,',')===false){ |
|||
$db->where("member_list_id='$uid'"); |
|||
}else{ |
|||
$db->where('member_list_id','in',$uid); |
|||
} |
|||
$frontUserInfos =$db->field('member_list_id,member_list_nickname,member_list_username,member_list_open')->select(); |
|||
|
|||
if(count($uids)){ |
|||
$data=[]; |
|||
foreach ($frontUserInfos as $row){ |
|||
$mid=$row['member_list_id']; |
|||
$data[$mid]=$row; |
|||
} |
|||
foreach ($uids as $row){ |
|||
if(!isset($data[$row]))$data[$row]=array(); |
|||
} |
|||
return $data; |
|||
}else{ |
|||
$frontUserInfos[$uid]=$frontUserInfos?:array(); |
|||
return $frontUserInfos[$uid]; |
|||
} |
|||
}elseif ($utype==2)//后台用户 |
|||
{ |
|||
$db=db()->name('admin'); |
|||
$uids=[]; |
|||
if(strpos($uid,',')===false){ |
|||
$db->where("admin_id='$uid'"); |
|||
}else{ |
|||
$uids=explode(',', $uid); |
|||
$db->where('admin_id','in',$uids); |
|||
} |
|||
$backUserInfos = $db |
|||
->field('admin_id,admin_realname,admin_username,admin_open')->select(); |
|||
|
|||
if(count($uids)){ |
|||
$data=[]; |
|||
foreach ($backUserInfos as $row){ |
|||
$mid=$row['admin_id']; |
|||
$data[$mid]=$row; |
|||
} |
|||
foreach ($uids as $row){ |
|||
if(!isset($data[$row]))$data[$row]=array(); |
|||
} |
|||
return $data; |
|||
}else{ |
|||
$backUserInfos[$uid]=$backUserInfos?:array(); |
|||
return $backUserInfos[$uid]; |
|||
} |
|||
} |
|||
return array(); |
|||
} |
|||
|
|||
/** |
|||
* 根据角色id获取角色信息,返回值为数组 |
|||
* @param int $rid 角色id |
|||
* @return array 角色所属的用户组 array(根据前后台不同,对应不同角色组) |
|||
*/ |
|||
public static function getRoleInfos($rid,$utype) |
|||
{ |
|||
if($utype==1)//前台角色 |
|||
{ |
|||
$frontRoleInfos = db()->name('member_group') |
|||
->where("member_group_id='$rid'") |
|||
->field('member_group_id,member_group_name,member_group_open')->select(); |
|||
$frontRoleInfos[$rid]=$frontRoleInfos?:array(); |
|||
return $frontRoleInfos[$rid]; |
|||
} |
|||
elseif ($utype==2)//后台角色 |
|||
{ |
|||
$backRoleInfos = db()->name('auth_group') |
|||
->where("id='$rid'") |
|||
->field('id,title,status')->select(); |
|||
$backRoleInfos[$rid]=$backRoleInfos?:array(); |
|||
return $backRoleInfos[$rid]; |
|||
} |
|||
return array(); |
|||
} |
|||
/** |
|||
* 申请列表 |
|||
* @param array |
|||
* @param string $search_name 查询条件(公司名称) |
|||
* @param int $status 后台查询的操作用户状态 |
|||
* @param int $admin_id 后台查询的操作用户ID |
|||
* @param string $order 结果排序 |
|||
* @return mixed |
|||
*/ |
|||
public static function getListAll($search_name=null,$admin_id,$order='apply_id') |
|||
{ |
|||
$map=array(); |
|||
if($search_name){ |
|||
//(b.c_name or b.p_name or b.t_apply_username) and b.new_flag |
|||
$data=array(); |
|||
$data=Db::name('capitalapply')->alias("a")->join(config('database.prefix').'capitalbaseinfo b','a.apply_id =b.apply_id') |
|||
->where(['b.c_name|b.p_name|b.t_apply_username'=>array('like','%'.$search_name.'%') ,'b.new_flag'=>1])->order('a.apply_id')->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
return $data; |
|||
} |
|||
$where=array(); |
|||
$where['status'] = array('egt',0); |
|||
|
|||
//取得apply_admin_id为0或者当前用户的数据 |
|||
//$where['apply_admin_id']=array(array('eq',0),array('eq',$admin_id),'or'); |
|||
return self::where($where)->order($order)->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
} |
|||
/** |
|||
* 申请列表 |
|||
* @param array |
|||
* @param string $search_name 查询条件(公司名称) |
|||
* @param int $status 后台查询的操作用户状态 |
|||
* @param int $admin_id 后台查询的操作用户ID |
|||
* @param string $order 结果排序 |
|||
* @return mixed |
|||
*/ |
|||
public static function getList($search_name=null,$status=-1,$order='apply_id',$status2=-1,$apply_type=''){ |
|||
if($order){ |
|||
$orders=explode(",",$order); |
|||
foreach ($orders as &$item){ |
|||
$item="a.".$item; |
|||
} |
|||
$order=implode(",",$orders); |
|||
} |
|||
if($search_name){ |
|||
$where=['b.hoster_name|b.legal_person|b.natural_name'=>array('like','%'.$search_name.'%')]; |
|||
$data=array(); |
|||
$data=Db::name('capitalapply')->alias("a")->join(config('database.prefix').'capitalbaseinfo b','a.apply_id =b.apply_id') |
|||
->where($where)->order($order)->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
|
|||
return $data; |
|||
} |
|||
$where=array(); |
|||
//根据状态值取出对应状态的数据 |
|||
if($status != -1){ |
|||
$where['status'] = array('eq',$status); |
|||
} |
|||
if($status2 != -1){ |
|||
$where['apply_status'] = 0; |
|||
}else{ |
|||
$where['apply_status'] = array('neq',$status2); |
|||
} |
|||
if($apply_type){ |
|||
$where['apply_type'] =$apply_type; |
|||
} |
|||
|
|||
$list=Db::name('capitalapply')->alias("a")->join(config('database.prefix').'capitalbaseinfo b','a.apply_id =b.apply_id') |
|||
->where($where)->order($order)->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
// echo Db::name('capitalapply')->getLastSql();exit; |
|||
return $list; |
|||
} |
|||
} |
|||
@ -0,0 +1,64 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
|
|||
|
|||
/** |
|||
* 文化四板申请用户基本信息(企业、人才、项目) |
|||
* @package app\admin\model |
|||
*/ |
|||
class Capitalbaseinfo extends Model |
|||
{ |
|||
/** |
|||
* 增加申请 |
|||
* @return int 0或申请id |
|||
*/ |
|||
public static function baseinfo_add($status=1,$user_id,$member_list_id,$usertype,$apply_admin_id) |
|||
{ |
|||
//status默认初审中(已提交):1 |
|||
$sldata=array( |
|||
'user_id' => $user_id, |
|||
'status'=>$status, |
|||
'user_type'=>$usertype, |
|||
'apply_admin_id'=>$apply_admin_id, |
|||
'create_time'=>time(), |
|||
); |
|||
$member=self::create($sldata); |
|||
if($member){ |
|||
return $member['apply_id']; |
|||
}else{ |
|||
return 0; |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* 会员信息列表 |
|||
* @param array |
|||
* @param string $search_name 查询条件(公司名称) |
|||
* @param int $status 后台查询的操作用户状态 |
|||
* @param int $admin_id 后台查询的操作用户ID |
|||
* @param string $order 结果排序 |
|||
* @return mixed |
|||
*/ |
|||
public static function getList($search_name=null,$status=-1,$admin_id,$order='apply_id') |
|||
{ |
|||
$map=array(); |
|||
if($search_name){ |
|||
$map['admin_username']= array('like',"%".$search_name."%"); |
|||
} |
|||
//根据状态值取出对应状态的数据 |
|||
if($status != -1)$map['status'] = array('eq',$status);//array(array('eq',0),array('eq',$status), 'or'); |
|||
//取得apply_admin_id为0或者当前用户的数据 |
|||
$map['apply_admin_id']=array(array('eq',0),array('eq',$admin_id),'or'); |
|||
return self::where($map)->order($order)->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,38 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
|
|||
|
|||
/** |
|||
* 文化四板初审 |
|||
* @package app\admin\model |
|||
*/ |
|||
class Capitalcheck extends Model |
|||
{ |
|||
/** |
|||
* 增加初审 |
|||
* @return int 0或初审id |
|||
*/ |
|||
public static function check_add($apply_id,$advice,$check_type) |
|||
{ |
|||
$sldata=array( |
|||
'apply_id' => $apply_id, |
|||
'advice'=>$advice, |
|||
'check_type'=>$check_type, |
|||
'create_time'=>time() |
|||
); |
|||
$dataadd=self::create($sldata); |
|||
if($dataadd){ return $dataadd['check_id']; |
|||
}else{ |
|||
return 0; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
<?php |
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
class Capitaldetail extends Model{ |
|||
|
|||
} |
|||
@ -0,0 +1,22 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
|
|||
|
|||
/** |
|||
* 文化四板初审 |
|||
* @package app\admin\model |
|||
*/ |
|||
class Capitalfee extends Model |
|||
{ |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,92 @@ |
|||
<?php |
|||
/** |
|||
* Created by ETEDU. |
|||
* User: Leo Chu |
|||
* Date: 2017/3/28 0028 |
|||
* Time: 15:45 |
|||
*/ |
|||
|
|||
namespace app\capital\model; |
|||
|
|||
use think\Model; |
|||
use think\Db; |
|||
|
|||
/** |
|||
* 文化四板上传文件类型表 |
|||
* @package app\admin\model |
|||
*/ |
|||
class Capitaluptype extends Model |
|||
{ |
|||
// 设置当前模型对应的完整数据表名称 |
|||
protected $table ='wjs_capitaluptype'; |
|||
|
|||
/** |
|||
* 增加文化四板上传文件类型 |
|||
* @param string |
|||
* @param string |
|||
* @param string |
|||
* @param string |
|||
* @param string |
|||
* @param int |
|||
* @param string |
|||
* @param int |
|||
* @return mixed |
|||
*/ |
|||
public static function add($sldata=[]) |
|||
{ |
|||
|
|||
$uptype=self::create($sldata); |
|||
if($uptype){ |
|||
return $uptype['ftype_id']; |
|||
}else{ |
|||
return 0; |
|||
} |
|||
} |
|||
/** |
|||
* 根据文件类型id获取文件类型信息,返回值为数组 |
|||
* @param int $ftypeid 文件类型id |
|||
* @return array 文件类型信息数组 |
|||
*/ |
|||
public static function getFileTypeInfo($ftypeid) |
|||
{ |
|||
$filetypeInfo = Db()->name('capitaluptype')->where("ftype_id='$ftypeid'")->select(); |
|||
$filetypeInfo[$ftypeid]=$filetypeInfo?:array(); |
|||
return $filetypeInfo[$ftypeid]; |
|||
} |
|||
|
|||
/** |
|||
* 上传文件类型表 |
|||
* @param array |
|||
* @param int $apply_id 查询条件(申请ID) |
|||
* @param int $type 查询条件(-1:$apply_id对应的临时和固定文件 1:固定 2:临时) |
|||
* @param int|array $status 查询条件(文件类型显示在哪个状态) |
|||
* @param int $isopen 查询条件(启用状态) |
|||
* @param string $order 结果排序 |
|||
* @return mixed |
|||
*/ |
|||
public static function getList($apply_type,$apply_id,$type=-1,$status=-1,$isopen=1,$order='ftype_id,status,apply_id,isopen',$mustupload=1,$mobile='') |
|||
{ |
|||
$where=array(); |
|||
//根据状态值取出对应状态的数据0:所有 1:企业 2:项目 3:个人 |
|||
if($apply_type!=-1)$where['apply_type']=$apply_type; |
|||
if($mustupload!=-1)$where['mustupload']=$mustupload; |
|||
if($type!= -1){ |
|||
if($type===1)//固定 |
|||
$where['apply_id'] =0; |
|||
elseif($type===2)//临时 |
|||
$where['apply_id'] =$apply_id;//临时文件肯定有对应的apply_id |
|||
} |
|||
else $where['apply_id'] =$apply_id; |
|||
if($status!=-1)$where['status'] = is_array($status)?array('in',$status):$status; |
|||
if($isopen!=-1)$where['isopen'] =$isopen; |
|||
if($mobile)$where['mobile'] =$mobile; |
|||
|
|||
if($status == -1){ |
|||
$list=self::where($where)->order($order)->paginate(config('paginate.list_rows'),false,['query'=>get_query()]); |
|||
return $list; |
|||
}else{ |
|||
$list=self::where($where)->order($order)->select(); |
|||
return $list; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,112 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{:$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {:$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">待签协议信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<form class="form-horizontal ajaxForm" name="baseinfo" method="post"> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 服务协议: </label> |
|||
<div class="col-sm-3"> |
|||
<div class="row"> |
|||
<div class="col-sm-10"> |
|||
<input name="contract" id="contract" value="{$baseinfo.contract}" type="file" class="file col-xs-6 col-sm-6" data-show-preview="false" data-show-upload="false" data-show-caption="true" required> |
|||
</div> |
|||
<div class="col-sm-2"> |
|||
<button class="btn btn-info" type="submit" name="upload" value="contract" style="padding:2px 6px;"><i class="ace-icon fa fa-check bigger-110"></i>上传</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-sm-3"> |
|||
{if condition="$baseinfo.contract"} |
|||
<a href="{$baseinfo.contract}" class="btn btn-info" style="padding:2px 6px;margin-left:10px;" target="__blank">查看服务协议({$baseinfo.contract_status|getContractStatus})</a> |
|||
{/if} |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 100px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;">返回上一级</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
window.location.href="{:url('apply_list100',['apply_type'=>input('apply_type')])}"; |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,25 @@ |
|||
{foreach name="member_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.member_list_id}</td> |
|||
<td>{$v.CNT}</td> |
|||
<td>{$v.member_list_username}</td> |
|||
<td>{$v.member_list_nickname|default="未设置"}【{$v.member_list_email|default="未设置"}】</td> |
|||
<td> |
|||
{if condition="$v.member_list_sex eq 1"}男 |
|||
{elseif condition="$v.member_list_sex eq 2"/}女 |
|||
{else /}保密 |
|||
{/if} |
|||
</td> |
|||
<td>{if condition='$v.member_list_open eq 1'}已开启{else/}已禁用{/if}</td> |
|||
<td>{if condition='$v.user_status eq 1'}已激活{else/}未激活{/if}</td> |
|||
<td> |
|||
<div class="action-buttons"> |
|||
<a class="green confirm-rst-url-btn" href="{:url('capital/Capital/apply_assign_add',array('id'=>$v['member_list_id'],'apply_id'=>input('apply_id'),'apply_type'=>input('apply_type'),'p'=>input('p',1)))}" data-info="你确定要添加该专家吗?" title="添加"> |
|||
<i class="ace-icon fa fa-pencil bigger-130"></i> 添加 |
|||
</a> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
</tr> |
|||
@ -0,0 +1,24 @@ |
|||
{foreach name="member_list_assigned" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.pro_id}</td> |
|||
<td>{$v.member_list_username}</td> |
|||
<td>{$v.member_list_nickname|default="未设置"}【{$v.member_list_email|default="未设置"}】</td> |
|||
<td> |
|||
{if condition="$v.member_list_sex eq 1"}男 |
|||
{elseif condition="$v.member_list_sex eq 2"/}女 |
|||
{else /}保密 |
|||
{/if} |
|||
</td> |
|||
<td>{if condition='$v.member_list_open eq 1'}已开启{else/}已禁用{/if}</td> |
|||
<td>{if condition='$v.user_status eq 1'}已激活{else/}未激活{/if}</td> |
|||
<td> |
|||
<div class="action-buttons"> |
|||
<a class="red confirm-rst-url-btn" href="{:url('capital/Capital/apply_assign_del',array('id'=>$v['pro_id'],'apply_id'=>input('apply_id'),'apply_type'=>input('apply_type'),'p'=>input('p',2)))}" data-info="你确定要取消该专家的分配吗?" title="删除"> |
|||
<i class="ace-icon fa fa-trash-o bigger-130"></i> 删除 |
|||
</a> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
</tr> |
|||
@ -0,0 +1,102 @@ |
|||
<script src="__PUBLIC__/ace/js/jquery.knob.min.js"></script> |
|||
{foreach name="member_list_assigned" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.pro_id}</td> |
|||
<td> |
|||
{if condition="$v.assign_type eq 0"}<span class="label label-warning"><i class="ace-icon fa fa-exclamation-triangle bigger-120"></i>前台专家会员可见</span> |
|||
{elseif condition="$v.assign_type eq 1"/}<span class="label label-success"><i class="ace-icon fa fa-exclamation-triangle bigger-120"></i>前台专家会员不可见</span> |
|||
{/if} |
|||
</td> |
|||
<td>{$v.member_list_username}</td> |
|||
<td>{$v.member_list_nickname|default="未设置"}【{$v.member_list_email|default="未设置"}】</td> |
|||
<td> |
|||
{if condition="$v.member_list_sex eq 1"}男 |
|||
{elseif condition="$v.member_list_sex eq 2"/}女 |
|||
{else /}保密 |
|||
{/if} |
|||
</td> |
|||
<td>{if condition='$v.member_list_open eq 1'}已开启{else/}已禁用{/if}</td> |
|||
<td>{if condition='$v.user_status eq 1'}已激活{else/}未激活{/if}</td> |
|||
</tr> |
|||
<tr> |
|||
<td colspan="7"> |
|||
<div class="table-detail"> |
|||
<div class="row"> |
|||
<div class="col-xs-12 col-sm-2"> |
|||
<div class="text-center"> |
|||
<img height="150" class="thumbnail inline no-margin-bottom" alt="{$v.member_list_username}" src="{$v.member_list_headpic|get_imgurl=1}"> |
|||
<br> |
|||
<div class="width-80 label label-info label-xlg arrowed-in arrowed-in-right"> |
|||
<div class="inline position-relative"> |
|||
<i class="ace-icon fa fa-circle light-green"></i> <span class="white">{$v.member_list_username}</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<form class="form-horizontal ajaxForm2" name="formpro{$v.pro_id}" method="post" action="{:url('capital/Capital/apply_score',['pro_id'=>$v.pro_id,'apply_id'=>$v.apply_id,'apply_type'=>input('apply_type')])}" enctype="multipart/form-data" onsubmit="return chkScore({$v.pro_id});"> |
|||
<div class="col-xs-12 col-sm-7"> |
|||
<div class="space visible-xs"></div> |
|||
|
|||
<div class="profile-user-info profile-user-info-striped"> |
|||
<textarea name="myEditorPro{$v.pro_id}" rows="100%" style="width:100%" id="myEditorPro{$v.pro_id}">{$v.advice}</textarea> |
|||
<script type="text/javascript"> |
|||
var editorPro{$v.pro_id} = new UE.ui.Editor({{if condition="chk_capitalCanChangeScore($v.apply_id,$v.pro_id) eq 0"}readonly:true,{/if}}); |
|||
editorPro{$v.pro_id}.render("myEditorPro{$v.pro_id}"); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入当前专家的审核意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="col-xs-12 col-sm-3"> |
|||
<div class="space visible-xs"></div> |
|||
<h4 class="header blue lighter less-margin">专家评分(最高分:{$v.full_score})</h4> |
|||
|
|||
<div class="space-6"></div> |
|||
{~$tscore=$tscore+$v.score;} |
|||
<fieldset> |
|||
<div class="knob-container inline"> |
|||
<div style="display:inline;width:80px;height:80px;"> |
|||
<canvas width="80" height="80"></canvas> |
|||
<input id="score{$v.pro_id}" name="score{$v.pro_id}" type="text" {if condition="chk_capitalCanChangeScore($v.apply_id,$v.pro_id) eq 0"}readonly="readonly"{/if} class="input-small knob" value="{$v.score}" data-min="0" data-max="{$v.full_score}" data-step="1" data-width="80" data-height="80" data-thickness=".2" style="width: 44px; height: 26px; position: absolute; vertical-align: middle; margin-top: 26px; margin-left: -62px; border: 0px; background: none; font-style: normal; font-variant: normal; font-weight: bold; font-stretch: normal; font-size: 16px; line-height: normal; font-family: Arial; text-align: center; color: rgb(135, 206, 235); padding: 0px; -webkit-appearance: none;"> |
|||
</div> |
|||
</div> |
|||
</fieldset> |
|||
|
|||
<div class="hr hr-dotted"></div> |
|||
|
|||
<div class="clearfix"> |
|||
{if condition="chk_capitalCanChangeScore($v.apply_id,$v.pro_id) eq 1"} |
|||
<button class="center-block btn btn-sm btn-primary btn-white btn-round" type="submit"> |
|||
专家审核评分 |
|||
<i class="ace-icon fa fa-arrow-right icon-on-right bigger-110"></i> |
|||
</button> |
|||
{else/} |
|||
<span class="label label-success label-xlg label-primary middle"><i class="ace-icon fa fa-check"></i>专家已评分</span> |
|||
{/if} |
|||
</div> |
|||
{if condition="chk_capitalCanChangeScore($v.apply_id,$v.pro_id) eq 1"} |
|||
{if condition="$v.assign_type eq 0"}注:请等待前台专家会员评分完成,如果要代替前台专家评分,则评分后前台专家会员不可见!{elseif condition="$v.assign_type eq 1"}注:提交后,前台专家会员对该评分不可见{/if} |
|||
{/if} |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
{/foreach} |
|||
<script type="text/javascript"> |
|||
jQuery(function($) { |
|||
$(".knob").knob(); |
|||
}); |
|||
function chkScore(id){ |
|||
if(!UE.getEditor('myEditorPro'+id).hasContents()){ |
|||
alert('请输入当前专家评分意见!'); |
|||
return false; |
|||
} |
|||
if(isNaN($('#score'+id).val())||$('#score'+id).val()<=0){ |
|||
alert('当前专家评分为0,请输入正确的分数后提交!'); |
|||
return false; |
|||
} |
|||
return true; |
|||
} |
|||
</script> |
|||
@ -0,0 +1,84 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
专家分配 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4>企业名称/项目名称/申请人名称:<span class="label label-lg label-danger arrowed arrowed-right">{$baseinfo.hoster_name}</span></h4> |
|||
<h4 class="header green">可分配专家(按分配次数排序),总共可分配{$Think.config.cult4ProLimit}名专家</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th>ID</th> |
|||
<th>已分配次数</th> |
|||
<th>专家登陆用户名</th> |
|||
<th>专家昵称/邮箱</th> |
|||
<th>性别</th> |
|||
<th>状态</th> |
|||
<th>激活</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody id="ajax-data"> |
|||
{include file="capital/ajax_apply_listadd"/} |
|||
</tbody> |
|||
</table> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
<h4 class="header red">已分配专家(<B>分配完后,前台专家会员可进行评分,请等待前台专家评分完成 或 联系前台专家让其进行评分 或 在前台专家评分前在专家审核确认里代专家评分</B>)</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th>ID</th> |
|||
<th>专家登陆用户名</th> |
|||
<th>专家昵称/邮箱</th> |
|||
<th>性别</th> |
|||
<th>状态</th> |
|||
<th>激活</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody id="ajax-data"> |
|||
{include file="capital/ajax_apply_listdel"/} |
|||
</tbody> |
|||
</table> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="clearfix form-actions"> |
|||
<div class="col-md-offset-3 col-md-9"> |
|||
<form class="form-horizontal ajaxForm" id="checkform" name="checkform" method="post" action="{:url('capital/Capital/apply_assign_finish',array('apply_id'=>input('apply_id'),'apply_type'=>input('apply_type')))}" > |
|||
<input type="hidden" name="submitType" id="submitType" value="" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="BACK" onclick="submitForm(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>返回</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="ASSIGN" onclick="submitForm(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>分配完成</button> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script type="text/javascript" language="javascript"> |
|||
function submitForm(btnid){ |
|||
$('#submitType').val(btnid); |
|||
$('#checkform').submit(); |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,341 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{:$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {:$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">材料初审信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 材料初审意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的材料初审意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<input type="hidden" id="apply_type" value="{$apply_type}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
function getProducts(){ |
|||
var objs=$("#prolist tbody tr"); |
|||
var len=objs.length; |
|||
if(len==0)return ''; |
|||
var products={}; |
|||
for(var j=0;j<len;j++){ |
|||
var item=objs.eq(j).attr('data-json'); |
|||
data=item.split("&"); |
|||
product={}; |
|||
if(data.length){ |
|||
for(var i=0;i<data.length;i++){ |
|||
var row=data[i].split('='); |
|||
if(row.length==2){ |
|||
var key=row[0]; |
|||
product[key]=row[1]; |
|||
} |
|||
} |
|||
} |
|||
products[j]=product; |
|||
} |
|||
return JSON.stringify(products); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
var apply_type = $('#apply_type').val(); |
|||
var next_status = 20; |
|||
if(apply_type == 3){ |
|||
next_status = 40; |
|||
} |
|||
|
|||
var result = true; |
|||
if(apply_status == 1){ |
|||
|
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==2))} |
|||
mobile=1; |
|||
{/if} |
|||
var pdata="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=10&next_status='+next_status+'&apply_type={$apply_type}'; |
|||
|
|||
{if condition="$apply_type eq 3 or $apply_type eq 4"} |
|||
var form=$("form[name='baseinfo']").serialize(); |
|||
pdata+='&'+form; |
|||
{/if} |
|||
|
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==3||$apply_type==4))} |
|||
mobile=1; |
|||
var len=$(".pid").length; |
|||
for(var i=0;i<len;i++){ |
|||
var code=$("input[name='code["+i+"]']").val(); |
|||
var level=$("input[name='capital_level["+i+"]']").val(); |
|||
var capdate=$("input[name='capital_date["+i+"]']").val(); |
|||
if(code==''){ |
|||
$("input[name='code["+i+"]']").focus(); |
|||
layer.msg('请填写资产托管代码'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(capdate==''){ |
|||
$("input[name='capital_date["+i+"]']").focus(); |
|||
layer.msg('请填写托管日期'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(level==''){ |
|||
$("input[name='capital_level["+i+"]']").focus(); |
|||
layer.msg('请填写资产等级'); |
|||
return false; |
|||
break; |
|||
} |
|||
} |
|||
{/if} |
|||
|
|||
|
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_upfiles", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}&mobile={$baseinfo.mobile}", |
|||
success: function(data){ |
|||
if (data == false) { |
|||
layer.alert("上传的文件全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
|
|||
if(mobile==1){ |
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_product", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}", |
|||
success: function(data){ |
|||
if (data == false) { |
|||
layer.alert("资产托管清单全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
|
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见"); |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:pdata, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
|
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见"); |
|||
return false |
|||
} |
|||
|
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:pdata, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见"); |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=10&next_status='+next_status+'&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,214 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{:$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {:$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">待签协议信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<form class="form-horizontal ajaxForm" name="baseinfo" method="post"> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 审核意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的待签协议意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 100px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;">提交</button> |
|||
<button class="btn btn-info" type="button" name="btn1" value="1" onclick="windows.location.go(-1)">返回上一级</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var apply_id = $('#apply_id').val(); |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=100&next_status=50&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,128 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{:$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {:$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">办理入库</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<form class="form-horizontal ajaxForm" name="baseinfo" method="post"> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right">办理状态: </label> |
|||
<div class="col-sm-3"> |
|||
<select id="apply_status" name="apply_status"> |
|||
<option value="0" {if condition="$applyinfo['apply_status'] eq 0"}selected{/if}>等待办理入库</option> |
|||
<option value="3" {if condition="$applyinfo['apply_status'] eq 3"}selected{/if}>可办理入库</option> |
|||
<option value="1" {if condition="$applyinfo['apply_status'] eq 1"}selected{/if}>完成入库</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 100px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
{if condition="$applyinfo['apply_status'] neq 1"} |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;">提交</button> |
|||
{else} |
|||
<button class="btn btn-info" type="button" name="btn1" value="1" onclick="windows.location.go(-1)">返回上一级</button> |
|||
{/if} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var apply_status =$('#apply_status').val(); |
|||
var apply_id = $('#apply_id').val(); |
|||
var apply_type="{:input('apply_type')}"; |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_status?apply_type="+apply_type, |
|||
type:"POST", |
|||
data:"apply_status="+apply_status+'&apply_id='+apply_id+'&apply_type='+apply_type, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,301 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{:$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {:$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">材料复审信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 材料复审意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的材料复审意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
|
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
var data="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=20&next_status=30&apply_type={$apply_type}'; |
|||
{if condition="$apply_type eq 3 or $apply_type eq 4"} |
|||
var form=$("form[name='baseinfo']").serialize(); |
|||
data+='&'+form; |
|||
{/if} |
|||
|
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==3||$apply_type==4))} |
|||
mobile=1; |
|||
var ower=$("#ower").val(); |
|||
var cunit=$("#capital_unit").val(); |
|||
var cprice=$("#capital_price").val(); |
|||
var ccomm=$("#capital_commission").val(); |
|||
if(ower=='undefined'||ower==''){ |
|||
layer.alert("请选择信息所属人"); |
|||
return false |
|||
} |
|||
if(cunit=='undefined'||cunit==''){ |
|||
layer.alert("请填写收费标准"); |
|||
return false |
|||
} |
|||
if(cprice=='undefined'||cprice==''){ |
|||
layer.alert("请填写单价金额"); |
|||
return false |
|||
} |
|||
if(ccomm=='undefined'||ccomm==''){ |
|||
layer.alert("请填写交易佣金"); |
|||
return false |
|||
} |
|||
var len=$(".pid").length; |
|||
for(var i=0;i<len;i++){ |
|||
var code=$("input[name='code["+i+"]']").val(); |
|||
var level=$("input[name='capital_level["+i+"]']").val(); |
|||
var capdate=$("input[name='capital_date["+i+"]']").val(); |
|||
if(code==''){ |
|||
$("input[name='code["+i+"]']").focus(); |
|||
layer.msg('请填写资产托管代码'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(capdate==''){ |
|||
$("input[name='capital_date["+i+"]']").focus(); |
|||
layer.msg('请填写托管日期'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(level==''){ |
|||
$("input[name='capital_level["+i+"]']").focus(); |
|||
layer.msg('请填写资产等级'); |
|||
return false; |
|||
break; |
|||
} |
|||
} |
|||
data+="&ower="+ower+"&capital_unit="+cunit+"&capital_price="+cprice+"&capital_commission="+ccomm; |
|||
{/if} |
|||
if(mobile==1){ |
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_product", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}", |
|||
success: function(ret){ |
|||
|
|||
if (ret == false) { |
|||
layer.alert("资产托管清单全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,229 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
<div id="advice"></div> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">协议信息确认</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 协议信息确认意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的公告材料核实意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
var data="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=30&next_status=40&apply_type={$apply_type}'; |
|||
{if condition="$baseinfo['apply_type'] eq 1"} |
|||
var tg_price = $('#tg_price').val(); |
|||
var tg_date = $('#tg_date').val(); |
|||
var tg_year = $('#tg_year').val(); |
|||
if(typeof tg_price=='undefined'||tg_price==''){ |
|||
layer.alert("请输入收费标准") |
|||
return false |
|||
} |
|||
if(typeof tg_date=='undefined'||tg_date==''){ |
|||
layer.alert("请输入托管日期") |
|||
return false |
|||
} |
|||
if(typeof tg_year=='undefined'||tg_year==''){ |
|||
layer.alert("请输入托管年数") |
|||
return false |
|||
} |
|||
data+='&tg_price='+tg_price+'&tg_date='+tg_date+'&tg_year='+tg_year; |
|||
{/if} |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,324 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
<div class="widget-box" name="pro" id="pro" style=""> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">专家审核确认信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{~$k=0;}{~$tscore=0;} |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="row"> |
|||
<div class="col-xs-12 form-horizontal"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="check"> 专家分配: </label> |
|||
<div class="col-sm-10" style="padding-top: 8px"> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<h4 class="header green">已分配专家评分</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th>ID</th> |
|||
<th width="100px">前台专家会员是否可见</th> |
|||
<th>专家登陆用户名</th> |
|||
<th>专家昵称/邮箱</th> |
|||
<th>性别</th> |
|||
<th>状态</th> |
|||
<th>激活</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody id="ajax-data"> |
|||
{include file="capital/ajax_apply_listpro"/} |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<h4 class="header green pull-right">总评分:{$tscore}</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<input type="hidden" name="apply_id" id="apply_id" value="{$baseinfo.apply_id}" /> |
|||
<input type="hidden" name="submitType" id="submitType" value="" /> |
|||
|
|||
{if condition="$Think.config.capitaladvice['checkpro'] eq 1"} |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="check"> 历史专家审核确认意见: </label> |
|||
<div class="col-sm-9"> |
|||
{if(!empty($procheck))} |
|||
<div id="accordionpro" class="accordion-style1 panel-group accordion-style2"> |
|||
{foreach name="procheck" item="vcb" key="k1"} |
|||
{if condition="$k1 eq 0"} |
|||
<div class="panel panel-default"> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title"> |
|||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordionpro" href="#collapsepro{$k1}" aria-expanded="false"> |
|||
<i class="bigger-110 ace-icon fa fa-angle-right" data-icon-hide="ace-icon fa fa-angle-down" data-icon-show="ace-icon fa fa-angle-right"></i> |
|||
当前最新专家审核确认 - 【审核人:{$vcb.create_id,2|get_capitalUserName}】 - 【审核时间:{$vcb.create_time|date='Y-m-d H:i:s',###}】 |
|||
</a> |
|||
</h4> |
|||
</div> |
|||
|
|||
<div class="panel-collapse collapse in" id="collapsepro{$k1}" aria-expanded="true"> |
|||
<div class="panel-body" style="border: 1px solid #4C8FBD;">{$vcb.advice|htmlspecialchars_decode}</div> |
|||
</div> |
|||
</div> |
|||
{else/} |
|||
<div class="panel panel-default"> |
|||
<div class="panel-heading"> |
|||
<h4 class="panel-title"> |
|||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordionpro" href="#collapsepro{$k1}" aria-expanded="false"> |
|||
<i class="bigger-110 ace-icon fa fa-angle-right" data-icon-hide="ace-icon fa fa-angle-down" data-icon-show="ace-icon fa fa-angle-right"></i> |
|||
第{$k1}次缴费确认审核历史记录 - 【审核人:{$vcb.create_id,2|get_capitalUserName}】 - 【审核时间:{$vcb.create_time|date='Y-m-d H:i:s',###}】 |
|||
</a> |
|||
</h4> |
|||
</div> |
|||
|
|||
<div class="panel-collapse collapse" id="collapsepro{$k1}" aria-expanded="false" style="height: 0px;"> |
|||
<div class="panel-body" style="border: 1px solid #4C8FBD;">{$vcb.advice|htmlspecialchars_decode}</div> |
|||
</div> |
|||
</div> |
|||
{/if} |
|||
{/foreach} |
|||
</div> |
|||
{else/} |
|||
<div class="col-sm-10" style="padding-top: 8px"> |
|||
无 |
|||
</div> |
|||
{/if} |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="check"> 专家审核确认意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="myEditor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('myEditor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的专家审核确认意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
{/if} |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<button class="btn btn-info" type="button" name="btn1" value="PASSED" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="button" name="btn2" value="NOTPASS" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
var apply_type = $('#apply_type').val(); |
|||
var ass_agree="{$baseinfo.ass_agree}"; |
|||
var proassign="{$baseinfo.proassign}"; |
|||
var apply_type="{$baseinfo.apply_type}"; |
|||
|
|||
if(proassign==1&&apply_type==2){ |
|||
if(ass_agree==''){ |
|||
layer.alert("客户未查看专家修改资产名称"); |
|||
return false; |
|||
} |
|||
} |
|||
var prices=[]; |
|||
var ids=[]; |
|||
|
|||
ids=ids.join(","); |
|||
prices=prices.join(","); |
|||
|
|||
var next_status = 50; |
|||
var status = 40; |
|||
if(apply_type == 3){ |
|||
next_status = 70; |
|||
status = 70; |
|||
} |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false; |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status='+status+'&next_status='+next_status+'&apply_type={$apply_type}&prices='+prices+"&ids="+ids, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,210 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">缴费信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 缴费意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的缴费意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContentTxt(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=50&next_status=60&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,307 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">缴费确认信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 缴费确认意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的缴费意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
var apply_type={$apply_type}; |
|||
var data="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=60&next_status=70&apply_type='+apply_type; |
|||
var payimg=$("#pay_img").val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
if(apply_type==2&&(payimg==""||payimg==undefined)){ |
|||
layer.alert("客户未上传打款凭证") |
|||
return false |
|||
} |
|||
{if condition="$apply_type eq 3 or $apply_type eq 4"} |
|||
var form=$("form[name='baseinfo']").serialize(); |
|||
data+='&'+form; |
|||
{/if} |
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==3||$apply_type==4))} |
|||
mobile=1; |
|||
var ower=$("#ower").val(); |
|||
var cunit=$("#capital_unit").val(); |
|||
var cprice=$("#capital_price").val(); |
|||
var ccomm=$("#capital_commission").val(); |
|||
if(ower=='undefined'||ower==''){ |
|||
layer.alert("请选择信息所属人"); |
|||
return false |
|||
} |
|||
if(cunit=='undefined'||cunit==''){ |
|||
layer.alert("请填写收费标准"); |
|||
return false |
|||
} |
|||
if(cprice=='undefined'||cprice==''){ |
|||
layer.alert("请填写单价金额"); |
|||
return false |
|||
} |
|||
|
|||
if(ccomm=='undefined'||ccomm==''){ |
|||
layer.alert("请填写交易佣金"); |
|||
return false |
|||
} |
|||
data+="&ower="+ower+"&capital_unit="+cunit+"&capital_price="+cprice+"&capital_commission="+ccomm; |
|||
var len=$(".pid").length; |
|||
for(var i=0;i<len;i++){ |
|||
var code=$("input[name='code["+i+"]']").val(); |
|||
var level=$("input[name='capital_level["+i+"]']").val(); |
|||
var capdate=$("input[name='capital_date["+i+"]']").val(); |
|||
if(code==''){ |
|||
$("input[name='code["+i+"]']").focus(); |
|||
layer.msg('请填写资产托管代码'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(capdate==''){ |
|||
$("input[name='capital_date["+i+"]']").focus(); |
|||
layer.msg('请填写托管日期'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(level==''){ |
|||
$("input[name='capital_level["+i+"]']").focus(); |
|||
layer.msg('请填写资产等级'); |
|||
return false; |
|||
break; |
|||
} |
|||
} |
|||
{/if} |
|||
if(mobile==1){ |
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_product", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}", |
|||
success: function(ret){ |
|||
|
|||
if (ret == false) { |
|||
layer.alert("资产托管清单全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
|
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,324 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">{if condition="in_array($apply_type,[3,4])"}保证金设定{else}联席会审核信息{/if}</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> {if condition="in_array($apply_type,[3,4])"}保证金设定{else}联席会审核信息{/if}意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的联席会审核意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
|
|||
var data="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=70&next_status=80&apply_type={$apply_type}'; |
|||
{if condition="$apply_type eq 3 or $apply_type eq 4"} |
|||
var form=$("form[name='baseinfo']").serialize(); |
|||
data+='&'+form; |
|||
{/if} |
|||
|
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==3 or $apply_type==4))} |
|||
mobile=1; |
|||
var ower=$("#ower").val(); |
|||
var cunit=$("#capital_unit").val(); |
|||
var cprice=$("#capital_price").val(); |
|||
var ccomm=$("#capital_commission").val(); |
|||
if(ower=='undefined'||ower==''){ |
|||
layer.alert("请选择信息所属人"); |
|||
return false |
|||
} |
|||
if(cunit=='undefined'||cunit==''){ |
|||
layer.alert("请填写收费标准"); |
|||
return false |
|||
} |
|||
if(cprice=='undefined'||cprice==''){ |
|||
layer.alert("请填写单价金额"); |
|||
return false |
|||
} |
|||
|
|||
if(ccomm=='undefined'||ccomm==''){ |
|||
layer.alert("请填写交易佣金"); |
|||
return false |
|||
} |
|||
data+="&ower="+ower+"&capital_unit="+cunit+"&capital_price="+cprice+"&capital_commission="+ccomm; |
|||
var len=$(".pid").length; |
|||
for(var i=0;i<len;i++){ |
|||
var code=$("input[name='code["+i+"]']").val(); |
|||
var level=$("input[name='capital_level["+i+"]']").val(); |
|||
var capdate=$("input[name='capital_date["+i+"]']").val(); |
|||
var deposit=$("input[name='deposit["+i+"]']:checked").val(); |
|||
var amount=$("input[name='pay_amount["+i+"]']").val(); |
|||
var date=$("input[name='pay_date["+i+"]']").val(); |
|||
if(deposit==''||deposit!=1){ |
|||
$("input[name='deposit["+i+"]']").focus(); |
|||
layer.msg('请确认已缴纳保证金'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(amount==''){ |
|||
$("input[name='pay_amount["+i+"]']").focus(); |
|||
layer.msg('请填写缴纳金额'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(date==''){ |
|||
$("input[name='pay_date["+i+"]']").focus(); |
|||
layer.msg('请填写缴纳时间'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(code==''){ |
|||
$("input[name='code["+i+"]']").focus(); |
|||
layer.msg('请填写资产托管代码'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(capdate==''){ |
|||
$("input[name='capital_date["+i+"]']").focus(); |
|||
layer.msg('请填写托管日期'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(level==''){ |
|||
$("input[name='capital_level["+i+"]']").focus(); |
|||
layer.msg('请填写资产等级'); |
|||
return false; |
|||
break; |
|||
} |
|||
} |
|||
{/if} |
|||
if(mobile==1){ |
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_product", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}", |
|||
success: function(ret){ |
|||
|
|||
if (ret == false) { |
|||
layer.alert("资产托管清单全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
|
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,211 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
|
|||
|
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">材料核实信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 材料核实意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的材料核实意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=80&next_status=90&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,323 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 -{$statuslist[$process]} |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - {$statuslist[$process]}</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
<div id="advice"></div> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">公告材料核实信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right"> 公告材料核实意见: </label> |
|||
<div class="col-sm-9"> |
|||
<textarea name="advice" rows="100%" style="width:100%" id="editor" value=""></textarea> |
|||
<script type="text/javascript"> |
|||
var ue = UE.getEditor('editor', { |
|||
toolbars: [ |
|||
[ |
|||
'template', //模板 |
|||
'undo', //撤销 |
|||
'redo', //重做 |
|||
'bold', //加粗 |
|||
'indent', //首行缩进 |
|||
'snapscreen', //截图 |
|||
'italic', //斜体 |
|||
'underline', //下划线 |
|||
'strikethrough', //删除线 |
|||
'subscript', //下标 |
|||
'fontborder', //字符边框 |
|||
'superscript', //上标 |
|||
'formatmatch', //格式刷 |
|||
'source', //源代码 |
|||
'blockquote', //引用 |
|||
'pasteplain', //纯文本粘贴模式 |
|||
'selectall', //全选 |
|||
'horizontal', //分隔线 |
|||
'removeformat', //清除格式 |
|||
'time', //时间 |
|||
'date', //日期 |
|||
'unlink', //取消链接 |
|||
'insertrow', //前插入行 |
|||
'insertcol', //前插入列 |
|||
'mergeright', //右合并单元格 |
|||
'mergedown', //下合并单元格 |
|||
'deleterow', //删除行 |
|||
'deletecol', //删除列 |
|||
'splittorows', //拆分成行 |
|||
'splittocols', //拆分成列 |
|||
'splittocells', //完全拆分单元格 |
|||
'deletecaption', //删除表格标题 |
|||
'inserttitle', //插入标题 |
|||
'mergecells', //合并多个单元格 |
|||
'deletetable', //删除表格 |
|||
'cleardoc', //清空文档 |
|||
'insertparagraphbeforetable', //"表格前插入行" |
|||
'fontfamily', //字体 |
|||
'fontsize', //字号 |
|||
'paragraph', //段落格式 |
|||
'edittable', //表格属性 |
|||
'edittd', //单元格属性 |
|||
'link', //超链接 |
|||
'emotion', //表情 |
|||
'spechars', //特殊字符 |
|||
'searchreplace', //查询替换 |
|||
'help', //帮助 |
|||
'justifyleft', //居左对齐 |
|||
'justifyright', //居右对齐 |
|||
'justifycenter', //居中对齐 |
|||
'justifyjustify', //两端对齐 |
|||
'forecolor', //字体颜色 |
|||
'backcolor', //背景色 |
|||
'insertorderedlist', //有序列表 |
|||
'insertunorderedlist', //无序列表 |
|||
'fullscreen', //全屏 |
|||
'directionalityltr', //从左向右输入 |
|||
'directionalityrtl', //从右向左输入 |
|||
'rowspacingtop', //段前距 |
|||
'rowspacingbottom', //段后距 |
|||
'pagebreak', //分页 |
|||
'insertframe', //插入Iframe |
|||
'imagenone', //默认 |
|||
'imageleft', //左浮动 |
|||
'imageright', //右浮动 |
|||
'imagecenter', //居中 |
|||
'lineheight', //行间距 |
|||
'edittip ', //编辑提示 |
|||
'customstyle', //自定义标题 |
|||
'autotypeset', //自动排版 |
|||
'touppercase', //字母大写 |
|||
'tolowercase', //字母小写 |
|||
'background', //背景 |
|||
'scrawl', //涂鸦 |
|||
'inserttable', //插入表格 |
|||
'drafts', // 从草稿箱加载 |
|||
'charts', // 图表 |
|||
] |
|||
], |
|||
autoHeightEnabled: true, |
|||
autoFloatEnabled: true |
|||
}); |
|||
</script> |
|||
<span style="color: #F3920A;">请输入您的公告材料核实意见,并提交!</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="margin-top: 200px;"></div> |
|||
<div class="clearfix form-actions"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核通过</button> |
|||
<button class="btn btn-info" type="submit" name="btn2" value="2" onclick="checkform(2);return false;"><i class="ace-icon fa fa-check bigger-110"></i>审核不通过</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
if(advice=="" || ue.getContentTxt()==""){ |
|||
layer.alert("请输入审核意见") |
|||
return false |
|||
} |
|||
var data="advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=90&next_status=90&apply_type={$apply_type}'; |
|||
{if condition="$apply_type eq 3 or $apply_type eq 4"} |
|||
var form=$("form[name='baseinfo']").serialize(); |
|||
data+='&'+form; |
|||
{/if} |
|||
|
|||
var mobile=0; |
|||
{if(isset($products)&&count($products)&&($apply_type==3 or $apply_type==4))} |
|||
mobile=1; |
|||
var ower=$("#ower").val(); |
|||
var cunit=$("#capital_unit").val(); |
|||
var cprice=$("#capital_price").val(); |
|||
var ccomm=$("#capital_commission").val(); |
|||
if(ower=='undefined'||ower==''){ |
|||
layer.alert("请选择信息所属人"); |
|||
return false |
|||
} |
|||
if(cunit=='undefined'||cunit==''){ |
|||
layer.alert("请填写收费标准"); |
|||
return false |
|||
} |
|||
if(cprice=='undefined'||cprice==''){ |
|||
layer.alert("请填写单价金额"); |
|||
return false |
|||
} |
|||
|
|||
if(ccomm=='undefined'||ccomm==''){ |
|||
layer.alert("请填写交易佣金"); |
|||
return false |
|||
} |
|||
data+="&ower="+ower+"&capital_unit="+cunit+"&capital_price="+cprice+"&capital_commission="+ccomm; |
|||
var len=$(".pid").length; |
|||
for(var i=0;i<len;i++){ |
|||
var code=$("input[name='code["+i+"]']").val(); |
|||
var level=$("input[name='capital_level["+i+"]']").val(); |
|||
var capdate=$("input[name='capital_date["+i+"]']").val(); |
|||
|
|||
var deposit=$("input[name='deposit["+i+"]']:checked").val(); |
|||
var amount=$("input[name='pay_amount["+i+"]']").val(); |
|||
var date=$("input[name='pay_date["+i+"]']").val(); |
|||
if(deposit==''||deposit!=1){ |
|||
$("input[name='deposit["+i+"]']").focus(); |
|||
layer.msg('请确认已缴纳保证金'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(amount==''){ |
|||
$("input[name='pay_amount["+i+"]']").focus(); |
|||
layer.msg('请填写缴纳金额'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(date==''){ |
|||
$("input[name='pay_date["+i+"]']").focus(); |
|||
layer.msg('请填写缴纳时间'); |
|||
return false; |
|||
break; |
|||
} |
|||
|
|||
if(code==''){ |
|||
$("input[name='code["+i+"]']").focus(); |
|||
layer.msg('请填写资产托管代码'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(capdate==''){ |
|||
$("input[name='capital_date["+i+"]']").focus(); |
|||
layer.msg('请填写托管日期'); |
|||
return false; |
|||
break; |
|||
} |
|||
if(level==''){ |
|||
$("input[name='capital_level["+i+"]']").focus(); |
|||
layer.msg('请填写资产等级'); |
|||
return false; |
|||
break; |
|||
} |
|||
} |
|||
{/if} |
|||
if(mobile==1){ |
|||
$.ajax({ |
|||
url:"/capital/Capital/apply_product", |
|||
type:"POST", |
|||
data:"id="+apply_id+"&apply_type={$apply_type}", |
|||
success: function(ret){ |
|||
|
|||
if (ret == false) { |
|||
layer.alert("资产托管清单全部通过审核之后,才可以进行此操作!", {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
return false; |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
}else{ |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:data, |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=70&next_status=70&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,93 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=70&next_status=70&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=30&next_status=40&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=40&next_status=50&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=90&next_status=90&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').html(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=90&next_status=90&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=90&next_status=90&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,94 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(apply_status){ |
|||
var advice = ue.getContent(); |
|||
var apply_id = $('#apply_id').val(); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_check", |
|||
type:"POST", |
|||
data:"advice="+advice+'&apply_id='+apply_id+'&apply_status='+apply_status+'&status=90&next_status=90&apply_type={$apply_type}', |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,216 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script> |
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
{$apply_types[$apply_type]}资产托管 - 详情 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<h4 class="header green">{$apply_types[$apply_type]}资产托管 - 详情</h4> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div class="col-xs-12 col-sm-12"> |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">项目基本信息</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
{include file='capital@capital:content' /} |
|||
|
|||
</div> |
|||
<div id="advice"> |
|||
|
|||
</div> |
|||
{if condition="$apply_type eq 4"} |
|||
<div class="widget-box"> |
|||
<div class="widget-header"> |
|||
<h4 class="widget-title">托管资产清单</h4> |
|||
<div class="widget-toolbar"> |
|||
<a href="#" data-action="collapse"> |
|||
<i class="ace-icon fa fa-chevron-up"></i> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="widget-body"> |
|||
<div class="widget-main"> |
|||
<div class="row"> |
|||
<label class="col-sm-2 control-label no-padding-right">托管资产清单: </label> |
|||
<div class="col-sm-9"> |
|||
{if condition="$applyinfo['apply_status'] eq 0"} |
|||
<form class="form-inline"> |
|||
<div class="form-group"> |
|||
<label>托管资产名称:</label> |
|||
<input type="text" class="form-control" id="capital_name" name="capital_name"> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label>资产托管代码:</label> |
|||
<input type="text" class="form-control" id="code" name="code"> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label>数量:</label> |
|||
<input type="text" class="form-control" id="num" name="num"> |
|||
</div> |
|||
<button type="button" id="addbtn" class="btn btn-info btn-sm">添加资产</button> |
|||
</form> |
|||
<br/> |
|||
<br/> |
|||
{/if} |
|||
<table id="prolist" class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 50px;" class="center">ID</th> |
|||
<th style="width: auto;" class="center">托管资产名称</th> |
|||
<th style="width: 100px;" class="center">资产托管代码</th> |
|||
<th style="width: 100px;" class="center">数量</th> |
|||
{if condition="$applyinfo['apply_status'] eq 0"}<th style="width: 100px;" class="center">审核</th>{/if} |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
{if(isset($products)&&count($products))} |
|||
{foreach name="$products" item="f1"} |
|||
<tr> |
|||
<td>{$key+1}</td> |
|||
<td>{$f1.capital_name}</td> |
|||
<td>{$f1.code}</td> |
|||
<td>{$f1.num}</td> |
|||
</tr> |
|||
{/foreach} |
|||
{/if} |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
{if condition="$applyinfo['apply_status'] eq 0"} |
|||
<div class="row"> |
|||
<div class="col-sm-offset-3 col-sm-9"> |
|||
<input type="hidden" id="apply_id" value="{$apply_id}" /> |
|||
<button class="btn btn-info" type="submit" name="btn1" value="1" onclick="checkform(1);return false;"><i class="ace-icon fa fa-check bigger-110"></i>提交</button> |
|||
</div> |
|||
</div> |
|||
{/if} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
{/if} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script> |
|||
var checkinfo = '{$checkinfo}'; |
|||
checkinfo = JSON.parse( checkinfo ); |
|||
var sta = '{$status}'; |
|||
sta = JSON.parse( sta ); |
|||
console.log(checkinfo); |
|||
|
|||
for(var i=0;i<checkinfo.length;i++){ |
|||
var status = checkinfo[i].check_type; |
|||
var html = '<div class="widget-box">' + |
|||
'<div class="widget-header">' + |
|||
'<h4 class="widget-title">'+sta[status]+'信息</h4>' + |
|||
'<div class="widget-toolbar">' + |
|||
'<a href="#" data-action="collapse">' + |
|||
'<i class="ace-icon fa fa-chevron-up"></i>' + |
|||
'</a>' + |
|||
'</div>' + |
|||
'</div>' + |
|||
'<div class="widget-body">' + |
|||
'<div class="widget-main">' +checkinfo[i].advice+ |
|||
'</div>' + |
|||
'</div>' + |
|||
'</div>'; |
|||
$('#advice').append(html); |
|||
} |
|||
|
|||
//checkform |
|||
function checkform(){ |
|||
|
|||
var list={}; |
|||
|
|||
var apply_id = $('#apply_id').val(); |
|||
$("#prolist tbody tr").each(function(cindex){ |
|||
var childs=$(this).children(); |
|||
var row={id:'',apply_id:apply_id}; |
|||
if(childs.length){ |
|||
childs.each(function(index){ |
|||
|
|||
var cur=$(this).html(); |
|||
if(index==1)row.capital_name=cur; |
|||
if(index==2)row.code=cur; |
|||
if(index==3){ |
|||
row.num=cur; |
|||
list[cindex]=row; |
|||
} |
|||
}); |
|||
} |
|||
}); |
|||
if(list.length==0){ |
|||
layer.msg("请添加资产清单"); |
|||
return false; |
|||
} |
|||
list=JSON.stringify(list); |
|||
console.log("list",list); |
|||
$.ajax({ |
|||
url:"/capital/Capital/capital_detail?apply_type={$apply_type}", |
|||
type:"POST", |
|||
data:"list="+list+"&apply_id="+apply_id+"&status=90", |
|||
success: function(data){ |
|||
if (data.status) { |
|||
layer.alert(data.msg, {icon: 6}, function (index) { |
|||
layer.close(index); |
|||
window.location.href = data.url; |
|||
}); |
|||
} else { |
|||
layer.alert(data.msg, {icon: 5}, function (index) { |
|||
layer.close(index); |
|||
}); |
|||
} |
|||
} |
|||
}); |
|||
return false; |
|||
} |
|||
$(function(){ |
|||
$("body").delegate(".delbtn",'click',function(){ |
|||
var parent=$(this).parents('tr'); |
|||
parent.remove(); |
|||
}); |
|||
$("#addbtn").click(function(){ |
|||
var name=$("#capital_name").val(); |
|||
if(name==''){ |
|||
layer.msg("请输入资产名称"); |
|||
return false; |
|||
} |
|||
var code=$("#code").val(); |
|||
if(code==''){ |
|||
layer.msg("请输入资产代码"); |
|||
return false; |
|||
} |
|||
var num=$("#num").val(); |
|||
if(num==''){ |
|||
layer.msg("请输入数量"); |
|||
return false; |
|||
} |
|||
var index=$("#prolist tbody tr").length+1; |
|||
var html='<tr><td>'+index+'</td><td>'+name+'</td><td>'+code+'</td><td>'+num+'</td> <td><a class="red delbtn"><button class="btn btn-minier btn-yellow">删除</button></a></td></tr>'; |
|||
$("#prolist tbody").append(html); |
|||
}); |
|||
}) |
|||
</script> |
|||
{/block} |
|||
@ -0,0 +1,108 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list10',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list10',['search_all'=>-1,'apply_type'=>input('apply_type')])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th >申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;" style="width:150px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中(已提交) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check10',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail10',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,110 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list100',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list100',['search_all'=>-1,'apply_type'=>input('apply_type')])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check100',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail100',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
|
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,100 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list110',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list110',['search_all'=>-1,'apply_type'=>input('apply_type')])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[60]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}等待入库{/if} |
|||
{if($v.apply_status == 3)}办理入库{/if} |
|||
{if($v.apply_status == 1)}完成入库{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
<div class=" action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check110',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,110 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list20',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list20',['search_all'=>-1,'apply_type'=>input('apply_type')])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check20',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail20',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
|
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,103 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list30',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{if($apply_type == 2)} |
|||
{$status[$v.status]}中({$status[10]}已通过) |
|||
{else} |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
{/if} |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check30',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail30',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,97 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list40',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{:isset($status[$v.status])?$status[$v.status]:''}中({:isset($status[$v.status-10])?$status[$v.status-10]:''}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check40',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail40',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,113 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list50',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list30',['search_all'=>-1])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态 |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{if($apply_type == 2)} |
|||
{$status[$v.status]}中({$status[100]}已通过) |
|||
{else} |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
{/if} |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check50',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail50',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,114 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list60',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list40',['search_all'=>-1])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="width: 80px;">缴费状态</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.feeinfo.fee_flag == 0)}未交费{/if} |
|||
{if($v.feeinfo.fee_flag == 1)}已缴费{/if} |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check60',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class=" action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail60',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,114 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list70',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list50',['search_all'=>-1])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="width: 80px;">缴费状态</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.feeinfo.fee_flag == 0)}未交费{/if} |
|||
{if($v.feeinfo.fee_flag == 1)}已缴费{/if} |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check70',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail70',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,114 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list80',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<div class="col-xs-2 col-sm-2 margintop5"> |
|||
<div class="input-group-btn"> |
|||
<a href="{:url('capital/Capital/apply_list60',['search_all'=>-1,'apply_type'=>input('apply_type')])}"> |
|||
<button type="button" class="btn btn-sm btn-purple"> |
|||
<span class="ace-icon fa fa-globe icon-on-right bigger-110"></span> |
|||
全部状态{if condition="$search_all eq -1"}-{/if} |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="width: 80px;">缴费状态</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.feeinfo.fee_flag == 0)}未交费{/if} |
|||
{if($v.feeinfo.fee_flag == 1)}已缴费{/if} |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check80',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail80',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,111 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/apply_list90',['search_all'=>$search_all,'apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询的企业名称/项目名称/申请人名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<form id="leftnav" name="leftnav" method="post" action="" > |
|||
<div class="table-responsive"> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 80px;">ID</th> |
|||
<th style="width: 250px;">申请用户名</th> |
|||
<th style="width: 100px;">用户状态</th> |
|||
<th style="width: 250px;">托管方名称/托管资产名称</th> |
|||
<th style="width: 100px;">申请类型</th> |
|||
<th style="width: 250px;">申请流程</th> |
|||
<th style="width: 100px;">处理状态</th> |
|||
<th style="width: 200px;">申请日期</th> |
|||
<th style="width: 80px;">缴费状态</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="apply_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.apply_id}</td> |
|||
<td>{$v.username}</td> |
|||
|
|||
<td>{if condition="$v['userstatus'] eq 1"}正常{else/}锁定{/if}</td> |
|||
<td>{$v.hoster_name}</td> |
|||
<td>{$apply_types[$v.apply_type]}</td> |
|||
<td> |
|||
{$status[$v.status]}中({$status[$v.status-10]}已通过) |
|||
</td> |
|||
<td> |
|||
{if($v.apply_status == 0)}待审核{/if} |
|||
{if($v.apply_status == 1)}审核通过{/if} |
|||
{if($v.apply_status == 2)}审核不通过{/if} |
|||
</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td> |
|||
{if($v.feeinfo.fee_flag == 0)}未交费{/if} |
|||
{if($v.feeinfo.fee_flag == 1)}已缴费{/if} |
|||
</td> |
|||
<td> |
|||
{if(in_array($apply_type,[1,3])&& $v.down_pdf)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{$v.down_pdf}" target="__blank" title="查看合同"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看合同 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status == 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_check90',array('apply_id'=>$v['apply_id'],'apply_type'=>input('apply_type')))}" title="审核"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 审核 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
{if($v.apply_status != 0)} |
|||
<div class="action-buttons"> |
|||
<a class="blue" href="{:url('capital/Capital/apply_detail90',array('apply_id'=>$v['apply_id'],'status'=>$v['status'],'apply_type'=>input('apply_type')))}" title="查看"> |
|||
<i class="ace-icon fa fa-gavel bigger-130"></i> 查看 |
|||
</a> |
|||
</div> |
|||
{/if} |
|||
</td> |
|||
|
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="10" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
File diff suppressed because it is too large
@ -0,0 +1,56 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
|
|||
</div> |
|||
<div class="col-xs-10 col-sm-5 margintop5"> |
|||
<form name="sch_list_sea" class="form-search" method="post" action="{:url('capital/Capital/notice_list',['apply_type'=>input('apply_type')])}"> |
|||
<div class="input-group"> |
|||
<span class="input-group-addon"> |
|||
<i class="ace-icon fa fa-check"></i> |
|||
</span> |
|||
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入需查询项目名称" /> |
|||
<span class="input-group-btn"> |
|||
<button type="submit" class="btn btn-purple btn-sm"> |
|||
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span> |
|||
搜索 |
|||
</button> |
|||
</span> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 50px;">ID</th> |
|||
<th style="width: 200px;">公告描述</th> |
|||
<th style="width: 150px;border-right:#CCC solid 1px;">操作日期</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="notice_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.notice_id}</td> |
|||
<td>{$v.notice_title}</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="18" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,194 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
|
|||
|
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
添加固定上传文件类型 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<form class="form-horizontal ajaxForm2" name="uptype_add" method="post" action="{:url('capital/Capital/uptype_runadd',['apply_type'=>input('apply_type')])}"> |
|||
<input type="hidden" name="TOKEN" value="{:session('TOKEN')}"> |
|||
<input type="hidden" name="apply_id" id="apply_id" value="{$apply_id}"/> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1">展示端: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="mobile" class="col-sm-5"> |
|||
<option value="">请选择展示端</option> |
|||
<option value="0" selected>PC端</option> |
|||
<option value="1">手机端</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 文件类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="ftype_main" class="col-sm-5"> |
|||
<option value="">请选择文件类型</option> |
|||
<option value="1">固定</option> |
|||
<option value="2" selected>临时</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 托管类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="apply_type" class="col-sm-5" required> |
|||
<option value="">-请选择托管类型-</option> |
|||
<option value="1" {if condition="$apply_type eq 1"}selected{/if}>文化资产</option> |
|||
<option value="2" {if condition="$apply_type eq 2"}selected{/if}>艺术资产</option> |
|||
<option value="3" {if condition="$apply_type eq 3"}selected{/if}>古建资产</option> |
|||
<option value="4" {if condition="$apply_type eq 4"}selected{/if}>乡村振兴资产</option> |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请选择该固定文件对应的托管类型</span> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 必须上传项: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="mustupload" class="col-sm-5" required> |
|||
<option value="0">非必须</option> |
|||
<option value="1" selected>必须</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group" style="display: none"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 临时文件类型对应申请ID: </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="apply_id_show" id="apply_id_show" class="col-xs-10 col-sm-5" value="{$apply_id}" disabled/> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="display: none"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 文件类型描述: </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="ftypedescr" id="ftypedescr" placeholder="输入文件类型描述" class="col-xs-10 col-sm-5" required/> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请输入文件类型描述</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 模板文件上传: </label> |
|||
<div class="col-sm-4"> |
|||
<input name="file_one" type="file" class="file col-xs-6 col-sm-6" data-show-preview="false" data-show-upload="false" data-show-caption="true"> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 接受文件类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="ftype" class="col-sm-5" required> |
|||
<option value="">-请选择接受文件类型-</option> |
|||
<option value="JPG">JPG</option> |
|||
<option value="PDF">PDF</option> |
|||
<option value="PDF">DOC</option> |
|||
<option value="RAR/ZIP">RAR/ZIP</option> |
|||
<option value="JPG/PDF">JPG/PDF</option> |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>选择可接受的文件类型</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 添加文件状态: </label> |
|||
<div class="col-sm-10"> |
|||
{if condition="$status egt 0"}<select name="status" class="col-sm-5" disabled>{else/}<select name="status" class="col-sm-5" required>{/if} |
|||
<option value="">-请选择添加文件状态-</option> |
|||
{foreach name="statuslist" item="v" key="i"} |
|||
<option value="{$v.status}" {if condition="$status eq $v.status"}selected{/if}>{$v.descr}</option> |
|||
{/foreach} |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 资料上传者: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="roletype" id="roletype" class="col-sm-2" onChange="loadRole('roletype','roletitle','{:url('admin/Ajax/getRole')}');" required> |
|||
<option value="">-资料上传者类型-</option> |
|||
<option value="1">前台会员角色</option> |
|||
<option value="2">后台员工角色</option> |
|||
</select> |
|||
<select name="roletitle" id="roletitle" class="col-sm-2" required style="margin-left:10px;"> |
|||
<option value="0">-资料上传者角色-</option> |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请选择资料上传者</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 资料辅助上传者: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="roletype2" id="roletype2" class="col-sm-2" onChange="loadRole('roletype2','roletitle2','{:url('admin/Ajax/getRole')}');"> |
|||
<option value="">-资料辅助上传者类型-</option> |
|||
<option value="1">前台会员角色</option> |
|||
<option value="2">后台员工角色</option> |
|||
</select> |
|||
<select name="roletitle2" id="roletitle2" class="col-sm-2" style="margin-left:10px;"> |
|||
<option value="0">-资料辅助上传者角色-</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 是否启用: </label> |
|||
<div class="col-sm-10" style="padding-top:5px;"> |
|||
<input name="isopen" id="isopen" value="1" class="ace ace-switch ace-switch-4 btn-flat" type="checkbox" /> |
|||
<span class="lbl"> 默认关闭</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 排序(从小到大): </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="forder" class="col-xs-10 col-sm-1" /> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="clearfix form-actions"> |
|||
<div class="col-md-offset-3 col-md-9"> |
|||
<button class="btn btn-info" type="submit"> |
|||
<i class="ace-icon fa fa-check bigger-110"></i> |
|||
添加 |
|||
</button> |
|||
|
|||
<button class="btn" type="reset"> |
|||
<i class="ace-icon fa fa-undo bigger-110"></i> |
|||
重置 |
|||
</button> |
|||
<a href="{:url('capital/Capital/uptype_list')}"> |
|||
<button class="btn btn-info" type="button"> |
|||
<i class="ace-icon fa fa-bolt bigger-110"></i> |
|||
返回 |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script type="text/javascript" src="__PUBLIC__/others/role.js"></script> |
|||
{/block} |
|||
@ -0,0 +1,201 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
<link href="__PUBLIC__/ppy/css/fileinput.css" media="all" rel="stylesheet" type="text/css" /> |
|||
<script src="__PUBLIC__/ppy/js/fileinput.js" type="text/javascript"></script> |
|||
<script src="__PUBLIC__/ppy/js/fileinput_locale_zh.js" type="text/javascript"></script> |
|||
|
|||
|
|||
<!--主题--> |
|||
<div class="page-header"> |
|||
<h1> |
|||
您当前操作 |
|||
<small> |
|||
<i class="ace-icon fa fa-angle-double-right"></i> |
|||
修改固定上传文件类型 |
|||
</small> |
|||
</h1> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<form class="form-horizontal ajaxForm2" name="uptype_edit" method="post" action="{:url('capital/Capital/uptype_edit',['apply_type'=>input('apply_type')])}"> |
|||
<input type="hidden" name="TOKEN" value="{:session('TOKEN')}"> |
|||
<input type="hidden" name="ftype_id" id="ftype_id" value="{$uptype.ftype_id}"/> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1">展示端: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="mobile" class="col-sm-5"> |
|||
<option value="">请选择展示端</option> |
|||
<option value="0" {if condition="$uptype.mobile eq 0"} selected {/if}>PC端</option> |
|||
<option value="1" {if condition="$uptype.mobile eq 1"} selected {/if}>手机端</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 文件类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="ftype_main" class="col-sm-5" disabled> |
|||
<option value="">请选择文件类型</option> |
|||
<option value="0" {if condition="$uptype.apply_id eq 0"} selected {/if}>固定</option> |
|||
<option value="1" {if condition="$uptype.apply_id neq 0"} selected {/if}>临时</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 托管类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="apply_type" class="col-sm-5" required> |
|||
<option value="">-请选择托管类型-</option> |
|||
<option value="1" {if condition="$uptype.apply_type eq 1"} selected {/if}>文化资产</option> |
|||
<option value="2" {if condition="$uptype.apply_type eq 2"} selected {/if}>艺术资产</option> |
|||
<option value="3" {if condition="$uptype.apply_type eq 3"} selected {/if}>古建资产</option> |
|||
<option value="4" {if condition="$uptype.apply_type eq 4"} selected {/if}>乡村振兴资产</option> |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请选择该固定文件对应的托管类型</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 必须上传项: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="mustupload" class="col-sm-5" required> |
|||
<option value="0" {if condition="$uptype.mustupload eq 0"} selected {/if}>非必须</option> |
|||
<option value="1" {if condition="$uptype.mustupload eq 1"} selected {/if}>必须</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group" style="display: none"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 临时文件类型对应申请ID: </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="apply_id_show" id="apply_id_show" class="col-xs-10 col-sm-5" value="{$uptype.apply_id}" disabled/> |
|||
</div> |
|||
</div> |
|||
<div class="space-4" style="display: none"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 文件类型描述: </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="ftypedescr" id="ftypedescr" placeholder="输入文件类型描述" class="col-xs-10 col-sm-5" value="{$uptype.ftypedescr}" required/> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请输入文件类型描述</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 模板文件上传: </label> |
|||
<div class="col-sm-4"> |
|||
<input type="hidden" name="ftemp_id" id="ftemp_id" value="{$uptype.ftemp_id}"/> |
|||
<input name="file_one" type="file" class="file col-xs-6 col-sm-6" data-show-preview="false" data-show-upload="false" data-show-caption="true"> |
|||
{if condition="get_capitalPathFromFileID($uptype.ftemp_id) eq '未上传'"}{else/}<a href="{$uptype.ftemp_id|get_capitalPathFromFileID|get_imgurl}" target="_blank">查看原始上传文件</a>{/if} |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 接受文件类型: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="ftype" class="col-sm-5" required> |
|||
<option value="">-请选择接受文件类型-</option> |
|||
<option value="JPG" {if condition="$uptype.ftype eq 'JPG'"} selected {/if}>JPG</option> |
|||
<option value="PDF" {if condition="$uptype.ftype eq 'PDF'"} selected {/if}>PDF</option> |
|||
<option value="DOC" {if condition="$uptype.ftype eq 'DOC'"} selected {/if}>DOC</option> |
|||
<option value="RAR/ZIP" {if condition="$uptype.ftype eq 'RAR/ZIP'"} selected {/if}>RAR/ZIP</option> |
|||
<option value="JPG/PDF" {if condition="$uptype.ftype eq 'JPG/PDF'"} selected {/if}>JPG/PDF</option> |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>选择可接受的文件类型</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 添加文件状态: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="status" class="col-sm-5" required> |
|||
<option value="">-请选择添加文件状态-</option> |
|||
{foreach name="statuslist" item="v" key="i"} |
|||
<option value="{$v.status}" {if condition="$uptype.status eq $v.status"}selected{/if}>{$v.descr}</option> |
|||
{/foreach} |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 资料上传者: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="roletype" id="roletype" class="col-sm-2" onChange="loadRole('roletype','roletitle','{:url('admin/Ajax/getRole')}');" required> |
|||
<option value="">-资料上传者类型-</option> |
|||
<option value="1" {if condition="$uptype.upload_role_type eq 1"} selected {/if}>前台会员角色</option> |
|||
<option value="2" {if condition="$uptype.upload_role_type eq 2"} selected {/if}>后台员工角色</option> |
|||
</select> |
|||
<select name="roletitle" id="roletitle" class="col-sm-2" required style="margin-left:10px;"> |
|||
<option value="0">-资料上传者角色-</option> |
|||
{foreach name="list1" item="v" key="i"} |
|||
<option value="{$v.id}" {if condition="$uptype.upload_role_id eq $v.id"}selected{/if}>{$v.name}</option> |
|||
{/foreach} |
|||
</select> |
|||
<span class="lbl col-xs-12 col-sm-7"><span class="red">*</span>请选择资料上传者</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 资料辅助上传者: </label> |
|||
<div class="col-sm-10"> |
|||
<select name="roletype2" id="roletype2" class="col-sm-2" onChange="loadRole('roletype2','roletitle2','{:url('admin/Ajax/getRole')}');"> |
|||
<option value="">-资料辅助上传者类型-</option> |
|||
<option value="1" {if condition="$uptype.upload_role_type2 eq 1"} selected {/if}>前台会员角色</option> |
|||
<option value="2" {if condition="$uptype.upload_role_type2 eq 2"} selected {/if}>后台员工角色</option> |
|||
</select> |
|||
<select name="roletitle2" id="roletitle2" class="col-sm-2" style="margin-left:10px;"> |
|||
<option value="0">-资料辅助上传者角色-</option> |
|||
{foreach name="list2" item="v" key="i"} |
|||
<option value="{$v.id}" {if condition="$uptype.upload_role_id2 eq $v.id"}selected{/if}>{$v.name}</option> |
|||
{/foreach} |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 是否启用: </label> |
|||
<div class="col-sm-10" style="padding-top:5px;"> |
|||
<input name="isopen" id="isopen" value="1" class="ace ace-switch ace-switch-4 btn-flat" type="checkbox" {if condition="$uptype.isopen eq 1"} checked {/if} /> |
|||
<span class="lbl"> 默认关闭</span> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 排序(从小到大): </label> |
|||
<div class="col-sm-10"> |
|||
<input type="text" name="forder" value="{$uptype['forder']|default=50}" class="col-xs-10 col-sm-1" /> |
|||
</div> |
|||
</div> |
|||
<div class="space-4"></div> |
|||
|
|||
<div class="clearfix form-actions"> |
|||
<div class="col-md-offset-3 col-md-9"> |
|||
<button class="btn btn-info" type="submit"> |
|||
<i class="ace-icon fa fa-check bigger-110"></i> |
|||
修改 |
|||
</button> |
|||
|
|||
<button class="btn" type="reset"> |
|||
<i class="ace-icon fa fa-undo bigger-110"></i> |
|||
重置 |
|||
</button> |
|||
<a href="{:url('capital/Capital/uptype_list')}"> |
|||
<button class="btn btn-info" type="button"> |
|||
<i class="ace-icon fa fa-bolt bigger-110"></i> |
|||
返回 |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
|||
|
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
{block name="scripts"} |
|||
<script type="text/javascript" src="__PUBLIC__/others/role.js"></script> |
|||
{/block} |
|||
@ -0,0 +1,104 @@ |
|||
{extend name="admin@public/base" /} |
|||
{block name="main-content"} |
|||
<div class="page-content"> |
|||
|
|||
<div class="row maintop"> |
|||
<div class="col-xs-4 col-sm-2 margintop5"> |
|||
<a href="{:url('capital/Capital/uptype_add',['apply_type'=>input('apply_type')])}"> |
|||
<button class="btn btn-sm btn-danger"> |
|||
<i class="ace-icon fa fa-bolt bigger-110"></i> |
|||
添加固定上传文件类型 |
|||
</button> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="row"> |
|||
<div class="col-xs-12"> |
|||
<div> |
|||
<table class="table table-striped table-bordered table-hover" id="dynamic-table"> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 50px;">ID</th> |
|||
<th style="width: 200px;">文件描述</th> |
|||
<th style="width: 50px;">文件类型</th> |
|||
<th style="width: 50px;">展示端</th> |
|||
<th style="width: 50px;">文件模板</th> |
|||
<th style="width: 70px;">托管类型</th> |
|||
<th style="width: 60px;">接受文件类型</th> |
|||
<th style="width: 100px;">上传状态</th> |
|||
<th style="width: 50px;">启用状态</th> |
|||
<th style="width: 60px;">申请ID</th> |
|||
<th style="width: 120px;">操作员</th> |
|||
<th style="width: 150px;">上传者</th> |
|||
<th style="width: 250px;">辅助上传者</th> |
|||
<th style="width: 150px;border-right:#CCC solid 1px;">操作日期</th> |
|||
<th style="width: 50px;border-right:#CCC solid 1px;">必须项目</th> |
|||
<th style="border-right:#CCC solid 1px;">操作</th> |
|||
</tr> |
|||
</thead> |
|||
|
|||
<tbody> |
|||
|
|||
{foreach name="uptype_list" item="v"} |
|||
<tr> |
|||
<td height="28" >{$v.ftype_id}</td> |
|||
<td>{$v.ftypedescr}</td> |
|||
<td>{if condition="$v.apply_id eq 0"}固定{else/}临时{/if}</td> |
|||
<td>{if condition="$v.mobile eq 0"}PC{else/}手机{/if}</td> |
|||
<td>{if condition="get_capitalPathFromFileID($v.ftemp_id) eq '未上传'"}未上传{else/}<a href="{$v.ftemp_id|get_capitalPathFromFileID|get_imgurl}" target="_blank">查看</a>{/if}</td> |
|||
<td>{if condition="$v.apply_type eq 1"}文化资产{elseif condition="$v.apply_type eq 2"}艺术资产{elseif condition="$v.apply_type eq 3"}古建资产{/if}</td> |
|||
<td>{$v.ftype}</td> |
|||
<td>{$v.status|get_cult4Status}</td> |
|||
<td> |
|||
{if condition="$v['isopen'] eq 1"} |
|||
<a class="red open-btn" href="{:url('capital/Capital/uptype_state',['apply_type'=>input('apply_type')])}" data-id="{$v.ftype_id}" title="已开启"> |
|||
<div id="zt{$v.ftype_id}"><button class="btn btn-minier btn-yellow">开启</button></div> |
|||
</a> |
|||
{else/} |
|||
<a class="red open-btn" href="{:url('capital/Capital/uptype_state',['apply_type'=>input('apply_type')])}" data-id="{$v.ftype_id}" title="已禁用"> |
|||
<div id="zt{$v.ftype_id}"><button class="btn btn-minier btn-danger">禁用</button></div> |
|||
</a> |
|||
{/if} |
|||
</td> |
|||
<td>{if condition="$v.apply_id eq 0"}无{else/}{$v.apply_id}{/if}</td> |
|||
<td>{$v.user_id|get_cult4UserName=###,2}</td> |
|||
<td>{$v.upload_role_id,$v.upload_role_type|get_cult4RoleName}</td> |
|||
<td>{$v.upload_role_id2,$v.upload_role_type2|get_cult4RoleName}</td> |
|||
<td>{$v.create_time|date='Y-m-d H:i:s',###}</td> |
|||
<td>{if condition="$v.mustupload eq 1"}必须{else/}非必须{/if}</td> |
|||
<td> |
|||
<div class="hidden-sm hidden-xs action-buttons"> |
|||
<a class="green" href="{:url('capital/Capital/uptype_edit',array('ftype_id'=>$v['ftype_id'],'apply_type'=>input('apply_type')))}" data-toggle="tooltip" title="修改"> |
|||
<i class="ace-icon fa fa-pencil bigger-130"></i> |
|||
</a> |
|||
</div> |
|||
<div class="hidden-md hidden-lg"> |
|||
<div class="inline position-relative"> |
|||
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto"> |
|||
<i class="ace-icon fa fa-cog icon-only bigger-110"></i> |
|||
</button> |
|||
<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close"> |
|||
<li> |
|||
<a href="{:url('capital/Capital/uptype_edit',array('ftype_id'=>$v['ftype_id'],'apply_type'=>input('apply_type')))}" class="tooltip-success" data-rel="tooltip" title="" data-original-title="修改"> |
|||
<span class="green"> |
|||
<i class="ace-icon fa fa-pencil-square-o bigger-120"></i> |
|||
</span> |
|||
</a> |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</td> |
|||
</tr> |
|||
{/foreach} |
|||
<tr> |
|||
<td height="50" colspan="18" align="left">{$page}</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div><!-- /.page-content --> |
|||
{/block} |
|||
@ -0,0 +1,88 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
namespace app\common\behavior; |
|||
|
|||
use think\Exception; |
|||
use think\Request; |
|||
use think\Db; |
|||
|
|||
class WebLog |
|||
{ |
|||
public function run(&$param) |
|||
{ |
|||
$request = Request::instance(); |
|||
//不记录的模块 |
|||
$not_log_module=config('web_log.not_log_module')?:array(); |
|||
|
|||
//不记录的控制器 'module/controller' |
|||
$not_log_controller=config('web_log.not_log_controller')?:array(); |
|||
|
|||
//不记录的操作方法 'module/controller/action' |
|||
$not_log_action=config('web_log.not_log_action')?:array(); |
|||
|
|||
//不记录data的操作方法 'module/controller/action' 如涉及密码传输的地方:1、前、后台登录runlogin 2、前台重置密码runpwd_reset 3、前台runregister runchangepwd 4、后台member_runadd member_runedit 5、后台admin_runadd admin_runedit |
|||
$not_log_data=['admin/Login/runlogin','home/Login/runlogin','home/Login/runpwd_reset','home/Register/runregister','home/Center/runchangepwd','admin/Member/member_runadd','admin/Member/member_runedit','admin/Admin/admin_runadd','admin/Admin/admin_runedit']; |
|||
$not_log_data=array_merge($not_log_data,config('web_log.not_log_data')?:array()); |
|||
|
|||
//不记录的请求类型 |
|||
$not_log_request_method=config('web_log.not_log_request_method')?:array(); |
|||
if(strpos($request->action(),'del')==false){ |
|||
if ( |
|||
in_array($request->module(), $not_log_module) || |
|||
in_array($request->module().'/'.$request->controller(), $not_log_controller) || |
|||
in_array($request->module().'/'.$request->controller().'/'.$request->action(), $not_log_action) || |
|||
in_array($request->method(), $not_log_request_method) |
|||
) { |
|||
return true; |
|||
} |
|||
} |
|||
//只记录存在的操作方法 |
|||
if(!has_action($request->module(),$request->controller(),$request->method())){ |
|||
return true; |
|||
} |
|||
try { |
|||
if(in_array($request->module().'/'.$request->controller().'/'.$request->action(), $not_log_data)){ |
|||
$requestData='保密数据'; |
|||
}else{ |
|||
$requestData = $request->param(); |
|||
foreach ($requestData as &$v) { |
|||
if (is_string($v)) { |
|||
$v = mb_substr($v, 0, 200); |
|||
} |
|||
} |
|||
} |
|||
$uid=session('hid')?:0; |
|||
$type=1; |
|||
$module=$request->module(); |
|||
if($module=='admin'){ |
|||
$type=2; |
|||
$user=session('admin_auth'); |
|||
$uid=$user['aid']; |
|||
} |
|||
$data = [ |
|||
'uid' =>$uid, |
|||
'ip' => $request->ip(), |
|||
'location' => implode(' ', \Ip::find($request->ip())), |
|||
'os' => getOs(), |
|||
'browser' => getBroswer(), |
|||
'url' => $request->url(), |
|||
'module' =>$module, |
|||
'controller'=> $request->controller(), |
|||
'action' => $request->action(), |
|||
'method' => $request->isAjax()?'Ajax':($request->isPjax()?'Pjax':$request->method()), |
|||
'data' => serialize($requestData), |
|||
'otime' => time(), |
|||
'type'=>$type |
|||
]; |
|||
Db::name('web_log')->insert($data); |
|||
} catch (Exception $e) { |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,64 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
namespace app\common\controller; |
|||
|
|||
use think\Controller; |
|||
use think\Lang; |
|||
use think\captcha\Captcha; |
|||
|
|||
class Common extends Controller |
|||
{ |
|||
// Request实例 |
|||
protected $lang; |
|||
protected function _initialize() |
|||
{ |
|||
parent::_initialize(); |
|||
if (!defined('__ROOT__')) { |
|||
$_root = rtrim(dirname(rtrim($_SERVER['SCRIPT_NAME'], '/')), '/'); |
|||
define('__ROOT__', (('/' == $_root || '\\' == $_root) ? '' : $_root)); |
|||
} |
|||
if (!file_exists(ROOT_PATH.'data/install.lock')) { |
|||
//不存在,则进入安装 |
|||
header('Location: ' . url('install/Index/index')); |
|||
exit(); |
|||
} |
|||
if (!defined('MODULE_NAME')){define('MODULE_NAME', $this->request->module());} |
|||
if (!defined('CONTROLLER_NAME')){define('CONTROLLER_NAME', $this->request->controller());} |
|||
if (!defined('ACTION_NAME')){define('ACTION_NAME', $this->request->action());} |
|||
// 多语言 |
|||
// if(config('lang_switch_on')){ |
|||
// $this->lang=Lang::detect(); |
|||
// }else{ |
|||
// $this->lang=config('default_lang'); |
|||
// } |
|||
$this->lang="zh-cn"; |
|||
$this->assign('lang',$this->lang); |
|||
} |
|||
//空操作 |
|||
public function _empty() |
|||
{ |
|||
$this->error(lang('operation not valid')); |
|||
} |
|||
protected function verify_build($id='') |
|||
{ |
|||
ob_end_clean(); |
|||
$verify = new Captcha (config('verify')); |
|||
return $verify->entry($id); |
|||
} |
|||
protected function verify_check($id) |
|||
{ |
|||
// $verify =new Captcha (); |
|||
// if (!$verify->check(input('verify'), $id)) { |
|||
// $this->error(lang('verifiy incorrect'),url(MODULE_NAME.'/Login/login')); |
|||
// } |
|||
} |
|||
protected function check_admin_login(){ |
|||
return model('admin/Admin')->is_login(); |
|||
} |
|||
} |
|||
@ -0,0 +1,231 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
namespace app\common\model; |
|||
|
|||
use think\Model; |
|||
|
|||
/** |
|||
* 插件模型 |
|||
*/ |
|||
class Addon extends Model |
|||
{ |
|||
protected $autoWriteTimestamp = true; |
|||
|
|||
public function setConfigAttr($value) |
|||
{ |
|||
return $value?json_encode($value):''; |
|||
} |
|||
public function setAdminActionsAttr($value) |
|||
{ |
|||
return $value?json_encode($value):''; |
|||
} |
|||
/** |
|||
* 获取所有插件信息 |
|||
* @return array|bool |
|||
*/ |
|||
public function getAll() |
|||
{ |
|||
$result = cache('addon_all'); |
|||
if (!$result) { |
|||
// 获取插件目录下的所有插件目录 |
|||
$dirs = array_map('basename', glob(ADDON_PATH.'*', GLOB_ONLYDIR)); |
|||
if ($dirs === false || !file_exists(ADDON_PATH)) { |
|||
$this->error = '插件目录不可读或者不存在'; |
|||
return false; |
|||
} |
|||
$dirs=array_map('ucfirst',$dirs); |
|||
// 读取数据库插件表 |
|||
$addons = self::order('sort asc,id desc')->column('*', 'name'); |
|||
// 读取未安装的插件 |
|||
foreach ($dirs as $addon) { |
|||
if (!isset($addons[$addon])) { |
|||
$addons[$addon]['name'] = $addon; |
|||
// 获取插件类名 |
|||
$class = get_addon_class($addon); |
|||
// 插件类不存在则跳过实例化 |
|||
if (!class_exists($class)) { |
|||
$addons[$addon]['status'] = '-2'; |
|||
continue; |
|||
} |
|||
// 实例化插件 |
|||
$obj = new $class; |
|||
// 插件插件信息缺失 |
|||
if (!isset($obj->info) || empty($obj->info) || !$this->checkInfo($obj->info)) { |
|||
// 插件信息缺失! |
|||
$addons[$addon]['status'] = '-2'; |
|||
continue; |
|||
} |
|||
// 插件未安装 |
|||
$addons[$addon] = $obj->info; |
|||
$addons[$addon]['status'] = '-1'; |
|||
|
|||
} |
|||
} |
|||
// 处理插件按钮 |
|||
foreach ($addons as &$addon) { |
|||
switch ($addon['status']) { |
|||
case '-2': |
|||
$addon['actions'] = '<button class="btn btn-xs btn-inverse" type="button" disabled>不可操作</button>'; |
|||
break; |
|||
case '-1': // 未安装 |
|||
$addon['actions'] = '<a class="btn btn-xs btn-success rst-url-btn" href="'.url('admin/Addons/install', ['name' => $addon['name']]).'">安装</a>'; |
|||
break; |
|||
case '0': // 禁用 |
|||
$addon['admin_actions']=json_decode($addon['admin_actions'],true); |
|||
$addon['actions'] = '<a class="btn btn-xs btn-success rst-url-btn" href="'.url('admin/Addons/enable', ['id' => $addon['id']]).'">启用</a> '; |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-danger confirm-rst-url-btn" data-info="如果包括数据库,将同时删除数据库!确认?" href="'.url('uninstall', ['name' => $addon['name']]).'">卸载</a> '; |
|||
if (isset($addon['config']) && $addon['config'] != '' && $addon['admin_actions']['config']) { |
|||
if(count($addon['admin_actions']['config'])==2){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['config'][0],$addon['name'].'://'.$addon['admin_actions']['config'][1]); |
|||
}elseif(count($addon['admin_actions']['config'])==1){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['config'][0]); |
|||
}else{ |
|||
$url=''; |
|||
} |
|||
if($url){ |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-info" href="'.$url.'">设置</a> '; |
|||
} |
|||
} |
|||
if ($addon['admin'] != '0' && $addon['admin_actions']['index']) { |
|||
if(count($addon['admin_actions']['index'])==2){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['index'][0],$addon['name'].'://'.$addon['admin_actions']['index'][1]); |
|||
}elseif(count($addon['admin_actions']['index'])==1){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['index'][0]); |
|||
}else{ |
|||
$url=''; |
|||
} |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-primary" href="'.$url.'">管理</a> '; |
|||
} |
|||
break; |
|||
case '1': // 启用 |
|||
$addon['admin_actions']=json_decode($addon['admin_actions'],true); |
|||
$addon['actions'] = '<a class="btn btn-xs btn-yellow rst-url-btn" href="'.url('admin/Addons/disable', ['id' => $addon['id']]).'">禁用</a> '; |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-danger confirm-rst-url-btn" data-info="如果包括数据库,将同时删除数据库!确认?" href="'.url('uninstall', ['name' => $addon['name']]).'">卸载</a> '; |
|||
if (isset($addon['config']) && $addon['config'] != '' && $addon['admin_actions']['config']) { |
|||
if(count($addon['admin_actions']['config'])==2){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['config'][0],$addon['name'].'://'.$addon['admin_actions']['config'][1]); |
|||
}elseif(count($addon['admin_actions']['config'])==1){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['config'][0]); |
|||
}else{ |
|||
$url=''; |
|||
} |
|||
if($url){ |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-info" href="'.$url.'">设置</a> '; |
|||
} |
|||
} |
|||
if ($addon['admin'] != '0' && $addon['admin_actions']['index']) { |
|||
if(count($addon['admin_actions']['index'])==2){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['index'][0],$addon['name'].'://'.$addon['admin_actions']['index'][1]); |
|||
}elseif(count($addon['admin_actions']['index'])==1){ |
|||
$url=addon_url($addon['name'].'://'.$addon['admin_actions']['index'][0]); |
|||
}else{ |
|||
$url=''; |
|||
} |
|||
$addon['actions'] .= '<a class="btn btn-xs btn-primary" href="'.$url.'">管理</a> '; |
|||
} |
|||
break; |
|||
default: // 未知 |
|||
$addon['actions'] = ''; |
|||
break; |
|||
} |
|||
} |
|||
$result=$addons; |
|||
cache('addon_all', $result); |
|||
} |
|||
return $result; |
|||
} |
|||
|
|||
/** |
|||
* 检查插件插件信息是否完整 |
|||
* @param array $info 插件插件信息 |
|||
* @return bool |
|||
*/ |
|||
private function checkInfo($info = []) |
|||
{ |
|||
$default_item = ['name','title','author','version']; |
|||
foreach ($default_item as $item) { |
|||
if (!isset($info[$item]) || $info[$item] == '') { |
|||
return false; |
|||
} |
|||
} |
|||
return true; |
|||
} |
|||
|
|||
/** |
|||
* 获取插件配置 |
|||
* @param string $addon_name 插件名称 |
|||
* @param string $item 指定返回的插件配置项,多个配置项,隔开 |
|||
* @return array|mixed |
|||
*/ |
|||
public function getConfig($addon_name = '', $item = '') |
|||
{ |
|||
$config = cache('addon_config_'.$addon_name); |
|||
if (!$config) { |
|||
$config = self::where('name', $addon_name)->value('config'); |
|||
if (!$config) { |
|||
return []; |
|||
} |
|||
$config = json_decode($config, true); |
|||
cache('addon_config_'.$addon_name, $config); |
|||
} |
|||
if ($item) { |
|||
$items = explode(',', $item); |
|||
if (count($items) == 1) { |
|||
return isset($config[$item]) ? $config[$item] : ''; |
|||
} |
|||
|
|||
$result = []; |
|||
foreach ($items as $item) { |
|||
$result[$item] = isset($config[$item]) ? $config[$item] : ''; |
|||
} |
|||
return $result; |
|||
} |
|||
return $config; |
|||
} |
|||
|
|||
/** |
|||
* 设置插件配置 |
|||
* @param string $addon_name 插件名.配置名 |
|||
* @param string $value 配置值 |
|||
* @return bool |
|||
*/ |
|||
public static function setConfig($addon_name = '', $value = '') |
|||
{ |
|||
$item = ''; |
|||
if (strpos($addon_name, '.')) { |
|||
list($addon_name, $item) = explode('.', $addon_name); |
|||
} |
|||
$config = cache('addon_config_'.$addon_name); |
|||
if (!$config) { |
|||
$config = self::where('name', $addon_name)->value('config'); |
|||
if (!$config) { |
|||
return false; |
|||
} |
|||
$config = json_decode($config, true); |
|||
} |
|||
if ($item === '') { |
|||
// 批量更新 |
|||
if (!is_array($value) || empty($value)) { |
|||
// 值的格式错误,必须为数组 |
|||
return false; |
|||
} |
|||
$config = array_merge($config, $value); |
|||
} else { |
|||
// 更新单个值 |
|||
$config[$item] = $value; |
|||
} |
|||
if (false === self::where('name', $addon_name)->setField('config', json_encode($config))) { |
|||
return false; |
|||
} |
|||
//更新缓存 |
|||
cache('addon_config_'.$addon_name, $config); |
|||
return true; |
|||
} |
|||
} |
|||
@ -0,0 +1,68 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
namespace app\common\model; |
|||
|
|||
use think\Model; |
|||
|
|||
/** |
|||
* 钩子模型 |
|||
*/ |
|||
class Hook extends Model |
|||
{ |
|||
protected $autoWriteTimestamp = true; |
|||
|
|||
/** |
|||
* 添加钩子 |
|||
* @param array $hooks 钩子 |
|||
* @param string $addon_name 插件名称 |
|||
* @return bool |
|||
*/ |
|||
public static function addHooks($hooks = [], $addon_name = '') |
|||
{ |
|||
if ($hooks && is_array($hooks)) { |
|||
$data = []; |
|||
foreach ($hooks as $name => $description) { |
|||
if (is_numeric($name)) { |
|||
$name = $description; |
|||
$description = ''; |
|||
} |
|||
if (self::where('name', $name)->find()) { |
|||
continue; |
|||
} |
|||
$data[] = [ |
|||
'name' => $name, |
|||
'addon' => $addon_name, |
|||
'description' => $description, |
|||
'create_time' => request()->time(), |
|||
'update_time' => request()->time(), |
|||
]; |
|||
} |
|||
if ($data && false === self::insertAll($data)) { |
|||
return false; |
|||
} |
|||
} |
|||
return true; |
|||
} |
|||
|
|||
/** |
|||
* 删除钩子 |
|||
* @param string $addon_name 插件名称 |
|||
* @return bool |
|||
*/ |
|||
public static function deleteHooks($addon_name = '') |
|||
{ |
|||
if ($addon_name) { |
|||
if (false === self::where('addon', $addon_name)->delete()) { |
|||
return false; |
|||
} |
|||
} |
|||
return true; |
|||
} |
|||
} |
|||
@ -0,0 +1,91 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
namespace app\common\model; |
|||
|
|||
use think\Model; |
|||
use app\common\model\Hook as HookModel; |
|||
|
|||
/** |
|||
* 钩子-插件模型 |
|||
* @package app\admin\model |
|||
*/ |
|||
class HookAddon extends Model |
|||
{ |
|||
protected $autoWriteTimestamp = true; |
|||
|
|||
/** |
|||
* 启用插件钩子 |
|||
* @param string $addon_name 插件名称 |
|||
* @return bool |
|||
*/ |
|||
public static function enable($addon_name = '') |
|||
{ |
|||
return self::where('addon', $addon_name)->setField('status', 1); |
|||
} |
|||
|
|||
/** |
|||
* 禁用插件钩子 |
|||
* @param string $addon_name 插件名称 |
|||
* @return int |
|||
*/ |
|||
public static function disable($addon_name = '') |
|||
{ |
|||
return self::where('addon', $addon_name)->setField('status', 0); |
|||
} |
|||
|
|||
/** |
|||
* 添加钩子-插件对照 |
|||
* @param array $hooks 钩子 |
|||
* @param string $addon_name 插件名称 |
|||
* @return bool |
|||
*/ |
|||
public static function addHooks($hooks = [], $addon_name = '') |
|||
{ |
|||
if ($hooks && is_array($hooks)) { |
|||
// 添加钩子 |
|||
if (!HookModel::addHooks($hooks, $addon_name)) { |
|||
return false; |
|||
} |
|||
$data=[]; |
|||
foreach ($hooks as $name => $description) { |
|||
if (is_numeric($name)) { |
|||
$name = $description; |
|||
} |
|||
$data[] = [ |
|||
'hook' => $name, |
|||
'addon' => $addon_name, |
|||
'create_time' => request()->time(), |
|||
'update_time' => request()->time(), |
|||
]; |
|||
} |
|||
return self::insertAll($data); |
|||
} |
|||
return false; |
|||
} |
|||
|
|||
/** |
|||
* 删除钩子 |
|||
* @param string $addon_name 钩子名称 |
|||
* @return bool |
|||
*/ |
|||
public static function deleteHooks($addon_name = '') |
|||
{ |
|||
if ($addon_name) { |
|||
// 删除钩子 |
|||
if (!HookModel::deleteHooks($addon_name)) { |
|||
return false; |
|||
} |
|||
if (false === self::where('addon', $addon_name)->delete()) { |
|||
return false; |
|||
} |
|||
} |
|||
return true; |
|||
} |
|||
} |
|||
@ -0,0 +1,24 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
if(config('log.clear_on')){ |
|||
// 删除指定时间的日志(默认1个月) |
|||
$timebf=config('timebf')?:2592000; |
|||
foreach (list_file(LOG_PATH) as $f) { |
|||
if ($f ['isDir']) { |
|||
foreach (list_file($f ['pathname'] . '/', '*.log') as $ff) { |
|||
if ($ff ['isFile']) { |
|||
if (time() - $ff ['mtime'] > $timebf) { |
|||
@unlink($ff ['pathname']); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,64 @@ |
|||
<?php |
|||
return array ( |
|||
1 => |
|||
array ( |
|||
'title' => '望拍第一期', |
|||
'code' => 'tuku_17', |
|||
), |
|||
2 => |
|||
array ( |
|||
'title' => '朔拍第一期', |
|||
'code' => 'tuku_18', |
|||
), |
|||
3 => |
|||
array ( |
|||
'title' => '望拍第二期', |
|||
'code' => 'tuku_19', |
|||
), |
|||
4 => |
|||
array ( |
|||
'title' => '望拍第三期', |
|||
'code' => 'tuku_20', |
|||
), |
|||
5 => |
|||
array ( |
|||
'title' => '朔望联拍', |
|||
'code' => 'tuku_21', |
|||
), |
|||
6 => |
|||
array ( |
|||
'title' => '朔拍第二期', |
|||
'code' => 'tuku_22', |
|||
), |
|||
7 => |
|||
array ( |
|||
'title' => '朔拍第三期', |
|||
'code' => 'tuku_23', |
|||
), |
|||
8 => |
|||
array ( |
|||
'title' => '宝安收藏家协会拍卖专场', |
|||
'code' => 'tuku_24', |
|||
), |
|||
9 => |
|||
array ( |
|||
'title' => '清末之光·民国之魂', |
|||
'code' => 'tuku_42', |
|||
), |
|||
10=> |
|||
array ( |
|||
'title' => '望拍第四期', |
|||
'code' => 'tuku_43', |
|||
), |
|||
11=> |
|||
array ( |
|||
'title' => '朔拍第四期', |
|||
'code' => 'tuku_44', |
|||
), |
|||
12=> |
|||
array ( |
|||
'title' => '会员回馈——名酒名品内部拍卖会', |
|||
'code' => 'tuku_45', |
|||
), |
|||
); |
|||
?> |
|||
@ -0,0 +1,106 @@ |
|||
<?php |
|||
|
|||
return [ |
|||
'parents'=>[ |
|||
1=>'构件类', |
|||
'在建类', |
|||
'仿古类', |
|||
'产权类' |
|||
], |
|||
'parents2'=>[ |
|||
1=>'构件类标的', |
|||
'在建类古建标的', |
|||
'仿古类古建标的', |
|||
'产权类古建标的' |
|||
], |
|||
'parents3'=>[ |
|||
1=>'资产资源类', |
|||
'商品版权类', |
|||
'项目类' |
|||
], |
|||
'childs'=>[ |
|||
5=>[ |
|||
'A11'=>'A类 构件类标的 A-1 原态构件 A-1-1 原态整体构件', |
|||
'A12'=>'A类 构件类标的 A-1 原态构件 A-1-2 原态散落构件', |
|||
'A21'=>'A类 构件类标的 A-2 建成复建类古建 A-2-1 异地迁建修复古建', |
|||
'A22'=>'A类 构件类标的 A-2 建成复建类古建 A-2-2 拼建改造古建', |
|||
'A23'=>'A类 构件类标的 A-2 建成复建类古建 A-2-3 嵌入式改造古建', |
|||
'A24'=>'A类 构件类标的 A-2 建成复建类古建 A-2-4 园林植入式改造古建', |
|||
'A3'=>'A类 构件类标的 A-3 附加产业盈利模式古建', |
|||
], |
|||
15=>[ |
|||
'B1'=>'B类 在建类古建标的 B-1 整体性古村、古镇、古街区资产', |
|||
'B2'=>'B类 在建类古建标的 B-2 独立古建', |
|||
], |
|||
35=>[ |
|||
'C1'=>'C类 仿古类古建标的 C-1 整体资产', |
|||
'C2'=>'C类 仿古类古建标的 C-2 独立产权' |
|||
], |
|||
45=>[ |
|||
'D11'=>'D类 产权类古建标的 D-1 所有权 D-1-1 城镇所有权形式', |
|||
'D21'=>'D类 产权类古建标的D-2使用权D-2-1乡村宅基地形式', |
|||
'D31'=>'D类 产权类古建标的D-3经营权D-3-1租赁权', |
|||
'D32'=>'D类 产权类古建标的D-3经营权D-3-2收益权', |
|||
'D33'=>'D类 产权类古建标的D-3经营权D-3-3物业产权形态:住宅、商业', |
|||
] |
|||
], |
|||
'childs2'=>[ |
|||
5=>[ |
|||
'B11'=>'B-1资产资源类 B-1-1宅基地', |
|||
'B12'=>'B-1资产资源类 B-1-2集体建设用地', |
|||
'B13'=>'B-1资产资源类 B-1-3流转土地', |
|||
'B14'=>'B-1资产资源类 B-1-4房屋及各类物理空间', |
|||
], |
|||
15=>[ |
|||
'B21'=>'B-2商品版权类 B-2-1地理特产', |
|||
'B22'=>'B-2商品版权类 B-2-2地标特产', |
|||
'B23'=>'B-2商品版权类 B-2-3本土民间工艺和手工艺', |
|||
'B24'=>'B-2商品版权类 B-2-4本地非遗及历史文化名产', |
|||
], |
|||
35=>[ |
|||
'B31'=>'B-3项目类 B-3-1整体古村', |
|||
'B32'=>'B-3项目类 B-3-2整体园区' |
|||
] |
|||
], |
|||
'class'=>[ |
|||
1=>'徽派', |
|||
'晋派', |
|||
'京派', |
|||
'苏派', |
|||
'闽派', |
|||
'川派', |
|||
'岭南派', |
|||
'赣派', |
|||
'其他' |
|||
], |
|||
'size'=>[ |
|||
1=>'100平方米以内', |
|||
'100-200平方米', |
|||
'200-300平方米', |
|||
'300-500平方米', |
|||
'500-800平方米', |
|||
'800-1000平方米', |
|||
'1000平方米以上' |
|||
], |
|||
'price'=>[ |
|||
1=>'1万元以下', |
|||
'1万-100万', |
|||
'100万-500万', |
|||
'500万-1000万', |
|||
'1000万以上' |
|||
], |
|||
'year'=>[ |
|||
1=>'明代', |
|||
'清代', |
|||
'民国', |
|||
'其他' |
|||
], |
|||
'levels'=>[ |
|||
1=>'Ⅰ 无编号,无图纸且无复原记录的已拆构件', |
|||
'Ⅱ 已编号,已经过修复,有图纸但无复原记录的已拆构件', |
|||
'Ⅲ 已编号,有图纸且有复原记录的已拆构件', |
|||
'Ⅳ 拼装类古建作品', |
|||
'Ⅴ 以古建要素点缀的现代仿古作品 ' |
|||
], |
|||
]; |
|||
?> |
|||
File diff suppressed because it is too large
@ -0,0 +1,43 @@ |
|||
<?php |
|||
|
|||
return [ |
|||
'parents'=>[ 1=>'瓷器', |
|||
2=>'书画', |
|||
3=>'玉器', |
|||
4=>'杂项', |
|||
5=>'艺托管-望拍', |
|||
6=>'艺托管-朔拍', |
|||
7=>'艺资管' |
|||
], |
|||
'childs'=>[ |
|||
1=>[1=>'建窑','德化窑','吉州窑','元青花','斗彩','珐琅彩','明青花','清三代','朱山八友','浅江彩','陶器','邢窑','鲁山窑','青瓷','秘州窑','磁州窑','磁州窑','耀州窑','汝窑','民国瓷器','龙泉窑','艺术公馆'], |
|||
[1=>'工笔','写意','白描','设色','水墨','书法','艺术公馆'], |
|||
[1=>'红山文化系列','龙山文化系列','良诸文化系列','商周文化系列','战汉文化系列','唐宋文化系列','元明清系列','民国及现代系列','翡翠天珠文化系列','玛瑙陨石系列','艺术公馆'], |
|||
[1=>'文房','家具','漆器','古籍善本','香品','织绵刺绣','佛造像','艺术公馆'], |
|||
[1=>'望拍1号','望拍2号','望拍3号'], |
|||
[1=>'朔拍1号','朔拍2号','朔拍3号'], |
|||
[] |
|||
],//文化产业板资产托管类型 |
|||
'types'=>[ |
|||
64=>'民宿产业要素交易平台', |
|||
65=>'乡村振兴产业要素交易平台', |
|||
66=>'文化数据资产交易平台', |
|||
67=>'全民艺术普及文创中心资产交易平台', |
|||
68=>'人才产权交易平台', |
|||
69=>'其他' |
|||
],//艺品拍类型 |
|||
'art_types'=>[ 69=>'书画', |
|||
70=>'瓷器', |
|||
71=>'玉器', |
|||
72=>'铜器', |
|||
73=>'杂项', |
|||
74=>'当代艺术', |
|||
75=>'其他' |
|||
],//艺享拍类型 |
|||
'art_enjoy'=>[ 76=>'紫砂茶壶', |
|||
77=>'茗茶老酒', |
|||
78=>'书画篆刻', |
|||
79=>'红木香道' |
|||
] |
|||
]; |
|||
?> |
|||
File diff suppressed because it is too large
@ -0,0 +1,47 @@ |
|||
<?php |
|||
|
|||
return [ |
|||
'parents'=>[ |
|||
1=>'当代艺术品', |
|||
'当代工艺美术品', |
|||
'民间工艺品', |
|||
'古旧艺术品', |
|||
'望拍专区', |
|||
'朔拍专区', |
|||
'邢东艺术专区', |
|||
'演员艺术创作和收藏专区', |
|||
'宝安收藏家专区', |
|||
'蓝图胜艺术专区', |
|||
'古陶瓷专区', |
|||
'古典艺术', |
|||
'近现代艺术', |
|||
'当代艺术', |
|||
'工艺美术', |
|||
//'艺术家', |
|||
'艺术公馆', |
|||
'艺术品权益', |
|||
'河南自贸区专区', |
|||
'蓝宝石托管专区' |
|||
], |
|||
'childs'=>[ |
|||
1=>[], |
|||
[], |
|||
[], |
|||
[1=>'瓷器','书画','玉器','杂项'], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[1=>'古代书画','古典瓷器','珠宝玉器','金铜器','杂项','佛造像'], |
|||
[1=>'近现代书画','油画','瓷器','珠宝玉器','金铜器','杂项'], |
|||
[1=>'当代水墨','油画','版画','水彩','雕塑','装置艺术','其他'], |
|||
[1=>'陶瓷','漆器','雕刻','籇刻','纺织工艺','其他'], |
|||
[], |
|||
[1=>'艺术品租赁权','艺术品版权','艺术品展览权','其他'], |
|||
[] |
|||
] |
|||
]; |
|||
?> |
|||
@ -0,0 +1,32 @@ |
|||
<?php |
|||
|
|||
return [ |
|||
'parents'=>[ |
|||
1=>'当代艺术品', |
|||
'当代工艺美术品', |
|||
'民间工艺品', |
|||
'古旧艺术品', |
|||
'望拍专区', |
|||
'朔拍专区', |
|||
'邢东艺术专区', |
|||
'演员艺术创作和收藏专区', |
|||
'宝安收藏家专区', |
|||
'蓝图胜艺术专区', |
|||
'古典瓷器专区' |
|||
], |
|||
'childs'=>[ |
|||
1=>[], |
|||
[], |
|||
[], |
|||
[1=>'瓷器','书画','玉器','杂项'], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[], |
|||
[] |
|||
] |
|||
]; |
|||
?> |
|||
@ -0,0 +1,58 @@ |
|||
<?php |
|||
// +---------------------------------------------------------------------- |
|||
// | YFCMF [ WE CAN DO IT MORE SIMPLE ] |
|||
// +---------------------------------------------------------------------- |
|||
// | Copyright (c) 2015-2016 http://www.rainfer.cn All rights reserved. |
|||
// +---------------------------------------------------------------------- |
|||
// | Author: rainfer <81818832@qq.com> |
|||
// +---------------------------------------------------------------------- |
|||
|
|||
return [ |
|||
'1'=>'四版->行业选择', |
|||
'2'=>'四版->地区选择', |
|||
'3'=>'四版->资本额度', |
|||
'4'=>'国有->行业选择', |
|||
'5'=>'国有->地方企业', |
|||
'6'=>'挂牌->企业类型', |
|||
'7'=>'挂牌->知识产权', |
|||
'8'=>'挂牌->财务状况', |
|||
'9'=>'挂牌->项目', |
|||
'11'=>'市场资讯->公告类型', |
|||
'12'=>'市场资讯->新闻类型', |
|||
'21'=>'市场资讯->政策类型', |
|||
'65'=>'市场资讯->活动类型', |
|||
'13'=>'你问我答类型', |
|||
'14'=>'链接类型', |
|||
'15'=>'文化四板行业', |
|||
'16'=>'视/音频分类', |
|||
'10'=>'规则指引->规则制度类型', |
|||
'17'=>'规则指引->业务指引类型', |
|||
'18'=>'规则指引->相关协议类型', |
|||
'19'=>'国有产权交易->政策法规类型', |
|||
'20'=>'关于掌柜->政策', |
|||
'22'=>'推荐机构->文化金融服务中心', |
|||
'23'=>'推荐机构->专板(专区)', |
|||
'24'=>'推荐机构->专板线上托管中心', |
|||
'25'=>'推荐机构->省(市)运营中心', |
|||
'26'=>'推荐机构->推荐机构', |
|||
'27'=>'推荐机构->驻场服务机构', |
|||
'28'=>'推荐机构->第三方服务机构', |
|||
'29'=>'推荐机构->保荐机构', |
|||
'30'=>'市场政策行研', |
|||
'49'=>'市场数据分类', |
|||
'50'=>'公馆分类', |
|||
'51'=>'门类分类', |
|||
'52'=>'业务类型分类', |
|||
'53'=>'文化产业板层级', |
|||
'54'=>'国有项目', |
|||
'55'=>'国有项目->公告类别', |
|||
'56'=>'国有项目->类别', |
|||
'57'=>'艺拍->类别', |
|||
'58'=>'望拍类型->书画篆刻', |
|||
'59'=>'望拍类型->工艺作品', |
|||
'60'=>'望拍类型->造型艺术', |
|||
'61'=>'望拍类型->玉翠珠宝', |
|||
'62'=>'望拍类型->文玩杂项', |
|||
'63'=>'望拍类型->其他', |
|||
'64'=>'文化资产托管->音乐资产托管', |
|||
]; |
|||
Loading…
Reference in new issue