diff --git a/ruoyi-admin/src/main/resources/templates/system/checkReport/selfcheck.html b/ruoyi-admin/src/main/resources/templates/system/checkReport/selfcheck.html
index 9314d2d..0520c32 100644
--- a/ruoyi-admin/src/main/resources/templates/system/checkReport/selfcheck.html
+++ b/ruoyi-admin/src/main/resources/templates/system/checkReport/selfcheck.html
@@ -38,18 +38,30 @@
disabled>
+
+
+
+ {{item.dictLabel}}
+
+
+
-
+
@@ -65,7 +77,7 @@
@@ -118,9 +130,11 @@
adduser: [[${tdCheckReportDTO.adduser}]],
depart: [[${tdCheckReportDTO.depart}]],
checkStartTime: '',
+ checkType: '',
},
reportCheckList: [],
startsList:[],
+ checkTypeList:[],
rules: {
adduser: [
{ required: true, message: '报告人员不能为空!' }
@@ -144,12 +158,8 @@
},
},
mounted(){
- if([[${tdCheckReportDTO}]].checkTypeDTOS){
- this.postForm = [[${tdCheckReportDTO}]]
- }else{
- this.postForm = [[${tdCheckReportDTO}]]
- this.postForm.checkTypeDTOS = []
- }
+ this.postForm = [[${tdCheckReportDTO}]]
+ this.postForm.checkType = '0'
$.ajax({
url:'/system/dict/data/list',
type:'POST',
@@ -166,6 +176,14 @@
this.reportCheckList = res.rows
})
})
+ $.ajax({
+ url:'/system/dict/data/list',
+ type:'POST',
+ data:{dictType: 'sys_check_type'},
+ success:((res)=>{
+ this.checkTypeList = res.rows
+ })
+ })
var date = new Date();
this.postForm.checkStartTime = this.formatDateToCustomString(date);
this.postForm.createTime = this.formatISO8601ToDateTime([[${tdCheckReportDTO}]].createTime);