fix: 提交反馈表数据, 需要`名称`字段

main
Lei OT 9 months ago
parent cb1425778f
commit dbf6ae5cb4

@ -272,7 +272,7 @@ const index = new Vue({
const citySNList = that.currentCity.cii_sn_arr || [that.currentCity.cii_sn];
for (const iterator of citySNList) {
const rateArr = that.feedbackCity[`city_${iterator}`].feedbackItemList.map((ele) => {
return { id: ele.id, rate: formValues[`rate-${ele.type}-${ele.syc_sn}-${ele.sn}`] || 0 };
return { id: ele.id, name: ele.name, rate: formValues[`rate-${ele.type}-${ele.syc_sn}-${ele.sn}`] || 0 };
});
// Submit the form manually
// console.log(formValues, rateArr);

Loading…
Cancel
Save