Commit 90820673 by lichengming

修改了副样管理

parent a31a7b3e
......@@ -152,5 +152,9 @@ export default {
'&ids=' +
data.ids
)
.then(res => res)
.then(res => res),
pageSecondary: data =>
http.post('soil/v1/prepare/page_secondary', data).then(res => res),
pageSecondaryHis: data =>
http.post('soil/v1/prepare/page_secondary_his', data).then(res => res)
}
......@@ -538,7 +538,7 @@ export default {
this.editIndex = -1
Object.assign(this.formObj, this.$refs.pageTable._searchParams())
console.log('this.formObj', this.formObj)
const result = await soilSample.pageSurplus(
const result = await soilSample.pageSecondary(
this.$serializeForm(this.formObj)
)
if (result) {
......
......@@ -109,7 +109,7 @@ export default {
_page: async function() {
Object.assign(this.formObj, this.$refs.pageTable._searchParams())
console.log('this.formObj', this.formObj)
const result = await soilSample.pageSurplusHis(
const result = await soilSample.pageSecondaryHis(
this.$serializeForm(this.formObj)
)
if (result) {
......
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