|
@@ -224,7 +224,7 @@ export default {
|
|
|
const that = this;
|
|
const that = this;
|
|
|
this.$util.confirmModal({content:'确认要删除?系统将会记录由谁删除'},() => {
|
|
this.$util.confirmModal({content:'确认要删除?系统将会记录由谁删除'},() => {
|
|
|
deleteExpend({ id: item.id, staffId: item.staffId }).then(result =>{
|
|
deleteExpend({ id: item.id, staffId: item.staffId }).then(result =>{
|
|
|
- if (result.code === 1) {
|
|
|
|
|
|
|
+ if (result.code == 1) {
|
|
|
that.$msg('删除成功');
|
|
that.$msg('删除成功');
|
|
|
that.resetList();
|
|
that.resetList();
|
|
|
that.init();
|
|
that.init();
|