|
@@ -0,0 +1,175 @@
|
|
|
+{extend name="layout/content"}
|
|
|
+{block name="content"}
|
|
|
+<style type="text/css">
|
|
|
+ .spacing {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ padding-right:4px;
|
|
|
+ padding-left: 4px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<script type="text/javascript">
|
|
|
+ $(function(){
|
|
|
+ Feng.addAjaxSelect({
|
|
|
+ "id": "enterpriseTag",
|
|
|
+ "displayCode": "code",
|
|
|
+ "displayName": "name",
|
|
|
+ "type": "GET",
|
|
|
+ "url": Feng.ctxPath + "/admin/dict/findChildDictByCode?code=enterprise_tag"
|
|
|
+ });
|
|
|
+ $("select").each(function () {
|
|
|
+ $(this).val($(this).attr("value"));
|
|
|
+ });
|
|
|
+ var type = $("#type").val();
|
|
|
+ if(type==1){
|
|
|
+ $("#enterpriseTag,#industryFieldNewName").parent().parent().attr("style","display:block");
|
|
|
+ }else{
|
|
|
+ $("#enterpriseTag,#industryFieldNewName").parent().parent().attr("style","display:none");
|
|
|
+ }
|
|
|
+ var photoImg = $("#yyzz").attr("src");
|
|
|
+ var oldSn = photoImg.lastIndexOf(".");
|
|
|
+ var oldSuffix = photoImg.substring(oldSn+1,photoImg.length);
|
|
|
+ if(oldSuffix == 'pdf' || oldSuffix == 'PDF'){
|
|
|
+ $("#yyzz").attr("src", Feng.ctxPath + "/static/img/Pdf.png");
|
|
|
+ // $("#yyzz").attr("onclick", Feng.showPdf(photoImg,"pdf","预览"));
|
|
|
+ $("#yyzz").removeAttr("onclick").unbind("click").click(function () {
|
|
|
+ Feng.showPdf(photoImg,"pdf","预览")
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+</script>
|
|
|
+<div class="ibox float-e-margins">
|
|
|
+ <div class="ibox-content" style="height: 550px;">
|
|
|
+ <form id="enter_form" class="form-horizontal">
|
|
|
+ <input type="text" class="form-control" id="id" name="id" value="{$ep.id}" style="display: none;" />
|
|
|
+ <div class="col-sm-12 form-group-sm">
|
|
|
+ <div class="row">
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">单位名称</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="name" name="name" value="{$ep.name}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">社会信用代码</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="idCard" name="idCard" value="{$ep.idCard}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="display: none">
|
|
|
+ <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>产业领域</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="industryFieldNewName" name="industryFieldNewName" value="{$ep.industryFieldNewName}">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" >
|
|
|
+ <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>申报类型</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <select class="form-control" id="type" disabled="disabled" name="type" value="{$ep.type}">
|
|
|
+ <option value="">请选择</option>
|
|
|
+ <option value="1">晋江市优秀人才</option>
|
|
|
+ <option value="2">集成电路优秀人才</option>
|
|
|
+ <option value="3">海峡计划团队</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="display: none">
|
|
|
+ <label class="col-sm-2 control-label spacing"><span class="text-danger">*</span>单位标签</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <select class="form-control" disabled="disabled" id="enterpriseTag" name="enterpriseTag" value="{$ep.enterpriseTag}">
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">所属街道</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="street" name="street" value="{$ep.streetName}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">单位地址</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="address" name="address" value="{$ep.address}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">法人代表</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="legal" name="legal" value="{$ep.legal}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">单位电话</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="ephone" name="ephone" value="{$ep.ephone}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">经办人</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="agentName" name="agentName" value="{$ep.agentName}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">经办人电话</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="agentPhone" name="agentPhone" value="{$ep.agentPhone}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">经办人邮箱</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="agentEmail" name="agentEmail" value="{$ep.agentEmail}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">审核状态</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="checkState" name="checkState" value="{$ep.checkStateName}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">审核意见</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="checkMsg" name="checkMsg" value="{$ep.checkMsg}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">审核人</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="checkUser" name="checkUser" value="{$ep.checkUser}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">账号状态</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="active" name="active" value="{$ep.activeName}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">拉黑/冻结原因</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="activeMsg" name="activeMsg" value="{$ep.activeMsg}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">备注</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <input type="text" class="form-control" readonly="readonly" id="description" name="description" value="{$ep.description}" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="rowGroup" style="margin-bottom: 0px;">
|
|
|
+ <label class="col-sm-2 control-label spacing">营业执照</label>
|
|
|
+ <div class="col-sm-4 spacing">
|
|
|
+ <img onclick="Feng.showImg(this)" id="yyzz" alt="营业执照" src="{$ep.imgurl}" style="max-width: 100px;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<div style="display: none" id="canvas">
|
|
|
+ <canvas id="the-canvas"></canvas>
|
|
|
+</div>
|
|
|
+{/block}
|