diff --git a/pc4mobx/organization/components/department/department.js b/pc4mobx/organization/components/department/department.js index f1e845c..b2db69d 100644 --- a/pc4mobx/organization/components/department/department.js +++ b/pc4mobx/organization/components/department/department.js @@ -387,13 +387,19 @@ export default class Department extends React.Component { } }; if (c.dataIndex == 'departmentMark') { - c.className = "wea-table-indent" c.render = function (text, record) { return { window.open(`/spa/organization/static/index.html#/main/organization/departmentExtend/${record.id}`, "_blank") }}>{text} } } + if (c.dataIndex == 'imageFileName') { + c.render = function (text, record) { + return { + window.open(`/spa/document/index2file.jsp?imagefileId=${record.imageFileId}&router=1#/main/document/fileView`, "_blank") + }}>{text} + } + } if (c.dataIndex == 'operate') { c.className = "wea-table-operates" c.width = 80 diff --git a/pc4mobx/organization/components/job/Job.js b/pc4mobx/organization/components/job/Job.js index 4993f62..24a9861 100644 --- a/pc4mobx/organization/components/job/Job.js +++ b/pc4mobx/organization/components/job/Job.js @@ -349,6 +349,13 @@ export default class Job extends React.Component { }}>{text} } } + if (c.dataIndex == 'imageFileName') { + c.render = function (text, record) { + return { + window.open(`/spa/document/index2file.jsp?imagefileId=${record.imageFileId}&router=1#/main/document/fileView`, "_blank") + }}>{text} + } + } if (c.dataIndex == 'operate') { c.className = "wea-table-operates" c.width = 80