Commit 910cf713 by lichengming

修改了样品管理历史记录删除按钮

parent 3dead99c
......@@ -89,6 +89,11 @@ export default {
type: 'ios-clock',
id: '',
name: '操作日志'
},
{
type: 'md-trash',
id: '',
name: '删除'
}
],
formObj: {
......@@ -270,7 +275,7 @@ export default {
}
},
_delete: async function(ids) {
const result = await soilAptitude.deleteById(ids)
const result = await soilEntrust.aloneSampleDelete(ids)
if (result) {
this._formSearch()
this.$Message.success('删除成功!')
......
......@@ -84,6 +84,11 @@ export default {
type: 'ios-clock',
id: '',
name: '操作日志'
},
{
type: 'md-trash',
id: '',
name: '删除'
}
],
formObj: {
......@@ -257,7 +262,7 @@ export default {
}
},
_delete: async function(ids) {
const result = await soilAptitude.deleteById(ids)
const result = await soilEntrust.aloneSampleDelete(ids)
if (result) {
this._formSearch()
this.$Message.success('删除成功!')
......
......@@ -84,6 +84,11 @@ export default {
type: 'ios-clock',
id: '',
name: '操作日志'
},
{
type: 'md-trash',
id: '',
name: '删除'
}
],
formObj: {
......@@ -259,10 +264,11 @@ export default {
}
},
_delete: async function(ids) {
const result = await soilAptitude.deleteById(ids)
const result = await soilEntrust.aloneSampleDelete(ids)(ids)
if (result) {
this._formSearch()
this.$Message.success('删除成功!')
this._page()
}
}
}
......
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