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
3efca000
Commit
3efca000
authored
Nov 06, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单登记试验项目列表
parent
abc809cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
SoilSampleItemManageEdit.vue
pages/meter-entrust/SoilSampleItemManageEdit.vue
+14
-9
No files found.
pages/meter-entrust/SoilSampleItemManageEdit.vue
View file @
3efca000
...
...
@@ -129,6 +129,11 @@ export default {
type
:
'success'
,
id
:
''
,
name
:
'批量填写试验项目信息'
},
{
type
:
'error'
,
id
:
''
,
name
:
'删除'
}
],
iconMsg
:
[{
type
:
'pt-a-end'
,
id
:
''
,
name
:
'删除'
}],
...
...
@@ -372,7 +377,7 @@ export default {
const
result
=
await
soilEntrust
.
pageItemEdit
(
data
)
if
(
result
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
_page
()
this
.
_page
ByEntrustId
()
}
else
{
this
.
$message
.
warning
(
'保存失败'
)
}
...
...
@@ -381,7 +386,7 @@ export default {
const
result
=
await
soilEntrust
.
pageItemEdit
(
data
)
if
(
result
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
_page
()
this
.
_page
ByEntrustId
()
}
else
{
this
.
$message
.
warning
(
'保存失败'
)
}
...
...
@@ -390,7 +395,7 @@ export default {
const
result
=
await
soilEntrust
.
pageItemEdit
(
data
)
if
(
result
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
_page
()
this
.
_page
ByEntrustId
()
}
else
{
this
.
$message
.
warning
(
'保存失败'
)
}
...
...
@@ -399,7 +404,7 @@ export default {
const
result
=
await
soilEntrust
.
pageItemEdit
(
data
)
if
(
result
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
_page
()
this
.
_page
ByEntrustId
()
}
else
{
this
.
$message
.
warning
(
'保存失败'
)
}
...
...
@@ -541,7 +546,7 @@ export default {
this
.
showModal
=
true
this
.
sampleId
=
id
// 委托id
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
_page
()
this
.
_page
ByEntrustId
()
},
_openByEntrustId
(
id
)
{
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
...
...
@@ -560,7 +565,7 @@ export default {
this
.
sampleId
=
id
// 委托id
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
showOption
=
false
this
.
_page
()
this
.
_page
ByEntrustId
()
},
_formSearch
()
{
this
.
$refs
.
pageTable
.
_pageChange
(
1
)
...
...
@@ -602,7 +607,7 @@ export default {
},
_deleteOk
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
d
eleteById
(
ids
)
const
result
=
await
soilEntrust
.
experimentD
eleteById
(
ids
)
if
(
result
)
{
this
.
_resultChange
(
'删除成功! '
)
}
...
...
@@ -654,10 +659,10 @@ export default {
}
},
_search
()
{
this
.
_page
()
this
.
_page
ByEntrustId
()
},
_resultChange
(
msg
)
{
this
.
_page
()
this
.
_page
ByEntrustId
()
this
.
$Message
.
success
(
msg
)
this
.
$emit
(
'on-result-change'
)
},
...
...
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