This commit is contained in:
BianLzhaoMin 2025-02-25 16:39:01 +08:00
parent 62dc6ea64d
commit 1f4116d7e8
1 changed files with 11 additions and 7 deletions

View File

@ -235,21 +235,25 @@
// 组装dom // 组装dom
let formHtml = `<div class="dialog-title">${tableList[rowIndex].proName}</div>` let formHtml = `<div class="dialog-title">${tableList[rowIndex].proName}</div>`
let innerHtml = ''
dialogLabelList.forEach((e, index) => { dialogLabelList.forEach((e, index) => {
formHtml += `
<div style="padding: 20px;"> innerHtml += `<div style="display: flex; align-items: center;">
<form id="uploadForm">
<div style="display: flex; align-items: center;">
<div style="margin-right: 10px;width: 200px";>${e.title}</div> <div style="margin-right: 10px;width: 200px";>${e.title}</div>
<input type="text" data-id="${dialogLabelInfo[index].field}" id="numberInput" name="numberInput" min="0.01" step="0.01" placeholder="请输入大于0的数字" style=";width:180px; padding:1px 5px;" value="${tableList[rowIndex][dialogLabelInfo[index].field]}"> <input type="text" data-id="${dialogLabelInfo[index].field}" id="numberInput" name="numberInput" min="0.01" step="0.01" placeholder="请输入大于0的数字" style=";width:180px; padding:1px 5px;" value="${tableList[rowIndex][dialogLabelInfo[index].field]}">
<button type="button" id="uploadBtn" style="color: #4CAF50; border: none; margin-left: 10px; cursor: pointer;"> <button type="button" id="uploadBtn" style="color: #4CAF50; border: none; margin-left: 10px; cursor: pointer;">
+ 上传评分依据 + 上传评分依据
</button> </button>
</div> </div>`
</form>
</div>`
}) })
formHtml += `
<div style="padding: 12px;">
<form id="uploadForm">
${innerHtml}
</form>
</div>`
layer.open({ layer.open({
type: 1, type: 1,