测试问题修复

This commit is contained in:
liux 2024-03-15 15:33:10 +08:00
parent 834a01b946
commit b564ed9e79
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@ var demo21Num =0;
var demo12Num = 0;
var uploadFileNums = 0;
layui.use(['form','upload'], function(){
alert(44);
let form = layui.form;
var upload = layui.upload;

View File

@ -32,7 +32,11 @@ layui.use(['table', 'form', 'laydate'], function () {
field: 'auditStatus', title: '审核结果', templet: d => {
let html = "";
if (d.auditStatus === '0') {
html = "<span style='color: orange;cursor: pointer;' title=''>待审核</span>";
if(d.isCheck == '1' && d.auditStatus != '5'){
html = "<span style='color: orange;cursor: pointer;' title=''>待审核</span>";
}else{
html = "<span style='color: #0bb3e5;cursor: pointer;' title=''>审核中</span>";
}
} else if (d.auditStatus === '1') {
html = "<span style='color: red;cursor: pointer;' title=''>未通过</span>";
} else if (d.auditStatus === '2') {