Browse Source

增加津补贴通用附件的类型显示

sugangqiang 1 year ago
parent
commit
026fa00ea7

+ 4 - 6
public/static/modular/gate/talentAllowance/common/talentAllowanceInfo_select.js

@@ -115,7 +115,10 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
         },
         },
         columns: [
         columns: [
-            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '70%', formatter: function (value, row, index) {
+            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '60%', formatter: function (value, row, index) {
+                    return value;
+                }},
+            {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
                     return value;
                     return value;
                 }},
                 }},
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
@@ -132,11 +135,6 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
                     }
                     }
                     return imgStr;
                     return imgStr;
                 }
                 }
-            },
-            {title: '操作', field: 'url', visible: true, align: 'center', valign: 'middle', width: '10%',
-                formatter: function (value, row, index) {
-                    return "";
-                }
             }
             }
         ],
         ],
         onPostBody: function () {
         onPostBody: function () {

+ 1 - 6
public/static/modular/gate/talentAllowance/common/talentAllowance_info.js

@@ -714,7 +714,7 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
         },
         },
         columns: [
         columns: [
-            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '50%', formatter: function (value, row, index) {
+            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '60%', formatter: function (value, row, index) {
                     return value;
                     return value;
                 }},
                 }},
             {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
             {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
@@ -734,11 +734,6 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
                     }
                     }
                     return imgStr;
                     return imgStr;
                 }
                 }
-            },
-            {title: '操作', field: 'url', visible: true, align: 'center', valign: 'middle', width: '10%',
-                formatter: function (value, row, index) {
-                    return "";
-                }
             }
             }
         ],
         ],
         onPostBody: function () {
         onPostBody: function () {

+ 4 - 6
public/static/modular/talentAllowance/talentAllowanceInfo_info_supple.js

@@ -412,7 +412,10 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
         },
         },
         columns: [
         columns: [
-            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '70%', formatter: function (value, row, index) {
+            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '60%', formatter: function (value, row, index) {
+                    return value;
+                }},
+            {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
                     return value;
                     return value;
                 }},
                 }},
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
@@ -429,11 +432,6 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
                     }
                     }
                     return imgStr;
                     return imgStr;
                 }
                 }
-            },
-            {title: '操作', field: 'url', visible: true, align: 'center', valign: 'middle', width: '10%',
-                formatter: function (value, row, index) {
-                    return "";
-                }
             }
             }
         ],
         ],
         onPostBody: function () {
         onPostBody: function () {

+ 4 - 6
public/static/modular/talentAllowance/talentAllowanceInfo_public_check.js

@@ -1142,7 +1142,10 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
         },
         },
         columns: [
         columns: [
-            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '70%', formatter: function (value, row, index) {
+            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '60%', formatter: function (value, row, index) {
+                    return value;
+                }},
+            {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
                     return value;
                     return value;
                 }},
                 }},
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
@@ -1159,11 +1162,6 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
                     }
                     }
                     return imgStr;
                     return imgStr;
                 }
                 }
-            },
-            {title: '操作', field: 'url', visible: true, align: 'center', valign: 'middle', width: '10%',
-                formatter: function (value, row, index) {
-                    return "";
-                }
             }
             }
         ],
         ],
         onPostBody: function () {
         onPostBody: function () {

+ 4 - 6
public/static/modular/talentAllowance/talentAllowanceInfo_select.js

@@ -389,7 +389,10 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
             return {css: {"word-break": "break-word", "white-space": "inherit"}}
         },
         },
         columns: [
         columns: [
-            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '70%', formatter: function (value, row, index) {
+            {title: '附件原名', field: 'originalName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '60%', formatter: function (value, row, index) {
+                    return value;
+                }},
+            {title: '附件类型', field: 'fileTypeName', visible: true, align: 'center', valign: 'middle', 'class': 'uitd_showTip', width: '20%', formatter: function (value, row, index) {
                     return value;
                     return value;
                 }},
                 }},
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
             {title: '预览', field: 'url', visible: true, align: 'center', valign: 'middle', width: "20%",
@@ -406,11 +409,6 @@ TalentAllowanceInfoDlg.initCommonFileTable = function () {
                     }
                     }
                     return imgStr;
                     return imgStr;
                 }
                 }
-            },
-            {title: '操作', field: 'url', visible: true, align: 'center', valign: 'middle', width: '10%',
-                formatter: function (value, row, index) {
-                    return "";
-                }
             }
             }
         ],
         ],
         onPostBody: function () {
         onPostBody: function () {