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