Commit 74c9424e by lichengming

修改了试样检测

parent 7917874d
...@@ -149,5 +149,7 @@ export default { ...@@ -149,5 +149,7 @@ export default {
collectDataPage: data => collectDataPage: data =>
http.post('soil/v1/experiment_collect_data/page', data).then(res => res), http.post('soil/v1/experiment_collect_data/page', data).then(res => res),
collectFilePage: data => collectFilePage: data =>
http.post('soil/v1/experiment_collect_file/page', data).then(res => res) http.post('soil/v1/experiment_collect_file/page', data).then(res => res),
pageExpAuditHis: data =>
http.post('soil/v1/entrust/page_exp_audit_his', data).then(res => res)
} }
...@@ -402,7 +402,7 @@ export default { ...@@ -402,7 +402,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 soilTest.pageExpTest( const result = await soilTest.pageExpAuditHis(
this.$serializeForm(this.formObj) this.$serializeForm(this.formObj)
) )
if (result) { if (result) {
......
...@@ -29,6 +29,7 @@ import SampleDisposeIndex from '../pages/soil-sample-manage/sample-dispose/Sampl ...@@ -29,6 +29,7 @@ import SampleDisposeIndex from '../pages/soil-sample-manage/sample-dispose/Sampl
import SurplusDisposeIndex from '../pages/soil-sample-manage/sample-surplus-dispose/SurplusDisposeIndex' import SurplusDisposeIndex from '../pages/soil-sample-manage/sample-surplus-dispose/SurplusDisposeIndex'
import ClientLocationSearch from '../pages/soil-statistics/client_location/ClientLocationIndex' import ClientLocationSearch from '../pages/soil-statistics/client_location/ClientLocationIndex'
import FoodReportManageIndex from '../pages/soil-report-manage/report-manage/FoodReportManageIndex' import FoodReportManageIndex from '../pages/soil-report-manage/report-manage/FoodReportManageIndex'
import DataConsult from '../pages/soil-test-manage/test-data-consult/DataConsult'
import Blank from '~/pages/blank' import Blank from '~/pages/blank'
export default [ export default [
{ {
...@@ -121,6 +122,11 @@ export default [ ...@@ -121,6 +122,11 @@ export default [
path: 'audit', path: 'audit',
component: AuditIndex, component: AuditIndex,
meta: { title: '数据审核' } meta: { title: '数据审核' }
},
{
path: 'consult',
component: DataConsult,
meta: { title: '数据查阅' }
} }
] ]
}, },
......
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