|
@@ -119,6 +119,7 @@
|
|
|
const def = thirdParty.dagl.find(function (x) {
|
|
|
return x.value === data.dagl_status;
|
|
|
});
|
|
|
+ if (data.code === '1-2-6-1-1-1') console.log(def);
|
|
|
return def ? def.name : '';
|
|
|
}
|
|
|
function getColor (sheet, data, row, col, defaultColor) {
|
|
@@ -181,14 +182,14 @@
|
|
|
<% if (ctx.session.sessionProject.gxby) { %>
|
|
|
{
|
|
|
title: '工序报验', colSpan: '1', rowSpan: '2', field: 'gxby', hAlign: 1, width: 80, formatter: '@',
|
|
|
- readOnly: true, getValue: getGxbyText, cellType: 'activeImageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
+ readOnly: true, getValue: getGxbyText, cellType: 'imageBtn', normalImg: '#rela-file-icon', indent: 12,
|
|
|
imgAlign: 2, showImage: function (data) { return data && data.gxby_url }
|
|
|
},
|
|
|
<% } %>
|
|
|
<% if (ctx.session.sessionProject.dagl) { %>
|
|
|
{
|
|
|
title: '档案管理', colSpan: '1', rowSpan: '2', field: 'dagl', hAlign: 1, width: 80, formatter: '@',
|
|
|
- readOnly: true, getValue: getDaglText, cellType: 'activeImageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
+ readOnly: true, getValue: getDaglText, cellType: 'imageBtn', normalImg: '#rela-file-icon', indent: 12,
|
|
|
imgAlign: 2, showImage: function (data) { return data && data.dagl_url }
|
|
|
},
|
|
|
<% } %>
|
|
@@ -256,14 +257,14 @@
|
|
|
<% if (ctx.session.sessionProject.gxby) { %>
|
|
|
{
|
|
|
title: '工序报验', colSpan: '1', rowSpan: '2', field: 'gxby', hAlign: 1, width: 80, formatter: '@',
|
|
|
- readOnly: true, getValue: getGxbyText, cellType: 'activeImageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
+ readOnly: true, getValue: getGxbyText, cellType: 'imageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
imgAlign: 2, showImage: function (data) { return data && data.gxby_url },
|
|
|
},
|
|
|
<% } %>
|
|
|
<% if (ctx.session.sessionProject.dagl) { %>
|
|
|
{
|
|
|
title: '档案管理', colSpan: '1', rowSpan: '2', field: 'dagl', hAlign: 1, width: 80, formatter: '@',
|
|
|
- readOnly: true, getValue: getDaglText, cellType: 'activeImageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
+ readOnly: true, getValue: getDaglText, cellType: 'imageBtn', normalImg: '#rela-file-icon', indent: 5,
|
|
|
imgAlign: 2, showImage: function (data) { return data && data.dagl_url },
|
|
|
},
|
|
|
<% } %>
|