Commit 90820673 by lichengming

修改了副样管理

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