This commit is contained in:
parent
62dc6ea64d
commit
1f4116d7e8
|
|
@ -235,21 +235,25 @@
|
|||
|
||||
// 组装dom
|
||||
let formHtml = `<div class="dialog-title">${tableList[rowIndex].proName}</div>`
|
||||
let innerHtml = ''
|
||||
dialogLabelList.forEach((e, index) => {
|
||||
formHtml += `
|
||||
<div style="padding: 20px;">
|
||||
<form id="uploadForm">
|
||||
<div style="display: flex; align-items: center;">
|
||||
|
||||
innerHtml += `<div style="display: flex; align-items: center;">
|
||||
<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]}">
|
||||
<button type="button" id="uploadBtn" style="color: #4CAF50; border: none; margin-left: 10px; cursor: pointer;">
|
||||
+ 上传评分依据
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>`
|
||||
</div>`
|
||||
|
||||
})
|
||||
|
||||
formHtml += `
|
||||
<div style="padding: 12px;">
|
||||
<form id="uploadForm">
|
||||
${innerHtml}
|
||||
</form>
|
||||
</div>`
|
||||
|
||||
layer.open({
|
||||
type: 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue