更新bug
This commit is contained in:
@@ -287,9 +287,12 @@ export default {
|
||||
return this.$axios({
|
||||
url: '/base/equipment-maintain-log/confirm',
|
||||
method: 'put',
|
||||
data: this.$refs['waiting-list-table'].selectedPlan.map(
|
||||
(item) => item.id
|
||||
),
|
||||
data:{
|
||||
ids: this.$refs['waiting-list-table'].selectedPlan.map(
|
||||
(item) => item.id
|
||||
),
|
||||
confirmBy: this.$store.getters.nickname,
|
||||
},
|
||||
});
|
||||
// if (res.code == 0) {
|
||||
// this.$message.success('确认成功');
|
||||
@@ -313,9 +316,12 @@ export default {
|
||||
return this.$axios({
|
||||
url: '/base/equipment-maintain-log/confirm2',
|
||||
method: 'put',
|
||||
data: this.$refs['waiting-list-table'].selectedPlan.map(
|
||||
(item) => item.id
|
||||
),
|
||||
data: {
|
||||
ids: this.$refs['waiting-list-table'].selectedPlan.map(
|
||||
(item) => item.id
|
||||
),
|
||||
confirmBy: this.$store.getters.nickname,
|
||||
},
|
||||
});
|
||||
// if (res.code == 0) {
|
||||
// this.$message.success('确认成功');
|
||||
@@ -547,7 +553,10 @@ export default {
|
||||
return this.$axios({
|
||||
url: '/base/equipment-maintain-log/confirm',
|
||||
method: 'put',
|
||||
data: [row.id],
|
||||
data: {
|
||||
ids: [row.id],
|
||||
confirmBy: this.$store.getters.nickname,
|
||||
},
|
||||
});
|
||||
// if (res.code == 0) {
|
||||
// this.$message.success('确认成功');
|
||||
|
||||
Reference in New Issue
Block a user