Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-web-back-soil
Commits
dab034c5
Commit
dab034c5
authored
Dec 19, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了根据id调接口
parent
ca8fca21
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
21 deletions
+11
-21
soil-test.js
api/soil/soil-test.js
+2
-9
ItemRightList.vue
...l-test-manage/test-data-audit/item-tabs/ItemRightList.vue
+5
-10
SampleRightList.vue
...st-manage/test-data-audit/sample-tabs/SampleRightList.vue
+4
-2
No files found.
api/soil/soil-test.js
View file @
dab034c5
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
endExpCheck
:
data
=>
endExpCheck
:
data
=>
http
.
post
(
'soil/v1/experiment/end_exp_check'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment/end_exp_check'
,
data
).
then
(
res
=>
res
),
endExpAudit
:
data
=>
endExpAudit
:
data
=>
http
.
post
(
'soil/v1/experiment/end_exp_audit
?ids='
+
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment/end_exp_audit
'
,
data
).
then
(
res
=>
res
),
pageCheckByExp
:
data
=>
pageCheckByExp
:
data
=>
http
.
post
(
'soil/v1/experiment/page_check_by_exp'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment/page_check_by_exp'
,
data
).
then
(
res
=>
res
),
pageExpByCheck
:
data
=>
pageExpByCheck
:
data
=>
...
@@ -114,14 +114,7 @@ export default {
...
@@ -114,14 +114,7 @@ export default {
pageExpByAudit
:
data
=>
pageExpByAudit
:
data
=>
http
.
post
(
'soil/v1/experiment/page_exp_audit'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment/page_exp_audit'
,
data
).
then
(
res
=>
res
),
auditBack
:
data
=>
auditBack
:
data
=>
http
http
.
post
(
'soil/v1/experiment/exp_audit_back'
,
data
).
then
(
res
=>
res
),
.
post
(
'soil/v1/experiment/exp_audit_back?ids='
+
data
.
ids
+
'&remark='
+
data
.
remark
)
.
then
(
res
=>
res
),
checkBack
:
data
=>
checkBack
:
data
=>
http
.
post
(
'soil/v1/experiment/exp_check_back'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment/exp_check_back'
,
data
).
then
(
res
=>
res
),
// 添加设备信息
// 添加设备信息
...
...
pages/soil-test-manage/test-data-audit/item-tabs/ItemRightList.vue
View file @
dab034c5
...
@@ -109,14 +109,7 @@ export default {
...
@@ -109,14 +109,7 @@ export default {
],
],
btn
:
[
btn
:
[
{
type
:
'success'
,
id
:
''
,
name
:
'提交'
},
{
type
:
'success'
,
id
:
''
,
name
:
'提交'
},
{
type
:
''
,
id
:
''
,
name
:
'退回'
},
{
type
:
'warning'
,
id
:
''
,
name
:
'退回'
}
{
type
:
''
,
id
:
'food-task-assign-adjust-group'
,
name
:
'调整分组'
},
{
type
:
''
,
id
:
'food-task-assign-plan-date'
,
name
:
'设置计划完成时间'
},
{
type
:
''
,
id
:
'food-task-assign-maintain-info'
,
name
:
'信息维护'
}
],
],
iconMsg
:
[
iconMsg
:
[
{
type
:
'ios-book'
,
id
:
''
,
name
:
'查看原始记录'
},
{
type
:
'ios-book'
,
id
:
''
,
name
:
'查看原始记录'
},
...
@@ -171,7 +164,7 @@ export default {
...
@@ -171,7 +164,7 @@ export default {
},
},
_reportCheckBack
:
async
function
(
data
)
{
_reportCheckBack
:
async
function
(
data
)
{
const
result
=
await
soilTest
.
auditBack
({
const
result
=
await
soilTest
.
auditBack
({
ids
:
this
.
selectIds
,
ids
:
this
.
selectIds
.
join
(
','
)
,
remark
:
data
remark
:
data
})
})
...
@@ -415,7 +408,9 @@ export default {
...
@@ -415,7 +408,9 @@ export default {
}
}
},
},
_submitToMakeOk
:
async
function
()
{
_submitToMakeOk
:
async
function
()
{
const
result
=
await
soilTest
.
endExpAudit
(
this
.
selectIds
.
join
(
','
))
const
result
=
await
soilTest
.
endExpAudit
({
ids
:
this
.
selectIds
.
join
(
','
)
})
if
(
result
)
{
if
(
result
)
{
this
.
_resultChange
(
'提交成功'
)
this
.
_resultChange
(
'提交成功'
)
}
}
...
...
pages/soil-test-manage/test-data-audit/sample-tabs/SampleRightList.vue
View file @
dab034c5
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
},
},
_reportCheckBack
:
async
function
(
data
)
{
_reportCheckBack
:
async
function
(
data
)
{
const
result
=
await
soilTest
.
auditBack
({
const
result
=
await
soilTest
.
auditBack
({
ids
:
this
.
selectIds
,
ids
:
this
.
selectIds
.
join
(
','
)
,
remark
:
data
remark
:
data
})
})
...
@@ -339,7 +339,9 @@ export default {
...
@@ -339,7 +339,9 @@ export default {
}
}
},
},
_submitToMakeOk
:
async
function
()
{
_submitToMakeOk
:
async
function
()
{
const
result
=
await
soilTest
.
endExpAudit
(
this
.
selectIds
.
join
(
','
))
const
result
=
await
soilTest
.
endExpAudit
({
ids
:
this
.
selectIds
.
join
(
','
)
})
if
(
result
)
{
if
(
result
)
{
this
.
_resultChange
(
'提交成功'
)
this
.
_resultChange
(
'提交成功'
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment