sugangqiang 2 years ago
parent
commit
731e9f4497

+ 1 - 1
app/admin/view/talent/talentInfo_base_check.html

@@ -90,7 +90,7 @@
                                                     </div>
                                                 </td>
                                                 <td rowspan="5" style="width: 200%">
-                                                    <img id="photoImg" src="{$info.headimgurl}"  style="height:147px;width:105px;margin:0 auto;display:block;">
+                                                    <img id="photoImg" onclick="Feng.showImg(this)" src="{$info.headimgurl}"  style="height:147px;width:105px;margin:0 auto;display:block;">
                                                     <hr />
                                                     <table class="fileTable"></table>
                                                 </td>

+ 1 - 1
app/admin/view/talent/talentInfo_common_check.html

@@ -86,7 +86,7 @@
                                                     <input class="form-control" id="nation" name="nation" value="{$info.nationName}"/>
                                                 </td>
                                                 <td rowspan="5" style="width: 200%">
-                                                    <img id="photoImg" src="{$info.headimgurl}"  style="height:147px;width:105px;margin:0 auto;display:block;">
+                                                    <img id="photoImg" onclick="Feng.showImg(this)" src="{$info.headimgurl}"  style="height:147px;width:105px;margin:0 auto;display:block;">
                                                     <hr />
                                                     附件:
                                                     <table class="fileTable"></table>

+ 2 - 2
public/static/modular/talentIdentify/talentInfo/talentInfo_common_check.js

@@ -108,7 +108,7 @@ TalentInfoInfoDlg.initFileTable = function () {
                             } else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS') {
                                 imgStr = "<button type='button'  onclick=\"Feng.showExcel('" + files[key].url + "','" + files[key].id + "','" + files[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
                             } else {
-                                imgStr = '<img class=\"imgUrl\"  src=\"' + files[key].url + '\" style=\"width:25px;height:25px;\">';
+                                imgStr = '<img class="imgUrl" onclick="Feng.showImg(this)" src="' + files[key].url + '" style="width:25px;height:25px;">';
                             }
 
                             html += '<li data-id="' + files[key].id + '">\n\
@@ -693,7 +693,7 @@ $(function () {
     TalentInfoInfoDlg.sourceChange();
     $('[data-toggle="tooltip"]').tooltip();
     TalentInfoInfoDlg.initFileTable();
-    $(".ibox-content").viewer({fullscreen: false});
+    //$(".ibox-content").viewer({fullscreen: false});
     Feng.getCheckLog("logTable", {"type": CONFIG.project_rcrd, "mainId": $("#id").val(), "typeFileId": "", "active": 1})
 });