This commit is contained in:
何美荣 2025-11-21 00:35:16 +08:00
commit 57ba65c3d5
3 changed files with 11 additions and 7 deletions

View File

@ -45,7 +45,7 @@ class SE013ShowPrint extends React.Component {
extendInclude(json, 'Nav_LaunchUser'); extendInclude(json, 'Nav_LaunchUser');
extendInclude(json, 'Nav_TrainType'); extendInclude(json, 'Nav_TrainType');
extendInclude(json, 'Nav_RecordUser'); extendInclude(json, 'Nav_RecordUser');
extendInclude(json, 'Nav_TrainCheckType'); // extendInclude(json, 'Nav_TrainCheckType');
extendInclude(json, 'Nav_TrainContentList'); extendInclude(json, 'Nav_TrainContentList');
extendInclude(json, 'Nav_TrainContentList.Nav_Point'); extendInclude(json, 'Nav_TrainContentList.Nav_Point');
extendInclude(json, 'Nav_TrainUserList'); extendInclude(json, 'Nav_TrainUserList');
@ -218,7 +218,8 @@ class SE013ShowPrint extends React.Component {
<td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td>
<td colSpan={4} rowSpan={1} >{this.returnModel(data.TRAIN_MODEL)}</td> <td colSpan={4} rowSpan={1} >{this.returnModel(data.TRAIN_MODEL)}</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td>
<td colSpan={4} rowSpan={1} >{data.Nav_TrainCheckType ? data.Nav_TrainCheckType.NAME : ''}</td> <td colSpan={4} rowSpan={1} >{data.CHECKTYPE && enums.PlanCheckType.enums[data.CHECKTYPE]}</td>
{/* <td colSpan={4} rowSpan={1} >{data.Nav_TrainCheckType ? data.Nav_TrainCheckType.NAME : ''}</td> */}
</tr> </tr>
<tr> <tr>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>是否需要培训效果评估</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>是否需要培训效果评估</td>

View File

@ -57,7 +57,7 @@ class SE018EditPage extends React.Component {
extendInclude(json, 'Nav_Notify.Nav_LaunchDepartment'); extendInclude(json, 'Nav_Notify.Nav_LaunchDepartment');
extendInclude(json, 'Nav_Notify.Nav_LaunchUser'); extendInclude(json, 'Nav_Notify.Nav_LaunchUser');
extendInclude(json, 'Nav_Notify.Nav_TrainType'); extendInclude(json, 'Nav_Notify.Nav_TrainType');
extendInclude(json, 'Nav_Notify.Nav_TrainCheckType'); // extendInclude(json, 'Nav_Notify.Nav_TrainCheckType');
extendInclude(json, 'Nav_Users.Nav_User'); extendInclude(json, 'Nav_Users.Nav_User');
extendInclude(json, 'Nav_Files.Nav_ImgFile'); extendInclude(json, 'Nav_Files.Nav_ImgFile');
extendInclude(json, 'Nav_Users.Nav_User'); extendInclude(json, 'Nav_Users.Nav_User');
@ -76,7 +76,8 @@ class SE018EditPage extends React.Component {
} }
updateData(data) { updateData(data) {
let isApprove = false; let isApprove = false;
if (data.Nav_Notify.Nav_TrainCheckType.NAME == "笔试") { // if (data.Nav_Notify.Nav_TrainCheckType.NAME == "笔试") {
if (data.Nav_Notify.CHECKTYPE == 51) {
this.state.isExam = true; this.state.isExam = true;
this.state.isShow = "table-cell"; this.state.isShow = "table-cell";
} }
@ -268,7 +269,8 @@ class SE018EditPage extends React.Component {
<td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td>
<td colSpan={4} rowSpan={1} >{data && this.returnModel(data.Nav_Notify.TRAIN_MODEL)}</td> <td colSpan={4} rowSpan={1} >{data && this.returnModel(data.Nav_Notify.TRAIN_MODEL)}</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td>
<td colSpan={4} rowSpan={1} >{data && data.Nav_Notify && data.Nav_Notify.Nav_TrainCheckType ? data.Nav_Notify.Nav_TrainCheckType.NAME : null}</td> {/* <td colSpan={4} rowSpan={1} >{data && data.Nav_Notify && data.Nav_Notify.Nav_TrainCheckType ? data.Nav_Notify.Nav_TrainCheckType.NAME : null}</td> */}
<td colSpan={4} rowSpan={1} >{data.Nav_Notify.CHECKTYPE && enums.PlanCheckType.enums[data.Nav_Notify.CHECKTYPE]}</td>
</tr> </tr>
<tr> <tr>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>培训内容</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>培训内容</td>

View File

@ -117,7 +117,7 @@ class SE018PaperPage extends React.Component {
extendInclude(json, 'Nav_Record.Nav_Notify.Nav_LaunchUser'); extendInclude(json, 'Nav_Record.Nav_Notify.Nav_LaunchUser');
extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainContentList'); extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainContentList');
extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainType'); extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainType');
extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainCheckType'); extendInclude(json, 'Nav_Record.Nav_Notify');
extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainContentList.Nav_Point'); extendInclude(json, 'Nav_Record.Nav_Notify.Nav_TrainContentList.Nav_Point');
@ -398,7 +398,8 @@ class SE018PaperPage extends React.Component {
<td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>培训形式</td>
<td colSpan={4} rowSpan={1} >{notify ? this.returnModel(notify.TRAIN_MODEL) : null}</td> <td colSpan={4} rowSpan={1} >{notify ? this.returnModel(notify.TRAIN_MODEL) : null}</td>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>考核方式</td>
<td colSpan={4} rowSpan={1} >{notify && notify.Nav_TrainCheckType ? notify.Nav_TrainCheckType.NAME : null}</td> {/* <td colSpan={4} rowSpan={1} >{notify && notify.Nav_TrainCheckType ? notify.Nav_TrainCheckType.NAME : null}</td> */}
<td colSpan={4} rowSpan={1} >{notify && notify.CHECKTYPE && enums.PlanCheckType.enums[notify.CHECKTYPE]}</td>
</tr> </tr>
<tr> <tr>
<td colSpan={4} rowSpan={1} className={styles.fontBold}>培训内容</td> <td colSpan={4} rowSpan={1} className={styles.fontBold}>培训内容</td>