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.
226 lines
12 KiB
226 lines
12 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>{$menu.menu_seo_title|default=$site_seo_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开始-->
|
|
<form id="tgapply_form" method="post" action="{:url('home/Listn/tg_upedit')}" enctype="multipart/form-data">
|
|
<input type="hidden" name="TOKEN" value="{:session('TOKEN')}">
|
|
<input type="hidden" name="tg_id" value="{$apply.tg_id}" />
|
|
<div class="content bodymb">
|
|
<div class="basictop modef1">
|
|
<div class="moderighttag modeub modeac">
|
|
<div class="linecolor"></div>
|
|
<div class="basictitle">企业托管申请表</div>
|
|
</div>
|
|
<div class="basiccon basiccon2">
|
|
<div class="modeub numbercon modeac">
|
|
<div class="numberlogoleft numberlogoleft2">业务类型</div>
|
|
<div class="modef1 numberleft">
|
|
<label for="tg_type_apply1" class="radio">
|
|
<span class="radio-bg"></span>
|
|
<input type="radio" name="tg_type" id="tg_type_apply1" value="1" {if condition="$apply.tg_type eq 1"}checked="checked"{/if} disabled/> 企业股权
|
|
<span class="radio-on"></span>
|
|
</label>
|
|
<label for="tg_type_apply2" class="radio">
|
|
<span class="radio-bg"></span>
|
|
<input type="radio" name="tg_type" id="tg_type_apply2" value="2" {if condition="$apply.tg_type eq 2"}checked="checked"{/if} disabled/> 实物资产
|
|
<span class="radio-on"></span>
|
|
</label>
|
|
<label for="tg_type_apply3" class="radio">
|
|
<span class="radio-bg"></span>
|
|
<input type="radio" name="tg_type" id="tg_type_apply3" value="3" {if condition="$apply.tg_type eq 3"}checked="checked"{/if} disabled/> 知识产权
|
|
<span class="radio-on"></span>
|
|
</label>
|
|
<label for="tg_type_apply4" class="radio">
|
|
<span class="radio-bg"></span>
|
|
<input type="radio" name="tg_type" id="tg_type_apply4" value="4" {if condition="$apply.tg_type eq 4"}checked="checked"{/if} disabled/> 其他权益
|
|
<span class="radio-on"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
{if condition="$apply.tg_type eq 1"}
|
|
<div class="modeub numbercon modeac">
|
|
<div class="numberlogoleft numberlogoleft2">企业挂牌状态</div>
|
|
<div class="modef1 numberleft">
|
|
<label class="radio">
|
|
{if condition="$apply.tg_isgp eq 1"}已挂牌{/if}
|
|
{if condition="$apply.tg_isgp eq 2"}未挂牌{/if}
|
|
</label>
|
|
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
<div class="modeub numbercon modeac">
|
|
<div class="numberlogoleft numberlogoleft2" >推荐机构</div>
|
|
<div class="modef1 numberleft numberbody modeub">
|
|
<div class="numberlefticon"></div>
|
|
<div class="numbercentericon modeub modeac">
|
|
<input type="text" value="{$apply.tg_org}" name="tg_org" placeholder="请输入" class="numberinputwh numberinputwh2" required readonly="readonly">
|
|
</div>
|
|
<div class="numberrighticon"></div>
|
|
</div>
|
|
</div>
|
|
<div class="modeub numbercon modeac">
|
|
<div class="numberlogoleft numberlogoleft2" >企业名称</div>
|
|
<div class="modef1 numberleft numberbody modeub">
|
|
<div class="numberlefticon"></div>
|
|
<div class="numbercentericon modeub modeac">
|
|
<input type="text" value="{$apply.tg_apply_org}" name="tg_apply_org" placeholder="请输入" class="numberinputwh numberinputwh2" required readonly="readonly">
|
|
</div>
|
|
<div class="numberrighticon"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="basiccon basiccon2 basiccon3">
|
|
<div class=" modeub modept modeac modepc">
|
|
<div class="sicon logobackimg"></div>
|
|
<div class="filename">附件提交</div>
|
|
<div class="sicon logobackimg"></div>
|
|
</div>
|
|
<div class="">
|
|
<div class="modeub listborder">
|
|
<div class="listleftright modeub modef1">
|
|
<div class=" listnumber">#</div>
|
|
<div class="modef1 liststyle">附件标题</div>
|
|
<div class="liststu modeub modepc">文件格式</div>
|
|
<div class="liststu" style="width: 500px;text-align: right;padding-right: 110px;">上传</div>
|
|
</div>
|
|
</div>
|
|
{volist name="files" id="vo" key="k"}
|
|
<div class="modeub listborder">
|
|
<div class="listleftright modeub modef1 cursor_text">
|
|
<div class=" listnumber">{$k}</div>
|
|
<div class=" modef1 liststyle modeub modeac">
|
|
<div class="xuzhi" style="width: 275px">{$vo.ftypedescr}</div>
|
|
{notempty name="vo.ftemp_id"}
|
|
<div class="icondown logobackimg" style="background-size: 65%;" onclick="javascript:window.open('{:get_tg_tempfile($vo.ftemp_id)}')"></div>
|
|
<div style="color:#eb600b;font-size: 12px;" onclick="javascript:window.open('{:get_tg_tempfile($vo.ftemp_id)}')">下载模板</div>
|
|
{/notempty}
|
|
</div>
|
|
<div class="liststu listedstatus modeub modepc">{$vo.ftype|strtolower}</div>
|
|
<div class="liststu listedstatus modeub modepc" style="width: 500px">
|
|
<div style="line-height: 32px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;width: 250px;">
|
|
</div>
|
|
<div class="buttonright modeub buttonright2" style="margin-left: 0px;">
|
|
<div class="leftbutton2"></div>
|
|
<div class="modef1 centerbutton2 modeub modeac modepc">选择文件</div>
|
|
<div class="rightbutton2"></div>
|
|
</div>
|
|
<input type="file" style="left:315px;" name="file_one{$vo.ftype_id}" id="file_one{$k}" data-show-preview="false" data-show-upload="false"
|
|
{if condition="$vo.ftype eq 'JPG'"}accept="image/jpeg" {/if}{if condition="$vo.ftype eq 'PDF'"}accept="application/pdf" {/if}{if condition="$vo.ftype eq 'DOC'"}accept="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document" {/if}
|
|
data-show-caption="true" data-allowed-file-extensions='["{$vo.ftype}"]' class="upfileter file_name" {if condition="$vo.mustupload eq 1"} required{/if}>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/volist}
|
|
</div>
|
|
</div>
|
|
<div class="basiccon basiccon2 basiccon3">
|
|
<div class=" modeub modept modeac modepc">
|
|
<div class="headerightbun modeub modeac modepc" onclick="submitApply()">提交</div>
|
|
<input type="submit" id="apply_btn" style="display: none">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
<!--body结束-->
|
|
</div>
|
|
{include file="public:footer"/}
|
|
{include file="public:scripts"/}
|
|
<script type="text/javascript" src="__PUBLIC__/others/region.js"></script>
|
|
<script type="text/javascript">
|
|
function submitApply(){
|
|
var isvalid = true;
|
|
var files = $("#tgapply_form input:file");
|
|
$("#tgapply_form input:file").each(function(){
|
|
if($(this)[0].validity.valueMissing){
|
|
isvalid=false;
|
|
}
|
|
});
|
|
if(isvalid){
|
|
var formData = new FormData($("#tgapply_form")[0]);
|
|
$.ajax({type:"POST",
|
|
url:$("#tgapply_form").attr("action"),
|
|
data:formData,
|
|
contentType: false,
|
|
processData: false,
|
|
mimeType:"multipart/form-data",
|
|
async: false,
|
|
success:function (data) {
|
|
data = JSON.parse(data)
|
|
if (data.code == 1) {
|
|
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{
|
|
$("#apply_btn").click();
|
|
}
|
|
}
|
|
$(function(){
|
|
$(".file_name").change(function(e){
|
|
if(e.currentTarget.files.length==0){
|
|
$(this).prev().prev().text("");
|
|
}else{
|
|
if(e.currentTarget.files[0].size>(20*1024*1024)){
|
|
name ='文件超过20M';
|
|
$(this).val('');
|
|
$(this).prev().prev().css("text-align","right");
|
|
$(this).prev().prev().text(name);
|
|
return false;
|
|
}
|
|
var name = e.currentTarget.files[0].name;
|
|
var filetype = name.substring(name.lastIndexOf(".")+1).toUpperCase();
|
|
$(this).prev().prev().css("text-align","left")
|
|
if($(this).parent().prev().text().toUpperCase()=='PDF'){
|
|
if(filetype!='PDF'){
|
|
name ='文件类型错误';
|
|
$(this).val('');
|
|
$(this).prev().prev().css("text-align","right");
|
|
}
|
|
}else if($(this).parent().prev().text().toUpperCase()=='JPG'){
|
|
if(filetype!='JPG'){
|
|
name ='文件类型错误';
|
|
$(this).val('');
|
|
$(this).prev().prev().css("text-align","right")
|
|
}
|
|
}else if($(this).parent().prev().text().toUpperCase()=='DOC'){
|
|
if(filetype!='DOC' && filetype!='DOCX' ){
|
|
name ='文件类型错误';
|
|
$(this).val('');
|
|
$(this).prev().prev().css("text-align","right")
|
|
}
|
|
}
|
|
$(this).prev().prev().text(name);
|
|
}
|
|
})
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|