From 16c251d1774632e22662fccf08d0524b15d93bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Sun, 16 Nov 2025 14:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/SK/SK010CheckList.js | 10 +++++----- src/components/CustomPages/SK/SK033ShowPrint.js | 3 +-- src/files/edit/SK033.js | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/CustomPages/SK/SK010CheckList.js b/src/components/CustomPages/SK/SK010CheckList.js index 6e181a8..41963ed 100644 --- a/src/components/CustomPages/SK/SK010CheckList.js +++ b/src/components/CustomPages/SK/SK010CheckList.js @@ -16,7 +16,7 @@ class SK010CheckList extends React.Component { selectedRowKeys:[], taskSelects: [], dataList: [], - MineType:0, + PRODUCTION_UNIT_ID:null, CHECK_CYCLE:0, CHECK_TYPE:0, CHECK_CYCLE_ID:null, @@ -103,8 +103,8 @@ class SK010CheckList extends React.Component { }, { title: "生产单元", - dataIndex: "Nav_ProductionUnit.NAME", - key: "Nav_ProductionUnit.NAME", + dataIndex: "MINE_NAME", + key: "MINE_NAME", // render: (text, record, index) => { // return // } @@ -204,7 +204,7 @@ class SK010CheckList extends React.Component { this.setState({ showDetail: true, },()=>{ - let json = initFilter(this.props.login.OrgId,item.MineType,'','','',item.CHECK_TYPE_ID,item.CHECK_CYCLE,item.CHECK_TYPE); + let json = initFilter(this.props.login.OrgId,item.PRODUCTION_UNIT_ID,'','','',item.CHECK_TYPE_ID,item.CHECK_CYCLE,item.CHECK_TYPE); extendIgnoreDataRule(json) this.props.dispatch({ type: 'app/getDataByPost', @@ -213,7 +213,7 @@ class SK010CheckList extends React.Component { onComplete: (ret) => { if (ret) { this.setState({ Details: ret, - MineType:item.MineType, + PRODUCTION_UNIT_ID :item.PRODUCTION_UNIT_ID, CHECK_CYCLE:item.CHECK_CYCLE, CHECK_TYPE:item.CHECK_TYPE, CHECK_TYPE_ID:item.CHECK_TYPE_ID, }); diff --git a/src/components/CustomPages/SK/SK033ShowPrint.js b/src/components/CustomPages/SK/SK033ShowPrint.js index b1dd206..f57f3c6 100644 --- a/src/components/CustomPages/SK/SK033ShowPrint.js +++ b/src/components/CustomPages/SK/SK033ShowPrint.js @@ -115,11 +115,10 @@ class SK033ShowPrint extends React.Component { {data.Nav_ApplyDepartment ? data.Nav_ApplyDepartment.NAME : ''} {data.Nav_ApplyUser ? data.Nav_ApplyUser.NAME : ''} {data.YEAR} - {data.CONTENTS} {moment(data.START_DATE).format('YYYY-MM-DD')} {data.END_DATE ? moment(data.END_DATE).format('YYYY-MM-DD') : null} + {data.CONTENTS} {data.Nav_Require ? data.Nav_Require.NAME : ''} - { showFiles(data?.Nav_Files, config.picServerHost, this) } diff --git a/src/files/edit/SK033.js b/src/files/edit/SK033.js index 7b7f2a3..c185586 100644 --- a/src/files/edit/SK033.js +++ b/src/files/edit/SK033.js @@ -86,7 +86,7 @@ export default { Nav_Type: item.Nav_Type, Nav_RiskName: item.Nav_RiskName, EVALUATE_LEVEL:item.EVALUATE_LEVEL, - MARK:0, + MARK:10, ENABLE_STATUS:0, Nav_ProductionUnit: item.Nav_ProductionUnit, }