From db7549fff4bc16c3a1810ebf1b6bb11fac0addb1 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Thu, 20 Mar 2025 17:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E5=8F=B0=E8=B4=A6=E5=92=8C?= =?UTF-8?q?=E5=B2=97=E4=BD=8D=E5=8F=B0=E8=B4=A6=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=99=84=E4=BB=B6=E5=AD=97=E6=AE=B5=E5=B9=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/organization/components/department/department.js | 8 +++++++- pc4mobx/organization/components/job/Job.js | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) 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