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
365a29c1
Commit
365a29c1
authored
Sep 25, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了试验项目填写原始记录
parent
9254a024
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
soil-test.js
api/soil/soil-test.js
+3
-1
SelectOriTempRecord.vue
pages/soil-test-manage/test-input/SelectOriTempRecord.vue
+4
-1
TestInput.vue
pages/soil-test-manage/test-input/TestInput.vue
+0
-1
ItemRightList.vue
...s/soil-test-manage/test-input/item-tabs/ItemRightList.vue
+1
-1
AllotByEntrust.vue
pages/soil-test-manage/test-task-manage/AllotByEntrust.vue
+0
-1
AllotBySample.vue
pages/soil-test-manage/test-task-manage/AllotBySample.vue
+0
-1
No files found.
api/soil/soil-test.js
View file @
365a29c1
...
...
@@ -43,5 +43,7 @@ export default {
.
post
(
'/env/v1/env_item/search_all_common_sample_count'
,
data
)
.
then
(
res
=>
res
),
saveItem
:
data
=>
http
.
post
(
'/env/v1/env_item/save_form_for_item'
,
data
).
then
(
res
=>
res
)
http
.
post
(
'soil/v1/original_record/save_original_record'
,
data
)
.
then
(
res
=>
res
)
}
pages/soil-test-manage/test-input/SelectOriTempRecord.vue
View file @
365a29c1
...
...
@@ -80,6 +80,7 @@ export default {
title
:
''
,
businessTypeList
:
0
},
entrustId
:
''
,
selectData
:
[],
itemIds
:
[],
footerList
:
[
...
...
@@ -139,8 +140,9 @@ export default {
_hideLoading
()
{
this
.
$refs
.
footerModal
.
_hideLoading
()
},
_open
(
ids
)
{
_open
(
ids
,
entrustId
)
{
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
entrustId
=
entrustId
this
.
_classTree
()
this
.
showModal
=
true
this
.
itemIds
=
ids
...
...
@@ -331,6 +333,7 @@ export default {
}
console
.
log
(
'保存的数据'
,
tempData
)
if
(
tempData
.
formId
!==
undefined
)
{
tempData
.
entrustId
=
this
.
entrustId
this
.
_save
(
tempData
)
}
// this.$store
...
...
pages/soil-test-manage/test-input/TestInput.vue
View file @
365a29c1
...
...
@@ -93,7 +93,6 @@ export default {
name
:
'管理样品'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'ios-clock'
,
id
:
''
,
...
...
pages/soil-test-manage/test-input/item-tabs/ItemRightList.vue
View file @
365a29c1
...
...
@@ -324,7 +324,7 @@ export default {
this
.
$message
.
warning
(
'请至少选择一条数据'
)
}
else
{
console
.
log
(
'打开填写原始记录界面'
)
this
.
$refs
.
recordModal
.
_open
(
this
.
selectIds
)
this
.
$refs
.
recordModal
.
_open
(
this
.
selectIds
,
this
.
entrustId
)
}
},
_allotByPerson
()
{
...
...
pages/soil-test-manage/test-task-manage/AllotByEntrust.vue
View file @
365a29c1
...
...
@@ -95,7 +95,6 @@ export default {
name
:
'管理样品'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'ios-clock'
,
id
:
''
,
...
...
pages/soil-test-manage/test-task-manage/AllotBySample.vue
View file @
365a29c1
...
...
@@ -86,7 +86,6 @@ export default {
name
:
'编辑'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'ios-clock'
,
id
:
''
,
...
...
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