You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
6.5 KiB
149 lines
6.5 KiB
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html class="ie ie8"> <![endif]-->
|
|
<!--[if IE 9]> <html class="ie ie9"> <![endif]-->
|
|
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>我的托管 {$site_name} </title>
|
|
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
|
|
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
|
|
{include file="public:head" /}
|
|
</head>
|
|
<body class="detailsbg">
|
|
<div class="contenter">
|
|
{include file="public:nav" /}
|
|
<!--banner开始-->
|
|
<div class="detailsbanner"></div>
|
|
<!--banner结束-->
|
|
<!--body开始-->
|
|
<div class="content modeub bodymb">
|
|
<!--mode left开始-->
|
|
<!-- 控制个人中心选中菜单的样式 -->
|
|
<div style="display: none;">{$menu_type=3}</div>
|
|
{include file="public:usernav"/}
|
|
<!--mode left结束-->
|
|
<!--mode right开始-->
|
|
<div class="modef1 moderight">
|
|
<div class="basictop">
|
|
<div class="moderighttag modeub modeac">
|
|
<div class="linecolor"></div>
|
|
<div class="basictitle modef1">我的托管</div>
|
|
{notempty name="apply_time"}
|
|
<div>申请倒计时:</div>
|
|
<div class="" style="margin-right: 20px;">
|
|
<div class="yomibox" data="{$apply_time}"></div>
|
|
</div>
|
|
{/notempty}
|
|
</div>
|
|
<div class="basiccon">
|
|
<div class="modeub listborder">
|
|
<div class="listleftright modeub modef1">
|
|
<div class=" listnumber">#</div>
|
|
<div class=" liststyle">托管类型</div>
|
|
<div class="modef1">申请时间</div>
|
|
<div class="liststu modeub modepc">申请状态</div>
|
|
<div class="liststu modeub modepc">评分状态</div>
|
|
<div class="liststu modeub modepc">待操作</div>
|
|
</div>
|
|
</div>
|
|
<div id="databody">
|
|
<center>正在加载...</center>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--mode right结束-->
|
|
</div>
|
|
</div>
|
|
{include file="public:footer"/}
|
|
{include file="public:scripts"/}
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
$("#databody").on("click",".editcheck", function(event){
|
|
event.preventDefault();
|
|
var $url=this.href;
|
|
$(this).prop("disabled",true);
|
|
$.get($url, function(data){
|
|
if(data.code==1){
|
|
window.location.href=data.url;
|
|
} else {
|
|
layer.alert(data.msg, {icon: 5}, function(index){
|
|
layer.close(index);
|
|
window.location.href=data.url;
|
|
});
|
|
}
|
|
|
|
$(this).prop("disabled",false);
|
|
}, "json");
|
|
});
|
|
});
|
|
//http://dev-hsx.hdsj.tvm.cn/api/capital/getList
|
|
function getList(){
|
|
$.ajax({type:"get",
|
|
url:'/api/capital/getList?apply_type=2',
|
|
data:{},
|
|
success:function (data) {
|
|
if(data && typeof(data)=="string"){
|
|
data=JSON.parse(data);
|
|
}
|
|
var databodyobj=$("#databody");
|
|
databodyobj.empty();
|
|
if(data.data && data.data.data){
|
|
var list=data.data.data;
|
|
//console.log('--list-=-',list);
|
|
var listsize=list==null?0:list.length;
|
|
for(var i=0;i<listsize;i++){
|
|
//`apply_type` tinyint(2) unsigned NOT NULL COMMENT '申请类型 1 文化 2艺术品',
|
|
var onelist=list[i];
|
|
var apply_id=onelist.apply_id;
|
|
var apply_type=onelist.apply_type;
|
|
var apply_status=onelist.apply_status;
|
|
var status=onelist.status;
|
|
var status_name=onelist.status_name;
|
|
var statusdesc="";
|
|
var score=onelist.score;
|
|
var scorestr="未评分";
|
|
if(score>0)scorestr="已评分";
|
|
if(apply_status==0){
|
|
statusdesc="待审核";
|
|
}else if(apply_status==1){
|
|
statusdesc="审核通过";
|
|
}else if(apply_status==2){
|
|
statusdesc="审核不通过";
|
|
}
|
|
var descstr1=(status_name||statusdesc);
|
|
if(apply_status==1 || apply_status==2){
|
|
if(onelist.advice){
|
|
descstr1='<div>'+descstr1+'<div style="font-size:12px;color:#808080">'+onelist.advice+'</div></div>';
|
|
}
|
|
}
|
|
|
|
var datestr=onelist.create_date;
|
|
var html='<div class="modeub listborder">'
|
|
+'<div class="listleftright modeub modef1" onmouseover="addlisted(this)" onmouseout="removelisted(this)">'
|
|
+'<div class=" listnumber">'+(i+1)+'</div>'
|
|
+'<div class=" liststyle">'+(apply_type==1?'文化资产':apply_type==2?'艺术资产':apply_type==3?'古建资产':'')+'</div>'
|
|
+'<div class="modef1 listedtitle">'+datestr+'</div>'
|
|
+'<div class="liststu listedstatus modeub modepc">'+descstr1+'<span id="pro'+apply_id+'"></span></div>'
|
|
+'<div class="liststu listedstatus modeub modepc">'+scorestr+'</div>'
|
|
+'<div class="liststu modeub modepc">';
|
|
if(status==40){
|
|
html+='<div class="buttonright modeub buttonright2"><div class="leftbutton2"></div><div class="modef1 centerbutton2 modeub modeac modepc"><a style="font-size:11px;color:#FFFFFF;line-height:22px;" class="editcheck" href="{:url("listn/tg_procheck")}?apply_id='+apply_id+'">专家评审</a></div><div class="rightbutton2"></div></div>';
|
|
}
|
|
html+='</div>'
|
|
+'</div>'
|
|
+'</div>';
|
|
databodyobj.append(html);
|
|
}
|
|
}
|
|
|
|
}
|
|
})
|
|
}
|
|
|
|
getList();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|