| | |
| | | |
| | | List<ConfigAuditReportContent> getList(Map<String, Object> params); |
| | | |
| | | List<?> dictList(String dictType); |
| | | List<ConfigAuditReportContent> dictList(String dictType); |
| | | } |
| | |
| | | return baseDao.getList(params); |
| | | } |
| | | |
| | | public List<?> dictList(String dictType) { |
| | | public List<ConfigAuditReportContent> dictList(String dictType) { |
| | | return baseDao.dictList(dictType); |
| | | } |
| | | } |
| | |
| | | } else { |
| | | ConfigAuditReport auditReport = new ConfigAuditReport(); |
| | | data.setAuditReport(auditReport); |
| | | List<?> contentResult = contentService.dictList("config_check_item"); |
| | | List<?> contentList = contentResult; |
| | | data.setContentList((List<ConfigAuditReportContent>) contentList); |
| | | List<ConfigAuditReportContent> contentList = contentService.dictList("config_check_item"); |
| | | data.setContentList( contentList); |
| | | } |
| | | if (projectId != null) { |
| | | data.setProjectId(projectId); |
| | |
| | | ORDER BY ${orderBySql} |
| | | </if> |
| | | </select> |
| | | <select id="dictList" resultType="java.util.List"> |
| | | <select id="dictList" resultType="com.zt.life.modules.configAuditReport.model.ConfigAuditReportContent"> |
| | | SET @row_number = 0; |
| | | SELECT dd.dict_label AS audit_content, |
| | | (@row_number := @row_number + 1) AS no, |
| | | SELECT (@row_number := @row_number + 1) AS no, |
| | | dd.dict_label AS auditContent |
| | | FROM sys_dict_type dt |
| | | JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID |
| | | <where> |
| | |
| | | <script> |
| | | import AddOrUpdate from './ConfigAuditReport-AddOrUpdate' |
| | | import ProjectSelect from "../project/Project-select"; |
| | | import Preview from '@/views/pages/view' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | @refreshDataList="table.query" |
| | | @setProjectInfo="openAddWin"> |
| | | </ProjectSelect> |
| | | <Preview ref="view"></Preview> |
| | | <Preview ref="view" :pageMarkerfun="TestReviewComment"></Preview> |
| | | </zt-table-wraper> |
| | | </div> |
| | | </el-card> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | TestReviewComment:'TestReviewComment', |
| | | pageCode: '', |
| | | dataForm: { |
| | | code: '', |