|
@@ -1,6 +1,7 @@
|
|
|
{extend name="layout/content"}
|
|
|
{block name="content"}
|
|
|
<style>
|
|
|
+ .float-e-margins .btn{margin-bottom:0 !important;}
|
|
|
.upload-btn {
|
|
|
position: relative;
|
|
|
display: inline-block;
|
|
@@ -50,11 +51,12 @@
|
|
|
}
|
|
|
span.new{font-weight:bold;color:#333;}
|
|
|
span.old{text-decoration:line-through;}
|
|
|
- ul.files{list-style:none;display:flex;justify-content:center;padding:0;}
|
|
|
+ ul.files{list-style:none;display:flex;justify-content:center;padding:0;align-items:flex-start;}
|
|
|
ul.files li{background:#ddd;overflow:hidden;position:relative;margin-right:10px;float:left;border:1px solid #ddd;}
|
|
|
ul.yyzz li{width:100px;}
|
|
|
ul.khxkz li{width:100px;}
|
|
|
ul.hyly li{width:100px;}
|
|
|
+ ul.beian li{width:100px;}
|
|
|
ul.files i.old{text-align:center;height:0;width:0;line-height:15px;color:#fff;position:absolute;right:0;bottom:0;border-top:15px solid transparent;border-right:15px solid #000;border-bottom:15px solid #000;border-left:15px solid transparent;display:block;}
|
|
|
ul.files i.new{text-align:center;height:0;width:0;line-height:15px;color:#000;position:absolute;right:0;bottom:0;border-top:15px solid transparent;border-right:15px solid #0bfd1a;border-bottom:15px solid #0bfd1a;border-left:15px solid transparent;display:block;}
|
|
|
</style>
|
|
@@ -84,14 +86,24 @@
|
|
|
</label>
|
|
|
<ul class="files yyzz">
|
|
|
{if condition="$ecr['imgurl']"}
|
|
|
- <li>
|
|
|
- <img onclick="Feng.showImg(this)" id="yyzz" src="{$ecr.imgurl|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
- </li>
|
|
|
+ <li>
|
|
|
+ {if condition="$ecr['imgurl_is_img'] eq 1"}
|
|
|
+ <img onclick="Feng.showImg(this)" src="{$ecr.imgurl|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-danger" onclick="Feng.showPdf('{$ecr.imgurl|getStoragePath}', 'imgurl')">点击查看(旧)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
{/if}
|
|
|
{if condition="$files['businessLicense']"}
|
|
|
- {volist name="$files['businessLicense']" id="file"}
|
|
|
- <li><img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i></li>
|
|
|
- {/volist}
|
|
|
+ {volist name="$files['businessLicense']" id="file"}
|
|
|
+ <li>
|
|
|
+ {if condition="$file['is_img']"}
|
|
|
+ <img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-primary" onclick="Feng.showPdf('{$file.url}', 'imgurl')">点击查看(新)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
+ {/volist}
|
|
|
{/if}
|
|
|
</ul>
|
|
|
</td>
|
|
@@ -133,14 +145,24 @@
|
|
|
</label>
|
|
|
<ul class="files khxkz">
|
|
|
{if condition="$ecr['bankImg']"}
|
|
|
- <li>
|
|
|
- <img onclick="Feng.showImg(this)" id="yyzz" src="{$ecr.bankImg|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
- </li>
|
|
|
+ <li>
|
|
|
+ {if condition="$ecr['bankImg_is_img'] eq 1"}
|
|
|
+ <img onclick="Feng.showImg(this)" src="{$ecr.bankImg|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-danger" onclick="Feng.showPdf('{$ecr.bankImg|getStoragePath}', 'bankImg')">点击查看(旧)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
{/if}
|
|
|
{if condition="$files['businessBank']"}
|
|
|
- {volist name="$files['businessBank']" id="file"}
|
|
|
- <li><img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i></li>
|
|
|
- {/volist}
|
|
|
+ {volist name="$files['businessBank']" id="file"}
|
|
|
+ <li>
|
|
|
+ {if condition="$file['is_img']"}
|
|
|
+ <img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-primary" onclick="Feng.showPdf('{$file.url}', 'bankImg')">点击查看(新)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
+ {/volist}
|
|
|
{/if}
|
|
|
</ul>
|
|
|
</td>
|
|
@@ -195,14 +217,24 @@
|
|
|
<td>
|
|
|
<ul class="files hyly">
|
|
|
{if condition="$ecr['domainImg']"}
|
|
|
- <li>
|
|
|
- <img onclick="Feng.showImg(this)" id="yyzz" src="{$ecr.domainImg|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
- </li>
|
|
|
+ <li>
|
|
|
+ {if condition="$ecr['domainImg_is_img'] eq 1"}
|
|
|
+ <img onclick="Feng.showImg(this)" src="{$ecr.domainImg|getStoragePath}" style="max-width: 100px;"><i class="old">旧</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-danger" onclick="Feng.showPdf('{$ecr.domainImg|getStoragePath}', 'domainImg')">点击查看(旧)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
{/if}
|
|
|
{if condition="$files['businessDomain']"}
|
|
|
- {volist name="$files['businessDomain']" id="file"}
|
|
|
- <li><img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i></li>
|
|
|
- {/volist}
|
|
|
+ {volist name="$files['businessDomain']" id="file"}
|
|
|
+ <li>
|
|
|
+ {if condition="$file['is_img']"}
|
|
|
+ <img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-primary" onclick="Feng.showPdf('{$file.url}', 'domainImg')">点击查看(新)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
+ {/volist}
|
|
|
{/if}
|
|
|
</ul>
|
|
|
</td>
|
|
@@ -236,12 +268,28 @@
|
|
|
人才联络员信息备案表
|
|
|
</td>
|
|
|
<td style="text-align: left">
|
|
|
- {if condition="$ecr['beian']"}<button type="button" class="btn btn-danger" onclick="Feng.showFile('{$ecr.beian|getStoragePath}', 'beian')">点击查看(旧)</button>{/if}
|
|
|
- {if condition="$files['businessBeian']"}
|
|
|
+ <ul class="files beian">
|
|
|
+ {if condition="$ecr['beian']"}
|
|
|
+ <li>
|
|
|
+ {if condition="$ecr['beian_is_img'] eq 1"}
|
|
|
+ <img src="{$ecr.beian|getStoragePath}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="old">旧</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-danger" onclick="Feng.showFile('{$ecr.beian|getStoragePath}', 'beian')">点击查看(旧)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
+ {/if}
|
|
|
+ {if condition="$files['businessBeian']"}
|
|
|
{volist name="$files['businessBeian']" id="file"}
|
|
|
- <button type="button" class="btn btn-primary" onclick="Feng.showFile('{$file.url}', 'beian')">点击查看(新)</button>
|
|
|
+ <li>
|
|
|
+ {if condition="$file['is_img']"}
|
|
|
+ <img src="{$file.url}" onclick="Feng.showImg(this)" style="max-width:100px;"/><i class="new">新</i>
|
|
|
+ {else/}
|
|
|
+ <button type="button" class="btn btn-primary" onclick="Feng.showPdf('{$file.url}', 'beian')">点击查看(新)</button>
|
|
|
+ {/if}
|
|
|
+ </li>
|
|
|
{/volist}
|
|
|
- {/if}
|
|
|
+ {/if}
|
|
|
+ </ul>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -252,6 +300,6 @@
|
|
|
</div>
|
|
|
<iframe style="display: none;" id="hiddenIframe" name="hiddenIframe"></iframe>
|
|
|
<script type="text/javascript">
|
|
|
- document.write('<script src="/static/modular/enterprise/enterprisechangeRecord/ep_change_record_detail.js?v='+(new Date()).getTime()+'"><\/script>');
|
|
|
+ document.write('<script src="/static/modular/enterprise/enterprisechangeRecord/ep_change_record_detail.js?v=' + (new Date()).getTime() + '"><\/script>');
|
|
|
</script>
|
|
|
{/block}
|