Compare commits
No commits in common. "f8d033c97afc4804f827c004ea6541bebbd81deb" and "0ba8d3bff87a070dcb9f489b2277a39acd671c87" have entirely different histories.
f8d033c97a
...
0ba8d3bff8
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2021-11-18 14:16:25
|
* @Date: 2021-11-18 14:16:25
|
||||||
* @LastEditors: DY
|
* @LastEditors: DY
|
||||||
* @LastEditTime: 2024-02-28 16:05:10
|
* @LastEditTime: 2024-02-28 14:45:58
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -409,12 +409,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
async confirmIns() {
|
async confirmIns() {
|
||||||
this.$refs['dataForm'].validate((valid) => {
|
await this.getConfirmed().then(confirm => {
|
||||||
if (!valid) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.getConfirmed().then(confirm => {
|
|
||||||
this.$axios({
|
this.$axios({
|
||||||
url:
|
url:
|
||||||
'/base/equipment-check-order/confirm?confirmPerson=' +
|
'/base/equipment-check-order/confirm?confirmPerson=' +
|
||||||
@ -427,14 +422,12 @@ export default {
|
|||||||
this.$emit("refreshDataList");
|
this.$emit("refreshDataList");
|
||||||
this.$message.success('已确认');
|
this.$message.success('已确认');
|
||||||
}
|
}
|
||||||
})
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.$emit("refreshDataList");
|
this.$emit("refreshDataList");
|
||||||
this.$message.success('取消确认');
|
this.$message.success('取消确认');
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
});
|
|
||||||
},
|
},
|
||||||
// 表单提交
|
// 表单提交
|
||||||
dataFormSubmit() {
|
dataFormSubmit() {
|
||||||
|
@ -177,7 +177,7 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认所有选中巡检单"?')
|
.confirm('是否确认所有选中保养单"?')
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return this.$axios({
|
return this.$axios({
|
||||||
url: '/base/equipment-check-order/confirm?confirmPerson=' + this.$store.getters.userId,
|
url: '/base/equipment-check-order/confirm?confirmPerson=' + this.$store.getters.userId,
|
||||||
|
Loading…
Reference in New Issue
Block a user