This commit is contained in:
parent
56872100f7
commit
62dc6ea64d
|
|
@ -241,7 +241,7 @@
|
|||
<form id="uploadForm">
|
||||
<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: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>
|
||||
|
|
@ -288,6 +288,7 @@
|
|||
if (dataId && inputValue) {
|
||||
formData[dataId] = inputValue; // 将 data-id 作为键,输入框的值作为值
|
||||
}
|
||||
})
|
||||
const currentRows = tableList[rowIndex]
|
||||
Object.assign(currentRows, formData)
|
||||
let dataForm = {
|
||||
|
|
@ -297,7 +298,6 @@
|
|||
jsonData: JSON.stringify([currentRows]),
|
||||
titleFiled: fields.join(',')
|
||||
}
|
||||
});
|
||||
|
||||
console.log('提交时的formDat参数', dataForm)
|
||||
// 这里可以执行你需要的操作
|
||||
|
|
|
|||
Loading…
Reference in New Issue