Commit 910cf713 by lichengming

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

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