This commit is contained in:
lb 2024-02-27 16:13:54 +08:00
parent 8abe75a9b9
commit 7287a1f6fa
3 changed files with 3 additions and 3 deletions

View File

@ -374,7 +374,7 @@ export default {
handleAddAttr() { handleAddAttr() {
if (!this.row.id) return this.$message.error('请先选中保养记录'); if (!this.row.id) return this.$message.error('请先选中保养记录');
this.resetAttrform(); this.resetAttrform();
this.attrTitle = '添加设备属性'; this.attrTitle = '添加巡检内容';
this.attrFormVisible = true; this.attrFormVisible = true;
}, },

View File

@ -558,7 +558,7 @@ export default {
handleAddAttr() { handleAddAttr() {
if (!this.row.id) return this.$message.error('请先选中保养记录'); if (!this.row.id) return this.$message.error('请先选中保养记录');
this.resetAttrform(); this.resetAttrform();
this.attrTitle = '添加设备属性'; this.attrTitle = '添加巡检内容';
this.attrFormVisible = true; this.attrFormVisible = true;
}, },

View File

@ -281,7 +281,7 @@ export default {
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {
this.open = true; this.open = true;
this.title = '添加待确认巡检设置'; this.title = '新建巡检单';
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.add.init(); this.$refs.add.init();
}); });