From 9beac3699b3c763fe58298df374ad47ee3f04220 Mon Sep 17 00:00:00 2001
From: dshclm <3321914460@qq.com>
Date: Fri, 16 Aug 2024 11:22:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E6=8A=A5=E5=91=8A=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E8=87=AA=E6=9F=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/checkReport/selfcheck.html | 38 ++++++++++++++-----
1 file changed, 28 insertions(+), 10 deletions(-)
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);