风险整改分析

This commit is contained in:
cwchen 2024-12-10 09:06:10 +08:00
parent 188d726024
commit 073d35c14e
2 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function getTypeDetails() {
$('#rectTime').val(recDate);
let rectImgPath = obj.rectImgPath;
let html = '';
if (rectImgPath.length > 0) {
if (rectImgPath && rectImgPath.length > 0) {
$.each(rectImgPath, function (index, item) {
let path = photoUrl + item + '?token=' + token;
html += '<img src="' + path + '">'

View File

@ -232,6 +232,9 @@ function getReqParams(page, limit, type) {
function queryTable(type) {
if (type === 2) {
$('#proName').val('');
$('#riskLevel').val('');
$('#isRect').val('');
layui.form.render();
}
let pattern = new RegExp("[%_<>]");
if (pattern.test($("#proName").val())) {