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
439a7221
Commit
439a7221
authored
Jan 19, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了试样管理的历史记录删除按钮
parent
4d1c7d15
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
2 deletions
+37
-2
SamplePreparationHis.vue
...-manage/sample-preparation-check/SamplePreparationHis.vue
+6
-1
SamplePreparationHis.vue
...sample-manage/sample-preparation/SamplePreparationHis.vue
+6
-1
ReceiveBySample.vue
pages/soil-sample-manage/sample-receive/ReceiveBySample.vue
+25
-0
No files found.
pages/soil-sample-manage/sample-preparation-check/SamplePreparationHis.vue
View file @
439a7221
...
...
@@ -107,6 +107,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
formObj
:
{
...
...
@@ -306,7 +311,7 @@ export default {
}
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soil
Aptitude
.
deleteById
(
ids
)
const
result
=
await
soil
Entrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
...
...
pages/soil-sample-manage/sample-preparation/SamplePreparationHis.vue
View file @
439a7221
...
...
@@ -110,6 +110,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
formObj
:
{
...
...
@@ -310,7 +315,7 @@ export default {
}
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soil
Aptitude
.
deleteById
(
ids
)
const
result
=
await
soil
Entrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
...
...
pages/soil-sample-manage/sample-receive/ReceiveBySample.vue
View file @
439a7221
...
...
@@ -95,6 +95,11 @@ export default {
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
],
getPage
:
{},
...
...
@@ -173,6 +178,9 @@ export default {
case
'管理样品'
:
this
.
_editModal
(
data
.
id
,
data
.
type
,
data
.
entrustCode
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
case
'附件'
:
this
.
_upload
(
data
.
id
)
break
...
...
@@ -182,6 +190,23 @@ export default {
}
})
},
// 删除
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
this
.
_delete
(
ids
)
}
})
},
_delete
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
deleteById
(
ids
)
if
(
result
)
{
this
.
_formSearch
()
this
.
$Message
.
success
(
'删除成功!'
)
}
},
_editModal
(
id
,
type
,
name
)
{
this
.
currentComponent
=
'SampleManage'
this
.
$nextTick
(()
=>
{
...
...
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