Commit 238b611b by lichengming

修改了独立预检高级样品分类下拉选项保存接口

parent 8801362f
...@@ -242,5 +242,7 @@ export default { ...@@ -242,5 +242,7 @@ export default {
pageSummaryEnd: data => pageSummaryEnd: data =>
http.post('soil/v1/report/page_summary_report_end', data).then(res => res), http.post('soil/v1/report/page_summary_report_end', data).then(res => res),
sampleEdit: data => sampleEdit: data =>
http.put('soil/v1/sample/' + data.id, data).then(res => res) http.put('soil/v1/sample/' + data.id, data).then(res => res),
editSeniorType: data =>
http.post('soil/v1/sample/edit_senior_type', data).then(res => res)
} }
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
}, },
async _selSeniorType(data) { async _selSeniorType(data) {
console.log(data) console.log(data)
const result = await soilTest.sampleEdit({ const result = await soilTest.editSeniorType({
id: data.id, id: data.id,
seniorType: data.seniorType seniorType: data.seniorType
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment